/* ══════════════════════════════════════════════════════════════════════════
   APWS — "ATELIER" HOMEPAGE
   A light editorial redesign. Bone canvas · ink type · garnet accent.
   Self-contained: does not touch styles.css (other pages keep their theme).
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --bone:      #0B0A09;
  --bone-2:    #131110;
  --bone-3:    #1C1A16;
  --ink:       #F2EBDD;
  --ink-soft:  #C0B7A6;
  --ink-mute:  #8A8173;
  --garnet:    #D4AF37;
  --garnet-dk: #A6813C;
  --clay:      #9B1B24;
  --gold:      #F3E5AB;
  --line:      rgba(242, 235, 221, 0.14);
  --line-soft: rgba(242, 235, 221, 0.07);

  --display: 'Fraunces', Georgia, serif;
  --sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  --pad: clamp(1.25rem, 5vw, 5rem);
  --maxw: 1500px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body.has-scroll-fx {
  --scroll-y: 0px;
}

/* subtle paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

@supports (overflow: clip) {
  html,
  body,
  .faces {
    overflow-x: clip;
  }
}

img { max-width: 100%; display: block; }

picture { display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--garnet); color: var(--bone); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 300;
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
  position: relative;
  z-index: 1;
}

.society-photo,
.manifesto,
.faces,
.board,
.join,
.foot {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

/* eyebrow / index labels */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--garnet);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--garnet);
}

/* ── Scroll progress ─────────────────────────────────────────────────────── */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--garnet);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 0 var(--pad);
  background: rgba(246, 223, 174, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(155, 27, 36, 0.08);
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease);
}
.nav.stuck {
  background: rgba(9, 8, 7, 0.92);
  border-bottom-color: var(--line);
}
.nav.stuck .wordmark-ap,
.nav.stuck .nav-menu a {
  color: var(--ink);
}
.nav.stuck .burger span {
  background: var(--ink);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}
.wordmark b {
  display: inline-flex;
  align-items: baseline;
  font-weight: 500;
}
.wordmark-ap,
.wordmark-ws {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.wordmark-ap {
  color: var(--clay);
}
.wordmark-ws {
  color: var(--garnet);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.6rem;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -1rem;
  right: -1rem;
  height: 1.2rem;
  display: none;
}

.nav-dropdown:hover::before,
.nav-dropdown:focus-within::before {
  display: block;
}

.nav-menu a {
  color: rgba(117, 25, 29, 0.86);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 0.2rem 0;
}
.nav-menu a:not(.pill)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--garnet);
  transition: width 0.4s var(--ease);
}
.nav-menu a:not(.pill):hover::after,
.nav-menu a.is-active:not(.pill)::after,
.nav-menu a[aria-current='page']:not(.pill)::after { width: 100%; }
.nav-menu a.is-active,
.nav-menu a[aria-current='page'] { color: var(--garnet); }

.nav-dropdown.is-active > .nav-parent {
  color: var(--garnet);
}

