/* =========================================================
   Mea Kaci — site styles
   Palette: ink navy (primary), ivory (secondary), antique gold (fine detail)
   Type: Cormorant Garamond (display), Jost (text)
   ========================================================= */

:root {
  --navy: #0f1c36;
  --navy-deep: #0a1428;
  --navy-raised: #18284a;
  --navy-soft: #4a5570;      /* secondary text on cream */
  --cream: #f6f0e4;
  --paper: #fcf9f2;
  --sand: #b8945a;           /* antique gold: hairlines + hover fills */
  --gold-text: #8f6d38;      /* gold dark enough for text on ivory */
  --line: #e6dcc8;           /* hairlines on cream */
  --on-dark-soft: #c2c9da;   /* secondary text on navy */

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(.19, 1, .22, 1);       /* long, soft settle */
  --ease-io: cubic-bezier(.77, 0, .175, 1);   /* curtain */

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 44px);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.075rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fine paper grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 400; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--navy); color: var(--cream); }
.on-dark ::selection { background: var(--sand); color: var(--navy); }

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0 0 .45em;
  line-height: 1.04;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums;
}
h1 { font-size: clamp(3.2rem, 7.4vw, 6.9rem); font-weight: 400; line-height: .96; letter-spacing: -0.025em; }
h2 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); font-weight: 400; letter-spacing: -0.015em; }
h3 { font-size: 1.75rem; font-weight: 600; line-height: 1.12; }
h4 { font-family: var(--sans); font-weight: 500; font-size: 1rem; letter-spacing: .02em; margin: 0 0 .8em; }

:focus-visible { outline: 1px solid var(--navy); outline-offset: 4px; }
.on-dark :focus-visible { outline-color: var(--sand); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 60ch; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.65; font-weight: 300; color: var(--navy-soft); }
.on-dark .lead { color: var(--on-dark-soft); }
.on-dark { color: var(--cream); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--navy); padding: 8px 14px; z-index: 500; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons: a champagne fill sweeps up on hover ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 500; font-size: .96rem; letter-spacing: .04em; line-height: 1;
  padding: 1.15em 2.1em; border-radius: 0; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: var(--sand); transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }

.btn-primary { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn-primary:hover { color: var(--navy); border-color: var(--sand); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost::before { background: var(--navy); }
.btn-ghost:hover { color: var(--cream); }

.on-dark .btn-primary { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.on-dark .btn-primary:hover { border-color: var(--sand); }
.on-dark .btn-ghost { border-color: rgba(246,240,228,.5); color: var(--cream); }
.on-dark .btn-ghost::before { background: var(--cream); }
.on-dark .btn-ghost:hover { color: var(--navy); border-color: var(--cream); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* Links: the underline withdraws and redraws */
.text-link {
  font-weight: 500; text-decoration: none; padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease);
}
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--navy); color: var(--cream);
  border-bottom: 1px solid rgba(184,148,90,0);
  transition: transform .7s var(--ease), border-color .4s, background-color .4s;
}
.site-header.is-scrolled { border-bottom-color: rgba(184,148,90,.22); background: rgba(15,28,54,.94); backdrop-filter: blur(10px); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 24px; }
.wordmark {
  font-family: var(--serif); font-weight: 500; font-size: 1.75rem; letter-spacing: .01em;
  text-decoration: none; color: var(--cream); line-height: 1;
}
.wordmark:hover { font-style: italic; }
.main-nav ul { display: flex; gap: clamp(16px, 2.6vw, 38px); list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a {
  display: block; padding: 6px 0; text-decoration: none; color: var(--on-dark-soft);
  font-size: .96rem; letter-spacing: .04em;
  background: linear-gradient(var(--sand), var(--sand)) 0 100% / 0 1px no-repeat;
  transition: color .4s, background-size .6s var(--ease);
}
.main-nav a:hover { color: var(--cream); background-size: 100% 1px; }
.main-nav a[aria-current="page"] { color: var(--cream); background-size: 100% 1px; }

.nav-toggle {
  display: none; font: inherit; font-size: .95rem; letter-spacing: .04em;
  background: transparent; color: var(--cream); border: 1px solid rgba(246,240,228,.45); padding: 9px 18px; cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: 82px; height: calc(100svh - 82px);
    background: var(--navy); padding: 12px var(--gutter) 32px;
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s .5s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .7s var(--ease); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a {
    padding: 18px 0; font-family: var(--serif); font-size: 2.1rem; line-height: 1.1; letter-spacing: 0;
    color: var(--cream); border-bottom: 1px solid rgba(184,148,90,.18); background: none;
  }
  .main-nav a[aria-current="page"] { font-style: italic; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(84px, 11vw, 156px) 0; }
.section-navy { background: var(--navy); color: var(--cream); }
.section-paper { background: var(--paper); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 72px; align-items: end; margin-bottom: 64px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--navy-soft); max-width: 44ch; }
.on-dark .section-head p { color: var(--on-dark-soft); }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; margin-bottom: 44px; } }

