/* Rare Company - "ambition" dark concept. Charcoal ground, British racing
   green bands, gold accents. Every text/ground pairing below is checked to
   WCAG AA (4.5:1 body, 3:1 large) - see the contrast notes beside tokens. */
:root {
  --ground: #121311;        /* page */
  --ground-2: #191a17;      /* alternate sections */
  --card: #20211d;          /* raised cards on ground */
  --racing: #0d3523;        /* British racing green band */
  --ivory: #efe9da;         /* 15.4:1 on ground, 11.2:1 on racing */
  --ivory-dim: #c9c3b4;     /* 10.6:1 on ground, 7.7:1 on racing */
  --ivory-faint: #9a9588;   /* 6.2:1 on ground, 5.4:1 on cards - labels only, never on green */
  --gold: #c8a96a;          /* 8.3:1 on ground, 6.0:1 on racing */
  --gold-soft: rgba(200, 169, 106, .28);
  --hairline: rgba(239, 233, 218, .1);
  --head: "Marcellus", Georgia, serif;
  --serif: "Hedvig Letters Serif", Georgia, serif;
  --sans: "Hedvig Letters Serif", Georgia, serif; /* UI matches body */
  --mono: "IBM Plex Mono", "Courier New", monospace; /* wordmark only */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --radius: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--ground); }
body {
  font-family: var(--serif); font-size: 1.15rem; line-height: 1.7;
  background: var(--ground); color: var(--ivory);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
b, strong { font-weight: 400; } /* Hedvig ships one weight: no faux bold */
a { color: inherit; }
.shell { max-width: 1240px; margin: 0 auto; padding: 0 clamp(1rem, 5vw, 4rem); }

/* concept banner */
.concept { background: var(--gold); color: var(--ground); font-family: var(--sans); font-size: 0.87rem; font-weight: 400; text-align: center; padding: .5rem 1rem; }

/* ------------------------------- nav ------------------------------- */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(18, 19, 17, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hairline); }
.nav .shell { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
/* wordmark: copied verbatim from the live site (fixed asset), ink swapped to ivory for the dark ground */
.wordmark { font-family: var(--mono); font-weight: 500; font-size: .88rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ivory); text-decoration: none; display: inline-block; white-space: nowrap; }
.wm-ast { display: inline-block; width: .78em; height: .78em; stroke: var(--gold); stroke-width: 2.7; stroke-linecap: round; fill: none; vertical-align: .2em; margin-left: -.18em; }
.foot-legal .wm-small { font-family: var(--mono); font-weight: 500; font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ivory-dim); }
.foot-legal .wm-ast { margin-left: -.18em; margin-right: .3em; }
.nav-links { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2rem); margin-left: auto; }
.nav-links a { font-family: var(--sans); font-size: 0.90rem; font-weight: 400; text-decoration: none; color: var(--ivory-faint); transition: color .3s var(--ease); white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active { border-bottom: 1px solid var(--gold); padding-bottom: .25rem; }
.nav-cta { font-family: var(--sans); font-size: 0.92rem; font-weight: 400; text-decoration: none; color: var(--ground); background: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: .55rem 1.3rem; transition: background .3s var(--ease), border-color .3s var(--ease); white-space: nowrap; }
.nav-cta:hover { background: var(--ivory); border-color: var(--ivory); }
.nav-menu { display: none; position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; padding: .3rem; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu svg { width: 22px; height: 16px; stroke: var(--ivory); stroke-width: 1.6; fill: none; }
.nav-drop { position: absolute; right: 0; top: 2.4rem; background: var(--card); border-radius: var(--radius); padding: .6rem 0; min-width: 12rem; display: flex; flex-direction: column; }
.nav-drop a { font-family: var(--sans); font-size: 0.95rem; text-decoration: none; color: var(--ivory-dim); padding: .7rem 1.2rem; }
.nav-drop a:hover { color: var(--gold); }
@media (max-width: 1020px) { .nav-links { display: none; } .nav-menu { display: block; } }
@media (max-width: 520px) {
  .wordmark { letter-spacing: .22em; font-size: .8rem; }
  .nav .shell { gap: .8rem; }
  .nav-cta { font-size: .82rem; padding: .5rem 1rem; }
}

/* ------------------------------ type ------------------------------ */
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); letter-spacing: -.01em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); max-width: 22ch; line-height: 1.05; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
em.gold, .gold { color: var(--gold); font-style: normal; }
.dim { color: var(--ivory-dim); }
.prose p { color: var(--ivory-dim); max-width: 60ch; }
.prose p + p { margin-top: 1.2rem; }
.prose .lead { color: var(--ivory); font-size: 1.32rem; }
.prose .turn { color: var(--ivory); font-style: italic; }