.nav-dropdown.is-active > .nav-parent::after {
  width: 100%;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-caret {
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-0.12rem) rotate(45deg);
  opacity: 0.72;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 1.1rem);
  left: 50%;
  min-width: 230px;
  padding: 0.65rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0)),
    rgba(8, 7, 6, 0.96);
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.46);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.24s ease, transform 0.24s var(--ease), visibility 0.24s ease;
  visibility: hidden;
  z-index: 20;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.nav-submenu a {
  display: block;
  padding: 0.78rem 0.9rem;
  color: rgba(242, 235, 221, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.nav-submenu a::after {
  display: none !important;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible,
.nav-submenu a.is-active,
.nav-submenu a[aria-current='page'] {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
}

.pill {
  background: var(--garnet);
  color: #0B0A09;
  padding: 0.7rem 1.4rem !important;
  border-radius: 100px;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.pill:hover { background: var(--gold); transform: translateY(-2px); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 26px; height: 2px;
  background: var(--clay);
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 660px;
  max-height: 1020px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 86px;
  background:
    radial-gradient(ellipse at 50% 92%, rgba(255, 255, 243, 0.84) 0%, rgba(248, 229, 178, 0.42) 18%, transparent 39%),
    radial-gradient(ellipse at 14% 84%, rgba(255, 242, 199, 0.74) 0%, rgba(211, 176, 105, 0.24) 36%, transparent 66%),
    radial-gradient(ellipse at 85% 16%, rgba(255, 249, 207, 0.64) 0%, rgba(242, 204, 121, 0.22) 40%, transparent 69%),
    linear-gradient(180deg, #f8e4b3 0%, #edd39b 42%, #cfbb86 100%);
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
}
.hero::before {
  inset: -12% -10% auto;
  height: 72%;
  z-index: 0;
  opacity: 0.76;
  background:
    radial-gradient(ellipse at 26% 11%, rgba(255, 255, 245, 0.88), transparent 28%),
    radial-gradient(ellipse at 64% 0%, rgba(255, 251, 180, 0.52), transparent 34%),
    linear-gradient(180deg, rgba(255, 247, 217, 0.74), transparent 78%);
  filter: blur(22px);
  transform: translate3d(calc((var(--scroll-depth, 0) - 0.5) * -18px), calc(var(--hero-drift, 0) * -0.18px), 0);
}
.hero::after {
  inset: auto -9% -24%;
  height: 66%;
  z-index: 1;
  opacity: 0.84;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(255, 250, 216, 0.82), rgba(230, 199, 134, 0.36) 34%, rgba(148, 118, 62, 0.18) 61%, transparent 78%),
    linear-gradient(90deg, rgba(167, 135, 68, 0.26), transparent 50%, rgba(167, 135, 68, 0.2));
  filter: blur(42px);
  transform: translate3d(calc((var(--scroll-depth, 0) - 0.5) * 34px), calc(var(--hero-drift, 0) * -0.08px), 0) rotate(-2deg);
}
.hero-sparkles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.98;
}
.hero-glow {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  border-radius: 999px;
  filter: blur(58px);
  background: radial-gradient(ellipse, rgba(255, 250, 214, 0.72), rgba(224, 187, 96, 0.26) 48%, transparent 76%);
  animation: heroGlow 24s ease-in-out infinite alternate;
}
.hero-glow--left {
  left: -16%;
  bottom: -12%;
  width: min(86vw, 1180px);
  height: min(48vw, 620px);
  opacity: 0.56;
  transform: rotate(5deg);
}
.hero-glow--right {
  right: -12%;
  bottom: -10%;
  width: min(86vw, 1320px);
  height: min(58vw, 760px);
  opacity: 0.7;
  transform: rotate(-8deg);
  animation-delay: -6s;
}
@keyframes heroGlow {
  from { translate: -1.2% 0; scale: 1; }
  to { translate: 0.8% -0.9%; scale: 1.025; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 247, 209, 0.24) 0 16%, transparent 47%, rgba(131, 102, 52, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 249, 224, 0.26) 0%, transparent 45%, rgba(121, 94, 45, 0.18) 100%),
    linear-gradient(90deg, rgba(255, 246, 216, 0.15), transparent 34%, transparent 66%, rgba(118, 92, 42, 0.12));
}
.hero-inner {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(1.35rem, 2.4vh, 2.2rem);
  padding-block: clamp(2rem, 5vh, 4rem);
  text-align: center;
}
.hero-copy {
  min-width: 0;
  transform: translate3d(0, calc(var(--hero-drift, 0) * -0.08px), 0);
}
.hero-kicker {
  margin: 0 0 clamp(1.15rem, 2.6vh, 2rem);
  color: rgba(199, 25, 32, 0.82);
  font-family: var(--sans);
  font-size: clamp(0.66rem, 0.78vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hero-head {
  font-family: var(--sans);
  font-size: clamp(5.1rem, 8.9vw, 10.8rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin: 0;
  color: #c71920;
  font-weight: 400;
  text-transform: uppercase;
  text-shadow: 0 14px 40px rgba(123, 69, 31, 0.12);
  text-wrap: balance;
  font-kerning: normal;
}
.hero-head .line:first-child .line-inner {
  color: #c71920;
  font-weight: 400;
}
.hero-head .line + .line {
  margin-top: 0.02em;
}
.hero-head em {
  font-style: italic;
  font-weight: 300;
}
.hero-head .thin { font-weight: 200; }
.hero-shine {
  background: linear-gradient(
    105deg,
    #b98f22 0%,
    #d2aa3d 28%,
    #f4dda0 48%,
    #c99f31 62%,
    #916912 86%
  );
  background-size: 260% auto;
  background-position: 0% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
[data-io].in .hero-shine {
  animation: textShine 7s 1.1s ease-in-out infinite;
}
@keyframes textShine {
  0%, 100% { background-position: 0% center; }
  48%, 52% { background-position: 100% center; }
}
.hero-aside {
  width: min(720px, 100%);
  padding-bottom: 0;
  text-align: center;
  transform: translate3d(0, calc(var(--hero-drift, 0) * -0.04px), 0);
}
.hero-sub {
  position: relative;
  margin: 0 auto clamp(2.6rem, 6.5vh, 4.8rem);
  max-width: 54ch;
  padding-left: 0;
  font-size: clamp(0.92rem, 1.08vw, 1.08rem);
  line-height: 1.62;
  letter-spacing: 0.035em;
  color: rgba(130, 34, 38, 0.86);
  text-align: center;
  font-weight: 500;
}
.hero-sub::before {
  content: none;
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.hero-cta .btn {
  position: relative;
  width: clamp(232px, 18vw, 310px);
  height: clamp(132px, 10vw, 172px);
  min-width: 0;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(199, 25, 32, 0.86);
  font-family: var(--sans);
  font-size: clamp(0.64rem, 0.74vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
  overflow: visible;
  box-shadow: none;
  perspective: 900px;
  transform-style: preserve-3d;
}
.envelope-shell {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform-style: preserve-3d;
  filter:
    drop-shadow(0 20px 24px rgba(126, 91, 40, 0.2))
    drop-shadow(0 0 34px rgba(255, 244, 194, 0.52));
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}
.envelope-back,
.envelope-paper,
.envelope-flap,
.envelope-front,
.envelope-seal,
.envelope-label {
  position: absolute;
}
.envelope-back {
  left: 6%;
  right: 6%;
  bottom: 4%;
  height: 64%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  transition: opacity 0.46s ease, transform 0.7s var(--ease);
  z-index: 1;
}
.envelope-paper {
  left: 15%;
  right: 15%;
  top: 19%;
  height: 56%;
  border-radius: 6px;
  border: 1px solid rgba(155, 27, 36, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 248, 0.98), rgba(255, 244, 204, 0.95));
  box-shadow: 0 10px 18px rgba(128, 85, 29, 0.14);
  opacity: 0;
  transform: translateY(36px) scaleY(0.92);
  transform-origin: bottom center;
  transition: opacity 0.42s ease, transform 0.74s var(--ease);
  z-index: 2;
}
.envelope-flap {
  left: 6%;
  right: 6%;
  top: 34%;
  height: 56%;
  border-radius: 8px 8px 4px 4px;
  background:
    linear-gradient(165deg, rgba(255, 255, 248, 0.94), rgba(255, 228, 151, 0.88) 52%, rgba(203, 151, 58, 0.76));
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: 50% 0%;
  transform: rotateX(0deg);
  opacity: 1;
  visibility: visible;
  transition:
    transform 0.82s var(--ease),
    opacity 0.12s ease,
    visibility 0s linear 0.12s,
    filter 0.82s var(--ease);
  backface-visibility: hidden;
  z-index: 5;
}
.envelope-front {
  left: 6%;
  right: 6%;
  bottom: 4%;
  height: 64%;
  border-radius: 0 0 8px 8px;
  background:
    linear-gradient(151deg, transparent 0 49%, rgba(132, 87, 22, 0.28) 49.6% 50.5%, transparent 51%),
    linear-gradient(209deg, transparent 0 49%, rgba(255, 255, 248, 0.55) 49.6% 50.5%, transparent 51%),
    linear-gradient(26deg, rgba(247, 215, 131, 0.88) 0 48%, rgba(252, 237, 184, 0.92) 48.4% 51.4%, transparent 52%),
    linear-gradient(334deg, transparent 0 48%, rgba(251, 233, 174, 0.92) 48.4% 51.4%, rgba(221, 176, 82, 0.88) 52%),
    linear-gradient(180deg, rgba(255, 248, 209, 0.96), rgba(218, 171, 75, 0.82));
  clip-path: polygon(0 0, 50% 48%, 100% 0, 100% 100%, 0 100%);
  border: 1px solid rgba(155, 108, 34, 0.28);
  border-top: 0;
  box-shadow: inset 0 -18px 26px rgba(151, 99, 28, 0.1);
  z-index: 4;
}
.envelope-seal {
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #fff2c2, #d4af37 54%, #9b1b24 56%, #78141b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    0 5px 14px rgba(108, 63, 20, 0.24);
  transform: translate(-50%, -50%);
  transition: opacity 0.34s ease, transform 0.58s var(--ease);
  z-index: 6;
}
.envelope-label {
  left: 50%;
  top: 42%;
  z-index: 7;
  width: 76%;
  color: #9b1b24;
  opacity: 0;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  transform: translate(-50%, 18px) scale(0.96);
  transition: opacity 0.38s ease 0.12s, transform 0.7s var(--ease);
}
.hero-cta .btn:hover,
.hero-cta .btn:focus-visible {
  background: transparent !important;
  box-shadow: none !important;
  transform: translateY(-4px) scale(1.035);
}
.hero-cta .btn:hover .envelope-shell,
.hero-cta .btn:focus-visible .envelope-shell {
  filter: drop-shadow(0 24px 30px rgba(126, 91, 40, 0.2));
}
.hero-cta .btn:hover .envelope-flap,
.hero-cta .btn:focus-visible .envelope-flap {
  transform: rotateX(168deg);
  opacity: 0 !important;
  visibility: hidden;
  background: transparent !important;
  box-shadow: none !important;
  filter: none;
}
.hero-cta .btn:hover .envelope-back,
.hero-cta .btn:focus-visible .envelope-back {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
}
.hero-cta .btn:hover .envelope-paper,
.hero-cta .btn:focus-visible .envelope-paper {
  opacity: 1;
  transform: translateY(-12px) scaleY(1);
}
.hero-cta .btn:hover .envelope-label,
.hero-cta .btn:focus-visible .envelope-label {
  opacity: 1;
  transform: translate(-50%, -5px) scale(1);
}
.hero-cta .btn:hover .envelope-seal,
.hero-cta .btn:focus-visible .envelope-seal {
  opacity: 0;
  transform: translate(-50%, -34px) scale(0.68);
}
.hero-scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 20px; height: 20px;
  opacity: 0.35;
  animation: bounce 2.4s ease-in-out infinite;
}
.hero-scroll svg { width: 100%; height: 100%; stroke: var(--ink); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--garnet);
  color: #0B0A09;
  padding: 1.05rem 2rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease), gap 0.4s var(--ease);
}
.btn svg { width: 15px; height: 15px; transition: transform 0.4s var(--ease); }
.btn:hover { background: var(--gold); transform: translateY(-3px); gap: 1.1rem; }
.btn:hover svg { transform: translateX(3px); }
.hero-cta .envelope-cta:hover,
.hero-cta .envelope-cta:focus-visible {
  background: transparent !important;
  box-shadow: none !important;
}

.link-arrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: gap 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.link-arrow:hover { gap: 0.9rem; color: var(--garnet); border-color: var(--garnet); }


.seal {
  position: absolute;
  top: clamp(5rem, 10vh, 7.5rem);
  right: clamp(2rem, 4vw, 4rem);
  left: auto;
  width: clamp(76px, 7.5vw, 112px);
  height: clamp(76px, 7.5vw, 112px);
  z-index: 3;
  opacity: 0.72;
  animation: spin 20s linear infinite;
  transform: translate3d(0, calc(var(--hero-drift, 0) * -0.45px), 0);
}
.seal svg { width: 100%; height: 100%; }
.seal text { font-family: var(--sans); font-size: 8.1px; letter-spacing: 3px; font-weight: 600; fill: var(--garnet); text-transform: uppercase; }
.seal-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.seal-core span {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--garnet);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Marquee band ────────────────────────────────────────────────────────── */
.band {
  background: var(--bone-2);
  color: var(--garnet);
  padding: clamp(1.1rem, 2.4vw, 1.9rem) 0;
  overflow: hidden;
  border-block: 1px solid rgba(212, 175, 55, 0.28);
  margin-top: 1rem;
}
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.band:hover .marquee { animation-play-state: paused; }
.marquee span {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.01em;
  padding-inline: 1.6rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.marquee span::after {
  content: '';
  width: clamp(2.4rem, 5vw, 4.6rem);
  height: 1px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.9), transparent);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.18);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Section scaffold ────────────────────────────────────────────────────── */
.section {
  position: relative;
  padding: clamp(4.5rem, 11vw, 9rem) 0;
}

.scroll-stage {
  --scroll-depth: 0;
  isolation: isolate;
}

.scroll-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: calc(0.08 + (var(--scroll-depth) * 0.2));
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(212, 175, 55, 0.16) 50%, transparent 58% 100%);
  transform: translate3d(calc((var(--scroll-depth) - 0.5) * 34%), 0, 0);
  transition: opacity 0.35s ease;
}

.scroll-stage > .wrap,
.scroll-stage .manifesto-wrap,
.scroll-stage .board-inner {
  will-change: transform;
}

.scroll-stage:not(.hero):not(.board):not(.join) > .wrap,
.scroll-stage .manifesto-wrap {
  transform: translate3d(0, calc((0.5 - var(--scroll-depth)) * 18px), 0);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  max-width: 16ch;
}

/* ── Society photo ───────────────────────────────────────────────────────── */
.society-photo {
  background:
    linear-gradient(180deg, rgba(11, 10, 9, 0.96), rgba(19, 17, 16, 0.96)),
    radial-gradient(ellipse at 84% 18%, rgba(212, 175, 55, 0.16), transparent 42%);
  border-block: 1px solid var(--line-soft);
  overflow: hidden;
}
.society-photo::before {
  content: '';
  position: absolute;
  inset: -16% -20%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.34;
  background:
    radial-gradient(ellipse at 18% 34%, rgba(212, 175, 55, 0.16), transparent 38%),
    linear-gradient(118deg, transparent 0 42%, rgba(242, 235, 221, 0.08) 50%, transparent 58% 100%);
  filter: blur(20px);
  transform: translate3d(calc((var(--scroll-depth, 0.5) - 0.5) * -30px), 0, 0);
}
.society-photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
}
.society-photo-copy {
  max-width: 520px;
}
.society-photo-copy h2 {
  font-size: clamp(2.4rem, 4.8vw, 5.2rem);
  margin: 1rem 0 1.3rem;
  max-width: 10ch;
}
.society-photo-copy p {
  margin: 0 0 1.8rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.75;
}
.society-photo-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(242, 235, 221, 0.18);
  aspect-ratio: 16 / 9;
  background: #050403;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
}
.society-photo-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 4, 3, 0.06), transparent 34%, rgba(5, 4, 3, 0.18)),
    linear-gradient(90deg, rgba(212, 175, 55, 0.18), transparent 22% 78%, rgba(212, 175, 55, 0.1));
  mix-blend-mode: screen;
}
.society-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.92) contrast(1.04);
  transform: translate3d(0, calc((0.5 - var(--scroll-depth, 0.5)) * 24px), 0) scale(1.04);
  transition: transform 1.1s var(--ease), filter 0.7s var(--ease);
}
.society-photo-frame:hover img {
  transform: translate3d(0, calc((0.5 - var(--scroll-depth, 0.5)) * 24px), 0) scale(1.075);
  filter: saturate(1.04) contrast(1.06);
}

