/* O & A Trading: homepage styles (design system shared with A & AJ Trading) */

@font-face {
  font-family: "Oswald";
  src: url("../fonts/Oswald-600.woff2") format("woff2");
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("../fonts/Oswald-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Deep teal and mint green taken from the O & A logo */
  --night: #04191A;
  --forest: #072A2A;
  --forest-2: #0C3B3A;
  --brand: #0F5150;
  --brand-2: #2E8C78;
  --paper: #F5F1E6;
  --paper-2: #EAE4D3;
  --plate: #FFFDF7;
  --ink: #061716;
  --ink-muted: #46585A;
  --text: #EEF0E6;
  --muted: #A3C0BC;
  --rule: rgba(238, 240, 230, .14);
  --date: #1E6B5C;
  --citrus: #61BF75;
  --citrus-hover: #86D696;
  --lemon: #FFDA18;
  --kiwi: #61BF75;

  --display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1240px;
}
@media (min-width: 960px) {
  :root { --header-h: 80px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@supports (overflow: clip) {
  body { overflow-x: clip; }
}
img, video, svg { display: block; max-width: 100%; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--citrus);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--citrus);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--citrus);
}
.eyebrow a { color: inherit; text-underline-offset: 3px; }
.h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin-top: 14px;
  text-wrap: balance;
}
.section { padding-block: clamp(72px, 11vw, 140px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .85rem; }
.btn--citrus { background: var(--citrus); color: var(--ink); }
.btn--citrus:hover { background: var(--citrus-hover); }
.btn--ghost { border-color: rgba(238, 240, 230, .55); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: rgba(238, 240, 230, .08); }
.btn:active { transform: translateY(1px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--text);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 25, 26, .55), rgba(4, 25, 26, 0));
  transition: opacity .35s var(--ease);
}
.site-header.is-solid {
  background: rgba(4, 25, 26, .86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--rule);
}
.site-header.is-solid::before { opacity: 0; }
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* The O & A logo has a white wordmark and green emblem, so it sits directly on the dark header (no plate) */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 0;
  background: transparent;
}
.brand__logo { width: auto; height: 38px; }
@media (min-width: 960px) {
  .brand { padding: 4px 0; }
  .brand__logo { height: 46px; }
}

.menu-toggle { display: none; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
}
.site-nav__list a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}
.site-nav__list a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 1.5px;
  background: var(--citrus);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav__list a:not(.btn):hover::after,
.site-nav__list a.is-current::after { transform: scaleX(1); }
.site-nav__aff { display: none; }

/* Without JS on small screens the nav wraps below the brand */
@media (max-width: 959px) {
  html:not(.js) .site-header { position: absolute; height: auto; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: 8px; }
  html:not(.js) .site-nav__list { flex-wrap: wrap; gap: 4px 18px; }
}

