/* ── Self-hosted fonts ────────────────────────────────────
   Latin + latin-ext woff2 subsets of the exact faces the old
   fonts.googleapis.com/css2 request served, downloaded 2026-08-08 and
   committed under /fonts. Self-hosting removes two third-party origins
   from the render-critical chain (Lighthouse mobile: ~1.65s of
   render-blocking on Slow 4G) and lets /fonts/* cache immutably
   first-party (_headers). unicode-range keeps the browser downloading
   only the subsets a page actually renders. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-normal-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-normal-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jbmono-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jbmono-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/playfair-italic-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/playfair-italic-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/playfair-normal-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/playfair-normal-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ═══════════════════════════════════════════════════════
   IRISHMAN MANAGEMENT — Cinematic redesign
   ═══════════════════════════════════════════════════════ */

:root {
  --bg: #06090a;
  --bg-2: #0a0f11;
  --ink: #e9eef0;
  --ink-dim: #97a4a8;
  --line: rgba(233, 238, 240, 0.08);
  --emerald: #2fd682;
  --emerald-mid: #23b76c;
  --emerald-deep: #0e7a4a;
  --gold: #d8b45a;
  --danger: #e07a5f;
  --ink-on-emerald: #05130c;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r-card: 18px;
  --r-inset: 10px;
  /* Three motion durations, full stop. The old six-token ramp (0.2/0.3/0.35/
     0.4/0.45/0.5) drew distinctions nobody can perceive — 0.4 vs 0.45 is noise.
     fast = micro-feedback (hover nudges), base = the default transition, slow =
     deliberate reveals/entrances. Every prior token collapsed onto these three. */
  --dur-fast: 0.2s;
  --dur-base: 0.35s;
  --dur-slow: 0.5s;
  /* Type scale: one set of body sizes, no hand-tuned half-pixels. --fs-1 (lede/
     body-large) down to --fs-5 (fine print). Replaces the twelve ad-hoc decimals
     (16.5 / 14.5 / 13.5 / 12.5 …) that had accreted across the sheet. The mono
     eyebrow micro-sizes (11/10/9px, letterspaced) stay their own system. */
  --fs-1: 16px;
  --fs-2: 15px;
  --fs-3: 14px;
  --fs-4: 13px;
  --fs-5: 12px;
  /* Reveal timing is now uniform-fast (~0.5s) across every verb — a thumb-scroll
     outran the old 0.9–1s "establishing/build/payoff" speeds, and the Pricing
     "payoff" hold was removed (prices must never be withheld below the fold), so
     the three-speed narrative-pacing tokens were retired. See the reveal block. */
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(47, 214, 130, 0.28); color: #fff; }

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Keyboard accessibility: visible focus ring on every interactive element,
   plus a skip-to-content link for keyboard/screen-reader users so they aren't
   forced to tab through the entire nav on every single page. Uses
   :focus-visible so mouse/touch users never see a ring, only keyboard nav. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 10000;
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--emerald);
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  border-radius: 4px;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus {
  top: 12px;
  outline: none;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

/* ══════════ SCROLL PROGRESS + CURSOR ══════════ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  z-index: 900;
}

/* ══════════ NAV ══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  padding: 22px 0;
  transition: padding var(--dur-slow) var(--ease), background var(--dur-slow) var(--ease), border-color var(--dur-slow) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(6, 9, 10, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-mark {
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid rgba(47, 214, 130, 0.4); border-radius: var(--r-inset);
  background: linear-gradient(135deg, rgba(47, 214, 130, 0.12), rgba(216, 180, 90, 0.08));
  color: var(--emerald);
}
.nav-logo-text { font-weight: 600; font-size: 15px; letter-spacing: 0.02em; }
.nav-logo-text em { font-style: normal; font-weight: 300; color: var(--ink-dim); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14px; font-weight: 400; color: var(--ink-dim);
  transition: color var(--dur-base) var(--ease); position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px; background: var(--emerald);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur-slow) var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid rgba(47, 214, 130, 0.5);
  color: var(--emerald) !important; font-weight: 500 !important;
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease) !important;
}
.nav-cta:hover { background: var(--emerald); color: var(--ink-on-emerald) !important; box-shadow: 0 0 30px rgba(47, 214, 130, 0.35); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease); }

@media (max-width: 840px) {
  .nav-burger { display: block; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center;
    background: rgba(6, 9, 10, 0.97); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity var(--dur-slow) var(--ease);
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a { font-size: 22px; }
  .nav-burger.open span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-burger.open span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* Reduced-transparency: on OSes/browsers asking for less transparency, drop the
   backdrop-blur (blurring over the animating aurora doubles GPU cost on mid-tier
   phones) and fall back to a near-solid nav/menu surface. */
@media (prefers-reduced-transparency: reduce) {
  .nav.scrolled {
    background: rgba(6, 9, 10, 0.98);
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .nav-links {
    background: rgba(6, 9, 10, 0.99);
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
}

/* ══════════ HERO ══════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(6, 9, 10, 0.42) 0%, transparent 36%),
    linear-gradient(to bottom, rgba(6, 9, 10, 0.12), transparent 30%, transparent 70%, var(--bg));
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto; padding: 140px clamp(20px, 5vw, 48px) 100px;
  width: 100%;
}
.hero-kicker {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 28px;
  display: flex; align-items: center; gap: 10px;
}
.kicker-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.75); } }

.hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.06; letter-spacing: -0.015em;
  margin-bottom: 32px;
}
.hero-title em { font-style: italic; }
.line-mask { display: block; overflow: hidden; padding-bottom: 0.08em; }
.line { display: block; }

/* Static emerald accent. The old infinite gradient shimmer (hero "AI automation",
   contact "that pays for itself") fought comprehension on the two lines that most
   need to be read — a solid accent reads better and stops the GPU compositing a
   loop nobody asked for. Kept as a class so the two accents stay a shared token. */
.shimmer { color: var(--emerald); }

.hero-sub {
  max-width: 560px; font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink-dim); margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.4em; color: var(--ink-dim);
}
.hero-scroll-line { width: 1px; height: 52px; background: var(--line); position: relative; overflow: hidden; }
.hero-scroll-line::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 50%;
  background: var(--emerald);
  animation: scroll-drip 2.2s var(--ease) infinite;
}
/* Animate transform, not `top`: keeps the drip on the compositor instead of
   forcing a layout + paint every frame. */
@keyframes scroll-drip { from { transform: translateY(-100%); } to { transform: translateY(220%); } }

/* Author rules like .btn's `display: inline-flex` outrank the user-agent
   stylesheet's `[hidden] { display: none }` by CSS origin, not specificity —
   so any element carrying both a component class and the `hidden` attribute
   (e.g. the pay/invoice provider buttons toggled via `el.hidden = ...`) stays
   visually on screen. Restoring the browser's own contract here, once,
   instead of chasing `display` overrides on every hideable component. */
[hidden] { display: none !important; }

/* ══════════ BUTTONS ══════════ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  /* Reset native <button> chrome: without this, .btn-ghost on a real <button>
     (the /pay PayPal button, /status tracker) shows the UA's white pill with
     near-white text. Anchors were fine; buttons weren't. */
  background: none; border: 1px solid transparent; color: inherit;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em; cursor: pointer;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), background var(--dur-base) var(--ease), color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.btn-lg { padding: 18px 38px; font-size: 15px; }
.btn-primary {
  background: linear-gradient(120deg, var(--emerald), var(--emerald-mid));
  color: var(--ink-on-emerald);
  box-shadow: 0 8px 32px rgba(47, 214, 130, 0.25);
}
.btn-primary:hover { box-shadow: 0 12px 44px rgba(47, 214, 130, 0.45); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: rgba(47, 214, 130, 0.5); color: var(--emerald); }
.btn-arrow { transition: transform var(--dur-base) var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* ══════════ MARQUEE ══════════ */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 22px 0;
  background: var(--bg-2);
  position: relative; z-index: 3;
}
.marquee-track {
  display: flex; align-items: center; gap: 42px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track,
.marquee.paused .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display); font-style: italic;
  font-size: 20px; color: var(--ink-dim); white-space: nowrap;
}
.marquee-track i { color: var(--emerald); font-style: normal; font-size: 13px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ══════════ SECTIONS ══════════ */
.section { padding: clamp(90px, 12vw, 150px) 0; position: relative; }

.section-head {
  display: flex; align-items: center; gap: 16px; margin-bottom: 30px;
}
.section-num {
  font-family: var(--font-mono); font-size: 12px; color: var(--emerald);
  border: 1px solid rgba(47, 214, 130, 0.3); border-radius: 6px;
  padding: 4px 9px;
}
/* Word-category eyebrow for standalone pages (GUIDE, CHECKLIST, CASE STUDY…).
   The .section-num badge is reserved for the homepage's 01–08 chapter numbers;
   word categories read as a lettered tag, not a boxed numeral. */
.section-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--emerald);
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(47, 214, 130, 0.28);
  background: rgba(47, 214, 130, 0.05);
}
.section-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.35em;
  color: var(--ink-dim);
}
.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(32px, 4.6vw, 58px); line-height: 1.12;
  letter-spacing: -0.01em; margin-bottom: clamp(40px, 6vw, 70px);
}
.section-title em { font-style: italic; color: var(--ink-dim); }

/* ══════════ ABOUT ══════════ */
.about-statement {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px, 4.2vw, 52px); line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 980px; margin-bottom: clamp(40px, 6vw, 64px);
}
/* Emphasis spans in the About statement. It reveals as one block (word-by-word
   animation stippled body copy in and hurt legibility), so these classes only
   carry color/style. */
.about-statement .dim { color: var(--ink-dim); }
.about-statement .em { font-style: italic; color: var(--emerald); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px);
  max-width: 980px;
}
.about-grid p { color: var(--ink-dim); font-size: var(--fs-1); }
@media (max-width: 720px) { .about-grid { grid-template-columns: 1fr; } }

/* Flex, not grid, and deliberately so. This container paints `background:
   var(--line)` on ITSELF and lets a 1px gap reveal it, so every cell POSITION
   is painted whether or not an item occupies it — an empty cell renders as a
   filled dead box, not as blank space. A fixed grid column count leaves one
   whenever the item count doesn't divide evenly (3 stats in the old 2-column
   mobile grid did exactly that). Flex creates exactly as many slots as there
   are items and flex-grow fills each row to 100%, so a dead cell is
   structurally impossible at any item count and any viewport, with no
   breakpoint and no nth-child math.
   Do NOT "simplify" this to repeat(auto-fit, minmax(...)): auto-fit only
   collapses tracks that are empty across the WHOLE grid, never a partially
   filled last row, so the bug survives — and collapsed tracks still emit
   their gap, adding stray hairlines over this container's --line background. */
.stats {
  display: flex; flex-wrap: wrap;
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden; margin-top: clamp(48px, 6vw, 72px);
}
.stat { background: var(--bg-2); padding: clamp(24px, 3vw, 40px); flex: 1 1 260px; min-width: 0; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(30px, 4vw, 50px);
  font-weight: 600; color: var(--emerald);
}
/* Static "01" flourish — replaces the animated 0→1 count-up, which read as a
   loading glitch rather than a metric. Italic Playfair gives it a deliberate,
   editorial feel instead of a counter that barely moves. */
.stat-num.flourish { font-style: italic; letter-spacing: 0.01em; }
.stat-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.25em; color: var(--ink-dim); margin-top: 6px; text-transform: uppercase; }

/* ══════════ SERVICES ══════════ */
.services { background: linear-gradient(to bottom, var(--bg), var(--bg-2) 30%, var(--bg)); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 1020px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 34px 28px;
  background: rgba(10, 15, 17, 0.6);
  transition: border-color var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease), transform var(--dur-fast) var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 214, 130, 0.08), transparent 45%);
  opacity: 0; transition: opacity var(--dur-slow) var(--ease);
  pointer-events: none;
}
.service-card:hover { border-color: rgba(47, 214, 130, 0.35); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  font-size: 26px; color: var(--emerald); margin-bottom: 20px;
  width: 54px; height: 54px; display: grid; place-items: center;
  border: 1px solid rgba(47, 214, 130, 0.25); border-radius: var(--r-card);
  background: rgba(47, 214, 130, 0.06);
}
/* Custom line-glyphs on one 24px grid — replaces the ad-hoc dingbat characters
   (◈ ✳ ⚙ …) that read as a fallback font, not a designed icon set. */
.service-icon svg { width: 26px; height: 26px; display: block; }
.marquee-track i svg { display: block; }
.service-card h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.service-card p { font-size: var(--fs-3); color: var(--ink-dim); margin-bottom: 18px; }
.service-card ul { list-style: none; }
.service-card li {
  font-size: var(--fs-4); color: var(--ink-dim);
  padding: 7px 0 7px 22px; position: relative;
  border-top: 1px solid var(--line);
}
.service-card li::before {
  content: "→"; position: absolute; left: 0; color: var(--emerald); font-size: 12px;
}
.service-learn-more {
  display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600;
  color: var(--emerald); border-bottom: 1px solid transparent; transition: border-color var(--dur-base) var(--ease);
}
.service-learn-more:hover { border-color: var(--emerald); }

