:root {
  --ink: #171411;
  --ink-soft: #4a433c;
  --paper: #f5f0e8;
  --paper-strong: #fffaf3;
  --wine: #34191f;
  --wine-deep: #1b1013;
  --gold: #bd9154;
  --gold-light: #dbc29b;
  --line: rgba(23, 20, 17, 0.14);
  --shell: min(1180px, calc(100vw - 48px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
img { display: block; width: 100%; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  left: 20px;
  top: -80px;
  padding: 12px 18px;
  background: var(--paper-strong);
  color: var(--ink);
  transition: top .2s ease;
}
.skip-link:focus { top: 20px; }
.shell { width: var(--shell); margin: 0 auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(248,244,237,.92);
  box-shadow: 0 14px 40px rgba(28,21,18,.08);
  backdrop-filter: blur(18px);
  border-color: rgba(23,20,17,.08);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: inherit;
}
.brand-monogram {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: -2px;
}
.brand-monogram span { font-size: 11px; opacity: .7; margin: 0 1px; }
.brand-copy { display: grid; text-transform: uppercase; letter-spacing: .13em; line-height: 1.08; }
.brand-copy strong { font-size: 13px; }
.brand-copy small { font-size: 9px; margin-top: 4px; opacity: .72; letter-spacing: .34em; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav > a,
.text-button {
  position: relative;
  color: inherit;
  border: 0;
  background: transparent;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.primary-nav > a::after,
.text-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transition: right .25s ease;
}
.primary-nav > a:hover::after,
.text-button:hover::after { right: 0; }
.menu-toggle { display: none; }

.button {
  min-height: 54px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.button-small { min-height: 44px; padding-inline: 20px; }
.button-gold { color: #19130c; background: var(--gold-light); box-shadow: 0 14px 34px rgba(14,7,3,.18); }
.button-gold:hover { background: #ead5b3; box-shadow: 0 18px 40px rgba(14,7,3,.24); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.04); }
.button-ghost:hover { background: #fff; color: var(--ink); }
.button-light { background: var(--paper-strong); color: var(--wine-deep); }
.button-line { color: #fff; border-color: rgba(255,255,255,.48); background: transparent; }
.button-line:hover { color: var(--wine-deep); background: #fff; }
.button-full { width: 100%; }

.hero {
  position: relative;
  min-height: 860px;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(21,12,14,.96) 0%, rgba(47,21,27,.92) 47%, rgba(17,12,10,.75) 100%),
    url("assets/ambient-bg.jpg") center/cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 74% 40%, rgba(207,169,105,.21), transparent 37%);
  pointer-events: none;
}
.hero-ambient {
  position: absolute;
  width: 440px;
  height: 440px;
  right: 8%;
  top: 24%;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
}
.hero-ambient::before,
.hero-ambient::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.hero-ambient::before { inset: 56px; }
.hero-ambient::after { inset: 116px; }
.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 860px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(440px, .96fr);
  align-items: center;
  gap: 72px;
  padding-top: 104px;
}
.eyebrow {
  margin: 0 0 22px;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .23em;
  font-size: 11px;
  font-weight: 800;
}
.eyebrow-dark { color: #8b6739; }
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 6.5vw, 96px);
  line-height: .98;
  font-weight: 400;
  letter-spacing: -.045em;
}
.hero-intro {
  max-width: 610px;
  margin: 30px 0 0;
  color: rgba(255,255,255,.75);
  font-size: 19px;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  margin-top: 34px;
  color: rgba(255,255,255,.62);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 10px;
  font-weight: 700;
}
.trust-line span { position: relative; }
.trust-line span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-light);
}

.portrait-stage { position: relative; height: 650px; perspective: 1200px; }
.portrait-card {
  position: absolute;
  overflow: hidden;
  border-radius: 180px 180px 24px 24px;
  box-shadow: 0 35px 70px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.18);
  background: #29201f;
  animation: float 8s ease-in-out infinite;
}
.portrait-card img { height: 100%; object-fit: cover; }
.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -90px 80px rgba(20,8,10,.24);
}
.portrait-card-a { width: 178px; height: 430px; left: 0; top: 88px; transform: rotate(-4deg); }
.portrait-card-b { width: 165px; height: 390px; left: 180px; top: 0; z-index: 3; animation-delay: -2s; }
.portrait-card-c { width: 170px; height: 410px; right: 0; top: 76px; transform: rotate(4deg); animation-delay: -4s; }
.portrait-card-d { width: 150px; height: 326px; left: 155px; bottom: -10px; transform: rotate(3deg); animation-delay: -5s; }
.portrait-card-e { width: 126px; height: 280px; right: 18px; bottom: 2px; transform: rotate(-3deg); animation-delay: -1s; }
.stage-caption {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 172px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.35);
}
.stage-caption span, .stage-caption strong { display: block; }
.stage-caption-kicker { color: rgba(255,255,255,.55); font-size: 10px; text-transform: uppercase; letter-spacing: .16em; }
.stage-caption strong { margin-top: 8px; font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1.15; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -13px; } }

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 32px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 9px;
}
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(to bottom, rgba(255,255,255,.65), transparent); }

