/* ═══════════════════════════════════════════════════════════
   INNER PAGES: loads after redesign.css (tokens, nav, footer, buttons).
   Every inline style="" from the live pages is removed by _dev/build-pages.py; layout lives here.
   ═══════════════════════════════════════════════════════════ */

/* ── SYSTEM: element defaults inside <body class="inner"> ── */
:where(body.inner) h1 { font-family: 'Calistoga', Georgia, serif; font-weight: 400; color: var(--ink); text-wrap: balance; font-size: clamp(2.8rem, 6.4vw, 6rem); line-height: 0.97; letter-spacing: -0.016em; }
:where(body.inner) h2 { font-family: 'Calistoga', Georgia, serif; font-weight: 400; color: var(--ink); text-wrap: balance; font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1.05; letter-spacing: -0.01em; }
:where(body.inner) h3 { font-family: 'DM Sans', sans-serif; font-weight: 700; color: var(--ink); font-size: 1.2rem; line-height: 1.3; }
:where(body.inner) p { color: var(--warm-stone); line-height: 1.7; }
:where(body.inner) .title { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1.3rem; line-height: 1.25; color: var(--ink); }
:where(body.inner) .body, :where(body.inner) .body-large { color: var(--warm-stone); }
body.inner main, body.inner > section, body.inner > header { position: relative; }
body.inner a:not(.btn):not(.btn-text):not(.btn-inv) { text-underline-offset: 4px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 40px; transition: border-color 0.2s ease, transform 0.25s var(--ease-out), box-shadow 0.25s ease; }
a.card:hover { border-color: var(--accent-border); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.btn-text { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; background: transparent; color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 0.9375rem; font-weight: 700; border: none; cursor: pointer; text-decoration: underline; text-decoration-color: var(--accent-border); text-underline-offset: 6px; text-decoration-thickness: 1.5px; transition: color 0.15s ease, text-decoration-color 0.15s ease; }
.btn-text:hover { color: var(--accent); text-decoration-color: var(--accent); }
.btn-text svg { transition: transform 0.2s var(--ease-out); }
.btn-text:hover svg { transform: translateX(4px); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; } .reveal-d2 { transition-delay: 0.16s; } .reveal-d3 { transition-delay: 0.24s; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.25rem; }
.feat-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.97rem; line-height: 1.5; color: var(--ink); }
.feat-check { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; background: rgba(31,122,77,0.12); color: var(--teal); }

/* ── SHARED PAGE PARTS ────────────────────────────── */
.page-hero { padding: 156px 0 80px; border-bottom: 1px solid var(--ink); }
.page-hero .section-label { margin-bottom: 1.5rem; }
.page-hero h1 { margin-bottom: 1.5rem; }
.page-hero .body-large { font-size: 1.2rem; max-width: 34em; }
.band { padding: var(--section-py) 0; }
.band-ruled { border-bottom: 1px solid var(--rule); }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 16px; border-radius: 999px; background: var(--surface); color: var(--warm-stone); border: 1px solid var(--border); font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.chip-on { background: var(--accent-dim); color: var(--accent); border-color: var(--accent-border); }

/* closing CTA band: a charcoal chapter, like the home page */
.cta-band { padding: 120px 0; background: var(--band-blue);
  --bg: var(--band-blue); --ink: #FAFAF7; --txt: #FAFAF7; --warm-stone: rgba(250,250,247,0.74); --muted: rgba(250,250,247,0.74); --subtle: rgba(250,250,247,0.62);
  --accent: #E39A57; --accent-border: rgba(227,154,87,0.4); --accent-dim: rgba(227,154,87,0.12); --rule: rgba(250,250,247,0.14); --border: rgba(250,250,247,0.18); }
.cta-band .cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.cta-band .cta-inner > div:first-child { max-width: 640px; }
.cta-band .cta-inner > div:last-child { display: flex; flex-direction: column; gap: 0.75rem; flex-shrink: 0; }
.cta-band .section-label, .cta-band span[class=""] { color: var(--accent-bright); }
body.inner .cta-band h2, body.inner .cta-band .headline { color: #FAFAF7; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1; margin-bottom: 1rem; }
body.inner .cta-band p { color: var(--on-ink-muted); }
.cta-band .btn { min-height: 56px; padding: 1rem 2rem; font-size: 1rem; }
.cta-band .btn-primary { background: #E39A57; color: #1C1917; }
.cta-band .btn-primary:hover { background: #F0AE72; box-shadow: 0 10px 28px rgba(227,154,87,0.3); }
.cta-band .btn-ghost { color: #FAFAF7; border-color: rgba(250,250,247,0.3); }
.cta-band .btn-ghost:hover { border-color: #FAFAF7; background: rgba(250,250,247,0.08); }

/* ── SERVICES ─────────────────────────────────────── */
.svc-hero-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 72px; align-items: end; }
.svc-hero-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.svc-tile { display: flex; flex-direction: column; gap: 0.35rem; padding: 22px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; text-decoration: none; transition: border-color 0.2s ease, transform 0.25s var(--ease-out), box-shadow 0.25s ease; }
.svc-tile:hover { border-color: var(--accent-border); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.svc-tile-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-dim); display: flex; align-items: center; justify-content: center; margin-bottom: 0.4rem; }
.svc-tile-name { font-weight: 700; font-size: 1.1rem; color: var(--ink); margin: 0; }
.svc-tile-desc { font-size: 0.95rem; color: var(--warm-stone); margin: 0; }
.svc-tile-icon svg { stroke: var(--accent); }
.page-services h2 { max-width: 20ch; }
.page-services .band-ruled p { max-width: 38em; font-size: 1.05rem; margin-top: 1.25rem; }
.svc-row-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc-icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; background: var(--accent-dim); }
.svc-dark-card { display: flex; flex-direction: column; position: relative; overflow: hidden; background: var(--ink); border: 1px solid var(--ink); border-radius: 22px; padding: 48px; text-decoration: none; transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease; }
.svc-dark-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-stage); }
.svc-dark-card .svc-icon { background: rgba(227,154,87,0.18); }
body.inner .svc-dark-card h2 { color: #FAFAF7; font-size: 1.9rem; margin-bottom: 0.9rem; }
body.inner .svc-dark-card p { color: var(--on-ink-muted); margin-bottom: 1.75rem; }
.svc-dark-card .btn-text { color: #FAFAF7; text-decoration-color: rgba(227,154,87,0.6); }
.svc-dark-card div[aria-hidden="true"] { display: none; }
.svc-row-1 .card { display: flex; flex-direction: column; text-decoration: none; padding: 48px; border-radius: 22px; }
body.inner .svc-row-1 .card h2 { font-size: 1.9rem; margin-bottom: 0.9rem; }
.svc-row-1 .card p { margin-bottom: 1.75rem; }

/* ── BREADCRUMB, SPLIT HERO, HERO CARD ────────────── */
.container:has(> .crumbs) { padding-top: 104px; }
.container:has(> .crumbs) + .page-hero { padding-top: 28px; }
.crumbs { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--warm-stone); display: flex; flex-wrap: wrap; align-items: center; gap: 0.1rem; }
.crumbs a { color: var(--warm-stone); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.crumbs a:hover { color: var(--accent); }
.crumbs span:not([aria-hidden]) { color: var(--accent); }
.crumbs span[aria-hidden] { padding: 0 0.35rem; }
.wd-hero-split, .ls-hero-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: end; }
.hero-actions-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; margin-top: 2rem; }
.fineprint { font-size: 0.9rem; margin-top: 1.25rem; }
.card-label { display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 1.25rem; }
.wd-checklist-card, .ls-checklist-card { background: var(--ink); border-radius: 26px; padding: 44px 40px; box-shadow: var(--shadow-stage); color: #FAFAF7; }
.wd-checklist-card .feat-list li, .ls-checklist-card .feat-list li { color: rgba(250,250,247,0.88); }
.wd-checklist-card .feat-check, .ls-checklist-card .feat-check { background: rgba(227,154,87,0.2); color: var(--accent-bright); }
.wd-checklist-card .feat-check svg path, .ls-checklist-card .feat-check svg path { stroke: var(--accent-bright); }
.wd-checklist-card .btn-text, .ls-checklist-card .btn-text { color: #FAFAF7; text-decoration-color: rgba(227,154,87,0.6); }
.wd-checklist-card > div:last-child, .ls-checklist-card > div:last-child { margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid rgba(250,250,247,0.14); }

/* ── CONTENT BLOCKS ───────────────────────────────── */
.band-tint { padding: var(--section-py) 0; background: var(--elevated); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.narrow > * { max-width: 820px; }
.wd-pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 3rem; }
.wd-pain-item { padding-top: 28px; border-top: 1px solid var(--ink); }
.wd-pain-item .title { margin-bottom: 0.7rem; }
.wd-pain-item .body { font-size: 1rem; line-height: 1.65; }
.wd-step { display: grid; grid-template-columns: 80px 1fr; gap: 1.5rem; padding: 32px 0; border-bottom: 1px solid var(--rule); }
.wd-step:last-child { border-bottom: none; }
.wd-step-num { font-family: 'Calistoga', Georgia, serif; font-size: 3.6rem; color: var(--accent); line-height: 0.9; }
.wd-step .title { margin-bottom: 0.45rem; }
.pairs-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 40px 44px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); }
.pairs-panel > div { max-width: 600px; }
.pairs-panel .tag { margin-bottom: 0.9rem; }
.pairs-panel h2 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.wd-faq-layout, .ls-faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 6rem; align-items: start; }
.wd-faq-layout > div:first-child > p, .ls-faq-layout > div:first-child > p { margin-top: 1rem; }

