/* FamilyStork landing — four values, two faces.
   ink #1B2029 · gold #B7935A · gold-on-dark #D2B183 · white #FFFFFF
   Cormorant Garamond (wordmark, headlines) · Hanken Grotesk (interface, body) */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/CormorantGaramond-var.woff2') format('woff2');
  font-weight: 500 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/fonts/HankenGrotesk-var.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  /* four values (+ alpha tints of them only) */
  --paper: #FFFFFF;
  --cream: rgba(183,147,90,0.07);
  --fawn: rgba(27,32,41,0.14);
  --coal: #1B2029;
  --coal-soft: rgba(27,32,41,0.66);
  --rust: #B7935A;
  --rust-deep: #1B2029;
  --flag: #B3271B;
  --white: #FFFFFF;
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Hanken Grotesk', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Hanken Grotesk', sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.landing {
  background: var(--paper);
  color: var(--coal);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust-deep); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 1.02rem;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .12s ease, background-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-rust { background: var(--rust); color: var(--coal); }
.btn-rust:hover { background: var(--rust-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--coal); border-color: var(--coal); }
.btn-ghost:hover { background: var(--coal); color: var(--paper); }
.btn-big { font-size: 1.1rem; padding: 15px 34px; }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.wordmark {
  font-family: var(--display); font-weight: 700; font-size: 1.5rem;
  color: var(--coal); text-decoration: none; letter-spacing: -0.02em;
}
.wordmark .paw { color: var(--rust); }
.nav .btn { min-height: 42px; padding: 8px 20px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; padding: 44px 0 96px; }
.eyebrow {
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--rust-deep);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.5rem, 5.4vw, 3.9rem);
  line-height: 1.02; letter-spacing: -0.025em;
}
.hero h1 .tl { color: var(--rust); }
.hero-sub { margin: 22px 0 30px; font-size: 1.12rem; color: var(--coal-soft); max-width: 30rem; }
.hero-cta-note { margin-top: 12px; font-size: .88rem; color: var(--coal-soft); }
.hero-proof {
  margin-top: 22px; padding: 10px 16px; max-width: 30rem;
  border-left: 3px solid var(--rust); background: var(--cream);
  border-radius: 0 12px 12px 0; font-size: .95rem; color: var(--coal-soft);
}
.hero-proof strong { color: var(--coal); }

.photo-frame { position: relative; }
.hero-photo {
  width: 100%; height: min(540px, 64vh);
  object-fit: cover; object-position: 50% 72%;
  border-radius: 26px; box-shadow: 0 24px 60px rgba(34, 29, 24, .22);
}
.hero-cap {
  margin-top: 52px; text-align: right; font-family: var(--mono);
  font-size: .78rem; color: var(--coal-soft);
}