/* ----------------------------- buttons ---------------------------- */
.btn { display: inline-block; font-family: var(--sans); font-size: 1.00rem; font-weight: 400; text-decoration: none; color: var(--ground); background: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: 1rem 2rem; transition: background .3s var(--ease), border-color .3s var(--ease); }
.btn:hover, .btn:focus-visible { background: var(--ivory); border-color: var(--ivory); outline: none; }
.more-link { display: inline-block; font-family: var(--sans); font-size: 0.95rem; font-weight: 400; text-decoration: none; color: var(--gold); border-bottom: 1px solid var(--gold-soft); padding-bottom: .3rem; transition: border-color .3s var(--ease); }
.more-link:hover { border-color: var(--gold); }

/* ----------------------------- sections --------------------------- */
.sec { padding: clamp(4.5rem, 11vh, 8rem) 0; }
.sec-alt { background: var(--ground-2); }
.sec-green { background: var(--racing); }
.sec-head { margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.sec-head h2 { margin-top: 0; }
.sec-head .sub { margin-top: 1.1rem; color: var(--ivory-dim); max-width: 56ch; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split-narrow { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
@media (max-width: 860px) { .split, .split-narrow { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------ hero ------------------------------ */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--hairline); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-top: clamp(3.5rem, 9vh, 7rem); padding-bottom: clamp(3.5rem, 9vh, 7rem); }
.hero h1 { max-width: 17ch; }
.hero .lede { margin-top: 1.6rem; color: var(--ivory-dim); font-size: clamp(1.15rem, 1.8vw, 1.35rem); max-width: 46ch; }
.hero .lede-2 { margin-top: 1rem; color: var(--ivory); font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 46ch; }
.hero-cta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.hero-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 674 / 760; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.05); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,19,17,0) 55%, rgba(18,19,17,.55) 100%); border-radius: var(--radius); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { aspect-ratio: 4 / 3; }
}

