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

:root {
  /* Brand palette: slate-teal survey ink + brass */
  --primary:      #1d3d47;
  --primary-mid:  #2e5a66;
  --primary-dark: #0f2229;
  --accent:       #c08a3e;
  --accent-mid:   #d9ad6a;
  --accent-ink:   #8a5d1c;

  /* Neutrals */
  --bg:         #f6f3ec;
  --surface:    #ffffff;
  --paper:      #fbf9f4;
  --border:     #e0d9cb;
  --line:       #cfc6b4;
  --text:       #15212a;
  --text-soft:  #48545e;
  --text-muted: #6b7680;
  --ink:        #111b22;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-pad: clamp(60px, 8vw, 120px);
  --container:   1200px;
  --radius:      12px;
  --radius-lg:   24px;
  --gutter:      clamp(1rem, 5vw, 2rem);
  --shadow:      0 1px 2px rgba(17, 27, 34, .04), 0 12px 32px -12px rgba(17, 27, 34, .16);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); line-height: 1.25; }
h4 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
p  { font-family: var(--font-body); font-size: clamp(0.95rem, 1.5vw, 1.1rem); line-height: 1.75; color: var(--text-soft); }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--accent); color: var(--ink); padding: .7rem 1.1rem; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Eyebrow / section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .85rem; font-weight: 600; letter-spacing: .02em;
  color: var(--accent-ink); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .eyebrow.light { color: var(--accent-mid); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { margin-top: 1rem; }
.section-head.split { max-width: none; display: grid; gap: 1.25rem; align-items: end; }
@media (min-width: 1024px) {
  .section-head.split { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .section-head.split p { margin-top: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover, .btn-accent:focus-visible { background: var(--accent-mid); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--primary-dark); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover, .btn-outline:focus-visible { border-color: var(--primary); background: var(--surface); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.text-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; color: var(--primary); text-decoration: underline;
  text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 1px;
  transition: color .2s, text-underline-offset .2s;
}
.text-link:hover { color: var(--accent-ink); text-underline-offset: 7px; }
.text-link svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, color .3s;
  color: #fff;
}
.site-header.scrolled {
  background: rgba(251, 249, 244, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--border);
  color: var(--ink);
}
.nav-inner {
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.logo { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; }
.logo-mark { width: 42px; height: 42px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; letter-spacing: .005em; }
.logo-text span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }

.nav-links { display: none; }
.nav-actions { display: none; }
@media (min-width: 1024px) {
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    text-decoration: none; font-size: .95rem; font-weight: 500; padding-block: .4rem;
    border-bottom: 1px solid transparent; transition: border-color .2s, opacity .2s; opacity: .85;
  }
  .nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; border-color: var(--accent); }
  .nav-actions { display: flex; align-items: center; gap: 1.25rem; }
  .nav-phone { text-decoration: none; font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: .45rem; }
  .nav-phone svg { width: 16px; height: 16px; color: var(--accent); }
  .nav-actions .btn { min-height: 44px; padding: .6rem 1.2rem; font-size: .92rem; }
}

.nav-toggle {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor;
  border-color: rgba(255,255,255,.35); background: transparent; cursor: pointer;
  display: grid; place-items: center; color: inherit; position: relative; z-index: 120;
  transition: border-color .2s, background .2s;
}
.scrolled .nav-toggle { border-color: var(--line); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .3s, background .2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.menu-open .nav-toggle { color: #fff; border-color: rgba(255,255,255,.35); }
.menu-open .nav-toggle span { background: transparent; }
.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* Mobile menu lives outside the header so backdrop-filter can't clip it */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--primary-dark); color: #fff;
  padding: 110px var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid rgba(255,255,255,.1); opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .4s; }
.mobile-menu.open li { opacity: 1; transform: none; }
.mobile-menu.open li:nth-child(2) { transition-delay: .05s; }
.mobile-menu.open li:nth-child(3) { transition-delay: .1s; }
.mobile-menu.open li:nth-child(4) { transition-delay: .15s; }
.mobile-menu.open li:nth-child(5) { transition-delay: .2s; }
.mobile-menu ul a {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 1.05rem; text-decoration: none;
  font-family: var(--font-display); font-size: 1.9rem;
}
.mobile-menu ul a svg { width: 22px; height: 22px; opacity: .5; }
.mobile-menu ul a[aria-current="page"] { color: var(--accent-mid); }
.mobile-menu-foot { display: grid; gap: .8rem; }
.mobile-menu-foot a.plain { color: rgba(255,255,255,.75); text-decoration: none; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  background: var(--primary-dark); color: #fff;
  display: flex; align-items: center;
  padding-block: 120px clamp(80px, 10vw, 130px);
}
.blueprint {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  mask-image: radial-gradient(ellipse 90% 80% at 70% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 40%, #000 30%, transparent 100%);
}
.hero::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(to top, rgba(15,34,41,.9), transparent);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; width: 100%; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 4rem; } }
.hero h1 { color: #fff; max-width: 14ch; font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.hero h1 em { font-style: italic; color: var(--accent-mid); }
.hero-lead { color: rgba(255,255,255,.78); margin-top: 1.5rem; max-width: 52ch; }
.hero .btn-row { margin-top: 2.25rem; }
.hero-facts {
  margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.14);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 2rem; list-style: none; max-width: 560px;
}
.hero-facts li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: rgba(255,255,255,.82); line-height: 1.45; }
.hero-facts svg { width: 18px; height: 18px; color: var(--accent-mid); flex-shrink: 0; margin-top: 2px; }