/* the signature: a live record card over the photo */
.record-card {
  position: absolute; left: -48px; bottom: -26px; width: min(360px, 92%);
  background: var(--white); border-radius: 16px;
  box-shadow: 0 18px 44px rgba(34, 29, 24, .28);
  padding: 14px 16px 12px;
  font-family: var(--mono); font-size: .8rem; line-height: 1.5;
}
.record-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 8px; margin-bottom: 8px; border-bottom: 2px solid var(--fawn);
  font-weight: 500; letter-spacing: .08em; font-size: .72rem;
}
.record-head .ai {
  background: var(--cream); color: var(--rust-deep);
  padding: 2px 8px; border-radius: 999px; font-size: .66rem;
}
.record-row { display: flex; gap: 10px; padding: 3px 0; opacity: 0; animation: rise .5s ease forwards; }
.record-row:nth-child(2) { animation-delay: .15s; }
.record-row:nth-child(3) { animation-delay: .3s; }
.record-row:nth-child(4) { animation-delay: .45s; }
.record-row:nth-child(5) { animation-delay: .6s; }
.record-row:nth-child(6) { animation-delay: .75s; }
.record-row .tag { flex: 0 0 4.2em; font-weight: 500; color: var(--rust-deep); }
.record-row .hi { color: var(--flag); font-weight: 500; }
.record-foot { margin-top: 8px; padding-top: 7px; border-top: 1px dashed var(--fawn); font-size: .68rem; color: var(--coal-soft); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- story (the night it started — dark) ---------- */
.story { background: var(--coal); color: rgba(255,255,255,0.92); padding: 88px 0; }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.story-photo img { border-radius: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.story-photo figcaption { font-family: var(--mono); font-size: .75rem; color: rgba(255,255,255,0.55); margin-top: 12px; }
.story h2 {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.02em; margin-bottom: 20px; color: var(--white);
}
.story p { margin-bottom: 16px; color: rgba(255,255,255,0.78); max-width: 34rem; }
.story strong { color: var(--white); }
.story .kicker { color: #D2B183; }
.story-note { font-size: .85rem; color: rgba(255,255,255,0.55); }
.story-allpersons {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(210,177,131,0.35);
  color: var(--fawn); font-weight: 500;
}

/* the bill that didn't happen */
.receipt {
  margin-top: 22px; background: var(--white); border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
  padding: 14px 16px 12px; color: var(--coal);
  font-family: var(--mono); font-size: .8rem; line-height: 1.6;
}
.receipt-head {
  font-size: .7rem; font-weight: 500; letter-spacing: .1em;
  border-bottom: 2px solid var(--fawn); padding-bottom: 7px; margin-bottom: 8px;
}
.receipt-row { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.receipt-row .strike { text-decoration: line-through; color: var(--flag); font-weight: 500; }
.receipt-total {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--fawn);
  font-weight: 500; color: var(--rust-deep);
}

/* ---------- features ---------- */
.features { padding: 88px 0 40px; }
.features h2, .steps h2 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem); text-align: center; margin-bottom: 44px;
}
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--white); border: 1.5px solid var(--fawn); border-radius: 20px;
  padding: 26px 24px;
}
.feature .ftag {
  display: inline-block; font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .12em; color: var(--rust-deep);
  background: var(--cream); border-radius: 999px; padding: 4px 11px; margin-bottom: 14px;
}
.feature h3 { font-family: var(--display); font-weight: 700; font-size: 1.22rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.feature p { font-size: .96rem; color: var(--coal-soft); }
.feature .q { color: var(--coal); font-weight: 500; }

/* ---------- insurance ---------- */
.insurance { padding: 24px 0 40px; }
.ins-band {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  background: var(--cream); border: 1.5px solid var(--fawn); border-radius: 22px; padding: 32px;
}
.ins-band .ftag {
  font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .12em;
  color: var(--coal); background: var(--rust); border-radius: 999px; padding: 5px 12px;
  white-space: nowrap; margin-top: 4px;
}
.ins-band h2 { font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.015em; margin-bottom: 10px; }
.ins-band p { color: var(--coal-soft); margin-bottom: 10px; max-width: 46rem; }
.ins-band .roadmap { font-size: .88rem; }

/* ---------- steps ---------- */
.steps { padding: 56px 0 80px; }
.step-list { list-style: none; padding: 0; max-width: 620px; margin: 0 auto; display: grid; gap: 22px; }
.step-list li { display: flex; gap: 18px; align-items: flex-start; }
.step-n {
  font-family: var(--mono); font-weight: 500; color: var(--rust-deep);
  border: 2px solid var(--rust); border-radius: 999px;
  flex: 0 0 40px; height: 40px; display: flex; align-items: center; justify-content: center;
}
.step-list strong { font-weight: 600; }
.step-list p { color: var(--coal-soft); font-size: .96rem; }
.steps-cta { text-align: center; margin-top: 44px; }

/* ---------- footer ---------- */
.footer { background: var(--coal); color: rgba(255,255,255,0.6); padding: 40px 0 52px; }
.footer .wordmark { color: var(--paper); font-size: 1.2rem; }
.footer p { font-size: .85rem; margin-top: 12px; max-width: 46rem; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding: 16px 24px 72px; }
  .hero-media { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-photo { height: min(420px, 52vh); }
  /* phone: card sits BELOW the photo, never covers it */
  .record-card { position: static; margin: -26px auto 0; width: calc(100% - 24px); box-shadow: 0 10px 30px rgba(19,16,16,0.16); }
  .record-head { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
  .hero-cap { margin-top: 52px; text-align: right; }
  .story { padding: 64px 0; }
  .story-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-photo { max-width: 460px; }
  .feature-grid { grid-template-columns: 1fr; }
  .features { padding: 64px 0 28px; }
  .ins-band { grid-template-columns: 1fr; gap: 12px; padding: 24px 20px; }
}
@media (max-width: 480px) {
  body.landing { font-size: 16px; }
  .hero h1 { font-size: 2.35rem; }
  .hero-sub { font-size: 1.03rem; line-height: 1.65; margin: 18px 0 26px; }
  .hero-proof { font-size: .92rem; }
  .record-card { font-size: .78rem; }
  .story p { line-height: 1.7; margin-bottom: 18px; }
  .story h2 { margin-bottom: 24px; }
  .feature { padding: 24px 20px; }
  .steps { padding: 44px 20px 68px; }
  .btn-big { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .record-row { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}



/* blog + faq + everything */
.blog-nav { display: flex; align-items: center; gap: 18px; }
.blog-nav a { color: var(--coal); text-decoration: none; font-weight: 600; }
.blog-main { padding: 20px 24px 70px; max-width: 760px; }
.blog-h1 { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.blog-sub { color: var(--coal-soft); margin-bottom: 28px; }
.post-list { display: grid; gap: 16px; }
.post-card {
  display: block; background: var(--white); border: 1.5px solid var(--fawn); border-radius: 18px;
  padding: 22px; text-decoration: none; color: var(--coal);
}
.post-card:hover { border-color: var(--rust); }
.post-card h2 { font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin: 6px 0 8px; }
.post-card p { color: var(--coal-soft); font-size: .95rem; }
.post-date { font-family: var(--mono); font-size: .75rem; color: var(--coal-soft); }
.post-date a { color: var(--rust-deep); }
.post-body { margin-top: 18px; }
.post-body h2 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; margin: 30px 0 10px; letter-spacing: -0.015em; }
.post-body p, .post-body li { margin-bottom: 14px; color: var(--coal); line-height: 1.7; }
.post-body ul, .post-body ol { padding-left: 22px; margin-bottom: 14px; }
.post-body a { color: var(--rust-deep); }
.post-cta { background: var(--cream); border: 1.5px solid var(--fawn); border-radius: 18px; padding: 22px; margin-top: 34px; }
.post-cta p { margin-bottom: 14px; }

.everything { padding: 24px 24px 8px; }
.everything h2, .faq h2 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 3vw, 2rem); text-align: center; margin-bottom: 28px;
}
.every-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 1020px; margin: 0 auto; }
.every-grid div {
  background: var(--white); border: 1.5px solid var(--fawn); border-radius: 14px;
  padding: 14px 16px; font-size: .93rem; color: var(--coal);
}
@media (max-width: 760px) { .every-grid { grid-template-columns: 1fr; } }

.faq { padding: 44px 24px 20px; max-width: 760px; }
.faq-item {
  background: var(--white); border: 1.5px solid var(--fawn); border-radius: 14px;
  margin-bottom: 10px; padding: 0 18px;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; position: relative;
}
.faq-item summary::after { content: '+'; position: absolute; right: 0; color: var(--rust); font-weight: 700; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { padding-bottom: 16px; color: var(--coal-soft); line-height: 1.65; }

/* landing: example timeline */
.tl-demo { padding: 56px 0 8px; }
.tl-demo-sub { color: var(--muted, rgba(27,32,41,0.66)); max-width: 560px; margin: 10px 0 22px; line-height: 1.6; }
.tl-demo-card { background: #fff; border: 1px solid rgba(0,0,0,0.09); border-radius: 18px; padding: 20px 22px; max-width: 560px; box-shadow: 0 8px 28px rgba(19,16,16,0.07); }
.tld-date { font-size: 0.72rem; letter-spacing: 0.12em; font-weight: 700; color: #B7935A; margin-bottom: 10px; }
.tld-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.tld-item:last-child { border-bottom: none; }
.tld-icon { font-size: 1.1rem; flex-shrink: 0; }
.tld-title { font-weight: 600; line-height: 1.45; }
.tld-time { color: rgba(27,32,41,0.55); font-weight: 400; font-size: 0.8rem; white-space: nowrap; }
.tld-photo { max-width: 200px; border-radius: 10px; margin: 8px 0; display: block; }
.tld-reaction { background: rgba(183,147,90,0.07); border-left: 3px solid #B7935A; border-radius: 0 10px 10px 0; padding: 8px 12px; margin: 6px 0; font-style: italic; line-height: 1.5; font-size: 0.92rem; }
.tld-sent { font-size: 0.78rem; color: rgba(27,32,41,0.55); margin-top: 4px; }
.tld-hi { color: #B3271B; font-size: 0.8rem; }
@media (max-width: 600px) { .tl-demo-card { padding: 14px 14px; } }

/* deck-inspired: whole-life word wall + she's-waiting card (warm dark) */
.whole-life, .waiting { background: linear-gradient(160deg, #1B2029, #242B38); color: rgba(255,255,255,0.92); padding: 72px 0; }
.eyebrow2 { font-size: 0.75rem; letter-spacing: 0.22em; font-weight: 700; color: #D2B183; margin-bottom: 14px; }
.whole-life h2, .waiting h2 { font-size: clamp(2rem, 5.5vw, 3.4rem); line-height: 1.08; font-weight: 700; margin-bottom: 28px; }
.tl2 { color: #D2B183; }
.wl-words { display: grid; grid-template-columns: repeat(2, minmax(120px, 220px)); gap: 6px 34px; font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 700; }
.wl-sub { margin-top: 26px; opacity: 0.85; max-width: 34em; line-height: 1.6; }
.from-card { background: rgba(247,240,231,0.05); border: 1.5px solid #D2B183; border-radius: 16px; padding: 22px 24px; max-width: 480px; }
.from-card p { margin: 10px 0; line-height: 1.5; }
.from-kicker { font-family: 'Hanken Grotesk', sans-serif; font-size: 0.75rem; letter-spacing: 0.16em; color: #D2B183; }

/* brand film */
.film { background: #1B2029; padding: 28px 0; }
.film video { width: 100%; max-width: 620px; aspect-ratio: 16/9; object-fit: cover; display: block; margin: 0 auto; border-radius: 16px; }
.film-cap { text-align: center; color: #D2B183; font-weight: 700; margin-top: 12px; font-size: 0.9rem; letter-spacing: 0.06em; }
.cta-assure { font-weight: 700; font-size: 1.05rem; color: #1B2029; margin: 12px 0 2px; letter-spacing: 0.01em; }
.steps-cta .cta-assure { text-align: center; }

/* mobile hero: less wall, more dog */
.hero-sub-short { display: none; }
@media (max-width: 700px) {
  .hero-sub, .hero-proof { display: none; }
  .hero-sub-short { display: block; font-size: 1.05rem; line-height: 1.5; color: rgba(27,32,41,0.66); margin: 10px 0 18px; }
  .hero-copy { padding-bottom: 8px; }
}

/* why-start-today */
.owe { background: rgba(183,147,90,0.07); padding: 64px 0; }
.owe h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.1; font-weight: 700; margin: 6px 0 24px; color: #1B2029; }
.owe-cols { max-width: 620px; }
.owe-cols p { line-height: 1.65; margin: 14px 0; color: #1B2029; font-size: 1.06rem; }
.owe-cta { margin-top: 26px; }

/* stories save lives */
.ssl { background: rgba(183,147,90,0.07); padding: 60px 0; border-top: 1px solid rgba(27,32,41,0.14); }
.ssl h2 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; color: #1B2029; margin-bottom: 26px; }
.tl2b { color: #B7935A; }
.ssl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 34px; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.ssl-grid div { border-top: 1.5px solid #1B2029; padding-top: 10px; }
.ssl-grid .tl2b { border-top-color: #B7935A; }
.ssl-foot { font-family: 'Hanken Grotesk', sans-serif; font-size: 0.75rem; letter-spacing: 0.16em; color: #1B2029; margin-top: 22px; }
.owe-photo-wrap { margin: 6px 0 22px; }
.owe-photo { max-width: min(380px, 100%); border-radius: 16px; box-shadow: 0 10px 30px rgba(19,16,16,0.14); display: block; }
.owe-cap { font-size: 0.85rem; color: #1B2029; font-weight: 700; margin-top: 10px; }
@media (min-width: 900px) {
  .owe .wrap { display: grid; grid-template-columns: 400px 1fr; gap: 40px; align-items: start; }
  .owe .wrap > .eyebrow2, .owe .wrap > h2, .owe .wrap > .owe-cta { grid-column: 1 / -1; }
}

/* dark-section overrides: gold-on-dark #D2B183, white-alpha text */
.footer .paw { color: #D2B183; }
.story-allpersons { color: rgba(255,255,255,0.7); border-top-color: rgba(210,177,131,0.35); }
.btn-rust { color: #fff; }

/* stork logo mark */
.logo-mark { height: 34px; width: auto; vertical-align: -10px; }
.footer .logo-mark { vertical-align: -11px; }

/* lockups: logo + name never wrap or stack */
.wordmark { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.footer .wordmark { display: inline-flex; }
/* standalone record card (no hero photo anymore): contained, never overlapping */
.record-card.standalone { position: static; margin: 12px auto 0; width: min(390px, 100%); box-shadow: 0 14px 40px rgba(27,32,41,0.16); }
.hero-media { display: flex; flex-direction: column; align-items: center; justify-content: center; }
@media (max-width: 860px) {
  .record-card.standalone { margin: 18px auto 0; width: min(390px, 100%); }
  .hero-cap { text-align: center; margin-top: 14px; }
}
.record-row:nth-child(7) { animation-delay: .9s; }