/* ambition ladder (home: "A £10m, £20m or £50m company...") */
.ladder { list-style: none; margin-top: 2rem; border-top: 1px solid var(--gold-soft); }
.ladder li { border-bottom: 1px solid var(--gold-soft); padding: 1.1rem 0 1.1rem 2.4rem; position: relative; color: var(--ivory); font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
.ladder li::before { content: ""; position: absolute; left: 0; top: 1.55rem; width: .95rem; height: .95rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5v17M4.6 7.75l14.8 8.5M19.4 7.75l-14.8 8.5' fill='none' stroke='%23c8a96a' stroke-width='2.7' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; } /* the logo asterisk */

/* "Not to... But to..." stack */
.stack { margin-top: 2.2rem; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; }
.stack p { color: var(--ivory-faint); }
.stack p.but { color: var(--gold); font-style: italic; margin-top: .6rem; }

/* three pillars (home) */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.pillar { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.pillar figure { aspect-ratio: 4 / 3; overflow: hidden; }
.pillar figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); transition: transform .8s var(--ease); }
.pillar:hover figure img { transform: scale(1.03); }
.pillar-body { padding: 1.6rem 1.6rem 1.9rem; }
.pillar-body .num { font-family: var(--head); font-size: clamp(2.6rem, 5.25vw, 4.1rem); line-height: 1; color: var(--gold); display: block; } /* same as .part-num */
.pillar-body h3 { margin-top: .6rem; }
.pillar-body p { margin-top: .9rem; color: var(--ivory-dim); font-size: 1.08rem; }
.pillar-body p.first { color: var(--ivory); }
@media (max-width: 900px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* fit band */
.bar-note { margin-top: 2rem; border-left: 2px solid var(--gold); padding: .3rem 0 .3rem 1.4rem; }
.bar-note p { color: var(--ivory); }
.bar-note p + p { margin-top: .5rem; color: var(--gold); font-style: italic; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); counter-reset: none; }
.step { padding-top: 0; }
.step .num { font-family: var(--head); font-size: clamp(2.6rem, 5.25vw, 4.1rem); line-height: 1; color: var(--gold); display: block; } /* same as .part-num */
.step h3 { margin-top: 1rem; }
.step p { margin-top: .7rem; color: var(--ivory-dim); font-size: 1.08rem; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }

/* placeholder (FAQs TBC) */
.placeholder { border: 1px dashed var(--gold-soft); border-radius: var(--radius); padding: 2rem; color: var(--ivory-faint); font-family: var(--sans); font-size: 1.00rem; text-align: center; }

/* closing */
.close { text-align: center; }
.close h2 { margin: 0 auto; max-width: 20ch; font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.close p { margin: 1.3rem auto 0; color: var(--ivory-dim); max-width: 48ch; }
.close .btn { margin-top: 2.4rem; }

/* membership: numbered parts */
.part-num { font-family: var(--head); font-size: clamp(2.6rem, 5.25vw, 4.1rem); line-height: 1; color: var(--gold); }
.part h2 { margin-top: .6rem; }
.tag { margin-top: 1rem; color: var(--ivory); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.45rem); max-width: 34ch; }
.focus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0; }
.focus { background: var(--card); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.sec-alt .focus { background: #23241f; }
.focus b { display: block; font-family: var(--head); font-weight: 400; font-size: 1.3rem; line-height: 1.2; color: var(--gold); }
.focus span { display: block; margin-top: .6rem; color: var(--ivory-dim); font-size: 1.05rem; line-height: 1.55; }
@media (max-width: 600px) { .focus-grid { grid-template-columns: minmax(0, 1fr); } }
.photo { border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; filter: saturate(.78) contrast(1.04); }
.photo + .photo { margin-top: 1rem; }
.sticky { position: sticky; top: 6.5rem; }
@media (max-width: 860px) { .sticky { position: static; } }

/* member questions */
.questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.question { background: var(--racing); border-radius: var(--radius); padding: 1.4rem 1.5rem; font-style: italic; color: var(--ivory); font-size: 1.12rem; line-height: 1.5; position: relative; }
.question::before { content: "\201C"; display: block; font-size: 2.4rem; line-height: .6; color: var(--gold); margin-bottom: .5rem; font-style: normal; }
.questions .question:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 700px) { .questions { grid-template-columns: minmax(0, 1fr); } }

/* event strip */
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.6rem; }
.strip figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.strip img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); }
@media (max-width: 700px) { .strip { grid-template-columns: minmax(0, 1fr); } }

/* who can join list */
.checks { list-style: none; margin-top: 1.8rem; }
.checks li { position: relative; padding: 1rem 0 1rem 2.2rem; border-bottom: 1px solid rgba(200,169,106,.22); color: var(--ivory); }
.checks li:first-child { border-top: 1px solid rgba(200,169,106,.22); }
.checks li svg { position: absolute; left: 0; top: 1.45rem; width: 1rem; height: 1rem; stroke: var(--gold); stroke-width: 2.7; stroke-linecap: round; fill: none; }

/* ----------------------------- footer ----------------------------- */
footer { border-top: 1px solid var(--hairline); padding: 3.5rem 0 2.5rem; background: #0e0f0d; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.foot-links a { font-family: var(--sans); font-size: 0.90rem; text-decoration: none; color: var(--ivory-faint); }
.foot-links a:hover { color: var(--gold); }
.foot-legal { margin-top: 2.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-family: var(--sans); font-size: 0.87rem; color: var(--ivory-faint); }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ------------------------------ FAQs ------------------------------ */
.faq { border-top: 1px solid var(--gold-soft); max-width: 60rem; }
.faq details { border-bottom: 1px solid var(--gold-soft); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 1.4rem 0; font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--ivory); transition: color .3s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--gold); font-size: 1.2rem; flex: none; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold); }
.faq summary:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.faq .a { padding: 0 0 1.6rem; max-width: 62ch; }
.faq .a p { color: var(--ivory-dim); }
.faq .a p + p { margin-top: .9rem; }
.faq .a a { color: var(--gold); }
.faq-group + .faq-group { margin-top: clamp(3rem, 7vw, 4.5rem); }
.faq-group h3 { margin-bottom: 1.2rem; }