/* ══════════ PRICING ══════════ */
.pricing { background: var(--bg-2); }
.pricing-note {
  color: var(--ink-dim); font-size: var(--fs-3); margin-top: -20px; margin-bottom: clamp(40px, 6vw, 64px);
  max-width: 620px;
}
.pricing-tracks { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 60px); }
.pricing-track-title {
  font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 26px); font-weight: 600;
  margin-bottom: 4px;
}
.pricing-track-sub {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--ink-dim); margin-bottom: 20px; text-transform: uppercase;
}
.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pricing-cards-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
@media (max-width: 900px) { .pricing-cards { grid-template-columns: 1fr; } }

.price-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 28px 24px; background: var(--bg);
  transition: border-color var(--dur-slow) var(--ease), transform var(--dur-base) var(--ease);
}
.price-card:hover { transform: translateY(-4px); border-color: rgba(47, 214, 130, 0.3); }
.price-card.featured {
  border-color: rgba(47, 214, 130, 0.5);
  background: linear-gradient(160deg, rgba(47, 214, 130, 0.07), transparent 60%), var(--bg);
  box-shadow: 0 20px 50px rgba(47, 214, 130, 0.08);
}
.price-tag {
  position: absolute; top: -11px; left: 24px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em;
  color: var(--ink-on-emerald); background: var(--emerald);
  padding: 4px 10px; border-radius: 999px;
}
.price-name { display: block; font-size: 14px; color: var(--ink-dim); margin-bottom: 8px; }
.price-amount {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3vw, 34px); color: var(--ink); margin-bottom: 14px;
}
.price-period { font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--ink-dim); }
/* "Let's talk" is a call-to-scope, not a headline number — give it body-text
   weight so it stops competing with real Playfair prices at 34px. */
.price-amount.price-text {
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(17px, 1.9vw, 20px); color: var(--ink-dim);
}
.price-card p { font-size: var(--fs-4); color: var(--ink-dim); }
.pricing-cta { margin-top: clamp(40px, 5vw, 60px); display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* The capabilities below are proof of range. This decision layer tells a
   buyer which commercial path to choose before asking them to scan all seven. */
.offer-paths {
  margin: clamp(34px, 5vw, 58px) 0 24px; padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(47, 214, 130, 0.24); border-radius: var(--r-card);
  background: radial-gradient(circle at 84% -18%, rgba(47, 214, 130, 0.14), transparent 42%), rgba(5, 10, 15, 0.72);
}
.offer-paths-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 22px; }
.offer-paths-head h3 { margin: 6px 0 0; font-family: var(--font-display); font-size: clamp(24px, 3vw, 38px); }
.offer-paths-head p { max-width: 460px; margin: 0; color: var(--ink-dim); font-size: var(--fs-4); line-height: 1.55; }
.offer-paths-kicker,.offer-path-index { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; color: var(--emerald); }
.offer-paths-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 901px) { .offer-paths-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.offer-path-card { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(4, 9, 14, .78); }
.offer-path-card.is-featured { border-color: rgba(47, 214, 130, .48); box-shadow: 0 18px 50px rgba(47, 214, 130, .08); }
.offer-path-card h4 { margin: 10px 0 8px; font-family: var(--font-display); font-size: clamp(18px, 2vw, 23px); line-height: 1.14; }
.offer-path-card p { margin: 0 0 18px; color: var(--ink-dim); font-size: var(--fs-4); line-height: 1.55; }
.offer-path-card strong { margin-top: auto; color: var(--ink); font-size: 15px; }
.offer-path-card small { min-height: 46px; margin: 7px 0 16px; color: var(--ink-dim); line-height: 1.45; }
.offer-path-card a { color: var(--emerald); font: 650 12px var(--font-mono); text-decoration: none; }
.offer-path-card a:hover { color: var(--gold); }
@media (max-width: 900px) { .offer-paths-head { align-items: flex-start; flex-direction: column; } .offer-paths-grid { grid-template-columns: 1fr; } .offer-path-card small { min-height: 0; } }

/* ══════════ FAQ ══════════ */
.faq-list { max-width: 820px; }
.faq-item { padding: clamp(24px, 3vw, 32px) 0; border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item h3 {
  font-family: var(--font-display); font-size: clamp(17px, 2vw, 20px);
  font-weight: 600; margin-bottom: 10px;
}
.faq-item p { color: var(--ink-dim); font-size: var(--fs-3); }

.work-frame {
  max-width: 640px; color: var(--ink-dim); font-size: var(--fs-2);
  margin-bottom: clamp(36px, 5vw, 52px);
}
.work-group-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.25em;
  color: var(--emerald); text-transform: uppercase; margin: clamp(28px, 4vw, 40px) 0 6px;
}
.work-list:first-of-type + .work-group-label { margin-top: clamp(28px, 4vw, 40px); }
.work-link { font-family: var(--font-mono); font-size: 12px; color: var(--emerald); transition: color var(--dur-base) var(--ease); }
.work-link:hover { color: var(--gold); }
.work-body h3 a { color: inherit; border-bottom: 1px solid transparent; transition: border-color var(--dur-base) var(--ease); }
.work-body h3 a:hover { border-color: var(--emerald); }

/* ══════════ WORK ══════════ */
.work-list { border-top: 1px solid var(--line); }
.work-item {
  display: grid; grid-template-columns: 70px 1fr auto;
  gap: clamp(18px, 3vw, 40px); align-items: center;
  padding: clamp(30px, 4vw, 46px) 10px;
  border-bottom: 1px solid var(--line);
  transition: background var(--dur-slow) var(--ease);
}
/* Slide the body copy on hover with a GPU transform instead of animating
   padding-left — a transform composites without reflowing the row's text. */
.work-item .work-body { transition: transform var(--dur-slow) var(--ease); }
.work-item:hover { background: rgba(47, 214, 130, 0.03); }
.work-item:hover .work-body { transform: translateX(24px); }
.work-index { font-family: var(--font-mono); font-size: 13px; color: var(--emerald); }
.work-body h3 {
  font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600; margin-bottom: 8px;
}
.wip {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em;
  vertical-align: middle; margin-left: 10px;
  color: var(--gold); border: 1px solid rgba(216, 180, 90, 0.4);
  padding: 3px 8px; border-radius: 999px;
}
.work-body p { font-size: var(--fs-3); color: var(--ink-dim); max-width: 620px; margin-bottom: 14px; }
.work-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.work-tags span {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--ink-dim); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 999px;
}
.work-year { font-family: var(--font-mono); font-size: 12px; color: var(--ink-dim); }

/* Browser-chrome-framed live-site screenshot slot. Faux traffic-light bar over
   a lazy-loaded shot of the real storefront — highest-trust proof the work is
   live. Frame clips the image; max-width keeps it inside the grid cell. */
.work-shot {
  margin-top: 20px; max-width: 100%; width: 520px;
  border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; background: var(--bg-2);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}
.work-shot-bar {
  display: block; height: 30px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-bottom: 1px solid var(--line);
  position: relative;
}
.work-shot-bar::before {
  content: ""; position: absolute; top: 11px; left: 14px;
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(216, 180, 90, 0.55);
  box-shadow: 16px 0 0 rgba(47, 214, 130, 0.55), 32px 0 0 rgba(255, 255, 255, 0.18);
}
.work-shot img {
  display: block; width: 100%; height: auto;
  /* Reserves the frame's height before the lazy-loaded shot arrives (or if
     it 404s) so the page doesn't jump once it does -- a real screenshot may
     not land exactly 4:3, but any reserved ratio beats none. */
  aspect-ratio: 4 / 3;
}
@media (max-width: 680px) {
  .work-item { grid-template-columns: 1fr; gap: 12px; }
  .work-year { order: -1; }
  /* No sideways slide on touch — the row is already single-column. */
  .work-item:hover .work-body { transform: none; }
}

/* ══════════ PROCESS ══════════ */
.process { background: var(--bg-2); }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
@media (max-width: 1020px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-step {
  border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 30px 26px; position: relative; overflow: hidden;
  background: var(--bg);
  transition: border-color var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.process-step:hover { border-color: rgba(47, 214, 130, 0.35); transform: translateY(-6px); }
.process-num {
  font-family: var(--font-display); font-size: 64px; font-weight: 700;
  line-height: 1; margin-bottom: 18px;
  background: linear-gradient(160deg, rgba(47, 214, 130, 0.55), rgba(47, 214, 130, 0.06));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.process-step h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.process-step p { font-size: var(--fs-3); color: var(--ink-dim); }

/* ══════════ PRINCIPLES ══════════ */
.principles-list { max-width: 860px; }
.principle {
  padding: clamp(26px, 3.4vw, 38px) 0;
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: baseline;
}
.principle:first-child { border-top: 1px solid var(--line); }
.principle span {
  font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 600; font-style: italic;
}
.principle p { color: var(--ink-dim); font-size: var(--fs-2); }
@media (max-width: 680px) { .principle { grid-template-columns: 1fr; gap: 8px; } }

/* ══════════ CONTACT ══════════ */
.contact { overflow: hidden; }
.contact-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.contact-inner { position: relative; z-index: 2; }
.contact-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(36px, 5.6vw, 72px); line-height: 1.1;
  letter-spacing: -0.015em; margin-bottom: 26px;
}
.contact-sub { max-width: 560px; color: var(--ink-dim); font-size: var(--fs-1); margin-bottom: 40px; }

.lead-form { max-width: 560px; margin-bottom: 28px; }
.lead-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .lead-form-row { grid-template-columns: 1fr; } }
.lead-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.lead-field label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--ink-dim); text-transform: uppercase;
}
.lead-field input, .lead-field textarea, .lead-field select,
.roi-lead-row input[type="email"] {
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: var(--r-inset);
  padding: 12px 14px; color: var(--ink); font-family: var(--font-body); font-size: var(--fs-3);
  transition: border-color var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
  resize: vertical;
}
.lead-field select { appearance: none; cursor: pointer; }
.lead-field input:focus, .lead-field textarea:focus, .lead-field select:focus,
.roi-lead-row input[type="email"]:focus {
  outline: none; border-color: rgba(47, 214, 130, 0.5); background: rgba(47, 214, 130, 0.04);
}
.lead-field-hp {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
.lead-form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.lead-form-status { font-size: var(--fs-4); color: var(--ink-dim); }
.lead-form-status.success { color: var(--emerald); }
.lead-form-status.error { color: var(--danger); }
.lead-form-status a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.contact-principal { margin-bottom: clamp(28px, 4vw, 40px); max-width: 62ch; }
.contact-principal-name { font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 22px); color: var(--ink); margin-bottom: 8px; }
.contact-principal-bio { font-size: var(--fs-2); color: var(--ink-dim); line-height: 1.65; }
.contact-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 72px); }
.contact-details {
  display: grid; grid-template-columns: repeat(3, auto); gap: clamp(24px, 4vw, 64px);
  border-top: 1px solid var(--line); padding-top: 34px;
  width: fit-content;
}
.contact-details > div { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.contact-details a:hover { color: var(--emerald); }
.cd-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.3em; color: var(--ink-dim); }
@media (max-width: 680px) { .contact-details { grid-template-columns: 1fr; } }

/* ══════════ CONTENT PAGE LAYOUT ══════════ */
/* Standalone content pages (guides, blog posts, tools) use this instead of an
   inline style="padding-top:…" attribute — kept as a class so the site-wide CSP
   doesn't need 'unsafe-inline' in style-src. */
.page-hero-pad { padding-top: clamp(140px, 16vw, 190px); }

/* ══════════ PROSE (landing/blog pages) ══════════ */
.prose { max-width: 720px; color: var(--ink-dim); font-size: var(--fs-1); line-height: 1.75; }
.byline {
  display: flex; align-items: center; gap: 10px; font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.08em; color: var(--ink-dim); text-transform: uppercase;
  margin-bottom: clamp(28px, 3.5vw, 38px);
}
.byline strong { color: var(--ink); font-weight: 600; }
.byline .dot { color: var(--emerald); }
.prose-lede {
  font-family: var(--font-display); font-style: italic; font-size: clamp(19px, 2.2vw, 23px);
  color: var(--ink); margin-bottom: clamp(32px, 4vw, 44px); line-height: 1.5;
}
.prose h2 {
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  font-size: clamp(22px, 2.6vw, 28px); margin: clamp(36px, 4vw, 48px) 0 16px;
  letter-spacing: -0.01em;
  scroll-margin-top: 100px; /* clears the fixed nav when a TOC link jumps here */
}
.prose p { margin-bottom: 20px; }
.prose ul { margin: 0 0 24px; padding-left: 4px; list-style: none; }
.prose li {
  padding: 10px 0 10px 24px; position: relative; border-top: 1px solid var(--line);
}
.prose li:last-child { border-bottom: 1px solid var(--line); }
.prose li::before { content: "→"; position: absolute; left: 0; color: var(--emerald); font-size: 13px; }
.prose li strong { color: var(--ink); }
/* :not(.btn) is load-bearing: a .btn-primary/.btn-ghost living inside .prose
   (every bottom-of-article CTA) is also an <a>, and .prose a's higher
   specificity (class+element vs. .btn-primary's single class) was winning the
   cascade — overriding the button's --ink-on-emerald text with plain emerald,
   so the label rendered nearly invisible against the emerald button fill. */
.prose a:not(.btn) { color: var(--emerald); border-bottom: 1px solid rgba(47, 214, 130, 0.3); transition: border-color var(--dur-base) var(--ease); }
.prose a:not(.btn):hover { border-color: var(--emerald); }
/* Anchor the CTA to the 720px reading column so it lines up with the prose on
   every content page (blog index, ROI calc, 404) instead of spanning full-width. */
.prose-cta { margin-top: clamp(40px, 5vw, 56px); max-width: 720px; }