/* ── Manifesto ───────────────────────────────────────────────────────────── */
.manifesto {
  position: relative;
  background: var(--bone);
  border-block: 1px solid var(--line);
  overflow: hidden;
  perspective: 1100px;
  --purpose-tilt-left: 0deg;
  --purpose-tilt-right: 0deg;
  --purpose-wrap-y: 0px;
  --purpose-left-y: 0px;
  --purpose-right-y: 0px;
  --purpose-plane-x: 0px;
  --purpose-haze-x: 0px;
  --purpose-haze-y: 0px;
  --purpose-plane-opacity: 0.16;
}
.manifesto::before,
.manifesto::after {
  content: '';
  position: absolute;
  inset: -12%;
  z-index: 0;
  pointer-events: none;
}
.manifesto::before {
  opacity: var(--purpose-plane-opacity);
  background:
    linear-gradient(118deg, transparent 0 38%, rgba(212, 175, 55, 0.1) 48%, transparent 58% 100%),
    repeating-linear-gradient(118deg, rgba(242, 235, 221, 0.035) 0 1px, transparent 1px 96px);
  transform: translate3d(var(--purpose-plane-x), 0, -120px) rotateZ(-2deg);
}
.manifesto::after {
  opacity: 0.38;
  background:
    radial-gradient(ellipse at 30% 48%, rgba(212, 175, 55, 0.13), transparent 45%),
    radial-gradient(ellipse at 78% 50%, rgba(242, 235, 221, 0.08), transparent 42%);
  transform: translate3d(var(--purpose-haze-x), var(--purpose-haze-y), -80px);
}
.manifesto-sparkles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.72;
}
.manifesto-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}
.manifesto.scroll-stage .manifesto-wrap {
  transform: translate3d(0, var(--purpose-wrap-y), 0);
}
.manifesto-left {
  display: flex;
  flex-direction: column;
  transform: translate3d(0, var(--purpose-left-y), 42px)
    rotateY(var(--purpose-tilt-left));
  transform-style: preserve-3d;
}
.manifesto-left .eyebrow { margin-bottom: 1.8rem; }
.manifesto-statement p {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
  line-height: 1.22;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.manifesto-statement em {
  font-style: italic;
  color: var(--garnet);
}
.manifesto-rule {
  width: 48px;
  height: 1px;
  background: var(--garnet);
  margin: clamp(1.6rem, 3vh, 2.4rem) 0;
  flex-shrink: 0;
}
.manifesto-loc {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.manifesto-pillars {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  transform: translate3d(0, var(--purpose-right-y), 72px)
    rotateY(var(--purpose-tilt-right));
  transform-style: preserve-3d;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}
.pillar {
  padding: clamp(1.4rem, 2.5vw, 2.2rem) clamp(1.4rem, 2.5vw, 2rem);
  background: var(--bone-2);
  transition: background 0.45s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.pillar:hover {
  background: var(--bone-3);
  transform: translateX(10px);
  box-shadow: inset 3px 0 0 var(--garnet);
}
.pillar-num {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--garnet);
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}
.pillar h3 {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.8vw, 1.9rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  margin: 0 0 0.7rem;
}
.pillar p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.68;
  margin: 0;
}

/* ── Values (editorial list) ─────────────────────────────────────────────── */
.val {
  display: grid;
  grid-template-columns: 5rem 1fr 1.4fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.5rem) 1rem;
  border-top: 1px solid var(--line);
  transition: background 0.5s var(--ease), padding-inline 0.5s var(--ease), transform 0.5s var(--ease);
}
.val:last-child { border-bottom: 1px solid var(--line); }
.val:hover {
  background: var(--garnet);
  color: #0B0A09;
  padding-inline: 1.8rem;
  transform: translateX(8px);
}
.val .num {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--garnet);
  transition: color 0.4s var(--ease);
}
.val:hover .num { color: #0B0A09; }
.val h3 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 300;
}
.val p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  transition: color 0.4s var(--ease);
}
.val:hover p { color: rgba(11, 10, 9, 0.72); }