/* ---------- Home hero ---------- */
.hero {
  background: var(--navy); color: var(--cream);
  min-height: calc(100svh - 82px); display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.hero-grid {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
  padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(48px, 6vw, 84px); position: relative;
}
.hero h1 { color: var(--cream); margin-bottom: 34px; font-size: clamp(3.4rem, 8.4vw, 7.6rem); line-height: 1.02; }
.hero h1 .line { display: block; }
.hero .lead { max-width: 42ch; }


.hero-copy { max-width: 980px; }

/* Quote */
.quote-section { padding: clamp(96px, 13vw, 170px) 0 clamp(8px, 2vw, 24px); }
.quote { margin: 0 auto; max-width: 980px; text-align: center; position: relative; }
.quote::before {
  content: "\201C"; display: block; font-family: var(--serif); font-size: clamp(6rem, 12vw, 10rem);
  line-height: .6; height: .45em; color: var(--sand);
}
.quote blockquote { margin: 0; }
.quote p {
  font-family: var(--serif); font-style: italic; font-weight: 400; margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.12; letter-spacing: -0.01em; color: var(--navy);
}
.quote::after { content: ""; display: block; width: 64px; height: 1px; background: var(--navy); margin: 48px auto 0; }

/* Marquee along the foot of the hero */
.marquee {
  border-top: 1px solid rgba(184,148,90,.25); overflow: hidden; position: relative; padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--cream); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--sand); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- Three paths ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--navy); }
