/* ============================================================
   Novus Point — novus-point.com
   V1 — CINEMATIC. Applied 2026-09-08 (design/2026-09-08-v1-cinematic/).

   A deep-space brand-blue field carries a single luminous faceted hero
   object; the accent is split into a bright-cyan UI colour and one lime
   action colour, on a disciplined, structural grid — ledger rows, numbered
   rows, native <details>. This file changes VALUES and adds a small set of
   ADDITIVE decorative classes (hero-art, blob, grid-floor, particle …).
   HTML class names and structure used by tools/check-consistency.py are
   UNCHANGED: .hero__panel.edge, .ledger__name/.ledger__meta, .faq__item,
   h3.h3, p.body, .reftable — every one keeps its selector and its markup.

   Ground system (one dark field, two tones for rhythm):
     --ground   #071A26   default section background, every page
     --panel    #0B2433   the data-color-scheme="white-on-abyss" band that
                           already marks exactly one section per inner page
                           (the regulatory/governance band) — kept as the
                           CSS hook, zero HTML edits, same shape as the
                           prototype's .panel-section.
   ============================================================ */

:root {
  /* ---- V1 colour tokens ---- */
  --ground:      #071A26;
  --panel:       #0B2433;
  --raised:      #0F2E40;
  --raised-2:    #123449;
  --line:        rgba(247,247,247,0.10);
  --line-soft:   rgba(247,247,247,0.06);
  --ink:         #F7F7F7;
  --ink-muted:   #B8C7D0;   /* 10.2:1 on --ground, 9.2:1 on --panel */
  --ink-faint:   #7E93A0;   /* 5.5:1 on --ground, 5.0:1 on --panel */
  --cyan:        #00798e;   /* decorative / large use only — 3.5:1 on ground */
  --cyan-bright: #4CC3D6;   /* 8.5:1 — eyebrows, links, dates, small UI */
  --cyan-soft:   rgba(0,121,142,0.35);
  --lime:        #26b75c;   /* 6.8:1 — the one interactive colour: every CTA */
  --lime-bright: #3fd479;
  --lime-ink:    #04140c;   /* text on lime buttons */
  --grass:       #bbd319;

  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-ui:      'Montserrat', 'Avenir Next', 'Segoe UI', sans-serif;
  --font-body:    'Lato', 'Helvetica Neue', Arial, sans-serif;

  /* Six size tokens, fixed. Mobile overrides h1/h2 only, one breakpoint. */
  --fs-h1:      2.75rem;
  --fs-h2:      1.75rem;
  --fs-lead:    1.25rem;
  --fs-body:    1rem;
  --fs-ui:      0.9375rem;
  --fs-eyebrow: 0.8125rem;

  --w-serif-h1: 380;
  --w-serif-h2: 450;
  --w-ui-label: 600;
  --w-ui-strong:700;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 3px;

  --s-1: 4px;  --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-6: 24px; --s-8: 32px;  --s-12: 48px; --s-14: 56px; --s-16: 64px;
  --s-24: 96px; --s-28: 112px;
  --band-pad: clamp(56px, 8.4vw, 112px);

  --w-wide: 1080px;
  --w-read: 820px;
  --w-col: 920px;
}

@media (max-width: 640px) {
  :root {
    --fs-h1: 1.625rem;
    --fs-h2: 1.625rem;
  }
}

/* ============================================================
   RESET / BASE
   ============================================================ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink-muted);
  font: 400 var(--fs-body)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
/* Mobile nav scroll lock — toggled by main.js while the full-viewport
   panel is open. A class, not element.style, so no inline style is ever
   written (see main.js). */
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
strong { font-weight: 700; }

/* Decorative fixed background layers from the old system — unused. */
.page-bg, .page-grid { display: none; position: static; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--lime); color: var(--lime-ink);
  padding: .75rem 1.25rem; z-index: 100;
  font: 700 var(--fs-ui)/1 var(--font-ui);
  text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { left: var(--s-4); top: var(--s-4); }
