/* ============================================================
   Story Engineers — v4 "Quiet Gold, More Motion"
   Instrument Serif display · Instrument Sans body ·
   hand-drawn gold underline that draws itself in ·
   layered drifting gold blobs + grain · scroll-driven reveals ·
   counting stats · self-drawing process line.
   ============================================================ */

:root {
  --paper: #FEFDFB;
  --tint: #FAF8F1;
  --ink: #16140F;
  --muted: #6E6A5E;
  --line: #ECE8DD;
  --gold: #E8CC00;
  --gold-deep: #A38F00;
  --ph: #C2410C;
  --ph-bg: #FEF0E7;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, sans-serif;
  --underline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M3 8 C 55 2.5, 140 1.5, 197 5.5' stroke='%23E8CC00' stroke-width='4.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 760px; }

/* ---------- type ---------- */

h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: 0; }

h1 { font-size: clamp(48px, 6.6vw, 86px); text-wrap: balance; }
h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 22px; max-width: 1000px; text-wrap: balance; }
h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; line-height: 1.35; margin-bottom: 10px; letter-spacing: -0.01em; }

/* signature accent: italic serif + hand-drawn gold underline that draws in */
h1 em, h2 em, .cost-kicker em, .quote-feature em {
  font-style: italic;
  font-weight: 700;
  background-image: var(--underline);
  background-repeat: no-repeat;
  background-position: 0 96%;
  background-size: 0% 0.42em;
  padding-bottom: 0.14em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: background-size .9s cubic-bezier(.22,.61,.36,1) .45s;
}
.reveal.in em, .in h1 em, .in h2 em, .in em { background-size: 100% 0.42em; }
.no-js h1 em, .no-js h2 em { background-size: 100% 0.42em; }

.lede { font-size: 19px; color: var(--muted); max-width: 620px; margin-bottom: 56px; }

.eyebrow, .bragbar-label, .cost-label, .price-tier, .note, .price-note, .card-num, .step-num {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow { color: var(--gold-deep); margin-bottom: 26px; }
.eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 10px; vertical-align: 1px; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,204,0,.5); }
  50% { box-shadow: 0 0 0 7px rgba(232,204,0,0); }
}

/* ---------- placeholder chips ---------- */

.ph-chip {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--ph-bg);
  color: var(--ph);
  border: 1px solid var(--ph);
  border-radius: 3px;
  padding: 1px 6px;
  vertical-align: middle;
  white-space: nowrap;
}

/* ---------- reveal animation (deeper: rise + blur) ---------- */

.reveal { opacity: 0; transform: translateY(30px); filter: blur(7px); transition: opacity .85s cubic-bezier(.22,.61,.36,1), transform .85s cubic-bezier(.22,.61,.36,1), filter .85s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .blob, .marquee ul, .eyebrow::before, .steps::before { animation: none !important; transition: none !important; }
  h1 em, h2 em, .cost-kicker em, .quote-feature em { background-size: 100% 0.42em; transition: none; }
}

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.wordmark { font-family: var(--serif); font-size: 22px; color: var(--ink); text-decoration: none; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #2B2820; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22,20,15,.22); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #C9C4B4; }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(22,20,15,.08); }
.btn-accent { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(232,204,0,.4); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- hero: layered drifting blobs + grain ---------- */

.hero { padding: 140px 0 115px; position: relative; overflow: hidden; }

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.blob-1 {
  width: 640px; height: 640px; right: -160px; top: -240px;
  background: radial-gradient(circle, rgba(232,204,0,.34), transparent 65%);
  animation: blob1 18s ease-in-out infinite alternate;
}
.blob-2 {
  width: 480px; height: 480px; right: 220px; top: 120px;
  background: radial-gradient(circle, rgba(244,226,120,.30), transparent 65%);
  animation: blob2 23s ease-in-out infinite alternate;
}
.blob-3 {
  width: 420px; height: 420px; left: -180px; bottom: -200px;
  background: radial-gradient(circle, rgba(232,204,0,.16), transparent 65%);
  animation: blob3 26s ease-in-out infinite alternate;
}
@keyframes blob1 { from { transform: translate(0,0) scale(1); } to { transform: translate(-150px, 110px) scale(1.2); } }
@keyframes blob2 { from { transform: translate(0,0) scale(1); } to { transform: translate(120px, -70px) scale(.85); } }
@keyframes blob3 { from { transform: translate(0,0) scale(1); } to { transform: translate(100px, -60px) scale(1.18); } }

/* film grain over the hero */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 30px; max-width: 900px; }
.hero-sub { font-size: 20px; color: var(--muted); max-width: 600px; margin-bottom: 42px; }

/* ---------- brag bar (marquee, pauses on hover) ---------- */

.bragbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; overflow: hidden; }
.bragbar-label { color: var(--muted); margin-bottom: 18px; }
.marquee { display: flex; gap: 64px; width: max-content; }
.marquee ul { list-style: none; display: flex; gap: 64px; animation: scroll 34s linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
.marquee li { font-family: var(--serif); font-size: 21px; color: var(--muted); white-space: nowrap; transition: color .2s; }
.marquee li:hover { color: var(--ink); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(calc(-100% - 64px)); } }