/* ------------------------------ about ------------------------------ */
.letter { max-width: 44rem; }
.letter p { color: var(--ivory-dim); }
.letter p + p { margin-top: 1.3rem; }
.letter p.lead { color: var(--ivory); font-size: clamp(1.25rem, 2vw, 1.45rem); }
/* founders' sign-off under the letter, as on the live site */
.sig-row { display: flex; flex-wrap: wrap; gap: clamp(2rem, 6vw, 4rem); margin-top: 2.8rem; }
.sig-block { min-width: 12rem; }
.sig-block span { display: block; }
.sig-script { font-family: "Mrs Saint Delafield", cursive; font-size: 4.2rem; line-height: 1; color: var(--ivory); transform: rotate(-3deg); transform-origin: left bottom; }
.sig-name { font-family: var(--head); font-size: 1.3rem; color: var(--ivory); margin-top: .9rem; }
.sig-role { color: var(--gold); font-size: .95rem; margin-top: .25rem; }
.sig-cred { color: var(--ivory-dim); font-style: italic; font-size: 1rem; margin-top: .35rem; max-width: 26ch; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.quote { background: var(--card); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.4rem; }
.quote p { color: var(--ivory); font-style: italic; font-size: 1.12rem; line-height: 1.6; }
.quote p::before { content: "\201C"; display: block; font-style: normal; font-size: 2.4rem; line-height: .6; color: var(--gold); margin-bottom: .6rem; }
.quote cite { font-style: normal; font-family: var(--sans); font-size: 0.90rem; color: var(--ivory-faint); line-height: 1.6; }
/* home: two quotes at a time, scroll or arrows for the rest */
.quotes-scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.quotes-scroll::-webkit-scrollbar { display: none; }
.quotes-scroll .quote { flex: 0 0 calc(50% - .5rem); scroll-snap-align: start; }
@media (max-width: 860px) { .quotes-scroll .quote { flex-basis: 86%; } }
.quote-dots { display: flex; justify-content: center; gap: .55rem; margin-top: 1.8rem; }
.quote-dots button { width: .5rem; height: .5rem; padding: 0; border: 0; border-radius: 999px; background: rgba(239, 233, 218, .25); cursor: pointer; transition: width .45s var(--ease), background .45s var(--ease); }
.quote-dots button.on { width: 1.6rem; background: var(--gold); }
.quotes-scroll { scroll-behavior: smooth; }
@media (max-width: 760px) { .quotes { grid-template-columns: minmax(0, 1fr); } }
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.founder figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #0b0b0a; }
.founder figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; filter: saturate(.85); }
.founder h3 { margin-top: 1.3rem; }
.founder .role { font-family: var(--sans); font-size: 0.90rem; color: var(--gold); margin-top: .4rem; }
.founder p { color: var(--ivory-dim); margin-top: .8rem; font-size: 1.08rem; max-width: 40ch; }
@media (max-width: 640px) { .founders { grid-template-columns: minmax(0, 1fr); } }
.fine { font-family: var(--sans); font-size: 0.90rem; color: var(--ivory-faint); margin-top: 1.4rem; }

