/* =====================================================================
   CELLULAR PROSPECTORS — DESIGN SYSTEM
   ---------------------------------------------------------------------
   Direction: "Modern assay office." Deep ink + struck gold, warm paper,
   survey-map contour texture. Mobile-first, no build step, no frameworks.

   To retheme the whole site, edit the tokens in :root below.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------------------- */
:root {
  /* Ink (deep, slightly blue charcoal) */
  --ink-950: #080b10;
  --ink-900: #0d1219;
  --ink-800: #141c26;
  --ink-700: #1e2836;
  --ink-600: #2c3849;
  --ink-500: #47566a;
  --ink-300: #8d9bad;

  /* Gold (the money) */
  --gold-100: #fff6dd;
  --gold-200: #ffe9ae;
  --gold-300: #ffd772;
  --gold-400: #f6c245;
  --gold-500: #e2a71f;
  --gold-600: #bd860e;
  --gold-700: #8d6106;

  /* Patina — sparing cool accent (oxidised copper) */
  --patina-400: #3fae97;
  --patina-600: #1f7d69;
  --patina-050: #e9f6f2;

  /* Paper */
  --paper: #faf7f1;
  --paper-2: #f2ede2;
  --surface: #ffffff;

  /* Text */
  --text: #131922;
  --text-muted: #5a6675;
  --text-invert: #f7f4ee;
  --text-invert-muted: #b7c1cd;

  /* Lines */
  --line: #e7e0d3;
  --line-strong: #d8cfbd;
  --line-invert: rgba(255, 255, 255, 0.12);

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(13, 18, 25, 0.05), 0 2px 6px rgba(13, 18, 25, 0.04);
  --sh-2: 0 2px 4px rgba(13, 18, 25, 0.05), 0 10px 26px -10px rgba(13, 18, 25, 0.18);
  --sh-3: 0 4px 8px rgba(13, 18, 25, 0.06), 0 26px 60px -22px rgba(13, 18, 25, 0.35);
  --sh-gold: 0 6px 18px -4px rgba(189, 134, 14, 0.45);

  /* Layout */
  --max: 1140px;
  --gutter: 20px;

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Survey-contour texture (inline SVG, tiles seamlessly) */
  --topo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%23e2a71f' stroke-width='1'%3E%3Cpath d='M0 20 C50 -10 150 -10 200 20 S350 50 400 20'/%3E%3Cpath d='M0 70 C50 40 150 40 200 70 S350 100 400 70'/%3E%3Cpath d='M0 120 C50 90 150 90 200 120 S350 150 400 120'/%3E%3Cpath d='M0 170 C50 140 150 140 200 170 S350 200 400 170'/%3E%3Cpath d='M0 220 C50 190 150 190 200 220 S350 250 400 220'/%3E%3Cpath d='M0 270 C50 240 150 240 200 270 S350 300 400 270'/%3E%3Cpath d='M0 320 C50 290 150 290 200 320 S350 350 400 320'/%3E%3Cpath d='M0 370 C50 340 150 340 200 370 S350 400 400 370'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------------
   2. BASE
   --------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 68px; /* room for sticky mobile action bar */
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }

a { color: var(--gold-700); text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }

::selection { background: var(--gold-300); color: var(--ink-900); }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 780px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold-400);
  color: var(--ink-900);
  padding: 12px 18px;
  font-weight: 700;
  z-index: 999;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------------
   3. TYPE
   --------------------------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0 0 0.55em;
  color: var(--text);
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: 'SOFT' 20, 'WONK' 1, 'opsz' 120;
  line-height: 1.04;
  letter-spacing: -0.022em;
}

h1 { font-size: clamp(2.25rem, 8vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 5.4vw, 2.6rem); }

h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.14rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1.05em; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.06rem, 3.4vw, 1.2rem);
  line-height: 1.6;
  max-width: 52ch;
}

strong { color: var(--text); font-weight: 650; }