/* ---------- sections ---------- */

.section { padding: 110px 0; }
.section-tint { background: var(--tint); }
.section-ink { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.section-ink .lede { color: #A9A498; }

/* ---------- problem cards ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  border: 1px solid var(--line); border-radius: 16px; padding: 30px;
  background: #fff;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(22,20,15,.09); border-color: #DDD7C6; }
.card-num { color: var(--gold-deep); margin-bottom: 14px; }
.card p:last-child { color: var(--muted); font-size: 16px; }

/* ---------- quotes ---------- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quotes blockquote {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  background: #fff;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease;
}
.quotes blockquote:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(22,20,15,.09); }
.quotes p { font-family: var(--serif); font-size: 21px; line-height: 1.45; margin-bottom: 18px; }
.quotes cite, .receipt-quote cite, .quote-feature cite { font-family: var(--sans); font-style: normal; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- process: zig-zag, line draws itself as you arrive ---------- */

.steps { list-style: none; position: relative; padding: 20px 0; }
.steps::before {
  content: "";
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(var(--gold) 0 0) no-repeat, var(--line);
  background-size: 100% 100%;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.6s cubic-bezier(.22,.61,.36,1);
}
.steps.in::before { transform: scaleY(1); }
.steps li {
  position: relative;
  width: 46.5%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 28px 30px;
  margin-bottom: 36px;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease;
}
.steps li:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(22,20,15,.08); }
.steps li:nth-child(odd) { margin-right: auto; }
.steps li:nth-child(even) { margin-left: auto; }
.steps li::after {
  content: "";
  position: absolute; top: 38px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--paper);
  animation: pulse 2.4s ease-in-out infinite;
}
.steps li:nth-child(odd)::after { right: calc(-3.77% - 7px); }
.steps li:nth-child(even)::after { left: calc(-3.77% - 7px); }
.step-num { color: var(--gold-deep); margin-bottom: 10px; }
.steps p:last-child { color: var(--muted); font-size: 15.5px; }

/* ---------- work grid ---------- */

.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; }
.work-tile {
  aspect-ratio: 4 / 5;
  border: 1px dashed #CFC9B8;
  border-radius: 16px;
  background: #fff;
  display: flex; align-items: flex-end;
  padding: 16px;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease;
}
.work-tile:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: 0 18px 40px rgba(22,20,15,.08); }
.work-tile figcaption { font-size: 13px; line-height: 1.5; color: var(--muted); }
.note { color: var(--muted); }

/* ---------- receipts ---------- */

