/* Wonda Studio: studio-shelf layout. Forest green ink, gold highlight, browser-frame project cards. */
:root {
  --paper: #FBFAF6;
  --surface: #FFFFFF;
  --ink: #17261D;
  --muted: #5A665E;
  --line: #E3E0D5;
  --plum: #1F3B2D;          /* forest green (brand) */
  --plum-soft: #F3F1EA;     /* linen */
  --marigold: #B8913F;      /* gold */
  --marigold-soft: #EEE2C4; /* soft gold highlight */
  --sage: #9DB5A0;
  --btn-bg: #1F3B2D;
  --btn-fg: #F4F1E6;
  --frame: #FFFFFF;
  --shadow: rgba(20, 38, 28, .4);

  --display: "Syne", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Outfit", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.7rem;
  --step-3: clamp(2rem, 4vw, 2.6rem);
  --step-4: clamp(2.4rem, 6vw, 4.1rem);

  --radius: 14px;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #101913; --surface: #17231C; --ink: #EDF0E8; --muted: #A2AFA5; --line: #2A3A31;
    --plum: #9DB5A0; --plum-soft: #19271F; --marigold: #D8B56E; --marigold-soft: #3A3220;
    --btn-bg: #D8B56E; --btn-fg: #14231A; --frame: #1E2C24; --shadow: rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #101913; --surface: #17231C; --ink: #EDF0E8; --muted: #A2AFA5; --line: #2A3A31;
  --plum: #9DB5A0; --plum-soft: #19271F; --marigold: #D8B56E; --marigold-soft: #3A3220;
  --btn-bg: #D8B56E; --btn-fg: #14231A; --frame: #1E2C24; --shadow: rgba(0, 0, 0, .55);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.025em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn-bg); color: var(--btn-fg); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--plum); }
.logo-mark { width: 38px; height: 38px; flex: none; color: var(--plum); }
.logo-mark .dot-a { fill: var(--marigold); }
.logo-mark .dot-s { fill: var(--sage); }
.logo-word { display: flex; flex-direction: column; line-height: 1; font-family: var(--display); }
.logo-word b { font-weight: 700; font-size: 1.45rem; letter-spacing: -0.01em; color: var(--plum); }
.logo-word small { font-weight: 500; font-size: .62rem; letter-spacing: .5em; color: var(--marigold); margin-top: 4px; padding-left: 1px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 999px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); background: var(--plum-soft); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--plum-soft); }
.nav-links .btn { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 10px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px)); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-links .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--btn-bg); color: var(--btn-fg) !important;
  text-decoration: none; font-weight: 600; font-family: var(--body); font-size: 1rem;
  padding: 12px 22px; border-radius: 999px; border: 2px solid var(--btn-bg); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn-small { padding: 8px 16px; font-size: .92rem; }

/* Type helpers */
.eyebrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mark { background: linear-gradient(transparent 62%, var(--marigold-soft) 62%, var(--marigold-soft) 92%, transparent 92%); padding: 0 .08em; }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 40ch; line-height: 1.5; }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 36px; }
.section-head h2 { font-size: var(--step-3); max-width: 20ch; }
.section-head p { color: var(--muted); max-width: 46ch; }
.prose { max-width: 66ch; }
.prose p + p { margin-top: 1em; }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: var(--step-4); font-weight: 700; margin-block: 14px 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding: 0; list-style: none; color: var(--muted); font-size: var(--step--1); }
.hero-facts strong { color: var(--ink); font-family: var(--display); font-size: 1.35rem; display: block; line-height: 1.1; }
.hero-stack { position: relative; min-height: 400px; }
.hero-stack .project { position: absolute; width: 78%; }
.hero-stack .project .browser { box-shadow: 0 30px 60px -30px var(--shadow); }
.hero-stack .project-meta, .hero-stack .project p, .hero-stack .visit { display: none; }
.hero-stack .project:nth-child(1) { top: 0; left: 0; transform: rotate(-3deg); }
.hero-stack .project:nth-child(2) { top: 90px; right: 0; transform: rotate(2.5deg); z-index: 2; }
.hero-stack .project:nth-child(3) { top: 200px; left: 8%; transform: rotate(-1deg); z-index: 3; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stack { min-height: 330px; max-width: 520px; }
}
@media (max-width: 480px) { .hero-stack { min-height: 390px; } .hero-stack .project:nth-child(3) { top: 160px; } .hero-stack .project:nth-child(2) { top: 70px; } }