@media (max-width: 959px) {
  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 4px 0 12px;
    margin-right: -4px;
    background: none;
    border: 0;
    color: var(--text);
    font-family: var(--display);
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    z-index: 2;
  }
  .menu-toggle__bars {
    order: 2;
    position: relative;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: background-color .2s;
  }
  .menu-toggle__bars::before,
  .menu-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: transform .3s var(--ease);
  }
  .menu-toggle__bars::before { transform: translateY(-7px); }
  .menu-toggle__bars::after { transform: translateY(7px); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: rotate(-45deg); }

  .js .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background: var(--night);
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s var(--ease), visibility 0s linear .3s;
  }
  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transition: opacity .3s var(--ease);
  }
  .js .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .js .site-nav__list a:not(.btn) {
    font-family: var(--display);
    font-size: clamp(1.9rem, 9vw, 2.6rem);
    font-weight: 600;
    text-transform: uppercase;
    min-height: 56px;
  }
  .js .site-nav__list a:not(.btn)::after { bottom: 6px; }
  .js .site-nav__cta { margin-top: 24px; }
  .js .site-nav__cta .btn { min-height: 52px; padding-inline: 28px; font-size: 1rem; }
  .js .site-nav__aff {
    display: block;
    margin-top: 40px;
    color: var(--muted);
    font-size: .95rem;
  }
  .site-nav__aff a { display: inline-block; padding-block: 12px; text-underline-offset: 3px; color: var(--text); }
  body.menu-open { overflow: hidden; }
  .site-header.menu-is-open { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.menu-is-open .brand { position: relative; z-index: 2; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 32px);
  overflow: hidden;
  isolation: isolate;
  background: var(--night);
}
@supports (height: 100dvh) {
  .hero { min-height: 100dvh; }
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__poster img,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 25, 26, .62) 0%, rgba(4, 25, 26, .18) 28%, rgba(4, 25, 26, .38) 55%, rgba(4, 25, 26, .94) 100%),
    linear-gradient(90deg, rgba(4, 25, 26, .72) 0%, rgba(4, 25, 26, .18) 70%);
}
.hero__content { padding-bottom: clamp(24px, 4vh, 48px); }
.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  color: var(--text);
}
.hero__eyebrow a { color: var(--citrus); display: inline-block; padding-block: 14px; margin-block: -14px; }
.hero__eyebrow-sep { width: 28px; height: 1.5px; background: var(--kiwi); }
@media (max-width: 559px) {
  .hero__eyebrow { flex-direction: column; align-items: flex-start; }
  .hero__eyebrow-sep { display: none; }
}
.nowrap { white-space: nowrap; }
.hero__title {
  margin-top: 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.7rem, 10.4vw, 7.6rem);
  line-height: .98;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.hero__title .line > span { display: inline-block; }
.hero__title .accent { color: var(--citrus); }
.hero__lede {
  max-width: 40rem;
  margin-top: 22px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: #E0E4DA;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: max(18px, env(safe-area-inset-bottom));
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.scroll-cue__line {
  position: relative;
  width: 1.5px;
  height: 36px;
  background: rgba(238, 240, 230, .25);
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 40%;
  background: var(--kiwi);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  70%, 100% { transform: translateY(260%); }
}
.video-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(238, 240, 230, .3);
  border-radius: 999px;
  background: rgba(4, 25, 26, .35);
  color: var(--text);
  font: 500 .8rem/1 var(--body);
  cursor: pointer;
}
.video-toggle[hidden] { display: none; }
.video-toggle:hover { border-color: var(--text); }
.video-toggle__icon {
  width: 10px;
  height: 12px;
  border-inline: 3px solid currentColor;
}
.video-toggle[aria-pressed="true"] .video-toggle__icon {
  border: 0;
  border-left: 10px solid currentColor;
  border-block: 6px solid transparent;
  width: 0;
  height: 0;
}