:focus-visible { outline: 2px solid var(--cyan-bright); outline-offset: 2px; }
main:focus { outline: none; }

.vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container { width: 100%; margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.container--mid { max-width: var(--w-read); }
.container--wide { max-width: var(--w-wide); }

/* ============================================================
   GROUND — one dark field. The section that already carries
   data-color-scheme="white-on-abyss" (exactly one per inner page, the
   regulatory/governance band) becomes the --panel tone for rhythm —
   the same shape as the prototype's .panel-section. Zero HTML edits.
   ============================================================ */
[data-color-scheme="ink-on-bone"],
.hero, .creds, .section, .contact, .footer, .error-page { background: var(--ground); color: var(--ink-muted); }

[data-color-scheme="white-on-abyss"] {
  background: var(--panel);
  color: var(--ink-muted);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.contact { border-top: 1px solid var(--line); }

.section, .hero, .creds, .contact { padding-block: var(--band-pad); position: relative; }

/* ============================================================
   TYPE
   ============================================================ */
h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); }
p { margin: 0; }

.eyebrow, .label, .creds__kicker, .principal__role,
.ledger__head, .tl__date, .footer__title, .numeral, .caption,
.hero__panel-kicker {
  font-family: var(--font-ui);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: none;
  color: var(--cyan-bright);
}
/* Quieter role: everything that is not the one act-defining eyebrow. */
.ledger__head, .tl__date, .footer__title, .numeral, .caption,
.hero__panel-kicker, .label, .creds__kicker, .principal__role {
  color: var(--ink-faint);
}
.eyebrow { display: block; margin-bottom: var(--s-4); }
.eyebrow::before { content: none; }
.eyebrow--onband { margin-bottom: var(--s-6); }

.hero__title, .error-page__code {
  font-family: var(--font-display);
  font-weight: var(--w-serif-h1);
  font-size: clamp(var(--fs-h1), 1.4rem + 5.6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: var(--s-6) 0 var(--s-6);
}
/* Homepage only: the prototype's full cinematic scale (clamp up to 7rem,
   ~110-120px at 1440). Kept off the base .hero__title rule above so
   privacy/404/enquiry-received (long single-sentence copy, no prototype
   reference) don't inherit a size that would force ugly wraps. */
.hero__title--home { font-size: clamp(var(--fs-h1), 1.4rem + 5.6vw, 7rem); }
/* Practice pages (strategy, ai-governance, ai-automation, eu-ai-act): one
   consistent step below the homepage, ~72-88px at 1440, never below the
   --fs-h1 mobile floor (26px) so it still reads at 390. */
.hero__title--long { font-size: clamp(var(--fs-h1), 0.9rem + 4vw, 4.8rem); line-height: 1.1; }
.grad-text { background: linear-gradient(100deg, var(--ink) 0%, var(--cyan-bright) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.h2, .contact__title, .error-page__code {
  font-family: var(--font-display);
  font-weight: var(--w-serif-h2);
  font-size: clamp(var(--fs-h2), 1.3rem + 2vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.008em;
  color: var(--ink);
  margin: var(--s-4) 0 var(--s-4);
}
.h3 {
  font-family: var(--font-display);
  font-weight: var(--w-serif-h2);
  font-size: var(--fs-h2);
  line-height: 1.2;
  color: var(--ink);
  margin: var(--s-3) 0 var(--s-3);
}

.lead {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 56ch;
  margin-top: var(--s-4);
}
.body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 64ch;
}
.body + .body { margin-top: var(--s-4); }
.body strong { color: var(--ink); font-weight: 700; }

.measure { max-width: 62ch; }
.nb { white-space: nowrap; }

/* ============================================================
   LINKS / BUTTONS
   ============================================================ */
.src-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
.src-link:hover { text-decoration-color: var(--cyan-bright); }

.link, .link--grass, .link--quiet {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--fs-ui);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  display: inline-block;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.link:hover, .link--grass:hover, .link--quiet:hover { border-color: var(--cyan-bright); color: var(--cyan-bright); }
.link--quiet { color: var(--ink-muted); }
.link > span[aria-hidden="true"] { display: inline; margin-left: .4em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  text-align: center;
  font-family: var(--font-ui);
  font-weight: var(--w-ui-strong);
  font-size: var(--fs-ui);
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  padding: .95rem 1.85rem;
  border: 1px solid var(--lime);
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--lime-ink);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--lime-bright); border-color: var(--lime-bright); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--cyan-bright); color: var(--cyan-bright); transform: none; }
.btn__arrow { display: inline-block; }