/* Gold underline swash on a word in a headline */
.mark-gold {
  color: var(--gold-300);
  position: relative;
  white-space: nowrap;
}
.mark-gold::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.06em;
  height: 0.09em;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  opacity: 0.85;
}
.on-paper .mark-gold,
.mark-gold.on-paper { color: var(--gold-700); }

/* Eyebrow: small caps label with a leading gold rule */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
}
.eyebrow-invert { color: var(--gold-300); }

.text-center { text-align: center; }
.section-head {
  max-width: 46rem;
  margin: 0 auto 40px;
}
.section-head.text-center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.08rem; }

/* Assay rule: hairline with a centred lozenge */
.rule-assay {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0;
  color: var(--line-strong);
}
.rule-assay::before,
.rule-assay::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
}
.rule-assay span {
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: var(--gold-500);
  border-radius: 1px;
}

/* ---------------------------------------------------------------------
   4. SECTIONS / SURFACES
   --------------------------------------------------------------------- */
.section { padding: 60px 0; }
@media (min-width: 900px) { .section { padding: 92px 0; } }

.section-tight { padding: 40px 0; }
.section-paper { background: var(--paper-2); }

.section-ink {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
  color: var(--text-invert);
}
.section-ink h1,
.section-ink h2,
.section-ink h3,
.section-ink h4 { color: var(--text-invert); }
.section-ink p { color: var(--text-invert-muted); }

/* Contour texture layer used on all ink surfaces */
.topo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--topo);
  background-size: 480px 480px;
  opacity: 0.16;
  pointer-events: none;
}
.topo > * { position: relative; z-index: 1; }

/* ---------------------------------------------------------------------
   5. BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease,
    border-color 0.16s ease, color 0.16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-300) 0%, var(--gold-500) 100%);
  color: var(--ink-900);
  box-shadow: var(--sh-gold), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-gold:hover {
  color: var(--ink-900);
  background: linear-gradient(180deg, var(--gold-200) 0%, var(--gold-400) 100%);
  box-shadow: 0 10px 26px -6px rgba(189, 134, 14, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-ink {
  background: var(--ink-900);
  color: var(--text-invert);
  box-shadow: var(--sh-2);
}
.btn-ink:hover { background: var(--ink-700); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--text-invert);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline {
  background: var(--surface);
  color: var(--ink-900);
  border-color: var(--line-strong);
  box-shadow: var(--sh-1);
}
.btn-outline:hover { border-color: var(--gold-500); color: var(--ink-900); }

.btn-lg { padding: 17px 32px; min-height: 58px; font-size: 1.06rem; }
.btn-block { width: 100%; }

.btn .ic { width: 1.15em; height: 1.15em; }

/* Inline icon defaults */
.ic {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------------------------------------------------------------------
   6. HEADER / NAV
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-invert);
  color: var(--text-invert);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: 'SOFT' 20, 'WONK' 1, 'opsz' 30;
  font-size: 1.12rem;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.logo:hover { color: #fff; }
.logo-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: linear-gradient(150deg, var(--gold-300), var(--gold-600));
  display: grid;
  place-items: center;
  box-shadow: 0 3px 10px rgba(189, 134, 14, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.logo-mark svg { width: 19px; height: 19px; display: block; }
.logo-text { display: flex; flex-direction: column; }
.logo-text b { font-weight: 600; }
.logo-text span {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #dfe6ee;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 550;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--gold-300); }
.nav-links a[aria-current="page"] { color: var(--gold-300); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  color: var(--ink-900) !important;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  font-weight: 700 !important;
  box-shadow: var(--sh-gold);
}
.nav-cta:hover { filter: brightness(1.05); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-invert);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
}
.nav-toggle .bars { display: block; }
.nav-toggle .close { display: none; }
.nav-toggle[aria-expanded="true"] .bars { display: none; }
.nav-toggle[aria-expanded="true"] .close { display: block; }
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 6px var(--gutter) 20px;
  background: rgba(8, 11, 16, 0.98);
  border-top: 1px solid var(--line-invert);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: #eef2f7;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu a:hover { color: var(--gold-300); }
.mobile-menu .menu-cta {
  margin-top: 16px;
  border-bottom: 0;
  justify-content: center;
}

@media (min-width: 980px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .logo { font-size: 1.22rem; }
}

/* ---------------------------------------------------------------------
   7. HERO
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 12% -10%, rgba(226, 167, 31, 0.22), transparent 62%),
    radial-gradient(760px 420px at 92% 8%, rgba(63, 174, 151, 0.14), transparent 60%),
    linear-gradient(168deg, #101823 0%, var(--ink-950) 78%);
  color: var(--text-invert);
  padding: 44px 0 56px;
}
@media (min-width: 900px) {
  .hero { padding: 76px 0 96px; }
}
.hero h1 { color: #fff; }
.hero p { color: var(--text-invert-muted); }

.hero-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.02fr 0.98fr; gap: 56px; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero-actions .btn { flex: 1 1 auto; }
@media (min-width: 520px) {
  .hero-actions .btn { flex: 0 0 auto; }
}

/* Trust row under hero copy */
.trust-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-invert);
  list-style: none;
  padding-left: 0;
}
@media (min-width: 640px) {
  .trust-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.trust-row li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 550;
  line-height: 1.35;
  color: #e5ebf2;
}
.trust-row .ic { color: var(--gold-400); margin-top: 2px; }