/* ══════════ CONTENT LAYOUT — reading column + sticky rail ══════════
   .prose alone is capped at 720px for line-length readability, which on a
   wide desktop viewport left the rest of the row (and the entire rest of a
   long page) as dead space with the text pinned to the left edge. Pairing it
   with a sticky rail (jump nav + a persistent audit CTA) fills that space
   with something a reader can use instead of just widening the text column
   past a comfortable reading measure. Collapses to a single column below the
   breakpoint — the rail drops under the article, unstickied. */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(240px, 300px);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 1180px) {
  .content-layout { grid-template-columns: 1fr; }
}
.content-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 100px; }
@media (max-width: 1180px) {
  .content-aside { position: static; max-width: 480px; }
}
.content-aside-card {
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--bg-2); padding: 22px clamp(20px, 3vw, 26px);
}
.content-aside-title {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ink-dim); margin-bottom: 14px;
}
/* Hidden until js/main.js confirms there are enough headings to be useful
   (progressive enhancement: no JS or a thin page means no half-built TOC). */
.content-toc-card[hidden] { display: none; }
.content-toc { display: flex; flex-direction: column; gap: 2px; }
.content-toc a {
  font-size: 13px; color: var(--ink-dim); padding: 7px 0 7px 14px;
  border-left: 2px solid var(--line); line-height: 1.4;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.content-toc a:hover { color: var(--ink); }
.content-toc a.active { color: var(--emerald); border-left-color: var(--emerald); }
.content-aside-sub { font-size: 13px; color: var(--ink-dim); line-height: 1.6; margin-bottom: 18px; }
.content-aside-btn { width: 100%; justify-content: center; }

/* ══════════ ROI CALCULATOR ══════════ */
.roi-calc {
  max-width: 640px; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: clamp(24px, 4vw, 36px); background: var(--bg-2); margin-bottom: clamp(32px, 5vw, 48px);
}
.roi-inputs { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.roi-output {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  border-top: 1px solid var(--line); padding-top: 24px; margin-top: 20px;
}
@media (max-width: 640px) { .roi-output { grid-template-columns: 1fr; } }
.roi-stat { display: flex; flex-direction: column; gap: 6px; }
.roi-stat-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em; color: var(--ink-dim); text-transform: uppercase; }
.roi-stat-value { font-family: var(--font-display); font-size: clamp(22px, 3vw, 28px); font-weight: 700; color: var(--emerald); }
.roi-disclaimer { font-size: 12px; color: var(--ink-dim); opacity: 0.75; margin-top: 20px; font-style: italic; }
.roi-lead { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
.roi-lead > label { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em; color: var(--ink-dim); text-transform: uppercase; margin-bottom: 10px; }
.roi-lead-row { display: flex; gap: 10px; flex-wrap: wrap; }
/* The ROI email input is the same field component as the contact form — it
   inherits `.lead-field input` styling (see the shared selector) so both form
   systems share one fill, one focus affordance. Only layout lives here. */
.roi-lead-row input[type="email"] { flex: 1 1 220px; min-width: 0; }
.roi-lead-row .btn { flex: 0 0 auto; }
.roi-lead .lead-form-status { display: block; margin-top: 10px; }

/* Platform bill calculator: the hint under the per-sale fee, the share line,
   and the pain checkboxes. The checkboxes are the qualification data on the
   lead, so they are a real control, sized for a thumb. */
.pf-hint { font-size: 12px; line-height: 1.5; color: var(--ink-dim); margin-top: 6px; }
.pf-share { font-size: 13.5px; color: var(--ink); margin-top: 14px; }
.pf-pains { border: 0; padding: 0; margin: 24px 0 0; }
.pf-pains legend {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em;
  color: var(--ink-dim); text-transform: uppercase; padding: 0; margin-bottom: 10px;
}
.pf-pain {
  display: flex; align-items: flex-start; gap: 10px; min-height: 44px;
  padding: 4px 0; cursor: pointer; font-size: 14px; color: var(--ink-dim);
}
.pf-pain:hover { color: var(--ink); }
.pf-pain input[type="checkbox"] {
  flex: 0 0 auto; width: 18px; height: 18px; margin-top: 12px; accent-color: var(--emerald); cursor: pointer;
}
.pf-pain span { align-self: center; }
.pf-site-field { margin-top: 14px; }
/* An inline pointer from an argument page to the tool that prices it. */
.prose-callout {
  border-left: 2px solid var(--emerald); background: rgba(47, 214, 130, 0.05);
  padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 22px 0;
  font-size: 15px; line-height: 1.6;
}
.prose-callout strong { color: var(--ink); }
@media (max-width: 480px) { .roi-lead-row .btn { width: 100%; } }

/* ══════════ CALLOUT (honesty notes, case-study disclaimers) ══════════ */
.callout {
  border: 1px solid var(--line); border-left: 3px solid var(--emerald); border-radius: var(--r-inset);
  padding: clamp(16px, 2.4vw, 22px) clamp(18px, 2.6vw, 26px); background: var(--bg-2);
  margin: clamp(28px, 3.5vw, 40px) 0; font-size: var(--fs-3); color: var(--ink-dim); line-height: 1.7;
}
.callout strong { color: var(--ink); }

/* ══════════ FOOTER ══════════ */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg-2); }
/* Flexbox, not a fixed 4-column grid: most pages pass 3 children (brand,
   one links list, meta) but index.html passes 4 (brand, two links lists,
   meta), so a hardcoded 1.4fr 1fr 1fr 1fr always left the 4th track empty
   dead space on the other 20 pages — a real, visible sitewide
   inconsistency (verified against a live screenshot before touching this:
   index.html's footer filled edge to edge, every other page's stopped
   about 3/4 of the way across). flex-grow on each child fills 100% of the
   row regardless of how many children show up, and .footer-brand's 1.4
   weight reproduces the original 1.4fr bias exactly whether there are 3
   children or 4. */
.footer-inner { display: flex; flex-wrap: wrap; gap: 36px; }
.footer-inner > * { flex: 1 1 180px; }
.footer-brand { flex-grow: 1.4; display: flex; gap: 16px; align-items: flex-start; }
.footer-brand p { font-size: var(--fs-4); color: var(--ink-dim); line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: var(--fs-4); color: var(--ink-dim); transition: color var(--dur-base) var(--ease); width: fit-content; }
.footer-links a:hover { color: var(--emerald); }
.footer-meta p { font-size: var(--fs-5); color: var(--ink-dim); }
.footer-meta p + p { margin-top: 6px; }
@media (max-width: 720px) { .footer-inner { flex-direction: column; } }

/* ══════════ REVEAL ANIMATIONS ══════════ */
/* Progressive enhancement: content is fully visible by default. Only once JS
   has added `.js-enabled` do the reveal states hide, then re-show on scroll.
   This keeps the whole funnel visible if JS is disabled, slow, or fails. */
/* Reveal durations cut to ~0.4s: a thumb-scroll outruns a 900ms fade, so the old
   timings left elements still animating below the fold. Faster motion also makes
   the distinct reveal verbs (clip/drift/slide) legible instead of a slow blur. */
.reveal-up { transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal-line { transition: transform var(--dur-slow) var(--ease); }
/* Extra reveal verbs so the page doesn't animate on a single note. */
.reveal-clip { transition: clip-path var(--dur-slow) var(--ease), opacity var(--dur-slow) var(--ease); }
.reveal-drift { transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }

/* ── The single signature gesture (see BUSINESS_PLAN "Narrative pacing") ──
   reveal-slide: the Work(03) list slides in horizontally — the one real
   directional move on the page, held a touch longer than ambient reveals so it
   still reads as a deliberate beat. Never used on funnel copy. */
.reveal-slide { transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }

.js-enabled .reveal-up { opacity: 0; transform: translateY(36px); }
.js-enabled .reveal-line { transform: translateY(110%); }
.js-enabled .reveal-clip { clip-path: inset(0 0 100% 0); opacity: 0.4; }
.js-enabled .reveal-drift { opacity: 0; transform: translateX(-44px); }
.js-enabled .reveal-slide { opacity: 0; transform: translateX(-64px); }

.reveal-up.in { opacity: 1; transform: none; }
.reveal-line.in { transform: none; }
.reveal-clip.in { clip-path: inset(0 0 0 0); opacity: 1; }
.reveal-drift.in { opacity: 1; transform: none; }
.reveal-slide.in { opacity: 1; transform: none; }

[data-delay="1"] { transition-delay: 0.12s; }
[data-delay="2"] { transition-delay: 0.24s; }
[data-delay="3"] { transition-delay: 0.36s; }
[data-delay="4"] { transition-delay: 0.48s; }
[data-delay="5"] { transition-delay: 0.6s; }

/* On phones the thumb-scroll outruns a 0.5s reveal, so every scroll verb only
   ever showed absence below the fold — AND the expensive ones (clip-path
   compositing, the 5-card horizontal slide, the masked hero-line slide) cost
   real frames on mid-tier hardware for motion nobody perceives. Render EVERY
   reveal verb static under 768px: no fade, no clip, no slide, no line-mask.
   Content is simply present. (Prior versions exempted clip/slide/line and lied
   about it in this comment — now fixed.) */
@media (max-width: 768px) {
  .reveal-up, .reveal-line, .reveal-clip, .reveal-drift, .reveal-slide,
  .js-enabled .reveal-up, .js-enabled .reveal-line, .js-enabled .reveal-clip,
  .js-enabled .reveal-drift, .js-enabled .reveal-slide {
    opacity: 1; transform: none; clip-path: none; transition: none;
  }
}

/* ══════════ AMBIENT ANIMATION GATING ══════════ */
/* When a section carrying looping CSS animations (hero kicker pulse, scroll-drip)
   scrolls off-screen, JS adds `.anim-paused` so the GPU isn't compositing
   animations nobody can see. Re-armed on scroll back in. (`.shimmer` is a static
   emerald accent since round 4 — no animation to pause, so it's not listed.) */
.anim-paused .kicker-dot,
.anim-paused .hero-scroll-line::after { animation-play-state: paused; }

/* ══════════ FULL-CARD CLICK TARGETS ══════════ */
/* Stretched-link pattern: the learn-more anchor's ::after covers the whole
   card, so the entire surface is one click target (the way visitors already
   try to use cards). Work items do the same via the title link; the explicit
   Visit/Explore link keeps its own z-index so it stays independently
   focusable. */
.service-card { position: relative; }
.service-learn-more::after { content: ""; position: absolute; inset: 0; }
.service-card:hover .service-learn-more { color: var(--gold); }
.work-item { position: relative; }
.work-body h3 a::after { content: ""; position: absolute; inset: 0; }
.work-year .work-link { position: relative; z-index: 2; }

/* ══════════ HERO PROOF LINE ══════════ */
.hero-proof {
  margin-top: 22px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.04em; color: var(--ink-dim); max-width: 60ch; line-height: 1.8;
}
.hero-proof a { color: var(--emerald); border-bottom: 1px solid rgba(47, 214, 130, 0.3); }
.hero-proof a:hover { border-color: var(--emerald); }

/* ══════════ MICRO-NOTE (audit microcopy, availability line) ══════════ */
.micro-note { margin-top: 14px; font-size: var(--fs-4); color: var(--ink-dim); max-width: 520px; }

/* ══════════ STICKY MOBILE CTA ══════════ */
/* Phones lose the nav CTA behind the burger; a persistent bottom bar keeps
   the one action always reachable. Slides in after the hero, steps aside
   when the contact form itself is on screen. */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 940;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(6, 9, 10, 0.92); border-top: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transform: translateY(110%); transition: transform var(--dur-base) var(--ease);
  display: none;
}
.mobile-cta .btn { width: 100%; justify-content: center; }
.mobile-cta.show { transform: none; }
@media (max-width: 768px) {
  .mobile-cta { display: block; }
  /* Keep the chat bubble clear of the CTA bar. */
  .chat-fab { bottom: 88px; }
  .chat-panel { bottom: 152px; }
}

/* ══════════ FOOTER TOP — newsletter + social ══════════ */
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: start;
  padding-bottom: clamp(32px, 4vw, 44px); margin-bottom: clamp(32px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}
.footer-news-title { font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 23px); color: var(--ink); margin-bottom: 8px; }
.footer-news-sub { font-size: var(--fs-3); color: var(--ink-dim); max-width: 46ch; margin-bottom: 16px; }
.newsletter-form .cd-label { display: block; margin-bottom: 8px; }
.newsletter-row { display: flex; gap: 10px; flex-wrap: wrap; max-width: 460px; }
/* Same field component as the contact form — one fill, one focus affordance. */
.newsletter-row input[type="email"] {
  flex: 1 1 220px; min-width: 0;
  background: rgba(233, 238, 240, 0.04); border: 1px solid var(--line);
  border-radius: var(--r-inset); padding: 13px 16px; color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-2);
  transition: border-color var(--dur-base) var(--ease);
}
.newsletter-row input[type="email"]:focus { outline: none; border-color: rgba(47, 214, 130, 0.55); }
.newsletter-form .lead-form-status { display: block; margin-top: 10px; }
.footer-social { display: flex; flex-direction: column; gap: 12px; }
.footer-social-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-social-links a {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-dim);
  border-bottom: 1px solid transparent; transition: color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.footer-social-links a:hover { color: var(--emerald); border-color: var(--emerald); }
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr; } }