/* Hero intro motion */
@media (min-width: 0px) {
  .hero__title .line > span {
    transform: translateY(105%);
    animation: line-up 1s var(--ease) forwards;
  }
  .hero__title .line:nth-child(1) > span { animation-delay: .15s; }
  .hero__title .line:nth-child(2) > span { animation-delay: .28s; }
  .hero__title .line:nth-child(3) > span { animation-delay: .41s; }
  .hero__eyebrow, .hero__lede, .hero__actions, .hero__foot {
    opacity: 0;
    animation: fade-up .9s var(--ease) forwards;
  }
  .hero__eyebrow { animation-delay: .05s; }
  .hero__lede { animation-delay: .7s; }
  .hero__actions { animation-delay: .82s; }
  .hero__foot { animation-delay: 1.1s; }
  .hero__video { animation: video-in 1.6s var(--ease) both; }
}
@keyframes line-up { to { transform: translateY(0); } }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes video-in {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

/* ---------- Facts ---------- */
.facts {
  background: var(--forest);
  border-bottom: 1px solid var(--rule);
}
.facts__list {
  display: grid;
  grid-template-columns: 1fr;
}
.facts__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-block: 22px;
  border-top: 1px solid var(--rule);
}
.facts__item:first-child { border-top: 0; }
.facts dt {
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
}
@media (min-width: 720px) {
  .facts__list { grid-template-columns: repeat(3, 1fr); }
  .facts__item { padding: 34px 28px; border-top: 0; border-left: 1px solid var(--rule); }
  .facts__item:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.about__text > p:not(.eyebrow) { margin-top: 20px; color: #CFDCDA; max-width: 36rem; }
.about__text > .about__lede { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--text); margin-top: 26px; }
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 36px;
}
.flow__item {
  flex: 1 1 200px;
  padding: 18px 20px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: rgba(12, 59, 58, .55);
}
.flow__tag {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--citrus);
}
.flow__text { display: block; margin-top: 6px; color: #CFDCDA; font-size: .95rem; }
.flow__arrow { display: flex; align-items: center; color: var(--citrus); }
@media (max-width: 559px) {
  .flow__arrow { width: 100%; justify-content: center; transform: rotate(90deg); height: 24px; }
  .flow__arrow svg { width: 32px; }
}
.about__text > .about__aff { margin-top: 32px; font-size: .95rem; color: var(--muted); }
.about__aff a { color: var(--text); display: inline-block; padding-block: 10px; margin-block: -10px; text-underline-offset: 3px; }
.about__aff a:hover { color: var(--citrus); }
.about__media { position: relative; }
.about__frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  background: var(--forest-2);
}
.about__frame img {
  position: absolute;
  left: 0;
  top: -10%;
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}
.about__media::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 46%;
  height: 46%;
  border-right: 2px solid var(--kiwi);
  border-bottom: 2px solid var(--kiwi);
  border-radius: 0 0 18px 0;
  pointer-events: none;
}
@media (max-width: 559px) {
  .about__frame { aspect-ratio: 4 / 3; }
  .about__media::after { right: -8px; bottom: -8px; }
}
@media (min-width: 960px) {
  .about__grid { grid-template-columns: 1.05fr .95fr; gap: 80px; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--citrus);
  color: var(--ink);
  border-block: 1px solid rgba(6, 23, 22, .2);
}
.marquee__track {
  display: flex;
  width: max-content;
}
.marquee__list {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}
.marquee__list li {
  display: flex;
  align-items: center;
  padding-block: 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  text-transform: uppercase;
  letter-spacing: .02em;
  white-space: nowrap;
}
.marquee__list li::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-inline: clamp(18px, 2.6vw, 34px);
  background: var(--brand);
  transform: rotate(45deg);
}
@media (min-width: 0px) {
  .marquee__track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@media (max-width: 1px) {
  .marquee__track { width: auto; }
  .marquee__list { flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
  .marquee__list li { padding-block: 10px; }
  .marquee__list + .marquee__list { display: none; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Lines grid ---------- */
.lines {
  background: var(--paper);
  color: var(--ink);
}
.lines .eyebrow { color: var(--brand); }
.lines :focus-visible { outline-color: var(--brand); }
.lines__head {
  display: grid;
  gap: 20px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.lines__intro { color: var(--ink-muted); max-width: 30rem; font-size: 1.05rem; }
@media (min-width: 960px) {
  .lines__head { grid-template-columns: 1fr 1fr; gap: 48px; }
  .lines__intro { justify-self: end; }
}
.lines__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 168px;
  gap: 10px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 14px;
  padding: 16px;
  background: var(--forest-2);
  color: #fff;
  isolation: isolate;
}
.tile--wide, .tile--xl { grid-column: span 2; }
.tile--xl { grid-row: span 2; }
.tile picture { position: absolute; inset: 0; z-index: -2; }
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.tile--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 25, 26, 0) 35%, rgba(4, 25, 26, .82) 100%);
}
.tile--photo:hover img { transform: scale(1.05); }
.tile__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: .01em;
  text-wrap: balance;
}
.tile--xl .tile__name { font-size: clamp(1.8rem, 4vw, 3.2rem); }
.tile__sub {
  display: block;
  margin-top: 4px;
  font-family: var(--body);
  font-weight: 500;
  font-size: .85rem;
  text-transform: none;
  letter-spacing: 0;
  opacity: .9;
}
.tile--type { justify-content: space-between; }
.tile__icon { width: 40px; height: 40px; opacity: .9; }
.tile--type::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 14px);
}
.tile--date { background: var(--date); }
.tile--green { background: var(--brand); }
.tile--citrus { background: var(--citrus); color: var(--ink); }
.tile--citrus::after { background: repeating-linear-gradient(135deg, rgba(6, 23, 22, .07) 0 1px, transparent 1px 14px); }
.tile--sand { background: var(--paper-2); color: var(--ink); }
.tile--sand::after { background: repeating-linear-gradient(135deg, rgba(6, 23, 22, .05) 0 1px, transparent 1px 14px); }
.tile--sand .tile__icon { color: var(--brand); }
@media (min-width: 640px) {
  .lines__grid { grid-auto-rows: 210px; gap: 14px; }
  .tile { padding: 22px; }
  .tile__icon { width: 48px; height: 48px; }
}
@media (min-width: 960px) {
  .lines__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(200px, 19vw, 250px); }
}