/* Small "local" tag above the H1 */
.locale-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--r-pill);
  background: rgba(226, 167, 31, 0.12);
  border: 1px solid rgba(226, 167, 31, 0.32);
  color: var(--gold-200);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.locale-tag .ic { width: 15px; height: 15px; color: var(--gold-400); }

/* ---------------------------------------------------------------------
   8. QUOTE CALCULATOR ("assay card")
   --------------------------------------------------------------------- */
.quote-card {
  position: relative;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 22px 20px 24px;
  box-shadow: var(--sh-3);
  overflow: hidden;
}
@media (min-width: 480px) {
  .quote-card { padding: 28px 26px 30px; }
}
.quote-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300) 45%, var(--gold-500));
}

.quote-card h3,
.quote-card .calc-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: 'SOFT' 20, 'WONK' 1, 'opsz' 40;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: 6px 0 4px;
}
.quote-card .sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.calc-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.calc-badge .ic { width: 14px; height: 14px; }

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 6px;
}

.field select,
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 1rem; /* 16px+ prevents iOS zoom on focus */
  color: var(--text);
  background: #fcfaf6;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field textarea { min-height: 96px; resize: vertical; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6675' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
}
.field select:hover { border-color: var(--line-strong); }
.field select:focus,
.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(226, 167, 31, 0.18);
}
.field select:disabled {
  background-color: var(--paper-2);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.75;
}