.path { padding: 40px 34px 8px 0; }
.path + .path { border-left: 1px solid var(--line); padding-left: 34px; }
.path h3 { font-size: 2.5rem; font-weight: 400; margin-bottom: .35em; transition: font-style .3s; }
.path:hover h3 { font-style: italic; }
.path p { color: var(--navy-soft); }
@media (max-width: 820px) {
  .paths { grid-template-columns: 1fr; }
  .path { padding-right: 0; }
  .path + .path { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
}

/* ---------- Lead magnet ---------- */
.optin { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.optin h2 { color: var(--cream); max-width: 15ch; }
.optin p { color: var(--on-dark-soft); max-width: 48ch; }
.optin-form { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 0; margin-top: 34px; max-width: 680px; border: 1px solid rgba(184,148,90,.5); }
.optin-form input {
  font: inherit; font-size: 1rem; padding: 18px 20px; border: 0; border-right: 1px solid rgba(184,148,90,.35);
  background: transparent; color: var(--cream); min-width: 0; border-radius: 0; transition: background-color .4s;
}
.optin-form input::placeholder { color: rgba(194,201,218,.7); }
.optin-form input:focus { outline: none; background: var(--navy-raised); }
.optin-note { font-size: .9rem; margin-top: 16px; color: var(--on-dark-soft); }
.optin-success { display: none; margin-top: 26px; padding: 24px 26px; background: var(--cream); color: var(--navy); max-width: 560px; }
.optin-success.is-visible { display: block; animation: rise .9s var(--ease) both; }
.optin-success p { color: var(--navy); margin-bottom: 14px; }
.optin-success .btn-primary { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.optin-success .btn-primary:hover { color: var(--navy); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
  .optin-form { grid-template-columns: 1fr; }
  .optin-form input { border-right: 0; border-bottom: 1px solid rgba(184,148,90,.35); }
}

.cover-stage { perspective: 1100px; justify-self: center; width: 100%; max-width: 330px; }
.cover {
  aspect-ratio: 210 / 297; width: 100%;
  background: var(--cream); color: var(--navy); padding: 36px 32px;
  display: flex; flex-direction: column; justify-content: space-between; position: relative;
  outline: 1px solid rgba(184,148,90,.6); outline-offset: 16px;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .9s var(--ease);
  box-shadow: 0 40px 80px -40px rgba(3,8,24,.7);
}
.cover::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--line); }
.cover > * { position: relative; }
.cover-kicker { font-size: .85rem; letter-spacing: .06em; color: var(--navy-soft); }
.cover-title { font-family: var(--serif); font-size: 2.8rem; font-weight: 400; line-height: 1; margin-top: 12px; }
.cover-lines { display: grid; gap: 11px; }
.cover-lines span { height: 1px; background: var(--navy); opacity: .3; }
.cover-lines span:nth-child(2) { width: 80%; }
.cover-lines span:nth-child(3) { width: 60%; }
.cover-foot { display: flex; justify-content: space-between; font-size: .85rem; letter-spacing: .05em; }
@media (max-width: 820px) { .optin { grid-template-columns: 1fr; } .cover-stage { max-width: 250px; justify-self: start; margin-left: 18px; } }

/* ---------- Service rows ---------- */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy); }
.service-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto; gap: 40px; align-items: baseline;
  padding: 38px 0; border-bottom: 1px solid var(--line); position: relative;
}
.service-row h3 { margin: 0; font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 400; transition: transform .8s var(--ease); }
.service-row:hover h3 { font-style: italic; transform: translateX(14px); }
.service-row p { margin: 0; color: var(--navy-soft); }
.service-row .text-link { white-space: nowrap; }
@media (max-width: 820px) { .service-row { grid-template-columns: 1fr; gap: 10px; } .service-row:hover h3 { transform: none; } }

.service-detail {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px);
  padding: 64px 0; border-top: 1px solid var(--line);
}
.service-detail:first-of-type { border-top: 1px solid var(--navy); }
.service-detail h2 { font-size: clamp(2.3rem, 3.8vw, 3.2rem); margin-bottom: .3em; }
.service-detail .for { color: var(--navy-soft); }
.service-detail ul { list-style: none; margin: 0; padding: 0; }
.service-detail li { padding: 13px 0 13px 30px; border-bottom: 1px solid var(--line); position: relative; }
.service-detail li::before { content: ""; position: absolute; left: 0; top: 1.45em; width: 14px; height: 1px; background: var(--navy); }
@media (max-width: 820px) { .service-detail { grid-template-columns: 1fr; } }

/* Process — a true sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; border-top: 1px solid rgba(184,148,90,.45); }
.steps li { counter-increment: step; padding: 30px 30px 0 0; }
.steps li + li { padding-left: 30px; border-left: 1px solid rgba(184,148,90,.2); }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-style: italic; font-size: 4rem; line-height: 1; color: var(--sand); margin-bottom: 20px; }
.steps h3 { color: var(--cream); font-size: 1.65rem; }
.steps p { color: var(--on-dark-soft); font-size: 1rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .steps li + li { border-left: 0; padding-left: 0; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Page header (navy band) ---------- */
.page-head { background: var(--navy); color: var(--cream); padding: clamp(72px, 10vw, 140px) 0 clamp(64px, 8vw, 110px); position: relative; overflow: hidden; }
.page-head .wrap { position: relative; }
.page-head h1 { max-width: 15ch; margin-bottom: 28px; color: var(--cream); }
.page-head .lead { max-width: 52ch; margin: 0; color: var(--on-dark-soft); }