.receipt-row {
  display: grid; grid-template-columns: 5fr 6fr; gap: 48px;
  border-top: 1px solid var(--line);
  padding: 52px 0;
  align-items: center;
}
.receipt-quote p { font-family: var(--serif); font-size: 27px; line-height: 1.35; margin-bottom: 16px; }
.receipt-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.receipt-stats .stat:first-child { grid-column: 1 / -1; }
.stat-big { font-family: var(--serif); font-size: 52px; line-height: 1.02; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.stat p:last-child { color: var(--muted); font-size: 15px; }
.quote-feature { border-top: 1px solid var(--line); padding: 64px 0 8px; max-width: 900px; }
.quote-feature p { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.3; margin-bottom: 18px; }

/* ---------- cost anchor ---------- */

.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
.cost-card { border: 1px solid var(--line); border-radius: 16px; padding: 34px; background: #fff; }
.cost-card-us { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cost-label { margin-bottom: 24px; color: var(--muted); }
.cost-card-us .cost-label { color: var(--gold); }
.cost-card ul { list-style: none; }
.cost-card li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.cost-card-us li { border-color: #2E2B22; }
.cost-card li span:last-child { color: var(--muted); }
.cost-card-us li span:last-child { color: #A9A498; }
.cost-total { display: flex; justify-content: space-between; padding-top: 20px; font-family: var(--serif); font-size: 26px; }
.cost-card-us .cost-total span:last-child { color: var(--gold); }
.cost-fine { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.cost-card-us .cost-fine { color: #A9A498; }
.cost-kicker { font-family: var(--serif); font-size: 28px; text-align: center; }

/* ---------- pricing ---------- */

.price-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--tint);
  padding: 34px 38px;
  margin-bottom: 24px;
}
.price-banner h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; margin-bottom: 8px; }
.price-banner p:last-of-type { max-width: 620px; font-size: 15.5px; color: var(--muted); }
.price-banner .price-tier { color: var(--gold-deep); margin-bottom: 8px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
  border: 1px solid var(--line); border-radius: 16px; padding: 32px; background: #fff;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(22,20,15,.09); }
.price-card-featured { border-color: var(--gold); border-width: 1.5px; }
.price-card h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; }
.price-tier { color: var(--gold-deep); }
.price-num { font-family: var(--serif); font-size: 36px; }
.price-list { list-style: none; }
.price-list li { padding: 8px 0 8px 22px; position: relative; color: var(--muted); font-size: 15px; border-bottom: 1px solid var(--line); }
.price-list li::before { content: "—"; position: absolute; left: 0; color: var(--gold-deep); }
.price-card .btn { margin-top: auto; text-align: center; }
.price-card > p:not(.price-tier):not(.price-num) { color: var(--muted); font-size: 15.5px; }
.price-note { text-align: center; margin-top: 30px; color: var(--muted); }

/* ---------- faq ---------- */

details { border-bottom: 1px solid var(--line); }
details summary {
  font-family: var(--serif); font-size: 22px;
  padding: 24px 40px 24px 0;
  cursor: pointer; list-style: none; position: relative;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+"; color: var(--gold-deep);
  position: absolute; right: 4px; top: 22px; font-size: 24px;
  transition: transform .25s ease;
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 26px; color: var(--muted); max-width: 680px; }

/* ---------- final cta (blobs live here too) ---------- */

.cta-final { text-align: center; padding: 130px 0; }
.cta-final::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px; left: 50%; top: -320px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(232,204,0,.13), transparent 65%);
  filter: blur(60px);
  animation: blob2 20s ease-in-out infinite alternate;
  pointer-events: none;
}
.cta-final h2 { max-width: 840px; margin: 0 auto 22px; position: relative; }
.cta-final .lede { margin: 0 auto 44px; position: relative; }
.cta-final .btn { position: relative; }

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--line); padding: 44px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer .wordmark { font-size: 18px; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .cost-grid { grid-template-columns: 1fr; }
  .receipt-row { grid-template-columns: 1fr; gap: 26px; }
  .price-banner { flex-direction: column; align-items: flex-start; }
  .steps::before { left: 8px; }
  .steps li { width: auto; margin-left: 28px !important; margin-right: 0 !important; }
  .steps li::after { left: -25px !important; right: auto !important; top: 32px; }
}

@media (max-width: 760px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .receipt-stats { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section { padding: 72px 0; }
  .hero { padding: 90px 0 66px; }
}

/* ---------- real assets: logos, mark, headshots ---------- */

.wordmark .mark { height: 22px; vertical-align: -4px; margin-right: 2px; }
.footer .wordmark .mark { height: 18px; }

.marquee li { display: flex; align-items: center; height: 34px; }
.marquee li img {
  height: 26px; width: auto; display: block;
  filter: grayscale(1) opacity(.55);
  transition: filter .25s ease;
}
.marquee li:hover img { filter: none; }

.quote-person { display: flex; align-items: center; gap: 14px; }
.quote-person img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--gold); }

.quotes .quote-person { margin-top: 4px; }
.quotes .quote-person img, .receipt-quote .quote-person img { width: 88px; height: 88px; }

.lede strong { color: var(--ink); font-weight: 600; }

/* ---------- work gallery: real post screenshots, masonry ---------- */

.work-grid { display: block; columns: 3; column-gap: 20px; }
.work-card {
  break-inside: avoid;
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease;
}
.work-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(22,20,15,.10); }
.work-card img { width: 100%; display: block; }
.work-card figcaption {
  display: flex; flex-direction: column; gap: 3px;
  padding: 13px 16px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  border-top: 1px solid var(--line);
}
.work-card .work-stat { font-weight: 500; color: var(--gold-deep); white-space: nowrap; }
.work-grid .work-tile { break-inside: avoid; margin-bottom: 20px; aspect-ratio: 3/2; }

@media (max-width: 960px) { .work-grid { columns: 2; } }
@media (max-width: 640px) { .work-grid { columns: 1; } }

.work-card { position: relative; }
.work-card .stretch { position: absolute; inset: 0; z-index: 1; border-radius: 16px; }

/* ---------- gold closing section ---------- */