/* ------------------------------ apply form ------------------------------ */
.form { max-width: none; }
.fieldset { border: 0; padding: 0; }
.fieldset + .fieldset { margin-top: 3rem; padding-top: 2.4rem; border-top: 1px solid var(--gold-soft); }
.fieldset legend { font-family: var(--head); font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--ivory); margin-bottom: 1.4rem; }
.fieldset .note { color: var(--ivory-dim); margin: -.6rem 0 1.4rem; font-size: 1.05rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1.4rem; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field label { display: block; font-family: var(--sans); font-size: 0.90rem; font-weight: 400; color: var(--ivory-dim); margin-bottom: .5rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1.05rem; color: var(--ivory); background: var(--card); border: 1px solid rgba(239, 233, 218, .22); border-radius: 8px; padding: .8rem .95rem; transition: border-color .3s var(--ease); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 1.2rem) 55%, calc(100% - .85rem) 55%; background-size: .35rem .35rem; background-repeat: no-repeat; padding-right: 2.4rem; }
.field select option { background: var(--card); color: var(--ivory); }
.field textarea { min-height: 7rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ivory-faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1.4rem; }
@media (max-width: 640px) { .ticks { grid-template-columns: minmax(0, 1fr); } }
.tick { display: flex; gap: .8rem; align-items: flex-start; color: var(--ivory-dim); font-size: 1.05rem; line-height: 1.5; cursor: pointer; }
.tick input { appearance: none; flex: none; width: 1.15rem; height: 1.15rem; margin-top: .25rem; border: 1px solid rgba(239, 233, 218, .4); border-radius: 3px; background: var(--card); cursor: pointer; }
.tick input:checked { background: var(--gold); border-color: var(--gold); box-shadow: inset 0 0 0 3px var(--card); }
.tick input:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
.commit { background: var(--racing); border-radius: var(--radius); padding: 1.6rem 1.7rem; }
.commit p { color: var(--ivory-dim); }
.commit .tick { color: var(--ivory); margin-top: 1.1rem; }
.commit .tick input { background: var(--racing); }
.commit .tick input:checked { box-shadow: inset 0 0 0 3px var(--racing); }
.commit + .commit { margin-top: 1rem; }
.form-end { margin-top: 2.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.form-end .fine { margin-top: 0; }
.preview-note { margin-top: 1.2rem; color: var(--gold); font-style: italic; font-size: 1rem; }
.fieldset legend { float: left; width: 100%; padding: 0; }
.fieldset legend + * { clear: both; }
.founders { max-width: 52rem; }
.founder figure { aspect-ratio: 1 / 1; }
.fields { align-items: end; }

/* five-step apply form (mirrors the live form) */
.apply-box { max-width: none; background: var(--ground-2); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.6rem); }
.form-page[hidden] { display: none; }
.step-q { color: var(--ivory); font-size: 1.15rem; margin: 1.6rem 0 1rem; }
.exception { margin-top: 1.4rem; }
.exception summary { cursor: pointer; color: var(--gold); font-style: italic; font-size: 1.05rem; }
.exception summary:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
.form-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.form-nav-right { margin-left: auto; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-nav-right .fine { margin-top: 0; }
.back-link { background: none; border: 0; cursor: pointer; font: inherit; color: var(--ivory-dim); text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.back-link:hover { color: var(--gold); }
.field .invalid, .field input.invalid, .field select.invalid { border-color: #e08a7a; }
.form-error { margin-top: 1rem; color: #f0a999; font-size: 1rem; }
.confirmation h3 { color: var(--ivory); }
.confirmation p { color: var(--ivory-dim); margin-top: 1rem; }
.confirmation .sign { color: var(--gold); font-style: italic; }
.apply-box .commit { margin-top: 0; }

/* footer newsletter (visual only in the preview) */
.signup { max-width: 34rem; margin-bottom: 2.6rem; }
.signup label { display: block; font-size: 1.25rem; color: var(--ivory); margin-bottom: .8rem; }
.signup-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.signup-row input { flex: 1 1 14rem; font: inherit; font-size: 1rem; color: var(--ivory); background: var(--card); border: 1px solid rgba(239, 233, 218, .22); border-radius: 999px; padding: .75rem 1.1rem; }
.signup-row input:focus { outline: none; border-color: var(--gold); }
.signup-row input::placeholder { color: var(--ivory-faint); }
.signup-row button { font-family: var(--sans); font-size: 0.92rem; font-weight: 400; color: var(--ground); background: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: .75rem 1.4rem; cursor: pointer; }
.signup-row button:hover { background: var(--ivory); border-color: var(--ivory); }
.signup-fine { margin-top: .8rem; color: var(--ivory-faint); font-size: .95rem; }

/* membership Venn (carried over from the live site) */
.venn-panel { background: var(--racing); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 3rem); }
.venn-panel figure { margin: 0; }
.venn-panel figcaption { margin-top: 1.4rem; text-align: center; font-size: 1rem; line-height: 1.6; color: var(--ivory-dim); }
.inc-list { list-style: none; margin-top: 2rem; border-top: 1px solid var(--gold-soft); }
.inc-list li { border-bottom: 1px solid var(--gold-soft); }
.inc-list a { display: block; padding: 1.2rem 0; text-decoration: none; }
.inc-list b { display: block; font-family: var(--head); font-weight: 400; font-size: 1.35rem; color: var(--ivory); transition: color .3s var(--ease); }
.inc-list span { display: block; margin-top: .3rem; color: var(--ivory-dim); font-size: 1.05rem; }
.inc-list a:hover b { color: var(--gold); }

/* live-only: newsletter states (site.js) */
.signup-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup-row input.invalid { border-color: #e08a7a; }
.signup-error { margin-top: .7rem; color: #f0a999; font-size: .95rem; }
.signup-done { margin-top: .7rem; color: var(--gold); font-size: 1rem; }