.hero-drawing {
  position: relative; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg);
  background: rgba(255,255,255,.025); padding: clamp(1rem, 3vw, 1.75rem);
}
.drawing-meta {
  display: flex; justify-content: space-between; gap: 1rem; font-size: .75rem; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.55); padding-bottom: .9rem; margin-bottom: .9rem;
  border-bottom: 1px dashed rgba(255,255,255,.16);
}
.hero-drawing svg { width: 100%; height: auto; }
.hero-drawing .draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.4s .4s ease forwards; }
.hero-drawing .pin { opacity: 0; animation: fadeIn .5s ease forwards; }
.hero-drawing .pin:nth-of-type(1) { animation-delay: 1.6s; }
.hero-drawing .pin:nth-of-type(2) { animation-delay: 1.9s; }
.hero-drawing .pin:nth-of-type(3) { animation-delay: 2.2s; }
.hero-drawing .pin:nth-of-type(4) { animation-delay: 2.5s; }
.drawing-key { list-style: none; display: grid; gap: .55rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed rgba(255,255,255,.16); }
.drawing-key li { display: flex; gap: .7rem; align-items: center; font-size: .88rem; color: rgba(255,255,255,.78); }
.drawing-key b {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--accent); color: var(--ink); font-size: .72rem; font-weight: 700;
}
@media (max-width: 1023px) { .hero-drawing { max-width: 560px; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.hero-in > * { opacity: 0; transform: translateY(24px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-in > *:nth-child(2) { animation-delay: .1s; }
.hero-in > *:nth-child(3) { animation-delay: .2s; }
.hero-in > *:nth-child(4) { animation-delay: .3s; }
.hero-in > *:nth-child(5) { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; background: var(--primary-dark); color: #fff;
  padding-block: clamp(140px, 18vw, 200px) clamp(60px, 8vw, 100px);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4.4rem); max-width: 18ch; }
.page-hero p { color: rgba(255,255,255,.78); margin-top: 1.25rem; max-width: 60ch; }
.page-hero .btn-row { margin-top: 2rem; }
.crumbs { display: flex; gap: .5rem; list-style: none; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 1.5rem; }
.crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: '/'; margin-right: .5rem; opacity: .5; }

/* ---------- Scope strip ---------- */
.scope-strip { background: var(--paper); border-bottom: 1px solid var(--border); }
.scope-strip ul {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr);
  max-width: var(--container); margin-inline: auto;
}
.scope-strip li {
  padding: 1.4rem var(--gutter); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  font-size: .95rem; color: var(--text-soft);
}
.scope-strip li strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: var(--ink); }
@media (min-width: 768px) {
  .scope-strip ul { grid-template-columns: repeat(4, 1fr); }
  .scope-strip li { border-bottom: 0; }
  .scope-strip li:last-child { border-right: 0; }
}