/* ── Faces gallery ───────────────────────────────────────────────────────── */
.faces {
  max-width: 100vw;
  background: var(--bone-2);
  color: var(--ink);
  overflow: hidden;
  contain: paint;
  border-block: 1px solid var(--line-soft);
}
.faces .eyebrow { color: var(--garnet); }
.faces .eyebrow::before { background: var(--garnet); }
.faces .section-head h2 { color: var(--ink); }
.faces-track {
  display: flex;
  gap: 1.4rem;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.face {
  width: clamp(200px, 24vw, 300px);
  flex: 0 0 auto;
}
.face-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ink-soft);
  transform: translateY(calc((0.5 - var(--scroll-depth, 0.5)) * 18px));
  transition: transform 0.8s var(--ease);
}
.face-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: none;
  transition: transform 1s var(--ease);
}
.face-img picture {
  width: 100%;
  height: 100%;
}
.face:hover .face-img img { transform: scale(1.05); }
.face figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, 0.6);
}
.face figcaption b {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

/* ── Board feature ───────────────────────────────────────────────────────── */
.board {
  position: relative;
  min-height: clamp(420px, 68vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.board-bg {
  position: absolute;
  inset: 0;
  background: image-set(
      url('assets/optimized/home-board-752.webp') type('image/webp'),
      url('assets/optimized/home-board-752.jpg') type('image/jpeg')
    ) center 35% / cover no-repeat;
  filter: grayscale(8%) contrast(1.03);
  transform: translate3d(0, calc((0.5 - var(--scroll-depth, 0.5)) * 52px), 0) scale(1.08);
  transition: transform 1.4s var(--ease);
  will-change: transform;
}
.board:hover .board-bg {
  transform: translate3d(0, calc((0.5 - var(--scroll-depth, 0.5)) * 52px), 0) scale(1.12);
}
.board::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 18, 14, 0.15) 0%, rgba(23, 18, 14, 0.82) 100%);
}
.board-inner {
  position: relative;
  z-index: 2;
  color: var(--ink);
  padding: clamp(2rem, 5vw, 4.5rem) var(--pad);
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}
.board-inner .eyebrow { color: var(--gold); }
.board-inner .eyebrow::before { background: var(--gold); }
.board-inner h2 {
  font-size: clamp(2.6rem, 7vw, 6rem);
  margin: 1rem 0 1.2rem;
  color: var(--ink);
}
.board-inner p { max-width: 46ch; color: rgba(242, 235, 221, 0.82); margin: 0 0 1.8rem; }
.board-inner .link-arrow { color: var(--ink); border-color: var(--ink); }
.board-inner .link-arrow:hover { color: var(--gold); border-color: var(--gold); }