/* ============================================================
   NAV — sticky, translucent dark, blurred.
   Two independent CTA rules keep the desktop and mobile CTAs off the
   nav-link specificity chain entirely, so neither can lose contrast.
   ============================================================ */
/* backdrop-filter lives on ::before, not on .nav itself: an element with its
   own filter/backdrop-filter becomes the containing block for any
   position:fixed descendant (CSS Filter Effects), which silently collapses
   the mobile .nav__links panel (a fixed child of .nav) to .nav's own ~72px
   height instead of the viewport. Keeping the filter off .nav's own box
   keeps .nav__links anchored to the viewport, where top/bottom:0 expects it. */
.nav {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7,26,38,0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: background-color .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line-soft); }
.nav.is-scrolled::before { background: rgba(7,26,38,0.92); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo img { height: 24px; width: auto; }
.nav__nav { display: flex; align-items: center; gap: var(--s-8); }
.nav__links { list-style: none; display: flex; align-items: center; gap: var(--s-8); margin: 0; padding: 0; }
.nav__links a {
  font-family: var(--font-ui);
  font-size: var(--fs-ui);
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-muted);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--cyan-bright); }

/* Desktop CTA — own rule, lime rectangle. */
.nav__cta {
  font-family: var(--font-ui);
  font-weight: var(--w-ui-strong);
  font-size: var(--fs-ui);
  text-decoration: none;
  background: var(--lime);
  color: var(--lime-ink);
  padding: .6rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--lime);
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.nav__cta:hover { background: var(--lime-bright); border-color: var(--lime-bright); }

.nav__links-cta { display: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav__bar { width: 18px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899.98px) {
  .nav__links {
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    background: var(--ground);
    border-top: 1px solid var(--line);
    padding: var(--s-3) 0 var(--s-6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s var(--ease), visibility 0s linear .2s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .2s var(--ease); }
  .nav__links a { display: block; padding: 15px clamp(20px, 5vw, 48px); border-bottom: 1px solid var(--line-soft); }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .nav__links-cta { display: block; margin: var(--s-3) clamp(20px, 5vw, 48px) 0; }
  .nav__links-cta a {
    display: block;
    text-align: center;
    padding: .85rem 1rem;
    border-radius: var(--radius);
    background: var(--lime);
    color: var(--lime-ink);
    font-family: var(--font-ui);
    font-weight: var(--w-ui-strong);
    font-size: var(--fs-ui);
    text-decoration: none;
  }
}

/* ============================================================
   HERO ART — additive decorative layer. Homepage gets the full
   composition; inner pages get .hero-art--reduced (object + one blob,
   no grid floor, lower opacity) via a page-level modifier class on
   .hero-art itself. Everything lives in one absolutely-positioned,
   overflow-hidden container so it can never cause horizontal scroll.
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-top: var(--band-pad); }
/* The nav is position:sticky (see :289), so it is in-flow and already
   occupies its own space at the top of the document — no extra clearance
   for its height belongs here. contact.html and accessibility.html use a
   plain .section as their first section (not .hero, not .error-page); this
   rule just gives that first section the same top padding .hero and
   .error-page already carry, for visual consistency across page types. */
main > .section:first-child { padding-top: var(--band-pad); }
.hero-art { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, var(--ground) 0%, var(--ground) 26%, rgba(7,26,38,0.55) 50%, rgba(7,26,38,0.15) 68%, transparent 84%);
}
@media (max-width: 959px) {
  .hero-scrim { background: linear-gradient(180deg, rgba(7,26,38,0.15) 0%, var(--ground) 58%, var(--ground) 100%); }
}

.blob { position: absolute; border-radius: 50%; filter: blur(70px); mix-blend-mode: screen; }
.blob-a { width: 640px; height: 640px; top: -180px; right: -120px; background: radial-gradient(circle, rgba(0,121,142,0.5) 0%, rgba(0,121,142,0) 70%); animation: driftA 60s ease-in-out infinite alternate; }
.blob-b { width: 480px; height: 480px; bottom: -160px; right: 100px; background: radial-gradient(circle, rgba(38,183,92,0.24) 0%, rgba(38,183,92,0) 70%); animation: driftB 74s ease-in-out infinite alternate; }
.blob-c { width: 380px; height: 380px; top: 160px; right: 320px; background: radial-gradient(circle, rgba(76,195,214,0.26) 0%, rgba(76,195,214,0) 70%); animation: driftC 52s ease-in-out infinite alternate; }
@keyframes driftA { from { transform: translate(0,0); } to { transform: translate(-40px,50px); } }
@keyframes driftB { from { transform: translate(0,0); } to { transform: translate(30px,-45px); } }
@keyframes driftC { from { transform: translate(0,0); } to { transform: translate(-25px,-35px); } }

.horizon {
  position: absolute; left: 38%; right: 0; top: 62%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76,195,214,0.5) 35%, rgba(76,195,214,0.8) 55%, transparent 90%);
  box-shadow: 0 0 24px 1px rgba(76,195,214,0.3);
}

