/* ─────────────────────────────────────────────────────────────────────────
   Pirouette · Marketing page styles
   ───────────────────────────────────────────────────────────────────────── */

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

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

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
.section  { padding-block: 96px; }
.center   { text-align: center; }

/* ─── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-size: 0.98rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 0.85em 1.6em; border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 6px 18px -6px var(--clay); }
.btn-primary:hover { background: var(--clay-deep); box-shadow: 0 10px 26px -8px var(--clay); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--clay); color: var(--clay-deep); }
.btn-light { background: #fff; color: var(--espresso); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn-ondark { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-ondark:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ─── Eyebrow / pills ─────────────────────────────────────────────────── */
.eyebrow {
  display: inline-block; font-family: var(--mono);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 14px;
}
.pill {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.86rem; font-weight: 500; color: var(--ink-soft);
  background: var(--card); border: 1px solid var(--line);
  padding: 0.55em 1.1em; border-radius: var(--r-pill); box-shadow: var(--sh-sm);
}

/* ─── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.979 0.009 84 / 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav .inner {
  max-width: var(--maxw); margin-inline: auto; padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  letter-spacing: -0.01em; color: var(--ink);
}
.nav-seg {
  display: flex; align-items: center; gap: 4px;
  background: var(--paper-2); border: 1px solid var(--line-soft);
  padding: 4px; border-radius: var(--r-pill);
}
.nav-seg a, .nav-seg button {
  font-size: 0.9rem; font-weight: 500; color: var(--ink-soft);
  padding: 0.5em 1.1em; border-radius: var(--r-pill); transition: all .18s ease;
}
.nav-seg .active, .nav-seg a:hover, .nav-seg button:hover { background: var(--card); color: var(--ink); box-shadow: var(--sh-sm); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-signin { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); }
.nav-signin:hover { color: var(--clay); }

/* ─── Hero ────────────────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(110% 80% at 88% -10%, var(--ochre-soft) 0%, transparent 55%),
    radial-gradient(90% 70% at 0% 0%, var(--blush) 0%, transparent 45%),
    var(--paper);
  border-bottom: 1px solid var(--line-soft);
}
.hero .grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-copy h1 { margin-bottom: 22px; }
.accent { position: relative; color: var(--clay); white-space: nowrap; }
.accent svg { position: absolute; left: 0; right: 0; bottom: -0.18em; width: 100%; height: 0.34em; color: var(--ochre); }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 34ch; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-art { position: relative; }
.hero-photo {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg);
  border: 1px solid var(--line-soft); aspect-ratio: 4 / 4.4; background: var(--sand);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; left: -28px; bottom: 34px;
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 14px 18px; box-shadow: var(--sh-lg); max-width: 260px;
}
.float-card .dot {
  flex: none; width: 40px; height: 40px; border-radius: var(--r-pill);
  background: var(--clay-tint); display: grid; place-items: center;
}
.float-card .dot svg { width: 20px; height: 20px; }
.float-card .t { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1; }
.float-card .s { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 72px; padding-top: 44px; border-top: 1px solid var(--line-soft);
}
.hstat .v { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--clay-deep); line-height: 1; }
.hstat .l { font-size: 0.94rem; color: var(--ink-soft); margin-top: 10px; }
.hstat .src { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.04em; color: var(--muted); margin-top: 8px; }

/* ─── Section heads ───────────────────────────────────────────────────── */
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 6px; }
.intro { font-size: 1.12rem; color: var(--ink-soft); margin-top: 16px; }

/* ─── Problem cards ───────────────────────────────────────────────────── */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.pcard .ic {
  width: 46px; height: 46px; border-radius: var(--r-md);
  background: var(--clay-tint); color: var(--clay-deep);
  display: grid; place-items: center; margin-bottom: 18px;
}
.pcard .ic svg { width: 23px; height: 23px; }
.pcard h3 { font-size: 1.3rem; margin-bottom: 8px; }
.pcard p { font-size: 0.96rem; color: var(--ink-soft); }

/* ─── Sophie circular journey ─────────────────────────────────────────── */
.sophie-wrap { display: grid; grid-template-columns: 460px 1fr; gap: 56px; align-items: center; }
.circle-stage { position: relative; width: 460px; height: 460px; }
.circle-stage .path { position: absolute; inset: 0; width: 100%; height: 100%; }
.sophie-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; z-index: 2;
}
.sophie-center .pf {
  width: 124px; height: 124px; border-radius: var(--r-pill); object-fit: cover;
  border: 4px solid var(--card); box-shadow: var(--sh-md); background: var(--sand);
}
.sophie-center .nm { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }

.node {
  position: absolute; width: 84px; height: 84px; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--sh-sm); cursor: pointer; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.node:hover { transform: translate(-50%, -50%) scale(1.06); box-shadow: var(--sh-md); }
.node .nstep { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; color: var(--muted); }
.node .nlbl { font-size: 0.74rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.node.active { background: var(--clay); border-color: var(--clay); box-shadow: 0 10px 26px -8px var(--clay); }
.node.active .nstep { color: rgba(255,255,255,0.7); }
.node.active .nlbl { color: #fff; }

.detail-card {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: 34px; box-shadow: var(--sh-md); min-height: 300px;
}
.detail-card .dstep { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay); }
.detail-card h3 { font-size: 1.7rem; margin: 8px 0 14px; }
.detail-card .dbody { color: var(--ink-soft); font-size: 1rem; }
.detail-card .dquote {
  margin-top: 22px; padding: 16px 20px; border-left: 3px solid var(--ochre);
  background: var(--paper-2); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic; color: var(--ink); font-size: 1.02rem;
}
.detail-card .dquote .who { display: block; font-style: normal; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted); margin-top: 10px; }