/* ---------- Category cards ---------- */
.cat-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card {
  position: relative; display: flex; flex-direction: column; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem; text-decoration: none; color: inherit;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.cat-card:hover, .cat-card:focus-visible { transform: translateY(-4px); border-color: var(--primary-mid); box-shadow: var(--shadow); }
.cat-card .num { font-size: .78rem; letter-spacing: .12em; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.cat-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: #eef2f1; color: var(--primary); transition: background .25s, color .25s;
}
.cat-icon svg { width: 26px; height: 26px; }
.cat-card:hover .cat-icon { background: var(--primary); color: var(--accent-mid); }
.cat-card h3 { font-size: 1.35rem; }
.cat-card p { font-size: .95rem; line-height: 1.6; }
.cat-card .count { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); font-size: .88rem; font-weight: 600; color: var(--primary); display: flex; justify-content: space-between; align-items: center; }
.cat-card .count svg { width: 16px; height: 16px; transition: transform .2s; }
.cat-card:hover .count svg { transform: translateX(4px); }
@media (min-width: 640px) { .cat-card.cta-card { grid-column: span 2; } }
.cat-card.cta-card { background: var(--primary); border-color: var(--primary); color: #fff; }
.cat-card.cta-card h3 { color: #fff; }
.cat-card.cta-card p { color: rgba(255,255,255,.78); }
.cat-card.cta-card .count { color: var(--accent-mid); border-color: rgba(255,255,255,.18); }
.cat-card.cta-card .cat-icon { background: rgba(255,255,255,.08); color: var(--accent-mid); }

/* ---------- Survey levels ---------- */
.levels { background: var(--paper); border-block: 1px solid var(--border); }
.level-grid { display: grid; gap: 1rem; }
@media (min-width: 900px) { .level-grid { grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); } }
.level {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: 1rem; position: relative;
}
@media (min-width: 900px) {
  .level { border: 0; border-radius: 0; border-right: 1px solid var(--border); }
  .level:last-child { border-right: 0; }
}
.level-tag { display: flex; justify-content: space-between; align-items: baseline; }
.level-tag .lvl { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--primary); }
.level-tag .lvl small { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-right: .4rem; }
.depth { display: flex; gap: 4px; }
.depth i { width: 18px; height: 6px; border-radius: 3px; background: var(--border); }
.depth i.on { background: var(--accent); }
.level h3 { font-size: 1.4rem; }
.level ul { list-style: none; display: grid; gap: .6rem; margin-top: .25rem; }
.level li { display: flex; gap: .6rem; font-size: .95rem; color: var(--text-soft); line-height: 1.5; }
.level li svg { width: 16px; height: 16px; color: var(--primary-mid); flex-shrink: 0; margin-top: 4px; }
.level .best { margin-top: auto; padding-top: 1.25rem; border-top: 1px dashed var(--line); font-size: .92rem; color: var(--text); }
.level .best strong { color: var(--accent-ink); }
.level.featured { background: var(--primary); }
.level.featured h3, .level.featured .lvl { color: #fff; }
.level.featured p, .level.featured li, .level.featured .best { color: rgba(255,255,255,.8); }
.level.featured li svg { color: var(--accent-mid); }
.level.featured .lvl small { color: rgba(255,255,255,.6); }
.level.featured .best { border-color: rgba(255,255,255,.2); }
.level.featured .best strong { color: var(--accent-mid); }
.level.featured .depth i { background: rgba(255,255,255,.18); }
.level.featured .depth i.on { background: var(--accent); }
.level-note { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.level-note p { max-width: 62ch; font-size: .98rem; }

/* ---------- Audience ---------- */
.audience-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .audience-grid { grid-template-columns: repeat(3, 1fr); } }
.audience {
  padding: 2rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .6rem;
}
@media (min-width: 768px) {
  .audience { padding: 2.25rem 2rem 2.25rem 0; }
  .audience:nth-child(2n) { padding-left: 2rem; border-left: 1px solid var(--line); }
}
@media (min-width: 1024px) {
  .audience, .audience:nth-child(2n) { padding: 2.25rem 2rem; border-left: 1px solid var(--line); }
  .audience:nth-child(3n+1) { padding-left: 0; border-left: 0; }
}
.audience .verb { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); display: flex; align-items: baseline; gap: .75rem; }
.audience .verb span { font-family: var(--font-body); font-size: .8rem; color: var(--accent-ink); font-weight: 600; letter-spacing: .08em; }
.audience p { font-size: .98rem; }
.audience .rec { font-size: .88rem; color: var(--primary); font-weight: 500; }