.grid-floor {
  position: absolute; left: 20%; right: -10%; bottom: -10%; height: 60%;
  background-image:
    repeating-linear-gradient(to top, rgba(76,195,214,0.14) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(to right, rgba(76,195,214,0.12) 0 1px, transparent 1px 64px);
  transform: perspective(560px) rotateX(60deg);
  transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.85), transparent 92%);
  mask-image: linear-gradient(to top, rgba(0,0,0,0.85), transparent 92%);
}

.hero-object { position: absolute; top: 50%; right: -8%; width: min(56vw, 720px); transform: translateY(-50%); animation: objectDrift 46s ease-in-out infinite alternate; }
@media (max-width: 959px) { .hero-object { right: -28%; top: 54%; width: 100vw; opacity: .8; } }
@keyframes objectDrift { from { transform: translateY(-50%) rotate(-2.5deg); } to { transform: translateY(calc(-50% - 16px)) rotate(2.5deg); } }

/* Reduced hero — inner pages: one blob, no grid floor, smaller/quieter object. */
.hero-art--reduced .grid-floor,
.hero-art--reduced .horizon,
.hero-art--reduced .blob-b,
.hero-art--reduced .blob-c,
.hero-art--reduced .particle { display: none; }
.hero-art--reduced .blob-a { width: 460px; height: 460px; opacity: .8; }
.hero-art--reduced .hero-object {
  width: min(36vw, 420px);
  opacity: .5;
  right: -2%;
  -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 94%);
  mask-image: linear-gradient(to right, #000 55%, transparent 94%);
}
@media (max-width: 959px) {
  .hero-art--reduced .hero-object {
    width: 66vw;
    right: -6%;
    opacity: .3;
    -webkit-mask-image: linear-gradient(to right, #000 45%, transparent 90%);
    mask-image: linear-gradient(to right, #000 45%, transparent 90%);
  }
}

.particle { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--cyan-bright); box-shadow: 0 0 8px 2px rgba(76,195,214,0.6); animation: floaty 14s ease-in-out infinite; }
.particle:nth-of-type(1) { left: 62%; top: 22%; animation-delay: 0s; }
.particle:nth-of-type(2) { left: 78%; top: 48%; animation-delay: 3s; }
.particle:nth-of-type(3) { left: 54%; top: 68%; animation-delay: 6s; }
.particle:nth-of-type(4) { left: 88%; top: 30%; animation-delay: 9s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-22px); opacity: 1; } }

