/* =====================================================================
   DIALAMERICA MARKETING — style.css
   Editorial "research prospectus" system.
   Palette: cool paper, near-black ink, one flat cobalt accent.
   Type: Newsreader (display serif) / Public Sans (body) / IBM Plex Mono (labels)
   ===================================================================== */

/* ----- Design tokens ------------------------------------------------ */
:root {
  --paper:      #f4f4f0;   /* page background (cool neutral, deliberately not cream) */
  --paper-2:    #fbfbf9;   /* raised surfaces / panels */
  --ink:        #17181c;   /* headlines + body */
  --ink-2:      #55575e;   /* secondary text */
  --ink-3:      #85868c;   /* muted captions */
  --line:       #deded7;   /* hairlines */
  --line-2:     #c9c9c1;   /* stronger hairline */
  --accent:     #1b3fd1;   /* cobalt — links, markers, key CTA */
  --accent-ink: #142f9e;   /* accent hover / pressed */
  --accent-wash:#e9edfb;   /* faint accent tint */
  --focus:      #1b3fd1;

  --dark:       #17181c;   /* dark section background */
  --dark-2:     #212227;
  --on-dark:    #ecece7;
  --on-dark-2:  #a5a6a3;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  --step--1: clamp(0.80rem, 0.77rem + 0.14vw, 0.88rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.18vw, 1.10rem);
  --step-1:  clamp(1.20rem, 1.12rem + 0.36vw, 1.44rem);
  --step-2:  clamp(1.55rem, 1.38rem + 0.75vw, 2.05rem);
  --step-3:  clamp(2.05rem, 1.72rem + 1.5vw,  3.05rem);
  --step-4:  clamp(2.60rem, 1.95rem + 3.0vw,  4.60rem);

  --ff-display: "Newsreader", Georgia, "Times New Roman", serif;
  --ff-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--ff-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
img { background: var(--line); } /* graceful area if an image fails to load */

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { max-width: 68ch; }

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

/* ----- Utilities & layout ------------------------------------------ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.rule { border: 0; border-top: 1px solid var(--line); }
.center { text-align: center; }
.mono { font-family: var(--ff-mono); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Eyebrow: mono label + optional index, our recurring structural device */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 1.4rem;
}
.eyebrow .idx { color: var(--accent); font-weight: 500; }
.eyebrow::before {
  content: "";
  width: 26px; height: 1px; background: var(--line-2); flex: 0 0 auto;
}

.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink); max-width: 40ch; }
.measure { max-width: 62ch; color: var(--ink-2); }
.measure p + p { margin-top: 1rem; }

/* Field note: monospace marginal annotation */
.fieldnote {
  font-family: var(--ff-mono);
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--ink-2);
  border-left: 2px solid var(--accent);
  padding: 0.15rem 0 0.15rem 1rem;
}
.fieldnote b { color: var(--ink); font-weight: 500; }

/* ----- Skip link ---------------------------------------------------- */
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--ink); color: var(--on-dark);
  padding: 0.6rem 1rem; border-radius: var(--radius); z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--on-dark); }

/* ----- Announcement bar --------------------------------------------- */
.announce {
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--ff-mono);
  font-size: var(--step--1);
  letter-spacing: 0.02em;
}
.announce .wrap {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding-block: 0.55rem; text-align: center;
}
.announce a { color: #fff; text-underline-offset: 2px; }
.announce .dot { color: var(--accent); }

/* ----- Header ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), padding 0.25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 96%, transparent);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 1.1rem;
  transition: padding 0.25s var(--ease);
}
.site-header.is-scrolled .header-inner { padding-block: 0.7rem; }

/* Wordmark */
.brand { display: inline-flex; align-items: baseline; gap: 0.5rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .mark {
  font-family: var(--ff-display); font-weight: 600; font-size: 1.18rem;
  letter-spacing: -0.02em; line-height: 1;
}
.brand .mark em { font-style: normal; color: var(--accent); }
.brand .sub {
  font-family: var(--ff-mono); font-size: 0.62rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-3);
}

/* Primary nav */
.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a, .nav .navlink {
  font-size: 0.95rem; color: var(--ink); text-decoration: none;
  padding: 0.5rem 0.7rem; border-radius: var(--radius); background: none; border: 0;
  font-family: var(--ff-body); cursor: pointer;
}
.nav a:hover, .nav .navlink:hover { background: rgba(23,24,28,0.05); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent); }