/* ---------- Process ---------- */
.process { background: var(--primary-dark); color: #fff; position: relative; overflow: hidden; }
.process h2 { color: #fff; }
.process .section-head p { color: rgba(255,255,255,.75); }
.steps { list-style: none; display: grid; gap: 1rem; counter-reset: step; position: relative; z-index: 1; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.75rem 1.5rem;
  background: rgba(255,255,255,.03); counter-increment: step; display: grid; gap: .75rem; align-content: start;
  transition: border-color .25s, background .25s;
}
.step:hover { border-color: rgba(217,173,106,.5); background: rgba(255,255,255,.05); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--accent-mid);
}
.step h3 { color: #fff; font-size: 1.3rem; }
.step p { color: rgba(255,255,255,.72); font-size: .95rem; line-height: 1.6; }

/* ---------- About split ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split-text { display: grid; gap: 1.1rem; }
.split-text .btn-row, .split-text .text-link { margin-top: .75rem; }
@media (max-width: 899px) { .split .media { order: 2; } }

.media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5;
  background-color: #dfe6e4;
  background-image:
    repeating-linear-gradient(135deg, rgba(29,61,71,.07) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #e9eeec, #cfd9d6);
  display: flex; align-items: flex-end;
}
.media.wide { aspect-ratio: 16 / 11; }
.media-label {
  margin: 1.1rem; padding: .65rem .9rem; border-radius: 10px; background: rgba(255,255,255,.9);
  font-size: .82rem; color: var(--text-soft); display: flex; gap: .5rem; align-items: center;
}
.media-label svg { width: 16px; height: 16px; color: var(--primary); }
.media-figure { position: absolute; inset: 12% 12% 22%; color: rgba(29,61,71,.35); }
.media-figure svg { width: 100%; height: 100%; }

.principles { list-style: none; display: grid; gap: 1rem; margin-top: .5rem; }
.principles li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.principles .tick {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: #eef2f1; color: var(--primary);
}
.principles .tick svg { width: 15px; height: 15px; }
.principles strong { display: block; color: var(--ink); font-weight: 600; }
.principles span { color: var(--text-soft); font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: var(--section-pad); }
.cta-panel {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--primary); color: #fff; padding: clamp(2.25rem, 6vw, 4.5rem);
  display: grid; gap: 2rem; align-items: center;
}
.cta-panel .blueprint { mask-image: radial-gradient(ellipse 70% 90% at 100% 50%, #000 20%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 90% at 100% 50%, #000 20%, transparent 80%); }
@media (min-width: 900px) { .cta-panel { grid-template-columns: 1.4fr 1fr; } }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel > .blueprint { position: absolute; z-index: 0; }
.cta-panel h2 { color: #fff; }
.cta-panel p { color: rgba(255,255,255,.78); margin-top: 1rem; }
.cta-contact { display: grid; gap: .75rem; }
.cta-contact a.line {
  display: flex; gap: .9rem; align-items: center; text-decoration: none; padding: 1rem 1.2rem;
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); transition: border-color .2s, background .2s;
  word-break: break-word;
}
.cta-contact a.line:hover { border-color: var(--accent-mid); background: rgba(255,255,255,.05); }
.cta-contact a.line svg { width: 20px; height: 20px; color: var(--accent-mid); flex-shrink: 0; }
.cta-contact small { display: block; font-size: .78rem; color: rgba(255,255,255,.6); }

/* ---------- Services page ---------- */
.cat-nav-wrap { position: sticky; top: 76px; z-index: 50; background: rgba(246,243,236,.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.cat-nav { display: flex; gap: .5rem; overflow-x: auto; padding-block: .85rem; list-style: none; scrollbar-width: none; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a {
  white-space: nowrap; display: inline-block; text-decoration: none; padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); font-size: .88rem; font-weight: 500; color: var(--text-soft);
  transition: background .2s, color .2s, border-color .2s;
}
.cat-nav a:hover, .cat-nav a.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.svc-group { padding-block: clamp(3.5rem, 7vw, 6rem); border-bottom: 1px solid var(--border); scroll-margin-top: 150px; }
.svc-group:last-of-type { border-bottom: 0; }
.svc-layout { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .svc-layout { grid-template-columns: 340px 1fr; gap: 4rem; } .svc-intro { position: sticky; top: 170px; align-self: start; } }
.svc-intro .cat-icon { margin-bottom: 1.25rem; }
.svc-intro h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.svc-intro p { margin-top: .9rem; font-size: 1rem; }
.svc-intro .num { font-size: .8rem; letter-spacing: .12em; color: var(--text-muted); display: block; margin-bottom: .75rem; }
.svc-list { display: grid; gap: 1rem; }
@media (min-width: 700px) { .svc-list { grid-template-columns: repeat(2, 1fr); } }
.svc {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; display: grid; gap: .6rem; align-content: start;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.svc:hover { transform: translateY(-3px); border-color: var(--primary-mid); box-shadow: var(--shadow); }
.svc h3 { font-size: 1.2rem; }
.svc p { font-size: .95rem; line-height: 1.65; }
.svc .for { font-size: .82rem; color: var(--accent-ink); font-weight: 600; margin-top: .25rem; }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 680px; font-size: .95rem; }
.compare th, .compare td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare thead th { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--ink); background: var(--paper); }
.compare thead th small { display: block; font-family: var(--font-body); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 26%; }
.compare td { color: var(--text-soft); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .yes, .compare .no, .compare .part { display: inline-flex; gap: .4rem; align-items: center; }
.compare .yes svg { color: var(--primary-mid); }
.compare .no svg { color: #a3a9ad; }
.compare svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Chooser */
.chooser { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .chooser { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; } }
.chooser-q { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.25rem); }
.chooser-q fieldset { border: 0; display: grid; gap: .6rem; margin-bottom: 1.5rem; }
.chooser-q legend { font-weight: 600; color: var(--ink); margin-bottom: .75rem; font-size: 1.02rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  display: block; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  font-size: .95rem; color: var(--text-soft); transition: border-color .2s, background .2s, color .2s;
}
.choice label:hover { border-color: var(--primary-mid); }
.choice input:checked + label { border-color: var(--primary); background: #eef2f1; color: var(--ink); font-weight: 500; }
.choice input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.chooser-result {
  border-radius: var(--radius-lg); background: var(--primary); color: #fff; padding: clamp(1.75rem, 4vw, 2.5rem);
  display: grid; gap: 1rem; min-height: 260px; align-content: start;
}
@media (min-width: 900px) { .chooser-result { position: sticky; top: 110px; } }
.chooser-result .eyebrow { color: var(--accent-mid); margin-bottom: 0; }
.chooser-result h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.chooser-result p { color: rgba(255,255,255,.8); }
.chooser-result .btn { justify-self: start; margin-top: .5rem; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.4rem 2.5rem 1.4rem 0; position: relative;
  font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: .25rem; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.5px solid var(--primary); border-bottom: 1.5px solid var(--primary);
  transform: rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--primary); }
.faq .answer { padding-bottom: 1.5rem; max-width: 72ch; display: grid; gap: .8rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.35fr .65fr; gap: 4rem; align-items: start; } }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.form-card > p { margin-top: .5rem; margin-bottom: 2rem; }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: .45rem; }
.field label, .field .label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
  font-size: 1rem; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(46,90,102,.15); }
.field .hint { font-size: .82rem; color: var(--text-muted); }
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg .choice label { padding: .65rem 1rem; }
.form-foot { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; }
.form-foot small { color: var(--text-muted); font-size: .85rem; max-width: 40ch; }
.form-error { color: #a3361f; font-size: .9rem; font-weight: 500; min-height: 1.2em; margin-top: 1rem; }
.form-success { display: none; text-align: center; padding: 2rem 0; }
.form-success.show { display: grid; gap: 1rem; justify-items: center; }
.form-success .tick-big { width: 64px; height: 64px; border-radius: 50%; background: #eef2f1; color: var(--primary); display: grid; place-items: center; }
.form-success .tick-big svg { width: 30px; height: 30px; }

.contact-side { display: grid; gap: 1rem; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.info-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.info-line { display: flex; gap: .85rem; align-items: flex-start; padding-block: .75rem; border-top: 1px solid var(--border); text-decoration: none; word-break: break-word; }
.info-line:first-of-type { border-top: 0; padding-top: 0; }
.info-line svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.info-line small { display: block; font-size: .8rem; color: var(--text-muted); }
.info-line strong { font-weight: 600; color: var(--ink); }
a.info-line:hover strong { color: var(--primary); text-decoration: underline; }
.info-card.dark { background: var(--primary); border-color: var(--primary); color: #fff; }
.info-card.dark h3 { color: #fff; }
.info-card.dark p { color: rgba(255,255,255,.78); font-size: .95rem; }
.info-card ol { padding-left: 1.1rem; display: grid; gap: .5rem; color: rgba(255,255,255,.8); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; } }
.site-footer .logo { color: #fff; margin-bottom: 1.25rem; }
.site-footer p { color: rgba(255,255,255,.65); font-size: .95rem; max-width: 40ch; }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-mid); margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; display: grid; gap: .6rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; display: grid; gap: .6rem; font-size: .95rem; }
.site-footer address a { display: inline-flex; gap: .55rem; align-items: center; word-break: break-word; }
.site-footer address svg { width: 16px; height: 16px; color: var(--accent-mid); flex-shrink: 0; }
.footer-bottom {
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.75); }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 140px var(--gutter) 80px; background: var(--primary-dark); color: #fff; position: relative; overflow: hidden; }
.notfound > div { position: relative; z-index: 1; display: grid; gap: 1.25rem; justify-items: center; }
.notfound .code { font-family: var(--font-display); font-size: clamp(5rem, 18vw, 10rem); line-height: 1; color: var(--accent-mid); }
.notfound h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); }
.notfound p { color: rgba(255,255,255,.75); max-width: 46ch; }
.notfound .btn-row { justify-content: center; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .hero-in > * { opacity: 1; transform: none; }
  .hero-drawing .draw { stroke-dashoffset: 0; }
  .hero-drawing .pin { opacity: 1; }
}
