/* ==========================================================================
   Building Assessor NSW — site styles
   Colours derived from the brand logo: #EF4823 / #F2792F orange, #1F323E navy.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ------------------- */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'InterVar';
  src: url('../fonts/inter-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ------------------------------------------------------- */
:root {
  --ink-950: #080f14;
  --ink-900: #0d1a22;
  --ink-800: #12222c;
  --ink-700: #1f323e;
  --ink-600: #2c4353;
  --steel-400: #7b8d99;
  --steel-300: #a4b2bb;
  --steel-200: #cfd6da;
  --paper: #f6f5f2;
  --paper-2: #ecebe6;
  --white: #ffffff;

  --orange: #ef4823;
  --orange-2: #f2792f;
  --orange-ink: #c2360f;      /* AA on paper */
  --orange-cta: #ca3d17;      /* AA with white text on solid fills */
  --orange-soft: rgba(239, 72, 35, 0.12);

  --measure: 68ch;
  --radius: 3px;
  --shell: min(1240px, 100% - 2.5rem);
  --shell-narrow: min(880px, 100% - 2.5rem);

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1: clamp(1.16rem, 1.09rem + 0.35vw, 1.36rem);
  --step-2: clamp(1.36rem, 1.22rem + 0.68vw, 1.78rem);
  --step-3: clamp(1.6rem, 1.34rem + 1.28vw, 2.4rem);
  --step-4: clamp(1.9rem, 1.4rem + 2.5vw, 3.4rem);
  --step-5: clamp(2.3rem, 1.35rem + 4.4vw, 4.6rem);

  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: dark;
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, video, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--paper);
  font-family: 'InterVar', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--step-0);
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: 'Archivo', 'InterVar', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.16; letter-spacing: -0.02em; }
h4 { font-size: var(--step-1); line-height: 1.25; letter-spacing: -0.015em; }
p { text-wrap: pretty; }

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

/* ---------- Utilities ---------------------------------------------------- */
.shell { width: var(--shell); margin-inline: auto; }
.shell-narrow { width: var(--shell-narrow); margin-inline: auto; }
.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;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--orange-cta); color: #fff; padding: 0.75rem 1.1rem;
  font-weight: 600; border-radius: var(--radius); transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  font-family: 'Archivo', sans-serif;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-2);
  margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.eyebrow::before {
  content: ''; width: 32px; height: 2px; background: var(--orange); flex: none;
}
.section-lead {
  font-size: var(--step-1);
  color: var(--steel-300);
  max-width: 62ch;
  margin-top: 1.4rem;
}
.rule { height: 1px; background: rgba(255,255,255,0.11); border: 0; margin: 0; }

section { padding-block: clamp(4.5rem, 9vw, 8.5rem); position: relative; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1rem 1.6rem;
  font-family: 'Archivo', sans-serif;
  font-weight: 600; font-size: var(--step-0); letter-spacing: -0.01em;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.18s var(--ease), background-color 0.18s, border-color 0.18s, color 0.18s;
  min-height: 52px; text-align: center;
}
.btn svg { flex: none; }
.btn-primary { background: var(--orange-cta); color: #fff; }
.btn-primary:hover { background: #b0330f; transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.3); color: var(--paper); background: rgba(255,255,255,0.03);
}
.btn-ghost:hover { border-color: var(--paper); background: rgba(255,255,255,0.09); transform: translateY(-2px); }
.btn-on-light.btn-ghost { border-color: rgba(13,26,34,0.28); color: var(--ink-800); background: transparent; }
.btn-on-light.btn-ghost:hover { border-color: var(--ink-800); background: rgba(13,26,34,0.05); }
.btn-block { width: 100%; }

.textlink {
  color: var(--orange-2); text-decoration: none; font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.4rem;
  border-bottom: 1px solid rgba(242,121,47,0.4); padding-bottom: 1px;
}
.textlink:hover { border-bottom-color: var(--orange-2); }
.on-light .textlink { color: var(--orange-ink); border-bottom-color: rgba(194,54,15,0.35); }

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(8, 15, 20, 0);
  border-bottom: 1px solid rgba(255,255,255,0);
  transition: background-color 0.3s var(--ease), border-color 0.3s, backdrop-filter 0.3s;
}
.site-header.is-stuck {
  background: rgba(8, 15, 20, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255,255,255,0.09);
}
.site-header .shell { display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  text-decoration: none; padding: 0.55rem 0.8rem; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 500; color: var(--steel-200);
  transition: color 0.15s, background-color 0.15s;
}
.nav a:hover, .nav a.is-current { color: #fff; background: rgba(255,255,255,0.07); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-tel {
  display: inline-flex; align-items: center; gap: 0.5rem;
  text-decoration: none; font-weight: 600; font-family: 'Archivo', sans-serif;
  padding: 0.6rem 0.5rem; white-space: nowrap;
}
.header-tel:hover { color: var(--orange-2); }
.header-actions .btn { padding: 0.72rem 1.15rem; min-height: 44px; font-size: 0.95rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius);
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: background 0.2s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: #fff;
  transition: transform 0.25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded='true'] span { background: transparent; }