/* ── LOCAL SEO ────────────────────────────────────── */
.ls-factor-list { display: flex; flex-direction: column; max-width: 640px; margin-top: 2.5rem; }
.ls-factor-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 1rem; padding: 18px 0 10px; border-top: 1px solid var(--rule); }
.ls-factor-row:first-child { border-top: 1px solid var(--ink); }
.ls-factor-row .body { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.ls-factor-row .title { font-family: 'Calistoga', Georgia, serif; font-weight: 400; font-size: 1.7rem; color: var(--accent); }
.ls-factor-bar-track { height: 8px; border-radius: 4px; background: var(--elevated); margin-bottom: 8px; overflow: hidden; }
.ls-factor-bar-fill { height: 100%; border-radius: 4px; background: var(--accent); }
.page-local-seo .ls-factor-list ~ p { max-width: 40em; font-size: 0.95rem; margin-top: 1.75rem; }
.ls-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { padding: 44px 40px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; }
.panel .title { font-size: 1.6rem; margin-bottom: 0.75rem; }
.panel > p { margin-bottom: 1.25rem; }

/* ── ABOUT ────────────────────────────────────────── */
.nw { white-space: nowrap; }
.accent-text { color: var(--accent); }
.band-flush { padding-top: 0; }
.page-about .grid-hero { display: block; }
.page-about .hero-illus { display: none; }
.page-about .page-hero { padding-bottom: 56px; }
.page-about .page-hero .tag { margin-bottom: 1.5rem; }
.hero-aside { max-width: 40em; margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--ink); font-size: 1.1rem; }
.sec-head { max-width: 760px; margin-bottom: 3.5rem; }
.sec-head h2 { margin-top: 0.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.grid-2 > .card { background: transparent; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 32px 0 48px; display: grid; grid-template-columns: 104px 1fr; column-gap: 28px; align-items: start; }
.grid-2 > .card:hover { transform: none; box-shadow: none; border-color: var(--ink); }
.grid-2 > .card > svg { grid-row: 1 / 3; width: 104px; height: 104px; margin: 0 !important; }
.grid-2 > .card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.grid-2 > .card p { font-size: 1rem; }
.studio-card { display: flex; align-items: center; gap: 3rem; padding: 48px 52px; }
.studio-card h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 0.75rem; }
.studio-card .section-label { margin-bottom: 0.75rem; }
.avatar { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; border: 3px solid var(--accent-border); margin: 0 auto 1rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.mono-link { display: inline-flex; align-items: center; min-height: 36px; font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; color: var(--accent); text-decoration: none; letter-spacing: 0.08em; }
.mono-link:hover { text-decoration: underline; }
.role { font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; color: var(--accent) !important; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.studio-card p { max-width: 640px; }
.page-about .studio-card > div:last-child > p:not(.role) { margin-bottom: 1.25rem; }
/* closing CTA card: centred variant */
.cta-center .cta-card { text-align: center; padding: 0; }
.cta-center .cta-card .section-label { display: block; }
.cta-center .cta-card h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1; margin-bottom: 1.1rem; }
.cta-center .cta-card p { max-width: 460px; margin: 0 auto 2.5rem; }
.cta-center .cta-card > div > div:last-child { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* decorative SVGs: bring the old copper in line with the darker redesign copper */
svg [stroke="#B87333"] { stroke: #9A5A22; }
svg [fill="#B87333"] { fill: #9A5A22; }
/* Inline SVG artwork carries the pre-redesign copper tints, gradient stops and teal as attributes: map them to the redesign palette (CSS only, markup untouched) */
svg [fill="rgba(184,115,51,0.05)"] { fill: rgba(154,90,34,0.05); }
svg [fill="rgba(184,115,51,0.06)"] { fill: rgba(154,90,34,0.06); }
svg [fill="rgba(184,115,51,0.08)"] { fill: rgba(154,90,34,0.08); }
svg [fill="rgba(184,115,51,0.10)"] { fill: rgba(154,90,34,0.10); }
svg [fill="rgba(184,115,51,0.12)"] { fill: rgba(154,90,34,0.12); }
svg [fill="rgba(184,115,51,0.14)"] { fill: rgba(154,90,34,0.14); }
svg [fill="rgba(184,115,51,0.15)"] { fill: rgba(154,90,34,0.15); }
svg [fill="rgba(184,115,51,0.18)"] { fill: rgba(154,90,34,0.18); }
svg [fill="rgba(184,115,51,0.2)"] { fill: rgba(154,90,34,0.2); }
svg [fill="rgba(184,115,51,0.22)"] { fill: rgba(154,90,34,0.22); }
svg [fill="rgba(184,115,51,0.25)"] { fill: rgba(154,90,34,0.25); }
svg [fill="rgba(184,115,51,0.28)"] { fill: rgba(154,90,34,0.28); }
svg [fill="rgba(184,115,51,0.30)"] { fill: rgba(154,90,34,0.30); }
svg [fill="rgba(184,115,51,0.35)"] { fill: rgba(154,90,34,0.35); }
svg [fill="rgba(184,115,51,0.40)"] { fill: rgba(154,90,34,0.40); }
svg [fill="rgba(184,115,51,0.50)"] { fill: rgba(154,90,34,0.50); }
svg [fill="rgba(184,115,51,0.60)"] { fill: rgba(154,90,34,0.60); }
svg [fill="rgba(184,115,51,0.70)"] { fill: rgba(154,90,34,0.70); }
svg [fill="rgba(184,115,51,0.78)"] { fill: rgba(154,90,34,0.78); }
svg [stroke="rgba(184,115,51,0.12)"] { stroke: rgba(154,90,34,0.12); }
svg [stroke="rgba(184,115,51,0.18)"] { stroke: rgba(154,90,34,0.18); }
svg [stroke="rgba(184,115,51,0.22)"] { stroke: rgba(154,90,34,0.22); }
svg [stroke="rgba(184,115,51,0.25)"] { stroke: rgba(154,90,34,0.25); }
svg [stroke="rgba(184,115,51,0.30)"] { stroke: rgba(154,90,34,0.30); }
svg [stroke="rgba(184,115,51,0.35)"] { stroke: rgba(154,90,34,0.35); }
svg [stroke="rgba(184,115,51,0.40)"] { stroke: rgba(154,90,34,0.40); }
svg [stop-color="#B87333" i] { stop-color: #9A5A22; }
svg [stroke="#4E9F7D" i] { stroke: #1F7A4D; }
svg [fill="#4E9F7D" i] { fill: #1F7A4D; }

/* ── CONTACT ──────────────────────────────────────── */
.page-hero-form { border-bottom: 0; padding-bottom: 40px; }
.page-contact .grid-hero { display: block; }
.page-contact .hero-illus { display: none; }
.page-contact .page-hero .tag { margin-bottom: 1.5rem; }
.contact-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; margin-top: 4rem; align-items: start; }
.form-card { display: flex; flex-direction: column; gap: 1.25rem; padding: 44px 40px; background: var(--surface); border: 1px solid var(--border); border-radius: 26px; }
.form-card label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; }
.input-field { width: 100%; min-height: 52px; background: var(--bg); border: 1.5px solid var(--border); border-radius: 14px; padding: 0.8rem 1.05rem; color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 1rem; outline: none; transition: border-color 0.2s ease, background 0.2s ease; }
.input-field:focus { border-color: var(--accent); background: #fff; }
.input-field:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.input-field::placeholder { color: #8A837D; }
select.input-field { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%231C1917' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; }
textarea.input-field { resize: vertical; min-height: 130px; }
.form-card .btn { width: 100%; min-height: 56px; font-size: 1rem; }
.form-card > p { text-align: center; font-size: 0.85rem; color: var(--subtle); }
.info-stack { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--ink); }
.info-card { display: flex; align-items: flex-start; gap: 1.25rem; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.info-icon { width: 48px; height: 48px; min-width: 48px; border-radius: 50%; background: var(--accent-dim); border: 1px solid var(--accent-border); display: flex; align-items: center; justify-content: center; }
.info-label { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem; }
.info-card > div:last-child, .trust-card > div:last-child { min-width: 0; }
.info-title { font-family: 'Calistoga', Georgia, serif; font-size: 1.35rem; color: var(--ink); margin-bottom: 0.3rem; line-height: 1.2; overflow-wrap: anywhere; }
.info-desc { color: var(--warm-stone); font-size: 0.95rem; line-height: 1.6; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.page-contact .grid-3 > .card { background: transparent; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 32px 0 0; text-align: center; }
.page-contact .grid-3 > .card:hover { transform: none; box-shadow: none; }
.page-contact .grid-3 > .card svg { display: block; margin: 0 auto 1.25rem; width: 132px; height: 132px; }
.page-contact .grid-3 > .card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.page-contact .grid-3 > .card p a { color: var(--accent); }

/* ── PRICING ──────────────────────────────────────── */
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; margin-top: 0.5rem; }
.plan { display: flex; flex-direction: column; padding: 44px 40px; background: var(--surface); border: 1px solid var(--border); border-radius: 26px; height: 100%; }
.plan-bar { display: none; }
.plan > div:first-child:not(.plan-bar), .plan-featured > div:nth-child(2) { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.plan > div:has(> span:first-child:not(.pill)) { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.9rem; }
.plan > div:has(> span:first-child:not(.pill)) > span:first-child { font-family: 'Calistoga', Georgia, serif; font-size: clamp(2.8rem, 4.6vw, 4rem); line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.plan > div:has(> span:first-child:not(.pill)) > span:last-child { color: var(--subtle); font-size: 0.95rem; }
.plan:not(.plan-featured) > div:nth-child(2):not(:has(> span)):not(.plan-bar) { font-family: 'Calistoga', Georgia, serif; font-size: 1.8rem; line-height: 1.15; color: var(--ink); margin-bottom: 0.9rem; }
.pill { display: inline-flex; align-items: center; padding: 4px 13px; border-radius: 999px; border: 1px solid var(--accent-border); background: var(--accent-dim); color: var(--accent); font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.plan > div:has(> .pill) { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.1rem; }
.plan > p:not(:last-child) { font-size: 1rem; line-height: 1.65; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); }
.plan > p:last-child { font-size: 0.85rem; }
.plan > ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 0.5rem; }
.plan > ul > li { display: flex; align-items: flex-start; gap: 0.8rem; font-size: 0.96rem; line-height: 1.55; color: var(--warm-stone); }
.plan > ul > li > span { flex-shrink: 0; margin-top: 0.18rem; color: var(--teal); }
.plan > a.btn { display: flex; margin-top: 1.75rem; width: 100%; min-height: 56px; font-size: 1rem; }
.plan > div:last-child:has(> a.btn) { margin-top: auto; }
.plan > div:last-child:has(> a.btn) > a.btn { display: flex; width: 100%; min-height: 56px; margin-top: 0.5rem; }
.plan > div:last-child:has(> a.btn) > p { font-size: 0.9rem; font-weight: 700; color: var(--ink); margin-bottom: 0.75rem; }
.plan-featured { background: var(--ink); border-color: var(--ink); box-shadow: var(--shadow-stage);
  --ink: #FAFAF7; --warm-stone: rgba(250,250,247,0.78); --muted: rgba(250,250,247,0.78); --subtle: rgba(250,250,247,0.62); --accent: #E39A57; --rule: rgba(250,250,247,0.16); --teal: #E39A57; --accent-border: rgba(227,154,87,0.4); --accent-dim: rgba(227,154,87,0.14); }
.plan-featured { background: var(--band-green); border-color: var(--band-green); }
.plan-featured > a.btn { background: #E39A57; color: #1C1917; border-color: transparent; }
.plan-featured > a.btn:hover { background: #F0AE72; color: #1C1917; box-shadow: 0 10px 28px rgba(227,154,87,0.3); }
.plan > a.btn.btn-ghost { border-color: var(--ink); color: var(--ink); }
.plan > a.btn.btn-ghost:hover { background: var(--ink); color: var(--on-ink); }
.step-banner { margin-top: 56px; padding: 56px 48px; border-radius: 26px; background: var(--elevated); text-align: center; }
.step-banner h3 { font-family: 'Calistoga', Georgia, serif; font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.05; margin: 0.5rem 0 1rem; }
.step-banner p { max-width: 540px; margin: 0 auto 1.75rem; }
.lede-strong { font-size: 1.15rem; font-weight: 700; color: var(--ink) !important; margin: 1.5rem 0 1.5rem; }
.strip { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; padding: 26px 32px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.strip > p { max-width: 640px; font-size: 0.97rem; }
.strip > p span { color: var(--ink); font-weight: 700; }
.strip > svg { flex-shrink: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin-top: 40px; }
.trust-card { display: flex; align-items: flex-start; gap: 1.1rem; padding: 26px 0; border-top: 1px solid var(--ink); }
.trust-card .info-title { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1.05rem; }
.care-wrap { max-width: 460px; margin-bottom: 0; }
.care-wrap > .plan > p:last-child { text-align: center; }
.grid-3 > .card { background: transparent; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 32px 0 0; text-align: center; }
.grid-3 > .card:hover { transform: none; box-shadow: none; }
.grid-3 > .card svg, .grid-3 > .card img { display: block; margin: 0 auto 1.25rem; width: 132px; height: 132px; object-fit: contain; }
.grid-3 > .card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.page-pricing .grid-hero { display: block; }
.page-pricing .hero-illus { display: none; }
.page-pricing .page-hero .tag { margin-bottom: 1.5rem; }
.page-pricing .page-hero { padding-bottom: 56px; }

/* ── PORTFOLIO ────────────────────────────────────── */
.page-portfolio .portfolio-hero .portfolio-hero { padding: 0; border: 0; margin-bottom: 1.5rem; }
.page-portfolio .portfolio-hero { padding-bottom: 64px; }
.tag > span:first-child:empty { display: block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hero-sub { font-size: 1.2rem; line-height: 1.6; max-width: 36em; color: var(--warm-stone); }
.page-portfolio h1.display { max-width: 12em; margin-bottom: 1.5rem; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.5rem; }
.filter-btn { min-height: 44px; padding: 0.55rem 1.25rem; border: 1.5px solid var(--border); border-radius: 999px; background: transparent; color: var(--warm-stone); font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease; }
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.portfolio-section { padding: 88px 0 var(--section-py); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px 40px; margin-top: 0; }
.port-card { display: flex; flex-direction: column; background: transparent; border: 0; border-radius: 0; }
.port-preview { position: relative; overflow: hidden; height: 360px; border-radius: 24px; background: var(--elevated); flex-shrink: 0; box-shadow: var(--shadow-lift); }
.port-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 0.5s var(--ease-out); }
.port-card:hover .port-preview img { transform: scale(1.04); }
.port-preview-overlay { position: absolute; inset: 0; background: rgba(28,25,23,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.25s ease; }
.port-card:hover .port-preview-overlay, .port-card:focus-within .port-preview-overlay { opacity: 1; }
.view-btn { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0.7rem 1.5rem; border-radius: 999px; background: #FAFAF7; color: #1C1917; font-weight: 700; font-size: 0.95rem; text-decoration: none; }
.port-industry { position: absolute; top: 16px; left: 16px; display: flex; align-items: center; gap: 0.45rem; background: rgba(250,250,247,0.95); border-radius: 999px; padding: 0.35rem 0.85rem; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.port-industry .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.port-body { padding: 26px 0 0; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.port-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.port-name { font-family: 'Calistoga', Georgia, serif; font-size: 1.9rem; font-weight: 400; color: var(--ink); line-height: 1.1; letter-spacing: -0.005em; }
.port-package { flex-shrink: 0; border: 1px solid var(--accent-border); background: var(--accent-dim); color: var(--accent); border-radius: 999px; padding: 0.3rem 0.8rem; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.04em; white-space: nowrap; }
.port-desc { font-size: 1rem; line-height: 1.65; color: var(--warm-stone); margin: 0; }
.port-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.port-tag { border: 1px solid var(--border); border-radius: 999px; padding: 0.2rem 0.7rem; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; letter-spacing: 0.04em; color: var(--warm-stone); background: var(--surface); }
.port-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--ink); margin-top: auto; }
.port-location { font-size: 0.9rem; color: var(--subtle); display: flex; align-items: center; gap: 0.4rem; }
.port-links { display: flex; flex-direction: column; align-items: flex-end; gap: 0.1rem; }
.port-link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; font-size: 0.95rem; font-weight: 700; color: var(--accent); text-decoration: none; transition: gap 0.15s ease; }
.port-link:hover { gap: 0.7rem; text-decoration: underline; }
.stats-strip { background: var(--band-blue); padding: 72px 0;
  --ink: #FAFAF7; --warm-stone: rgba(250,250,247,0.78); }
.stats-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-num { font-family: 'Calistoga', Georgia, serif; font-size: clamp(2.6rem, 4.6vw, 4rem); color: #FAFAF7; line-height: 1; display: block; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.95rem; color: rgba(250,250,247,0.78); }
.process-callout { background: var(--elevated); border-radius: 28px; padding: 64px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.process-callout h2 { margin-bottom: 1rem; }
.process-callout p { margin-bottom: 1.5rem; }
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step { display: flex; align-items: flex-start; gap: 1.1rem; padding: 18px 0; border-top: 1px solid var(--rule); }
.process-step:first-child { border-top: 1px solid var(--ink); }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 500; flex-shrink: 0; }
.process-step .step-text strong { display: block; font-size: 1.05rem; color: var(--ink); font-weight: 700; margin-bottom: 0.15rem; }
.process-step .step-text span { font-size: 0.95rem; color: var(--warm-stone); }
.cta-simple .cta-section { text-align: center; }
.eyebrow-light { display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 1.1rem; }
.cta-simple .cta-section h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1; color: #FAFAF7; margin-bottom: 1.1rem; }
.cta-simple .cta-section p { max-width: 520px; margin: 0 auto 2.5rem; color: var(--on-ink-muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.btn-light { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 1rem 2rem; border-radius: 999px; background: #E39A57; color: #1C1917; font-weight: 700; font-size: 1rem; text-decoration: none; transition: background 0.15s ease, transform 0.2s var(--ease-out); }
.btn-light:hover { background: #F0AE72; transform: translateY(-2px); }
.btn-ghost-light { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 1rem 2rem; border-radius: 999px; border: 1.5px solid rgba(250,250,247,0.3); color: #FAFAF7; font-weight: 700; font-size: 1rem; text-decoration: none; transition: border-color 0.15s ease, background 0.15s ease; }
.btn-ghost-light:hover { border-color: #FAFAF7; background: rgba(250,250,247,0.08); }

/* ── HOW WE WORK ──────────────────────────────────── */
.band-no-bottom { padding-bottom: 0; }
.page-how-we-work .page-hero { padding-bottom: 72px; }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.trust-chip { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 36px; padding: 6px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--warm-stone); }
.hero-flow-wrap { position: relative; padding: 40px 36px; border-radius: 26px; background: var(--band-blue); box-shadow: var(--shadow-stage);
  --ink: #FAFAF7; --warm-stone: rgba(250,250,247,0.74); --accent: #E39A57; --accent-border: rgba(227,154,87,0.45); --accent-dim: rgba(227,154,87,0.16); }
.hero-flow-wrap > div:first-child { display: none; }
.hero-flow-wrap ol { list-style: none; display: flex; flex-direction: column; margin: 0; padding: 0; }
.hero-flow-wrap li { display: flex; align-items: flex-start; gap: 1.1rem; padding: 14px 0; border-top: 1px solid rgba(250,250,247,0.12); }
.hero-flow-wrap li:first-child { border-top: 0; padding-top: 0; }
.hero-flow-wrap li:last-child { padding-bottom: 0; }
.hero-flow-wrap li > div:first-child { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--accent-border); background: var(--accent-dim); display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 500; color: var(--accent); }
.hero-flow-wrap li:nth-child(5) > div:first-child { background: #E39A57; border-color: #E39A57; color: #1C1917; }
.hero-flow-wrap li > div:last-child > div:first-child { font-size: 1.02rem; font-weight: 700; color: #FAFAF7; line-height: 1.3; }
.hero-flow-wrap li:nth-child(5) > div:last-child > div:first-child { color: #E39A57; }
.hero-flow-wrap li > div:last-child > div:nth-child(2) { font-size: 0.88rem; color: var(--warm-stone); line-height: 1.4; }
.step-row { display: grid; grid-template-columns: 1fr 260px; gap: 4rem; align-items: center; padding: 56px 0; border-top: 1px solid var(--rule); }
.step-row:first-of-type { border-top: 1px solid var(--ink); }
.step-row.flip { grid-template-columns: 260px 1fr; }
.step-row.flip .step-text { order: 2; }
.step-row.flip .step-art { order: 1; }
.step-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 0.9rem; }
.step-title { font-family: 'Calistoga', Georgia, serif; font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 400; line-height: 1.1; color: var(--ink); margin-bottom: 0.9rem; }
.step-body { font-size: 1.05rem; line-height: 1.7; color: var(--warm-stone); max-width: 560px; }
.step-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 1.25rem; padding: 6px 15px; border-radius: 999px; background: var(--accent-dim); border: 1px solid var(--accent-border); font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.step-art { display: flex; align-items: center; justify-content: center; position: relative; min-height: 180px; }
.step-bg-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Calistoga', Georgia, serif; font-size: 10rem; color: rgba(154,90,34,0.09); line-height: 1; user-select: none; pointer-events: none; }
.step-icon-card { width: 132px; height: 132px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease; }
.step-row:hover .step-icon-card { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.launch-band { padding: 0; }
.step-launch { padding: 24px 0 72px; }
.launch-inner { background: var(--band-blue); border-radius: 28px; padding: 56px 64px; display: grid; grid-template-columns: auto 1fr; gap: 3.5rem; align-items: center; box-shadow: var(--shadow-stage);
  --ink: #FAFAF7; --warm-stone: rgba(250,250,247,0.78); --accent: #E39A57; }
.launch-icon-card { width: 148px; height: 148px; border-radius: 50%; background: rgba(227,154,87,0.14); border: 2px solid rgba(227,154,87,0.4); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.launch-inner h3 { font-family: 'Calistoga', Georgia, serif; font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.05; color: #FAFAF7; margin-bottom: 0.9rem; }
.launch-inner p { color: rgba(250,250,247,0.78); max-width: 600px; margin-bottom: 1.25rem; }
.launch-checklist { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.25rem; }
.launch-checklist li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.98rem; line-height: 1.5; color: rgba(250,250,247,0.88); }
.check-dot { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; background: rgba(227,154,87,0.2); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.check-dot svg path { stroke: #E39A57; }
.trust-band { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 56px 40px 56px 0; border-right: 1px solid var(--rule); }
.trust-item + .trust-item { padding-left: 40px; }
.trust-item:last-child { border-right: none; }
.trust-item > div:first-child:has(.trust-val) { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.trust-val { font-family: 'Calistoga', Georgia, serif; font-size: clamp(2.8rem, 4.4vw, 4rem); font-weight: 400; line-height: 1; color: var(--ink); margin-bottom: 0.5rem; }
.trust-val em { color: var(--accent); font-style: normal; font-family: 'DM Sans', sans-serif; font-size: 1.4rem; font-weight: 700; }
.trust-item:first-child .trust-val em { font-family: 'Calistoga', Georgia, serif; font-size: inherit; font-weight: 400; }
.trust-item:first-child .trust-val { margin-bottom: 0; }
.trust-item > div > span { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 500; color: var(--warm-stone); text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.2; }
.trust-lbl { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; display: block; }
.support-block { background: var(--elevated); border-radius: 28px; padding: 56px 60px; display: grid; grid-template-columns: 72px 1fr; gap: 2.5rem; align-items: start; }
.support-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.support-block h2 { margin-bottom: 0.9rem; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.support-block p { max-width: 620px; }
#ux-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.ux-card { padding: 28px 0 36px; border-top: 1px solid var(--ink); }
.ux-card .info-icon { margin-bottom: 1rem; }
.ux-card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.ux-card p { font-size: 0.96rem; }

/* ── HERO SYSTEM (inner pages): headline left, intro right, phone-card strip across a charcoal band ── */
body.inner .page-hero .hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 72px; row-gap: 0; align-items: start; }
.hero-grid > .hc { display: contents; }
.hero-grid > .hc > .section-label, .hero-grid > .hc > .tag { grid-column: 1 / -1; justify-self: start; }
.hero-grid > .hc > h1 { grid-column: 1; grid-row: 2 / span 8; align-self: end; margin: 0; font-size: clamp(3rem, 7.2vw, 6.8rem); line-height: 0.95; letter-spacing: -0.018em; }
.hero-grid > .hc > :not(h1):not(.section-label):not(.tag) { grid-column: 2; align-self: start; }
.hero-grid > .hc > p:not(.fineprint) { margin: 0 0 1.5rem; max-width: none; font-size: 1.2rem; line-height: 1.6; padding-top: 0.5rem; }
.hero-grid > .hc > .hero-actions-row { margin-top: 0; }
.hero-grid > .hc > .fineprint { margin-top: 1.25rem; }
.hero-grid > .hc > .trust-chips { margin: 0 0 1.5rem; }
.hero-grid > .hc > .hero-actions-row ~ .hero-actions-row, .hero-grid > .hc > .trust-chips ~ div { margin-top: 0; }
body.inner .page-hero:has(.hstrip) { border-bottom: 0; padding-bottom: 0; }
.hstrip { position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-top: 72px; padding-bottom: 60px;
  background: linear-gradient(to bottom, transparent 0, transparent 150px, var(--band-blue) 150px); }
.hstrip-row { display: flex; justify-content: center; gap: 18px; max-width: 1240px; margin: 0 auto; padding: 0 2rem; }
.hs-card { flex: 0 0 196px; width: 196px; height: 424px; border-radius: 28px; overflow: hidden; border: 5px solid #2B2623; outline: 1px solid rgba(250,250,247,0.18); box-shadow: var(--shadow-stage); background: #2B2623; }
.hs-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.hs-card:nth-child(even) { margin-top: 28px; }
.hero-extra { margin-top: 56px; }
.hero-extra .svc-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-extra .wd-checklist-card, .hero-extra .ls-checklist-card { background: var(--surface); color: var(--ink); box-shadow: none; border: 1px solid var(--border); border-radius: 26px; padding: 40px 44px; }
.hero-extra .card-label { color: var(--accent); }
.hero-extra .feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 48px; margin-top: 0; }
.hero-extra .feat-list li { color: var(--ink); }
.hero-extra .feat-check { background: rgba(31,122,77,0.12); color: var(--teal); }
.hero-extra .feat-check svg path { stroke: var(--teal); }
.hero-extra .btn-text { color: var(--ink); text-decoration-color: var(--accent-border); }
.hero-extra .wd-checklist-card > div:last-child, .hero-extra .ls-checklist-card > div:last-child { border-top: 1px solid var(--rule); }
.hero-extra .hero-flow-wrap { background: var(--surface); border: 1px solid var(--border); box-shadow: none; padding: 36px 40px;
  --ink: #17345C; --warm-stone: #4F4B46; --accent: #9A5A22; --accent-border: rgba(154,90,34,0.35); --accent-dim: rgba(154,90,34,0.1); }
.hero-extra .hero-flow-wrap ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.hero-extra .hero-flow-wrap li { border-top: 1px solid var(--rule); padding: 18px 0; }
.hero-extra .hero-flow-wrap li:first-child { border-top: 1px solid var(--rule); padding-top: 18px; }
.hero-extra .hero-flow-wrap li:last-child { padding-bottom: 18px; }
.hero-extra .hero-flow-wrap li > div:last-child > div:first-child { color: var(--ink); }
.hero-extra .hero-flow-wrap li:nth-child(5) > div:last-child > div:first-child { color: var(--accent); }
.hero-extra .hero-flow-wrap li:nth-child(5) > div:first-child { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-contact .hstrip + .contact-layout { margin-top: 4.5rem; }
.page-about .hstrip + .hero-aside { margin-top: 3rem; }

/* ── TYPE HERO (About, Contact): oversized headline, copper rule, intro and buttons in two columns ── */
body.inner .hero-type > .hc > h1 { grid-column: 1 / -1; grid-row: 2; align-self: auto; font-size: clamp(3.2rem, 8.6vw, 8.8rem); line-height: 0.92; letter-spacing: -0.022em; margin-bottom: 2.75rem; }
body.inner .hero-type > .hc > p:not(.fineprint) { grid-column: 1; grid-row: 3; max-width: 34em; margin: 0; padding-top: 1.75rem; border-top: 2px solid var(--accent); }
body.inner .hero-type > .hc > .hero-actions-row { grid-column: 2; grid-row: 3; margin: 0; padding-top: 1.75rem; border-top: 2px solid var(--accent); align-self: stretch; align-content: flex-start; }
body.inner .page-hero .hero-type { align-items: start; }

/* ── BLOG INDEX ───────────────────────────────────── */
.hero-grid > .hero-illus { display: none; }
.page-blog .hero-type > .hc > h1, body.inner.page-blog .hero-type > .hc > h1 { font-size: clamp(3rem, 7.2vw, 7.2rem); }
.page-blog .page-hero, .page-help .page-hero { padding-bottom: 72px; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.cat-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cat-btn { min-height: 40px; padding: 0.4rem 1rem; border-radius: 999px; border: 1.5px solid var(--border); background: transparent; color: var(--warm-stone); font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.cat-btn:hover { border-color: var(--ink); color: var(--ink); }
.cat-btn:first-child { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.grid-2 .article-card, .article-card { display: flex; flex-direction: column; gap: 0.9rem; padding: 28px 0 36px; background: transparent; border: 0; border-top: 1px solid var(--ink); border-radius: 0; text-decoration: none; }
.article-card:hover { transform: none; box-shadow: none; }
.ac-top, .ac-bottom { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.ac-top > span:last-child, .ac-bottom > span { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--subtle); letter-spacing: 0.04em; }
.page-blog .pill, .page-help .pill { padding: 0.28rem 0.8rem; font-size: 0.68rem; margin: 0; }
.pill-muted { color: var(--warm-stone); background: var(--surface); border-color: var(--border); }
.article-card h3 { font-family: 'Calistoga', Georgia, serif; font-weight: 400; font-size: 1.55rem; line-height: 1.15; letter-spacing: -0.005em; }
.article-title { color: var(--ink); text-decoration: none; }
.article-title:hover { color: var(--accent); }
.article-card > p { flex: 1; font-size: 1rem; line-height: 1.65; }
.article-link { display: inline-flex; align-items: center; min-height: 44px; gap: 0.4rem; color: var(--accent); font-size: 0.95rem; font-weight: 700; text-decoration: none; }
.article-link:hover { text-decoration: underline; }
.load-more { text-align: center; margin-top: 2.5rem; }
.blog-layout > aside { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 96px; }
.aside-card { padding: 28px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; }
.aside-card > p:first-child { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.aside-card > div { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.aside-card > div .pill { text-decoration: none; }
.blog-layout > aside > .aside-card:nth-child(2) > p:nth-child(2) { font-family: 'Calistoga', Georgia, serif; font-size: 3.4rem; line-height: 1; color: var(--accent); margin-bottom: 0.25rem; }
.aside-accent { border-color: var(--accent-border); }
.aside-accent > p:nth-child(2) { font-size: 0.97rem; margin-bottom: 1.25rem; }
.aside-accent .btn { width: 100%; min-height: 52px; }
.newsletter-band { padding: 120px 0; background: var(--band-blue);
  --bg: var(--band-blue); --ink: #FAFAF7; --warm-stone: rgba(250,250,247,0.78); --muted: rgba(250,250,247,0.78); --accent: #E39A57; --accent-border: rgba(227,154,87,0.4); --rule: rgba(250,250,247,0.14); --border: rgba(250,250,247,0.25); }
.newsletter-card { text-align: center; }
.newsletter-card > div[aria-hidden="true"] { display: none; }
.newsletter-card .section-label { color: var(--accent-bright); }
.newsletter-card h2 { color: #FAFAF7; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1; margin-bottom: 1.1rem; }
.newsletter-card p { max-width: 460px; margin: 0 auto 2rem; color: var(--on-ink-muted); }
.newsletter-form { display: flex; gap: 0.75rem; max-width: 480px; margin: 0 auto; }
.newsletter-form .input-field { flex: 1; background: rgba(250,250,247,0.08); border-color: rgba(250,250,247,0.28); color: #FAFAF7; }
.newsletter-form .input-field::placeholder { color: rgba(250,250,247,0.6); }
.newsletter-form .input-field:focus { background: rgba(250,250,247,0.14); border-color: #E39A57; }
.newsletter-form .btn-primary { background: #E39A57; color: #1C1917; white-space: nowrap; }
.newsletter-form .btn-primary:hover { background: #F0AE72; }

/* ── HELP CENTER ──────────────────────────────────── */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.grid-4 > .card { background: transparent; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 28px 0 36px; }
.grid-4 > .card:hover { transform: none; box-shadow: none; }
.card-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--accent-dim); border: 1px solid var(--accent-border); display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 1.25rem; }
.grid-4 > .card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.grid-4 > .card p { font-size: 0.97rem; margin-bottom: 1rem; }
.help-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.help-two-col h2 { margin-bottom: 2rem; }
.pl-list { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.popular-link { display: flex; align-items: flex-start; gap: 1.1rem; padding: 22px 0; border-bottom: 1px solid var(--rule); text-decoration: none; transition: background 0.15s ease; }
.popular-link:hover .pl-title { color: var(--accent); }
.popular-icon { width: 44px; height: 44px; min-width: 44px; border-radius: 50%; background: var(--elevated); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin-top: 0.1rem; }
.pl-title { font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-bottom: 0.3rem; line-height: 1.3; transition: color 0.15s ease; }
.pl-desc { font-size: 0.95rem; color: var(--warm-stone); line-height: 1.55; margin-bottom: 0.6rem; }
.cta-band .help-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.cta-band .help-cta-inner > div:first-child { max-width: 640px; }
.cta-band .help-cta-inner > div:last-child { display: flex; flex-direction: column; gap: 0.75rem; flex-shrink: 0; }
.cta-band .help-cta-inner .section-label { color: var(--accent-bright); }

/* ── SERVICES HERO: two doors ─────────────────────── */
body.inner.page-services .page-hero { border-bottom: 0; padding-bottom: 0; }
.page-services .hero-extra:has(.svc-hero-grid) { width: 100vw; margin-left: calc(50% - 50vw); margin-top: 72px; }
.page-services .hero-extra .svc-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; transition: grid-template-columns 0.55s var(--ease-out); }
.page-services .hero-extra .svc-hero-grid:has(.svc-tile:first-child:hover) { grid-template-columns: 1.3fr 1fr; }
.page-services .hero-extra .svc-hero-grid:has(.svc-tile:last-child:hover) { grid-template-columns: 1fr 1.3fr; }
.page-services .hero-extra .svc-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.6rem; min-height: 520px; padding: 56px max(2rem, calc((100vw - 1240px) / 2 + 2rem)) 56px 64px; border: 0; border-radius: 0; box-shadow: none; text-decoration: none; transform: none; }
.page-services .hero-extra .svc-tile:first-child { background: var(--band-blue); color: #FAFAF7; padding-left: max(2rem, calc((100vw - 1240px) / 2 + 2rem)); padding-right: 64px; }
.page-services .hero-extra .svc-tile:last-child { background: #9A5A22; color: #fff; }
.page-services .hero-extra .svc-tile::after { content: "\2192"; position: absolute; right: 48px; bottom: 52px; width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; transition: transform 0.3s var(--ease-out), background 0.2s ease, color 0.2s ease; }
.page-services .hero-extra .svc-tile:hover::after { transform: translateX(8px); background: currentColor; }
.page-services .hero-extra .svc-tile:first-child:hover::after { color: #1C1917; background: #E39A57; border-color: #E39A57; }
.page-services .hero-extra .svc-tile:last-child:hover::after { color: #9A5A22; background: #fff; border-color: #fff; }
.page-services .hero-extra .svc-tile-icon { width: 72px; height: 72px; background: rgba(250,250,247,0.12); margin-bottom: 1.5rem; }
.page-services .hero-extra .svc-tile-icon svg { width: 30px; height: 30px; stroke: currentColor; }
.page-services .hero-extra .svc-tile-name { font-family: 'Calistoga', Georgia, serif; font-weight: 400; font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1; color: inherit; letter-spacing: -0.015em; max-width: 9em; }
.page-services .hero-extra .svc-tile-desc { font-size: 1.2rem; line-height: 1.5; color: inherit; opacity: 0.86; max-width: 22em; padding-right: 90px; }
.page-services .hero-extra .svc-tile:focus-visible { outline: 3px solid #FAFAF7; outline-offset: -6px; }

/* ── WEB DESIGN HERO: browser window ──────────────── */
body.inner .page-hero .hero-browser { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); column-gap: 72px; align-items: center; }
body.inner .hero-browser > .hc { display: block; }
body.inner .hero-browser > .hc > h1 { font-size: clamp(3rem, 5.8vw, 5.6rem); line-height: 0.96; margin-bottom: 1.5rem; }
body.inner .hero-browser > .hc > p:not(.fineprint) { padding-top: 0; max-width: 30em; }
body.inner.page-web-design .page-hero { border-bottom: 0; padding-bottom: 0; }
.hbrowser { position: relative; padding: 0 24px 56px 0; }
.hbrowser::before { content: ""; position: absolute; z-index: 0; left: 56px; right: -64px; top: 48px; bottom: 8px; background: var(--band-blue); border-radius: 40px; }
.hbrowser::after { content: none; }
.hb-win { position: relative; z-index: 1; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow-stage), 0 0 0 1px rgba(28,25,23,0.14);
  transform: perspective(1800px) rotateY(-8deg) rotateX(2.5deg) rotateZ(-1.2deg); transform-origin: 70% 50%; animation: hbFloat 7s ease-in-out infinite; }
.hb-bar { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; background: #EFE9E1; border-bottom: 1px solid rgba(28,25,23,0.08); }
.hb-bar > span { width: 11px; height: 11px; border-radius: 50%; background: #D9A27A; }
.hb-bar > span:nth-child(2) { background: #E3C28F; }
.hb-bar > span:nth-child(3) { background: #9DBFA9; }
.hb-url { flex: 1; height: 24px; margin-left: 14px; border-radius: 12px; background: #FAFAF7; }
.hb-view { position: relative; height: 470px; overflow: hidden; background: #EEEAE2; }
.hb-view img { display: block; width: 100%; height: auto; animation: hbScroll 26s ease-in-out infinite alternate; will-change: transform; }
.hb-phone { position: absolute; z-index: 2; right: -30px; bottom: 6px; width: 156px; height: 338px; border-radius: 28px; overflow: hidden; border: 5px solid #2B2623; background: #2B2623; box-shadow: var(--shadow-stage); transform: rotate(5deg); animation: hbFloat 7s ease-in-out -2.5s infinite; }
.hb-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@keyframes hbScroll { from { transform: translateY(0); } to { transform: translateY(calc(-100% + 470px)); } }
@keyframes hbFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .hb-win, .hb-phone, .hb-view img { animation: none !important; } }

/* ── LOCAL SEO HERO: map ──────────────────────────── */
.page-local-seo .container:has(> .crumbs) { background: var(--band-blue); box-shadow: 0 0 0 100vmax var(--band-blue); clip-path: inset(0 -100vmax); padding-top: 104px;
  --warm-stone: rgba(250,250,247,0.78); --accent: #E39A57; }
body.inner.page-local-seo .container:has(> .crumbs) + .page-hero { padding-top: 28px; }
body.inner.page-local-seo .page-hero { position: relative; overflow: hidden; background: var(--band-blue); border-bottom: 0; padding-bottom: 96px;
  --bg: var(--band-blue); --ink: #FAFAF7; --txt: #FAFAF7; --warm-stone: rgba(250,250,247,0.78); --muted: rgba(250,250,247,0.78); --subtle: rgba(250,250,247,0.62);
  --accent: #E39A57; --accent-border: rgba(227,154,87,0.4); --accent-dim: rgba(227,154,87,0.14); --rule: rgba(250,250,247,0.16); --border: rgba(250,250,247,0.28); }
.page-local-seo .page-hero > .container { position: relative; z-index: 2; }
.hmap { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hmap svg { width: 100%; height: 100%; display: block; }
.hmap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--band-blue) 0%, rgba(23,52,92,0.94) 34%, rgba(23,52,92,0.35) 62%, rgba(23,52,92,0) 80%); }
.hmap::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 140px; background: linear-gradient(180deg, var(--band-blue), rgba(23,52,92,0)); }
.hmap-credit { position: absolute; z-index: 3; right: 18px; bottom: 14px; font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; letter-spacing: 0.04em; color: rgba(250,250,247,0.62); text-decoration: none; }
.hmap-credit:hover { color: #E39A57; text-decoration: underline; }
.hm-ping { transform-box: fill-box; transform-origin: center; animation: hmPing 3.4s ease-out infinite; }
@keyframes hmPing { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(3.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hm-ping { animation: none; opacity: 0.35; } }
body.inner .page-hero .hero-map { display: block; }
body.inner .hero-map > .hc { display: block; max-width: 640px; }
body.inner .hero-map > .hc > h1 { font-size: clamp(3rem, 6.4vw, 6.2rem); line-height: 0.95; margin-bottom: 1.5rem; }
body.inner .hero-map > .hc > p:not(.fineprint) { padding-top: 0; max-width: 30em; }
.page-local-seo .page-hero .btn-primary { background: #E39A57; color: #1C1917; }
.page-local-seo .page-hero .btn-primary:hover { background: #F0AE72; box-shadow: 0 10px 28px rgba(227,154,87,0.3); }
.page-local-seo .page-hero .btn-ghost { color: #FAFAF7; border-color: rgba(250,250,247,0.32); }
.page-local-seo .page-hero .btn-ghost:hover { border-color: #FAFAF7; background: rgba(250,250,247,0.08); }
.page-local-seo .page-hero .section-label { color: #E39A57; }
.page-local-seo .hero-extra-box { padding-top: 56px; }
.page-local-seo .hero-extra { margin-top: 0; }

/* ── PRICING HERO: centred headline, overlapping plan cards ── */
body.inner.page-pricing .page-hero { border-bottom: 0; padding-bottom: 0; overflow: hidden; }
body.inner .page-hero .hero-center { display: block; text-align: center; }
body.inner .hero-center > .hc { display: block; }
body.inner .hero-center > .hc > .tag { margin-bottom: 1.75rem; }
body.inner .hero-center > .hc > h1 { font-size: clamp(3.2rem, 8.4vw, 8.4rem); line-height: 0.92; letter-spacing: -0.024em; max-width: 12em; margin: 0 auto 1.75rem; }
body.inner .hero-center > .hc > p:not(.fineprint) { max-width: 34em; margin: 0 auto 2rem; padding-top: 0; }
body.inner .hero-center > .hc > .hero-actions-row { justify-content: center; margin: 0; }
.hcards { position: relative; height: 540px; margin-top: 40px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 88%, transparent); mask-image: linear-gradient(#000 88%, transparent); }
.hcards-inner { position: absolute; left: 50%; top: 0; width: 0; height: 0; }
.hc-card { text-align: left; position: absolute; top: 48px; width: 380px; height: 460px; padding: 32px 30px; border-radius: 30px; display: flex; flex-direction: column; gap: 16px; transform-origin: 50% 100%; }
.hc-a { left: -360px; background: var(--band-blue); box-shadow: var(--shadow-stage); transform: rotate(-6deg); animation: hcFloatA 7s ease-in-out infinite; }
.hc-b { left: -30px; top: 86px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-stage); transform: rotate(5deg); animation: hcFloatB 7s ease-in-out -3s infinite; }
.hc-label { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.hc-price { display: flex; align-items: baseline; gap: 0.6rem; text-align: left; }
.hc-amount { font-family: 'Calistoga', Georgia, serif; font-size: 4rem; line-height: 1; letter-spacing: -0.01em; }
.hc-unit { font-size: 0.95rem; }
.hc-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.hc-pill { display: inline-flex; padding: 4px 12px; border-radius: 999px; font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.hc-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 6px 0 0; padding: 0; text-align: left; }
.hc-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; line-height: 1.45; }
.hc-list li i { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; margin-top: 2px; }
.hc-btn { margin-top: auto; display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 26px; font-weight: 700; font-size: 0.95rem; }
.hc-a .hc-label { color: #E39A57; } .hc-a .hc-amount { color: #FAFAF7; } .hc-a .hc-unit { color: rgba(250,250,247,0.7); }
.hc-a .hc-pill { color: #E39A57; background: rgba(227,154,87,0.14); border: 1px solid rgba(227,154,87,0.4); }
.hc-a .hc-list li { color: rgba(250,250,247,0.9); } .hc-a .hc-list li i { background: rgba(227,154,87,0.28); box-shadow: inset 0 0 0 5px var(--band-blue), inset 0 0 0 9px #E39A57; }
.hc-a .hc-btn { background: #E39A57; color: #1C1917; }
.hc-b .hc-label { color: #9A5A22; } .hc-b .hc-amount { color: #1C1917; } .hc-b .hc-unit { color: #4F4B46; }
.hc-b .hc-list li { color: #1C1917; } .hc-b .hc-list li i { background: rgba(31,122,77,0.16); box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 9px #1F7A4D; }
.hc-b .hc-btn { background: var(--band-blue); color: #FAFAF7; }
@keyframes hcFloatA { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes hcFloatB { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (prefers-reduced-motion: reduce) { .hc-a, .hc-b { animation: none; } }

/* ── HERO BACKDROP: demo-site screenshots down both edges ── */
body.inner.page-pricing .page-hero { position: relative; background: var(--bg); }
.page-pricing .page-hero > .container { position: relative; z-index: 2; }
.hbg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 15%, transparent 36%, transparent 64%, #000 85%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 15%, transparent 36%, transparent 64%, #000 85%, #000 100%); }
.hbg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(250,250,247,0) 18%, rgba(250,250,247,0) 78%, var(--bg) 100%); }
.hbg-col { position: absolute; top: -40px; width: 360px; display: flex; flex-direction: column; gap: 34px; }
.hbg-l { left: -120px; transform: rotate(-4deg); }
.hbg-r { right: -120px; transform: rotate(4deg); margin-top: 90px; }
.hbg-shot { border-radius: 16px; overflow: hidden; border: 1px solid rgba(28,25,23,0.12); box-shadow: 0 18px 40px rgba(28,25,23,0.18); background: #fff; opacity: 0.92; }
.hbg-shot img { display: block; width: 100%; height: auto; }

/* ── ABOUT HERO: arched portrait ──────────────────── */
body.inner.page-about .page-hero { position: relative; overflow: hidden; background: var(--bg); }
body.inner .page-hero .hero-portrait { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 64px; align-items: center; }
body.inner .hero-portrait > .hc { display: block; }
body.inner .hero-portrait > .hc > h1 { font-size: clamp(3rem, 6vw, 5.8rem); line-height: 1.02; margin-bottom: 1.5rem; }
body.inner .hero-portrait > .hc > p:not(.fineprint) { padding-top: 0; max-width: 30em; }
.hportrait { position: relative; justify-self: center; width: min(100%, 420px); height: 560px; }
.hp-back { position: absolute; left: 38px; top: 28px; width: 100%; height: 100%; border-radius: 999px 999px 36px 36px; background: var(--band-blue); transform: rotate(5deg); }
.hp-ring { position: absolute; right: -74px; top: -26px; width: 190px; height: 190px; border-radius: 50%; border: 2px solid #E39A57; opacity: 0.85; }
.hp-ring::after { content: ""; position: absolute; inset: 22px; border-radius: 50%; border: 1px solid rgba(154,90,34,0.5); }
.hp-arch { position: absolute; inset: 0; border-radius: 999px 999px 36px 36px; overflow: hidden; background: #D9A27A; box-shadow: var(--shadow-stage); }
.hp-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; display: block; }
.hp-card { position: absolute; left: -44px; bottom: 44px; display: flex; flex-direction: column; gap: 2px; padding: 16px 22px; border-radius: 18px; background: rgba(250,250,247,0.96); box-shadow: var(--shadow-stage); border: 1px solid var(--border); animation: hpFloat 7s ease-in-out infinite; }
.hp-name { font-family: 'Calistoga', Georgia, serif; font-size: 1.35rem; line-height: 1.1; color: #1C1917; }
.hp-role { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9A5A22; }
.hp-chip { position: absolute; right: -34px; bottom: 150px; padding: 10px 18px; border-radius: 999px; background: #E39A57; color: #1C1917; font-weight: 700; font-size: 0.92rem; box-shadow: var(--shadow-lift); animation: hpFloat 7s ease-in-out -3s infinite; }
@keyframes hpFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@media (prefers-reduced-motion: reduce) { .hp-card, .hp-chip { animation: none; } }

/* ── CONTACT HERO: copper band, outlined "@" ──────── */
body.inner.page-contact .page-hero { padding-top: 0; }
body.inner.page-contact .page-hero .hero-grid { position: relative; overflow: clip; padding: 156px 0 84px;
  background: #9A5A22;
  box-shadow: 0 0 0 100vmax #9A5A22; clip-path: inset(0 -100vmax);
  --ink: #FFFFFF; --txt: #FFFFFF; --warm-stone: rgba(255,255,255,0.92); --muted: rgba(255,255,255,0.92); --accent: #FFFFFF; --accent-border: rgba(255,255,255,0.5); --accent-dim: rgba(255,255,255,0.16); --border: rgba(255,255,255,0.55); --rule: rgba(255,255,255,0.3); }
.page-contact .hero-grid::before { content: "@"; position: absolute; z-index: 0; right: -2%; top: 50%; transform: translateY(-50%); font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: clamp(22rem, 44vw, 46rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 3px rgba(255,255,255,0.24); pointer-events: none; user-select: none; }
.page-contact .hero-grid > .hc { position: relative; z-index: 1; }
.page-contact .hero-grid .accent-text { color: #1C1917; }
.page-contact .hero-grid .tag { color: #fff; background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.45); }
.page-contact .hero-grid .btn-primary { background: #1C1917; color: #fff; }
.page-contact .hero-grid .btn-primary:hover { background: #1C1917; box-shadow: 0 10px 28px rgba(28,25,23,0.3); }
.page-contact .hero-grid .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.6); }
.page-contact .hero-grid .btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: #fff; }
.hcontact { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hct-chip { position: absolute; padding: 12px 22px; border-radius: 999px; background: #FAFAF7; color: #1C1917; font-weight: 700; font-size: 1rem; box-shadow: var(--shadow-stage); animation: hpFloat 7s ease-in-out infinite; }
.hct-chip:nth-child(1) { right: 1%; top: 17%; }
.hct-chip:nth-child(2) { right: 5%; top: 55%; animation-delay: -3s; background: #1C1917; color: #FAFAF7; }
@media (prefers-reduced-motion: reduce) { .hct-chip { animation: none; } }
@media (max-width: 1199px) { .hcontact { display: none; } }

/* ── PORTFOLIO HERO: scrolling screenshot columns ─── */
body.inner.page-portfolio .page-hero { position: relative; overflow: hidden; padding-bottom: 88px; }
.page-portfolio .page-hero > .container { position: relative; z-index: 2; text-align: center; }
.page-portfolio .page-hero .portfolio-hero { margin-left: auto; margin-right: auto; }
.page-portfolio .page-hero .tag { margin-bottom: 1.5rem; }
body.inner.page-portfolio h1.display { max-width: 9.4em; margin-left: auto; margin-right: auto; font-size: clamp(3rem, 5.6vw, 5.6rem); line-height: 0.97; }
.page-portfolio .hero-sub { margin-left: auto; margin-right: auto; max-width: 30em; }
.page-portfolio .filter-bar { justify-content: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.hscroll { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
.hs-col { position: absolute; top: -30px; bottom: -30px; width: 240px; overflow: hidden; }
.hs-l { left: max(0px, calc(50% - 700px)); transform: rotate(-3deg); }
.hs-r { right: max(0px, calc(50% - 700px)); transform: rotate(3deg); }
.hs-track { display: flex; flex-direction: column; gap: 22px; will-change: transform; animation: hsUp 52s linear infinite; }
.hs-down .hs-track { animation-name: hsDown; }
.hs-shot { border-radius: 16px; overflow: hidden; border: 1px solid rgba(28,25,23,0.12); box-shadow: 0 16px 36px rgba(28,25,23,0.16); background: #fff; flex-shrink: 0; }
.hs-shot img { display: block; width: 100%; height: auto; }
@keyframes hsUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 11px)); } }
@keyframes hsDown { from { transform: translateY(calc(-50% - 11px)); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hs-track { animation: none; } }

/* ── HOW WE WORK HERO: horizontal timeline on a charcoal band ── */
body.inner.page-how-we-work .page-hero { border-bottom: 0; padding-bottom: 0; }
.page-how-we-work .hero-extra { width: 100vw; margin-left: calc(50% - 50vw); margin-top: 120px; padding: 76px 0 84px; background: var(--band-blue); }
.page-how-we-work .hero-extra .hero-flow-wrap { background: transparent; border: 0; box-shadow: none; max-width: 1240px; margin: 0 auto; padding: 0 2rem;
  --ink: #FAFAF7; --warm-stone: rgba(250,250,247,0.78); --accent: #E39A57; --accent-border: rgba(227,154,87,0.5); --accent-dim: rgba(227,154,87,0.14); }
.page-how-we-work .hero-extra .hero-flow-wrap ol { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 18px; }
.page-how-we-work .hero-extra .hero-flow-wrap ol::before { content: ""; position: absolute; z-index: 0; left: 19px; right: 0; top: 19px; height: 2px; background: rgba(250,250,247,0.16); }
.page-how-we-work .hero-extra .hero-flow-wrap ol::after { content: ""; position: absolute; z-index: 0; left: 19px; top: 19px; height: 2px; width: 0; background: #E39A57; animation: tlGrow 2.8s 0.4s var(--ease-out) forwards; }
.page-how-we-work .hero-extra .hero-flow-wrap li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 0; border: 0; }
.page-how-we-work .hero-extra .hero-flow-wrap li:first-child, .page-how-we-work .hero-extra .hero-flow-wrap li:last-child { padding: 0; border: 0; }
.page-how-we-work .hero-extra .hero-flow-wrap li > div:first-child { width: 40px; height: 40px; background: var(--band-blue); border: 2px solid rgba(250,250,247,0.3); color: rgba(250,250,247,0.7); animation: tlLight 0.45s forwards; }
.page-how-we-work .hero-extra .hero-flow-wrap li:nth-child(1) > div:first-child { animation-delay: 0.45s; }
.page-how-we-work .hero-extra .hero-flow-wrap li:nth-child(2) > div:first-child { animation-delay: 0.85s; }
.page-how-we-work .hero-extra .hero-flow-wrap li:nth-child(3) > div:first-child { animation-delay: 1.25s; }
.page-how-we-work .hero-extra .hero-flow-wrap li:nth-child(4) > div:first-child { animation-delay: 1.65s; }
.page-how-we-work .hero-extra .hero-flow-wrap li:nth-child(5) > div:first-child { animation-delay: 2.05s; }
.page-how-we-work .hero-extra .hero-flow-wrap li:nth-child(6) > div:first-child { animation-delay: 2.45s; }
.page-how-we-work .hero-extra .hero-flow-wrap li:nth-child(7) > div:first-child { animation-delay: 2.85s; }
.page-how-we-work .hero-extra .hero-flow-wrap li:nth-child(5) > div:first-child { width: 48px; height: 48px; margin-top: -4px; margin-left: -4px; }
.page-how-we-work .hero-extra .hero-flow-wrap li > div:last-child > div:first-child { color: #FAFAF7; font-size: 1.08rem; line-height: 1.25; margin-bottom: 0.35rem; }
.page-how-we-work .hero-extra .hero-flow-wrap li:nth-child(5) > div:last-child > div:first-child { color: #E39A57; }
.page-how-we-work .hero-extra .hero-flow-wrap li > div:last-child > div:nth-child(2) { color: rgba(250,250,247,0.74); font-size: 0.9rem; line-height: 1.4; }
@keyframes tlGrow { to { width: calc(100% - 19px); } }
@keyframes tlLight { to { border-color: #E39A57; color: #E39A57; } }
.page-how-we-work .hero-extra .hero-flow-wrap li:nth-child(5) > div:first-child { background: var(--band-blue); }
@media (prefers-reduced-motion: reduce) {
  .page-how-we-work .hero-extra .hero-flow-wrap ol::after { animation: none; width: calc(100% - 19px); }
  .page-how-we-work .hero-extra .hero-flow-wrap li > div:first-child { animation: none; border-color: #E39A57; color: #E39A57; }
}

/* ── HOW WE WORK HERO: full-colour tool logos scrolling to the right ── */
body.inner.page-how-we-work .page-hero { position: relative; }
.page-how-we-work .page-hero > .container { position: relative; z-index: 2; }
.htools { position: absolute; left: 0; right: 0; top: 508px; height: 72px; z-index: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.htools-track { display: flex; width: max-content; animation: htScroll 34s linear infinite; will-change: transform; }
.ht-set { display: flex; align-items: center; gap: 76px; padding-right: 76px; flex-shrink: 0; }
.ht-group { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.ht-logo { width: 56px; height: 56px; object-fit: contain; display: block; }
.ht-word { font-family: 'DM Sans', sans-serif; font-weight: 800; font-size: 1.55rem; letter-spacing: -0.02em; line-height: 56px; white-space: nowrap; }
@keyframes htScroll { from { transform: translateX(-25%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .htools-track { animation: none; transform: none; } }

/* ── BLOG HERO: masthead rule and a copper ticker of the topic words ── */
body.inner.page-blog .page-hero { position: relative; padding-bottom: 0; border-bottom: 0; border-top: 6px double var(--ink); margin-top: 0; }
.page-blog .page-hero > .container { position: relative; z-index: 2; padding-bottom: 72px; }
.htick { background: var(--accent-bright); color: #1C1917; overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); pointer-events: none; }
.htick-track { display: flex; width: max-content; animation: htickScroll 38s linear infinite; will-change: transform; }
.htick-set { display: flex; align-items: center; flex-shrink: 0; }
.htick-word { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 16px 0; white-space: nowrap; display: inline-flex; align-items: center; }
.htick-word::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1C1917; margin: 0 34px; }
@keyframes htickScroll { from { transform: translateX(0); } to { transform: translateX(-25%); } }
@media (prefers-reduced-motion: reduce) { .htick-track { animation: none; transform: none; } }
@media (max-width: 768px) { .htick-word { font-size: 0.72rem; padding: 12px 0; } .htick-word::after { margin: 0 22px; } }

/* ── BLOG POSTS: masthead header, readable column, callouts, tables, FAQ, author box ── */
.page-post .article-container { max-width: 760px; margin: 0 auto; padding: 0 var(--container-px, 2rem); }
.page-post .article-header { position: relative; padding: 148px 0 56px; border-top: 6px double var(--ink); background: var(--bg); }
.page-post .article-header .article-container { max-width: 760px; }
.page-post .breadcrumb { list-style: none; display: flex; align-items: center; gap: 0.5rem; padding: 0; margin-bottom: 1.5rem; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--warm-stone); }
.page-post .breadcrumb a { color: var(--warm-stone); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.page-post .breadcrumb a:hover { color: var(--accent); }
.page-post .breadcrumb li:last-child { color: var(--ink); }
.page-post .category-pill { display: inline-flex; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-ink); background: var(--accent); border-radius: 100px; padding: 0.3rem 0.85rem; margin-bottom: 1.25rem; }
.page-post .article-h1 { font-family: 'Calistoga', serif; font-weight: 400; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -0.022em; color: var(--ink); margin: 0 0 1.5rem; text-wrap: balance; }
.page-post .article-deck { font-size: 1.2rem; line-height: 1.6; color: var(--warm-stone); max-width: 38em; margin: 0 0 1.75rem; padding-top: 1.5rem; border-top: 2px solid var(--accent); }
.page-post .author-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--warm-stone); }
.page-post .author-name { color: var(--ink); font-weight: 700; }
.page-post .read-badge { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--ink); border-radius: 100px; padding: 0.2rem 0.7rem; }
.page-post .cover-img-wrap { position: relative; margin: 2.75rem -110px 0; max-width: none; border-radius: 18px; overflow: hidden; border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--accent); }
.page-post .cover-img-wrap img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.page-post .article-body { padding: 4.5rem 0 4.5rem; }
.page-post .article-body p, .page-post .article-body li { font-size: 1.075rem; line-height: 1.8; color: var(--ink); }
.page-post .article-body p { margin: 0 0 1.4rem; }
.page-post .article-body p a, .page-post .article-body li a, .page-post .faq-answer-inner a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-border); transition: color 0.2s, border-color 0.2s; }
.page-post .article-body p a:hover, .page-post .article-body li a:hover, .page-post .faq-answer-inner a:hover { color: var(--accent-hover); border-color: var(--accent); }
.page-post .article-body h2 { font-family: 'Calistoga', serif; font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.12; letter-spacing: -0.015em; color: var(--ink); margin: 3.5rem 0 1.25rem; padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.page-post .article-body h3 { font-family: 'DM Sans', sans-serif; font-size: 1.15rem; font-weight: 700; line-height: 1.3; color: var(--ink); margin: 2.25rem 0 0.75rem; }
.page-post .article-body ul, .page-post .article-body ol { margin: 0 0 1.5rem; padding-left: 1.4rem; }
.page-post .article-body li { margin-bottom: 0.5rem; }
.page-post .article-body li::marker { color: var(--accent); }
.page-post .article-body code { background: var(--elevated); color: var(--accent); padding: 0.1rem 0.4rem; border-radius: 4px; font-family: 'JetBrains Mono', monospace; font-size: 0.9em; }
.page-post .article-body svg { display: block; width: 100%; max-width: 560px; height: auto; overflow: visible; }
.page-post .callout { margin: 2.25rem 0; padding: 1.5rem 1.75rem; background: var(--ink); color: var(--on-ink); border-radius: 16px; }
.page-post .callout p, .page-post .callout li { color: var(--on-ink); font-size: 1rem; line-height: 1.7; margin: 0; }
.page-post .callout p:first-child { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 0.75rem; }
.page-post .callout ul { margin: 0; padding-left: 1.25rem; }
.page-post .callout li { margin-bottom: 0.4rem; }
.page-post .callout li::marker { color: var(--accent-bright); }
.page-post .callout a { color: var(--accent-bright); border-bottom-color: rgba(227,154,87,0.4); }
.page-post .img-cap { text-align: center; font-size: 0.82rem !important; color: var(--warm-stone) !important; margin-top: -1rem !important; }
.page-post .article-body .cover-img-wrap { margin: 2.25rem 0; box-shadow: 6px 6px 0 var(--accent); }
.page-post .data-table { border: 1px solid var(--ink); border-radius: 14px; overflow: hidden; margin: 1.75rem 0 2.25rem; background: var(--surface); }
.page-post .dt-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.95rem 1.25rem; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.page-post .dt-row:first-child { background: var(--ink); color: var(--on-ink); font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; }
.page-post .dt-row:last-child { border-bottom: 0; }
.page-post .cta-card { background: var(--elevated); border: 1px solid var(--ink); border-radius: 18px; padding: 2.75rem 2rem; text-align: center; margin: 3.5rem 0; box-shadow: 8px 8px 0 var(--accent); }
.page-post .cta-card h2 { font-family: 'Calistoga', serif !important; font-weight: 400 !important; font-size: clamp(1.5rem, 2.6vw, 2rem) !important; line-height: 1.15 !important; color: var(--ink) !important; margin: 0 0 0.9rem !important; padding-top: 0 !important; border-top: 0 !important; }
.page-post .cta-card p { color: var(--warm-stone) !important; max-width: 30em; margin: 0 auto 1.6rem !important; font-size: 1rem !important; }
.page-post .cta-card .btn-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.8rem 1.6rem; border-radius: 100px; text-decoration: none; background: var(--accent); color: var(--on-ink); border: 0; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.95rem; }
.page-post .cta-card .btn-primary:hover { background: var(--accent-hover); }
.page-post .faq-list { margin: 1.5rem 0 2rem; border-top: 1px solid var(--border); }
.page-post .faq-item { border-bottom: 1px solid var(--border); }
.page-post .faq-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; min-height: 48px; background: none; border: 0; color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 1.02rem; font-weight: 700; text-align: left; cursor: pointer; transition: color 0.2s; }
.page-post .faq-btn:hover { color: var(--accent); }
.page-post .faq-icon { width: 28px; height: 28px; min-width: 28px; border: 1px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); transition: background 0.2s, transform 0.25s, color 0.2s; }
.page-post .faq-btn[aria-expanded="true"] .faq-icon { background: var(--accent); border-color: var(--accent); color: var(--on-ink); transform: rotate(45deg); }
.page-post .faq-answer { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.page-post .faq-answer.open { max-height: 600px; }
.page-post .faq-answer-inner { padding-bottom: 1.4rem; color: var(--warm-stone); line-height: 1.75; font-size: 0.98rem; }
.page-post .author-box { display: flex; align-items: flex-start; gap: 1.25rem; margin-top: 3.5rem; padding-top: 2rem; border-top: 2px solid var(--ink); }
.page-post .ab-avatar { width: 56px; height: 56px; min-width: 56px; border-radius: 50%; background: var(--accent); color: var(--on-ink); display: flex; align-items: center; justify-content: center; font-family: 'Calistoga', serif; font-size: 1.1rem; }
.page-post .ab-name { font-weight: 700; font-size: 1rem; color: var(--ink); margin-bottom: 0.2rem; }
.page-post .ab-role { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--warm-stone); margin-bottom: 0.6rem; }
.page-post .ab-text p { font-size: 0.95rem; line-height: 1.65; color: var(--warm-stone); margin: 0; }
@media (max-width: 1000px) { .page-post .cover-img-wrap { margin: 2.5rem 0 0; } }
@media (max-width: 768px) {
  .page-post .article-header { padding: 120px 0 40px; }
  .page-post .author-sep { display: none; }
  .page-post .author-line { gap: 0.25rem 0.9rem; }
  .page-post .article-body { padding: 3rem 0; }
  .page-post .cover-img-wrap { margin: 2.25rem 0 0; box-shadow: 6px 6px 0 var(--accent); border-radius: 14px; }
  .page-post .callout { padding: 1.25rem 1.25rem; }
  .page-post .cta-card { padding: 2rem 1.25rem; box-shadow: 5px 5px 0 var(--accent); }
  .page-post .dt-row { flex-direction: column; gap: 0.2rem; }
}

/* ── LEGAL PAGES (Privacy, Terms) and 404 ── */
.page-privacy .legal-wrap, .page-terms .legal-wrap { max-width: 780px; margin: 0 auto; padding: 148px 2rem 6rem; }
body.page-privacy, body.page-terms { border-top: 6px double var(--ink); }
.page-privacy .legal-label, .page-terms .legal-label { display: inline-flex; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink); background: var(--accent); border-radius: 100px; padding: 0.3rem 0.85rem; margin-bottom: 1.25rem; }
.page-privacy .legal-title, .page-terms .legal-title { font-family: 'Calistoga', serif; font-weight: 400; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.02; letter-spacing: -0.022em; color: var(--ink); margin: 0 0 1rem; }
.page-privacy .legal-meta, .page-terms .legal-meta { font-family: 'JetBrains Mono', monospace; font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--warm-stone); margin: 0 0 2.5rem; padding-bottom: 1.75rem; border-bottom: 2px solid var(--accent); }
.page-privacy .summary-box, .page-terms .summary-box { background: var(--ink); border-radius: 16px; padding: 1.5rem 1.75rem; margin-bottom: 3rem; }
.page-privacy .summary-box p, .page-terms .summary-box p { color: var(--on-ink); font-size: 1rem; line-height: 1.7; margin: 0; }
.page-privacy .summary-box strong, .page-terms .summary-box strong { color: var(--accent-bright); }
.page-privacy .prose h2, .page-terms .prose h2 { font-family: 'Calistoga', serif; font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.15; color: var(--ink); margin: 3rem 0 0.9rem; padding-top: 1.1rem; border-top: 2px solid var(--ink); }
.page-privacy .prose h3, .page-terms .prose h3 { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--ink); margin: 1.75rem 0 0.5rem; }
.page-privacy .prose p, .page-terms .prose p, .page-privacy .prose li, .page-terms .prose li { color: var(--ink); font-size: 1.02rem; line-height: 1.8; }
.page-privacy .prose p, .page-terms .prose p { margin: 0 0 1.1rem; }
.page-privacy .prose ul, .page-terms .prose ul, .page-privacy .prose ol, .page-terms .prose ol { margin: 0 0 1.25rem; padding-left: 1.4rem; }
.page-privacy .prose li, .page-terms .prose li { margin-bottom: 0.45rem; }
.page-privacy .prose li::marker, .page-terms .prose li::marker { color: var(--accent); }
.page-privacy .prose strong, .page-terms .prose strong { font-weight: 700; }
.page-privacy .prose a, .page-terms .prose a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-border); transition: color 0.2s, border-color 0.2s; }
.page-privacy .prose a:hover, .page-terms .prose a:hover { color: var(--accent-hover); border-color: var(--accent); }
@media (max-width: 768px) { .page-privacy .legal-wrap, .page-terms .legal-wrap { padding: 120px 1.25rem 4rem; } }
.page-404 .nf-main { padding: 148px 0 7rem; border-top: 6px double var(--ink); }
.page-404 .nf-wrap { max-width: 760px; }
.page-404 .nf-h1 { font-family: 'Calistoga', serif; font-weight: 400; font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1; letter-spacing: -0.022em; color: var(--ink); margin: 0 0 1.5rem; }
.page-404 .nf-deck { font-size: 1.15rem; line-height: 1.65; color: var(--warm-stone); max-width: 40em; margin: 0 0 2rem; padding-top: 1.5rem; border-top: 2px solid var(--accent); }
.page-404 .nf-list-title { font-family: 'Calistoga', serif; font-weight: 400; font-size: 1.5rem; color: var(--ink); margin: 3.5rem 0 1rem; }
.page-404 .nf-links { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.page-404 .nf-links li { border-bottom: 1px solid var(--border); }
.page-404 .nf-link { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1.5rem; padding: 1.25rem 0; min-height: 48px; text-decoration: none; color: var(--ink); transition: padding 0.2s, color 0.2s; }
.page-404 .nf-link strong { font-family: 'Calistoga', serif; font-weight: 400; font-size: 1.3rem; }
.page-404 .nf-link span { color: var(--warm-stone); font-size: 0.95rem; }
.page-404 .nf-link:hover { padding-left: 0.75rem; }
.page-404 .nf-link:hover strong { color: var(--accent); }
@media (max-width: 768px) { .page-404 .nf-main { padding: 120px 0 4.5rem; } }

/* ── REPORTS (index and the three HVAC report pages) ── */
.page-rpt { --teal-dim: rgba(31,122,77,0.12); --copper-dim: rgba(154,90,34,0.10); --copper: var(--accent); --subtle: var(--warm-stone); --rule: rgba(28,25,23,0.12); }
body.page-rpt { border-top: 6px double var(--ink); }
.page-rpt main a { color: var(--accent); }
.page-rpt main a.btn-teal, .page-rpt main a.btn-teal:hover { color: var(--on-ink); }
.page-rpt .rpt-hero { max-width: 1100px; margin: 0 auto; padding: 148px 2rem 4rem; text-align: left; }
.page-rpt .tag-pill { display: inline-flex; background: var(--accent); color: var(--on-ink); padding: 0.3rem 0.9rem; border-radius: 100px; font-family: 'JetBrains Mono', monospace; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.5rem; }
.page-rpt .rpt-hero h1 { font-family: 'Calistoga', serif; font-weight: 400; font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: 1.02; letter-spacing: -0.022em; color: var(--ink); margin: 0 0 1.5rem; max-width: 15em; text-wrap: balance; }
.page-rpt .hero-sub { font-size: 1.2rem; line-height: 1.6; color: var(--warm-stone); max-width: 38em; margin: 0 0 2.5rem; padding-top: 1.5rem; border-top: 2px solid var(--accent); }
.page-rpt .hero-fig { margin: 0 0 3rem; border-radius: 18px; overflow: hidden; border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--accent); line-height: 0; }
.page-rpt .hero-fig img, .page-rpt .fig-band img { width: 100%; display: block; object-fit: cover; }
.page-rpt .hero-fig img { height: 380px; }
.page-rpt .fig-band { max-width: 1000px; margin: 0 auto; padding: 0 2rem; }
.page-rpt .fig-band figure { border-radius: 18px; overflow: hidden; border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--accent); line-height: 0; margin-bottom: 0; }
.page-rpt .fig-band img { height: 280px; }
.page-rpt .stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.page-rpt .stat-card { background: var(--surface); border: 1px solid var(--ink); border-radius: 16px; padding: 1.5rem; }
.page-rpt .stat-num { font-family: 'JetBrains Mono', monospace; font-size: 2.1rem; font-weight: 500; color: var(--accent); line-height: 1; }
.page-rpt .stat-num.teal { color: var(--teal); }
.page-rpt .stat-num.danger { color: #B42318; }
.page-rpt .stat-label { font-size: 0.9rem; color: var(--warm-stone); margin-top: 0.5rem; line-height: 1.45; }
.page-rpt .data-note { font-size: 0.8rem; color: var(--warm-stone); margin-top: 1.25rem; font-style: italic; line-height: 1.55; }
.page-rpt .section-divider { border: 0; border-top: 1px solid var(--border); margin: 0; }
.page-rpt .section { max-width: 1100px; margin: 0 auto; padding: 4.5rem 2rem; }
.page-rpt .section-tag { display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.85rem; }
.page-rpt .section h2, .page-rpt .how-section h2 { font-family: 'Calistoga', serif; font-weight: 400; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.12; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 0.9rem; }
.page-rpt .section-sub { color: var(--warm-stone); font-size: 1.02rem; margin: 0 0 2.25rem; max-width: 40em; line-height: 1.6; }
.page-rpt .stat-hook { background: var(--ink); border-radius: 20px; padding: 2.5rem; margin: 0 auto; max-width: 1036px; width: calc(100% - 4rem); }
.page-rpt .stat-hook-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.page-rpt .hook-stat { text-align: left; }
.page-rpt .hook-num { font-family: 'JetBrains Mono', monospace; font-size: 2.3rem; font-weight: 500; color: var(--accent-bright); line-height: 1; }
.page-rpt .hook-label { font-size: 0.9rem; color: var(--on-ink-muted); margin-top: 0.5rem; line-height: 1.5; }
.page-rpt .hook-src { font-size: 0.75rem; color: var(--on-ink-muted); margin: 1.5rem 0 0; font-family: 'JetBrains Mono', monospace; }
.page-rpt .kw-table, .page-rpt .feat-table, .page-rpt .opp-table { width: 100%; border-collapse: collapse; }
.page-rpt .kw-table th, .page-rpt .feat-table th, .page-rpt .opp-table th { text-align: left; font-family: 'JetBrains Mono', monospace; font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); padding: 0.75rem 0.75rem 0.75rem 0; border-bottom: 2px solid var(--ink); }
.page-rpt .kw-table td, .page-rpt .feat-table td, .page-rpt .opp-table td { padding: 0.95rem 0.75rem 0.95rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; vertical-align: middle; }
.page-rpt .feat-name { font-weight: 600; white-space: nowrap; padding-right: 1.5rem; width: 220px; }
.page-rpt .feat-pct { min-width: 240px; }
.page-rpt .feat-client { white-space: nowrap; padding-left: 1rem; font-size: 0.9rem; }
.page-rpt .bar-wrap { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; width: 100%; max-width: 200px; display: inline-block; vertical-align: middle; margin-right: 0.65rem; }
.page-rpt .bar-fill { height: 100%; border-radius: 4px; }
.page-rpt .bar-fill.gap { background: var(--accent); }
.page-rpt .bar-fill.low { background: var(--subtle); }
.page-rpt .pct-label, .page-rpt .comp-score, .page-rpt .spread-tally { font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; color: var(--warm-stone); vertical-align: middle; }
.page-rpt .kw-vol, .page-rpt .opp-vol { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; color: var(--accent); font-weight: 500; white-space: nowrap; }
.page-rpt .kw-badge, .page-rpt .opp-badge { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 0.6875rem; padding: 0.2rem 0.6rem; border-radius: 100px; font-weight: 500; letter-spacing: 0.05em; }
.page-rpt .kw-badge.yes { background: var(--teal-dim); color: #1F5E45; }
.page-rpt .kw-badge.no, .page-rpt .opp-badge.opp-taken { background: var(--copper-dim); color: var(--accent); }
.page-rpt .opp-badge.opp-open { background: #D1FAE5; color: #065F46; }
.page-rpt .opp-kw { font-weight: 600; padding-right: 1rem; }
.page-rpt .opp-holder { font-size: 0.85rem; color: var(--warm-stone); padding-right: 1rem; }
.page-rpt .kw-total-row, .page-rpt .opp-note { font-size: 0.85rem; color: var(--warm-stone); margin-top: 0.9rem; font-style: italic; line-height: 1.55; }
.page-rpt .leader-card { background: var(--ink); color: var(--on-ink); border-radius: 20px; padding: 2rem; margin-bottom: 2rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: start; box-shadow: 8px 8px 0 var(--accent); }
.page-rpt .leader-badge { display: inline-block; background: var(--accent-bright); color: var(--ink); font-family: 'JetBrains Mono', monospace; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.25rem 0.8rem; border-radius: 100px; margin-bottom: 0.85rem; }
.page-rpt .leader-name { font-family: 'Calistoga', serif; font-size: 1.6rem; color: var(--on-ink); margin-bottom: 0.5rem; line-height: 1.2; }
.page-rpt .leader-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.75rem; }
.page-rpt .leader-meta-item { font-size: 0.9rem; color: var(--on-ink-muted); display: flex; align-items: center; gap: 0.4rem; }
.page-rpt .leader-meta-item strong { color: var(--on-ink); }
.page-rpt .leader-stars { color: #F2B04C; letter-spacing: 1px; }
.page-rpt .leader-stat { text-align: right; }
.page-rpt .leader-stat-num { font-family: 'JetBrains Mono', monospace; font-size: 2.2rem; font-weight: 500; color: var(--accent-bright); }
.page-rpt .leader-stat-label { font-size: 0.82rem; color: var(--on-ink-muted); margin-top: 0.3rem; line-height: 1.45; }
.page-rpt .comp-row { margin-bottom: 1.1rem; }
.page-rpt .comp-name, .page-rpt .spread-name { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--ink); }
.page-rpt .comp-bar-wrap { display: flex; align-items: center; gap: 0.7rem; }
.page-rpt .comp-bar { height: 12px; border-radius: 6px; min-width: 4px; }
.page-rpt .bar-client { background: var(--teal); }
.page-rpt .bar-comp { background: var(--accent); }
.page-rpt .spread-row { margin-bottom: 1.35rem; }
.page-rpt .spread-bar-wrap { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--border); gap: 1px; }
.page-rpt .spread-seg { height: 100%; min-width: 0; }
.page-rpt .spread-seg.s1 { background: var(--accent); }
.page-rpt .spread-seg.s2 { background: var(--teal); }
.page-rpt .spread-seg.s3 { background: var(--subtle); }
.page-rpt .spread-tally { margin-top: 0.35rem; display: block; }
.page-rpt .spread-slot-1 { color: var(--accent); font-weight: 600; }
.page-rpt .spread-legend { display: flex; gap: 0.5rem; margin-top: 1.25rem; font-size: 0.82rem; color: var(--warm-stone); align-items: center; flex-wrap: wrap; }
.page-rpt .spread-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 0.25rem; vertical-align: middle; }
.page-rpt .spread-dot.s1 { background: var(--accent); }
.page-rpt .spread-dot.s2 { background: var(--teal); }
.page-rpt .spread-dot.s3 { background: var(--subtle); }
.page-rpt .spread-insight { background: var(--copper-dim); border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 1.75rem; font-size: 0.95rem; color: var(--ink); line-height: 1.6; }
.page-rpt .spread-insight strong { color: var(--accent); }
.page-rpt .gap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.page-rpt .gap-card { background: var(--surface); border: 1px solid var(--ink); border-radius: 16px; padding: 1.5rem; }
.page-rpt .gap-card.critical { border-color: #B42318; }
.page-rpt .gap-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.page-rpt .gap-desc { font-size: 0.92rem; color: var(--warm-stone); line-height: 1.6; }
.page-rpt .rev-section { max-width: 1100px; margin: 0 auto; padding: 4.5rem 2rem; }
.page-rpt .rev-banner { background: var(--ink); color: var(--on-ink); border-radius: 20px; padding: 3rem; margin-bottom: 2rem; }
.page-rpt .rev-banner .section-tag { color: var(--accent-bright); }
.page-rpt .rev-banner h2 { color: var(--on-ink); }
.page-rpt .rev-banner p { color: var(--on-ink-muted); font-size: 1rem; max-width: 40em; }
.page-rpt .rev-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.75rem; margin-top: 2rem; }
.page-rpt .rev-step { background: rgba(250,250,247,0.06); border: 1px solid var(--on-ink-rule); border-radius: 14px; padding: 1.25rem; }
.page-rpt .rev-step-num { font-family: 'JetBrains Mono', monospace; font-size: 1.5rem; font-weight: 500; color: var(--accent-bright); line-height: 1; margin-bottom: 0.4rem; }
.page-rpt .rev-step-label { font-size: 0.82rem; color: var(--on-ink-muted); line-height: 1.45; }
.page-rpt .rev-step-formula { font-size: 0.75rem; color: var(--on-ink-muted); margin-top: 0.3rem; font-style: italic; }
.page-rpt .rev-total { background: var(--accent-bright); border-radius: 14px; padding: 1.25rem; }
.page-rpt .rev-total .rev-step-num, .page-rpt .rev-total .rev-step-label, .page-rpt .rev-total .rev-step-formula { color: var(--ink); }
.page-rpt .rev-disclaimer { font-size: 0.8rem; color: var(--on-ink-muted) !important; margin-top: 1rem; font-style: italic; }
.page-rpt .ppc-callout { background: rgba(250,250,247,0.06); border: 1px solid var(--on-ink-rule); border-radius: 14px; padding: 1.5rem; margin-top: 1.5rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.page-rpt .ppc-num { font-family: 'JetBrains Mono', monospace; font-size: 1.7rem; font-weight: 500; color: var(--accent-bright); white-space: nowrap; }
.page-rpt .ppc-label { font-size: 0.92rem; color: var(--on-ink-muted); line-height: 1.55; }
.page-rpt .paa-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0.75rem; padding: 0; }
.page-rpt .paa-list li { background: var(--elevated); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.25rem; font-size: 0.95rem; color: var(--ink); line-height: 1.6; }
.page-rpt .paa-a { color: var(--warm-stone); font-size: 0.88rem; }
.page-rpt .pitch { background: var(--elevated); border: 1px solid var(--ink); border-radius: 20px; padding: 3rem; margin: 0 auto; max-width: 860px; box-shadow: 8px 8px 0 var(--accent); }
.page-rpt .pitch h2 { font-family: 'Calistoga', serif; font-weight: 400; font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 1.25rem; line-height: 1.15; }
.page-rpt .pitch p { color: var(--warm-stone); margin-bottom: 1rem; font-size: 1.02rem; max-width: 40em; }
.page-rpt .internal-links { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.65rem; }
.page-rpt .internal-link { display: inline-flex; align-items: center; min-height: 44px; border: 1px solid var(--ink); border-radius: 100px; padding: 0.5rem 1.1rem; font-size: 0.88rem; color: var(--ink); transition: background 0.2s, color 0.2s; }
.page-rpt .internal-link:hover { background: var(--ink); color: var(--on-ink); }
.page-rpt .cta-block { text-align: center; padding: 5rem 2rem; }
.page-rpt .cta-block h2 { font-family: 'Calistoga', serif; font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 0 auto 1rem; max-width: 18em; line-height: 1.12; color: var(--ink); }
.page-rpt .cta-block p { color: var(--warm-stone); margin-bottom: 2rem; font-size: 1.05rem; }
.page-rpt .btn-teal { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; background: var(--accent); color: var(--on-ink); padding: 0.85rem 2rem; border-radius: 100px; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0; text-transform: none; text-decoration: none; transition: background 0.2s, transform 0.18s; }
.page-rpt .btn-teal:hover { background: var(--accent-hover); color: var(--on-ink); transform: translateY(-2px); }
.page-rpt .cta-secondary { display: block; margin-top: 1rem; font-size: 0.88rem; color: var(--warm-stone); }
.page-rpt-index .reports-section { max-width: 1100px; margin: 0 auto; padding: 0 2rem 5rem; }
.page-rpt-index .reports-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.page-rpt-index .report-card { background: var(--surface); border: 1px solid var(--ink); border-radius: 18px; padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; text-decoration: none; color: var(--ink); transition: transform 0.2s, box-shadow 0.2s; }
.page-rpt-index .report-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--accent); }
.page-rpt-index .report-trade { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.page-rpt-index .report-title { font-family: 'Calistoga', serif; font-size: 1.35rem; line-height: 1.2; color: var(--ink); }
.page-rpt-index .report-meta { font-size: 0.88rem; color: var(--warm-stone); }
.page-rpt-index .report-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 0.75rem; margin-top: 0.25rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.page-rpt-index .report-stat { text-align: left; }
.page-rpt-index .report-stat-num { font-family: 'JetBrains Mono', monospace; font-size: 1.15rem; font-weight: 500; color: var(--accent); }
.page-rpt-index .report-stat-label { font-size: 0.74rem; color: var(--warm-stone); display: block; margin-top: 0.15rem; }
.page-rpt-index .report-link { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.95rem; font-weight: 700; color: var(--accent); }
.page-rpt-index .report-link::after { content: "→"; transition: transform 0.2s; }
.page-rpt-index .report-card:hover .report-link::after { transform: translateX(4px); }
.page-rpt-index .how-section { background: var(--ink); color: var(--on-ink); padding: 4.5rem 2rem; }
.page-rpt-index .how-inner { max-width: 1100px; margin: 0 auto; }
.page-rpt-index .how-section h2 { color: var(--on-ink); margin-bottom: 2.5rem; }
.page-rpt-index .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.75rem; }
.page-rpt-index .step { border-top: 2px solid var(--accent-bright); padding-top: 1rem; }
.page-rpt-index .step-num { width: auto; height: auto; background: none; border: 0; border-radius: 0; display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.14em; color: var(--accent-bright); margin-bottom: 0.6rem; }
.page-rpt-index .step-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--on-ink); }
.page-rpt-index .step-desc { font-size: 0.95rem; color: var(--on-ink-muted); line-height: 1.65; }
@media (max-width: 768px) {
  .page-rpt .rpt-hero { padding: 120px 1.25rem 3rem; }
  .page-rpt .section, .page-rpt .rev-section { padding: 3rem 1.25rem; }
  .page-rpt .fig-band { padding: 0 1.25rem; }
  .page-rpt .hero-fig img { height: 220px; }
  .page-rpt .hero-fig, .page-rpt .fig-band figure, .page-rpt .pitch, .page-rpt .leader-card { box-shadow: 5px 5px 0 var(--accent); }
  .page-rpt .stat-hook { width: calc(100% - 2.5rem); padding: 1.75rem 1.25rem; }
  .page-rpt .stat-hook-grid { grid-template-columns: 1fr; }
  .page-rpt .leader-card { grid-template-columns: 1fr; }
  .page-rpt .leader-stat { text-align: left; }
  .page-rpt .rev-banner { padding: 2rem 1.25rem; }
  .page-rpt .pitch { padding: 2rem 1.25rem; }
  .page-rpt .stat-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .page-rpt .stat-card { padding: 1.1rem; }
  .page-rpt .stat-num { font-size: 1.5rem; overflow-wrap: anywhere; }
  .page-rpt .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .page-rpt .feat-table { min-width: 520px; }
  .page-rpt .cta-block { padding: 3.5rem 1.25rem; }
  .page-rpt-index .reports-section { padding: 0 1.25rem 3.5rem; }
  .page-rpt-index .how-section { padding: 3rem 1.25rem; }
}

/* tap targets on the Blog index (QA 2026-10-16) */
.page-blog .cat-btn, .page-blog .pill { min-height: 44px; display: inline-flex; align-items: center; }

/* @@INNER-NEXT */

/* ── RESPONSIVE (inner) ───────────────────────────── */
@media (max-width: 1180px) {
  .hs-col { width: 210px; }
  .hs-l { left: -50px; } .hs-r { right: -50px; }
}
@media (max-width: 900px) {
  .page-hero { padding: 124px 0 56px; }
  .svc-hero-split, .wd-hero-split, .ls-hero-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .wd-pain-grid { grid-template-columns: 1fr; gap: 28px; }
  .blog-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .blog-layout > aside { position: static; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .help-two-col { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .newsletter-band { padding: 84px 0; }
  .newsletter-form { flex-direction: column; }
  body.inner .page-hero .hero-grid { display: block; }
  .hero-grid > .hc { display: block; }
  .hero-grid > .hc > h1 { margin-bottom: 1.5rem; }
  .hero-grid > .hc > p:not(.fineprint) { padding-top: 0; }
  .hero-type > .hc > h1 { font-size: clamp(3rem, 13vw, 5rem); margin-bottom: 1.75rem; }
  .hero-type > .hc > p:not(.fineprint), .hero-type > .hc > .hero-actions-row { padding-top: 1.25rem; border-top: 2px solid var(--accent); }
  .hero-type > .hc > .hero-actions-row { margin-top: 1.25rem; }
  .hstrip { margin-top: 48px; padding-bottom: 44px; background: linear-gradient(to bottom, transparent 0, transparent 110px, var(--band-blue) 110px); }
  .hstrip-row { gap: 12px; padding: 0 1.25rem; }
  .hs-card { flex: 0 0 150px; width: 150px; height: 324px; border-radius: 22px; border-width: 4px; }
  .hs-card:nth-child(n+3) { display: none; }
  .hero-extra .svc-hero-grid, .hero-extra .feat-list { grid-template-columns: 1fr; }
  .hcards { height: 360px; margin-top: 32px; }
  .page-how-we-work .hero-extra { margin-top: 48px; padding: 52px 0 56px; }
  .page-how-we-work .hero-extra .hero-flow-wrap { padding: 0 1.25rem; }
  .htools { position: relative; top: auto; height: 60px; margin-top: 28px; }
  .ht-logo { width: 44px; height: 44px; }
  .ht-word { font-size: 1.2rem; line-height: 44px; }
  .ht-set { gap: 48px; padding-right: 48px; }
  .page-how-we-work .hero-extra .hero-flow-wrap ol { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .page-how-we-work .hero-extra .hero-flow-wrap ol::before { left: 19px; right: auto; top: 19px; bottom: 19px; width: 2px; height: auto; }
  .page-how-we-work .hero-extra .hero-flow-wrap ol::after { left: 19px; top: 19px; width: 2px; height: 0; animation-name: tlGrowV; }
  .page-how-we-work .hero-extra .hero-flow-wrap li { flex-direction: row; gap: 18px; padding-bottom: 30px; }
  .page-how-we-work .hero-extra .hero-flow-wrap li:last-child { padding-bottom: 0; }
  @keyframes tlGrowV { to { height: calc(100% - 38px); } }
  .hs-col { width: 170px; }
  .hs-l { left: -60px; } .hs-r { right: -60px; }
  .hscroll { opacity: 0.4; }
  body.inner.page-contact .page-hero .hero-grid { padding: 124px 0 56px; }
  .page-contact .hero-grid::before { font-size: 22rem; right: -22%; opacity: 0.8; }
  .hcontact { display: none; }
  body.inner .page-hero .hero-portrait { display: block; }
  .hportrait { margin: 48px auto 0; width: min(78vw, 300px); height: 400px; }
  .hp-back { left: 22px; top: 18px; }
  .hp-ring { right: -40px; width: 120px; height: 120px; }
  .hp-card { left: -20px; bottom: 28px; padding: 12px 16px; }
  .hp-chip { right: -16px; bottom: 120px; padding: 8px 14px; font-size: 0.82rem; }
  .hbg { opacity: 0.45; }
  .hbg-col { width: 240px; }
  .hbg-l { left: -150px; } .hbg-r { right: -150px; }
  .hcards-inner { transform: scale(0.58); transform-origin: 0 0; }
  .hc-a { left: -371px; } .hc-b { left: -1px; }
  .hmap::after { background: linear-gradient(180deg, rgba(23,52,92,0.96) 0%, rgba(23,52,92,0.8) 60%, rgba(23,52,92,0.6) 100%); }
  body.inner.page-local-seo .page-hero { padding-bottom: 64px; }
  body.inner .page-hero .hero-browser { display: block; }
  .hbrowser { margin-top: 40px; padding: 0 12px 44px 0; }
  .hbrowser::before { left: 28px; right: -12px; }
  .hbrowser::after { right: -12px; }
  .hb-win { transform: rotateZ(-1deg); }
  .hb-view { height: 250px; }
  @keyframes hbScroll { from { transform: translateY(0); } to { transform: translateY(calc(-100% + 250px)); } }
  .hb-phone { width: 96px; height: 208px; right: -6px; border-width: 4px; border-radius: 20px; }
  .page-services .hero-extra:has(.svc-hero-grid) { margin-top: 48px; }
  .page-services .hero-extra .svc-hero-grid, .page-services .hero-extra .svc-hero-grid:has(.svc-tile:hover) { grid-template-columns: 1fr; }
  .page-services .hero-extra .svc-tile, .page-services .hero-extra .svc-tile:first-child { min-height: 340px; padding: 40px 1.5rem; }
  .page-services .hero-extra .svc-tile::after { right: 24px; bottom: 32px; width: 52px; height: 52px; }
  .page-services .hero-extra .svc-tile-desc { padding-right: 70px; font-size: 1.05rem; }
  .hero-extra .hero-flow-wrap ol { grid-template-columns: 1fr; }
  .hero-extra .wd-checklist-card, .hero-extra .ls-checklist-card, .hero-extra .hero-flow-wrap { padding: 28px 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .step-row, .step-row.flip { grid-template-columns: 1fr; gap: 2rem; padding: 44px 0; }
  .step-row.flip .step-text, .step-row.flip .step-art { order: 0; }
  .step-art { justify-content: flex-start; min-height: 140px; }
  .step-bg-num { justify-content: flex-start; font-size: 8rem; }
  .launch-inner { grid-template-columns: 1fr; gap: 2rem; padding: 40px 28px; }
  .launch-icon-card { width: 104px; height: 104px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item, .trust-item + .trust-item { padding: 36px 0; border-right: none; border-bottom: 1px solid var(--rule); }
  .support-block { grid-template-columns: 1fr; padding: 36px 26px; gap: 1.5rem; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 48px; }
  .port-preview { height: 280px; }
  .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .process-callout { grid-template-columns: 1fr; padding: 40px 26px; gap: 36px; }
  .plan-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .plan { padding: 34px 26px; }
  .step-banner { padding: 40px 26px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; margin-top: 2.5rem; }
  .form-card, .info-stack { min-width: 0; }
  .grid-3 { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 32px 24px; }
  .grid-2 { grid-template-columns: 1fr; }
  .studio-card { flex-direction: column; align-items: flex-start; gap: 1.75rem; padding: 36px 28px; }
  .ls-two-col { grid-template-columns: 1fr; }
  .wd-faq-layout, .ls-faq-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .container:has(> .crumbs) { padding-top: 92px; }
  .svc-row-1 { grid-template-columns: 1fr; }
  .cta-band { padding: 84px 0; }
  .cta-band .cta-inner { flex-direction: column; align-items: stretch; }
  .cta-band .cta-inner > div:last-child { width: 100%; }
}
@media (max-width: 768px) {
  .card, .svc-dark-card, .svc-row-1 .card { padding: 32px 26px; }
}