/* ---------- Parallax bands ---------- */
.band {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(380px, 72vh, 720px);
  overflow: hidden;
  isolation: isolate;
  background: var(--forest);
}
.band--short { min-height: clamp(320px, 56vh, 560px); }
.band__media { position: absolute; inset: 0; z-index: -1; }
.band__media img {
  position: absolute;
  left: 0;
  top: -15%;
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 25, 26, .2) 0%, rgba(4, 25, 26, .35) 45%, rgba(4, 25, 26, .9) 100%);
}
.band__content { padding-bottom: clamp(36px, 7vw, 80px); }
.band__text {
  max-width: 22ch;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  text-wrap: balance;
}

/* ---------- Process ---------- */
.process__head { max-width: 46rem; margin-bottom: clamp(40px, 6vw, 72px); }
.process__media { display: none; }
.step {
  padding-block: 28px;
  border-top: 1px solid var(--rule);
}
.step__pic {
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 22px;
  aspect-ratio: 16 / 10;
  background: var(--forest-2);
}
.step__pic img { width: 100%; height: 100%; object-fit: cover; }
.step__num {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .16em;
  color: var(--citrus);
}
.step__title {
  margin-top: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.step p { margin-top: 12px; color: #CFDCDA; max-width: 30rem; font-size: 1.05rem; }

@media (min-width: 960px) {
  .process__body {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 72px;
    align-items: start;
  }
  .process__media {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 5vh);
  }
  .process__frame {
    position: relative;
    height: min(72vh, 640px);
    border-radius: 18px;
    overflow: hidden;
    background: var(--forest-2);
  }
  .process__pic {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity .9s var(--ease), transform 1.4s var(--ease);
  }
  .process__pic.is-active { opacity: 1; transform: scale(1); }
  .process__pic img { width: 100%; height: 100%; object-fit: cover; }
  .process__progress {
    position: absolute;
    left: 24px; right: 24px; bottom: 24px;
    height: 3px;
    border-radius: 3px;
    background: rgba(238, 240, 230, .25);
    overflow: hidden;
  }
  .process__bar {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--citrus);
    transform-origin: left;
    transform: scaleX(calc((var(--step, 0) + 1) / 3));
    transition: transform .8s var(--ease);
  }
  .step__pic { display: none; }
  .step {
    min-height: min(72vh, 640px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 40px;
    border-top: 0;
  }
  .step + .step { border-top: 1px solid var(--rule); }
  .js .step { opacity: .68; transition: opacity .6s var(--ease); }
  .js .step.is-active { opacity: 1; }
}

/* ---------- Leadership ---------- */
.leader {
  background: var(--brand);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.leader::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 100% 0%, rgba(97, 191, 117, .14), transparent 70%);
  pointer-events: none;
}
.leader__grid { position: relative; display: grid; gap: 22px; }
.leader .eyebrow { color: var(--lemon); }
.leader__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.3rem, 6.4vw, 5rem);
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}
.leader__role {
  margin-top: 16px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lemon);
}
.leader__line {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 241, 230, .24);
  max-width: 36rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: #E3EFEC;
}
@media (min-width: 960px) {
  .leader__grid { grid-template-columns: 1fr 3fr; gap: 48px; }
  .leader .eyebrow { padding-top: 14px; }
}