/* Dropdown */
.has-menu { position: relative; }
.menu-toggle { display: inline-flex; align-items: center; gap: 0.35rem; }
.menu-toggle svg { transition: transform 0.2s var(--ease); }
.has-menu[data-open="true"] .menu-toggle svg { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 300px; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px -24px rgba(23,24,28,0.4);
  padding: 0.5rem; display: none; z-index: 120;
}
.has-menu[data-open="true"] .submenu { display: block; }
.submenu a {
  display: flex; flex-direction: column; gap: 1px;
  padding: 0.6rem 0.7rem; border-radius: var(--radius); text-decoration: none;
}
.submenu a:hover { background: var(--accent-wash); }
.submenu a .t { color: var(--ink); font-size: 0.95rem; }
.submenu a .d { color: var(--ink-3); font-size: 0.8rem; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--ff-body); font-size: 0.95rem; font-weight: 600; line-height: 1;
  padding: 0.85rem 1.35rem; border-radius: var(--radius);
  border: 1px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform 0.06s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--accent-ink); }
.btn--onDark { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,0.28); }
.btn--onDark:hover { border-color: #fff; color: #fff; }
.btn--sm { padding: 0.6rem 0.95rem; font-size: 0.85rem; }
.btn--full { width: 100%; }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Text link with arrow */
.tlink {
  font-family: var(--ff-mono); font-size: 0.82rem; letter-spacing: 0.04em;
  text-transform: uppercase; text-decoration: none; color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.tlink .arrow { transition: transform 0.2s var(--ease); }
.tlink:hover { color: var(--accent-ink); }
.tlink:hover .arrow { transform: translateX(3px); }

/* Header burger */
.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line-2);
  background: transparent; border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center; color: var(--ink);
}
.burger svg { width: 20px; height: 20px; }

/* ----- Mobile drawer ------------------------------------------------ */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(23,24,28,0.4);
  opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
  z-index: 150;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(88vw, 400px);
  background: var(--paper); z-index: 160; transform: translateX(100%);
  transition: transform 0.28s var(--ease); display: flex; flex-direction: column;
  border-left: 1px solid var(--line); overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-close { width: 42px; height: 42px; border: 1px solid var(--line-2); background: transparent; border-radius: var(--radius); cursor: pointer; color: var(--ink); }
.drawer-nav { padding: 0.5rem var(--gutter) 1rem; }
.drawer-nav a { display: block; padding: 0.85rem 0; font-size: 1.2rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); font-family: var(--ff-display); }
.drawer-nav a[aria-current="page"] { color: var(--accent); }
.drawer-sub { padding: 0.25rem 0 0.5rem 0.9rem; }
.drawer-sub a { font-family: var(--ff-body); font-size: 0.98rem; padding: 0.55rem 0; border-bottom: 1px dashed var(--line); }
.drawer-cta { margin-top: auto; padding: 1.25rem var(--gutter); border-top: 1px solid var(--line); }
.drawer-meta { padding: 0 var(--gutter) 1.5rem; font-family: var(--ff-mono); font-size: 0.78rem; color: var(--ink-3); line-height: 1.7; }