.statement { padding: 130px 0 110px; }
.statement-grid { display: grid; grid-template-columns: 80px 1fr .7fr; gap: 46px; align-items: start; }
.section-number { margin: 5px 0 0; color: #9b856a; font-size: 11px; letter-spacing: .16em; }
.statement h2, .members-heading h2, .how-copy h2, .final-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
}
.statement h2 { max-width: 700px; font-size: clamp(50px, 6vw, 82px); line-height: 1; }
.statement-copy { margin: 46px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.75; }

.principles { padding: 0 0 130px; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-card { min-height: 340px; padding: 42px 42px 50px 0; }
.principle-card + .principle-card { border-left: 1px solid var(--line); padding-left: 42px; }
.principle-card > span { color: #a88c68; font-size: 10px; letter-spacing: .18em; }
.principle-card h3 { max-width: 270px; margin: 62px 0 18px; font-family: var(--serif); font-size: 31px; font-weight: 400; line-height: 1.16; }
.principle-card p { max-width: 315px; margin: 0; color: var(--ink-soft); line-height: 1.7; }

.members-section { padding: 125px 0 140px; background: var(--paper-strong); overflow: hidden; }
.members-heading { display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: end; }
.members-heading h2 { max-width: 780px; font-size: clamp(48px, 5.5vw, 76px); line-height: 1.02; }
.members-heading > p { margin: 0 0 10px; color: var(--ink-soft); line-height: 1.75; }
.member-rail {
  width: max-content;
  margin-top: 74px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 250px;
  align-items: end;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  cursor: grab;
}
.member-rail::-webkit-scrollbar { display: none; }
.member-rail.is-dragging { cursor: grabbing; user-select: none; }
.member-tile { width: 250px; height: 355px; margin: 0; overflow: hidden; border-radius: 140px 140px 18px 18px; background: #ded3c5; }
.member-tile-tall { height: 455px; }
.member-tile-wide { width: 330px; }
.member-tile img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.member-tile:hover img { transform: scale(1.025); }

.how-section { padding: 140px 0; color: #fff; background: var(--wine-deep); }
.how-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.how-copy { position: sticky; top: 130px; }
.how-copy h2 { max-width: 470px; font-size: clamp(48px, 5.2vw, 74px); line-height: 1.04; }
.how-copy .button { margin-top: 38px; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 70px 1fr; gap: 28px; padding: 44px 0 48px; border-top: 1px solid rgba(255,255,255,.15); }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.steps li > span { color: var(--gold-light); font-size: 11px; letter-spacing: .17em; }
.steps h3 { margin: 0 0 15px; font-family: var(--serif); font-size: 36px; font-weight: 400; }
.steps p { max-width: 540px; margin: 0; color: rgba(255,255,255,.63); font-size: 17px; line-height: 1.7; }

.final-cta {
  position: relative;
  padding: 160px 0;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(49,20,27,.88), rgba(29,13,17,.93)),
    url("assets/ambient-bg.jpg") center/cover fixed;
}
.final-cta::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(255,255,255,.17); pointer-events: none; }
.final-cta-inner { position: relative; z-index: 2; max-width: 900px; }
.final-cta h2 { font-size: clamp(52px, 6vw, 84px); line-height: 1; }
.final-cta p:not(.eyebrow) { margin: 26px auto 0; color: rgba(255,255,255,.7); font-size: 18px; }
.final-actions { justify-content: center; }

.site-footer { padding: 62px 0 48px; background: #100d0b; color: rgba(255,255,255,.68); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; align-items: center; gap: 30px; }
.brand-footer { color: #fff; }
.footer-grid > p { margin: 0; font-size: 13px; }
.footer-links { display: flex; justify-content: flex-end; gap: 24px; }
.footer-links a { color: inherit; text-decoration: none; font-size: 12px; }
.copyright { grid-column: 1 / -1; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); text-align: right; }

.modal {
  width: min(520px, calc(100vw - 32px));
  padding: 46px;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  background: var(--paper-strong);
  box-shadow: 0 40px 100px rgba(0,0,0,.38);
}
.modal::backdrop { background: rgba(14,9,8,.75); backdrop-filter: blur(7px); }
.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(23,20,17,.07);
  color: var(--ink);
  font-size: 26px;
  cursor: pointer;
}
.modal-brand { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 30px; border: 1px solid var(--ink); font-family: var(--serif); }
.modal h2 { margin: 0 0 28px; font-family: var(--serif); font-size: 44px; font-weight: 400; line-height: 1.05; }
.demo-form { display: grid; gap: 18px; }
.demo-form label { display: grid; gap: 8px; color: var(--ink-soft); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; }
.demo-form input { width: 100%; height: 52px; padding: 0 15px; border: 1px solid rgba(23,20,17,.19); border-radius: 10px; background: #fff; color: var(--ink); }
.form-note { margin: 0; color: #7c7168; font-size: 12px; line-height: 1.5; text-align: center; }
.toast {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 24px;
  translate: -50% 130%;
  padding: 14px 20px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
  transition: translate .3s ease;
}
.toast.is-visible { translate: -50% 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  :root { --shell: min(100% - 38px, 850px); }
  .primary-nav { gap: 17px; }
  .primary-nav > a { display: none; }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 54px; padding: 180px 0 95px; }
  .hero-copy { max-width: 760px; }
  .portrait-stage { max-width: 650px; width: 100%; height: 585px; margin: 0 auto; }
  .portrait-card-a { left: 4%; }
  .portrait-card-c { right: 4%; }
  .statement-grid { grid-template-columns: 48px 1fr; }
  .statement-copy { grid-column: 2; margin-top: 0; max-width: 650px; }
  .principle-card { padding-right: 24px; }
  .principle-card + .principle-card { padding-left: 24px; }
  .members-heading { grid-template-columns: 1fr; }
  .members-heading > p { max-width: 620px; }
  .how-grid { grid-template-columns: 1fr; gap: 56px; }
  .how-copy { position: static; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100vw - 32px); }
  .header-inner { min-height: 74px; }
  .brand-copy { display: none; }
  .brand-monogram { width: 42px; height: 42px; }
  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 7px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    background: transparent;
    color: inherit;
  }
  .site-header.is-scrolled .menu-toggle { border-color: rgba(23,20,17,.18); }
  .menu-toggle span:not(.sr-only) { width: 18px; height: 1px; background: currentColor; transition: transform .25s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .primary-nav {
    position: fixed;
    inset: 74px 0 auto;
    padding: 28px 18px 34px;
    display: grid;
    justify-items: stretch;
    gap: 0;
    color: var(--ink);
    background: var(--paper-strong);
    box-shadow: 0 24px 50px rgba(0,0,0,.15);
    transform: translateY(-130%);
    transition: transform .3s ease;
  }
  .primary-nav.is-open { transform: none; }
  .primary-nav > a { display: block; padding: 17px 6px; border-bottom: 1px solid var(--line); }
  .primary-nav .text-button { padding: 18px 6px; text-align: left; }
  .primary-nav .button { margin-top: 12px; }

  .hero-grid { padding: 136px 0 84px; gap: 42px; }
  .hero h1 { font-size: clamp(49px, 15vw, 70px); }
  .hero-intro { font-size: 16px; line-height: 1.65; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .trust-line { display: grid; gap: 10px; }
  .trust-line span::after { display: none; }
  .portrait-stage { height: 500px; }
  .portrait-card { border-radius: 120px 120px 18px 18px; }
  .portrait-card-a { width: 31%; height: 335px; left: 1%; top: 74px; }
  .portrait-card-b { width: 32%; height: 365px; left: 34%; top: 12px; }
  .portrait-card-c { width: 31%; height: 335px; right: 1%; top: 74px; }
  .portrait-card-d { width: 28%; height: 230px; left: 29%; bottom: 0; }
  .portrait-card-e { width: 25%; height: 210px; right: 4%; bottom: 0; }
  .stage-caption { width: 27%; bottom: 8px; }
  .stage-caption strong { font-size: 18px; }
  .stage-caption-kicker { font-size: 8px; }
  .scroll-cue { display: none; }

  .statement { padding: 92px 0 76px; }
  .statement-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-number { display: none; }
  .statement h2 { font-size: 51px; }
  .statement-copy { grid-column: 1; margin: 0; font-size: 16px; }
  .principles { padding-bottom: 92px; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle-card { min-height: auto; padding: 34px 0 42px; }
  .principle-card + .principle-card { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .principle-card h3 { margin-top: 30px; }

  .members-section { padding: 88px 0 100px; }
  .members-heading h2 { font-size: 48px; }
  .member-rail { grid-auto-columns: 190px; margin-top: 46px; }
  .member-tile { width: 190px; height: 285px; }
  .member-tile-tall { height: 345px; }
  .member-tile-wide { width: 230px; }

  .how-section { padding: 92px 0; }
  .how-copy h2 { font-size: 48px; }
  .how-copy .button { width: 100%; }
  .steps li { grid-template-columns: 44px 1fr; gap: 12px; }
  .steps h3 { font-size: 29px; }
  .steps p { font-size: 15px; }

  .final-cta { padding: 110px 0; background-attachment: scroll; }
  .final-cta::after { inset: 10px; }
  .final-cta h2 { font-size: 50px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .copyright { text-align: left; }
  .modal { padding: 38px 24px 28px; }
  .modal h2 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
