/* About page — /about/ */

/* ---------- hero: "Where it all began" ---------- */
.ab-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: block;
  flex-direction: column;
  color: var(--white);
  padding: clamp(172px, 20vh, 248px) 0 clamp(72px, 9vw, 112px);
  background:
    linear-gradient(rgba(13, 13, 13, .42), rgba(13, 13, 13, .42)),
    url("/img/about/rooster-faded-background.webp") center/cover no-repeat,
    var(--black);
  min-height: min(100vh, 860px);
}
.ab-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1, 0 0 0 0 1, 0 0 0 0 1, 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* old house photo, full-bleed on the right and faded into the dark */
.ab-hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  z-index: 1;
  pointer-events: none;
}
.ab-hero-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(to top, var(--black), transparent);
  opacity: .75;
}
/* polaroid treatment of the photo (sways slowly); the full-bleed hero below overrides it */
.ab-ps-front {
  position: relative;
  display: block;
  width: 82%;
  height: auto;
  margin: 14% 0 0 0;
  border-radius: 4px;
  box-shadow: 0 30px 66px rgba(0, 0, 0, .6), 0 6px 18px rgba(0, 0, 0, .45);
  transform: rotate(-3deg);
  z-index: 2;
  animation: abPolaSway 11s ease-in-out infinite;
  will-change: transform;
}
@keyframes abPolaSway {
  0% { transform: rotate(-4deg); }
  50% { transform: rotate(-2deg); }
  100% { transform: rotate(-4deg); }
}
.ab-hero-photo .ab-ps-front {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  animation: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .45) 26%, #000 58%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .45) 26%, #000 58%);
  opacity: .92;
}

/* faded logomark behind the copy */
.ab-rooster {
  position: absolute;
  top: -46px;
  left: -70px;
  z-index: 0;
  pointer-events: none;
  width: clamp(260px, 32vw, 470px);
  height: auto;
  opacity: .06;
  filter: grayscale(1) brightness(1.6) contrast(.9);
}

.ab-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 74px);
  align-items: center;
}
.ab-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  margin: 0;
  padding: 0;
}

.ab-eyebrow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 26px;
}
.ab-eyebrow-text {
  font-family: var(--condensed);
  color: var(--yellow);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  letter-spacing: .36em;
  text-transform: uppercase;
  line-height: 1;
}
.ab-eyebrow-bar {
  width: 62px;
  height: 3px;
  margin-top: 11px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--yellow), rgba(255, 184, 0, .4));
}

.ab-h2 {
  font-family: var(--display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.8rem, 7.4vw, 6.6rem);
  line-height: .92;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0 0 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  font-feature-settings: "liga" 1, "dlig" 1, "calt" 1;
  transform: rotate(-4deg);
  transform-origin: left center;
}
.ab-line { display: block; line-height: .92; }
.ab-white { color: var(--cream); }
.ab-yellow { color: var(--yellow); position: relative; white-space: nowrap; }
.ab-flight { position: relative; display: inline-block; }
/* the old inline <svg> had no viewBox: a 150px box with the art centred (meet); object-fit: contain reproduces it */
.ab-swash {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 70%);
  width: 96%;
  max-width: 430px;
  height: 150px;
  object-fit: contain;
  pointer-events: none;
}

.ab-copy { max-width: 540px; }
.ab-copy p {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, .86);
  margin: 0 0 20px;
}
.ab-copy p:last-child { margin-bottom: 0; }
.ab-copy strong { color: var(--yellow); font-weight: 700; }

/* ---------- ab2: "Built different" (cream) ---------- */
.ab2 {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(70px, 9vw, 118px) 0;
  color: var(--dark);
  background:
    linear-gradient(rgba(244, 241, 234, .66), rgba(244, 241, 234, .66)),
    url("/img/about/cream-brush-background.webp") center/cover no-repeat,
    var(--cream);
}
.ab2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .6;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='nb'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0, 0 0 0 0 0, 0 0 0 0 0, 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23nb)'/%3E%3C/svg%3E");
}
.ab2-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 56px);
}
.ab2-head {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin: 0 0 clamp(40px, 5vw, 62px);
}
.ab2-eyebrow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 18px;
}
.ab2-eyebrow-text {
  font-family: var(--condensed);
  color: var(--yellow);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  letter-spacing: .34em;
  text-transform: uppercase;
  line-height: 1;
}
.ab2-eyebrow-bar {
  width: 62px;
  height: 3px;
  margin-top: 11px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--yellow), rgba(255, 184, 0, .4));
}
.ab2-h2 {
  font-family: var(--display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: .9;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  font-feature-settings: "liga" 1, "dlig" 1, "calt" 1;
  transform: rotate(-4deg);
  transform-origin: left center;
}
.ab2-line { display: block; line-height: .9; }
.ab2-dark { color: var(--black); }
.ab2-yellow { color: var(--yellow); position: relative; white-space: nowrap; }
.ab2-diff { position: relative; display: inline-block; }
.ab2-swash {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 66%);
  width: 98%;
  max-width: 470px;
  height: 150px;
  object-fit: contain;
  pointer-events: none;
}
.ab2-lead {
  position: relative;
  padding-top: clamp(40px, 5vw, 72px);
  padding-left: 26px;
  font-size: clamp(1rem, 1.12vw, 1.12rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(13, 13, 13, .82);
  max-width: 360px;
}
.ab2-lead::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 2px;
  background: linear-gradient(rgba(13, 13, 13, 0) 0%, rgba(13, 13, 13, .5) 16%, rgba(13, 13, 13, .5) 84%, rgba(13, 13, 13, 0) 100%);
}
.ab2-lead strong { color: var(--black); font-weight: 700; }