.nav-toggle[aria-expanded='true'] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav .btn { display: none; }
}
@media (max-width: 1023px) {
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .nav {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8,15,20,0.98);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    padding: 0.5rem 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.2s, transform 0.2s var(--ease);
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 0.95rem 0.5rem; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.07); border-radius: 0; }
  .nav .btn { margin-top: 1rem; }
}
@media (max-width: 560px) {
  /* The number is hidden from view but kept for assistive technology, so the
     link never reduces to a bare icon with no accessible name. */
  .header-tel span {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .brand img { height: 34px; }
}

/* ---------- Hero --------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: calc(var(--nav-h) + 3rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
}
.hero-media video { opacity: 0; transition: opacity 1.1s ease; }
.hero-media video.is-playing { opacity: 1; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(8,15,20,0.97) 0%, rgba(8,15,20,0.86) 26%, rgba(8,15,20,0.42) 58%, rgba(8,15,20,0.55) 100%),
    linear-gradient(to right, rgba(8,15,20,0.8) 0%, rgba(8,15,20,0.15) 62%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(120% 80% at 20% 90%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 80% at 20% 90%, #000 20%, transparent 72%);
}
.hero-inner { position: relative; }
.hero h1 {
  font-size: var(--step-5);
  max-width: 17ch;
  margin-bottom: 1.6rem;
}
.hero h1 em { font-style: normal; color: var(--orange-2); }
.hero-sub { font-size: var(--step-1); max-width: 56ch; color: #dfe4e7; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.2rem; }
.hero-areas {
  margin-top: 2.4rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-family: 'Archivo', sans-serif; font-weight: 600;
  font-size: clamp(0.86rem, 0.8rem + 0.3vw, 1.02rem);
  letter-spacing: 0.01em; color: #fff;
}
.hero-areas span { color: var(--orange-2); }

.trust-strip { background: var(--ink-950); border-block: 1px solid rgba(255,255,255,0.08); }
.trust-strip ul {
  display: grid; gap: 1px; background: rgba(255,255,255,0.08);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.trust-strip li {
  background: var(--ink-950); padding: 1.35rem 1.5rem;
  display: flex; gap: 0.85rem; align-items: flex-start;
  font-size: 0.95rem; color: var(--steel-200); line-height: 1.45;
}
.trust-strip svg { flex: none; margin-top: 2px; color: var(--orange-2); }
.trust-strip strong { display: block; color: #fff; font-weight: 600; }

/* ---------- Reveal animation -------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ---------- Section: presentation vs condition --------------------------- */
.on-light { background: var(--paper); color: var(--ink-800); }
.on-light h1, .on-light h2, .on-light h3, .on-light h4 { color: var(--ink-900); }
.on-light .eyebrow { color: var(--orange-ink); }
.on-light .eyebrow::before { background: var(--orange-ink); }
.on-light .section-lead { color: var(--ink-600); }
.on-light .rule { background: rgba(13,26,34,0.12); }

.reveal-pair {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius); margin-top: clamp(2.5rem, 5vw, 4rem);
  background: var(--ink-800);
}
.reveal-pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reveal-pair .layer-under { z-index: 1; }
.reveal-pair .layer-over {
  z-index: 2;
  clip-path: inset(0 0 0 var(--wipe, 0%));
  will-change: clip-path;
}
.reveal-pair .wipe-line {
  position: absolute; top: 0; bottom: 0; left: var(--wipe, 0%); width: 2px; z-index: 3;
  background: linear-gradient(to bottom, transparent, var(--orange-2) 18%, var(--orange-2) 82%, transparent);
  box-shadow: 0 0 22px 3px rgba(242,121,47,0.45);
  opacity: var(--wipe-op, 0);
}
.reveal-pair figcaption {
  position: absolute; z-index: 4; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.6rem clamp(1rem, 3vw, 2rem);
  background: linear-gradient(to top, rgba(8,15,20,0.9), transparent);
  font-family: 'Archivo', sans-serif; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; font-size: var(--step--1); color: #fff;
}
.reveal-pair figcaption span:last-child { color: var(--orange-2); }