/* ---------- Contact ---------- */
.contact { background: var(--forest); }
.contact__grid { display: grid; gap: 44px; }
.contact__intro > p:not(.eyebrow) { margin-top: 18px; color: #CFDCDA; max-width: 28rem; }
.contact__intro > .contact__place {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--text);
  font-weight: 500;
}
.contact__place svg { color: var(--citrus); flex-shrink: 0; }
.contact__cards {
  display: grid;
  gap: 14px;
}
.card {
  padding: 24px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: rgba(4, 25, 26, .45);
  min-width: 0;
}
.card__label {
  font-family: var(--display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__value {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  letter-spacing: .02em;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.card__value:hover { color: var(--citrus); }
.card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.emails { margin-top: 8px; display: grid; gap: 2px; }
.emails a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(97, 191, 117, .6);
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
.emails a:hover { color: var(--citrus); }
@media (min-width: 640px) {
  .contact__cards { grid-template-columns: 1fr 1fr; }
  .card--wide { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .contact__grid { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #021111;
  padding-block: 56px max(32px, env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: .92rem;
  border-top: 1px solid var(--rule);
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.brand--footer { box-shadow: none; }
.brand--footer .brand__logo { height: 44px; }
@media (min-width: 960px) {
  .brand--footer .brand__logo { height: 52px; }
}
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--text);
}
.site-footer__nav a:hover { color: var(--citrus); }
.site-footer__mid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 40px;
  padding-top: 28px;
}
.site-footer__legal { display: grid; gap: 4px; }
.site-footer__name { color: var(--text); font-weight: 600; }
.site-footer__aff { margin-top: 10px; }
.site-footer__aff a { color: var(--text); text-underline-offset: 3px; display: inline-block; padding-block: 10px; margin-block: -10px; }
.site-footer__aff a:hover { color: var(--citrus); }
.parent {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  text-decoration: none;
  color: var(--muted);
}
.parent__label {
  font-family: var(--display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.parent__plate {
  display: block;
  padding: 2px 8px;
  border-radius: 10px;
  background: #fff;
}
.parent__plate img { width: auto; height: 44px; }
.parent:hover .parent__label { color: var(--text); }
.site-footer__copy { margin-top: 28px; font-size: .85rem; }

/* ---------- Scroll reveal (JS + motion allowed only) ---------- */
@media (min-width: 0px) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: calc(var(--d, 0) * 70ms);
  }
  .js .reveal--clip {
    transform: none;
    clip-path: inset(12% 0 0 0 round 18px);
    transition: opacity .9s var(--ease), clip-path 1.1s var(--ease);
  }
  .js .tile.reveal img { transform: scale(1.12); }
  .js .tile.reveal.is-in img { transform: scale(1); }
  .js .tile--photo.reveal.is-in:hover img { transform: scale(1.05); }
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0 round 18px);
  }
}

@media (max-width: 1px) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero__video { display: none; }
  .scroll-cue__line::after { display: none; }
  [data-parallax] { transform: none !important; }
}

@media print {
  .site-header, .hero__media, .marquee, .band, .video-toggle, .scroll-cue { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  body, .lines, .contact, .leader { background: #fff !important; color: #000 !important; }
}

/* ---- shared design-system fixes ---- */
/* Footer legal links */
.site-footer__links { margin-top: .6em; }
.site-footer__links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* Cookie banner (consent) */
.cookie-banner { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-inline: auto; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--forest); color: var(--text); border: 1px solid rgba(238,240,230,.18); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.4); font-size: .95rem; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 260px; }
.cookie-banner a { color: var(--citrus); }
.cookie-banner__actions { display: flex; gap: 8px; }
/* Respect reduced motion (WCAG 2.3.3 / 2.2.2) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none !important; }
  .reveal, .reveal img { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* finish-2026-10-25: Decline must be as visible as Accept (was UA-grey button bg under light text) */
.cookie-banner .btn--ghost { background: transparent; color: var(--text); }
