/* =========================================================
   Code Calligraphy | styles
   ========================================================= */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Pinyon"; src: url("../fonts/pinyon.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* v3 "halfway" tone: warm charcoal bands alternate with deeper sand */
  --ink: #2e2a26;          /* dark bands (v1 was #0e1116) */
  --ink-2: #34302b;        /* alternate dark: audience strip, footer */
  --ink-3: #3b3631;        /* cards on dark */
  --ink-line: rgba(236, 230, 218, .13);
  --paper: #e4d6bc;        /* main light surface (v2 was #f6f1e6) */
  --paper-2: #dccdb0;
  --paper-line: rgba(40, 32, 20, .16);
  --offwhite: #e8dcc4;
  --card: #ede3d0;         /* cards on sand */
  --card-hi: #f4ecdd;      /* form surface */
  --field: #faf5ec;        /* inputs */
  --gold-ink: #82601f;     /* gold script on sand: 4.0:1 (large text) */
  --cream: #f3ead8;
  --text: #1c1915;
  --text-muted: #4a4640;
  --on-ink: #ece6da;
  --on-ink-muted: #b9b1a3;
  --gold: #c9a45c;
  --gold-2: #e0c07e;
  --gold-deep: #6e5118;    /* small gold text on sand: 5.1:1 */
  --seal-light: #e8836b;   /* seal red for text on charcoal: 5.3:1 */
  --seal: #b8412c;
  --seal-deep: #9c3522;
  --sage: #8fa37e;

  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Pinyon", "Snell Roundhand", "Apple Chancery", cursive;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(14, 17, 22, .06), 0 10px 30px -10px rgba(14, 17, 22, .18);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .55);
  --shadow-soft: 0 2px 6px rgba(60, 44, 16, .06), 0 24px 48px -22px rgba(60, 44, 16, .28);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-family: var(--mono); font-size: .88em; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 3px solid var(--seal); outline-offset: 3px; border-radius: 6px; }
.ink :focus-visible, .dark :focus-visible, .audience :focus-visible, .site-footer :focus-visible, .card-feature :focus-visible, .plan-featured :focus-visible, .field-card :focus-visible { outline-color: var(--gold); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: .7rem 1rem; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 2.5rem); }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad: .95rem 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: var(--btn-pad); border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn-sm { --btn-pad: .65rem 1.1rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(125, 90, 23, .65); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn-ghost { color: var(--text); border-color: rgba(26, 29, 35, .28); }
.btn-ghost:hover { border-color: var(--text); background: var(--text); color: var(--paper); }
.btn-outline { color: var(--text); border-color: rgba(26, 29, 35, .28); }
.btn-outline:hover { border-color: var(--text); background: var(--text); color: var(--paper); }
.btn-arrow { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: var(--text);
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.is-scrolled {
  background: rgba(228, 214, 188, .94);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--paper-line), 0 10px 30px -20px rgba(60, 44, 16, .25);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: .01em; line-height: 1; }
.brand-name em { font-style: italic; font-weight: 500; color: var(--gold-deep); }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.6rem; }
.site-nav ul a {
  position: relative; text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--text-muted);
  padding: .35rem 0; transition: color .2s;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--seal);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav ul a:hover { color: var(--text); }
.site-nav ul a:hover::after { transform: scaleX(1); }