.risk-grid {
  display: grid; gap: 1px; background: rgba(13,26,34,0.13);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-block: 1px solid rgba(13,26,34,0.13);
}
.risk-grid > div { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.2rem, 2.4vw, 2rem); }
.risk-grid h3 { margin-bottom: 0.9rem; }
.risk-grid p { color: var(--ink-600); }
.risk-num {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: var(--step--1);
  letter-spacing: 0.14em; color: var(--orange-ink); display: block; margin-bottom: 1.1rem;
}

.stat-band {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  background: var(--ink-900); color: var(--paper);
  border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.stat-band > div { padding: clamp(1.8rem, 3.5vw, 2.8rem); }
.stat-band > div + div { border-left: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 719px) { .stat-band > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,0.1); } }
.stat-figure {
  font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; letter-spacing: -0.04em;
  color: var(--orange-2); display: block; margin-bottom: 0.9rem;
}
.stat-band p { color: var(--steel-300); font-size: 0.98rem; }
.stat-band cite { display: block; margin-top: 0.9rem; font-style: normal; font-size: 0.83rem; color: var(--steel-400); }
.stat-band cite a { color: var(--steel-300); }

/* ---------- Services ----------------------------------------------------- */
.services-head { display: grid; gap: 2rem; align-items: end; grid-template-columns: 1fr; }
@media (min-width: 900px) { .services-head { grid-template-columns: 1.15fr 1fr; } }

.service-grid {
  display: grid; gap: 1px; background: rgba(255,255,255,0.1);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  margin-top: clamp(2.5rem, 5vw, 3.6rem);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); overflow: hidden;
}
.service {
  background: var(--ink-900); padding: clamp(1.7rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; gap: 1.1rem;
  transition: background-color 0.25s;
}
.service:hover { background: var(--ink-800); }
.service--lead { background: var(--ink-800); grid-column: 1 / -1; }
@media (min-width: 960px) { .service--lead { grid-column: span 2; } }
.service--lead .service-figure {
  margin: calc(-1 * clamp(1.7rem, 3vw, 2.4rem)) calc(-1 * clamp(1.7rem, 3vw, 2.4rem)) 0;
}
.service-figure img {
  display: block; width: 100%; height: auto; aspect-ratio: 21 / 9;
  object-fit: cover; object-position: 50% 44%;
}

/* Closing panel that finishes the grid row and repeats the CTA */
.service--ask {
  background: linear-gradient(150deg, var(--ink-700) 0%, var(--ink-900) 78%);
  justify-content: center; gap: 1.15rem;
}
@media (min-width: 960px) { .service--ask { grid-column: span 2; } }
.service--ask h3 { margin-bottom: 0; max-width: 20ch; }
.service--ask p { color: var(--steel-200); max-width: 52ch; }
.service--ask .ask-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.4rem; }

.service-tag {
  font-family: 'Archivo', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange-2); display: inline-block; margin-bottom: 0.9rem;
}
.service h3 { margin-bottom: 0.85rem; }
.service p { color: var(--steel-300); font-size: 0.98rem; }
.service dl { margin: 0.4rem 0 0; display: grid; gap: 0.75rem; }
.service dt {
  font-family: 'Archivo', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-400);
}
.service dd { margin: 0.15rem 0 0; color: var(--steel-200); font-size: 0.96rem; line-height: 1.5; }
.service .textlink { margin-top: auto; padding-top: 0.6rem; align-self: flex-start; }