/* Mobile sophie steps (hidden on desktop) */
.sophie-mobile { display: none; flex-direction: column; gap: 14px; }
.smob {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  padding: 20px 22px; box-shadow: var(--sh-sm);
}
.smob .dstep { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay); }
.smob h3 { font-size: 1.3rem; margin: 4px 0 8px; }
.smob p { color: var(--ink-soft); font-size: 0.95rem; }

/* ─── Benefits ────────────────────────────────────────────────────────── */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--sh-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.benefit .bnum { font-family: var(--mono); font-size: 0.78rem; color: var(--ochre-deep); letter-spacing: 0.06em; }
.benefit h3 { font-size: 1.24rem; margin: 10px 0 8px; }
.benefit p { font-size: 0.94rem; color: var(--ink-soft); }

/* ─── Founders ────────────────────────────────────────────────────────── */
.founders { background: var(--paper-2); }
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; }
.founder { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-sm); }
.founder .who { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.founder .av { width: 44px; height: 44px; border-radius: var(--r-pill); display: grid; place-items: center; color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.founder .nm { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.founder blockquote { border-left: 3px solid; padding-left: 18px; font-size: 1.05rem; color: var(--ink-soft); font-style: italic; }
.founder-note { text-align: center; max-width: 620px; margin: 40px auto 0; font-size: 1.08rem; color: var(--ink-soft); }
.founder-note .hl { color: var(--ink); font-weight: 500; }

/* ─── CTA band (waitlist) ─────────────────────────────────────────────── */
.cta-band {
  background:
    radial-gradient(120% 120% at 100% 0%, var(--espresso) 0%, transparent 60%),
    linear-gradient(135deg, var(--espresso-2) 0%, var(--espresso) 60%, var(--clay-deep) 130%);
  color: #fff;
}
.cta-inner { text-align: center; max-width: 620px; margin-inline: auto; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,0.78); font-size: 1.12rem; margin-top: 14px; }
.cta-inner .cta-row { justify-content: center; margin-top: 30px; }
.fine { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; color: rgba(255,255,255,0.55); margin-top: 28px; }

/* ─── Waitlist form (on dark band) ────────────────────────────────────── */
.wl-form { max-width: 460px; margin: 30px auto 0; display: flex; flex-direction: column; gap: 12px; }
.wl-seg { display: flex; gap: 4px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--r-pill); padding: 4px; }
.wl-seg-btn { flex: 1; font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.7); padding: 0.62em 0.9em; border-radius: var(--r-pill); transition: all .18s ease; }
.wl-seg-btn.active { background: #fff; color: var(--espresso); }
.wl-row { display: flex; gap: 12px; }
.wl-field {
  flex: 1; width: 100%; font-family: inherit; font-size: 0.96rem; color: #fff;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-sm); padding: 0.85em 1.05em; outline: none; transition: border-color .15s ease, background .15s ease;
}
.wl-field::placeholder { color: rgba(255,255,255,0.55); }
.wl-field:focus { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.12); }
.wl-field[hidden] { display: none; }
.wl-submit { width: 100%; margin-top: 4px; }
.wl-submit[disabled] { opacity: 0.6; cursor: progress; }
.wl-error { min-height: 1.1em; font-size: 0.85rem; color: var(--blush); margin: 0; }
.wl-sent { max-width: 460px; margin: 30px auto 0; text-align: center; }
.wl-sent .ring { width: 60px; height: 60px; border-radius: var(--r-pill); background: rgba(255,255,255,0.92); display: grid; place-items: center; margin: 0 auto 14px; }
@media (max-width: 620px) { .wl-row { flex-direction: column; } }

/* ─── Name section ────────────────────────────────────────────────────── */
.name-sec { max-width: 720px; margin-inline: auto; text-align: center; }
.name-sec h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 6px 0 18px; }
.name-sec p { font-size: 1.18rem; color: var(--ink-soft); line-height: 1.7; }

/* ─── Footer ──────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line-soft); background: var(--paper-2); }
.footer .inner {
  max-width: var(--maxw); margin-inline: auto; padding: 32px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer .brand { font-size: 1.25rem; }
.footer .fmeta { font-size: 0.85rem; color: var(--muted); }

/* ─── HR modal ────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: oklch(0.275 0.022 52 / 0.45); backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
  position: relative; width: 100%; max-width: 460px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 36px; box-shadow: var(--sh-lg);
}
.modal .close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: var(--r-pill); display: grid; place-items: center; color: var(--muted); }
.modal .close:hover { background: var(--paper-2); color: var(--ink); }
.field {
  width: 100%; font-family: inherit; font-size: 0.95rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 0.8em 1em; margin-top: 10px; outline: none; transition: border-color .15s ease;
}
.field:focus { border-color: var(--clay); }
.modal .sent { text-align: center; }
.modal .ring { width: 60px; height: 60px; border-radius: var(--r-pill); background: var(--clay-tint); display: grid; place-items: center; margin: 0 auto 16px; }

/* ─── Reveal animation ────────────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ─── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero .grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 440px; }
  .hero-stats { grid-template-columns: 1fr; gap: 22px; }
  .cards-3, .benefits-grid { grid-template-columns: 1fr 1fr; }
  .sophie-wrap { display: none; }
  .sophie-mobile { display: flex; }
  .founders-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .section { padding-block: 68px; }
  .nav-seg { display: none; }
  .nav-signin { display: none; }
  .cards-3, .benefits-grid { grid-template-columns: 1fr; }
  .float-card { left: 12px; }
  .lead { max-width: none; }
}