.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
    background: transparent; border: 1px solid rgba(26, 29, 35, .2); color: var(--text); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 1.6px; background: currentColor; border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 1.25rem;
    padding: 1.5rem 1.25rem 2rem; background: var(--paper); border-bottom: 1px solid var(--paper-line); box-shadow: 0 100vmax 0 100vmax rgba(26, 22, 14, .35); /* dims page below the panel only */
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .3s var(--ease); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .85rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--paper-line); color: var(--text); }
  .site-nav ul a::after { display: none; }
  .site-nav .btn { align-self: flex-start; }
  .site-header.menu-open { background: var(--paper); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 70% at 78% 18%, #ece1cb 0%, rgba(236, 225, 203, 0) 60%), linear-gradient(180deg, #e6d9bf 0%, #dccdb0 100%);
  color: var(--text);
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 6.5rem)) 0 clamp(4rem, 9vw, 7rem);
}
.hero::after { /* fine paper grain */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .22 0 0 0 0 .1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-ink { position: absolute; inset: 0; z-index: -2; }
.hero-ink svg { width: 100%; height: 100%; }

.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1.6rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow-rule { width: 2.25rem; height: 1.5px; background: currentColor; }

.hero-title { font-family: var(--serif); font-weight: 600; font-size: clamp(2.75rem, 5.4vw, 4.75rem); line-height: 1; letter-spacing: -.012em; color: var(--text); }
.hero-line { display: block; }
.hero-script-wrap { display: block; margin: .02em 0 .06em -.04em; }
.script-word { width: min(100%, 8.6em); height: auto; overflow: visible; }
.script-word .glyph { fill: var(--gold-ink); stroke: var(--gold-ink); stroke-width: 0; }

.hero-lede { max-width: 34rem; margin-top: 1.75rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.1rem; }
.hero-assurances { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 2.1rem; font-size: .92rem; color: var(--text-muted); }
.hero-assurances li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-assurances svg { width: 1.05rem; height: 1.05rem; color: var(--seal); }

.hero-art { position: relative; }
.sketch { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 34px 40px rgba(70, 50, 15, .22)); }
.sk-title { font: 600 34px var(--serif); fill: #f7f1e4; }
.sk-sub { font: 500 13px var(--sans); fill: #c9c3b6; letter-spacing: .02em; }
.sk-url { font: 500 10.5px var(--sans); fill: #6b6556; }
.sk-seal-text { font: 600 17px var(--serif); fill: #f7f1e4; letter-spacing: .12em; }
.sk-seal-small { font: 600 7.5px var(--sans); fill: #f7f1e4; letter-spacing: .22em; }
.sk-lines path { stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 0; }
.sk-nib { opacity: 0; }

/* ---------- Hero animation (pure CSS; skipped entirely for reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .script-word .glyph {
    fill-opacity: 0; stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: ink-stroke .75s var(--ease) var(--d, .4s) forwards, ink-fill .9s ease calc(var(--d, .4s) + .45s) forwards;
  }
  .script-word .glyph:nth-child(1)  { --d: .45s; }
  .script-word .glyph:nth-child(2)  { --d: .6s; }
  .script-word .glyph:nth-child(3)  { --d: .72s; }
  .script-word .glyph:nth-child(4)  { --d: .84s; }
  .script-word .glyph:nth-child(5)  { --d: .96s; }
  .script-word .glyph:nth-child(6)  { --d: 1.06s; }
  .script-word .glyph:nth-child(7)  { --d: 1.16s; }
  .script-word .glyph:nth-child(8)  { --d: 1.28s; }
  .script-word .glyph:nth-child(9)  { --d: 1.42s; }
  .script-word .glyph:nth-child(10) { --d: 1.54s; }
  .script-word .glyph:nth-child(11) { --d: 1.66s; }
  @keyframes ink-stroke { to { stroke-dashoffset: 0; } }
  @keyframes ink-fill { to { fill-opacity: 1; stroke-width: 0; } }

  .hero .eyebrow, .hero-line, .hero-lede, .hero-ctas, .hero-assurances {
    opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease) forwards;
  }
  .hero .eyebrow { animation-delay: .05s; }
  .hero-line:first-child { animation-delay: .15s; }
  .hero-line:last-child { animation-delay: 1.75s; }
  .hero-lede { animation-delay: 2s; }
  .hero-ctas { animation-delay: 2.15s; }
  .hero-assurances { animation-delay: 2.3s; }
  @keyframes rise { to { opacity: 1; transform: none; } }

  /* Sketch: gold lines ink in, the page fills, then the seal stamps */
  .sk-fill, .sk-dots, .sk-seal { opacity: 0; }
  .sk-lines path { opacity: 1; stroke-dashoffset: 1; animation: sk-draw 1.1s var(--ease) .2s forwards; }
  .sk-lines path:nth-child(2) { animation-delay: .5s; }
  .sk-lines path:nth-child(3) { animation-delay: .7s; }
  .sk-lines path:nth-child(4) { animation-delay: .95s; }
  .sk-lines path:nth-child(5) { animation-delay: 1.05s; }
  .sk-lines path:nth-child(6) { animation-delay: 1.15s; }
  .sk-lines path:nth-child(7) { animation-delay: 1.25s; }
  .sk-lines path:nth-child(8) { animation-delay: 1.35s; }
  .sk-lines { animation: fade-out .8s ease 2.7s forwards; }
  .sk-fill { animation: fade-in .9s ease 2s forwards; }
  .sk-dots { animation: fade-in .6s ease 2.35s forwards; }
  .sk-seal { animation: stamp .55s cubic-bezier(.3, 1.6, .5, 1) 3s forwards; }
  .sk-nib { animation: nib-path 2.6s var(--ease) .2s forwards; }
  @keyframes sk-draw { to { stroke-dashoffset: 0; } }
  @keyframes fade-out { to { opacity: 0; } }
  @keyframes fade-in { to { opacity: 1; } }
  @keyframes stamp { 0% { opacity: 0; transform: scale(1.6) rotate(-14deg); } 100% { opacity: 1; transform: scale(1) rotate(-8deg); } }
  @keyframes nib-path {
    0%   { opacity: 0; transform: translate(40px, 30px); }
    10%  { opacity: 1; }
    40%  { transform: translate(500px, 40px); }
    65%  { transform: translate(480px, 230px); }
    88%  { opacity: 1; transform: translate(200px, 380px); }
    100% { opacity: 0; transform: translate(150px, 400px); }
  }

  .hero-brush { stroke-dasharray: 2200; stroke-dashoffset: 2200; animation: sk-draw 2.6s var(--ease) .3s forwards; }
  .hero-brush-2 { animation-delay: .7s; }

}

/* Scroll reveals: CSS scroll-driven animations, no JS. Browsers without
   support (or with reduced motion) simply show the content. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal, .steps-flourish path {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    .steps-flourish path { stroke-dasharray: 1; animation-name: flourish; animation-range: entry 10% cover 45%; }
    @keyframes reveal-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
    @keyframes flourish { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  }
}
.sk-seal { transform: rotate(-8deg); transform-box: fill-box; transform-origin: center; }

/* ---------- Audience strip ---------- */
.audience { background: var(--offwhite); color: var(--text-muted); border-block: 1px solid var(--paper-line); padding: 1.6rem 0; }
.audience .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.audience-label { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--text); }
.audience-list { display: flex; flex-wrap: wrap; gap: .8rem 1.8rem; font-size: .93rem; }
.audience-list li { display: inline-flex; align-items: center; gap: .5rem; }
.audience-list svg { width: 1.25rem; height: 1.25rem; color: var(--seal); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(4.5rem, 10vw, 8rem) 0; }
.paper { background: var(--paper); color: var(--text); }
.paper-2 { background: var(--paper-2); color: var(--text); }
.offwhite { background: var(--offwhite); color: var(--text); }
.ink { background: var(--ink); color: var(--on-ink); }
.ink .section-lede { color: var(--on-ink-muted); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.kicker {
  display: inline-flex; align-items: center; gap: .65rem; margin-bottom: 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--seal-deep);
}
.kicker::before { content: ""; width: 1.6rem; height: 1.5px; background: currentColor; }
.ink .kicker { color: var(--gold); }
.section h2 { font-family: var(--serif); font-size: clamp(2.3rem, 4.6vw, 3.7rem); letter-spacing: -.01em; line-height: 1.04; }
.script { font-family: var(--script); font-weight: 400; font-size: 1.12em; letter-spacing: 0; color: var(--seal-deep); white-space: nowrap; line-height: .8; padding-right: .08em; }
.ink .script { color: var(--gold); }
.section-lede { margin-top: 1.2rem; font-size: 1.12rem; color: var(--text-muted); max-width: 40rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); counter-reset: s; }
.step { position: relative; padding: 2rem 1.75rem 2.1rem; background: var(--card); border: 1px solid var(--paper-line); border-radius: var(--radius); box-shadow: var(--shadow); }
.step-num {
  display: grid; place-items: center; width: 3.4rem; height: 3.4rem; margin-bottom: 1.3rem;
  font: 600 1.9rem/1 var(--serif); color: var(--cream); background: var(--ink);
  border-radius: 46% 54% 50% 50% / 55% 45% 55% 45%; /* inked blot */
  box-shadow: inset 0 0 0 2px rgba(201, 164, 92, .55);
}
.step:nth-child(3) .step-num { background: var(--seal); box-shadow: none; }
.step h3 { font-family: var(--serif); font-size: 1.65rem; margin-bottom: .6rem; }
.step p { color: var(--text-muted); }
.step code { background: var(--paper-2); padding: .1em .4em; border-radius: 5px; color: var(--text); white-space: nowrap; }
.steps-flourish { width: 100%; height: 48px; margin-top: 2.5rem; color: var(--gold-deep); opacity: .55; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  position: relative; padding: 2rem 1.75rem; background: var(--card); border: 1px solid var(--paper-line); border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(125, 90, 23, .35); }
.card-icon {
  display: grid; place-items: center; width: 3.1rem; height: 3.1rem; margin-bottom: 1.25rem; border-radius: 14px;
  background: var(--ink); color: var(--gold);
}
.card-icon svg { width: 1.7rem; height: 1.7rem; }
.card h3 { font-family: var(--serif); font-size: 1.55rem; margin-bottom: .55rem; }
.card p { color: var(--text-muted); font-size: 1rem; }
.card-feature { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.card-feature .card-icon { background: var(--gold); color: var(--ink); }
.card-feature p { color: var(--on-ink-muted); }
.card-feature:hover { border-color: var(--gold); }

/* ---------- Samples ---------- */
#samples { background: radial-gradient(80% 60% at 50% 0%, #eadfc9 0%, var(--paper) 70%); }
.samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sample { margin: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.sample figcaption h3 { font-family: var(--serif); font-size: 1.5rem; margin: .7rem 0 .35rem; }
.sample figcaption p { color: var(--text-muted); font-size: .98rem; }
.badge {
  display: inline-block; padding: .3rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-deep); border: 1px solid rgba(125, 90, 23, .35); background: rgba(201, 164, 92, .14);
}

.mock {
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--paper-line);
  transition: transform .5s var(--ease);
  aspect-ratio: 4 / 3.15; display: flex; flex-direction: column;
}
.sample:hover .mock { transform: translateY(-6px) rotate(-.4deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #e9e2d3; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfc6b3; }
.mock-bar i:first-child { background: #d9806f; }
.mock-bar span { margin-left: 10px; flex: 1; text-align: center; font-size: 11px; color: #5d5747; background: #f6f1e6; border-radius: 6px; padding: 3px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 12px; }
.mb-hero { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 18px; border-radius: 10px; position: relative; overflow: hidden; }
.mb-kicker { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.mb-title { font-size: 28px; line-height: 1; }
.mb-btn { align-self: flex-start; margin-top: 8px; font-size: 11px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.mb-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mb-row span { height: 34px; border-radius: 7px; }
.mb-lines { display: grid; gap: 6px; }
.mb-lines span { height: 6px; border-radius: 3px; }
.mb-lines span:last-child { width: 62%; }

/* sample 1: bistro */
.mock-bistro .mock-body { background: #1c1612; }
.mock-bistro .mb-hero { background: radial-gradient(120% 120% at 85% 10%, #d4772f 0%, #7a2f17 45%, #2a1610 100%); color: #fbe9d2; }
.mock-bistro .mb-hero::before { content: ""; position: absolute; right: -20px; top: -20px; width: 120px; height: 120px; border-radius: 50%; border: 1px dashed rgba(251, 233, 210, .35); }
.mock-bistro .mb-title { font-family: var(--serif); font-weight: 600; font-style: italic; font-size: 32px; }
.mock-bistro .mb-btn { background: #fbe9d2; color: #4a1d0e; }
.mock-bistro .mb-row span { background: #3a2a20; }
.mock-bistro .mb-row span:nth-child(2) { background: #6b3b22; }
.mock-bistro .mb-lines span { background: #3a2a20; }
/* sample 2: trades */
.mock-trade .mock-body { background: #f2f4f7; }
.mock-trade .mb-hero { background: linear-gradient(135deg, #0f3a5f 0%, #12568a 60%, #1c74b8 100%); color: #fff; }
.mock-trade .mb-hero::before { content: ""; position: absolute; right: 16px; top: 16px; width: 54px; height: 54px; border-radius: 12px; background: #ffb020; transform: rotate(12deg); opacity: .95; }
.mock-trade .mb-title { font-family: var(--sans); font-weight: 800; font-size: 25px; letter-spacing: -.02em; max-width: 78%; line-height: 1.05; }
.mock-trade .mb-kicker { color: #ffcf6e; }
.mock-trade .mb-btn { background: #ffb020; color: #13263a; }
.mock-trade .mb-row span { background: #dfe5ec; }
.mock-trade .mb-row span:first-child { background: #12568a; }
.mock-trade .mb-lines span { background: #dfe5ec; }
/* sample 3: salon */
.mock-salon .mock-body { background: #fbf4f1; }
.mock-salon .mb-hero { background: linear-gradient(160deg, #f3d9d1 0%, #e8b9ad 55%, #c98d84 100%); color: #3c2320; }
.mock-salon .mb-hero::before { content: ""; position: absolute; right: -10px; top: -30px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 60%); }
.mock-salon .mb-title { font-family: var(--script); font-size: 36px; }
.mock-salon .mb-btn { background: #3c2320; color: #fbf4f1; }
.mock-salon .mb-row span { background: #f0dfd8; }
.mock-salon .mb-row span:nth-child(3) { background: #d8a99e; }
.mock-salon .mb-lines span { background: #f0dfd8; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: .4rem; padding: 2.2rem 2rem;
  background: var(--card); border: 1px solid var(--paper-line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.plan h3 { font-family: var(--serif); font-size: 2rem; }
.plan-tag { color: var(--text-muted); }
.plan-price { margin: 1.1rem 0 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--paper-line); }
.plan-price .ask { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.5rem; color: var(--gold-deep); }
.plan ul { display: grid; gap: .7rem; margin-bottom: 1.8rem; flex: 1; }
.plan li { position: relative; padding-left: 1.7rem; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: .95rem; height: .55rem;
  border-left: 2px solid var(--seal); border-bottom: 2px solid var(--seal); transform: rotate(-45deg) translateY(-2px);
}
.plan .btn { align-self: stretch; }
.plan-featured { background: var(--ink); color: var(--on-ink); border-color: rgba(201, 164, 92, .55); box-shadow: 0 30px 60px -25px rgba(14, 17, 22, .55); transform: translateY(-10px); }
.plan-featured .plan-tag { color: var(--on-ink-muted); }
.plan-featured .plan-price { border-color: var(--ink-line); }
.plan-featured .plan-price .ask { color: var(--gold-2); }
.plan-featured li::before { border-color: var(--gold); }
.plan-flag {
  position: absolute; top: -.85rem; left: 2rem; padding: .3rem .8rem; border-radius: 999px;
  background: var(--seal); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}

/* ---------- Why ---------- */
.why { overflow: hidden; }
.why::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 140%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(201, 164, 92, .14), transparent);
}
.why-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2rem; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.75rem; font-weight: 600; color: var(--seal-deep); text-decoration: none; border-bottom: 1px solid rgba(156, 53, 34, .35); padding-bottom: .15rem; transition: border-color .2s, color .2s; }
.text-link:hover { color: var(--text); border-color: var(--text); }
.why-list li { padding-top: 1.1rem; border-top: 1.5px solid rgba(125, 90, 23, .35); }
.why-list h3 { font-family: var(--serif); font-size: 1.45rem; margin-bottom: .4rem; color: var(--text); }
.why-list p { color: var(--text-muted); font-size: .98rem; }

.terminal { margin: 0; border-radius: 14px; overflow: hidden; background: #0e1116; border: 1px solid rgba(201, 164, 92, .25); box-shadow: var(--shadow-soft); }
.terminal-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #181c24; border-bottom: 1px solid rgba(243, 234, 216, .12); }
.terminal-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a404c; }
.terminal-bar span { margin-left: 8px; font: 500 .78rem var(--mono); color: var(--on-ink-muted); }
.terminal-body { margin: 0; padding: 1.3rem 1.4rem; font: .82rem/1.75 var(--mono); color: #d7d2c6; overflow-x: auto; white-space: pre; }
.t-dim { color: #8b919c; }
.t-ok { color: #a5c48f; }
.t-key { color: var(--gold-2); }
.terminal-cap { padding: .85rem 1.4rem 1.1rem; font-size: .84rem; color: var(--on-ink-muted); border-top: 1px solid rgba(243, 234, 216, .12); }

/* ---------- Security & the three R's ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pillar {
  position: relative; padding: 2rem 1.75rem 2.1rem; background: var(--card); border: 1px solid var(--paper-line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.pillar-security { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(2rem, 3.5vw, 2.75rem); }
.pillar-mark {
  display: grid; place-items: center; width: 2.9rem; height: 2.9rem; margin-bottom: 1.1rem;
  font: 600 1.6rem/1 var(--serif); color: var(--cream); background: var(--seal);
  border-radius: 10px; transform: rotate(-4deg); box-shadow: inset 0 0 0 2px rgba(243, 234, 216, .35);
}
.pillar-security .pillar-mark { background: var(--ink); color: var(--gold); box-shadow: inset 0 0 0 2px rgba(201, 164, 92, .55); }
.pillar h3 { font-family: var(--serif); font-size: 1.75rem; }
.pillar-security h3 { font-size: 2rem; }
.pillar-def { margin: .4rem 0 1.2rem; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.22rem; line-height: 1.35; color: var(--gold-deep); }
.proofs { display: grid; gap: .95rem; }
.proofs li { position: relative; padding-left: 1.4rem; font-size: .98rem; line-height: 1.55; }
.proofs li::before { content: ""; position: absolute; left: 0; top: .6em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--seal); }
.proofs .tech { display: block; margin-top: .25rem; font-size: .84rem; line-height: 1.45; color: var(--text-muted); }
.pillar-security .terminal { box-shadow: 0 24px 50px -24px rgba(14, 17, 22, .6); }

.field-card {
  margin-top: 1.25rem; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  padding: clamp(1.75rem, 3.5vw, 2.5rem); border-radius: var(--radius); color: var(--on-ink);
  background: radial-gradient(120% 140% at 100% 0%, #262019 0%, var(--ink) 60%); border: 1px solid rgba(201, 164, 92, .35);
}
.field-kicker { display: inline-block; margin-bottom: .75rem; padding: .3rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--gold); }
.field-card h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .6rem; color: #f7f2e8; }
.field-copy p:last-child { color: var(--on-ink-muted); }
.field-stats { display: grid; gap: 1rem; }
.field-stats li { display: grid; grid-template-columns: 7.5rem 1fr; align-items: baseline; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--ink-line); }
.field-stats li:last-child { border-bottom: 0; padding-bottom: 0; }
.field-stats strong { font: 600 1.9rem/1 var(--serif); font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; color: var(--gold-2); }
.field-stats li:last-child strong { font-size: 1.35rem; }
.field-stats span { color: var(--on-ink-muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--paper-line); }
.faq details { border-bottom: 1px solid var(--paper-line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0;
  font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--seal); border-bottom: 2px solid var(--seal); transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--seal-deep); }
.faq details p { padding: 0 2.5rem 1.5rem 0; color: var(--text-muted); max-width: 44rem; }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(70% 70% at 10% 100%, #e6d9bf 0%, var(--paper-2) 70%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-direct { margin-top: 2rem; display: grid; gap: .3rem; }
.contact-direct > span { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.contact-email { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; color: var(--gold-deep); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease); justify-self: start; overflow-wrap: anywhere; }
.contact-email:hover { background-size: 100% 1.5px; }
.contact-note { margin-top: 1.25rem; color: var(--text-muted); font-size: .95rem; }

.contact-form { padding: clamp(1.5rem, 3vw, 2.3rem); background: var(--card-hi); border: 1px solid var(--paper-line); border-radius: var(--radius); box-shadow: var(--shadow-soft); display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .9rem; font-weight: 600; color: var(--text); }
.field .opt { font-weight: 400; color: var(--text-muted); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--field);
  border: 1px solid rgba(26, 29, 35, .22); border-radius: var(--radius-sm); padding: .8rem .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #6b5f4c; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(201, 164, 92, .35); }
.field [aria-invalid="true"] { border-color: var(--seal); }
.field textarea { resize: vertical; min-height: 7rem; }
.form-error { min-height: 0; color: var(--seal-deep); font-size: .92rem; }
.form-error:empty { display: none; }
.form-note { font-size: .84rem; color: var(--text-muted); text-align: center; }

.form-body { display: grid; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%239c3522' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.1rem;
}
.field-captcha { grid-template-columns: auto 6.5rem; align-items: center; gap: .5rem 1rem; padding: .85rem 1rem; border-radius: var(--radius-sm); background: var(--paper); border: 1px dashed rgba(125, 90, 23, .35); }
.field-captcha label { font-weight: 500; }
.field-captcha #captcha-q { font-weight: 700; white-space: nowrap; }
.field-captcha input { text-align: center; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-success { text-align: center; padding: 1.5rem .5rem; outline: none; }
.form-success h3 { font-family: var(--serif); font-size: 2rem; margin: 1rem 0 .6rem; }
.form-success p { color: var(--text-muted); max-width: 26rem; margin-inline: auto; }
.success-seal { display: inline-grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--seal); color: #fff; transform: rotate(-6deg); box-shadow: inset 0 0 0 4px var(--seal), inset 0 0 0 6px rgba(255, 255, 255, .6); }
.success-seal svg { width: 2rem; height: 2rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } .field-captcha { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding: 3.5rem 0 2rem; border-top: 1px solid var(--ink-line); }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid var(--ink-line); }
.footer-brand { max-width: 24rem; display: grid; gap: 1rem; }
.footer-brand .brand { color: var(--on-ink); }
.footer-brand p { font-size: .95rem; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.footer-nav a { text-decoration: none; font-size: .95rem; }
.footer-nav a:hover { color: var(--gold-2); }
.footer-legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: .88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards, .samples { grid-template-columns: repeat(2, 1fr); }
  .samples .sample:last-child { grid-column: span 2; max-width: calc(50% - .75rem); justify-self: center; }
}
@media (max-width: 960px) {
  .hero-grid, .why-grid, .contact-grid, .pillar-security, .field-card { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; margin-inline: auto; width: 100%; }
  .steps, .plans { grid-template-columns: 1fr; max-width: 560px; }
  .plan-featured { transform: none; margin-top: .75rem; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .cards, .samples { grid-template-columns: 1fr; }
  .samples .sample:last-child { grid-column: auto; max-width: none; }
  .why-list { grid-template-columns: 1fr; }
  .field-stats li { grid-template-columns: 1fr; gap: .3rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .audience .container { justify-content: flex-start; }
  .faq summary { font-size: 1.3rem; }
  .terminal-body { font-size: .74rem; }
  .footer-legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.notfound { min-height: 100vh; display: grid; align-items: center; }
/* gold script accents on a couple of light bands for rhythm (large text, >=3.5:1) */
.why .script, .contact .script { color: var(--gold-ink); }

/* ---------- Contact page + ALTCHA widget ---------- */
.contact-teaser { text-align: center; }
.contact-teaser .section-lede, .contact-teaser .contact-note { margin-inline: auto; }
.contact-teaser .hero-ctas { justify-content: center; margin-top: 2rem; }
.contact-page { padding-top: clamp(6rem, 12vw, 9rem); }
.contact-page .contact-copy h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: .95; letter-spacing: -.012em; }
.section .contact-next-title { margin-top: 2.2rem; font-family: var(--serif); font-weight: 600; font-size: 1.65rem; line-height: 1.15; }
.contact-next { margin-top: 1rem; display: grid; gap: .85rem; counter-reset: next; color: var(--text-muted); }
.contact-next li { counter-increment: next; display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; align-items: start; }
.contact-next li::before {
  content: counter(next); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  font: 700 .85rem/1 Inter, system-ui, sans-serif; font-variant-numeric: lining-nums; color: var(--seal-deep); border: 1.5px solid rgba(156, 53, 34, .45); background: var(--card);
}
.site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.field-captcha { display: block; padding: 0; border: 0; background: none; }
.field-captcha altcha-widget {
  --altcha-color-base: var(--field);
  --altcha-color-border: rgba(125, 90, 23, .45);
  --altcha-color-border-focus: var(--gold-deep);
  --altcha-color-text: var(--text);
  --altcha-color-active: var(--seal);
  --altcha-color-error-text: var(--seal-deep);
  --altcha-border-radius: var(--radius-sm);
  --altcha-max-width: 100%;
  display: block; width: 100%;
}
.field-captcha .altcha { font: inherit; }
.field-captcha .altcha-checkbox input { accent-color: var(--seal); }
.field-captcha .altcha-label { font-size: .95rem; }
.notfound .hero-title { margin-top: .6rem; }
.notfound .hero-ctas { margin-top: 2rem; }
.notfound .hero-lede { animation-delay: .25s; }
.notfound .hero-ctas { animation-delay: .4s; }

/* =========================================================
   v3: warm-charcoal bands (alternating with sand)
   ========================================================= */
.dark { background: var(--ink); color: var(--on-ink); }
.dark .section-lede, .dark .card p, .dark .why-list p { color: var(--on-ink-muted); }
.dark .kicker { color: var(--gold); }
.dark .script { color: var(--gold); }
.dark .section h2, .dark h2, .dark h3 { color: #f4efe6; }
.dark .text-link { color: var(--gold-2); border-color: rgba(224, 192, 126, .4); }
.dark .text-link:hover { color: #fff; border-color: #fff; }
.dark .btn-ghost, .dark .btn-outline { color: var(--on-ink); border-color: rgba(236, 230, 218, .32); }
.dark .btn-ghost:hover, .dark .btn-outline:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }

/* a faint warm glow so the charcoal reads as a surface, not a hole */
.dark.section { isolation: isolate; overflow: hidden; }
.dark.section::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 85% 0%, rgba(201, 164, 92, .09), transparent 70%), radial-gradient(50% 45% at 0% 100%, rgba(184, 65, 44, .06), transparent 70%);
}

/* audience strip: slim charcoal band under the sand hero */
.audience { background: var(--ink-2); color: var(--on-ink-muted); border-block: 0; }
.audience-label { color: var(--on-ink); }
.audience-list svg { color: var(--gold); }

/* services on charcoal: cards lift slightly, the featured card inverts to sand */
.dark .card { background: var(--ink-3); border-color: var(--ink-line); }
.dark .card:hover { border-color: rgba(201, 164, 92, .55); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .6); }
.dark .card-icon { background: rgba(201, 164, 92, .13); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .35); }
.dark .card-feature { background: var(--paper); border-color: rgba(201, 164, 92, .6); color: var(--text); }
.dark .card-feature h3 { color: var(--text); }
.dark .card-feature p { color: var(--text-muted); }
.dark .card-feature .card-icon { background: var(--ink); color: var(--gold); box-shadow: none; }
.dark .card-feature :focus-visible { outline-color: var(--seal); }

/* security & three R's on charcoal */
.dark .pillar { background: var(--ink-3); border-color: var(--ink-line); box-shadow: none; }
.dark .pillar-def { color: var(--gold-2); }
.dark .proofs li { color: var(--on-ink); }
.dark .proofs .tech { color: var(--on-ink-muted); }
.dark .proofs li::before { background: var(--seal-light); }
.dark .pillar-security .pillar-mark { background: var(--gold); color: var(--ink); box-shadow: none; }
.dark .pillar-security .terminal { background: #211e1b; border-color: rgba(201, 164, 92, .3); }
.dark .terminal-bar { background: #2a2622; }

/* FAQ + contact teaser read as one continuous sand band */
.faq-band { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.faq-band + .contact { background: var(--paper-2); padding-top: clamp(2.5rem, 5vw, 4rem); }
.faq-band + .contact .contact-teaser { padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--paper-line); }

/* footer: a touch lighter than the bands so the page ends softly */
.site-footer { background: var(--ink-2); }

/* ---------- Three R's layout: Security and Resiliency span the row ---------- */
.pillars { grid-template-columns: repeat(2, 1fr); }
.pillar-resiliency {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  padding: clamp(2rem, 3.5vw, 2.75rem);
}
.dark .pillar-resiliency {
  background: radial-gradient(90% 120% at 100% 0%, rgba(224, 192, 126, .16) 0%, rgba(224, 192, 126, 0) 60%), var(--ink-3);
  border-color: rgba(201, 164, 92, .45);
}
.pillar-resiliency h3 { font-size: 2rem; }
.dark .pillar-resiliency .pillar-mark { background: var(--gold); color: var(--ink); box-shadow: none; }
.res-power-title { margin: .2rem 0 .7rem; font-family: var(--serif); font-weight: 600; font-size: clamp(1.45rem, 2.3vw, 1.85rem); line-height: 1.15; color: #f7f2e8; }
.res-power-title .script { font-size: 1.15em; }
.res-lede { margin-bottom: 1.1rem; color: var(--on-ink); }
.res-monitored { margin-top: 1rem; display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--on-ink-muted); }
.res-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #a5c48f; box-shadow: 0 0 0 4px rgba(165, 196, 143, .18); flex: none; }

/* ---------- Careful by default (process strip) ---------- */
.careful {
  margin-top: 1.25rem; display: grid; grid-template-columns: 13rem 1fr; gap: 1.25rem 2.5rem; align-items: start;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius); border: 1px dashed rgba(201, 164, 92, .4);
}
.careful h3 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.05; }
.careful h3 .script { display: block; font-size: 1.2em; margin-top: .1em; }
.careful-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 2rem; }
.careful-list li { font-size: .95rem; line-height: 1.55; color: var(--on-ink-muted); padding-left: 1.1rem; position: relative; }
.careful-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: .45rem; height: .45rem; border-radius: 50%; border: 1.5px solid var(--gold); }
.careful-list strong { color: var(--on-ink); font-weight: 600; }

.power-chain { display: grid; gap: .75rem; counter-reset: pw; }
.power-chain li {
  position: relative; display: grid; grid-template-columns: 2.9rem 1fr; column-gap: 1rem; align-items: center;
  padding: .9rem 1rem; border-radius: 12px; background: rgba(23, 20, 17, .35); border: 1px solid var(--ink-line);
}
.power-chain li + li::before { /* connector between sources */
  content: ""; position: absolute; left: calc(1rem + 1.45rem - 1px); top: -.8rem; width: 2px; height: .8rem; background: rgba(201, 164, 92, .5);
}
.power-icon { grid-row: span 2; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: rgba(201, 164, 92, .14); color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .4); }
.power-chain li:first-child .power-icon { background: var(--gold); color: var(--ink); }
.power-icon svg { width: 1.55rem; height: 1.55rem; }
.power-chain strong { font: 600 1.25rem/1.15 var(--serif); color: #f7f2e8; }
.power-chain span:not(.power-icon) { font-size: .9rem; color: var(--on-ink-muted); line-height: 1.4; }

/* ---------- À la carte add-ons ---------- */
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.addon {
  padding: 1.6rem 1.5rem 1.7rem; border-radius: var(--radius); background: var(--ink-3); border: 1px solid var(--ink-line);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.addon:hover { transform: translateY(-3px); border-color: rgba(201, 164, 92, .55); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .6); }
.addon-icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: 1rem; border-radius: 12px; background: rgba(201, 164, 92, .13); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .35); }
.addon-icon svg { width: 1.5rem; height: 1.5rem; }
.addon h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: .4rem; }
.addon p { color: var(--on-ink-muted); font-size: .97rem; }

.addon-feature {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  padding: clamp(1.75rem, 3.5vw, 2.6rem); color: var(--text);
  background: radial-gradient(80% 120% at 100% 0%, #ece1cb 0%, rgba(236, 225, 203, 0) 60%), var(--paper);
  border-color: rgba(201, 164, 92, .7);
}
.addon-feature:hover { transform: none; }
.addon-feature h3 { font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.08; margin-bottom: .7rem; color: var(--text); }
.addon-feature p { color: var(--text-muted); font-size: 1.04rem; }
.addon-badge { display: inline-block; margin-bottom: .9rem; padding: .3rem .75rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--seal-deep); }
.addon-feature .addon-badge { color: #fff; }
.addon-points { margin-top: 1.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.25rem; }
.addon-points li { position: relative; padding-left: 1.55rem; font-size: .95rem; font-weight: 500; color: var(--text); }
.addon-points li::before { content: ""; position: absolute; left: 0; top: .45em; width: .85rem; height: .5rem; border-left: 2px solid var(--seal); border-bottom: 2px solid var(--seal); transform: rotate(-45deg) translateY(-2px); }
.addon-feature-art svg { width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(40, 30, 12, .28)); }
.cam-live { font: 700 8.5px var(--sans); fill: #fff; letter-spacing: .12em; }
.addon-feature :focus-visible { outline-color: var(--seal); }

.addons-cta { margin-top: 2.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1.75rem; border-top: 1px solid var(--ink-line); }
.addons-cta p { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--on-ink); }

@media (max-width: 960px) {
  .pillar-resiliency, .addon-feature, .careful { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .addons { grid-template-columns: repeat(2, 1fr); }
  .addon-feature-art { max-width: 420px; }
}
@media (max-width: 680px) {
  .addons { grid-template-columns: 1fr; }
  .addon-points { grid-template-columns: 1fr; }
  .careful-list { grid-template-columns: 1fr; }
  .addons-cta .btn { flex: 1 1 100%; }
}

/* ---------- v3: Why (warmth first) + Richmond motif ---------- */
.why-warm { color: var(--text); font-size: 1.18rem; }
.why-competence { margin-top: 1.1rem; color: var(--text-muted); max-width: 40rem; }
.rva-motif { margin: clamp(2.5rem, 5vw, 4rem) 0 0; }
.rva-motif svg { width: 100%; height: auto; overflow: visible; }
.rva-ink { color: rgba(28, 25, 21, .55); }
.rva-river { color: var(--gold-ink); }
.rva-rocks { color: rgba(28, 25, 21, .35); }
.rva-script { font-family: var(--script); font-size: 54px; fill: var(--gold-ink); }
.rva-sub { font: 600 12px var(--sans); letter-spacing: .32em; fill: var(--text-muted); }
.rva-motif figcaption { margin-top: .9rem; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--text); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rva-motif .draw { stroke-dasharray: 1; animation: flourish linear both; animation-timeline: view(); animation-range: entry 5% cover 40%; }
  }
}
@media (max-width: 680px) {
  .rva-motif { overflow: hidden; }
  .rva-motif svg { width: 220%; max-width: none; margin-left: -33%; }   /* crop to the skyline and river on phones */
  .rva-script, .rva-sub { display: none; }               /* the caption carries the place name */
}
.site-footer .brand-name em, .dark .brand-name em { color: var(--gold); }