/* ══════════ AI CONCIERGE ══════════ */
.chat-fab {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 950;
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(47, 214, 130, 0.4);
  background: var(--bg-2); color: var(--emerald); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.chat-fab svg { width: 24px; height: 24px; }
.chat-fab:hover { transform: translateY(-2px); border-color: var(--emerald); }
.chat-panel {
  position: fixed; right: clamp(12px, 2.5vw, 28px); bottom: clamp(84px, 10vh, 96px); z-index: 951;
  width: min(380px, calc(100vw - 24px)); max-height: min(560px, calc(100vh - 120px));
  display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.chat-panel[hidden] { display: none; }
.chat-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.chat-title { font-family: var(--font-display); font-size: 17px; color: var(--ink); }
.chat-sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--ink-dim); text-transform: uppercase; margin-top: 4px; }
.chat-close {
  background: none; border: none; color: var(--ink-dim); font-size: 22px; line-height: 1;
  cursor: pointer; padding: 2px 6px; transition: color var(--dur-fast) var(--ease);
}
.chat-close:hover { color: var(--ink); }
.chat-log {
  flex: 1 1 auto; overflow-y: auto; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 10px; min-height: 140px;
}
.chat-msg {
  max-width: 85%; padding: 10px 14px; border-radius: 14px;
  font-size: var(--fs-3); line-height: 1.55; white-space: pre-wrap; overflow-wrap: break-word;
}
.chat-msg.bot { background: rgba(233, 238, 240, 0.05); border: 1px solid var(--line); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: rgba(47, 214, 130, 0.14); border: 1px solid rgba(47, 214, 130, 0.25); color: var(--ink); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-thinking { color: var(--ink-dim); letter-spacing: 0.2em; }
.chat-form { padding: 12px 18px 4px; border-top: 1px solid var(--line); }
.chat-input-label { display: none; }
.chat-input-row { display: flex; gap: 8px; }
.chat-input-row input {
  flex: 1 1 auto; min-width: 0;
  background: rgba(233, 238, 240, 0.04); border: 1px solid var(--line);
  border-radius: var(--r-inset); padding: 11px 14px; color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-3);
  transition: border-color var(--dur-base) var(--ease);
}
.chat-input-row input:focus { outline: none; border-color: rgba(47, 214, 130, 0.55); }
.chat-input-row .btn { padding: 11px 18px; font-size: 13px; }
.chat-note { font-size: 11px; color: var(--ink-dim); opacity: 0.8; padding: 8px 18px 14px; }
.chat-note a { color: var(--emerald); }

/* ══════════ PAY PAGE ══════════ */
.pay-banner {
  border: 1px solid var(--line); border-left: 3px solid var(--emerald); border-radius: var(--r-inset);
  padding: 16px 20px; background: var(--bg-2); margin-bottom: clamp(28px, 3.5vw, 40px);
  font-size: var(--fs-2); color: var(--ink);
}
.pay-banner.error { border-left-color: var(--danger); }
.pay-banner[hidden] { display: none; }
.pay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: clamp(32px, 4vw, 44px); }
.pay-card {
  text-align: left; cursor: pointer; border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--bg-2); padding: 22px; color: var(--ink); font-family: var(--font-body);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.pay-card:hover { transform: translateY(-3px); border-color: rgba(47, 214, 130, 0.4); }
.pay-card.selected { border-color: var(--emerald); box-shadow: 0 0 0 1px var(--emerald) inset; }
.pay-card .price-name { display: block; font-size: 14px; color: var(--ink-dim); margin-bottom: 8px; }
.pay-card .price-amount { font-family: var(--font-display); font-size: clamp(24px, 3vw, 30px); font-weight: 700; color: var(--ink); display: block; margin-bottom: 10px; }
.pay-card p { font-size: var(--fs-4); color: var(--ink-dim); }
.pay-custom { max-width: 560px; border-top: 1px solid var(--line); padding-top: clamp(24px, 3vw, 32px); margin-bottom: clamp(32px, 4vw, 44px); }
.pay-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.venmo-button-slot { display: inline-block; min-width: 190px; min-height: 48px; }
.venmo-button-slot[hidden] { display: none; }
.pay-secure { font-size: var(--fs-5); color: var(--ink-dim); opacity: 0.85; max-width: 62ch; }

/* ══════════ INVOICE PAGE ══════════ */
.invoice-status-badge {
  display: inline-block; vertical-align: middle; margin-left: 16px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-dim);
}
.invoice-status-badge.status-paid { color: var(--emerald); border-color: rgba(47, 214, 130, 0.4); }
.invoice-status-badge.status-overdue { color: var(--danger); border-color: rgba(224, 122, 95, 0.4); }
.invoice-status-badge.status-void { color: var(--ink-dim); opacity: 0.7; }
.invoice-panel {
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-2);
  padding: clamp(24px, 4vw, 36px); max-width: 680px; margin-bottom: clamp(32px, 4vw, 44px);
}
.invoice-meta { display: flex; gap: clamp(32px, 5vw, 64px); flex-wrap: wrap; margin-bottom: 28px; }
.invoice-meta > div { display: flex; flex-direction: column; gap: 6px; }
.invoice-meta span:last-child { font-size: 15px; color: var(--ink); }
.invoice-items { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.invoice-items th, .invoice-items td { text-align: left; padding: 12px 0; font-size: var(--fs-3); }
.invoice-items thead th { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--ink-dim); text-transform: uppercase; border-bottom: 1px solid var(--line); }
.invoice-items tbody td { border-bottom: 1px solid var(--line); color: var(--ink-dim); }
.invoice-items tbody td:last-child, .invoice-items thead th:last-child, .invoice-items tfoot th:last-child { text-align: right; }
.invoice-items tfoot tr:last-child th { padding-top: 14px; font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.invoice-items tfoot .invoice-subrow th {
  font-family: var(--font-body); font-size: 13.5px; font-weight: 500; color: var(--ink-dim);
  padding: 12px 0 2px; border-bottom: none;
}
.invoice-items tfoot .invoice-subrow:first-child th { border-top: 1px solid var(--line); }
.invoice-notes { font-size: var(--fs-3); color: var(--ink-dim); margin: 20px 0; padding: 14px 16px; border-left: 2px solid var(--line); }
/* Payment advice: a neutral card with a single emerald accent (left rule +
   icon), matching the .pay-banner idiom used elsewhere on the site rather
   than a one-off green-tinted alert box — the label reads like the other
   eyebrow fields (.cd-label: FROM, BILL TO, ISSUED…) instead of competing
   with the PAID badge and CTA buttons for the only accent color on the page. */
.invoice-payinstructions {
  margin: 20px 0; padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--emerald);
  border-radius: var(--r-inset); background: var(--bg);
}
.ipi-head { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.ipi-icon { color: var(--emerald); flex-shrink: 0; }
.invoice-payinstructions-title {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-dim);
}
/* pre-line: the payment methods are stored one per line (\n) and must read
   as separate labelled options, not one run-on sentence of account numbers.
   Wrapping still applies to any single line that's too long for the box. */
.invoice-payinstructions #invoicePayInstructionsText {
  font-size: var(--fs-3); line-height: 1.8; color: var(--ink);
  white-space: pre-line; overflow-wrap: break-word;
}
.invoice-zelle-qr { margin: 14px 0 0; display: flex; align-items: center; gap: 14px; }
.invoice-zelle-qr[hidden] { display: none; }
.invoice-zelle-qr img { width: 132px; height: 132px; flex: none; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.invoice-zelle-qr figcaption { max-width: 270px; font-size: var(--fs-5); line-height: 1.55; color: var(--ink-dim); }
@media (max-width: 520px) { .invoice-zelle-qr { align-items: flex-start; flex-direction: column; } }
.invoice-payinstructions #deletionStatusText {
  font-size: var(--fs-3); line-height: 1.65; color: var(--ink); overflow-wrap: break-word;
}
/* The actionable line (reference the invoice number) gets weight so it
   reads as an instruction, not another sentence of the same paragraph. */
.invoice-payreference { margin-top: 10px; font-size: var(--fs-3); font-weight: 600; color: var(--ink); }
/* The confirmation footnote is what happens AFTER paying — a distinct,
   lower-priority tier, set off by a rule rather than just another line. */
.invoice-payconfirm {
  margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: var(--fs-5); line-height: 1.6; color: var(--ink-dim);
}

/* ══════════ PAPER DOCUMENT (owner invoice preview) ══════════
   /invoice-preview renders as the finished document: a white sheet on a
   neutral desk, identical on screen and on paper. What the owner sees is
   exactly what prints. */