/* ---------- Layers (wall build-up) --------------------------------------- */
.layers-wrap { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 940px) { .layers-wrap { grid-template-columns: 1fr 1fr; } }
.layers-stage { position: relative; aspect-ratio: 46 / 31; margin-top: clamp(2rem, 4vw, 3rem); }
.layers-stage svg { width: 100%; height: 100%; overflow: visible; }
.layer-piece { transition: transform 0.1s linear; }
.layers-note {
  margin-top: clamp(1.4rem, 3vw, 2.2rem); max-width: 46ch;
  color: var(--steel-300); font-size: 0.98rem; line-height: 1.65;
  padding-left: 1rem; border-left: 2px solid rgba(239,72,35,.55);
}

.checks { display: grid; gap: 1px; background: rgba(255,255,255,0.1); border-radius: var(--radius); overflow: hidden; }
.checks li {
  background: var(--ink-900); padding: 1.15rem 1.35rem;
  display: flex; gap: 0.9rem; align-items: flex-start; font-size: 0.98rem;
}
.checks svg { flex: none; margin-top: 4px; color: var(--orange-2); }
.checks strong { color: #fff; font-weight: 600; }
.checks span { color: var(--steel-300); }

.honesty {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid rgba(255,255,255,0.13);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  background: rgba(255,255,255,0.025);
}
.honesty h3 { margin-bottom: 1rem; }
.honesty p { color: var(--steel-300); }
.honesty ul { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; list-style: none; padding-left: 0; }
.honesty li {
  border: 1px solid rgba(255,255,255,0.16); border-radius: 100px;
  padding: 0.4rem 0.9rem; font-size: 0.88rem; color: var(--steel-200);
}

/* ---------- Timing ------------------------------------------------------- */
.timing-list { display: grid; gap: 1px; background: rgba(13,26,34,0.13); margin-top: clamp(2.5rem, 5vw, 3.5rem); border-block: 1px solid rgba(13,26,34,0.13); }
.timing-item {
  background: var(--paper); padding: clamp(1.5rem, 3vw, 2.2rem) 0;
  display: grid; gap: 0.6rem 2rem; align-items: start;
}
@media (min-width: 860px) { .timing-item { grid-template-columns: 240px 1fr; padding-inline: 0.25rem; } }
.timing-when {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: var(--step-1);
  letter-spacing: -0.02em; color: var(--ink-900);
}
.timing-body p { color: var(--ink-600); }
.timing-body p + p { margin-top: 0.7rem; }
.source-note { font-size: 0.85rem; color: #5b6b76; margin-top: 0.8rem; }
.source-note a { color: var(--orange-ink); }

/* ---------- Why ---------------------------------------------------------- */
.why-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: clamp(2.5rem, 5vw, 3.6rem); }
.why-item { border-top: 2px solid var(--orange); padding-top: 1.4rem; }
.why-item h3 { font-size: var(--step-1); margin-bottom: 0.7rem; }
.why-item p { color: var(--steel-300); font-size: 0.98rem; }

/* ---------- Process ------------------------------------------------------ */
.process { counter-reset: step; }
.process-list { display: grid; gap: 1px; background: rgba(255,255,255,0.1); margin-top: clamp(2.5rem, 5vw, 3.5rem); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.process-list li { background: var(--ink-900); padding: clamp(1.6rem, 3vw, 2.2rem); counter-increment: step; }
.process-list li::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: var(--step-2);
  color: var(--orange); display: block; margin-bottom: 1rem; letter-spacing: -0.03em;
}
.process-list h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.process-list p { color: var(--steel-300); font-size: 0.96rem; }

/* ---------- Areas -------------------------------------------------------- */
.areas { position: relative; overflow: hidden; }
.areas-bg { position: absolute; inset: 0; z-index: 0; background:
    radial-gradient(120% 90% at 88% 12%, rgba(239,72,35,0.16) 0%, rgba(239,72,35,0) 58%),
    linear-gradient(160deg, var(--ink-800) 0%, var(--ink-950) 62%); }
.areas-bg::before { content: ''; position: absolute; inset: 0; opacity: .5;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.055) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 96px);
  -webkit-mask-image: radial-gradient(115% 85% at 78% 22%, #000 0%, transparent 72%);
          mask-image: radial-gradient(115% 85% at 78% 22%, #000 0%, transparent 72%); }
.areas-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(8,15,20,0.94) 0%, rgba(8,15,20,0.72) 48%, rgba(8,15,20,0.34) 100%); }
.areas > .shell { position: relative; z-index: 1; }
.areas-grid { display: grid; gap: clamp(1.6rem, 3vw, 2.4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.area h3 { font-size: var(--step-1); margin-bottom: 0.8rem; color: #fff; }
.area p { font-size: 0.94rem; color: var(--steel-300); line-height: 1.55; }
.area-line { width: 40px; height: 2px; background: var(--orange); margin-bottom: 1.1rem; }
.areas-cta {
  margin-top: clamp(2.6rem, 5vw, 4rem); padding-top: clamp(1.8rem, 3vw, 2.4rem);
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2.5rem;
  justify-content: space-between;
}
.areas-cta p { color: var(--steel-300); max-width: 54ch; font-size: 1rem; }
.areas-cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- FAQ ---------------------------------------------------------- */
.faq-list { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid rgba(13,26,34,0.14); }
.faq-item { border-bottom: 1px solid rgba(13,26,34,0.14); }
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: flex-start; gap: 1.25rem;
  padding: 1.5rem 0; font-family: 'Archivo', sans-serif; font-weight: 600;
  font-size: var(--step-1); letter-spacing: -0.02em; color: var(--ink-900); line-height: 1.3;
}
.faq-q:hover { color: var(--orange-ink); }
.faq-icon { flex: none; width: 22px; height: 22px; margin-top: 4px; position: relative; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--orange-ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.faq-icon::before { top: 10px; left: 0; width: 22px; height: 2px; }
.faq-icon::after { left: 10px; top: 0; width: 2px; height: 22px; }
.faq-q[aria-expanded='true'] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { overflow: hidden; height: 0; transition: height 0.3s var(--ease); }
.faq-a > div { padding-bottom: 1.7rem; max-width: 74ch; color: var(--ink-600); }
.faq-a p + p { margin-top: 0.8rem; }

/* ---------- Booking form ------------------------------------------------- */
.booking { background: var(--ink-950); }
.booking-wrap { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 980px) { .booking-wrap { grid-template-columns: 0.85fr 1.15fr; } }

.booking-aside ul { display: grid; gap: 1.1rem; margin-top: 2rem; }
.booking-aside li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--steel-200); font-size: 0.97rem; }
.booking-aside svg { flex: none; margin-top: 3px; color: var(--orange-2); }
.booking-call {
  margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,0.12);
}
.booking-call a { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: var(--step-2); letter-spacing: -0.02em; text-decoration: none; color: #fff; display: inline-block; }
.booking-call a:hover { color: var(--orange-2); }
.booking-call p { font-size: 0.9rem; color: var(--steel-400); margin-top: 0.4rem; }

.form-card {
  background: var(--ink-800); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: clamp(1.5rem, 3.5vw, 2.6rem);
}
.field-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--steel-200); }
.field .req { color: var(--orange-2); }
.field input, .field select, .field textarea {
  background: rgba(8,15,20,0.6); border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius); padding: 0.85rem 0.95rem; color: #fff;
  font-size: 1rem; min-height: 50px; transition: border-color 0.15s, background-color 0.15s;
  width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23a4b2bb' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange-2); background: rgba(8,15,20,0.85); }