/* ── Join CTA (starfield / sparkle theme) ────────────────────────────────── */
.join {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 8%, rgba(212, 175, 55, 0.22), transparent 48%),
    linear-gradient(180deg, #080604 0%, #0c0905 45%, #050403 100%);
  color: var(--ink);
  text-align: center;
  padding: clamp(6rem, 15vw, 12rem) 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.join::before,
.join::after {
  content: '';
  position: absolute;
  inset: -22%;
  z-index: 0;
  pointer-events: none;
}
.join::before {
  opacity: 0.7;
  background:
    radial-gradient(ellipse at 18% 52%, rgba(212, 175, 55, 0.18), transparent 42%),
    radial-gradient(ellipse at 82% 48%, rgba(243, 229, 171, 0.14), transparent 44%),
    radial-gradient(ellipse at 50% 70%, rgba(212, 175, 55, 0.2), transparent 58%),
    linear-gradient(90deg, rgba(212, 175, 55, 0.08), rgba(243, 229, 171, 0.13), rgba(212, 175, 55, 0.08));
  filter: blur(26px);
  transform: translate3d(calc((var(--scroll-depth, 0.5) - 0.5) * -28px), calc((var(--scroll-depth, 0.5) - 0.5) * 22px), 0);
}
.join::after {
  opacity: 0.16;
  background:
    linear-gradient(112deg, transparent 0 32%, rgba(243, 229, 171, 0.2) 48%, transparent 64% 100%),
    repeating-linear-gradient(112deg, rgba(212, 175, 55, 0.035) 0 1px, transparent 1px 92px);
  mix-blend-mode: screen;
  animation: joinSweep 18s ease-in-out infinite alternate;
}
@keyframes joinSweep {
  from { transform: translate3d(-3%, 0, 0) rotateZ(-0.5deg); }
  to { transform: translate3d(3%, -1%, 0) rotateZ(0.5deg); }
}
.join .wrap {
  transform: translate3d(0, calc((0.5 - var(--scroll-depth, 0.5)) * 22px), 0);
  will-change: transform;
}
.join-sparkles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.76;
}
.join-glow {
  position: absolute;
  z-index: 0;
  inset-block: auto -30%;
  width: clamp(620px, 92vw, 1500px);
  height: clamp(300px, 38vw, 620px);
  border-radius: 999px;
  filter: blur(62px);
  pointer-events: none;
  background:
    radial-gradient(ellipse, rgba(212, 175, 55, 0.28) 0%, rgba(166, 129, 60, 0.12) 48%, transparent 74%);
}
.join-glow--l {
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
}
.join-glow--r {
  top: -24%;
  right: 50%;
  bottom: auto;
  opacity: 0.56;
  transform: translateX(50%) rotate(5deg);
}
.join .wrap { position: relative; z-index: 3; }
.join .eyebrow { color: var(--garnet); justify-content: center; }
.join .eyebrow::before { background: var(--garnet); }
.join-head {
  font-size: clamp(3rem, 10vw, 8rem);
  margin: 1.6rem 0 0;
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.join-head .gold {
  color: var(--garnet);
  font-style: italic;
  font-weight: 300;
}
.join-sub {
  max-width: 46ch;
  margin: 2rem auto 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(242, 235, 221, 0.66);
}
.join-btn { margin-top: 2.8rem; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.foot {
  position: relative;
  background: #070605;
  color: var(--ink);
  padding: clamp(2.4rem, 5vw, 4.2rem) 0 1.8rem;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.foot::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), transparent 34%, transparent 70%, rgba(212, 175, 55, 0.04));
}
.foot .wrap {
  position: relative;
  z-index: 1;
}
.foot-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(130px, 0.55fr) minmax(170px, 0.75fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding-bottom: clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid rgba(242, 235, 221, 0.12);
}
.foot-top .wordmark,
.foot-top .wordmark-ap {
  color: var(--ink);
}
.foot-brand p {
  margin: 0.8rem 0 0;
  max-width: 30ch;
  color: rgba(243, 239, 230, 0.52);
  font-size: 0.86rem;
  line-height: 1.55;
}
.foot-col h4 {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.85rem;
}
.foot-col a {
  display: block;
  width: fit-content;
  padding: 0.24rem 0;
  color: rgba(243, 239, 230, 0.66);
  font-size: 0.86rem;
  line-height: 1.45;
  transition: color 0.3s ease, transform 0.3s var(--ease);
}
.foot-col a:hover {
  color: var(--ink);
  transform: translateX(4px);
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.1rem;
  font-size: 0.72rem;
  color: rgba(243, 239, 230, 0.42);
}
.foot-bottom a { color: rgba(243, 239, 230, 0.7); }
.foot-bottom a:hover { color: var(--gold); }