/* Result panel */
.quote-result {
  display: none;
  margin-top: 20px;
  padding: 22px 18px 20px;
  text-align: center;
  border-radius: var(--r-lg);
  color: var(--text-invert);
  background:
    radial-gradient(520px 200px at 50% -30%, rgba(226, 167, 31, 0.35), transparent 70%),
    linear-gradient(165deg, var(--ink-800), var(--ink-950));
  border: 1px solid rgba(226, 167, 31, 0.35);
}
.quote-result.visible {
  display: block;
  animation: rise 0.35s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.quote-result p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-invert-muted);
}
.quote-result .result-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.quote-result .amount {
  font-family: var(--font-display);
  font-variation-settings: 'SOFT' 10, 'WONK' 0, 'opsz' 144;
  font-weight: 600;
  font-size: clamp(2.3rem, 11vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 8px 0 10px;
}
.quote-result .amount .gold {
  background: linear-gradient(180deg, var(--gold-200), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quote-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.quote-actions .btn-ink {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: none;
}
.quote-actions .btn-ink:hover { background: rgba(255, 255, 255, 0.16); }

/* Idle hint shown before all fields are chosen */
.quote-hint {
  margin-top: 18px;
  padding: 15px 16px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--paper);
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.quote-calculator.has-quote .quote-hint { display: none; }

.calc-footnote {
  margin-top: 14px;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}

/* ---------------------------------------------------------------------
   9. CARDS & GRIDS
   --------------------------------------------------------------------- */
.grid-2,
.grid-3 {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

.two-col {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 52px; }
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  box-shadow: var(--sh-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card > :last-child { margin-bottom: 0; }
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--sh-2);
}

/* Numbered step card */
.step-card { padding-top: 26px; }
.step-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-variation-settings: 'SOFT' 20, 'WONK' 1, 'opsz' 40;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink-900);
  background: linear-gradient(160deg, var(--gold-200), var(--gold-400));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 4px 12px -4px rgba(189, 134, 14, 0.6);
}

/* Device path card (iPhone / iPad / Android) */
.path-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  padding: 24px 22px 22px;
}
.path-card:hover { color: inherit; border-color: var(--gold-500); }
.path-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  margin-bottom: 14px;
  background: linear-gradient(160deg, var(--ink-700), var(--ink-950));
  color: var(--gold-300);
  box-shadow: var(--sh-2);
}
.path-icon .ic { width: 23px; height: 23px; }
.path-card h3 { margin-bottom: 4px; }
.path-card p { font-size: 0.93rem; }
.path-link {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--gold-700);
}
.path-card:hover .path-link { color: var(--gold-600); }
.path-card:hover .path-link .ic { transform: translateX(3px); }
.path-link .ic { width: 16px; height: 16px; transition: transform 0.18s ease; }

/* Feature card on ink */
.card-ink {
  background: linear-gradient(165deg, var(--ink-800), var(--ink-950));
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-invert);
}
.card-ink h3, .card-ink h4 { color: #fff; }
.card-ink p { color: var(--text-invert-muted); }

/* Pills */
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  background: var(--gold-100);
  border: 1px solid rgba(226, 167, 31, 0.35);
  color: var(--gold-700);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.2;
}
.pill .ic { width: 14px; height: 14px; }
.pill-patina {
  background: var(--patina-050);
  border-color: rgba(31, 125, 105, 0.28);
  color: var(--patina-600);
}

/* Chip lists (service area, model lists) */
.area-list,
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.area-list li,
.chip-list li {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-800);
}
.section-ink .area-list li,
.section-ink .chip-list li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #eaeff5;
  box-shadow: none;
}

/* New-in-box highlight banner */
.callout {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 26px 22px;
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, var(--ink-800), var(--ink-950));
  color: var(--text-invert);
  border: 1px solid rgba(226, 167, 31, 0.3);
  position: relative;
  overflow: hidden;
}
@media (min-width: 820px) {
  .callout { grid-template-columns: 1fr auto; padding: 34px 36px; }
}
.callout h3 {
  font-family: var(--font-display);
  font-variation-settings: 'SOFT' 20, 'WONK' 1, 'opsz' 60;
  font-weight: 600;
  font-size: clamp(1.4rem, 4.6vw, 1.85rem);
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.callout p { color: var(--text-invert-muted); max-width: 58ch; }
.callout .btn { white-space: nowrap; }

/* ---------------------------------------------------------------------
   10. TABLES
   --------------------------------------------------------------------- */
.condition-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 0.92rem;
}
.condition-table th {
  text-align: left;
  padding: 10px 10px 10px 0;
  border-bottom: 2px solid var(--gold-400);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.condition-table td {
  padding: 13px 10px 13px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--text-muted);
}
.condition-table td:first-child {
  font-weight: 650;
  color: var(--text);
  white-space: nowrap;
  padding-right: 16px;
}
.condition-table tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------------------
   11. FAQ
   --------------------------------------------------------------------- */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item.open { border-color: var(--gold-400); box-shadow: var(--sh-1); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 17px 18px;
  margin: 0;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.faq-question .plus {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-100);
  border: 1px solid rgba(226, 167, 31, 0.35);
  color: var(--gold-700);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.22s ease, background 0.22s ease;
}
.faq-item.open .plus {
  transform: rotate(45deg);
  background: var(--gold-300);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.faq-item.open .faq-answer { max-height: 460px; }
.faq-answer p {
  padding: 0 18px 18px;
  margin: 0;
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------------
   12. CTA BAND
   --------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 56px 0 60px;
  text-align: center;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(226, 167, 31, 0.26), transparent 65%),
    linear-gradient(170deg, var(--ink-800), var(--ink-950));
  color: var(--text-invert);
  border-top: 1px solid rgba(226, 167, 31, 0.28);
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p {
  color: var(--text-invert-muted);
  max-width: 46ch;
  margin: 0 auto 26px;
}
.cta-band .cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.cta-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-invert-muted);
}