/* ---------- Meet Mea (home) ---------- */
.meet-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.meet .portrait { position: relative; top: 0; }
.meet-body h2 { margin-bottom: .35em; }
.meet-body > p:not(.lead) { max-width: 58ch; }
.meet-body .facts { margin-top: 32px; }
.optin-more { margin: 22px 0 0; }
@media (max-width: 820px) { .meet-grid { grid-template-columns: 1fr; } .meet .portrait { max-width: 300px; margin: 14px; } }

/* ---------- Ledger (home build log) ---------- */
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
.ledger h3 { font-style: italic; font-weight: 500; font-size: 1.9rem; margin-bottom: .6em; }
.ledger ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy); }
.ledger li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ledger li span { font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; }
.ledger li small { font-size: .88rem; color: var(--navy-soft); letter-spacing: .04em; white-space: nowrap; }
.ledger li:not(.done) span { color: var(--navy-soft); font-style: italic; }
@media (max-width: 760px) { .ledger { grid-template-columns: 1fr; } }

/* ---------- Resources ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 14px 44px; align-items: center; margin-bottom: 48px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.filter-group { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.filter-group-label { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--navy-soft); margin-right: 2px; }
.chip {
  font: inherit; font-size: .95rem; letter-spacing: .03em; padding: 9px 20px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--navy-soft);
  transition: color .3s, background-color .4s var(--ease), border-color .4s;
}
.chip:hover { color: var(--navy); border-color: var(--navy); }
.chip[aria-pressed="true"] { color: var(--cream); background: var(--navy); border-color: var(--navy); }

.sheets { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 30px; }
.sheet {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  padding: 32px 30px 28px; display: flex; flex-direction: column; min-height: 330px;
  border-radius: 26px;
  transition: transform .8s var(--ease), box-shadow .8s var(--ease), border-color .5s;
}
.sheet::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(230,220,200,.6); border-radius: 20px; pointer-events: none; transition: border-color .5s; }
.sheet:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(15,28,54,.45); }
.sheet:hover::before { border-color: var(--sand); }
.sheet > * { position: relative; }
.sheet[hidden] { display: none; }
.sheet.is-filtering { animation: rise .7s var(--ease) both; }
.sheet-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; font-size: .9rem; color: var(--navy-soft); letter-spacing: .04em; }
.tag-price { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--gold-text); letter-spacing: 0; line-height: 1; font-variant-numeric: lining-nums; }
.tag-price.free { font-style: italic; font-weight: 500; }
.sheet h3 { font-size: 1.7rem; font-weight: 500; margin-bottom: .4em; }
.sheet p { font-size: .98rem; color: var(--navy-soft); flex: 1; }
.sheet-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.sheet-format { font-size: .88rem; color: var(--navy-soft); }
.sheet .btn { padding: .95em 1.5em; font-size: .9rem; border-radius: 999px; }
.sheets-empty { display: none; padding: 32px 0; color: var(--navy-soft); }
.sheets-empty.is-visible { display: block; }

.tool-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tool-table th { text-align: left; font-weight: 500; color: var(--navy-soft); font-size: .92rem; letter-spacing: .04em; padding: 0 16px 14px 0; border-bottom: 1px solid var(--navy); }
.tool-table td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.tool-table td:first-child { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; white-space: nowrap; }
.tool-table td:first-child .text-link { font-weight: 500; background-size: 0 1px; }
.tool-table td:first-child .text-link:hover { background-size: 100% 1px; background-position: 0 100%; font-style: italic; }
.tool-table td:last-child { white-space: nowrap; color: var(--navy-soft); }
@media (max-width: 640px) {
  .tool-table thead { display: none; }
  .tool-table tr { display: block; border-bottom: 1px solid var(--line); padding: 14px 0; }
  .tool-table td { display: block; border: 0; padding: 2px 0; white-space: normal !important; }
}

/* ---------- Journey ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 128px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 104px 1fr; gap: 48px; padding: 0 0 52px; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: 124px; top: 12px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--navy);
}
.timeline li.done::before { background: var(--navy); }
.timeline .when { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; text-align: right; line-height: 1.2; font-variant-numeric: lining-nums; }
.timeline .when small { display: block; font-family: var(--sans); font-weight: 400; color: var(--navy-soft); font-size: .88rem; letter-spacing: .04em; }
.timeline h3 { margin-bottom: .25em; font-weight: 500; font-size: 1.9rem; }
.timeline p { color: var(--navy-soft); margin: 0; max-width: 60ch; }
.timeline li:not(.done) h3, .timeline li:not(.done) .when { color: var(--navy-soft); font-style: italic; font-weight: 500; }
@media (max-width: 640px) {
  .timeline::before { left: 4px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 32px; }
  .timeline li::before { left: 0; }
  .timeline .when { text-align: left; }
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

.check-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(184,148,90,.45); }
.check-list li { padding: 17px 0 17px 30px; border-bottom: 1px solid rgba(184,148,90,.2); position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 1.55em; width: 14px; height: 1px; background: var(--sand); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.portrait {
  aspect-ratio: 4 / 5; background: var(--navy); color: var(--cream);
  display: grid; place-items: center; position: relative; overflow: hidden;
  outline: 1px solid var(--navy); outline-offset: 14px;
  position: sticky; top: 120px;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-initials { font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 12vw, 9.5rem); font-weight: 400; color: var(--sand); }
.portrait-caption { position: absolute; left: 22px; bottom: 18px; font-size: .88rem; letter-spacing: .05em; color: var(--on-dark-soft); }
.about-body > p { font-size: 1.15rem; line-height: 1.8; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 0 32px; margin: 44px 0 0; border-top: 1px solid var(--navy); }
.facts dt, .facts dd { padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.facts dd { color: var(--navy-soft); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .portrait { max-width: 340px; margin: 14px; position: relative; top: 0; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(184,148,90,.45); }
.values > div { padding: 34px 34px 0 0; }
.values > div + div { padding-left: 34px; border-left: 1px solid rgba(184,148,90,.2); }
.values h3 { color: var(--cream); font-size: 2.2rem; font-weight: 400; }
.values p { color: var(--on-dark-soft); margin: 0; }
@media (max-width: 820px) {
  .values { grid-template-columns: 1fr; }
  .values > div + div { border-left: 0; padding-left: 0; }
}

/* ---------- Partnerships / forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.ways { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--navy); }
.ways li { padding: 26px 0; border-bottom: 1px solid var(--line); }
.ways h3 { font-size: 1.8rem; font-weight: 500; margin-bottom: .2em; }
.ways p { margin: 0; color: var(--navy-soft); font-size: 1rem; }

.form-card { background: var(--paper); border: 1px solid var(--line); padding: clamp(30px, 4vw, 54px); position: relative; }
.form-card::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(230,220,200,.6); pointer-events: none; }
.form-card > * { position: relative; }
.form-card h2 { font-size: 2.6rem; margin-bottom: .6em; }
.field { display: grid; gap: 4px; margin-bottom: 26px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label { font-weight: 500; font-size: .92rem; letter-spacing: .03em; color: var(--navy-soft); }
label .opt { font-weight: 400; }
input, select, textarea {
  font: inherit; font-size: 1.05rem; color: var(--navy); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0 12px; width: 100%;
  transition: border-color .4s;
}
select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230f1c36'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 24px; cursor: pointer; }
textarea { min-height: 130px; resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-bottom-color: var(--navy); box-shadow: 0 1px 0 var(--navy); }
.form-status { margin-top: 16px; font-weight: 500; }
.form-status.err { color: #8a2a2a; }
.direct { margin-top: 22px; font-size: 1rem; color: var(--navy-soft); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--navy); max-width: 840px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 26px 48px 26px 0; font-family: var(--serif); font-weight: 500; font-size: 1.7rem; line-height: 1.2; position: relative; transition: transform .6s var(--ease); font-variant-numeric: lining-nums; }
.faq summary:hover { transform: translateX(8px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1px; background: var(--navy); box-shadow: none; }
.faq summary::before { content: ""; position: absolute; right: 13.5px; top: calc(50% - 7.5px); width: 1px; height: 16px; background: var(--navy); transition: transform .5s var(--ease); }
.faq details[open] summary::before { transform: scaleY(0); }
.faq details p { color: var(--navy-soft); padding-bottom: 16px; max-width: 64ch; }
.faq details[open] p { animation: rise .7s var(--ease) both; }

/* ---------- CTA band ---------- */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 36px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; max-width: 20ch; }
.cta-band p { margin: 16px 0 0; color: var(--navy-soft); max-width: 48ch; }
.on-dark .cta-band h2 { color: var(--cream); }
.on-dark .cta-band p { color: var(--on-dark-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-soft); padding: 92px 0 34px; font-size: .98rem; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .wordmark { display: inline-block; margin-bottom: 16px; font-size: 2rem; }
.site-footer h4 { color: var(--cream); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer ul a { text-decoration: none; background: linear-gradient(var(--sand), var(--sand)) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: color .3s, background-size .6s var(--ease); }
.site-footer ul a:hover { color: var(--cream); background-size: 100% 1px; }
.footer-mark {
  font-family: var(--serif); font-weight: 400; color: var(--cream); white-space: nowrap;
  font-size: min(23vw, 19rem); line-height: .78; letter-spacing: -0.035em;
  margin: 80px 0 0 -0.04em; padding-bottom: .1em;
}
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(184,148,90,.2); font-size: .9rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } .footer-mark { font-size: 24vw; margin-top: 56px; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 160%);
  background: var(--navy); color: var(--cream); padding: 16px 24px; z-index: 300; border: 1px solid rgba(184,148,90,.4);
  max-width: calc(100% - 32px); font-size: .98rem; transition: transform .7s var(--ease);
}
.toast.is-visible { transform: translate(-50%, 0); }

