/* My Circle Collective, the waitlist landing page.
   Coastal Linen (Laura's pick, 21 Oct 2026; exact values from the Brand tab's
   theme, src/lib/themes.ts in Circle OS), with Deep Tide for the dark bands.
   DM Serif Display and Mulish as in logo option 1. Editorial rather than
   template: oversized serif, an off-center grid, hairlines instead of cards,
   and the five rings as the one motif. Other pages use styles.css. */
:root {
  --navy: #23343B;        /* ink: text */
  --tide: #1F3E43;        /* Deep Tide: dark bands */
  --tide-deep: #173033;
  --teal: #2C6A72;
  --cream: #ECE4D3;       /* text on Deep Tide */
  --paper: #EEF3F1;       /* linen */
  --white: #F8FAF9;
  --sand: #E7DECB;        /* story band, a lighter sand */
  --gold: #D8C7A9;        /* sand: accent on dark */
  --gold-ink: #2C6A72;    /* accent on light: teal */
  --seaglass: #A9C4C2;
  --muted: #55696F;
  --rule: rgba(35, 52, 59, 0.16);
  --rule-light: rgba(236, 228, 211, 0.22);
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 4.5vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: var(--sans); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1; margin: 0; letter-spacing: -0.015em; }
em, .it { font-style: italic; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--navy); }