/* ---------------------------------------------------------------------
   13. FOOTER
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-950);
  color: var(--text-invert-muted);
  padding: 48px 0 24px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
}
.site-footer h4 {
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer p { color: var(--text-invert-muted); margin-bottom: 0.6em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--text-invert-muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }
.footer-brand .logo { margin-bottom: 14px; }
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  color: #fff;
}
.footer-contact .ic { color: var(--gold-400); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 20px;
  font-size: 0.8rem;
  color: #74818f;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
}

/* ---------------------------------------------------------------------
   14. STICKY MOBILE ACTION BAR
   --------------------------------------------------------------------- */
.mobile-call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  gap: 8px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 14, 20, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.28);
}
.mobile-call-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: var(--r-pill);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
}
.mobile-call-bar .text {
  flex: 1 1 auto;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  color: var(--ink-900);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.mobile-call-bar .call {
  flex: 0 0 auto;
  padding-inline: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}
@media (min-width: 900px) {
  .mobile-call-bar { display: none; }
}

/* ---------------------------------------------------------------------
   15. INTERIOR PAGE HERO
   --------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 42px;
  background:
    radial-gradient(760px 380px at 8% 0%, rgba(226, 167, 31, 0.2), transparent 62%),
    linear-gradient(165deg, #101823 0%, var(--ink-950) 80%);
  color: var(--text-invert);
}
@media (min-width: 900px) {
  .page-hero { padding: 52px 0 60px; }
}
.page-hero h1 { color: #fff; max-width: 21ch; }
.page-hero p { color: var(--text-invert-muted); max-width: 62ch; }

.breadcrumb {
  font-size: 0.8rem;
  color: #93a1b1;
  margin-bottom: 14px;
}
.breadcrumb a { color: #93a1b1; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb span { color: #5f6b79; margin: 0 6px; }

/* ---------------------------------------------------------------------
   16. MISC / UTILITIES
   --------------------------------------------------------------------- */
.list-check { list-style: none; margin: 0 0 1.1em; padding: 0; }
.list-check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  color: var(--text-muted);
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.34em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d6106' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid rgba(226, 167, 31, 0.4);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 26px;
}
.stat {
  padding: 16px 12px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-variation-settings: 'SOFT' 20, 'WONK' 1, 'opsz' 40;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--gold-300);
  line-height: 1.1;
}
.stat span {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-invert-muted);
}

.form-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-28 { margin-top: 28px; }

/* Scroll reveal. Only active when the <html class="js"> flag is set by the
   inline head script, so content is always visible if JS never runs. */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   PHOTO & PROOF MODULES
   ---------------------------------------------------------------------
   These are the pieces that make a site read as "expensive": real
   photography and real social proof. The styling is done — you supply
   the photos and the reviews.
   ===================================================================== */

/* ---- Photo frame -----------------------------------------------------
   Wrap any <img> in .photo to get the framing treatment. Add .photo-tall
   or .photo-wide to control the crop shape. */
.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--paper-2);
  box-shadow: var(--sh-2);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-tall { aspect-ratio: 4 / 5; }
.photo-wide { aspect-ratio: 3 / 2; }
.photo-square { aspect-ratio: 1 / 1; }

/* Gold hairline inside the frame — small detail, reads as considered */
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(189, 134, 14, 0.22);
  pointer-events: none;
}