/* Browser frame (project preview) */
.browser { background: var(--frame); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 5px; flex: none; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.url { flex: 1; min-width: 0; font-family: var(--mono); font-size: .74rem; color: var(--muted); background: var(--paper); border-radius: 6px; padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-view { aspect-ratio: 16 / 10; max-width: 100%; position: relative; display: grid; place-items: center; text-align: center; padding: 18px; overflow: hidden; }
.browser-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.browser-view .site-name { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.browser-view .site-tag { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-top: 8px; }

/* Project grid */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font: inherit; font-size: .92rem; font-weight: 500; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; }
.chip:hover { color: var(--ink); border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.project { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.project .browser { transition: transform .2s ease, box-shadow .2s ease; }
.project:hover .browser { transform: translateY(-4px); box-shadow: 0 22px 40px -24px var(--shadow); }
.project-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.project h3 { font-size: 1.25rem; }
.project .niche { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--plum); white-space: nowrap; }
.project p { color: var(--muted); font-size: .98rem; }
.project .visit { font-weight: 600; font-size: .95rem; color: var(--ink); }
.project:hover .visit { text-decoration: underline; text-decoration-color: var(--marigold); text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.service { padding: 28px 28px 30px 0; display: flex; flex-direction: column; gap: 10px; }
.service + .service { padding-left: 28px; border-left: 1px solid var(--line); }
.service h3 { font-size: var(--step-1); }
.service p { color: var(--muted); }
.service .tag { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--plum); }
@media (max-width: 820px) {
  .services { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 24px 0; border-left: 0; }
  .service + .service { border-top: 1px solid var(--line); }
}

/* Process band */
.band { background: var(--plum-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: .82rem; color: var(--plum); border-bottom: 2px solid var(--marigold); padding-bottom: 10px; margin-bottom: 6px; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); font-size: .98rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Templates */
.template { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.template .browser { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.template-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.template-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.template h3 { font-size: 1.3rem; }
.price { font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.template-top { flex-wrap: wrap; }
.template p { color: var(--muted); font-size: .98rem; }
.template .niche { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--plum); }
.template-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 32px; }
.post-card { display: flex; flex-direction: column; gap: 10px; padding-block: 24px; border-top: 1px solid var(--line); text-decoration: none; }
.post-card h3 { font-size: 1.3rem; }
.post-card p { color: var(--muted); font-size: .98rem; }
.post-card .meta { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-card:hover h3 { text-decoration: underline; text-decoration-color: var(--marigold); text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* Article */
.article { padding-block: clamp(40px, 7vw, 80px); }
.article header { max-width: 760px; margin-bottom: 36px; }
.article h1 { font-size: var(--step-3); margin-block: 12px 16px; }
.article .meta { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.article-body { max-width: 68ch; }
.article-body h2 { font-size: var(--step-2); margin-top: 1.8em; margin-bottom: .5em; }
.article-body h3 { font-size: var(--step-1); margin-top: 1.4em; margin-bottom: .4em; }
.article-body p, .article-body ul, .article-body ol { margin-bottom: 1em; }
.article-body li { margin-bottom: .4em; }
.article-body a { text-decoration-color: var(--marigold); text-underline-offset: 3px; }
.article-cta { margin-top: 44px; padding: 26px 28px; border-radius: var(--radius); background: var(--plum-soft); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.article-cta p { font-weight: 600; max-width: 42ch; }
.back { display: inline-block; margin-bottom: 18px; color: var(--muted); text-decoration: none; font-size: .95rem; }
.back:hover { color: var(--ink); }

/* Page heads */
.page-head { padding-block: clamp(48px, 8vw, 88px) 12px; }
.page-head h1 { font-size: var(--step-4); margin-block: 12px 18px; max-width: 18ch; }

/* About */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.portrait { aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius); background: var(--btn-bg); color: var(--btn-fg); display: grid; place-items: center; font-family: var(--display); font-size: 7rem; font-weight: 700; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 32px; }
.facts div { background: var(--surface); padding: 18px 20px; }
.facts dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; }
.toolkit { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.toolkit li { font-size: .9rem; border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; background: var(--surface); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .portrait { max-width: 360px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 34px); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--plum); outline-offset: 1px; border-color: transparent; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.form-status { font-weight: 600; }
.form-status.ok { color: var(--plum); }
.hidden-field { position: absolute; left: -9999px; }
.contact-side { display: flex; flex-direction: column; gap: 26px; }
.email-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.email-box code { font-family: var(--mono); font-size: .95rem; user-select: all; word-break: break-all; flex: 1; min-width: 0; }
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: n; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; gap: 12px; color: var(--muted); }
.next-steps li::before { content: counter(n); width: 30px; height: 30px; border-radius: 50%; background: var(--marigold-soft); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.next-steps strong { color: var(--ink); display: block; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta { background: var(--btn-bg); color: var(--btn-fg); border-radius: 22px; padding: clamp(32px, 6vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { font-size: var(--step-3); max-width: 18ch; }
.cta p { opacity: .85; margin-top: 10px; max-width: 44ch; }
.cta .btn { background: #D8B56E; border-color: #D8B56E; color: #14231A !important; }
:root[data-theme="dark"] .cta .btn { background: #14231A; border-color: #14231A; color: #D8B56E !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta .btn { background: #14231A; border-color: #14231A; color: #D8B56E !important; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: clamp(56px, 9vw, 100px); padding-block: 40px; color: var(--muted); font-size: .95rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

.empty { color: var(--muted); padding: 24px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Portrait */
.portrait-wrap { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.portrait-wrap figcaption { font-size: .8rem; color: var(--muted); }
@media (max-width: 820px) { .portrait-wrap { max-width: 360px; } }

/* Full-page screenshots: show the top, scroll through the page on hover */
.browser-view.shot { display: block; padding: 0; background-color: var(--frame); background-repeat: no-repeat; background-size: 100% auto; background-position: 50% 0; transition: background-position 7s ease-in-out; }
.project:hover .shot, .project:focus-visible .shot, .template:hover .shot, .template:focus-within .shot { background-position: 50% 100%; }
.hero-stack .shot { transition: none; }
.hero-stack .project:hover .shot { background-position: 50% 0; }
@media (prefers-reduced-motion: reduce) { .browser-view.shot { transition: none; } .project:hover .shot, .template:hover .shot { background-position: 50% 0; } }

/* ===== Agency sections ===== */
.section-head h2 { margin-top: 10px; }
.section-intro { color: var(--muted); max-width: 52ch; margin-top: 12px; }
.section-tight { padding-block: 8px; }

/* Leaks (problems) */
.leaks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0; border-top: 2px solid var(--plum); }
.leak { padding: 24px 24px 26px 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.leak + .leak { padding-left: 24px; border-left: 1px solid var(--line); }
.leak h3 { font-size: 1.15rem; }
.leak p { color: var(--muted); font-size: .98rem; }
.leak-tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--marigold); }
@media (max-width: 1000px) {
  .leaks { grid-template-columns: 1fr 1fr; }
  .leak, .leak + .leak { padding: 22px 20px 22px 0; border-left: 0; }
  .leak:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .leak:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .leaks { grid-template-columns: 1fr; }
  .leak, .leak + .leak, .leak:nth-child(even) { padding: 20px 0; border-left: 0; }
  .leak + .leak { border-top: 1px solid var(--line); }
}

/* Build / Grow / Maintain */
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stage { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.stage-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.stage-num { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stage-name { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--plum); letter-spacing: -0.02em; }
.stage h3 { font-size: 1.2rem; }
.stage p { color: var(--muted); font-size: .98rem; }
.stage:not(:last-child)::after { content: "\2192"; position: absolute; right: -17px; top: 34px; width: 14px; text-align: center; color: var(--marigold); font-weight: 700; }
@media (max-width: 900px) { .stages { grid-template-columns: 1fr; } .stage:not(:last-child)::after { content: none; } }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 24px; font-size: .97rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--marigold); border-bottom: 2px solid var(--marigold); transform: rotate(-45deg); }

/* Founding client band */
.founding { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: start; border: 1px solid var(--line); border-left: 4px solid var(--marigold); border-radius: var(--radius); background: var(--surface); padding: clamp(24px, 5vw, 48px); }
.founding h2 { font-size: var(--step-3); margin-top: 10px; }
.founding-body { display: grid; gap: 14px; justify-items: start; }
.founding-body p { color: var(--muted); max-width: 54ch; }
@media (max-width: 820px) { .founding { grid-template-columns: 1fr; } }

/* Checklist teaser */
.magnet { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; background: var(--btn-bg); color: var(--btn-fg); border-radius: 22px; padding: clamp(28px, 6vw, 60px); }
.magnet .eyebrow { color: var(--btn-fg); opacity: .75; }
.magnet h2 { font-size: var(--step-3); margin-block: 12px 14px; }
.magnet p { opacity: .85; max-width: 46ch; margin-bottom: 24px; }
.magnet .btn { background: #D8B56E; border-color: #D8B56E; color: #14231A !important; }
.magnet .magnet-list { background: color-mix(in srgb, var(--btn-fg) 8%, transparent); border-radius: var(--radius); padding: 22px 24px; }
.magnet-list { list-style: none; counter-reset: m; margin: 0; padding: 0; display: grid; gap: 12px; }
.magnet-list li { counter-increment: m; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: baseline; }
.magnet-list li::before { content: counter(m); font-family: var(--mono); font-size: .8rem; color: var(--marigold); }
.magnet .magnet-list li::before { color: #D8B56E; }
@media (max-width: 820px) { .magnet { grid-template-columns: 1fr; } }
:root[data-theme="dark"] .magnet .btn { background: #14231A; border-color: #14231A; color: #D8B56E !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .magnet .btn { background: #14231A; border-color: #14231A; color: #D8B56E !important; } }

/* CTA extras */
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-link { color: inherit; opacity: .85; font-size: .95rem; }

/* Services: fit + FAQ */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fit > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; align-content: start; }
.fit h3 { font-size: 1.2rem; }
@media (max-width: 720px) { .fit { grid-template-columns: 1fr; } }
.faq-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(24px, 5vw, 64px); }
.faq-wrap h2 { font-size: var(--step-3); margin-top: 10px; }
.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-family: var(--display); font-weight: 600; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--marigold); font-size: 1.4rem; line-height: 1; transition: transform .2s ease; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin-top: 10px; max-width: 62ch; }
.faq a { color: var(--plum); }
@media (max-width: 820px) { .faq-wrap { grid-template-columns: 1fr; } }

/* Coaches */
.coach-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0; border-top: 2px solid var(--plum); }
.coach-services > div { padding: 24px 24px 26px 0; display: grid; gap: 8px; align-content: start; }
.coach-services > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.coach-services h3 { font-size: 1.15rem; }
.coach-services p { color: var(--muted); font-size: .98rem; }
@media (max-width: 1000px) { .coach-services > div, .coach-services > div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

/* Design library card (no price) */
.template h3 { font-size: 1.3rem; }

/* Checklist page */
.gate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gate-grid .prose { display: grid; gap: 18px; }
.fine { font-size: .85rem; color: var(--muted); }
@media (max-width: 820px) { .gate-grid { grid-template-columns: 1fr; } }
.checklist { padding-top: 8px; }
.table-wrap { overflow-x: auto; margin-bottom: 1em; }
.fill-table { width: 100%; border-collapse: collapse; min-width: 420px; }
.fill-table th, .fill-table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.fill-table th { background: var(--plum-soft); font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.fill-table td:first-child { width: 42%; font-weight: 500; }
.fill-table td:last-child { height: 44px; background: var(--surface); }
.tick-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.tick-list label { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; cursor: pointer; }
.tick-list input { width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--plum); }
.tick-list input:checked + span, .tick-list input:checked ~ * { text-decoration: line-through; text-decoration-color: var(--marigold); }

/* Contact checkboxes */
.checks { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.checks legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.check { display: flex; gap: 10px; align-items: center; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--plum); flex: none; }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }

/* Footer */
.footer-brand { display: grid; gap: 10px; max-width: 38ch; }

/* Hero: websites + follow-up card */
.hero-visual { position: relative; }
.journey-card { position: absolute; right: -8px; bottom: -28px; z-index: 5; width: min(300px, 82%); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 14px; box-shadow: 0 24px 48px -24px var(--shadow); }
.journey-head { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3C9A63; box-shadow: 0 0 0 3px color-mix(in srgb, #3C9A63 25%, transparent); flex: none; }
.journey-card ol { list-style: none; margin: 0; padding: 0; }
.journey-card li { display: grid; grid-template-columns: 62px 1fr; gap: 10px; padding: 8px 0; position: relative; }
.journey-card li + li { border-top: 1px dashed var(--line); }
.j-time { font-family: var(--mono); font-size: .7rem; color: var(--muted); padding-top: 2px; font-variant-numeric: tabular-nums; }
.j-text { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.j-text b { display: block; color: var(--ink); font-weight: 600; font-size: .88rem; }
@media (max-width: 900px) { .journey-card { right: 0; bottom: -12px; } .hero-visual { margin-bottom: 20px; } }
@media (max-width: 480px) { .journey-card { position: relative; right: auto; bottom: auto; width: 100%; margin-top: -40px; } }

/* System journey */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; border-top: 2px dashed var(--line); }
.journey li { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.j-step { align-self: flex-start; position: relative; background: var(--btn-bg); color: var(--btn-fg); font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 8px; }
.journey h3 { font-size: 1.15rem; }
.journey p { color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .journey { grid-template-columns: 1fr 1fr; gap: 28px 20px; } .journey::before { display: none; } }
@media (max-width: 520px) { .journey { grid-template-columns: 1fr; } }

/* ===== Redesign v3 ===== */
/* Soft green/gold glow behind the hero */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%; background: radial-gradient(closest-side, color-mix(in srgb, var(--marigold) 18%, transparent), transparent 70%), radial-gradient(closest-side at 70% 60%, color-mix(in srgb, var(--plum) 14%, transparent), transparent 75%); pointer-events: none; z-index: 0; }
.hero > .wrap { position: relative; z-index: 1; }

/* Founder strip */
.founder-strip { display: flex; align-items: center; gap: 18px; padding-block: 22px; border-block: 1px solid var(--line); flex-wrap: wrap; }
.founder-strip img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line); flex: none; }
.fs-text { flex: 1; min-width: 220px; }
.fs-name { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.fs-text p:not(.fs-name) { color: var(--muted); font-size: .97rem; max-width: 68ch; }

/* Platforms strip */
.platforms { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; padding-block: 26px 8px; }
.platforms ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.platforms li { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--muted); letter-spacing: -0.01em; }

/* Case-study cards */
.cs { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.cs-shot { display: block; text-decoration: none; }
.cs-shot .browser { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.cs:hover .shot, .cs:focus-within .shot { background-position: 50% 100%; }
.cs-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.cs h3 { font-size: 1.3rem; }
.cs-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.tag-ind { color: var(--plum); border-color: color-mix(in srgb, var(--plum) 35%, transparent); }
.tag-real { background: var(--plum); border-color: var(--plum); color: var(--btn-fg); }
.tag-concept { background: var(--marigold-soft); border-color: var(--marigold-soft); color: var(--ink); }
.cs-ch { color: var(--muted); font-size: .95rem; }
.cs-ch b { color: var(--ink); font-weight: 600; }
.tiles-label { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.cs-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cs-tiles li { background: var(--plum-soft); border-radius: 10px; padding: 10px 10px 11px; font-size: .82rem; font-weight: 600; line-height: 1.3; color: var(--ink); min-width: 0; overflow-wrap: anywhere; border-top: 2px solid var(--marigold); }
.cs-link { font-weight: 600; font-size: .95rem; color: var(--plum); text-decoration: none; margin-top: auto; }
.cs-link:hover { text-decoration: underline; text-decoration-color: var(--marigold); text-underline-offset: 4px; }
.cs-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 4px; }
@media (max-width: 420px) { .cs-tiles { grid-template-columns: 1fr; } }

/* Animated workflow */
.flow-wrap { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(24px, 4vw, 48px); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 4vw, 40px); background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 18px 18px; }
.flow { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.node { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font-size: .84rem; line-height: 1.35; width: 100%; max-width: 240px; box-shadow: 0 2px 0 var(--line); position: relative; }
.node-k { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.node-trigger { border-color: var(--plum); max-width: 220px; text-align: center; font-weight: 600; }
.node-cond { max-width: 220px; text-align: center; font-weight: 600; }
.node-path { font-weight: 600; color: var(--plum); border-bottom: 3px solid var(--marigold); }
.node-msg { font-style: italic; color: var(--muted); }
.flow-line { width: 2px; height: 20px; background: var(--line); }
.branches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; margin-top: 20px; position: relative; padding-top: 18px; }
.branches::before { content: ""; position: absolute; top: 0; left: 16.6%; right: 16.6%; height: 18px; border: 2px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; }
.branches::after { content: ""; position: absolute; top: -20px; left: 50%; width: 2px; height: 20px; background: var(--line); }
.branch { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.branch .node { max-width: none; }
.flow-copy { display: grid; gap: 14px; align-content: start; }
.flow-copy h3 { font-size: 1.4rem; }
.flow-copy > p { color: var(--muted); }
@media (max-width: 980px) { .flow-wrap { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .branches { grid-template-columns: 1fr; } .branches::before { display: none; } .branch + .branch { padding-top: 10px; border-top: 1px dashed var(--line); } }
/* the "patient moving through" pulse: each node lights up in turn */
@keyframes nodePulse { 0%, 100% { box-shadow: 0 2px 0 var(--line); border-color: var(--line); } 6%, 14% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--marigold) 45%, transparent); border-color: var(--marigold); } }
@media (prefers-reduced-motion: no-preference) {
  .flow .node { animation: nodePulse 9s ease-in-out infinite; }
  .flow .node-trigger { animation-delay: 0s; }
  .flow .node-cond { animation-delay: .8s; }
  .flow .branch .node:nth-child(1) { animation-delay: 1.6s; }
  .flow .branch .node:nth-child(2) { animation-delay: 2.4s; }
  .flow .branch .node:nth-child(3) { animation-delay: 3.2s; }
  .flow .branch .node:nth-child(4) { animation-delay: 4s; }
  .flow .b2 .node { animation-name: nodePulse; }
}
.sub-head { font-size: 1.3rem; margin: 48px 0 20px; }

/* Automation gallery */
.auto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.auto-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.auto-shot { display: block; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; background: #F2F3F6; border-bottom: 1px solid var(--line); }
.auto-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .6s ease; }
.auto-card:hover .auto-shot img { transform: scale(1.04); }
.auto-body { padding: 16px 18px 20px; display: grid; gap: 8px; }
.auto-body h3 { font-size: 1.1rem; }
.auto-body p { color: var(--muted); font-size: .92rem; }

/* Founding partner extras */
.spots { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.spots span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--marigold); color: #14231A; font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: 0; }

/* Founder section */
.founder { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder .portrait { max-height: 560px; }
.founder .portrait img { object-position: 50% 15%; }
.founder-copy { display: grid; gap: 16px; }
.founder-copy h2 { font-size: var(--step-3); }
.founder-copy p:not(.lead) { color: var(--muted); max-width: 60ch; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } .founder .portrait-wrap { max-width: 340px; } }

/* Teardown magnet tweaks */
.magnet .cta-link { color: var(--btn-fg); align-self: center; }
.magnet .hero-actions { margin-top: 0; align-items: center; }

/* Reveal on scroll (only for elements below the fold, only with JS) */
[data-reveal].pre { opacity: 0; transform: translateY(18px); }
[data-reveal].pre.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
@media (prefers-reduced-motion: reduce) { [data-reveal].pre { opacity: 1; transform: none; } }

/* =====================================================================
   SOFT PREMIUM (v4): white page, soft sage / gold / blush tints,
   Fraunces serif headings, DM Sans body, rounded shapes.
   Light only: the dark-mode blocks above are overridden on purpose.
   ===================================================================== */
:root,
:root[data-theme="dark"] {
  --paper: #FFFFFF; --surface: #FFFFFF; --ink: #161A17; --muted: #5F6762; --line: #ECEAE4;
  --plum: #1F3B2D; --plum-soft: #F3F6F2; --marigold: #B8913F; --marigold-soft: #F6EEDC;
  --sage: #9DB5A0; --sage-soft: #EEF3EE; --blush-soft: #F8EFEC; --gold-soft: #F6EEDC;
  --btn-bg: #1F3B2D; --btn-fg: #FFFFFF; --frame: #FFFFFF; --shadow: rgba(22, 26, 23, .22);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --radius: 22px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #FFFFFF; --surface: #FFFFFF; --ink: #161A17; --muted: #5F6762; --line: #ECEAE4;
    --plum: #1F3B2D; --plum-soft: #F3F6F2; --marigold: #B8913F; --marigold-soft: #F6EEDC;
    --btn-bg: #1F3B2D; --btn-fg: #FFFFFF; --frame: #FFFFFF; --shadow: rgba(22, 26, 23, .22);
    color-scheme: light;
  }
}
body { background: #FFFFFF; font-size: 1.04rem; }
h1, h2, h3, h4 { font-weight: 400; letter-spacing: -0.015em; }
h3 { font-weight: 500; }
.site-header { background: rgba(255, 255, 255, .92); border-bottom-color: transparent; box-shadow: 0 1px 0 var(--line); }
body::before { background: #FFFFFF; }
.logo-word { font-family: "Syne", "Avenir Next", sans-serif; }

/* Chips replace mono eyebrows */
.eyebrow, .chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--body); font-size: .8rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--plum); background: var(--sage-soft); padding: 6px 14px; border-radius: 999px; }
.eyebrow::before, .chip i { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--marigold); display: inline-block; }
.chip i { flex: none; }
.chip::before { content: none; }

/* Buttons */
.btn { border-radius: 999px; font-weight: 600; }
.btn:hover { box-shadow: 0 10px 24px -14px var(--shadow); }
.btn-ghost { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink) !important; }
.btn-ghost:hover { border-color: var(--marigold); }

/* Hero */
.hero::before { content: none; }
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(48px, 7vw, 88px); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.03; margin-block: 20px 22px; }
.hero h1 em { font-style: italic; color: var(--marigold); }
.hero-facts strong { font-family: var(--display); font-weight: 500; font-size: 1.6rem; }
.arch-wrap { position: relative; max-width: 460px; width: 100%; justify-self: end; }
.arch { border-radius: 999px 999px 30px 30px; overflow: hidden; background: var(--blush-soft); aspect-ratio: 4 / 5; max-width: 100%; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.float { position: absolute; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: 0 18px 40px -18px var(--shadow); font-size: .85rem; color: var(--muted); max-width: 240px; line-height: 1.4; }
.float b { display: flex; align-items: center; gap: 7px; color: var(--ink); font-size: .95rem; }
.f1 { left: -28px; top: 16%; }
.f2 { right: -16px; bottom: 12%; }
@media (max-width: 900px) { .arch-wrap { justify-self: start; max-width: 380px; } .f1 { left: -6px; } .f2 { right: -4px; } }

/* Founder strip, platforms */
.founder-strip { background: var(--sage-soft); border: 0; border-radius: var(--radius); padding: 18px 22px; margin-bottom: 8px; }
.founder-strip img { border-color: #fff; box-shadow: none; }
.fs-name { font-family: var(--display); font-weight: 500; }
.platforms li { font-family: var(--body); font-weight: 600; }
.platforms .eyebrow { background: transparent; padding-left: 0; color: var(--muted); }

/* Section rhythm: white and very soft sage bands */
.band { background: #F8FAF7; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }

/* Leaks as soft cards */
.leaks { border-top: 0; gap: 16px; }
.leak, .leak + .leak, .leak:nth-child(even) { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.leak-tag { font-family: var(--body); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: .82rem; }
@media (max-width: 1000px) { .leaks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .leaks { grid-template-columns: 1fr; } }

/* Journey */
.j-step { font-family: var(--body); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .85rem; background: var(--sage-soft); color: var(--plum); }
.journey::before { border-top-color: var(--sage); opacity: .6; }

/* Stages as tinted cards */
.stage { border: 0; border-radius: 26px; padding: 28px; }
.stages .stage:nth-child(1) { background: var(--sage-soft); }
.stages .stage:nth-child(2) { background: var(--gold-soft); }
.stages .stage:nth-child(3) { background: var(--blush-soft); }
.stage-top { border-bottom-color: rgba(22, 26, 23, .08); }
.stage-num { font-family: var(--body); letter-spacing: 0; text-transform: none; font-size: .85rem; }
.stage-name { font-family: var(--display); font-weight: 500; font-size: 1.9rem; color: var(--ink); }
.stage:not(:last-child)::after { content: none; }
.ticks li::before { border-color: var(--marigold); }

/* Cards */
.cs, .auto-card, .template { border-radius: 26px; padding: 10px; box-shadow: 0 14px 34px -26px var(--shadow); }
.cs-shot .browser, .auto-shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.auto-shot { border-bottom: 1px solid var(--line); }
.cs-body { padding: 16px 12px 12px; }
.auto-body { padding: 14px 10px 10px; }
.cs h3, .auto-body h3 { font-weight: 500; font-size: 1.35rem; }
.tag { font-family: var(--body); letter-spacing: 0; text-transform: none; font-size: .75rem; font-weight: 600; border: 0; background: var(--plum-soft); color: var(--muted); padding: 4px 10px; }
.tag-ind { background: var(--sage-soft); color: var(--plum); }
.tag-real { background: var(--plum); color: #fff; }
.tag-concept { background: var(--gold-soft); color: #6E5420; }
.tiles-label { font-family: var(--body); letter-spacing: 0; text-transform: none; font-weight: 600; font-size: .8rem; }
.cs-tiles li { background: #FAF8F3; border-top: 0; border-radius: 12px; font-weight: 500; }
.browser-bar { background: #fff; }
.url { background: #F6F5F1; }

/* Workflow */
.flow-wrap { border-radius: 28px; background-color: #FCFCFA; }
.node { border-radius: 14px; }
.node-k { font-family: var(--body); letter-spacing: 0; text-transform: none; font-weight: 600; font-size: .72rem; }
.node-path { border-bottom-color: var(--marigold); }

/* Founding partner: blush card */
.founding { background: var(--blush-soft); border: 0; border-radius: 30px; }
.founding h2, .founder-copy h2, .faq-wrap h2 { font-weight: 400; }
.spots { font-family: var(--body); letter-spacing: 0; text-transform: none; font-weight: 600; }

/* Founder section photo in an arch */
.founder .portrait { border-radius: 999px 999px 30px 30px; background: var(--blush-soft); }
.portrait { border-radius: 30px; }

/* Process steps */
.steps li::before { font-family: var(--display); font-size: 1.4rem; letter-spacing: 0; color: var(--marigold); border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }

/* Teardown block: soft gold card instead of dark green */
.magnet { background: var(--gold-soft); color: var(--ink); border-radius: 30px; }
.magnet .eyebrow { background: #fff; color: var(--plum); opacity: 1; }
.magnet p { opacity: 1; color: var(--muted); }
.magnet .btn, :root[data-theme="dark"] .magnet .btn { background: var(--btn-bg); border-color: var(--btn-bg); color: #fff !important; }
.magnet .magnet-list { background: #fff; }
.magnet .magnet-list li::before, .magnet-list li::before { color: var(--marigold); font-family: var(--display); font-size: 1rem; }
.magnet .cta-link { color: var(--plum); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .magnet .btn { background: #1F3B2D; border-color: #1F3B2D; color: #fff !important; } }

/* Final CTA stays the one deep-green moment */
.cta { border-radius: 30px; }
.cta h2 { font-weight: 400; }

/* FAQ, blog, footer */
.faq summary { font-family: var(--display); font-weight: 500; }
.post-card h3 { font-weight: 500; }
.post-card .meta, .article .meta { font-family: var(--body); letter-spacing: 0; text-transform: none; font-weight: 600; }
.site-footer { background: #F8FAF7; border-top: 0; }
.facts dt, .fill-table th { font-family: var(--body); letter-spacing: 0; text-transform: none; font-weight: 600; }
.facts { border-radius: var(--radius); }
.page-head h1 { font-weight: 400; }
.form { border-radius: 26px; }
.field input, .field select, .field textarea { background: #FAFAF8; border-radius: 12px; }
.chip:not(.chips .chip) { cursor: default; }
.chips .chip { background: #fff; border: 1px solid var(--line); color: var(--muted); padding: 7px 15px; }
.chips .chip::before { content: none; }
.chips .chip[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.coach-services { border-top: 0; gap: 16px; }
.coach-services > div, .coach-services > div + div { background: var(--sage-soft); border: 0; border-radius: var(--radius); padding: 24px; }
.fit > div { border: 0; background: var(--sage-soft); border-radius: 26px; }
.email-box { border-radius: 18px; }
.article-cta { border-radius: 24px; background: var(--sage-soft); }
.next-steps li::before { background: var(--gold-soft); }
.hero h1 { font-weight: 400; }
.hero h1 em { font-weight: 400; }
.founder-strip { margin-top: 4px; }
@media (max-width: 600px) { .founder-strip { flex-direction: column; align-items: flex-start; } .platforms ul { gap: 8px 18px; } }

/* Deep green bands */
.dark-band { background: #1F3B2D; color: #F4F1E6; }
.dark-band h2, .dark-band h3 { color: #FFFFFF; }
.dark-band p, .dark-band .section-intro { color: rgba(244, 241, 230, .78); }
.dark-band .eyebrow { background: rgba(255, 255, 255, .1); color: #F4F1E6; }
.dark-band .eyebrow::before { background: #D8B56E; }
.dark-band .j-step { background: #D8B56E; color: #14231A; }
.dark-band .journey::before { border-top-color: rgba(244, 241, 230, .35); opacity: 1; }
.dark-band .cta-link { color: #F4F1E6; }
.btn-gold { background: #D8B56E; border-color: #D8B56E; color: #14231A !important; }
.btn-gold:hover { background: #E4C589; border-color: #E4C589; }
.founder-text { display: grid; gap: 22px; }
.founder-text h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; max-width: 22ch; font-weight: 400; }
.founder-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; max-width: 980px; }
.founder-cols p { font-size: 1.05rem; }
@media (max-width: 760px) { .founder-cols { grid-template-columns: 1fr; } }
.founder-text .eyebrow { justify-self: start; }

/* Work page: workflows grid with the first one featured */
#automations .auto-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#automations .auto-card:first-child { grid-column: span 2; }
#automations .auto-card:first-child .auto-shot { aspect-ratio: 16 / 9; }
#automations .auto-card:first-child h3 { font-size: 1.6rem; }
@media (max-width: 900px) { #automations .auto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { #automations .auto-grid { grid-template-columns: 1fr; } #automations .auto-card:first-child { grid-column: auto; } }
.book-box { background: var(--sage-soft); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; justify-items: start; }
.book-box p { color: var(--muted); }
.branches.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.branches.two::before { left: 25%; right: 25%; }
.node-now { max-width: 320px; text-align: center; font-style: italic; color: var(--ink); background: var(--gold-soft); border-color: var(--gold-soft); }
@media (prefers-reduced-motion: no-preference) { .flow .node-now { animation-delay: .5s; } .flow .node-cond { animation-delay: 1s; } }
@media (max-width: 640px) { .branches.two { grid-template-columns: 1fr; } }

/* Testimonials */
.testimonial { margin: 48px 0 0; background: var(--blush-soft); border-radius: 30px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 18px; justify-items: start; position: relative; overflow: hidden; }
.testimonial::before { content: "\201C"; position: absolute; right: 28px; top: -24px; font-family: var(--display); font-size: 12rem; line-height: 1; color: var(--marigold); opacity: .18; pointer-events: none; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { font-family: var(--display); font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.35; color: var(--ink); max-width: 38ch; text-wrap: pretty; }
.testimonial figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .95rem; }
.t-name { font-weight: 700; }
.testimonial figcaption a { color: var(--plum); text-decoration-color: var(--marigold); text-underline-offset: 3px; }
.testimonial .eyebrow { background: #fff; }
.cs-quote { margin: 4px 0 0; padding: 14px 16px; background: var(--blush-soft); border-radius: 14px; }
.cs-quote p { font-family: var(--display); font-size: .98rem; line-height: 1.45; color: var(--ink); }
.cs-quote cite { display: block; margin-top: 6px; font-style: normal; font-size: .82rem; font-weight: 600; color: var(--muted); }
[data-render="projects-home"] .cs-quote { display: none; }
.testimonial { background: var(--sage-soft); }
.testimonial blockquote p { max-width: 44ch; }