/* Any section that carries a hero-art layer needs its content wrapper lifted
   above it. .hero already nests hero__inner/hero__aside with their own
   z-index:2; every other section gets it generically via this sibling rule,
   so the additive art layer can be dropped into any top section with zero
   further HTML changes. */
.hero-art ~ .container { position: relative; z-index: 2; }

.hero__inner { position: relative; z-index: 2; display: grid; gap: var(--s-12); align-items: start; }
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: var(--s-16); }
  /* Homepage only, now that .hero__aside/panel has moved out of the hero
     (see .hero-ledger-band): give the copy column the width the prototype's
     own 1180px-wide, wider-gutter layout gave it, so "Then the AI." holds
     on one line and the primary/secondary CTAs share a row instead of
     wrapping. */
  .hero__inner--home { grid-template-columns: minmax(0,1.4fr) minmax(0,.6fr); }
}
.hero__copy { min-width: 0; }
.hero__lead { font: 300 var(--fs-lead)/1.5 var(--font-body); color: var(--ink-muted); max-width: 40ch; margin-top: var(--s-4); }
.hero__copy .body { margin-top: var(--s-4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; margin-top: var(--s-6); }
.hero__mail { margin-top: var(--s-4); font-size: var(--fs-eyebrow); color: var(--ink-faint); max-width: 52ch; }
.hero__mail a { color: var(--cyan-bright); text-decoration: underline; text-underline-offset: 3px; }

.hero__aside { position: relative; z-index: 2; }
.hero__panel-kicker { display: block; margin-bottom: var(--s-3); }
.hero__panel {
  border: 1px solid var(--line);
  padding: var(--s-6) var(--s-6) var(--s-4);
  background: rgba(11,36,51,0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
}

/* Homepage: the AI Act ledger's own band, directly under the hero (fix for
   the panel that used to sit on top of the hero-object). Tighter block
   padding than a full .section so it reads as "closing the fold", not a
   fresh full-height section. */
.hero-ledger-band { padding-block: var(--s-12); }
.hero-ledger-band__inner { max-width: 40rem; }
.hero-ledger-band .hero__panel { max-width: none; }
@media (min-width: 700px) {
  .hero-ledger-band .ledger { grid-template-columns: repeat(2, 1fr); column-gap: var(--s-8); }
  .hero-ledger-band .ledger li { grid-column: span 1; }
  .hero-ledger-band .ledger__head { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .hero-ledger-band { padding-block: var(--s-16); } }

/* ============================================================
   REVEAL SYSTEM
   Base: fully visible (no-script safe). Only once js-gate.js adds the
   `js` class to <html> (synchronous, before first paint, same-origin,
   CSP-clean — no inline script) do .reveal elements go to opacity:0 and
   wait for main.js's IntersectionObserver (or native scroll-timeline) to
   add .is-in. no-js.css stays wired as a second, independent guarantee.
   ============================================================ */
.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .reveal:nth-child(2) { transition-delay: 80ms; }
html.js .reveal:nth-child(3) { transition-delay: 160ms; }
html.js .reveal:nth-child(4) { transition-delay: 240ms; }
html.js .reveal:nth-child(n+5) { transition-delay: 320ms; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .blob, .hero-object, .particle, .grid-floor { animation: none !important; }
}

/* ============================================================
   LEDGER — the signature device: status dot, name, meta.
   ============================================================ */
.ledger { list-style: none; display: grid; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ledger li { display: grid; grid-template-columns: 10px 1fr; column-gap: var(--s-3); align-items: baseline; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.ledger__head { display: block; padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); margin-bottom: 0; }
.ledger__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-faint); align-self: center; justify-self: center; opacity: .6; }
.ledger:has(.ledger__dot--future) .ledger__dot:not(.ledger__dot--future),
.timeline:has(.tl--future) .tl:not(.tl--future) .tl__dot {
  background: var(--lime-bright);
  box-shadow: 0 0 8px 1px rgba(63,212,121,.5);
  opacity: 1;
}
.ledger__dot--future { background: var(--cyan-bright); opacity: .85; }
.ledger__name { font-family: var(--font-ui); font-size: var(--fs-ui); font-weight: 600; color: var(--ink); line-height: 1.4; }
.ledger__meta {
  grid-column: 2;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  color: var(--ink-faint);
  line-height: 1.5;
  margin-top: 2px;
  white-space: normal;
}
.ledger-block { max-width: 40rem; margin-top: var(--s-12); }
.contact .ledger-block { margin-inline: auto; text-align: left; }

/* ============================================================
   CREDENTIALS — 3-col ruled, no cards
   ============================================================ */
.creds__grid { list-style: none; display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border-top: 1px solid var(--line); margin: var(--s-8) 0 0; padding: 0; }
.creds__item { padding: var(--s-6) var(--s-6) 0 0; border-left: 1px solid var(--line); padding-left: var(--s-6); }
.creds__item:first-child { border-left: none; padding-left: 0; }
.creds__mark { font: 450 var(--fs-h2)/1 var(--font-display); color: var(--cyan-bright); margin: var(--s-2) 0 var(--s-3); }
.creds__line { font: 400 var(--fs-body)/1.6 var(--font-body); color: var(--ink-muted); }
.creds__byline { font: 400 var(--fs-eyebrow)/1.4 var(--font-body); color: var(--ink-faint); margin-top: 4px; }
@media (max-width: 760px) {
  .creds__grid { grid-template-columns: 1fr; }
  .creds__item { border-left: none; border-top: 1px solid var(--line); padding: var(--s-4) 0 0; }
  .creds__item:first-child { border-top: none; }
}

/* ============================================================
   ROW LISTS — pillars, areas, nots, qitem/timeline, steps
   ============================================================ */
.edge { position: relative; background: none; border: 0; border-radius: 0; box-shadow: none; }
.edge::before { content: none; }

.pillars, .areas, .nots, .steps, .faq { list-style: none; margin: var(--s-8) 0 0; padding: 0; border-top: 1px solid var(--line); }
.pillars { display: block; }
.pillar, .area, .nots__item, .step { padding: var(--s-6) 0; border-bottom: 1px solid var(--line); }

.pillar__icon { display: none; }
.pillar__head { display: block; margin-bottom: var(--s-3); }
.pillar__head .label { display: block; margin-bottom: var(--s-2); }
.pillar__main .link, .area .link, .pillar__main .link--grass, .area .link--grass { display: block; margin-top: var(--s-2); }
.pillar__main .body + .link,
.pillar__main .link + .link { margin-top: var(--s-2); }

.nots { columns: 2; column-gap: var(--s-12); }
.nots__item { break-inside: avoid; }
@media (max-width: 760px) { .nots { columns: 1; } }

.timeline { list-style: none; margin: var(--s-8) 0 0; padding: 0; border-top: 1px solid var(--line); }
.tl { position: relative; display: grid; grid-template-columns: 150px 1fr; column-gap: var(--s-4); padding: var(--s-6) 0; border-bottom: 1px solid var(--line); align-items: start; }
.tl__dot { position: absolute; left: 0; top: calc(var(--s-6) + .5em); width: 8px; height: 8px; border-radius: 50%; background: var(--ink-faint); opacity: .6; }
.tl__date { grid-column: 1; padding-left: 18px; padding-top: 2px; }
.qitem { grid-column: 2; }
.qitem .numeral { display: block; margin-bottom: var(--s-2); }
.qitem .h3 { margin-top: 0; }
@media (max-width: 640px) {
  .tl { grid-template-columns: 1fr; gap: var(--s-2); }
  .tl__date { grid-column: 1; }
  .qitem { grid-column: 1; }
}

.numeral { font-weight: 600; font-variant-numeric: tabular-nums; }
.row__num, .label { display: inline-block; }

.step { display: block; }
.step .numeral { display: block; margin-bottom: var(--s-2); color: var(--cyan-bright); font-family: var(--font-display); font-weight: 300; font-size: clamp(1.6rem, 1.4rem + .8vw, 2.1rem); }
.step .rule { display: none; }
.step__out { margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--line-soft); font-size: var(--fs-body); color: var(--ink-faint); }
.step__out .caption { display: block; margin-bottom: var(--s-2); }
.step__out b, .step__out strong { color: var(--ink-muted); font-weight: 400; }

.areas__head { margin-top: var(--s-12); }
.areas__intro { margin-top: var(--s-2); }

/* ============================================================
   PRINCIPAL / PROSE
   ============================================================ */
.prose { max-width: var(--w-read); padding: 0; background: none; box-shadow: none; border: 0; }
.principal__lockup { margin-bottom: var(--s-4); }
.principal__name { font: 450 var(--fs-h2)/1.2 var(--font-display); color: var(--ink); }
.principal__role { display: block; margin-top: 4px; }
.prose .body { margin-top: var(--s-4); }

/* ============================================================
   FAQ — native <details>, plain +/- via CSS content
   ============================================================ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); padding: var(--s-4) 0; }
.faq__q {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--s-4);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q > .numeral { grid-column: 1; grid-row: 1; margin-bottom: 2px; }
.faq__q > .label { grid-column: 1; grid-row: 2; margin-bottom: 2px; }
.faq__q > .h3 { grid-column: 1; grid-row: 3; margin: 0; }
.faq__q:not(.faq__q--topic) > .h3 { grid-row: 2; }
.faq__q--topic { grid-template-rows: auto auto auto; }
.faq__sign { grid-column: 2; grid-row: 1 / -1; position: relative; width: 26px; height: 26px; justify-self: end; border: 1px solid var(--line); border-radius: 50%; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; background: var(--cyan-bright); left: 50%; top: 50%; transform: translate(-50%,-50%); }
.faq__sign::before { width: 10px; height: 1px; }
.faq__sign::after { width: 1px; height: 10px; transition: opacity .2s var(--ease); }
.faq__item[open] .faq__sign::after { opacity: 0; }
.faq__item[open] .faq__sign { transform: rotate(180deg); border-color: var(--cyan-bright); }
.faq__a { margin-top: var(--s-4); }
.faq__a .body + .body { margin-top: var(--s-3); }

/* ============================================================
   REFTABLE — the AI Act calendar. A real <table>, ruled, no card.
   ============================================================ */
.reftable-hint { display: none; }
@media (max-width: 900px) {
  .reftable-hint {
    display: block;
    margin-top: var(--s-6);
    font-family: var(--font-ui);
    font-size: var(--fs-eyebrow);
    letter-spacing: 0.01em;
    color: var(--ink-faint);
  }
  .reftable-hint + .reftable-wrap { margin-top: var(--s-2); }
}
.reftable-wrap { overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: var(--s-6); }
.reftable { width: 100%; border-collapse: collapse; font-size: var(--fs-eyebrow); }
.reftable th, .reftable td { padding: var(--s-3) var(--s-4) var(--s-3) 0; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.reftable thead th { font-family: var(--font-ui); font-weight: 600; color: var(--ink-faint); text-transform: none; white-space: nowrap; }
.reftable tbody th { font-family: var(--font-ui); font-weight: 600; color: var(--ink); white-space: nowrap; }
.reftable tbody td { font-family: var(--font-body); color: var(--ink-muted); }
.reftable__what { min-width: 22rem; }
.reftable__prov { white-space: nowrap; color: var(--cyan-bright); }
.reftable tbody tr:last-child th, .reftable tbody tr:last-child td { border-bottom: 0; }
.rt-state { font-family: var(--font-ui); font-weight: 600; color: var(--lime-bright); }
.rt-state--pending { color: var(--ink-faint); }
.reftable-note { margin-top: var(--s-3); }
@media (min-width: 881px) { .reftable-note { display: none; } }
.caption--src { margin-top: var(--s-3); }

.cta-arrow { font-family: var(--font-ui); font-weight: 700; font-size: var(--fs-ui); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; color: var(--ink); }
.cta-arrow:hover { border-color: var(--cyan-bright); color: var(--cyan-bright); }
.cta-arrow-wrap { margin-top: var(--s-6); }

.note {
  position: relative;
  max-width: var(--w-col);
  margin-top: var(--s-12);
  padding: var(--s-4) 0 var(--s-4) var(--s-4);
  border-left: 2px solid var(--cyan-bright);
  color: var(--ink-muted);
  font-size: var(--fs-body);
}
.note::after { content: none; }

/* ============================================================
   CONTACT / ENQUIRY-FORM / ERROR PAGES
   ============================================================ */
.contact__actions, .contact__mail, .contact__alt { margin-top: var(--s-4); }
.contact__mail a, .contact__alt a { font-size: var(--fs-eyebrow); color: var(--cyan-bright); }

.enquiry { max-width: var(--w-read); margin-top: var(--s-8); position: relative; z-index: 2; }
.enquiry__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { display: grid; gap: var(--s-2); }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-ui); font-size: var(--fs-eyebrow); font-weight: 600; color: var(--ink-faint); }
.field .optional { font-weight: 400; }
.field input, .field input:focus-visible {
  font: 400 var(--fs-body)/1.4 var(--font-body);
  color: var(--ink);
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--raised);
  color-scheme: dark;
}
/* --line (rgba(247,247,247,.10)) composited over --raised on the --ground
   page background falls short of the 3:1 non-text contrast SC 1.4.11
   requires for a field boundary. This is a stronger border colour for the
   boundary specifically; --line itself is left alone for decorative
   hairlines elsewhere where 3:1 does not apply. */