.ab2-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1500px, 94vw);
}
.ab2-card { position: relative; }
.ab2-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
}

/* ---------- ab4: "Ready to join the flock?" ---------- */
.ab4 {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: #000;
}
.ab4-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 68%;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 8%, rgba(0, 0, 0, .18) 24%, rgba(0, 0, 0, .6) 44%, #000 66%);
  mask-image: linear-gradient(to right, transparent 0%, transparent 8%, rgba(0, 0, 0, .18) 24%, rgba(0, 0, 0, .6) 44%, #000 66%);
}
.ab4-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scaleX(-1);
}
.ab4-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(56px, 7vw, 104px) clamp(24px, 5vw, 56px);
}
.ab4-content { max-width: 620px; margin-left: clamp(28px, 7vw, 110px); }
.ab4-eyebrow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 18px;
}
.ab4-eyebrow-text {
  font-family: var(--condensed);
  color: var(--yellow);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  letter-spacing: .34em;
  text-transform: uppercase;
  line-height: 1;
}
.ab4-eyebrow-bar {
  width: 64px;
  height: 3px;
  margin-top: 11px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--yellow), rgba(255, 184, 0, .4));
}
.ab4-h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: .88;
  text-transform: uppercase;
  margin: 0 0 clamp(40px, 4.4vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-feature-settings: "liga" 1, "dlig" 1, "calt" 1;
}
.ab4-line { display: block; line-height: .9; white-space: nowrap; }
.ab4-l1 { color: var(--cream); }
.ab4-l2, .ab4-l3 { color: var(--yellow); }
.ab4-l3 { position: relative; }
.ab4-flock { position: relative; display: inline-block; }
.ab4-swash {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 58%);
  width: 108%;
  max-width: 460px;
  height: 150px;
  object-fit: contain;
  pointer-events: none;
}
.ab4-body {
  font-family: var(--body);
  font-size: clamp(1rem, 1.12vw, 1.12rem);
  line-height: 1.66;
  color: rgba(255, 255, 255, .82);
  max-width: 400px;
  margin: 0 0 clamp(28px, 3.4vw, 40px);
}
.ab4-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 42px;
  color: var(--black);
  font-family: var(--condensed);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}
/* the yellow lives on ::before (brush-edged); the span repeats it so contrast checkers see dark on yellow */
.ab4-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yellow);
  filter: url(#cr-brush-edge);
  border-radius: 5px;
  z-index: -1;
  transition: background .25s;
}
.ab4-btn > span { background-color: var(--yellow); }
.ab4-btn:hover::before { background: #ffc62e; }
.ab4-btn .ab4-arrow { width: 1.075em; height: 1.05em; transition: transform .25s; }
.ab4-btn:hover .ab4-arrow { transform: translateX(4px); }
.ab-defs { position: absolute; width: 0; height: 0; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .ab4 { display: flex; flex-direction: column; }
  .ab4-photo {
    position: relative;
    order: 2;
    width: 100%;
    margin-top: -48px;
    height: clamp(280px, 60vw, 420px);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .ab4-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(13, 13, 13, 0) 30%, rgba(13, 13, 13, .55) 62%, rgba(13, 13, 13, .92) 86%, var(--black) 100%);
  }
  .ab4-inner { order: 1; padding: clamp(56px, 7vw, 104px) 20px clamp(40px, 7vw, 60px); }
  .ab4-content { max-width: none; margin-left: 0; }
  .ab4-body { max-width: none; }
  .ab4-h2 { font-size: clamp(2.7rem, 11vw, 4.6rem); }
  .ab4-line { white-space: normal; }
}

@media (max-width: 860px) {
  .ab-hero { padding-top: clamp(104px, 22vw, 140px); }
  .ab-hero-inner { gap: clamp(34px, 7vw, 48px); }
  .ab-hero-photo {
    width: 100%;
    opacity: .5;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 45%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 45%);
  }
  .ab-content { padding: 0; max-width: none; }
  .ab2-head { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ab2-lead { max-width: none; }
  .ab2-h2 { font-size: clamp(2.4rem, 11vw, 4rem); }
}

@media (max-width: 768px) {
  .ab-h2 { font-size: clamp(2.4rem, 12vw, 3.8rem); margin-bottom: 40px; }
  .ab-copy { max-width: none; }
}

@media (max-width: 620px) {
  .ab2-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    left: auto;
    transform: none;
    width: 100%;
  }
  .ab2-card { aspect-ratio: auto; }
}