body.paper-page { background: #e9e9e6; color: #17171a; min-height: 100vh; }
.paper-toolbar {
  max-width: 800px; margin: 0 auto; padding: 20px 20px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.paper-toolbar-note { font-size: 12.5px; line-height: 1.55; color: #6b6b70; max-width: 52ch; }
.paper-toolbar .btn { flex: 0 0 auto; }
.paper-waiting { max-width: 800px; margin: 46px auto; padding: 0 20px; color: #6b6b70; font-size: 14px; }
.paper-sheet {
  max-width: 800px; margin: 18px auto 64px; background: #ffffff; color: #17171a;
  padding: clamp(32px, 6vw, 56px) clamp(24px, 6vw, 56px);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(15, 15, 20, 0.07), 0 22px 55px -20px rgba(15, 15, 20, 0.28);
}
.paper-letterhead {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding-bottom: 22px; border-bottom: 2px solid #17171a; margin-bottom: 32px;
}
.plh-brand { display: flex; align-items: center; gap: 12px; }
/* Bare mark, no chip: the owner-supplied logo lockup (2026-08-11) is the
   black heart-leaf shamrock beside the two-line wordmark. Boxed logos read
   as app avatars, not stationery, and the shamrock needs 32px+ for its
   lobes to separate. */
.plh-mark { display: inline-flex; align-items: center; color: #17171a; }
.plh-mark svg { width: 42px; height: 42px; }
.plh-word { display: flex; flex-direction: column; line-height: 1.05; color: #17171a; }
.plh-word-top { font-family: var(--font-body); font-weight: 800; font-size: 23px; letter-spacing: -0.02em; white-space: nowrap; }
.plh-word-sub { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.045em; margin-top: 3px; white-space: nowrap; }
.paper-payreference { margin-top: 6px; font-size: 13px; color: #555; }
.plh-meta {
  font-family: var(--font-mono); font-size: 10.5px; line-height: 1.75; letter-spacing: 0.04em;
  color: #5d5d63; text-align: right;
}
.paper-doc-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 30px; }
.paper-doc-label {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase;
  color: #8b8b91; margin-bottom: 9px;
}
.paper-doc-title {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 4vw, 31px);
  line-height: 1.15; letter-spacing: -0.01em; color: #17171a;
}
.paper-stamp {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; white-space: nowrap;
  border: 1.5px solid #17171a; border-radius: 3px; padding: 5px 11px; margin-top: 7px; color: #17171a;
}
.paper-meta { display: flex; gap: clamp(36px, 8vw, 84px); flex-wrap: wrap; margin-bottom: 34px; }
.paper-meta-label {
  display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; color: #8b8b91; margin-bottom: 7px;
}
.paper-meta-value { font-size: 15.5px; color: #17171a; }
.paper-items { width: 100%; border-collapse: collapse; margin-bottom: 4px; }
.paper-items th, .paper-items td { text-align: left; padding: 13px 0; }
.paper-items thead th {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #8b8b91; border-bottom: 2px solid #17171a; font-weight: 500;
}
.paper-items tbody td { border-bottom: 1px solid #e4e4e0; font-size: 15px; color: #2d2d32; }
.paper-items td:last-child, .paper-items th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.paper-items tfoot tr:last-child th {
  padding-top: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #17171a;
}
.paper-items tfoot .paper-subrow th {
  font-family: var(--font-body); font-size: 13.5px; font-weight: 500; color: #5d5d63;
  padding: 12px 0 6px; border-top: 2px solid #17171a;
}
.paper-notes {
  margin: 26px 0 0; padding: 14px 18px; background: #f6f6f3; border-left: 2px solid #c9c9c4;
  font-size: 13.5px; line-height: 1.65; color: #4b4b51;
}
.paper-payinstructions {
  margin: 26px 0 0; padding: 18px 20px; border: 1px solid #d9d9d5; border-left: 3px solid #17171a; border-radius: 6px;
}
.paper-ipi-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.paper-ipi-icon { color: #17171a; flex-shrink: 0; }
.paper-pay-title {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: #8b8b91;
}
.paper-payinstructions #invoicePayInstructionsText {
  font-size: 14px; line-height: 1.75; color: #2d2d32;
  white-space: pre-line; overflow-wrap: break-word;
}
.paper-payreference { margin-top: 9px; font-size: 14px; font-weight: 600; color: #17171a; }
.paper-footer {
  margin-top: 44px; padding-top: 16px; border-top: 1px solid #e4e4e0;
  font-size: 11.5px; line-height: 1.6; color: #8b8b91;
}
/* Frame chrome recedes on the desk: the site's emerald glow button is a
   dark-theme artifact here, and the dark theme's selection color is
   unreadable on white paper. */
body.paper-page .btn-primary {
  background: #17171a; color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 15, 20, 0.18);
}
body.paper-page .btn-primary:hover { box-shadow: 0 8px 22px rgba(15, 15, 20, 0.26); }
body.paper-page ::selection { background: rgba(23, 23, 26, 0.14); color: inherit; }
@media (max-width: 560px) {
  .paper-letterhead { flex-wrap: wrap; }
  .plh-meta { text-align: left; }
}

/* Brand letterhead for the client-facing /invoice page. On screen it heads
   the document as the company lockup (shamrock mark + two-line wordmark);
   in print it replaces the site chrome entirely so the page reads as a
   document, not a screenshot of a UI card. The closing line stays
   print-only (the screen page has its own questions line below). */
.invoice-print-footer { display: none; }
.invoice-print-letterhead {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-bottom: 2px solid var(--ink); padding-bottom: 16px; margin-bottom: 28px;
}
.ipl-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.ipl-mark { display: inline-flex; align-items: center; }
.ipl-word { display: flex; flex-direction: column; line-height: 1.05; }
.ipl-word-top {
  font-family: var(--font-body); font-weight: 800; font-size: 24px; letter-spacing: -0.02em;
}
.ipl-word-sub {
  font-family: var(--font-body); font-weight: 600; font-size: 12.5px; letter-spacing: 0.045em;
  margin-top: 3px;
}
.ipl-meta {
  font-family: var(--font-mono); font-size: 11px; line-height: 1.7; letter-spacing: 0.03em;
  color: var(--ink-soft); text-align: right;
}
@media (max-width: 560px) {
  .invoice-print-letterhead { flex-wrap: wrap; }
  .ipl-meta { text-align: left; }
}
.invoice-payreference { margin-top: 6px; font-size: var(--fs-2); color: var(--ink-soft); }

/* Print: the invoice becomes the document, not a card floating on a page.
   Every background flattens to white, the site nav/footer/buttons and the
   web-app chrome (eyebrow icon, pill badge, boxed panel) disappear, and a
   plain letterhead + rule stand in for them. Content is sized to fit one
   page. Note: the browser's own print header/footer (URL, date, page
   title) is controlled by the print dialog's "Headers and footers" toggle,
   outside any page's CSS — turn it off there for a clean printout. */
@media print {
  @page { margin: 14mm; }
  .nav, .footer, .scroll-progress, .pay-secure, .pay-banner,
  #invoicePayActions, .skip-link, .section-num { display: none !important; }
  * {
    background: #fff !important; color: #000 !important;
    box-shadow: none !important; text-shadow: none !important;
    animation: none !important; transition: none !important;
  }
  /* Scroll-reveal classes must not leave content invisible on paper. */
  .reveal-up, .reveal-line, .reveal-clip, .reveal-drift, .reveal-slide {
    opacity: 1 !important; transform: none !important; clip-path: none !important;
  }
  .section { padding: 0 !important; }
  .page-hero-pad { padding-top: 0 !important; }
  .invoice-print-letterhead {
    display: flex !important; justify-content: space-between; align-items: center;
    gap: 16px; border-bottom: 2px solid #000 !important; padding-bottom: 14px; margin-bottom: 24px;
  }
  .invoice-print-letterhead .ipl-mark { color: #000 !important; }
  .invoice-print-letterhead .ipl-mark svg { width: 40px; height: 40px; }
  .invoice-print-letterhead .ipl-word-top { font-size: 22px; }
  .invoice-print-letterhead .ipl-word-sub { font-size: 11.5px; }
  .invoice-print-letterhead .ipl-meta {
    font-family: var(--font-mono); font-size: 10px; line-height: 1.7; letter-spacing: 0.03em;
    color: #555 !important; text-align: right;
  }
  /* The invoice number (the .section-head eyebrow) prints: the How-to-pay
     box tells clients to reference it, so the document must show it. */
  .section-head { display: block !important; margin: 0 0 8px !important; }
  .section-label {
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.3em; color: #555 !important;
  }
  .section-title { font-size: 22px !important; margin-bottom: 20px !important; }
  .invoice-status-badge {
    border: 1px solid #000 !important; border-radius: 3px !important; padding: 3px 8px !important;
  }
  .invoice-panel {
    border: none !important; border-radius: 0 !important; max-width: none !important;
    padding: 0 !important; margin-bottom: 0 !important;
  }
  .invoice-meta { margin-bottom: 20px !important; }
  .invoice-items thead th, .invoice-items tbody td { border-color: #ccc !important; }
  .invoice-items tfoot tr:first-child th { border-top: 2px solid #000 !important; padding-top: 12px !important; }
  .invoice-items tfoot .invoice-subrow th { color: #555 !important; }
  .invoice-notes { border-left-color: #999 !important; margin: 14px 0 !important; }
  .invoice-payinstructions { border: 1px solid #999 !important; padding: 12px 14px !important; }
  .invoice-payconfirm { border-top-color: #ccc !important; }
  /* The client printout keeps the same two-tone hierarchy as the preview
     sheet instead of flattening every label to solid black. */
  .cd-label, .invoice-items thead th, .invoice-payinstructions-title, .invoice-notes,
  .invoice-payconfirm, .ipi-icon {
    color: #555 !important;
  }
  /* Longer invoices break between blocks, never through them. */
  .paper-items tr, .invoice-items tr, .paper-notes, .invoice-notes,
  .paper-payinstructions, .invoice-payinstructions, .paper-footer,
  .invoice-print-footer, .paper-letterhead, .invoice-print-letterhead {
    break-inside: avoid;
  }
  .invoice-print-footer {
    display: block !important; margin-top: 26px !important; padding-top: 14px !important;
    border-top: 1px solid #ccc !important; font-size: 11px !important; color: #555 !important;
  }

  /* Paper page prints as the sheet alone: no desk, no toolbar, and the
     gray typographic hierarchy re-asserted over the global flatten above. */
  body.paper-page { background: #fff !important; }
  .paper-toolbar, .paper-waiting { display: none !important; }
  .paper-sheet {
    max-width: none !important; margin: 0 !important; padding: 0 !important;
    border-radius: 0 !important;
  }
  .plh-meta, .paper-doc-label, .paper-meta-label, .paper-items thead th,
  .paper-footer, .paper-notes, .paper-pay-title { color: #555 !important; }
  .paper-notes { background: #fff !important; border-left: 2px solid #999 !important; }
  .paper-payinstructions { border-color: #999 !important; }
  .paper-footer, .paper-items tbody td { border-color: #ccc !important; }
}

/* ══════════ STATUS PAGE ══════════ */
.status-group { margin-bottom: clamp(28px, 3.5vw, 40px); max-width: 720px; }
.status-group h2 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.25em;
  color: var(--ink-dim); text-transform: uppercase; margin-bottom: 12px;
}
.status-list { border-top: 1px solid var(--line); }
.status-row {
  display: grid; grid-template-columns: 14px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-3);
}
.status-row .status-name { color: var(--ink); }
.status-row .status-desc { display: block; font-size: var(--fs-5); color: var(--ink-dim); margin-top: 2px; }
.status-state { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-dim); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-dim); opacity: 0.5; }
.status-row.live .status-dot { background: var(--emerald); opacity: 1; box-shadow: 0 0 10px rgba(47, 214, 130, 0.7); }
.status-row.live .status-state { color: var(--emerald); }

/* ══════════ BOOKING PAGE (/book) ══════════ */
.book-widget { max-width: 640px; margin-top: clamp(28px, 4vw, 44px); }
.book-note {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-dim); margin-bottom: 16px;
}
.book-loading { color: var(--ink-dim); font-size: var(--fs-2); margin-bottom: 18px; }
.book-loading a { color: var(--emerald); text-decoration: underline; text-underline-offset: 2px; }
.book-days { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.book-day {
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: var(--r-inset);
  padding: 10px 16px; color: var(--ink); cursor: pointer; text-align: center;
  font-family: var(--font-body);
  transition: border-color var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}
.book-day-wd {
  display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-dim); margin-bottom: 4px;
}
.book-day-date { display: block; font-size: var(--fs-3); }
.book-day:hover { border-color: rgba(47, 214, 130, 0.5); }
.book-day[aria-pressed="true"] { border-color: var(--emerald); background: rgba(47, 214, 130, 0.08); }
.book-day[aria-pressed="true"] .book-day-wd { color: var(--emerald); }
.book-slots {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px;
  margin-bottom: 24px;
}
.book-slot {
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: var(--r-inset);
  padding: 11px 8px; color: var(--ink); font-family: var(--font-body); font-size: var(--fs-3);
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}
.book-slot:hover { border-color: rgba(47, 214, 130, 0.6); background: rgba(47, 214, 130, 0.06); }
.book-day:focus-visible, .book-slot:focus-visible, .book-change:focus-visible {
  outline: 2px solid var(--emerald); outline-offset: 2px;
}
.book-chosen { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.book-chosen strong { color: var(--emerald); font-size: var(--fs-1); font-weight: 600; }
.book-change {
  background: none; border: none; padding: 0; color: var(--ink-dim); font-size: var(--fs-4);
  font-family: var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}
.book-change:hover { color: var(--emerald); }
.book-confirm {
  border: 1px solid rgba(47, 214, 130, 0.35); border-radius: var(--r-card);
  background: rgba(47, 214, 130, 0.04); padding: clamp(22px, 3.5vw, 32px); max-width: 560px;
}
.book-confirm h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); color: var(--ink); margin-bottom: 12px; }
.book-confirm p { color: var(--ink-dim); font-size: var(--fs-2); margin-bottom: 12px; }
.book-confirm-fine { font-size: var(--fs-4); }

/* ══════════ REDUCED MOTION ══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-up, .reveal-line, .reveal-clip, .reveal-drift, .reveal-slide,
  .js-enabled .reveal-up, .js-enabled .reveal-line,
  .js-enabled .reveal-clip, .js-enabled .reveal-drift,
  .js-enabled .reveal-slide {
    opacity: 1; transform: none; clip-path: none;
  }
  .hero-canvas, .contact-canvas { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CINEMA LAYER (2026-09-08). Owner direction: "an authority in the space,
   cutting edge, accentuating AI, moving cinematic visuals everywhere, the
   colour scheme can change." Appended as one layer so it composes on top of
   the sheet above rather than rewriting it: the tokens shift here (deeper
   ground, ivory ink, copper as the warm accent beside the brand emerald), and
   every new surface is glass over generated cinematic media. The emerald
   stays: it is the shamrock, and the generated imagery was lit to match it.
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  --bg: #05080a;
  --bg-2: #0a1013;
  --ink: #f1ece2;
  --ink-dim: #9ea9ab;
  --line: rgba(241, 236, 226, 0.09);
  --gold: #e0b46f;
  --copper: #e2966a;
  --glass: rgba(241, 236, 226, 0.035);
  --glass-strong: rgba(241, 236, 226, 0.06);
  --glass-line: rgba(241, 236, 226, 0.1);
}
body { font-weight: 300; }
::selection { background: rgba(226, 150, 106, 0.35); color: #fff; }

/* Film grain over everything: a static SVG noise tile, low opacity, blended.
   Animated only on wide screens without a reduced-motion preference, and
   animated with a transform so it stays on the compositor. */
body::after {
  content: ""; position: fixed; inset: -60%; width: 220%; height: 220%;
  pointer-events: none; z-index: 950; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
  background-size: 240px 240px; mix-blend-mode: overlay;
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  body::after { animation: grain 1.4s steps(7) infinite; will-change: transform; }
}
@keyframes grain {
  0% { transform: translate(0, 0); } 15% { transform: translate(-2%, -3%); }
  30% { transform: translate(3%, 1%); } 45% { transform: translate(-1%, 3%); }
  60% { transform: translate(2%, -2%); } 75% { transform: translate(-3%, 2%); }
  100% { transform: translate(1%, -1%); }
}

/* Glass: the one surface material of this layer. */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%);
}
@media (prefers-reduced-transparency: reduce) {
  .glass { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10, 16, 19, 0.96); }
}

/* Nav becomes a glass bar once scrolled. */
.nav.scrolled {
  background: rgba(5, 8, 10, 0.58);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--glass-line);
}
.nav-cta { border-color: rgba(47, 214, 130, 0.45); }
.scroll-progress { background: linear-gradient(90deg, var(--emerald), var(--copper)); }

/* ── Hero: the loop, the veil, the thesis ─────────────────────────────── */
.hero-cinema { background: var(--bg); }
.hero-media { position: absolute; inset: 0; overflow: hidden; background: var(--bg); }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 45%;
  transform: scale(1.03);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 28% 45%, rgba(5, 8, 10, 0) 0%, rgba(5, 8, 10, 0.45) 55%, rgba(5, 8, 10, 0.7) 100%),
    linear-gradient(to bottom, rgba(5, 8, 10, 0.35), rgba(5, 8, 10, 0.25) 35%, rgba(5, 8, 10, 0.6) 75%, var(--bg));
}
.hero-cinema .hero-vignette {
  background: linear-gradient(to right, rgba(5, 8, 10, 0.55), rgba(5, 8, 10, 0.15) 55%, transparent);
}
.hero-cinema .hero-content { padding-top: 150px; }
.hero-cinema .hero-title {
  font-size: clamp(44px, 7.4vw, 108px); line-height: 0.98; letter-spacing: -0.025em;
  max-width: 12ch; margin-bottom: 30px;
  text-shadow: 0 2px 40px rgba(5, 8, 10, 0.6);
}
.hero-cinema .hero-sub { max-width: 600px; font-size: clamp(16px, 1.7vw, 19px); color: var(--ink); opacity: 0.86; }
.hero-cinema .micro-note { margin-top: 14px; }
.hero-proof-rail { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.proof-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(5, 8, 10, 0.45); border: 1px solid var(--glass-line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink);
  transition: border-color var(--dur-base) var(--ease), background var(--dur-base) var(--ease), transform var(--dur-fast) var(--ease);
}
.proof-chip:hover { border-color: rgba(47, 214, 130, 0.5); background: rgba(47, 214, 130, 0.08); transform: translateY(-1px); }
.proof-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 10px var(--emerald); animation: pulse 2.4s ease-in-out infinite; }
.proof-chip-arrow { color: var(--copper); }

/* ── Ticker ──────────────────────────────────────────────────────────── */
.marquee { border-color: var(--glass-line); background: rgba(5, 8, 10, 0.6); }
.marquee-track span { color: var(--ink); opacity: 0.85; }
.marquee-track i { color: var(--copper); }

/* ── 01 About: statement beside the room, facts on glass ─────────────── */
.about-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-copy p { color: var(--ink-dim); font-size: var(--fs-1); max-width: 56ch; }
.about-copy p + p { margin-top: 16px; }
.about-copy .about-statement { margin-bottom: clamp(22px, 3vw, 34px); max-width: none; }
.about-visual { margin: 0; position: relative; }
.about-visual-frame {
  border-radius: 22px; overflow: hidden; border: 1px solid var(--glass-line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  aspect-ratio: 16 / 10;
}
.about-visual-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.12); will-change: transform; }
.about-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  margin: -44px clamp(12px, 3vw, 32px) 0; position: relative; z-index: 2;
  border-radius: 16px; overflow: hidden;
  background: rgba(10, 16, 19, 0.72);
}
.fact { padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; background: rgba(241, 236, 226, 0.02); }
.fact-num { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; color: var(--ink); line-height: 1; display: flex; align-items: center; gap: 8px; }
.fact-live { color: var(--emerald); font-size: clamp(18px, 2vw, 24px); }
.fact-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); }
.stats { border-color: var(--glass-line); background: var(--glass-line); }
.stat { background: rgba(10, 16, 19, 0.85); }
@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; }
  .about-facts { margin-top: -30px; }
}

/* ── Section media: a loop behind a section, veiled for legibility ────── */
.section-lede { max-width: 62ch; color: var(--ink-dim); font-size: var(--fs-1); margin: clamp(-30px, -3vw, -20px) 0 clamp(36px, 5vw, 56px); }
.services-cinema, .contact-cinema { position: relative; overflow: hidden; background: var(--bg); }
.section-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.section-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transform: scale(1.02); }
.section-media-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(5, 8, 10, 0.78) 18%, rgba(5, 8, 10, 0.82) 82%, var(--bg) 100%);
}
.section-media-veil-deep {
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(5, 8, 10, 0.86) 20%, rgba(5, 8, 10, 0.9) 80%, var(--bg) 100%);
}
.services-cinema > .container, .contact-cinema > .container { position: relative; z-index: 1; }
.services-cinema { background: var(--bg); }