/* Placeholder shown until a real photo is dropped in. Deliberately
   plain so it never gets mistaken for finished design. */
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px;
  text-align: center;
  min-height: 220px;
  border: 2px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--paper-2);
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}
.photo-placeholder b {
  font-size: 0.95rem;
  color: var(--text);
}
.photo-placeholder .ic {
  width: 26px;
  height: 26px;
  stroke: var(--gold-600);
  fill: none;
  stroke-width: 1.6;
}

/* ---- Founder / about block ------------------------------------------ */
.founder-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 860px) {
  .founder-grid { grid-template-columns: 0.85fr 1.15fr; gap: 52px; }
}
.founder-sig {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  color: var(--text);
  margin-top: 20px;
}
.founder-sig span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---- Review cards ---------------------------------------------------- */
.review-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}
.review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  box-shadow: var(--sh-1);
}
.review-stars {
  display: flex;
  gap: 3px;
  color: var(--gold-500);
}
.review-stars svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: none;
}
.review blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}
.review figcaption {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.88rem;
}
.review-avatar {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--ink-800);
  color: var(--gold-300);
  font-weight: 700;
  font-size: 0.9rem;
  overflow: hidden;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-who b { display: block; color: var(--text); font-weight: 650; }
.review-who span { color: var(--text-muted); font-size: 0.82rem; }

/* Review section in placeholder state — dashed, obviously unfinished */
.review.is-placeholder {
  border-style: dashed;
  border-color: var(--line-strong);
  background: var(--paper-2);
  box-shadow: none;
}
.review.is-placeholder blockquote { color: var(--text-muted); font-style: italic; }

/* =====================================================================
   ACCESSIBILITY FIXES (from automated audit)
   ===================================================================== */

/* BUG: `.hero p` (specificity 0,1,1) sets light text for the dark hero,
   but the WHITE quote card is nested inside the hero — so its small print
   (.quote-hint, .calc-footnote) inherited light grey on white and rendered
   at 1.8:1 contrast, effectively invisible. These reset it, and are scoped
   so any future <p> added inside the card is also safe. */
.hero .quote-card p,
.page-hero .quote-card p { color: var(--text-muted); }

/* ...except the result panel, which genuinely sits on dark ink. */
.hero .quote-card .quote-result p,
.page-hero .quote-card .quote-result p { color: var(--text-invert-muted); }

/* Footer headings may be h3 (keeps heading order valid: h2 -> h3). */
.site-footer h3 {
  color: #fff;
  font-size: 0.76rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Larger tap targets for footer links on touch devices (was 16px tall). */
@media (max-width: 899px) {
  .site-footer li a,
  .site-footer p a {
    display: inline-block;
    padding-block: 10px;
    line-height: 1.35;
  }
  .site-footer li { margin-bottom: 2px; }
}

/* The quote card's heading is an <h2> for correct document outline;
   this keeps it visually sized like the h3 it replaced. */
.quote-card h2.calc-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.14rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

/* Visually hidden (screen-reader only) — keeps the document outline valid
   without adding a visible heading. */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Touch targets: WCAG 2.5.5 asks for 44px. Inline links inside sentences
   are exempt; these are the standalone nav/brand/breadcrumb targets. */
@media (max-width: 899px) {
  .logo { min-height: 44px; align-items: center; }
  .breadcrumb a { display: inline-block; padding-block: 12px; }
  .site-footer li a,
  .site-footer p a { padding-block: 12px; }
}

/* ---- Contact form: honeypot + error banner --------------------------- */
/* Honeypot must be invisible to people but still fillable by bots, so it
   is positioned off-screen rather than display:none (which some bots skip). */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-error {
  border: 1.5px solid #c0392b;
  background: #fdf0ee;
  color: #7a2018;
  border-radius: var(--r-lg);
  padding: 18px 20px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.form-error strong { display: block; margin-bottom: 4px; color: #7a2018; }

/* Safety net for the scroll-reveal above. The inline <head> script adds
   .reveal-fallback after 2.5s no matter what, so if js/main.js fails to load
   the page still ends up fully visible instead of mostly blank. */
.reveal-fallback .reveal {
  opacity: 1 !important;
  transform: none !important;
}