.field input, .field textarea { border-color: rgba(247,247,247,.35); }
.field input::placeholder { color: var(--ink-faint); }
.field input:focus-visible { outline: 2px solid var(--cyan-bright); outline-offset: 1px; border-color: var(--cyan-bright); }
.enquiry__actions { margin-top: var(--s-6); }
.enquiry__privacy { margin-top: var(--s-6); font-size: var(--fs-eyebrow); color: var(--ink-faint); max-width: 60ch; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .enquiry__grid { grid-template-columns: 1fr; } }

input, textarea, select, button { font-family: inherit; }

.error-page { padding-top: var(--band-pad); position: relative; overflow: hidden; }
.error-page__code { margin-top: var(--s-6); }
.error-page__actions { display: flex; gap: var(--s-6); flex-wrap: wrap; margin-top: var(--s-6); }
.error-page .container { position: relative; z-index: 2; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-block: var(--s-16) var(--s-8); }
.footer__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--s-8); }
.footer__logo { height: 20px; width: auto; margin-bottom: var(--s-4); }
.footer__legal { font-size: var(--fs-eyebrow); color: var(--ink-faint); line-height: 1.6; max-width: 34ch; }
.footer__legal + .footer__legal { margin-top: var(--s-2); }
.footer__title { margin-bottom: var(--s-2); display: block; }
.footer__nav, .footer__contact { list-style: none; display: flex; flex-direction: column; gap: var(--s-2); margin: var(--s-2) 0 0; padding: 0; }
.footer__nav a, .footer__contact a {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--ink-muted);
  text-decoration: none;
}
.footer__nav a:hover, .footer__contact a:hover { color: var(--cyan-bright); text-decoration: underline; text-underline-offset: 3px; }
.footer__place { font-family: var(--font-body); font-size: var(--fs-body); color: var(--ink-muted); }
.footer__copy { margin-top: var(--s-8); padding-top: var(--s-4); border-top: 1px solid var(--line-soft); font-size: var(--fs-eyebrow); color: var(--ink-faint); }
.footer__copy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .footer__cols { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .footer__cols { grid-template-columns: 1fr; } }

/* ============================================================
   RESPONSIVE — layout only; type sizes are handled above.
   ============================================================ */
@media (max-width: 760px) {
  .creds__grid { grid-template-columns: 1fr; }
  .row, .tl { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section, .hero, .creds, .contact { padding-block: var(--s-16); }
  .hero { padding-top: var(--s-16); }
}

/* ============================================================
   MOTION — reduced-motion kills every keyframe, everywhere.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