/* ── 02 Capabilities: cinematic tiles, every one of them ─────────────── */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 440px; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--glass-line); background: var(--bg-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transition: border-color var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease);
  isolation: isolate;
}
.cap-tile-wide { grid-column: span 2; }
.cap-tile:hover { border-color: rgba(47, 214, 130, 0.4); transform: translateY(-4px); box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5); }
.cap-media { position: absolute; inset: 0; z-index: 0; }
.cap-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.03); transition: transform 1.4s var(--ease); opacity: 0.92;
}
.cap-tile:hover .cap-media img { transform: scale(1.09); }
.cap-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 10, 0.97) 0%, rgba(5, 8, 10, 0.86) 34%, rgba(5, 8, 10, 0.35) 68%, rgba(5, 8, 10, 0.05) 100%);
}
/* A light sweep crosses the tile on hover: the one flourish, kept cheap. */
.cap-tile::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(112deg, transparent 32%, rgba(241, 236, 226, 0.09) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 1.2s var(--ease);
}
.cap-tile:hover::before { transform: translateX(130%); }
.cap-body { position: relative; z-index: 2; padding: clamp(22px, 2.6vw, 30px); }
.cap-index { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--copper); display: block; margin-bottom: 12px; }
.cap-body h3 { font-family: var(--font-display); font-size: clamp(22px, 2.1vw, 28px); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; color: var(--ink); }
.cap-body p { font-size: var(--fs-3); color: var(--ink-dim); margin-bottom: 14px; max-width: 52ch; }
.cap-body ul { list-style: none; margin-bottom: 16px; display: flex; flex-direction: column; gap: 4px; }
.cap-body li { font-size: var(--fs-4); color: var(--ink); opacity: 0.85; padding-left: 18px; position: relative; }
.cap-body li::before { content: "→"; position: absolute; left: 0; color: var(--emerald); font-size: 11px; top: 1px; }
.cap-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--emerald); padding: 10px 14px; border-radius: 999px;
  border: 1px solid rgba(47, 214, 130, 0.3); background: rgba(5, 8, 10, 0.5);
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.cap-link:hover { background: rgba(47, 214, 130, 0.12); border-color: rgba(47, 214, 130, 0.6); }
.cap-tile-wide .cap-body { max-width: 60%; }
@media (max-width: 1020px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-tile-wide .cap-body { max-width: 80%; }
}
@media (max-width: 680px) {
  .cap-grid { grid-template-columns: 1fr; }
  .cap-tile, .cap-tile-wide { grid-column: auto; min-height: 380px; }
  .cap-tile-wide .cap-body { max-width: none; }
}

.tool-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(28px, 4vw, 44px); }
.tool-card {
  display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 16px;
  transition: border-color var(--dur-base) var(--ease), transform var(--dur-fast) var(--ease), background var(--dur-base) var(--ease);
}
.tool-card:hover { border-color: rgba(226, 150, 106, 0.5); background: var(--glass-strong); transform: translateY(-2px); }
.tool-kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; color: var(--copper); display: flex; align-items: center; gap: 7px; }
.tool-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink); }
.tool-sub { font-size: var(--fs-4); color: var(--ink-dim); }
@media (max-width: 1020px) { .tool-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tool-row { grid-template-columns: 1fr; } }

/* ── 03 Work: the real sites, as tiles ───────────────────────────────── */
/* Nine cells at three columns (three wide cards, three singles) and eight at
   two, so no row is left with a hole; dense lets a single backfill one. */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; grid-auto-flow: dense; }
.work-card {
  display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--glass-line); background: var(--bg-2);
  transition: border-color var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease);
}
.work-card:hover { border-color: rgba(47, 214, 130, 0.35); transform: translateY(-4px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.work-card-wide { grid-column: span 2; }
/* Wide at three columns only: nine cells there, eight at two, so neither
   layout leaves a hole (three singles cannot pair up). */
.work-card-wide-3 { grid-column: span 2; }
.work-card-wide-3 .work-card-media img { aspect-ratio: 2 / 1; }
.work-card-media { display: block; overflow: hidden; background: var(--bg); position: relative; }
.work-card-media img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transform: scale(1.02); transition: transform 1.3s var(--ease); }
.work-card-wide .work-card-media img { aspect-ratio: 2 / 1; }
.work-card:hover .work-card-media img { transform: scale(1.07); }
.work-card-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10, 16, 19, 0.75), transparent 45%);
}
.work-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-card-body h3 { font-family: var(--font-display); font-size: clamp(21px, 2.1vw, 27px); font-weight: 600; letter-spacing: -0.01em; }
.work-card-body h3 a { border-bottom: 1px solid transparent; transition: border-color var(--dur-base) var(--ease); }
.work-card-body h3 a:hover { border-color: var(--emerald); }
.work-card-body p { font-size: var(--fs-3); color: var(--ink-dim); flex: 1; }
.work-card-body p a { color: var(--emerald); }
.work-card-body .work-link { margin-top: 4px; }
.work-tags span { border-color: var(--glass-line); }
.work-tag-own { color: var(--copper) !important; border-color: rgba(226, 150, 106, 0.45) !important; }
.work-card-text { background: linear-gradient(160deg, rgba(47, 214, 130, 0.06), transparent 55%), var(--bg-2); }
.work-card-text .work-card-body { padding-top: 26px; }
.work-card-text .wip { margin-left: 0; }
@media (max-width: 1020px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card-wide-3 { grid-column: auto; }
  .work-card-wide-3 .work-card-media img { aspect-ratio: 16 / 9; }
}
@media (max-width: 680px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card-wide { grid-column: auto; }
  .work-card-wide .work-card-media img { aspect-ratio: 16 / 9; }
}