/* pills */
.pill {
  display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; white-space: nowrap;
  font: 500 0.92rem/1 var(--sans); padding: 0.9rem 1.4rem; border-radius: 999px;
  border: 1px solid currentColor; background: transparent; color: var(--navy); cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.pill:hover { background: var(--navy); color: var(--cream); }
.pill.solid { background: var(--teal); color: #fff; border-color: var(--teal); }
.pill.solid:hover { background: #245a61; transform: translateY(-1px); }
.pill.gold { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 600; }
.pill.gold:hover { background: #e6d9c0; }
.pill:disabled { opacity: 0.6; cursor: default; }

/* header */
.bar {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 1.5rem;
  padding: 0.85rem var(--pad); background: rgba(238, 243, 241, 0.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent;
}
.mark { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font: 400 1.3rem/1 var(--serif); letter-spacing: 0; }
.mark svg { width: 30px; height: 30px; fill: none; stroke: var(--teal); stroke-width: 1.3; }
.bar-note { margin-left: auto; font-size: 0.85rem; color: var(--muted); }
.bar .pill { padding: 0.65rem 1.1rem; font-size: 0.85rem; }

/* 1. hero */
.hero { padding: clamp(1.5rem, 4vw, 3.5rem) var(--pad) clamp(3rem, 7vw, 6rem); position: relative; }
.hero-meta {
  position: absolute; right: var(--pad); top: clamp(1.8rem, 4.5vw, 4rem); text-align: right;
  font: italic 400 clamp(1.1rem, 1.6vw, 1.45rem)/1.15 var(--serif); color: var(--gold-ink);
}
.hero-meta span { display: block; }
.hero-h { font-size: clamp(2.9rem, 9.2vw, 9.4rem); line-height: 0.96; letter-spacing: -0.025em; }
.hero-h .ln { display: block; }
.hero-h .ln:nth-child(2) { padding-left: 8vw; }
.hero-h .it { color: var(--gold-ink); padding-left: 2vw; }
.ring { position: relative; display: inline-block; white-space: nowrap; }
.ring svg { position: absolute; left: -9%; top: -16%; width: 118%; height: 138%; overflow: visible; pointer-events: none; }
.ring path { fill: none; stroke: var(--sand-line, #B9A57F); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1400; stroke-dashoffset: 0; }
.anim .ring path { stroke-dashoffset: 1400; animation: draw 1.8s 0.4s cubic-bezier(.6,.1,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-foot { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: end; margin-top: clamp(2rem, 5vw, 4.5rem); }
.hero-fig { margin: 0; }
.hero-fig img { width: 100%; aspect-ratio: 1555 / 1001; object-fit: cover; border-radius: 2px; }
.hero-fig figcaption { margin-top: 0.7rem; font-size: 0.82rem; color: var(--muted); }
.hero-side p { font: 400 clamp(1.4rem, 2.2vw, 1.95rem)/1.25 var(--serif); margin-bottom: 1.6rem; max-width: 22rem; }

/* 2. why she joins */
.why { background: var(--tide); color: var(--cream); padding: clamp(4rem, 9vw, 8rem) var(--pad); display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.why-h { font-size: clamp(2.3rem, 4.8vw, 4.6rem); line-height: 1.02; }
.why-h em { color: var(--gold); display: block; margin-top: 0.4rem; }
.why-list p { padding: 1.4rem 0; border-top: 1px solid var(--rule-light); font-size: 1.05rem; color: rgba(236, 228, 211, 0.82); }
.why-list p:last-child { border-bottom: 1px solid var(--rule-light); }
.why-list b { display: block; font: italic 400 2rem/1.1 var(--serif); color: var(--cream); margin-bottom: 0.35rem; }

/* 3. the five F's */
.fs { padding: clamp(4rem, 9vw, 8rem) var(--pad) clamp(3rem, 7vw, 6rem); background: var(--white); }
.fs-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(2rem, 5vw, 4rem); }
.fs-head h2 { font-size: clamp(2.6rem, 6vw, 5.6rem); }
.fs-head p { color: var(--muted); max-width: 22rem; justify-self: end; font-size: 1.05rem; }
.fs-list { list-style: none; margin: 0; padding: 0; }
.fs-list li {
  display: grid; grid-template-columns: 4.5rem 1fr minmax(14rem, 24rem); gap: 1.5rem; align-items: baseline;
  padding: clamp(0.8rem, 1.8vw, 1.4rem) 0; border-top: 1px solid var(--rule); transition: background 0.3s;
}
.fs-list li:last-child { border-bottom: 1px solid var(--rule); }
.fs-list .n { font: italic 400 1.3rem/1 var(--serif); color: var(--gold-ink); }
.fs-list h3 { font-size: clamp(2.8rem, 8.2vw, 7.6rem); line-height: 0.95; letter-spacing: -0.03em; transition: color 0.3s, transform 0.4s; }
.fs-list h3 i { color: var(--gold-ink); }
.fs-list p { color: var(--muted); font-size: 1rem; }
@media (hover: hover) {
  .fs-list li:hover h3 { color: var(--gold-ink); transform: translateX(0.6rem); font-style: italic; }
}

/* 4. why we built it */
.story { background: var(--sand); padding: clamp(4rem, 9vw, 8rem) var(--pad); display: grid; grid-template-columns: 1fr 5fr; gap: 2rem; }
.side-label { font: italic 400 1.25rem/1.2 var(--serif); color: var(--gold-ink); padding-top: 0.6rem; border-top: 1px solid var(--gold); align-self: start; }
.story-body h2 { font-size: clamp(2rem, 4.2vw, 3.9rem); line-height: 1.08; max-width: 22ch; }
.story-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: clamp(2rem, 4vw, 3rem); max-width: 48rem; font-size: 1.05rem; }
.intent { margin: clamp(3rem, 6vw, 5rem) 0 0 auto; max-width: 40rem; padding-left: 1.5rem; border-left: 2px solid var(--gold); }
.intent p { font: italic 400 clamp(1.5rem, 2.6vw, 2.2rem)/1.25 var(--serif); }

/* 5. founders */
.founders { padding: clamp(4rem, 9vw, 8rem) var(--pad); }
.founders-h { font-size: clamp(2.6rem, 7vw, 6.4rem); max-width: 12ch; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.founders-h em { color: var(--gold-ink); }
.founder { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.founder + .founder { margin-top: clamp(4rem, 9vw, 8rem); }
.founder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 2px; }
.founder.flip { grid-template-columns: 6fr 5fr; }
.founder.flip img { order: 2; }
.founder.flip .founder-text { align-self: start; }
.founder-text { max-width: 36rem; }
.founder h3 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); margin-bottom: 1.6rem; }
.founder h3 span { display: block; font: 500 0.85rem/1 var(--sans); color: var(--gold-ink); margin-top: 0.7rem; letter-spacing: 0.02em; }
.founder .lead { font: italic 400 clamp(1.5rem, 2.4vw, 2.1rem)/1.22 var(--serif); margin-bottom: 1.5rem; }
.founder .lead.soon { color: var(--muted); }
.founder p + p { margin-top: 1rem; }
.founder-text > p:not(.lead):not(.sig) { color: #3a4b51; }
.founder .sig { font: italic 400 1.6rem/1.2 var(--serif); color: var(--gold-ink); margin-top: 1.6rem; }

/* 6. early access */
.wait { background: var(--tide); color: var(--cream); padding: clamp(4rem, 9vw, 8rem) var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); scroll-margin-top: 3.5rem; }
.wait > * { min-width: 0; }
.count { display: flex; align-items: flex-end; gap: 1rem; margin-bottom: 2.5rem; }
.count-n { font: 400 clamp(5.5rem, 13vw, 11rem)/0.78 var(--serif); color: var(--gold); letter-spacing: -0.04em; }
.count-l { font: italic 400 1.2rem/1.15 var(--serif); max-width: 10rem; padding-bottom: 0.4rem; color: rgba(236, 228, 211, 0.85); }
.wait h2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); line-height: 1.04; margin-bottom: 1.2rem; }
.wait-copy > p { color: rgba(236, 228, 211, 0.8); max-width: 30rem; }
.verse { margin: 3rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--rule-light); max-width: 30rem; }
.verse p { font: italic 400 1.45rem/1.3 var(--serif); }
.verse cite { display: block; margin-top: 0.7rem; font: 500 0.82rem/1 var(--sans); font-style: normal; color: var(--gold); }

.form { display: flex; flex-direction: column; gap: 1.6rem; align-self: center; }
.form label > span, .form legend { display: block; font-size: 0.85rem; color: rgba(236, 228, 211, 0.7); margin-bottom: 0.2rem; }
.form label > span i { font-style: italic; font-family: var(--serif); font-size: 1rem; margin-left: 0.3rem; color: var(--gold); }
.form input[type=text], .form input:not([type]), .form input[type=email], .form input[type=tel] {
  width: 100%; font: 400 1.25rem/1.3 var(--sans); color: var(--cream); background: transparent;
  border: 0; border-bottom: 1px solid rgba(236, 228, 211, 0.4); border-radius: 0; padding: 0.45rem 0 0.6rem;
  transition: border-color 0.2s;
}
.form input:focus { outline: none; border-bottom-color: var(--gold); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.grow { border: 0; padding: 0; margin: 0; }
.grow legend { margin-bottom: 0.8rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 0.55rem 1rem; border: 1px solid rgba(236, 228, 211, 0.4); border-radius: 999px; font-size: 0.92rem; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chips input:checked + span { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; color: rgba(236, 228, 211, 0.8); }
.consent input { accent-color: var(--gold); width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; flex: none; }
.form .pill { align-self: flex-start; padding: 1rem 1.7rem; font-size: 1rem; }
.f-msg { min-height: 1.4em; font-size: 0.95rem; color: var(--gold); }
.done { font-size: 1.05rem; color: rgba(236, 228, 211, 0.85); }
.done span { display: block; font: italic 400 clamp(2.4rem, 5vw, 3.6rem)/1 var(--serif); color: var(--gold); margin-bottom: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
.foot { background: var(--tide-deep); color: var(--cream); padding: clamp(3rem, 6vw, 5rem) var(--pad) 2rem; }
.foot-lock { display: grid; grid-template-columns: auto 1fr; column-gap: clamp(1rem, 2.5vw, 2rem); align-items: center; }
.foot-mark { grid-row: span 2; width: clamp(56px, 9vw, 130px); height: auto; fill: none; stroke: var(--gold); stroke-width: 1; }
.foot-big { font: 400 clamp(2.4rem, 7.6vw, 7.6rem)/0.95 var(--serif); letter-spacing: -0.025em; color: var(--cream); }
.foot-tag { font: 600 0.78rem/1 var(--sans); letter-spacing: 0.32em; text-transform: uppercase; color: var(--seaglass); margin-top: 0.9rem; }
.foot-row { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--rule-light); font-size: 0.85rem; color: rgba(236, 228, 211, 0.7); }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.foot-row a { text-decoration: none; color: var(--cream); }
.foot-row a:hover { color: var(--gold); }

/* arrival */
.anim .why, .anim .fs-list li, .anim .story, .anim .founder, .anim .wait { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.2,1); }
.anim .in { opacity: 1 !important; transform: none !important; }
.anim .fs-list li:nth-child(2) { transition-delay: 0.06s; }
.anim .fs-list li:nth-child(3) { transition-delay: 0.12s; }
.anim .fs-list li:nth-child(4) { transition-delay: 0.18s; }
.anim .fs-list li:nth-child(5) { transition-delay: 0.24s; }

@media (max-width: 960px) {
  .why, .wait, .fs-head, .story { grid-template-columns: 1fr; }
  .fs-head p { justify-self: start; }
  .hero-foot { grid-template-columns: 1fr; }
  .fs-list li { grid-template-columns: 2.6rem 1fr; gap: 0.4rem 1rem; }
  .fs-list li p { grid-column: 2; padding-bottom: 0.4rem; }
  .founder, .founder.flip { grid-template-columns: 1fr; }
  .founder.flip img { order: 0; }
  .founder.flip .founder-text { text-align: left; justify-self: start; }
  .founder img { max-width: 34rem; }
  .side-label { justify-self: start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .bar-note { display: none; }
  .bar .pill { margin-left: auto; }
  .mark span { font-size: 1.15rem; }
  .hero-meta { position: static; text-align: left; margin-bottom: 1.4rem; }
  .hero-meta span { display: inline; }
  .hero-meta span + span::before { content: " "; }
  .hero-h .ln:nth-child(2), .hero-h .it { padding-left: 0; }
  .story-cols { grid-template-columns: 1fr; gap: 1rem; }
  .intent { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* v3 (21 Oct): three ways to gather, how joining works, program links.
   Staggered, not three identical cards. */
.gather { padding: clamp(4rem, 9vw, 8rem) var(--pad); background: var(--paper); }
.gather-h { font-size: clamp(2.4rem, 5.4vw, 5rem); max-width: 14ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.gather-h em { color: var(--teal); }
.gather-list { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.g { display: block; text-decoration: none; color: inherit; }
.g img { width: 100%; object-fit: cover; border-radius: 2px; margin-bottom: 1.1rem; transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.g1 img { aspect-ratio: 4 / 5; }
.g2 { margin-top: clamp(3rem, 8vw, 7rem); }
.g2 img { aspect-ratio: 1 / 1; }
.g3 { margin-top: clamp(1.5rem, 4vw, 3.5rem); }
.g3 img { aspect-ratio: 3 / 4; }
.g h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin-bottom: 0.5rem; }
.g p { color: var(--muted); max-width: 26rem; }
.g .more { display: inline-flex; gap: 0.4rem; margin-top: 0.9rem; font-weight: 600; font-size: 0.92rem; color: var(--teal); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
@media (hover: hover) { .g:hover img { transform: scale(1.015); } .g:hover h3 { color: var(--teal); } }

.join { padding: clamp(3.5rem, 7vw, 6rem) var(--pad); background: var(--paper); border-top: 1px solid var(--rule); }
.join h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.join-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.join-steps li { border-top: 2px solid var(--teal); padding-top: 1.1rem; }
.join-steps .n { font: italic 400 1.1rem/1 var(--serif); color: var(--teal); }
.join-steps h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin: 0.6rem 0 0.5rem; }
.join-steps p { color: var(--muted); }
.join-steps a { color: var(--teal); }
.foot-row nav[aria-label="Programs"] a { color: var(--gold); }

@media (max-width: 860px) {
  .gather-list, .join-steps { grid-template-columns: 1fr; }
  .g2, .g3 { margin-top: 0; }
  .g img, .g1 img, .g2 img, .g3 img { aspect-ratio: 16 / 10; }
}
