/* ==========================================================
   Investigate Ireland — design tokens
   Concept: "Night watch in the Marble City".
   Kilkenny black limestone (slate night), cool limestone paper,
   and one accent: the sodium streetlight a long stakeout is lit by.
   ========================================================== */
:root {
  --night: #16222A;        /* Kilkenny limestone, wet, at night */
  --night-2: #1F2E37;      /* raised surface on night */
  --night-line: #2F424D;   /* hairlines on night */
  --stone: #E6E9E6;        /* cut limestone, cool */
  --paper: #F5F6F4;        /* report paper */
  --ink: #18242B;          /* text on light */
  --ink-soft: #4A5A63;     /* secondary text on light */
  --mist: #9AAAB2;         /* secondary text on night */
  --fog: #D4DCDF;          /* primary text on night */
  --sodium: #E3A23B;       /* streetlight accent — used sparingly */
  --sodium-deep: #B97A1C;  /* accent on light backgrounds (contrast) */

  --f-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-hud: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  /* Type scale — 1.333 (perfect fourth) */
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-md: 1.333rem;
  --t-lg: 1.777rem;
  --t-xl: 2.369rem;
  --t-2xl: 3.157rem;
  --t-hero: clamp(3.4rem, 9.5vw, 8.6rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1240px;
  --radius-s: 3px;
  --radius-m: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
/* scrolling is handled in script.js; scroll-padding keeps no-JS anchor jumps clear of the fixed header */
html { scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
[tabindex="-1"]:focus { outline: none; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--sodium); color: var(--night);
  padding: .6rem 1rem; z-index: 100; font-weight: 600;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 var(--t-sm)/1 var(--f-body);
  letter-spacing: .01em;
  padding: 1.05rem 1.5rem;
  border-radius: var(--radius-s);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--sodium); color: var(--night); }
.btn-primary:hover { background: #F0B455; }
.btn-ghost { border-color: var(--night-line); color: var(--fog); }
.btn-ghost:hover { border-color: var(--mist); color: #fff; }
.btn-dark { background: var(--night); color: var(--paper); }
.btn-dark:hover { background: var(--night-2); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(22, 34, 42, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--night-line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 1.5rem;
}
.brand {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none; color: var(--paper);
}
.brand-logo {
  display: block; height: 90px; width: auto; flex: none; margin-top: 10px;
}
.brand-foot .brand-logo { height: 54px; }
@media (max-width: 920px) { .site-header .brand-logo { height: 38px; } }
.brand-name {
  font-family: var(--f-display);
  font-size: 1.32rem; line-height: 1;
  letter-spacing: -.01em;
}
.brand-name span { display: block; font-family: var(--f-body); font-size: .72rem; letter-spacing: .04em; color: var(--mist); margin-top: .3rem; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  color: var(--fog); text-decoration: none;
  font-size: var(--t-sm); font-weight: 500;
  padding: .4rem 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a[aria-current="page"], .nav a.is-active { color: #fff; border-bottom-color: var(--sodium); }
.nav .btn { padding: .8rem 1.1rem; border-bottom: 0; }
.nav .btn:hover { border-bottom: 0; }

.menu-toggle {
  display: none; background: none; border: 1px solid var(--night-line);
  color: var(--fog); width: 44px; height: 44px; border-radius: var(--radius-s);
  cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--night); border-bottom: 1px solid var(--night-line);
    padding: .5rem var(--gutter) 1.5rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 1rem 0; border-bottom: 1px solid var(--night-line); font-size: var(--t-base); }
  .nav a:hover { border-bottom-color: var(--night-line); }
  .nav .btn { margin-top: 1.25rem; justify-content: center; padding: 1rem; }
  .site-header { background: rgba(22, 34, 42, .96); }
}

/* ==========================================================
   HERO — the viewfinder
   ========================================================== */
.hero {
  position: relative;
  background: var(--night);
  color: var(--fog);
  min-height: 100vh; min-height: 100svh;
  padding: 96px 0 0;
  display: flex; flex-direction: column;
  isolation: isolate;
  overflow: hidden;
}
/* sodium streetlamp falling in from the top right + film grain */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60vmax 45vmax at 92% -8%, rgba(227, 162, 59, .22), transparent 62%),
    radial-gradient(50vmax 40vmax at -10% 110%, rgba(64, 98, 116, .35), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.viewfinder {
  position: relative; flex: 1;
  margin: 0 var(--gutter);
  max-width: calc(var(--max) - 2 * var(--gutter));
  width: calc(100% - 2 * var(--gutter));
  align-self: center;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  min-height: 0;
}
.vf-corner {
  position: absolute; width: 38px; height: 38px;
  border-color: var(--fog); border-style: solid; border-width: 0;
  opacity: .8;
}
.vf-corner.tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.vf-corner.tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.vf-corner.bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vf-corner.br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.hud {
  font-family: var(--f-hud);
  font-size: var(--t-xs);
  color: var(--mist);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  flex-wrap: wrap;
  font-variant-numeric: tabular-nums;
}
.hud-rec { display: inline-flex; align-items: center; gap: .55rem; color: var(--fog); }
.rec-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #E2543B;
  box-shadow: 0 0 0 4px rgba(226, 84, 59, .18);
  animation: rec 1.6s steps(1) infinite;
}
@keyframes rec { 50% { opacity: .15; } }
.hud-time { color: var(--fog); }

.hero-body {
  align-self: center;
  padding: clamp(1.25rem, 3vh, 2.5rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.hero-copy { position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--f-display);
  font-optical-sizing: auto;
  font-weight: 300;
  font-size: clamp(3.2rem, 6.2vw, 6.4rem);
  line-height: .94;
  letter-spacing: -.035em;
  color: var(--paper);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.hero h1 .line { display: block; }
.hero h1 .line + .line { padding-left: clamp(1rem, 4.5vw, 4.75rem); }
.hero-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  max-width: 31em;
  color: var(--fog);
  margin-bottom: 2.25rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* focus-pull: the single orchestrated moment on load */
.js .hero h1, .js .hero-lede, .js .hero-actions {
  filter: blur(14px); opacity: 0; transform: scale(1.015);
  transition: filter 1.2s cubic-bezier(.2,.7,.2,1), opacity 1s ease, transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.js .hero-lede { transition-delay: .35s; }
.js .hero-actions { transition-delay: .55s; }
.js .vf-corner { transition: transform 1.1s cubic-bezier(.2,.7,.2,1), opacity 1s; }
.js .vf-corner.tl { transform: translate(-28px, -28px); }
.js .vf-corner.tr { transform: translate(28px, -28px); }
.js .vf-corner.bl { transform: translate(-28px, 28px); }
.js .vf-corner.br { transform: translate(28px, 28px); }
.js .hero.is-focused h1, .js .hero.is-focused .hero-lede, .js .hero.is-focused .hero-actions { filter: none; opacity: 1; transform: none; }
.js .hero.is-focused .vf-corner { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .hero h1, .js .hero-lede, .js .hero-actions, .js .vf-corner { filter: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
  .rec-dot { animation: none; }
}

/* ---------- Hero map: the viewfinder frames Ireland, focus locks on Kilkenny ---------- */
.hero-map { justify-self: end; width: 100%; max-width: 460px; }
.ie-map { display: block; width: 100%; height: auto; overflow: visible; }
.ie-dots { opacity: .4; }
.ie-land { fill: rgba(31, 46, 55, .5); stroke: #6B8592; stroke-width: .9; stroke-linejoin: round; }
.ie-route { fill: none; stroke: var(--sodium); stroke-width: 1; stroke-dasharray: 3 4; stroke-linecap: round; opacity: .8; animation: ie-flow 6s linear infinite; }
.ie-node { fill: var(--fog); }
.ie-hq { fill: var(--sodium); }
.ie-halo { animation: ie-breathe 5s ease-in-out infinite; }
.ie-af path { fill: none; stroke: var(--sodium); stroke-width: 1.3; }
.ie-af { transform-origin: 223.1px 295px; }
.ie-lbl line { stroke: var(--mist); stroke-width: .5; }
.ie-lbl text { fill: var(--paper); font: 400 10px var(--f-hud); }
.ie-lbl .sm { fill: var(--mist); font-size: 7.5px; }
@keyframes ie-flow { to { stroke-dashoffset: -28; } }
@keyframes ie-breathe { 50% { opacity: .55; } }

/* entrance, in step with the headline's focus pull */
.js .ie-land { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; transition: stroke-dashoffset 2.6s cubic-bezier(.4,.1,.2,1) .2s, fill-opacity 1.2s ease 1.6s; }
.js .ie-dots { opacity: 0; transition: opacity 1.2s ease 1.4s; }
.js .ie-route, .js .ie-node { opacity: 0; transition: opacity .6s ease calc(1.6s + var(--i) * .14s); }
.js .ie-hq, .js .ie-halo { opacity: 0; transition: opacity .6s ease 1.5s; }
.js .ie-af { opacity: 0; transform: scale(2.4); transition: opacity .4s ease 2.5s, transform .9s cubic-bezier(.2,.8,.2,1) 2.5s; }
.js .ie-lbl { opacity: 0; transition: opacity .6s ease 3.1s; }
.js .hero.is-focused .ie-land { stroke-dashoffset: 0; fill-opacity: 1; }
.js .hero.is-focused .ie-dots { opacity: .4; }
.js .hero.is-focused .ie-route { opacity: .8; }
.js .hero.is-focused .ie-node, .js .hero.is-focused .ie-hq, .js .hero.is-focused .ie-lbl { opacity: 1; }
.js .hero.is-focused .ie-halo { opacity: 1; }
.js .hero.is-focused .ie-af { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ie-route, .ie-halo { animation: none; }
  .js .ie-land, .js .ie-dots, .js .ie-route, .js .ie-node, .js .ie-hq, .js .ie-halo, .js .ie-af, .js .ie-lbl { transition: none !important; }
  .js .ie-land { stroke-dashoffset: 0; fill-opacity: 1; }
  .js .ie-dots { opacity: .4; } .js .ie-route { opacity: .8; }
  .js .ie-node, .js .ie-hq, .js .ie-halo, .js .ie-af, .js .ie-lbl { opacity: 1; transform: none; }
}

/* narrower screens: the map sits behind the copy, like a faint plate in the viewfinder */
@media (max-width: 960px) {
  .hero-body { grid-template-columns: 1fr; }
  .hero-map {
    position: absolute; z-index: 0; pointer-events: none;
    top: 50%; right: -14%; transform: translateY(-50%);
    width: min(82vw, 440px); max-width: none; opacity: .3;
  }
  .ie-lbl { display: none; }
}

.creds {
  border-top: 1px solid var(--night-line);
  margin-top: clamp(1.25rem, 3vh, 2.25rem);
}
.creds ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.creds li {
  padding: 1.1rem 1rem 1.25rem;
  font-size: var(--t-sm);
  color: var(--fog);
  border-left: 1px solid var(--night-line);
  line-height: 1.35;
}
.creds li:first-child { border-left: 0; padding-left: 0; }
.creds li strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; color: var(--paper); margin-bottom: .2rem; letter-spacing: -.01em; }
@media (max-width: 900px) {
  .creds ul { grid-template-columns: 1fr 1fr; }
  .creds li { border-left: 0; border-top: 1px solid var(--night-line); padding-left: 0; }
  .creds li:nth-child(-n+2) { border-top: 0; }
  .creds li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .viewfinder { min-height: 0; }
  .hud .hud-meta { display: none; }
}

/* ==========================================================
   Sections — shared
   ========================================================== */
.section { padding: clamp(4.5rem, 10vw, 8.5rem) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2, .h2 {
  font-family: var(--f-display);
  font-optical-sizing: auto;
  font-weight: 350;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin-bottom: 1.25rem;
}
.section-head p { font-size: var(--t-md); line-height: 1.55; color: var(--ink-soft); max-width: 36em; }

/* ---------- Audiences ---------- */
.audiences { background: var(--paper); }
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--ink); }
.aud {
  padding: 2.5rem 3rem 1rem 0;
}
.aud + .aud { padding: 2.5rem 0 1rem 3rem; border-left: 1px solid #C9D0D2; }
.aud h3 {
  font-family: var(--f-display); font-size: var(--t-xl); line-height: 1.1; letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.aud > p { color: var(--ink-soft); max-width: 32em; }
.aud ul { list-style: none; padding: 0; margin: 1.75rem 0 0; }
.aud li {
  padding: .85rem 0; border-top: 1px solid #D8DEDF;
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
}
.aud li span { color: var(--ink-soft); font-size: var(--t-sm); text-align: right; }
@media (max-width: 820px) {
  .aud-grid { grid-template-columns: 1fr; }
  .aud, .aud + .aud { padding: 2.25rem 0 1rem; border-left: 0; }
  .aud + .aud { border-top: 1px solid #C9D0D2; margin-top: 1.5rem; }
  .aud li { flex-direction: column; gap: .15rem; }
  .aud li span { text-align: left; }
}

/* ---------- Services (case index) ---------- */
.services { background: var(--stone); }
.svc {
  display: grid; grid-template-columns: minmax(250px, 340px) 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.svc-tabs {
  display: flex; flex-direction: column;
  position: sticky; top: 100px;
  border-top: 1px solid var(--ink);
}
.svc-tab {
  appearance: none; background: none; border: 0; text-align: left;
  font: 400 1.22rem/1.25 var(--f-display);
  color: var(--ink-soft);
  padding: 1rem 1rem 1rem 1.85rem;
  border-bottom: 1px solid #C6CDCF;
  cursor: pointer; position: relative;
  transition: color .25s ease, padding-left .25s ease, background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.svc-tab::before {
  content: ""; position: absolute; left: .75rem; top: 50%; width: 7px; height: 7px;
  margin-top: -3.5px; border-radius: 50%; background: transparent; border: 1px solid #A8B3B7;
  transition: background-color .2s, border-color .2s;
}
.svc-tab:hover {
  color: var(--ink);
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(22, 34, 42, .14);
  z-index: 1;
}
.svc-tab:hover::before { background: var(--sodium); border-color: var(--sodium); }
.svc-tab[aria-selected="true"] { color: var(--ink); padding-left: 2.15rem; }
.svc-tab[aria-selected="true"]::before { background: var(--sodium-deep); border-color: var(--sodium-deep); }
.svc-tab[aria-selected="true"]:hover::before { background: var(--sodium); border-color: var(--sodium); }

.svc-panel { animation: panelIn .45s ease; }
.svc-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .svc-panel { animation: none; } }

.svc-panel h3 {
  font-family: var(--f-display); font-optical-sizing: auto; font-weight: 350;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.025em;
  margin-bottom: 1.5rem; max-width: 18ch;
}
.svc-panel .intro { font-size: var(--t-md); line-height: 1.55; max-width: 34em; margin-bottom: 2rem; }
.svc-panel p { max-width: 38em; color: var(--ink-soft); }
.svc-list {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem;
  max-width: 760px;
}
.svc-list li {
  padding: .95rem 1rem .95rem 2rem; border-top: 1px solid #C6CDCF; position: relative;
  font-size: var(--t-sm); line-height: 1.45;
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.svc-list li::before {
  content: ""; position: absolute; left: .85rem; top: 1.5rem; width: .8rem; height: 1px; background: var(--sodium-deep);
  transition: width .25s ease, background-color .25s ease;
}
.svc-list li:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(22, 34, 42, .14);
  z-index: 1;
}
.svc-list li:hover::before { width: 1.35rem; background: var(--sodium); }
.svc-list li b { font-weight: 600; display: block; margin-bottom: .1rem; color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .svc-tab, .svc-list li, .svc-list li::before { transition: none; }
  .svc-tab:hover, .svc-list li:hover { transform: none; }
}
.svc-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.svc-cta a.link { font-weight: 600; font-size: var(--t-sm); text-underline-offset: 4px; }

/* No JS / narrow screens: show every panel as a stacked index */
.no-js .svc-tabs { display: none; }
.no-js .svc-panel[hidden] { display: block; }
.no-js .svc { grid-template-columns: 1fr; }
.no-js .svc-panel + .svc-panel { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--ink); }

@media (max-width: 860px) {
  .svc { grid-template-columns: 1fr; }
  .svc-tabs {
    position: static; flex-direction: row; overflow-x: auto; border-top: 0;
    border-bottom: 1px solid #C6CDCF; gap: 1.5rem; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
            mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .svc-tabs::-webkit-scrollbar { display: none; }
  .svc-tab {
    white-space: nowrap; border-bottom: 2px solid transparent; padding: .9rem 0; font-size: 1.05rem;
  }
  .svc-tab::before { display: none; }
  .svc-tab[aria-selected="true"] { padding-left: 0; border-bottom-color: var(--sodium-deep); }
  .svc-tab:hover { transform: none; box-shadow: none; background: transparent; border-bottom-color: var(--sodium); }
  .svc-list { grid-template-columns: 1fr; }
}

/* ---------- Evidence: the 20,000 hours ---------- */
.evidence { background: var(--night); color: var(--fog); position: relative; overflow: hidden; }
.evidence-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
.hours {
  font-family: var(--f-display); font-optical-sizing: auto; font-weight: 300;
  font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.03em;
  color: var(--paper); margin: 0;
}
.hours .num { font-variant-numeric: lining-nums; white-space: nowrap; }
.evidence-note { color: var(--mist); margin-top: 1.75rem; max-width: 30em; font-size: var(--t-base); }
.kit { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--night-line); }
.kit li {
  display: grid; grid-template-columns: 2.25rem 1fr; gap: 1rem; align-items: start;
  padding: 1.2rem 0; border-bottom: 1px solid var(--night-line);
}
.kit svg { width: 26px; height: 26px; color: var(--sodium); margin-top: .15rem; }
.kit b { display: block; color: var(--paper); font-weight: 600; font-size: var(--t-base); }
.kit span { color: var(--mist); font-size: var(--t-sm); }
@media (max-width: 860px) { .evidence-grid { grid-template-columns: 1fr; } }

/* ---------- Process (a real sequence) ---------- */
.process { background: var(--paper); }
.steps {
  list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}
.steps li {
  counter-increment: step; padding: 1.75rem 1.75rem 1.25rem 0; position: relative;
  transition: background-color .28s ease, transform .28s ease, box-shadow .28s ease;
}
.steps li + li { padding-left: 1.75rem; border-left: 1px solid #D3DADC; }
.steps li:first-child { padding-left: 1.75rem; }
.steps li::before {
  content: counter(step);
  display: block; font-family: var(--f-display); font-weight: 300;
  font-size: 3.4rem; line-height: 1; color: var(--sodium-deep); margin-bottom: 1.4rem;
  font-variant-numeric: lining-nums;
  transition: color .28s ease;
}
.steps li::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--sodium);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .35s ease;
}
.steps li:hover {
  background: #fff;
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(22, 34, 42, .16);
  outline: 1px solid rgba(22, 34, 42, .06);
  z-index: 1;
}
.steps li:hover::before { color: var(--sodium); }
.steps li:hover::after { transform: scaleX(1); }
.steps h3 { font-family: var(--f-display); font-size: var(--t-md); line-height: 1.2; margin-bottom: .6rem; letter-spacing: -.01em; }
.steps p { color: var(--ink-soft); font-size: var(--t-sm); transition: color .28s ease; }
.steps li:hover p { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .steps li, .steps li::before, .steps li::after, .steps p { transition: none; }
  .steps li:hover { transform: none; }
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid #D3DADC; margin-top: 1.5rem; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 1.5rem 0 .5rem; border-left: 0; }
  .steps li + li { border-top: 1px solid #D3DADC; margin-top: 0; }
  .steps li { display: grid; grid-template-columns: 3.2rem 1fr; column-gap: .5rem; }
  .steps li::before { font-size: 2.4rem; margin: 0; grid-row: span 2; }
}

/* ---------- Standards ---------- */
.standards { background: var(--stone); }
.std-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2.5rem, 6vw, 6rem); }
.std-layout .section-head { margin-bottom: 0; }
.std-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 2.5rem; }
.std h3 { font-family: var(--f-display); font-size: var(--t-lg); letter-spacing: -.015em; margin-bottom: .6rem; line-height: 1.15; }
.std p { color: var(--ink-soft); font-size: var(--t-sm); margin: 0; }
.badges {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 2.75rem;
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2.25rem; border-top: 1px solid #C6CDCF;
}
.badges figure { margin: 0; display: flex; align-items: center; gap: 1rem; }
.badges img { height: 64px; width: auto; mix-blend-mode: multiply; }
@media (max-width: 560px) {
  .badges { gap: 1.75rem; }
  .badges figure { width: 100%; }
  .badges img { height: auto; max-height: 64px; max-width: 52%; object-fit: contain; object-position: left center; }
  .badges figcaption { flex: 1; }
}
.badges figcaption { font-size: var(--t-xs); color: var(--ink-soft); line-height: 1.4; max-width: 15em; }
.badges figcaption b { display: block; color: var(--ink); font-size: var(--t-sm); }
@media (max-width: 860px) {
  .std-layout { grid-template-columns: 1fr; }
  .std-list { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Contact ---------- */
.contact { background: var(--night); color: var(--fog); }
.contact .section-head h2 { color: var(--paper); }
.contact .section-head p { color: var(--mist); }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.5rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--t-sm); color: var(--fog); font-weight: 500; }
.field .hint { font-weight: 400; color: var(--mist); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--paper);
  background: var(--night-2);
  border: 1px solid var(--night-line);
  border-radius: var(--radius-s);
  padding: .95rem 1rem;
  transition: border-color .2s, background-color .2s;
  width: 100%;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239AAAB2' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #46606D; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sodium); background: #233440; }
.field input[aria-invalid="true"] { border-color: #E2543B; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.form-foot small { color: var(--mist); font-size: var(--t-xs); max-width: 32em; line-height: 1.5; }
.form-status { grid-column: 1 / -1; font-size: var(--t-sm); color: var(--sodium); min-height: 1.5em; margin: 0; }
.form-status.is-ok, .form-flash.is-ok { color: var(--paper); border-left: 3px solid #4FB286; background: rgba(79,178,134,.1); padding: .85rem 1rem; border-radius: var(--radius-s); }
.form-status.is-error, .form-flash.is-error { color: var(--paper); border-left: 3px solid #E2543B; background: rgba(226,84,59,.1); padding: .85rem 1rem; border-radius: var(--radius-s); }
.form-flash { display: none; grid-column: 1 / -1; font-size: var(--t-sm); margin: 0; scroll-margin-top: 120px; }
.form-flash:target { display: block; }
.form .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form.is-sending button[type="submit"] { opacity: .65; cursor: progress; }
.form.is-sending button[type="submit"]::after { content: ""; display: inline-block; width: .9em; height: .9em; margin-left: .6em; vertical-align: -.1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: formSpin .7s linear infinite; }
@keyframes formSpin { to { transform: rotate(360deg); } }
.field textarea[aria-invalid="true"], .field input[aria-invalid="true"] { border-color: #E2543B; }

.direct { border-top: 1px solid var(--night-line); }
.direct a, .direct div.row {
  display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; align-items: start;
  padding: 1.3rem 0; border-bottom: 1px solid var(--night-line);
  text-decoration: none; color: var(--fog);
  transition: color .2s;
}
.direct a:hover { color: #fff; }
.direct a:hover b { color: var(--sodium); }
.direct svg { width: 22px; height: 22px; color: var(--mist); margin-top: .2rem; }
.direct b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; color: var(--paper); line-height: 1.25; transition: color .2s; }
.direct span { font-size: var(--t-sm); color: var(--mist); }
.director { margin-top: 2rem; font-size: var(--t-sm); color: var(--mist); }
.director b { color: var(--fog); font-weight: 600; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #111B21; color: var(--mist); font-size: var(--t-sm); padding: 3rem 0 2.25rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid #24343D; }
.site-footer h4 { font-family: var(--f-body); font-size: var(--t-sm); font-weight: 600; color: var(--fog); margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { text-decoration: none; color: var(--mist); }
.site-footer a:hover { color: var(--paper); }
.site-footer address { font-style: normal; line-height: 1.65; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.75rem; font-size: var(--t-xs); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sodium); color: var(--night);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 26px; height: 26px; }

/* ==========================================================
   Data protection page
   ========================================================== */
.page-hero {
  background: var(--night); color: var(--fog);
  padding: calc(76px + clamp(3.5rem, 8vw, 6rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
  position: relative; overflow: hidden; isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(55vmax 40vmax at 95% -10%, rgba(227, 162, 59, .18), transparent 62%);
}
.page-hero h1 {
  font-family: var(--f-display); font-weight: 300; font-optical-sizing: auto;
  font-size: clamp(2.5rem, 6vw, 4.75rem); line-height: 1.02; letter-spacing: -.03em; color: var(--paper);
  max-width: 18ch; text-wrap: balance;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}
.page-hero p { max-width: 36em; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--fog); margin: 0; }
.page-hero .crumb {
  display: flex; align-items: baseline; gap: .65rem;
  font-size: var(--t-sm); line-height: 1.2; color: var(--mist);
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}
.crumb-sep { width: 14px; height: 1px; background: var(--night-line); align-self: center; }
.crumb a { color: var(--fog); text-decoration: none; border-bottom: 1px solid var(--night-line); padding-bottom: 2px; }
.crumb a:hover { color: #fff; border-bottom-color: var(--sodium); }

.policy-section { background: var(--paper); padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4.5rem, 9vw, 7.5rem); }
.policy { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.policy-toc { position: sticky; top: 110px; border-top: 1px solid var(--ink); }
.policy-toc a { display: block; padding: .75rem 0; border-bottom: 1px solid #D3DADC; text-decoration: none; color: var(--ink-soft); font-size: var(--t-sm); }
.policy-toc a { transition: color .2s, padding-left .25s; position: relative; }
.policy-toc a:hover { color: var(--ink); }
.policy-toc a.is-active { color: var(--ink); padding-left: 1rem; }
.policy-toc a.is-active::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--sodium-deep); }
.policy-body { max-width: 44em; }
.policy-body section + section { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid #D3DADC; }
.policy-body section:first-child h2 { margin-top: -.15em; }
.policy-body h2 { font-family: var(--f-display); font-weight: 350; font-size: var(--t-xl); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 1.25rem; }
.policy-body h3 { font-family: var(--f-display); font-size: var(--t-md); line-height: 1.25; margin: 2.25rem 0 .6rem; }
.policy-body p { color: var(--ink-soft); line-height: 1.7; }
.principles { list-style: none; padding: 0; margin: 1.5rem 0 0; counter-reset: p; }
.principles li { counter-increment: p; display: grid; grid-template-columns: 2.5rem 1fr; padding: .95rem 0; border-top: 1px solid #D3DADC; color: var(--ink); }
.principles li::before { content: counter(p); font-family: var(--f-display); color: var(--sodium-deep); font-size: 1.2rem; line-height: 1.4; }
@media (max-width: 860px) {
  .policy { grid-template-columns: 1fr; }
  .policy-toc { position: static; display: none; }
}