/* ── 04 Pricing on glass, the picks edged in light ───────────────────── */
.pricing { background: linear-gradient(to bottom, var(--bg), var(--bg-2) 40%, var(--bg)); }
.price-card { background: var(--glass); border-color: var(--glass-line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.price-card.featured {
  border-color: rgba(47, 214, 130, 0.45);
  background: linear-gradient(160deg, rgba(47, 214, 130, 0.08), transparent 60%), var(--glass);
  box-shadow: 0 20px 50px rgba(47, 214, 130, 0.08);
}
.price-card.featured::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--emerald), var(--copper), transparent);
  background-size: 200% 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .price-card.featured::after { animation: edge-slide 3.2s linear infinite; }
}
@keyframes edge-slide { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.price-tag { background: var(--copper); color: #1a0f08; }
.price-amount { color: var(--ink); }

/* ── 05 Process on glass, copper index ───────────────────────────────── */
.process-step { background: var(--glass); border-color: var(--glass-line); }
.process-step:hover { border-color: rgba(226, 150, 106, 0.45); }
.process-num {
  background: linear-gradient(160deg, rgba(226, 150, 106, 0.85), rgba(226, 150, 106, 0.1));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── 06 Principles, 07 FAQ: hairlines in the new ink ─────────────────── */
.principle span { color: var(--ink); }
.faq-item { border-color: var(--glass-line); }
.faq-item:first-child { border-top-color: var(--glass-line); }

/* ── 08 Contact over the copper light ────────────────────────────────── */
.contact-cinema .section-video { opacity: 0.6; }
.contact-cinema .contact-inner { position: relative; z-index: 1; }
.contact-cinema .lead-field input, .contact-cinema .lead-field textarea, .contact-cinema .lead-field select {
  background: rgba(5, 8, 10, 0.55); border-color: var(--glass-line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.contact-cinema .shimmer { color: var(--copper); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--glass-line); background: linear-gradient(to bottom, var(--bg), #030506); }

/* ── Buttons: the emerald primary gets a real glow, the ghost gets glass ── */
.btn-primary { box-shadow: 0 10px 34px rgba(47, 214, 130, 0.28); }
.btn-ghost { background: rgba(5, 8, 10, 0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--glass-line); }
.btn-ghost:hover { border-color: rgba(226, 150, 106, 0.6); color: var(--ink); }

/* ── Motion off: no sweeps, no grain motion, no edge slide; the loops never
      load at all (js/main.js checks the same preference before setting src). */
@media (prefers-reduced-motion: reduce) {
  .cap-tile::before, .cap-tile:hover::before { transition: none; transform: translateX(-130%); }
  .cap-media img, .work-card-media img, .about-visual-frame img { transition: none; transform: none; }
  .cap-tile:hover .cap-media img, .work-card:hover .work-card-media img { transform: none; }
  .proof-chip-dot { animation: none; }
  .hero-video, .section-video { display: none; }
}

/* The proof rail owns the bottom of the hero; the scroll hint only fits under
   it on a tall display. */
@media (max-height: 1000px) { .hero-cinema .hero-scroll-hint { display: none; } }
.hero-cinema .hero-content { padding-bottom: 90px; }

.work-card-media-left img { object-position: left center; }

/* The stack card closes the work grid as a full-width band, so the last row
   never sits as one card beside two empty columns. */
.work-card-band { grid-column: 1 / -1; }
@media (min-width: 1021px) {
  .work-card-band .work-card-body { display: grid; grid-template-columns: auto 1fr auto; column-gap: 32px; row-gap: 10px; align-items: center; }
  .work-card-band .work-card-body .work-tags { grid-column: 1 / -1; }
  .work-card-band .work-card-body h3 { max-width: 12ch; }
  .work-card-band .work-card-body p { max-width: 64ch; }
  .work-card-band .work-card-body .work-link { margin-top: 0; }
}

/* ══════════ PRICE LIST (/price-list) ══════════
   The branded price list page. It reuses the home page's .price-card /
   .pricing-cards shell so the document a prospect prints is visibly the same
   product as the pricing section they read on the site, and adds only what a
   list needs that the marketing cards do not: a timeline line, includes and
   excludes, add-ons, the validity stamp, and a print letterhead.
   The print rules at the end of this block build on the site-wide @media
   print flatten above rather than repeating it. */
.pl-letterhead { display: none; }

.pl-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin: clamp(24px, 3vw, 32px) 0 6px;
}
.pl-stamp {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--ink-dim);
}
.pl-hint { font-size: var(--fs-5); color: var(--ink-dim); }
/* A disabled control must LOOK disabled as well as say why beside it: a
   full-strength button that does nothing on tap reads as broken (BUG-008). */
#plPrint:disabled { opacity: 0.45; cursor: not-allowed; }
#plPrint:disabled:hover { border-color: var(--glass-line); color: inherit; }
/* A finger needs a target, and this button is the whole point of the page on
   a phone: it is what turns the list into a PDF a client can keep. */
@media (pointer: coarse) { #plPrint { min-height: 44px; } }

.pl-tracks {
  display: flex; flex-direction: column; gap: clamp(36px, 4.5vw, 56px);
  margin-top: clamp(28px, 3.5vw, 44px);
}
.pl-track-head { margin-bottom: 18px; }
.pl-card { display: flex; flex-direction: column; }
.pl-card .price-name {
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: var(--ink-dim); margin: 0 0 8px;
}
.pl-summary { margin-bottom: 12px; }
.pl-timeline {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-dim); margin-bottom: 12px;
}
.pl-timeline-label {
  display: block; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-dim); opacity: 0.75; margin-bottom: 3px;
}
/* The first list is pushed to the bottom so every card in a row lines its
   "Includes" heading up, however long the summaries above them run. */
.pl-card div.pl-list:first-of-type { margin-top: auto; }
.pl-list { padding-top: 12px; border-top: 1px solid var(--line); }
.pl-list + .pl-list { margin-top: 10px; border-top: none; padding-top: 0; }
.pl-list-label {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-dim); margin-bottom: 7px;
}
.pl-list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.pl-list li {
  position: relative; padding-left: 16px; font-size: var(--fs-4);
  color: var(--ink-soft); line-height: 1.55;
}
.pl-list li::before {
  content: "+"; position: absolute; left: 0; top: -1px;
  font-family: var(--font-mono); font-size: 11px; color: var(--emerald);
}
.pl-list-ex li::before { content: "-"; color: var(--ink-dim); }
.pl-note { margin-top: 12px; font-size: var(--fs-5); color: var(--ink-dim); }

.pl-addons { margin-top: clamp(36px, 4.5vw, 56px); }
.pl-addon-list { border-top: 1px solid var(--line); }
.pl-addon {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.pl-addon-main { display: flex; flex-direction: column; gap: 3px; }
.pl-addon-name { color: var(--ink); font-size: var(--fs-3); }
.pl-addon-summary { color: var(--ink-dim); font-size: var(--fs-4); }
.pl-addon-price .price-amount { margin-bottom: 0; font-size: clamp(18px, 2vw, 22px); }

/* Empty and failed states are a bordered panel, not a bare sentence: a price
   list with nothing in it has to look deliberate, and say what fills it. */
.pl-empty {
  color: var(--ink-dim); font-size: var(--fs-3); line-height: 1.7; max-width: 66ch;
  border: 1px dashed var(--line); border-radius: var(--r-card); padding: 20px 22px;
}
.pl-foot {
  margin-top: clamp(28px, 3.5vw, 40px); color: var(--ink-dim);
  font-size: var(--fs-4); line-height: 1.7; max-width: 72ch;
}
.pl-cta { margin-top: clamp(28px, 3.5vw, 40px); display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* Print: the page becomes the document. The site-wide print block above
   already drops the nav, footer and backgrounds; this lays the three tracks
   out as a tight grid that lands on one to two US Letter pages, and swaps the
   on-screen headline for a letterhead. Sizes are in pt because this is paper. */
@media print {
  .pl-actions, .pl-cta, .pl-hint { display: none !important; }
  .pl-letterhead {
    display: flex !important; justify-content: space-between; align-items: center;
    gap: 16px; border-bottom: 2px solid #000 !important;
    padding-bottom: 10px; margin-bottom: 14px; break-inside: avoid;
  }
  .pl-lh-brand { display: flex; align-items: center; gap: 10px; }
  .pl-lh-mark { color: #000 !important; line-height: 0; }
  .pl-lh-words { display: flex; flex-direction: column; }
  .pl-lh-top { font-family: var(--font-display); font-size: 15pt; font-weight: 700; }
  .pl-lh-sub {
    font-family: var(--font-mono); font-size: 7pt; letter-spacing: 0.22em;
    text-transform: uppercase; color: #555 !important; margin-top: 2px;
  }
  .pl-lh-meta {
    font-family: var(--font-mono); font-size: 6.6pt; line-height: 1.8;
    letter-spacing: 0.03em; color: #555 !important; text-align: right;
  }
  /* The eyebrow and the h1 only repeat the letterhead on paper. Scoped to
     the price list page: the invoice print deliberately shows its number
     in .section-head, and an unscoped rule here blanked it (caught in
     review before it shipped). */
  .page-price-list .section-head, .page-price-list .section-title { display: none !important; }
  #plAuditNote {
    font-size: 8pt !important; line-height: 1.5; max-width: none;
    margin: 0 0 10px !important; color: #333 !important;
  }
  .pl-tracks { gap: 11px !important; margin-top: 0 !important; }
  .pl-track { break-inside: avoid; }
  .pl-track-head { margin-bottom: 5px !important; }
  .page-price-list .pricing-track-title { font-size: 11.5pt !important; margin-bottom: 1px !important; }
  .page-price-list .pricing-track-sub {
    font-size: 6.6pt !important; letter-spacing: 0.14em;
    margin-bottom: 5px !important; color: #555 !important;
  }
  .pl-cards {
    display: grid !important; grid-template-columns: repeat(3, 1fr) !important;
    gap: 7px !important; max-width: none !important;
  }
  .pl-cards.pricing-cards-2 { grid-template-columns: repeat(2, 1fr) !important; }
  .pl-card {
    border: 1px solid #bbb !important; border-radius: 3px !important;
    padding: 8px 9px !important; break-inside: avoid; transform: none !important;
  }
  .pl-card.featured { border: 1.4px solid #000 !important; }
  /* The featured card's animated emerald/copper edge is a ::after, which the
     site-wide `* { background: #fff }` print flatten cannot reach. On paper
     the heavier border already marks the pick. */
  .pl-card.featured::after { display: none !important; }
  .pl-card .price-tag {
    position: static !important; display: inline-block; align-self: flex-start;
    border: 1px solid #000 !important; border-radius: 2px !important;
    padding: 1px 5px !important; font-size: 6pt !important;
    letter-spacing: 0.16em; margin-bottom: 4px;
  }
  .pl-card .price-name { font-size: 8.6pt !important; margin: 0 0 1px !important; color: #000 !important; }
  .pl-card .price-amount { font-size: 14pt !important; margin-bottom: 4px !important; }
  .pl-card .price-amount.price-text { font-size: 8.4pt !important; color: #555 !important; }
  .pl-card .price-period { font-size: 7.4pt !important; color: #555 !important; }
  .pl-summary { font-size: 7.2pt !important; line-height: 1.4; margin-bottom: 4px !important; }
  .pl-timeline { font-size: 6.6pt !important; margin-bottom: 4px !important; color: #555 !important; }
  .pl-timeline-label { font-size: 5.6pt !important; margin-bottom: 1px !important; }
  .pl-list { border-top: 1px solid #ddd !important; padding-top: 4px !important; }
  .pl-list + .pl-list { margin-top: 4px !important; }
  .pl-list-label { font-size: 5.6pt !important; margin-bottom: 2px !important; color: #555 !important; }
  .pl-list ul { gap: 1px !important; }
  .pl-list li { font-size: 7pt !important; line-height: 1.35; padding-left: 9px !important; }
  .pl-list li::before { font-size: 6.4pt !important; color: #555 !important; }
  .pl-note { font-size: 6.6pt !important; margin-top: 4px !important; color: #555 !important; }
  .pl-addons { margin-top: 11px !important; break-inside: avoid; }
  .pl-addon { padding: 4px 0 !important; border-bottom: 1px solid #ddd !important; }
  .pl-addon-name { font-size: 7.6pt !important; }
  .pl-addon-summary { font-size: 6.8pt !important; color: #555 !important; }
  .pl-addon-price .price-amount { font-size: 9.5pt !important; margin-bottom: 0 !important; }
  .pl-foot {
    font-size: 6.6pt !important; margin-top: 9px !important; padding-top: 5px !important;
    border-top: 1px solid #ddd !important; color: #555 !important; max-width: none;
  }
  .pl-empty { border: 1px dashed #999 !important; font-size: 9pt !important; padding: 12px 14px !important; }
}

/* ══════════ SIGNING PAGE (/sign) ══════════
   The client-facing agreement page. It reuses the invoice panel, banner and
   status badge, so what is here is only the agreement TEXT, the signature pad
   and the signature block. The print rules at the bottom of this block turn
   the same DOM into a clean sheet, the way the invoice print view does. */
.sign-parties > div { min-width: 180px; }
.sign-summary {
  margin: 24px 0 30px; padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(47, 214, 130, .32); border-top: 4px solid var(--emerald); border-radius: 12px;
  background: linear-gradient(145deg, rgba(47, 214, 130, .09), rgba(255, 255, 255, .02));
}
.sign-summary[hidden] { display: none; }
.sign-summary h2, .sign-full-terms-head h2 {
  color: var(--ink); font-family: var(--font-display); line-height: 1.2; letter-spacing: -.015em;
}
.sign-summary h2 { margin: 8px 0 8px; font-size: clamp(22px, 3vw, 30px); }
.sign-summary-note { max-width: 72ch; margin: 0 0 22px; color: var(--ink-dim); line-height: 1.65; }
.sign-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.sign-summary-grid > div { min-width: 0; padding: 15px 16px; background: #0d1211; }
.sign-summary-grid dt { margin: 0 0 5px; color: var(--emerald); font: 600 10px/1.4 var(--font-mono); letter-spacing: .13em; text-transform: uppercase; }
.sign-summary-grid dd { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.sign-full-terms-head { margin: 0; padding: 4px 0 14px; }
.sign-full-terms-head h2 { margin: 8px 0 0; font-size: 24px; }
.sign-document {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(20px, 3vw, 32px) 0; margin: 4px 0 28px;
  max-width: 68ch; font-size: var(--fs-3); line-height: 1.75; color: var(--ink-dim);
}
.sign-document h1, .sign-document h2, .sign-document h3,
.sign-document h4, .sign-document h5, .sign-document h6 {
  color: var(--ink); font-family: var(--font-display); line-height: 1.3;
  margin: 28px 0 10px; letter-spacing: -0.01em;
}
.sign-document > :first-child { margin-top: 0; }
.sign-document h1 { font-size: 22px; }
.sign-document h2 { font-size: 18px; }
.sign-document h3, .sign-document h4, .sign-document h5, .sign-document h6 { font-size: 15px; }
.sign-document p { margin: 0 0 13px; }
.sign-document ol, .sign-document ul { margin: 0 0 14px; padding-left: 22px; }
.sign-document li { margin: 0 0 7px; }
.sign-document strong { color: var(--ink); font-weight: 600; }

.sign-block, .sign-receipt { border-top: 1px solid var(--line); padding-top: 26px; }
.sign-block-title {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--ink-dim); margin: 0 0 18px;
}

.sign-discussion {
  margin: 0 0 28px; padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(145deg, rgba(47, 214, 130, 0.055), rgba(255, 255, 255, 0.018));
}
.sign-discussion-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.sign-discussion-head > div { max-width: 62ch; }
.sign-discussion-title { color: var(--ink); font-family: var(--font-display); font-size: 21px; margin: 7px 0 8px; }
.sign-discussion-head p { color: var(--ink-dim); line-height: 1.6; margin: 0; }
.sign-discussion-count {
  flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px;
  color: var(--ink-dim); font: 600 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
}
.sign-discussion-count.is-open { border-color: rgba(235, 177, 67, .48); color: #edc76f; background: rgba(235, 177, 67, .08); }
.sign-discussion-count.is-clear { border-color: rgba(47, 214, 130, .35); color: var(--emerald); }
.sign-discussion-list { display: grid; gap: 14px; margin-top: 18px; }
.sign-thread { border: 1px solid var(--line); border-radius: 10px; padding: 16px; background: rgba(5, 8, 10, .42); }
.sign-thread.is-open { border-color: rgba(235, 177, 67, .38); }
.sign-thread.is-resolved { border-color: rgba(47, 214, 130, .3); }
.sign-thread-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 12px; }
.sign-thread-head strong { color: var(--ink); }
.sign-thread-state { color: var(--ink-dim); font: 600 10px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.sign-thread.is-open .sign-thread-state { color: #edc76f; }
.sign-thread.is-resolved .sign-thread-state { color: var(--emerald); }
.sign-thread-message { border-left: 2px solid var(--line); padding: 9px 0 9px 13px; margin: 9px 0; }
.sign-thread-message.is-company { border-left-color: var(--emerald); }
.sign-thread-message p { color: var(--ink-dim); line-height: 1.65; margin: 5px 0 0; white-space: pre-wrap; }
.sign-thread-reply { display: grid; grid-template-columns: 1fr auto; gap: 9px; align-items: end; margin-top: 14px; }
.sign-thread-reply textarea, .sign-discussion-compose textarea { width: 100%; resize: vertical; }
.sign-thread-reply .lead-form-status { grid-column: 1 / -1; }
.sign-discussion-compose { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 20px; }
.sign-discussion-compose .lead-form-row { max-width: 460px; }
.sign-discussion-compose .pay-actions { margin-top: 12px; }
.sign-discussion-gate { margin-top: 18px; }

@media (max-width: 640px) {
  .sign-summary-grid { grid-template-columns: 1fr; }
  .sign-discussion-head { display: grid; }
  .sign-discussion-count { justify-self: start; }
  .sign-thread-reply { grid-template-columns: 1fr; }
  .sign-thread-reply .btn { justify-self: start; }
}

/* ── The signature pad ──────────────────────────────────────────────────
   touch-action: none is load bearing: without it a finger drag scrolls the
   page instead of drawing, which is indistinguishable from a broken pad. */
.sign-pad-wrap { max-width: 460px; margin: 4px 0 20px; }
.sign-pad-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.sign-pad-tools { display: flex; gap: 8px; }
.sign-pad-tools .btn { padding: 8px 16px; font-size: 12.5px; }
.sign-pad {
  display: block; width: 100%; height: 160px;
  border: 1px solid var(--line); border-radius: 8px;
  background: rgba(5, 8, 10, 0.4);
  touch-action: none; cursor: crosshair;
}
.sign-pad[hidden] { display: none; }
.sign-pad-typed {
  min-height: 160px; display: flex; align-items: center; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 8px; background: rgba(5, 8, 10, 0.4);
  font-family: Georgia, "Times New Roman", serif; font-style: italic;
  font-size: clamp(26px, 6vw, 38px); color: var(--ink); margin: 0;
  overflow-wrap: anywhere;
}
.sign-pad-typed[hidden] { display: none; }
.sign-pad-hint { font-size: var(--fs-5); color: var(--ink-dim); margin: 8px 0 0; }

.sign-consent { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0 20px; max-width: 62ch; cursor: pointer; }
.sign-consent input[type="checkbox"] { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--emerald); cursor: pointer; }
.sign-consent span { font-size: var(--fs-3); line-height: 1.6; color: var(--ink-dim); }
.sign-hint { font-size: var(--fs-5); color: var(--ink-dim); margin: 12px 0 0; max-width: 62ch; }
/* A disabled Sign button must LOOK disabled. The site has no global
   .btn:disabled rule, so a full-strength emerald primary that does nothing
   when pressed is exactly the BUG-008 shape: the .sign-hint above already
   states the reason, and this makes the state visible before it is read. */
#signSubmit:disabled {
  opacity: 0.4; cursor: not-allowed; box-shadow: none;
}
#signSubmit:disabled:hover { box-shadow: none; }

.sign-signature { margin-bottom: 22px; max-width: 460px; }
.sign-signature .cd-label { display: block; margin-bottom: 6px; }
.sign-signature-mark {
  display: block; width: 100%; max-width: 320px; height: auto; aspect-ratio: 3 / 1;
  color: var(--ink); margin-bottom: 2px;
}
.sign-signature-name {
  display: block; font-family: Georgia, "Times New Roman", serif; font-style: italic;
  font-size: 26px; color: var(--ink); border-bottom: 1px solid var(--line);
  padding-bottom: 6px; margin-bottom: 8px; overflow-wrap: anywhere;
}
.sign-signature-meta { display: block; font-size: var(--fs-5); color: var(--ink-dim); line-height: 1.6; }
.sign-hash { margin: 18px 0 20px; max-width: 62ch; }
.sign-hash .cd-label { display: block; margin-bottom: 6px; }
.sign-hash span:last-child { font-family: var(--font-mono); font-size: 11px; color: var(--ink-dim); overflow-wrap: anywhere; }
.sign-hash[hidden] { display: none; }

/* Touch targets: the console's own 44px rule, applied to this page's
   controls. The consent box is what gates the whole page, so it is the last
   control that should be fiddly on a phone. */
@media (pointer: coarse) {
  .sign-pad-tools .btn { min-height: 44px; }
  .sign-consent input[type="checkbox"] { width: 26px; height: 26px; }
  .sign-pad { height: 190px; }
  .sign-pad-typed { min-height: 190px; }
}

@media print {
  /* The pad, its tools and the signing controls are screen-only: on paper the
     agreement is either signed (and the mark below prints) or it is not. */
  .sign-pad-wrap, .sign-consent, .sign-hint, #signSubmit, #signPrint,
  #signPrintTop, #signStatus, .sign-block .pay-actions, .sign-discussion { display: none !important; }
  .sign-block { border-top: 1px solid #ccc !important; padding-top: 16px !important; }
  .sign-summary {
    margin: 12px 0 18px !important; padding: 16px !important; border: 1px solid #adb8b2 !important;
    border-top: 4px solid #163f32 !important; border-radius: 0 !important; background: #f4f7f5 !important;
    color: #000 !important;
  }
  .sign-summary h2, .sign-full-terms-head h2 { color: #000 !important; }
  .sign-summary-note { color: #4d5651 !important; margin-bottom: 12px !important; }
  .sign-summary-grid { grid-template-columns: 1fr 1fr; border-color: #c7ceca !important; background: #c7ceca !important; }
  .sign-summary-grid > div { padding: 9px 10px !important; background: #fff !important; break-inside: avoid; }
  .sign-summary-grid dt { color: #245c49 !important; }
  .sign-summary-grid dd { color: #000 !important; font-size: 9pt !important; line-height: 1.4 !important; }
  .sign-full-terms-head { border-top: 1px solid #bbb; padding-top: 14px !important; break-after: avoid; }
  .sign-document {
    border-color: #ccc !important; max-width: none !important;
    font-size: 11.5pt !important; line-height: 1.6 !important; color: #000 !important;
    padding: 18px 0 !important; margin: 0 0 20px !important;
  }
  .sign-document h1, .sign-document h2, .sign-document h3 { color: #000 !important; }
  .sign-document h2 { margin-top: 20px !important; }
  /* A clause must not be split across a page break mid-sentence. */
  .sign-document li, .sign-document p, .sign-signature, .sign-hash { break-inside: avoid; }
  .sign-document h1, .sign-document h2, .sign-document h3 { break-after: avoid; }
  /* An agreement on paper has to carry its own number and title. The
     shared .section-head / .section-title are display:none in print (the
     price-list block above turns them off for its own letterhead), so this
     page turns its own two back on by their page-specific classes. */
  /* Scoped with the page's own id so these win on SPECIFICITY, not on being
     later in the file. Another page appending a print block after this one
     must not be able to blank an agreement's number again. */
  #signBody .sign-head { display: block !important; margin: 0 0 6px !important; }
  #signBody .sign-head .section-label {
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.3em; color: #555 !important;
  }
  #signBody .sign-title {
    display: block !important; font-size: 20pt !important; margin: 0 0 18px !important;
    color: #000 !important; break-after: avoid;
  }
  #signBody .sign-title .invoice-status-badge {
    border: 1px solid #000 !important; border-radius: 3px !important;
    padding: 3px 8px !important; font-size: 8pt !important; vertical-align: middle;
  }
  .sign-parties { margin-bottom: 18px !important; }
  .sign-block-title { color: #555 !important; }
  .sign-signature-mark { color: #000 !important; max-width: 260px; }
  .sign-signature-name { border-bottom-color: #000 !important; color: #000 !important; }
  .sign-signature-meta, .sign-hash span:last-child { color: #555 !important; }
  .sign-receipt { border-top-color: #ccc !important; }
}
/* ── Public SMS consent and terms ─────────────────────────────────────── */
.sms-page-lede { max-width:780px; margin:22px 0 34px; color:var(--text-muted,#9ca8a3); font-size:18px; line-height:1.65; }
.sms-public-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr); gap:22px; align-items:start; margin-bottom:56px; }
.sms-signup-card,.sms-proof-card { padding:28px; border:1px solid rgba(255,255,255,.12); border-radius:18px; background:rgba(10,16,15,.82); }
.sms-signup-card h2 { margin:10px 0 22px; font-size:28px; }
.sms-signup-card form { display:grid; gap:12px; }
.sms-signup-card form > label:not(.sms-public-consent) { color:#dce7e2; font-size:13px; font-weight:700; }
.sms-signup-card input[type="tel"] { width:100%; box-sizing:border-box; padding:14px 15px; border:1px solid rgba(255,255,255,.18); border-radius:10px; background:#080d0c; color:#f2f7f4; font:16px/1.3 inherit; }
.sms-public-consent { display:grid; grid-template-columns:20px 1fr; gap:11px; align-items:start; margin:7px 0 4px; padding:15px; border:1px solid rgba(47,214,130,.3); border-radius:11px; color:#b9c5c0; font-size:12px; line-height:1.65; cursor:pointer; }
.sms-public-consent input { width:18px; height:18px; margin:2px 0 0; accent-color:#2fd682; }
.sms-public-consent a,.sms-terms-prose a { color:#60e5a2; }
.sms-form-status { min-height:24px; margin:0; color:#b9c5c0; font-size:13px; }
.sms-honeypot { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.sms-proof-card dl { margin:18px 0 0; }
.sms-proof-card dl div { display:grid; grid-template-columns:90px 1fr; gap:14px; padding:13px 0; border-top:1px solid rgba(255,255,255,.1); }
.sms-proof-card dt { color:#7b8b84; font-size:11px; text-transform:uppercase; letter-spacing:.08em; }
.sms-proof-card dd { margin:0; color:#dce7e2; font-size:13px; line-height:1.5; }
.sms-terms-prose { max-width:900px; }
.sms-terms-prose h3 { margin-top:30px; color:#f1f6f3; font-size:19px; }
@media (max-width:800px) { .sms-public-grid { grid-template-columns:1fr; } .sms-signup-card,.sms-proof-card { padding:20px; } }

.inquiry-path { margin: 36px 0; padding: clamp(24px,4vw,42px); border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(120deg,rgba(47,214,130,.05),transparent 65%); }
.inquiry-path h3 { max-width: 820px; margin: 14px 0; font-size: clamp(25px,3.2vw,40px); line-height: 1.15; letter-spacing: -.03em; }
.inquiry-path p { max-width: 780px; color: var(--ink-dim); line-height: 1.7; }
.inquiry-path ol { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 24px 0; padding: 0; counter-reset: inquiry; }
.inquiry-path li { counter-increment: inquiry; padding: 11px 14px; border: 1px solid var(--line); border-radius: 9px; font-size: 13px; }
.inquiry-path li::before { content: counter(inquiry,decimal-leading-zero) ' '; color: var(--ink-dim); font: 11px var(--font-mono); margin-right: 6px; }
@media (max-width: 600px) { .inquiry-path ol { flex-direction: column; } .inquiry-path .btn { width: 100%; white-space: normal; text-align: center; } }

/* Public homepage opening spread */
.front-hero {
  padding: clamp(118px, 12vw, 180px) 0 clamp(60px, 7vw, 100px);
  background: radial-gradient(ellipse at top right, #17352b, transparent 68%), #080e0d;
}
.front-spread {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
}
.front-label {
  font: 500 0.73rem/1.6 var(--font-mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.front-hero .front-label { color: #99d8b3; }
.front-spread h1 {
  margin: 20px 0 24px;
  font: 600 clamp(38px, 4.4vw, 64px)/1.06 var(--font-display);
  text-wrap: balance;
  letter-spacing: -.045em;
}
.front-spread h1 em { color: #b3e9c8; }
.front-intro { max-width: 49ch; margin-bottom: 30px; color: #ced9d2; font-size: 1.08rem; }
.front-link { align-self: center; padding: 10px 0; border-bottom: 1px solid #64806e; }
.front-case { display: block; color: var(--ink); border: 1px solid #475b51; background: #101e18; }
.front-case img { display: block; width: 100%; height: auto; }
.front-case-caption { padding: clamp(20px, 2.4vw, 36px); }
.front-case-caption h2 {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  margin: 7px 0; font: 600 clamp(22px, 2.3vw, 34px)/1.22 var(--font-display);
}
.front-case-caption h2 span { color: #99d8b3; font: 400 1.15rem var(--font-body); }
.front-case-caption > p:last-child { color: #c0cfc6; max-width: 45ch; }
.front-case:hover { border-color: #a8dfbf; }
.front-engagements { padding: clamp(50px, 7vw, 100px) 0; background: #f2f0e8; color: #18291f; scroll-margin-top: 70px; }
.front-engagements h2 { margin: 12px 0 36px; font: 600 clamp(32px, 4vw, 62px)/1.12 var(--font-display); letter-spacing: -.035em; }
.front-paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 6vw, 90px); }
.front-paths article { border-top: 1px solid #839789; padding: 22px 0; }
.front-paths h3 { font: 600 clamp(23px, 2.4vw, 34px)/1.2 var(--font-display); }
.front-paths p { margin: 14px 0; max-width: 56ch; }
.front-paths a { display: inline-block; padding: 6px 0; color: #185837; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.front-scope { border-top: 1px solid #b9c5bb; padding-top: 18px; font-size: .92rem; }
@media (max-width: 760px) {
  .front-spread, .front-paths { grid-template-columns: 1fr; }
  .front-paths { gap: 0; }
  .front-hero { padding-top: 106px; }
  .front-spread h1 { font-size: clamp(36px, 8.8vw, 58px); }
}
.front-scope a { color: #185837; text-decoration: underline; text-underline-offset: 3px; }

.front-applications { color: #192b20; background: #f2f0e8; padding: clamp(46px, 7vw, 92px) 0; scroll-margin-top: 64px; }
.applications-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 7vw, 100px); }
.applications-layout h2 { font: 600 clamp(36px, 4vw, 60px)/1.08 var(--font-display); letter-spacing: -.04em; margin: 16px 0; }
.application-list details { border-top: 1px solid #8c9b8e; }
.application-list details:last-child { border-bottom: 1px solid #8c9b8e; }
.application-list summary { position: relative; list-style: none; cursor: pointer; padding: 18px 32px 18px 0; font: 600 clamp(18px, 1.6vw, 24px)/1.3 var(--font-display); }
.application-list summary::-webkit-details-marker { display: none; }
.application-list summary::after { position: absolute; right: 3px; content: '+'; color: #215d39; }
.application-list details[open] summary::after { content: '−'; }
.application-list details p { padding: 0 26px 20px 0; max-width: 60ch; }
.front-engagements { background: #e0e7dd; }
.front-paths { grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 46px); }
@media (max-width: 760px) {
  .applications-layout, .front-paths { grid-template-columns: 1fr; }
  .front-paths { gap: 0; }
}