/* ── Reveal animations ───────────────────────────────────────────────────── */
[data-io] .reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-io].in .reveal {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.hero[data-io] .reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

.line { display: block; overflow: hidden; }
.line i { font-style: inherit; }
.line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 1.05s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-io].in .line-inner { transform: translateY(0); }

.hero .line-inner {
  transform: none;
  transition: none;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-head { font-size: clamp(4.4rem, 10vw, 7.4rem); }
  .manifesto-wrap { grid-template-columns: 1fr; }
  .val { grid-template-columns: 3.5rem 1fr; }
  .val p { display: none; }
  .foot-top { grid-template-columns: 1.2fr 0.7fr 0.8fr; }
}

@media (max-width: 720px) {
  :root { --pad: clamp(1rem, 5vw, 1.35rem); }

  .manifesto-sparkles,
  .join-sparkles {
    display: none;
  }

  .nav {
    min-height: 70px;
    padding: 0 var(--pad);
    background: rgba(246, 223, 174, 0.62);
  }
  .nav.stuck,
  .nav.menu-open {
    background: rgba(9, 8, 7, 0.9);
  }
  .nav.menu-open .wordmark-ap { color: var(--ink); }
  .nav.menu-open .burger span { background: var(--ink); }
  .wordmark {
    font-size: 2.05rem;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100vw;
    height: calc(100dvh - 70px);
    min-height: calc(100vh - 70px);
    padding: clamp(3rem, 10svh, 5.2rem) clamp(1.35rem, 7vw, 2rem);
    background:
      radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.13), transparent 34%),
      radial-gradient(ellipse at 90% 88%, rgba(212, 175, 55, 0.1), transparent 42%),
      linear-gradient(180deg, rgba(8, 7, 6, 0.995), rgba(4, 4, 3, 0.99));
    border-top: 1px solid rgba(242, 235, 221, 0.08);
    box-shadow: inset 0 1px 0 rgba(212, 175, 55, 0.08);
    counter-reset: mobileNav;
    transform: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0s linear 0.28s;
    z-index: 99999;
  }
  .nav-menu.open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.28s ease;
  }

  .nav-dropdown {
    counter-increment: mobileNav;
    display: grid;
    grid-template-rows: auto 0fr;
    width: min(100%, 390px);
    margin: 0 auto;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s var(--ease), grid-template-rows 0.26s ease;
    transition-delay: 0.165s;
  }

  .nav-dropdown::before {
    display: none !important;
  }

  .nav-menu.open .nav-dropdown {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu a {
    counter-increment: mobileNav;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100%, 390px);
    margin: 0 auto;
    padding: 1.08rem 0;
    border-bottom: 1px solid rgba(242, 235, 221, 0.14);
    font-size: clamp(0.96rem, 4.8vw, 1.18rem);
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(8px);
    transition: color 0.28s ease, opacity 0.4s ease, transform 0.4s var(--ease), border-color 0.28s ease;
    transition-delay: calc(var(--i, 0) * 0.055s);
    text-align: left;
  }
  .nav-menu.open a {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-menu > a:nth-child(1) { --i: 1; }
  .nav-menu > a:nth-child(2) { --i: 2; }
  .nav-menu > a:nth-child(4) { --i: 5; }

  .nav-menu .nav-parent,
  .nav-menu .nav-submenu a {
    counter-increment: none;
  }

  .nav-menu .nav-parent {
    width: 100%;
    margin: 0;
  }

  .nav-menu .nav-parent::before {
    content: '0' counter(mobileNav);
    color: rgba(212, 175, 55, 0.76);
    font-family: var(--display);
    font-size: 0.82rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    margin-right: 1rem;
  }

  .nav-menu .nav-submenu {
    position: static;
    width: 100%;
    min-width: 0;
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transform: none;
    visibility: hidden;
    transition: max-height 0.26s ease, opacity 0.2s ease, padding 0.26s ease, visibility 0.2s ease;
  }

  .nav-menu.open .nav-dropdown.is-submenu-open {
    grid-template-rows: auto 1fr;
  }

  .nav-menu.open .nav-dropdown.is-submenu-open .nav-submenu,
  .nav-menu.open .nav-dropdown.is-submenu-open .nav-submenu * {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu.open .nav-dropdown.is-submenu-open .nav-submenu {
    max-height: 140px;
    padding: 0.28rem 0 0.52rem;
  }

  .nav-menu .nav-submenu a {
    width: 100%;
    margin: 0;
    padding: 0.62rem 0 0.62rem 2.25rem;
    border-bottom: 1px solid rgba(242, 235, 221, 0.08);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    opacity: 1;
    transform: none;
  }

  .nav-menu .nav-submenu a::before {
    content: '';
    width: 18px;
    height: 1px;
    margin-right: 0.8rem;
    background: rgba(212, 175, 55, 0.55);
  }

  .nav-menu a::before {
    content: '0' counter(mobileNav);
    color: rgba(212, 175, 55, 0.76);
    font-family: var(--display);
    font-size: 0.82rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    margin-right: 1rem;
  }
  .nav-menu a::after {
    display: none;
  }
  .nav-menu a:hover,
  .nav-menu a:focus-visible {
    color: var(--gold);
    border-color: rgba(212, 175, 55, 0.5);
  }
  .nav-menu a[aria-current='page'],
  .nav-menu a.is-active {
    color: var(--gold);
    border-color: rgba(212, 175, 55, 0.56);
  }
  .nav-menu a[aria-current='page']::before,
  .nav-menu a.is-active::before {
    color: var(--gold);
  }
  .nav-menu a:last-child {
    border-bottom-color: rgba(212, 175, 55, 0.26);
    margin: 0 auto;
  }

  .nav-menu {
    --mobile-menu-width: min(100%, 430px);
  }

  .nav-dropdown {
    counter-increment: none;
    width: var(--mobile-menu-width);
  }

  .nav-menu > a:nth-child(4) {
    --i: 4;
  }

  .nav-menu a {
    counter-increment: none;
    width: var(--mobile-menu-width);
    min-height: 72px;
    justify-content: flex-end;
    text-align: right;
  }

  .nav-menu a::before,
  .nav-menu .nav-parent::before,
  .nav-menu .nav-submenu a::before {
    content: none !important;
    display: none !important;
  }

  .nav-menu .nav-parent {
    width: 100%;
    min-height: 72px;
    justify-content: flex-end;
    gap: 0.72rem;
  }

  .nav-menu .nav-caret {
    flex: 0 0 auto;
    margin-left: 0.18rem;
    transition: transform 0.22s ease;
  }

  .nav-menu .nav-submenu {
    width: 100%;
    max-height: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
  }

  .nav-menu.open .nav-dropdown:not(.is-submenu-open) .nav-submenu,
  .nav-menu.open .nav-dropdown:not(.is-submenu-open):hover .nav-submenu,
  .nav-menu.open .nav-dropdown:not(.is-submenu-open):focus-within .nav-submenu {
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .nav-menu.open .nav-dropdown.is-submenu-open .nav-submenu {
    max-height: 140px;
    padding: 0.28rem 0 0.52rem;
  }

  .nav-menu .nav-dropdown.is-submenu-open .nav-caret {
    transform: translateY(0.08rem) rotate(225deg);
  }

  .nav-menu .nav-dropdown:hover .nav-submenu,
  .nav-menu .nav-dropdown:focus-within .nav-submenu {
    transform: none;
  }

  .nav-menu .nav-submenu a {
    width: 100%;
    min-height: 44px;
    justify-content: flex-end;
    padding: 0.56rem 0;
    color: rgba(242, 235, 221, 0.78);
    font-size: clamp(0.76rem, 3.5vw, 0.9rem);
    letter-spacing: 0.17em;
    border-bottom-color: rgba(242, 235, 221, 0.08);
  }

  .burger { display: flex; z-index: 100002; }
  .nav .wordmark { position: relative; z-index: 100002; }
  .nav.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .burger span:nth-child(2) { opacity: 0; }
  .nav.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero {
    min-height: 640px;
    height: 100svh;
    justify-content: center;
    padding-top: 70px;
    perspective: 900px;
  }
  .hero::before {
    opacity: 0.2;
  }
  .hero::after {
    right: -74%;
    bottom: -12%;
    height: 58%;
    opacity: 0.92;
    filter: blur(42px);
  }
  .hero-sparkles {
    transform: translate3d(0, var(--hero-sparkle-y, 0px), 0) rotateX(var(--hero-sparkle-tilt, 0deg)) scale(var(--hero-sparkle-scale, 1));
    transform-origin: 50% 56%;
    will-change: transform;
  }
  .hero-inner {
    gap: clamp(1.2rem, 4svh, 2rem);
    padding-block: clamp(2rem, 7svh, 3.7rem);
  }
  .hero-copy,
  .hero-aside {
    width: 100%;
  }
  .hero-kicker {
    max-width: 26rem;
    margin-inline: auto;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
  }
  .hero-head {
    max-width: 100%;
    font-size: clamp(2.72rem, 11.4vw, 4.85rem);
    line-height: 0.94;
    letter-spacing: 0.012em;
    margin-top: 0;
  }
  .hero-head .line,
  .hero-head .line-inner {
    max-width: 100%;
  }
  .hero-sub {
    max-width: min(100%, 24rem);
    margin-bottom: clamp(2.1rem, 7svh, 3.5rem);
    padding-left: 0;
    font-size: 0.72rem;
    line-height: 1.5;
    letter-spacing: 0.1em;
  }
  .hero-sub::before { content: none; }
  .hero-aside { padding-bottom: 0; }
  .hero-cta {
    align-items: center;
    flex-direction: column;
    gap: 0.95rem;
  }
  .hero-cta .btn {
    width: clamp(214px, 68vw, 244px);
    height: clamp(126px, 35vw, 142px);
    justify-content: center;
    min-width: 0;
    padding: 0;
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }
  .envelope-seal {
    width: 23px;
    height: 23px;
  }
  .hero-scroll { display: none; }
  .hero-glow--left {
    left: -70%;
    bottom: -10%;
    width: 150vw;
    height: 52vh;
  }
  .hero-glow--right {
    right: -96%;
    bottom: -2%;
    width: 160vw;
    height: 56vh;
  }
  .society-photo-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .society-photo-copy h2 {
    max-width: 12ch;
  }
  .society-photo-frame {
    border-radius: 5px;
    aspect-ratio: 4 / 3;
  }
  .society-photo-frame img {
    object-position: center 38%;
  }
  .band {
    margin-top: 0;
    padding: 0.85rem 0;
  }
  .marquee span {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
    padding-inline: 1rem;
  }
  .section { padding: clamp(3.6rem, 14vw, 5.3rem) 0; }
  .section-head { gap: 1rem; margin-bottom: 2rem; }
  .section-head h2 { font-size: clamp(2.15rem, 11vw, 3.1rem); }
  .manifesto-wrap { gap: 2rem; }
  .manifesto::before {
    opacity: var(--purpose-plane-opacity);
    transform: translate3d(var(--purpose-plane-x), 0, -120px) rotateZ(-2deg);
  }
  .manifesto::after {
    opacity: 0.38;
  }
  .manifesto-left {
    transform: translate3d(0, var(--purpose-left-y), 18px);
  }
  .manifesto-pillars {
    transform: translate3d(0, var(--purpose-right-y), 24px);
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
  }
  .manifesto-statement p { font-size: clamp(1.75rem, 8vw, 2.4rem); }
  .manifesto-loc { line-height: 1.8; }
  .pillar:hover,
  .val:hover {
    transform: none;
  }
  .val-list.is-mobile-roll {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
  }
  .val-list.is-mobile-roll .val {
    --roll: 0;
    position: relative;
    overflow: hidden;
    min-height: 154px;
    align-content: center;
    border-top: 1px solid rgba(242, 235, 221, 0.11);
    background: transparent;
    box-shadow: none;
    transform: translate3d(0, 0, 0) scale(calc(0.985 + (var(--roll) * 0.015)));
    transform-origin: center;
    transition:
      color 0.34s ease,
      transform 0.42s var(--ease);
  }
  .val-list.is-mobile-roll .val:last-child {
    border-bottom: 1px solid rgba(242, 235, 221, 0.11);
  }
  .val-list.is-mobile-roll .val::before,
  .val-list.is-mobile-roll .val::after {
    display: none;
  }
  .val-list.is-mobile-roll .val > * {
    position: relative;
    z-index: 1;
  }
  .val-list.is-mobile-roll .val h3 {
    transition: color 0.34s ease;
  }
  .val-list.is-mobile-roll .val p {
    display: block;
    grid-column: 2;
    min-height: 3.2rem;
    opacity: 0.22;
    transform: translateY(4px);
    overflow: hidden;
    transition: opacity 0.34s ease, transform 0.42s var(--ease), color 0.34s ease;
  }
  .val-list.is-mobile-roll .val.is-scroll-active {
    color: var(--ink);
  }
  .val-list.is-mobile-roll .val:hover {
    color: var(--ink);
    background: transparent;
    box-shadow: none;
    padding-inline: 1rem;
  }
  .val-list.is-mobile-roll .val.is-scroll-active h3 {
    color: var(--garnet);
  }
  .val-list.is-mobile-roll .val.is-scroll-active p {
    opacity: 1;
    transform: translateY(0);
    color: var(--ink);
  }
  .faces-track { gap: 1rem; }
  .face { width: min(68vw, 250px); }
  .face figcaption {
    display: block;
    line-height: 1.35;
  }
  .face figcaption span { display: block; margin-top: 0.15rem; }
  .board {
    min-height: 560px;
  }
  .board-bg {
    background: none;
    transform: none;
  }
  .board-bg::before,
  .board-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: image-set(
      url('assets/optimized/home-board-752.webp') type('image/webp'),
      url('assets/optimized/home-board-752.jpg') type('image/jpeg')
    );
    background-position: center 18%;
    background-repeat: no-repeat;
  }
  .board-bg::before {
    background-size: cover;
    filter: blur(18px) brightness(0.5);
    transform: scale(1.1);
  }
  .board-bg::after {
    inset: 0 0 auto;
    height: clamp(220px, 56vw, 360px);
    background-size: cover;
    background-position: center top;
  }
  .board:hover .board-bg { transform: none; }
  .board::after {
    background:
      linear-gradient(180deg, rgba(5, 4, 3, 0.12) 0%, rgba(5, 4, 3, 0.38) 38%, rgba(5, 4, 3, 0.94) 100%);
  }
  .board-inner {
    padding-bottom: 2.4rem;
  }
  .join {
    padding: clamp(4.8rem, 20vw, 7rem) 0;
    background:
      radial-gradient(ellipse at 50% 10%, rgba(212, 175, 55, 0.28), transparent 54%),
      linear-gradient(180deg, #080604 0%, #0c0905 48%, #050403 100%);
  }
  .join::before {
    inset: -18% -45%;
    opacity: 0.72;
    filter: blur(34px);
  }
  .join::after {
    opacity: 0.2;
  }
  .join-glow {
    width: 130vw;
    height: 46vh;
    filter: blur(54px);
  }
  .join-head {
    font-size: clamp(3rem, 16vw, 4.7rem);
  }
  .section-head { flex-direction: column; align-items: flex-start; }
  .val { grid-template-columns: 2.8rem 1fr; gap: 1rem; padding-inline: 0.4rem; }
  .val:hover { padding-inline: 0.8rem; }
  .val h3 { font-size: 1.5rem; }
  .foot {
    padding: 2.4rem 0 1.4rem;
  }
  .foot-top {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    padding-bottom: 1.4rem;
  }
  .foot-brand p {
    max-width: 100%;
    font-size: 0.84rem;
  }
  .foot-col {
    padding-top: 1rem;
    border-top: 1px solid rgba(242, 235, 221, 0.1);
  }
  .foot-col h4 { margin-bottom: 0.55rem; }
  .foot-col a {
    padding: 0.3rem 0;
    font-size: 0.9rem;
  }
  .foot-bottom {
    display: grid;
    gap: 0.55rem;
    padding-top: 0.7rem;
    font-size: 0.72rem;
    line-height: 1.5;
  }
}

@media (max-width: 390px) {
  .hero-head {
    font-size: 2.84rem;
    line-height: 0.98;
  }
  .hero-kicker {
    max-width: 19rem;
    font-size: 0.62rem;
  }
}

/* ── Motion safety ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  [data-io] .reveal,
  .line-inner { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .marquee, .faces-track, .hero-shine::after { animation: none !important; }
  .scroll-stage::before { display: none !important; }
  .manifesto::before,
  .manifesto::after,
  .join::after { display: none !important; }
  .scroll-stage > .wrap,
  .scroll-stage .manifesto-wrap,
  .manifesto-left,
  .manifesto-pillars,
  .scroll-stage .board-inner,
  .join .wrap,
  .face-img,
  .board-bg,
  .hero-sparkles,
  .hero-glow,
  .society-photo-frame img { transform: none !important; }
  html { scroll-behavior: auto; }
}