/* =========================================================
   Motion
   Everything below only applies when JS is running and the
   visitor hasn't asked for reduced motion.
   ========================================================= */

/* Split headings: each word rises out of a mask */
.js:not(.reduce) .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .12em 0; margin: 0 -.06em -.12em 0; }
.js:not(.reduce) .wi { display: inline-block; transform: translateY(110%); transition: transform 1.25s var(--ease); transition-delay: calc(var(--i, 0) * 55ms + var(--d, 0ms)); will-change: transform; }
.js:not(.reduce) .is-in .wi { transform: none; }

/* Blocks: a long, soft rise */
.js:not(.reduce) .rv { opacity: 0; transform: translateY(34px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); transition-delay: var(--d, 0ms); }
.js:not(.reduce) .rv.is-in { opacity: 1; transform: none; }

/* Hairlines draw themselves across */
.js:not(.reduce) .draw { border-top-color: transparent !important; background-image: linear-gradient(var(--draw, var(--navy)), var(--draw, var(--navy))); background-repeat: no-repeat; background-position: 0 0; background-size: 0 1px; transition: background-size 1.8s var(--ease) var(--d, 0ms); }
.js:not(.reduce) .on-dark .draw { --draw: rgba(184,148,90,.45); }
.js:not(.reduce) .draw.is-in { background-size: 100% 1px; }


/* Footer wordmark letters rise in */
.js:not(.reduce) .footer-mark .wi { transition-duration: 1.6s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
}

/* ---------- Utilities ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mb-0 { margin-bottom: 0; }
.mt-l { margin-top: 44px; }