/* ----- Hero --------------------------------------------------------- */
.hero { padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.hero h1 { font-size: var(--step-4); font-weight: 500; letter-spacing: -0.02em; max-width: 16ch; }
.hero h1 .accent { color: var(--accent); font-style: italic; }
.hero .lede { margin-top: 1.5rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2.5rem;
}
.hero-meta div { background: var(--paper); padding: 1.1rem 1.15rem; }
.hero-meta dt { font-family: var(--ff-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.hero-meta dd { font-family: var(--ff-display); font-size: var(--step-1); margin-top: 0.3rem; line-height: 1.15; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.35fr 1fr; align-items: end; }
  .hero-aside { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 3vw, 2.5rem); }
}

/* ----- Section headers --------------------------------------------- */
.sec-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head h2 { max-width: 20ch; }
@media (min-width: 860px) {
  .sec-head { grid-template-columns: 1.4fr 1fr; align-items: end; }
  .sec-head .sec-head-aside { justify-self: end; max-width: 34ch; text-align: left; }
}

/* ----- Service index (signature element) ---------------------------- */
.index-list { border-top: 1px solid var(--line-2); }
.index-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center; padding: clamp(1.1rem, 2.2vw, 1.7rem) 0;
  border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: background 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.index-row:hover { background: var(--paper-2); padding-left: 0.75rem; color: var(--ink); }
.index-row .num { font-family: var(--ff-mono); font-size: 0.85rem; color: var(--accent); padding-top: 0.35rem; }
.index-row .body h3 { font-size: var(--step-2); font-weight: 500; }
.index-row .body p { color: var(--ink-2); font-size: 0.98rem; margin-top: 0.35rem; max-width: 60ch; }
.index-row .go { color: var(--ink-3); transition: transform 0.2s var(--ease), color 0.2s var(--ease); }
.index-row:hover .go { color: var(--accent); transform: translateX(4px); }
@media (max-width: 620px) {
  .index-row { grid-template-columns: auto 1fr; }
  .index-row .go { display: none; }
}

/* ----- Generic panels & grids -------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3,1fr);} }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4,1fr);} }

.panel {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.25rem, 2.5vw, 1.9rem);
}
.panel h3 { font-size: var(--step-1); }
.panel p { color: var(--ink-2); font-size: 0.96rem; margin-top: 0.6rem; }
.panel .kicker { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }

/* Definition card with top number */
.numbered { counter-reset: none; }
.step {
  border-top: 2px solid var(--ink); padding-top: 1rem;
}
.step .n { font-family: var(--ff-mono); font-size: 0.8rem; color: var(--accent); letter-spacing: 0.08em; }
.step h3 { font-size: var(--step-1); margin-top: 0.5rem; }
.step p { color: var(--ink-2); font-size: 0.95rem; margin-top: 0.5rem; }

/* Two-column prose+aside */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .split { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.split--even { grid-template-columns: 1fr; }
@media (min-width: 900px) { .split--even { grid-template-columns: 1fr 1fr; } }

/* Prose blocks */
.prose h3 { margin-top: 2.2rem; margin-bottom: 0.6rem; font-size: var(--step-2); }
.prose h4 { margin-top: 1.6rem; margin-bottom: 0.4rem; font-size: var(--step-1); }
.prose p { color: var(--ink-2); margin-top: 0.9rem; }
.prose ul, .prose ol { color: var(--ink-2); margin-top: 0.9rem; padding-left: 1.2rem; }
.prose li { margin-top: 0.4rem; }
.prose ul li::marker { color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 600; }

/* Checklist */
.checklist { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; color: var(--ink-2); }
.checklist svg { margin-top: 3px; color: var(--accent); flex: 0 0 auto; }

/* Fit / not fit comparison */
.compare { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 780px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare > div { background: var(--paper); padding: clamp(1.4rem, 3vw, 2rem); }
.compare h3 { font-size: var(--step-1); display: flex; align-items: center; gap: 0.6rem; }
.compare ul { list-style: none; padding: 0; margin-top: 1rem; display: grid; gap: 0.7rem; }
.compare li { color: var(--ink-2); font-size: 0.96rem; padding-left: 1.4rem; position: relative; }
.compare .fit li::before { content: "＋"; position: absolute; left: 0; color: var(--accent); }
.compare .nofit li::before { content: "–"; position: absolute; left: 0; color: var(--ink-3); font-weight: 700; }

/* Callout / pull quote (no fake attribution) */
.callout {
  border-left: 3px solid var(--accent); padding: 0.5rem 0 0.5rem 1.5rem;
  font-family: var(--ff-display); font-size: var(--step-2); line-height: 1.25; color: var(--ink);
  max-width: 30ch;
}
.callout cite { display: block; font-family: var(--ff-mono); font-size: 0.72rem; font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-top: 1rem; }

/* Dark band */
.band-dark { background: var(--dark); color: var(--on-dark); }
.band-dark h2, .band-dark h3 { color: var(--on-dark); }
.band-dark .eyebrow { color: var(--on-dark-2); }
.band-dark .eyebrow::before { background: rgba(255,255,255,0.25); }
.band-dark p { color: var(--on-dark-2); }
.band-dark .rule { border-top-color: rgba(255,255,255,0.14); }

/* ----- Process (numbered) ------------------------------------------ */
.process { display: grid; gap: 0; }
.process-row {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem,3vw,2.5rem);
  padding: clamp(1.4rem,3vw,2.2rem) 0; border-top: 1px solid var(--line);
}
.process-row:last-child { border-bottom: 1px solid var(--line); }
.process-row .n { font-family: var(--ff-display); font-size: var(--step-3); color: var(--line-2); line-height: 1; }
.process-row h3 { font-size: var(--step-1); }
.process-row p { color: var(--ink-2); margin-top: 0.5rem; }
@media (min-width: 820px) {
  .process-row { grid-template-columns: 5rem 1.1fr 1.3fr; align-items: baseline; }
}

/* ----- Accordion ---------------------------------------------------- */
.accordion { border-top: 1px solid var(--line-2); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; font-family: var(--ff-display); font-size: var(--step-1);
  color: var(--ink); line-height: 1.2;
}
.acc-trigger:hover { color: var(--accent); }
.acc-icon { flex: 0 0 auto; width: 24px; height: 24px; position: relative; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; background: var(--accent); transition: transform 0.25s var(--ease); }
.acc-icon::before { top: 11px; left: 3px; width: 18px; height: 2px; }
.acc-icon::after  { top: 3px; left: 11px; width: 2px; height: 18px; }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: scaleY(0); }
.acc-panel { overflow: hidden; height: 0; transition: height 0.28s var(--ease); }
.acc-panel-inner { padding: 0 0 1.3rem; color: var(--ink-2); max-width: 74ch; }
.acc-panel-inner p + p { margin-top: 0.8rem; }

/* ----- CTA band ----------------------------------------------------- */
.cta-band { background: var(--ink); color: var(--on-dark); border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.75rem); }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: var(--on-dark-2); margin-top: 1rem; max-width: 52ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ----- Footer ------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer-top { display: grid; gap: 2.5rem; }
@media (min-width: 820px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand .mark { font-family: var(--ff-display); font-weight: 600; font-size: 1.3rem; color: #fff; letter-spacing: -0.02em; }
.footer-brand .mark em { font-style: normal; color: var(--accent); }
.footer-brand p { color: var(--on-dark-2); font-size: 0.92rem; margin-top: 1rem; max-width: 34ch; }
.footer-addr { font-style: normal; color: var(--on-dark-2); font-size: 0.9rem; line-height: 1.7; margin-top: 1.2rem; }
.footer-addr a { color: var(--on-dark); text-decoration: none; }
.footer-addr a:hover { color: #fff; text-decoration: underline; }
.footer-col h4 { font-family: var(--ff-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--on-dark); text-decoration: none; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.14); }
.footer-bottom p { color: var(--on-dark-2); font-size: 0.82rem; font-family: var(--ff-mono); }
.footer-social { display: flex; gap: 0.4rem; }
.footer-social a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.22); border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; color: var(--on-dark); }
.footer-social a:hover { border-color: #fff; color: #fff; }

/* ----- Sticky desktop consult tab ---------------------------------- */
.consult-tab {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; background: var(--accent); color: #fff;
  padding: 1rem 0.55rem; font-family: var(--ff-mono); font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  border-radius: 0 var(--radius) var(--radius) 0; z-index: 90;
  transition: background 0.2s var(--ease);
}
.consult-tab:hover { background: var(--accent-ink); color: #fff; }
@media (max-width: 1024px) { .consult-tab { display: none; } }

/* ----- Mobile consult bar ------------------------------------------ */
.consult-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--ink); color: var(--on-dark);
  display: none; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.7rem var(--gutter); border-top: 1px solid rgba(255,255,255,0.12);
  transform: translateY(100%); transition: transform 0.3s var(--ease);
}
.consult-bar.is-visible { transform: translateY(0); }
.consult-bar .cb-text { font-size: 0.85rem; }
.consult-bar .cb-text b { color: #fff; font-family: var(--ff-display); font-weight: 500; }
@media (max-width: 720px) { .consult-bar { display: flex; } body.has-consult-bar { padding-bottom: 68px; } }

/* ----- Forms -------------------------------------------------------- */
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--accent); }
.field .hint { font-size: 0.78rem; color: var(--ink-3); font-family: var(--ff-mono); }
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: 1rem; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 0.75rem 0.85rem; width: 100%;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #b42318; box-shadow: 0 0 0 3px rgba(180,35,24,0.1);
}
.field .error { font-size: 0.78rem; color: #b42318; display: none; }
.field .error.show { display: block; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.checkbox { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.checkbox label { font-weight: 400; color: var(--ink-2); font-size: 0.9rem; }
.form-status { border-radius: var(--radius); padding: 0.9rem 1rem; font-size: 0.92rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #eaf5ec; border: 1px solid #bcdcc3; color: #1c5b2c; }
.form-status.err { background: #fdeceb; border: 1px solid #f2c4c0; color: #8a2018; }
.form-note { font-size: 0.8rem; color: var(--ink-3); margin-top: 1rem; font-family: var(--ff-mono); line-height: 1.6; }

/* ----- Contact detail cards ---------------------------------------- */
.contact-detail { display: grid; gap: 1.25rem; }
.contact-detail .row { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.contact-detail .row:last-child { border-bottom: 0; }
.contact-detail .ic { color: var(--accent); margin-top: 2px; }
.contact-detail dt { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.contact-detail dd { margin-top: 0.2rem; font-size: 1.02rem; }
.contact-detail dd a { text-decoration: none; }

/* ----- Page hero (interior) ---------------------------------------- */
.page-hero { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--step-4); max-width: 18ch; }
.page-hero .lede { margin-top: 1.25rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--ink-3); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span[aria-current] { color: var(--ink); }

/* Service sub-hero meta strip */
.svc-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
.tag { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 0.35rem 0.75rem; }

/* Deliverables list */
.deliverables { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.deliverables li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); align-items: baseline; }
.deliverables .lbl { font-family: var(--ff-mono); font-size: 0.75rem; color: var(--accent); }

/* Related services */
.related { display: grid; gap: 1rem; }
@media (min-width: 720px) { .related { grid-template-columns: repeat(3,1fr); } }
.related a { display: block; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); text-decoration: none; color: var(--ink); transition: border-color 0.2s var(--ease); }
.related a:hover { border-color: var(--ink); }
.related a .k { font-family: var(--ff-mono); font-size: 0.72rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }
.related a h3 { font-size: var(--step-1); margin-top: 0.4rem; }

/* Editorial image area (graceful without a real image) */
.figure { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure figcaption { font-family: var(--ff-mono); font-size: 0.74rem; color: var(--ink-3); padding: 0.7rem 0.9rem; border-top: 1px solid var(--line); }
.figure--placeholder { aspect-ratio: 4 / 3; display: grid; place-items: center; background:
  repeating-linear-gradient(135deg, var(--paper-2), var(--paper-2) 11px, #f0f0ea 11px, #f0f0ea 12px); }
.figure--placeholder span { font-family: var(--ff-mono); font-size: 0.74rem; color: var(--ink-3); letter-spacing: 0.05em; }

/* Stat row (no fabricated numbers — descriptive) */
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts div { background: var(--paper); padding: 1.4rem 1.25rem; }
.facts dt { font-family: var(--ff-display); font-size: var(--step-2); line-height: 1.1; }
.facts dd { font-size: 0.9rem; color: var(--ink-2); margin-top: 0.4rem; }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* 404 */
.err-wrap { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.err-code { font-family: var(--ff-display); font-size: clamp(4rem, 18vw, 10rem); line-height: 1; color: var(--accent); }

/* Responsive header switch */
@media (max-width: 940px) {
  .nav, .header-actions .btn { display: none; }
  .burger { display: inline-flex; }
}