.section-gold { background: var(--gold); color: var(--ink); position: relative; overflow: hidden; }
.section-gold .lede { color: #4A4200; }
.section-gold h2 em {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M3 8 C 55 2.5, 140 1.5, 197 5.5' stroke='%2316140F' stroke-width='4.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}
.section-gold.cta-final::before { display: none; }
.embed-card {
  max-width: 900px; margin: 48px auto 0;
  background: #fff; border-radius: 20px;
  box-shadow: 0 24px 60px rgba(22,20,15,.18);
  overflow: hidden;
}
.embed-card iframe { width: 100%; height: 640px; border: 0; display: block; }

/* ---------- booking modal ---------- */

.book-modal { position: fixed; inset: 0; z-index: 100; }
.book-backdrop { position: absolute; inset: 0; background: rgba(22,20,15,.6); backdrop-filter: blur(6px); }
.book-dialog {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: min(1020px, calc(100vw - 32px)); max-height: calc(100vh - 48px);
  display: grid; grid-template-columns: 320px 1fr;
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.4);
}
.book-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink);
}
.book-side { background: var(--tint); padding: 34px 28px; overflow-y: auto; }
.book-side img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--gold); margin-bottom: 14px; }
.book-name { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.book-side h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; margin-bottom: 16px; }
.book-side ul { list-style: none; margin-bottom: 20px; }
.book-side li { padding: 6px 0 6px 22px; position: relative; font-size: 14.5px; color: var(--muted); }
.book-side li::before { content: "→"; position: absolute; left: 0; color: var(--gold-deep); }
.book-either { border: 1px solid var(--gold); border-radius: 12px; background: #FDF9E3; padding: 16px; }
.book-either-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 6px; }
.book-either p:last-child { font-size: 14.5px; font-style: italic; font-family: var(--serif); font-size: 17px; }
.book-cal iframe { width: 100%; height: min(680px, calc(100vh - 48px)); border: 0; display: block; }

@media (max-width: 860px) {
  .book-dialog { grid-template-columns: 1fr; overflow-y: auto; }
  .book-side { padding: 26px 22px; }
}

.book-cal { overflow-y: auto; max-height: calc(100vh - 48px); padding: 8px; }
.embed-card { padding: 10px; }
.zcal-inline-widget > a { display: none; }

/* cost comparison: red = the money in-house burns, green = ours */
.cost-card:not(.cost-card-us) li span:last-child { color: #B42318; }
.cost-card:not(.cost-card-us) .cost-total span:last-child { color: #B42318; }
.cost-card-us li span:last-child { color: #7CCB89; }
.cost-card-us .cost-total span:last-child { color: #7CCB89; }

/* ---------- hero animation variants ---------- */

/* A: floating post cards */
.float-cards { position: absolute; inset: 0; transform: translate(calc(var(--mx, 0) * 26px), calc(var(--my, 0) * 18px)); transition: transform .3s ease-out; pointer-events: none; }
.float-card {
  position: absolute; width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px; box-shadow: 0 22px 50px rgba(22,20,15,.10);
}
.fc-1 { right: 6%; top: 14%; animation: fcbob 11s ease-in-out infinite alternate; }
.fc-2 { right: 20%; top: 46%; width: 190px; animation: fcbob 14s ease-in-out 1s infinite alternate-reverse; }
.fc-3 { right: 2%; top: 62%; width: 175px; animation: fcbob 12s ease-in-out .5s infinite alternate; }
@keyframes fcbob { from { transform: translateY(-14px) rotate(-1.2deg); } to { transform: translateY(14px) rotate(1.4deg); } }
.fc-head { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.fc-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); flex: none; }
.fc-lines { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.fc-lines span { height: 6px; border-radius: 3px; background: var(--line); }
.fc-lines span:first-child { width: 70%; background: #D9D3C2; }
.fc-lines span:last-child { width: 45%; }
.fc-body { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.fc-body span { height: 7px; border-radius: 3px; background: var(--tint); border: 1px solid var(--line); }
.fc-body span:nth-child(2) { width: 88%; }
.fc-body span:nth-child(3) { width: 62%; }
.fc-foot { font-size: 12px; font-weight: 600; color: var(--gold-deep); }
@media (max-width: 1100px) { .float-cards { display: none; } }

/* B: network constellation */
.net-canvas { position: absolute; inset: 0; pointer-events: none; }

/* C: living marker */
.marker-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mk { fill: none; stroke: var(--gold); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 1700; }
.mk1 { animation: mkdraw 7.5s ease-in-out infinite; }
.mk2 { stroke-width: 8; animation: mkdraw 7.5s ease-in-out 1.2s infinite; }
@keyframes mkdraw {
  0% { stroke-dashoffset: 1700; opacity: 0; }
  8% { opacity: .5; }
  48% { stroke-dashoffset: 0; opacity: .5; }
  72% { opacity: 0; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