.field input::placeholder, .field textarea::placeholder { color: #6b7d88; }
.field .err { font-size: 0.83rem; color: #ff9c85; min-height: 0; }
.field [aria-invalid='true'] { border-color: #ff7a5c; }

.consent { display: flex; gap: 0.8rem; align-items: flex-start; margin-top: 1.4rem; font-size: 0.9rem; color: var(--steel-300); }
.consent input { width: 20px; height: 20px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--orange); }
.consent a { color: var(--orange-2); }
.form-card .err { font-size: 0.83rem; color: #ff9c85; }
.consent-note { margin-top: 0.7rem; font-size: 0.85rem; line-height: 1.55; color: var(--steel-400); }
.consent-note .textlink {
  background: none; border: 0; padding: 0; font: inherit; color: var(--orange-2);
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.consent-note .textlink:hover { color: var(--orange); }

.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 1.2rem; font-size: 0.95rem; border-radius: var(--radius); padding: 0.9rem 1.1rem; display: none; }
.form-status.is-error { display: block; background: rgba(255,90,60,0.12); border: 1px solid rgba(255,122,92,0.5); color: #ffb9a8; }
.form-success { text-align: left; }
.form-success .tick { width: 54px; height: 54px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem; }
.form-success h3 { margin-bottom: 0.9rem; }
.form-success p { color: var(--steel-200); }
.form-success p + p { margin-top: 0.8rem; }
.form-footnote { font-size: 0.83rem; color: var(--steel-400); margin-top: 1.2rem; }
.form-foot { margin-top: 1.1rem; font-size: 0.87rem; line-height: 1.6; color: var(--steel-400); }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { background: var(--ink-950); border-top: 1px solid rgba(255,255,255,0.09); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.footer-grid h3 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel-400); margin-bottom: 1.1rem; font-weight: 700; }
.footer-brand img { height: 88px; width: auto; margin-bottom: 1.4rem; }
.footer-brand p { font-size: 0.92rem; color: var(--steel-400); max-width: 34ch; }
.footer-list { display: grid; gap: 0.6rem; font-size: 0.94rem; }
.footer-list a { color: var(--steel-200); text-decoration: none; }
.footer-list a:hover { color: var(--orange-2); }
.footer-contact a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-contact a:hover { color: var(--orange-2); }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.09);
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem; justify-content: space-between;
  font-size: 0.84rem; color: var(--steel-400);
}
.footer-bottom a { color: var(--steel-300); }

/* ---------- Mobile action bar -------------------------------------------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 1px; background: rgba(255,255,255,0.12);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%); transition: transform 0.3s var(--ease);
  box-shadow: 0 -14px 30px rgba(0,0,0,0.35);
}
.action-bar.is-visible { transform: none; }
.action-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 1.05rem 0.5rem; text-decoration: none; font-family: 'Archivo', sans-serif;
  font-weight: 600; font-size: 1rem; min-height: 58px;
}
.action-bar .ab-call { background: var(--ink-800); color: #fff; }
.action-bar .ab-book { background: var(--orange-cta); color: #fff; }
@media (max-width: 899px) {
  .action-bar { display: flex; }
  body { padding-bottom: 0; }
}

/* ---------- Privacy dialog ----------------------------------------------- */
dialog.sheet {
  border: 1px solid rgba(255,255,255,0.14); background: var(--ink-800); color: var(--paper);
  border-radius: var(--radius); padding: 0; max-width: min(680px, calc(100% - 2rem));
  width: 100%; max-height: min(82dvh, 780px);
}
dialog.sheet::backdrop { background: rgba(4,8,11,0.75); backdrop-filter: blur(4px); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem clamp(1.2rem, 3vw, 2rem); border-bottom: 1px solid rgba(255,255,255,0.12); position: sticky; top: 0; background: var(--ink-800); }
.sheet-head h2 { font-size: var(--step-2); }
.sheet-close { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.sheet-body { padding: clamp(1.2rem, 3vw, 2rem); overflow-y: auto; font-size: 0.96rem; color: var(--steel-200); }
.sheet-body h3 { font-size: var(--step-0); margin: 1.6rem 0 0.5rem; color: #fff; }
.sheet-body h3:first-child { margin-top: 0; }
.sheet-body p + p { margin-top: 0.7rem; }
.sheet-body a { color: var(--orange-2); }

/* ---------- Motion preferences ------------------------------------------ */
@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;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-media video { display: none; }
  .reveal-pair .layer-over { clip-path: inset(0 0 0 50%) !important; }
  .reveal-pair .wipe-line { opacity: 1 !important; left: 50% !important; }
}

/* ---------- Print -------------------------------------------------------- */
@media print {
  .site-header, .action-bar, .hero-media, .hero-grid { display: none !important; }
  body { background: #fff; color: #000; }
}
