@charset "UTF-8";
/* ==========================================================================
   AG YACHT MANAGEMENT
   Design system — primitive tokens → semantic tokens → component tokens.
   No framework, no build step. One stylesheet, one request.
   ========================================================================== */

/* ------------------------------------------------------------------ 0. type */
/* Two families, self-hosted, variable-weight, latin subset (~31KB each).
   No third-party font requests: nothing leaves the visitor's browser. */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------- 1. PRIMITIVE tokens */
:root {
  /* Sampled from the printed business card, not chosen:
       logo ink ................ #023867   (navy-800)
       gradient centre ......... #0d78be   (ocean-500)
       gradient corners ........ #012c59 / #02234c
       pale wave ............... #d2e9fa
       paper ................... #f4f9fc                                */
  --navy-950: #02234c;
  --navy-900: #012c59;
  --navy-800: #023867;
  --navy-700: #013d72;
  --navy-600: #014784;
  --ocean-700: #01477f;
  --ocean-600: #025296;
  --ocean-500: #0d78be;
  --ocean-400: #4a9bd8;
  --ocean-300: #8cb9e0;

  --slate-700: #2f4a63;
  --slate-600: #4c6274;
  --slate-500: #6a8093;

  --silver-500: #84a1b5;
  --silver-400: #a3bacd;
  --silver-300: #c3d6e6;
  --silver-200: #dceaf6;
  --silver-100: #edf4fa;

  --off-white: #f4f9fc;
  --white: #ffffff;

  --sp-1: .25rem;  --sp-2: .5rem;   --sp-3: .75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 2.5rem;  --sp-8: 3rem;
  --sp-9: 4rem;    --sp-10: 5rem;   --sp-11: 6.5rem; --sp-12: 8rem;

  --ff-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

  --dur-1: 160ms; --dur-2: 260ms; --dur-3: 420ms;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --shell-max: 1240px;
  --radius-sm: 2px;
  --radius: 3px;
  --radius-lg: 4px;
}
/* -------------------------------------------------- 2. SEMANTIC tokens */
:root {
  --color-primary:       var(--ocean-600);
  --color-primary-deep:  var(--navy-900);
  --color-accent:        var(--ocean-500);

  --color-background:    var(--white);
  --color-background-alt: var(--off-white);
  --color-surface:       var(--white);
  --color-surface-dark:  var(--navy-950);
  --color-surface-dark-2: var(--navy-900);

  --color-text:          var(--navy-900);
  --color-text-strong:   var(--navy-950);
  --color-muted:         var(--slate-600);
  --color-border:        var(--silver-200);
  --color-rule:          var(--silver-300);

  /* on dark surfaces */
  --color-text-invert:   var(--white);
  --color-muted-invert:  #9fb3c4;
  --color-border-invert: rgba(255, 255, 255, .14);
  --color-rule-invert:   rgba(255, 255, 255, .22);

  /* Small uppercase labels: silver-500 clears AA on navy but not on paper,
     so light surfaces use a darkened tone from the same hue. */
  --color-label:         var(--silver-500);
  --color-label-on-light: #54758c;

  --color-focus:         var(--ocean-400);
  --color-error:         #b4232b;
  --color-error-invert:  #ff8f8f;
  --color-success:       #1f7a5c;
}

/* ------------------------------------------------- 3. COMPONENT tokens */
:root {
  --header-bg:            rgba(5, 15, 26, 0);
  --header-bg-solid:      rgba(5, 15, 26, .92);
  --header-border:        rgba(255, 255, 255, 0);
  --header-height:        76px;

  --button-primary-bg:      var(--ocean-600);
  --button-primary-bg-hover: var(--ocean-700);
  --button-primary-fg:      var(--white);
  --button-ghost-fg:        var(--white);
  --button-ghost-border:    rgba(255, 255, 255, .34);
  --button-light-bg:        var(--white);
  --button-light-fg:        var(--navy-900);

  --tile-bg:        var(--white);
  --tile-bg-hover:  var(--off-white);
  --tile-border:    var(--silver-200);
  --tile-border-on: var(--ocean-600);

  --modal-bg:        var(--white);
  --modal-backdrop:  rgba(5, 15, 26, .62);
  --modal-max:       660px;

  --field-bg:     var(--white);
  --field-border: var(--silver-300);
  --field-fg:     var(--navy-900);

  --sticky-bg:     rgba(5, 15, 26, .94);
  --sticky-border: rgba(255, 255, 255, .12);
}

/* Cormorant Garamond ships oldstyle figures by default, which turn "01" into
   something that reads as "OI". Every display-face numeral uses lining forms. */
.section__title, .service__index, .process__num, .notfound__code,
.hero__title, .modal__title, .step__title, .legal__title,
.modal__success-title, .about__monogram, .service__title {
  font-variant-numeric: lining-nums;
}

/* ------------------------------------------------------------ 4. reset */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--ff-sans);
  font-size: 1rem;
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.12; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------- 5. utilities */
.u-sr {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 0; left: 50%; transform: translate(-50%, -110%);
  z-index: 200; background: var(--white); color: var(--navy-900);
  padding: .75rem 1.25rem; font-size: .875rem; font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: transform var(--dur-1) var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------ 6. layout */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}
.shell--narrow { max-width: 780px; }
.main { display: block; }

.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); position: relative; }
.section--why { background: var(--color-background-alt); }
.section--experience { background: var(--color-background-alt); }
.section--caps { background: var(--color-surface-dark-2); color: var(--color-text-invert); }
.section--contact { background: var(--color-surface-dark); color: var(--color-text-invert); }

.section__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section__head--narrow { max-width: 40rem; }
.section__title {
  font-family: var(--ff-display);
  font-variant-numeric: lining-nums;
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.012em;
  color: var(--color-text-strong);
  text-wrap: balance;
  margin-top: var(--sp-4);
}
.section__title--light { color: var(--color-text-invert); }
.section__lead {
  margin-top: var(--sp-5);
  max-width: 38rem;
  color: var(--color-muted);
  font-size: 1.0625rem;
}
.section__lead--light { color: var(--color-muted-invert); }
.section__note {
  margin-top: var(--sp-7);
  font-size: .8125rem;
  color: var(--color-muted);
  letter-spacing: .01em;
}

.eyebrow {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0;
}
.eyebrow--light { color: var(--ocean-300); }

.rule-dot {
  display: inline-block; width: 28px; height: 1px;
  background: var(--color-rule-invert); vertical-align: middle;
  margin-right: .75rem;
}

/* ----------------------------------------------------------- 7. buttons */
.btn {
  --_bg: transparent; --_fg: var(--color-text); --_bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8125rem 1.5rem;
  background: var(--_bg); color: var(--_fg);
  border: 1px solid var(--_bd);
  border-radius: var(--radius);
  font-size: .875rem; font-weight: 600; letter-spacing: .02em;
  text-align: center; white-space: nowrap;
  transition: background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease),
              color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn .icon { width: 17px; height: 17px; flex: none; }

.btn--primary { --_bg: var(--button-primary-bg); --_fg: var(--button-primary-fg); --_bd: var(--button-primary-bg); }
.btn--primary:hover { --_bg: var(--button-primary-bg-hover); --_bd: var(--button-primary-bg-hover); }

.btn--ghost { --_fg: var(--button-ghost-fg); --_bd: var(--button-ghost-border); }
.btn--ghost:hover { --_bd: rgba(255,255,255,.7); --_bg: rgba(255,255,255,.06); }

.btn--ghost-dark { --_fg: var(--navy-900); --_bd: var(--silver-300); }
.btn--ghost-dark:hover { --_bd: var(--navy-900); --_bg: var(--off-white); }

.btn--light { --_bg: var(--button-light-bg); --_fg: var(--button-light-fg); --_bd: var(--button-light-bg); }
.btn--light:hover { --_bg: var(--silver-100); --_bd: var(--silver-100); }

.btn--outline-light { --_fg: var(--white); --_bd: rgba(255,255,255,.34); }
.btn--outline-light:hover { --_bd: rgba(255,255,255,.75); --_bg: rgba(255,255,255,.07); }

.btn--quiet { --_fg: var(--color-muted); padding-inline: .5rem; }
.btn--quiet:hover { --_fg: var(--color-text); }

.btn--sm { padding: .625rem 1.125rem; font-size: .8125rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: .9375rem; }
.btn--block { width: 100%; }

.link-quiet {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 500; color: var(--color-muted-invert);
  transition: color var(--dur-1) var(--ease);
}
.link-quiet:hover { color: var(--white); }
.link-quiet .icon { width: 17px; height: 17px; }

.link-action {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 24px; padding-block: 2px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--color-primary);
  transition: gap var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.link-action .icon { width: 16px; height: 16px; }
.link-action:hover { gap: .8rem; color: var(--ocean-700); }

/* ------------------------------------------------------------ 8. header */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 90;
  height: var(--header-height);
  display: flex; align-items: center;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  transition: background var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.site-header.is-solid {
  background: var(--header-bg-solid);
  border-bottom-color: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
}
.site-header__inner { display: flex; align-items: center; gap: var(--sp-6); width: 100%; }

/* `min-width: 0` let the logotype be flex-shrunk below its own text: the
   wordmark is `nowrap`, so it kept painting ~90px past its box and straight
   into the menu. The brand never shrinks now; the nav gap gives instead. */
.brand { display: inline-flex; align-items: center; gap: .875rem; flex: none; }
.brand__mark { display: block; width: 34px; }
.brand__mark svg { display: block; width: 100%; height: auto; }
.brand__rule { width: 1px; height: 28px; background: rgba(255,255,255,.22); }
.brand__word { display: flex; flex-direction: column; gap: 3px; flex: none; }
.brand__name {
  /* Same face as the printed logotype, so the header reads as the logo */
  font-family: var(--ff-display);
  font-size: 1.0625rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--white); line-height: 1;
  white-space: nowrap;
  font-variant-numeric: lining-nums;
}
.brand__desc {
  font-size: .5625rem; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ocean-300); line-height: 1;
  white-space: nowrap; margin-top: 1px;
}

.site-nav { margin-inline-start: auto; }
/* Six items now, and the French and Spanish labels run longer than the
   English, so the gap flexes rather than forcing an early collapse. */
.site-nav__list { display: flex; align-items: center; gap: clamp(1.05rem, 1.7vw, 1.75rem); }
.site-nav__link {
  position: relative; display: inline-flex; align-items: center;
  min-height: 24px;                       /* WCAG 2.2 SC 2.5.8 target size */
  font-size: .8125rem; font-weight: 500;
  letter-spacing: .06em; color: rgba(255,255,255,.76);
  transition: color var(--dur-1) var(--ease);
}
.site-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ocean-400); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-2) var(--ease);
}
.site-nav__link:hover { color: var(--white); }
.site-nav__link:hover::after, .site-nav__link.is-active::after { transform: scaleX(1); }
.site-nav__link.is-active { color: var(--white); }

.site-header__actions { display: flex; align-items: center; gap: var(--sp-4); flex: none; }

/* language switcher */
.lang__list { display: flex; align-items: center; gap: .125rem; }
.lang__item {
  display: block; padding: .375rem .5rem;
  font-size: .6875rem; font-weight: 600; letter-spacing: .1em;
  color: rgba(255,255,255,.55);
  border-radius: var(--radius-sm);
  transition: color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.lang__item:hover { color: var(--white); background: rgba(255,255,255,.08); }
.lang__item.is-active {
  color: var(--white); background: none;
  box-shadow: inset 0 -1px 0 0 var(--ocean-400);
}

/* mobile nav toggle */
.nav-toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; }
.nav-toggle__box { display: block; width: 22px; height: 12px; position: relative; }
.nav-toggle__box span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--white);
  transition: transform var(--dur-2) var(--ease), opacity var(--dur-1) var(--ease);
}
.nav-toggle__box span:first-child { top: 0; }
.nav-toggle__box span:last-child { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:first-child { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:last-child { transform: translateY(-5px) rotate(-45deg); }

/* mobile nav panel */
.mobile-nav {
  position: fixed; inset: 0; z-index: 85;
  background: var(--navy-950);
  padding-top: var(--header-height);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-2) var(--ease), visibility var(--dur-2);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav__inner {
  height: 100%; display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--sp-7) clamp(1.25rem, 5vw, 2rem) calc(var(--sp-8) + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.mobile-nav__list { display: flex; flex-direction: column; gap: var(--sp-2); }
.mobile-nav__list a {
  display: block; padding: .75rem 0;
  font-family: var(--ff-display); font-size: 2rem; font-weight: 600;
  color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav__foot { display: flex; flex-direction: column; gap: var(--sp-5); margin-top: var(--sp-7); }
.mobile-nav__lang { padding-bottom: var(--sp-2); }
.mobile-nav__lang .lang__item { font-size: .8125rem; padding: .5rem .75rem; }

/* -------------------------------------------------------------- 9. hero */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-height) + clamp(3rem, 8vh, 6rem));
  padding-bottom: clamp(5rem, 12vh, 8rem);
  background: var(--color-surface-dark);
  color: var(--color-text-invert);
  overflow: hidden;
}
.hero::after {
  /* The card's cobalt-to-navy radial, but contained: on a business card it is
     the whole field, across a full-bleed hero that would read as a bright
     gradient. Here it sits behind the mark as a glow, and the deep navy of the
     card's corners holds the rest. */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(58% 62% at 74% 42%,
      rgba(13, 120, 190, .30) 0%,
      rgba(2, 82, 150, .14) 45%,
      rgba(2, 35, 76, 0) 78%),
    linear-gradient(180deg, rgba(2, 35, 76, .40) 0%, rgba(2, 35, 76, 0) 34%),
    linear-gradient(180deg, rgba(1, 23, 52, 0) 54%, rgba(1, 23, 52, .82) 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
/* The sail occupies its own grid column from tablet up (see .hero__inner), so
   it can never be cropped by the viewport nor run into the headline. Below that
   there is no honest room for it beside type at any size worth showing, so the
   gradient carries the hero alone. */
.hero__art { display: none; }
.hero__art svg { width: 100%; height: auto; display: block; }
.hero__wake { display: none; }
.hero__inner { position: relative; z-index: 2; }
@media (min-width: 768px) {
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(200px, 26vw, 420px);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
  }
  /* Opacity on the wrapper, not the SVG: the reveal animation owns the
     element's own opacity and would otherwise wash the mark back to solid. */
  .hero__art { display: block; opacity: .085; }
}

.hero__title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(2.875rem, 8.2vw, 6.25rem);
  line-height: 1.03;
  letter-spacing: -.02em;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  /* 14ch, not 16: at 100px display type two characters is ~100px of clearance
     between the headline column and the sail beside it. */
  max-width: 14ch;
}
.hero__title span { display: block; }
.hero__title-em { color: var(--ocean-300); font-style: italic; }
.hero__lead {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 34rem;
  font-size: clamp(1rem, 1.35vw, 1.1875rem);
  color: rgba(255,255,255,.82);
  line-height: 1.6;
}
.hero__actions {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex; align-items: center; flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-5);
}
.hero__scroll {
  position: absolute; left: clamp(1.25rem, 5vw, 4rem); bottom: 2.25rem; z-index: 2;
  display: none; align-items: center; gap: .875rem; min-height: 24px;
  font-size: .625rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--color-muted-invert);
}
.hero__scroll-line { display: block; width: 52px; height: 1px; background: var(--color-rule-invert); }
.hero__scroll:hover { color: var(--white); }

/* --------------------------------------------------------- 10. services */
.services { display: flex; flex-direction: column; }
.service {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2.5rem, 4.5vw, 3.75rem);
  border-top: 1px solid var(--color-border);
  align-items: start;
}
.service:last-child { border-bottom: 1px solid var(--color-border); }
.service__index {
  font-family: var(--ff-display);
  font-size: 2.5rem; font-weight: 500; line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--silver-300);
}
.service__title {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600;
  letter-spacing: -.01em; color: var(--color-text-strong);
}
.service__summary {
  margin-top: var(--sp-4); color: var(--color-muted);
  max-width: 34ch; font-size: .9375rem;
}
.service__caps-label {
  font-size: .625rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--color-label-on-light);
  padding-bottom: var(--sp-3); border-bottom: 1px solid var(--color-border);
}
.caps {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem 1.5rem; margin-top: var(--sp-4);
}
.caps li {
  font-size: .8125rem; color: var(--slate-700); line-height: 1.45;
  padding-left: .875rem; position: relative;
}
.caps li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: 5px; height: 1px; background: var(--ocean-500);
}
.service__caps .link-action { margin-top: var(--sp-5); }

/* -------------------------------------------------------------- 11. why */
.why {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
}
.why__item { padding-top: var(--sp-5); border-top: 1px solid var(--color-rule); }
.why__num {
  display: block; font-size: .6875rem; font-weight: 600;
  letter-spacing: .18em; color: var(--color-primary); margin-bottom: var(--sp-4);
}
.why__title { font-size: 1.0625rem; font-weight: 600; color: var(--color-text-strong); letter-spacing: -.005em; }
.why__body { margin-top: var(--sp-3); font-size: .9375rem; color: var(--color-muted); }

/* ---------------------------------------------------------- 12. process */
.process {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  counter-reset: step;
}
.process__step { position: relative; padding-top: var(--sp-6); }
.process__step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--color-border);
}
.process__step::after {
  content: ""; position: absolute; top: -3px; left: 0; width: 7px; height: 7px;
  border-radius: 50%; background: var(--color-primary);
}
.process__num {
  display: block; font-family: var(--ff-display);
  font-size: 1.75rem; font-weight: 500; line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--silver-400); margin-bottom: var(--sp-4);
}
.process__title { font-size: 1.0625rem; font-weight: 600; color: var(--color-text-strong); }
.process__body { margin-top: var(--sp-3); font-size: .875rem; color: var(--color-muted); }

/* ------------------------------------------------------- 13. experience */
.experience {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 1100px) { .experience { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .experience { grid-template-columns: 1fr; } }
.exp-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: border-color var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.exp-card:hover { border-color: var(--silver-400); transform: translateY(-2px); }
.exp-card__rule { display: block; width: 32px; height: 2px; background: var(--color-primary); }
.exp-card__title {
  margin-top: var(--sp-5); font-size: 1rem; font-weight: 600;
  letter-spacing: -.005em; color: var(--color-text-strong);
}
.exp-card__body { margin-top: var(--sp-3); font-size: .875rem; color: var(--color-muted); }

/* ----------------------------------------------------- 14. capabilities */
.capgrid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
}
.capgrid__col { padding-top: var(--sp-5); border-top: 1px solid var(--color-border-invert); }
.capgrid__title {
  font-size: .6875rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ocean-300);
}
.capgrid__list { margin-top: var(--sp-5); display: flex; flex-direction: column; gap: .625rem; }
.capgrid__list li { font-size: .9375rem; color: rgba(255,255,255,.84); }

/* ------------------------------------------------------------ 15. about */
.about {
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.about__card {
  background: var(--color-surface-dark);
  color: var(--color-text-invert);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative; overflow: hidden;
}
.about__mark { display: block; width: 48px; margin-bottom: var(--sp-5); }
.about__mark svg { width: 100%; height: auto; }
.about__monogram {
  display: block; font-family: var(--ff-display);
  font-size: 3rem; font-weight: 650; line-height: 1;
  letter-spacing: .07em; color: var(--ocean-300);
  font-variant-numeric: lining-nums;
}
.about__name {
  margin-top: var(--sp-4); font-size: 1.25rem; font-weight: 600;
  letter-spacing: -.01em;
}
.about__line { margin-top: .4rem; font-size: .8125rem; color: var(--color-muted-invert); }
.about__marks { display: flex; flex-direction: column; gap: .3rem; }
.about__marks li { font-size: .875rem; color: rgba(255,255,255,.88); }
.about__meta {
  margin-top: var(--sp-6); padding-top: var(--sp-5);
  border-top: 1px solid var(--color-border-invert);
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.about__meta dt {
  font-size: .625rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--silver-500);
}
.about__meta dd { margin-top: .25rem; font-size: .875rem; color: rgba(255,255,255,.88); }

.about__body .section__title { margin-top: var(--sp-4); }
.about__para { margin-top: var(--sp-5); color: var(--color-muted); max-width: 40rem; }
.about__points {
  margin-top: var(--sp-6); padding-top: var(--sp-6);
  border-top: 1px solid var(--color-border);
  display: grid; gap: var(--sp-4);
}
.about__points li { display: flex; gap: .75rem; font-size: .9375rem; color: var(--slate-700); }
.icon--check { width: 18px; height: 18px; flex: none; color: var(--color-primary); margin-top: .22em; }

/* ----------------------------------------------- 16. contact & enquiry */
.contact {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.contact__intro .section__title { margin-top: var(--sp-4); }
.contact__note {
  margin-top: var(--sp-5); font-size: .8125rem;
  letter-spacing: .06em; color: var(--silver-500);
}
.contact__cta { margin-top: var(--sp-7); }

/* Company enquiry panel — replaces the former personal business card. It
   carries no telephone, mailbox or saved-contact action: one route in. */
.enquiry {
  background: rgba(255,255,255,.035);
  border: 1px solid var(--color-border-invert);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
}
.enquiry__head { display: flex; align-items: center; gap: 1rem; }
.enquiry__mark { width: 40px; flex: none; }
.enquiry__mark svg { width: 100%; height: auto; }
.enquiry__name { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.enquiry__role { margin-top: .2rem; font-size: .75rem; color: var(--color-muted-invert); }
.enquiry__label {
  margin-top: var(--sp-5); padding-top: var(--sp-5);
  border-top: 1px solid var(--color-border-invert);
  font-size: .6875rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ocean-300);
}
.enquiry__points { margin-top: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-3); }
.enquiry__points li {
  display: flex; gap: .75rem; align-items: flex-start;
  font-size: .9375rem; color: rgba(255,255,255,.88); line-height: 1.5;
}
.enquiry__points .icon--check { color: var(--ocean-300); flex: none; margin-top: .15rem; }
.enquiry__foot {
  margin-top: var(--sp-6); padding-top: var(--sp-5);
  border-top: 1px solid var(--color-border-invert);
}
.enquiry__site {
  margin-top: var(--sp-4);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .625rem;
  font-size: .8125rem;
}
.enquiry__site span {
  font-size: .625rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--silver-500);
}
.enquiry__site a {
  display: inline-flex; align-items: center; min-height: 24px;
  color: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(255,255,255,.2);
  transition: border-color var(--dur-1) var(--ease);
}
.enquiry__site a:hover { border-bottom-color: var(--ocean-300); }

/* Result notice for the no-JavaScript submission path */
.notice {
  margin-bottom: var(--sp-6);
  padding: 1rem 1.25rem;
  border-left: 2px solid currentColor;
  font-size: .9375rem;
  background: rgba(255, 255, 255, .05);
}
.notice__title { font-weight: 600; margin-bottom: .25rem; }
.notice--success { color: var(--ocean-300); }
.notice--error { color: var(--color-error-invert); }
.notice p:not(.notice__title) { color: rgba(255, 255, 255, .84); }

/* ----------------------------------------------------------- 17. footer */
.site-footer {
  background: var(--color-surface-dark);
  color: var(--color-text-invert);
  padding-block: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--color-border-invert);
}
.site-footer__top {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--color-border-invert);
}
.site-footer__logo { display: block; width: 235px; max-width: 100%; height: auto; }
.site-footer__line {
  margin-top: var(--sp-5); font-size: .6875rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ocean-300);
}
.site-footer__tagline {
  margin-top: var(--sp-4); max-width: 30rem;
  font-size: .875rem; color: var(--color-muted-invert);
}
.site-footer__label {
  font-size: .625rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--silver-500); margin-bottom: var(--sp-4);
}
.site-footer__list { display: flex; flex-direction: column; gap: .375rem; }
.site-footer__list li { font-size: .9375rem; color: rgba(255,255,255,.85); }
.site-footer__list li,
.site-footer__list a {
  display: flex; align-items: center; min-height: 26px;
}
.site-footer__list a { transition: color var(--dur-1) var(--ease); }
.site-footer__list a:hover { color: var(--ocean-300); }
.site-footer__lang .lang__list { justify-content: flex-start; }
.site-footer__bottom {
  margin-top: var(--sp-5);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-4);
  font-size: .75rem; color: var(--silver-500);
}
.site-footer__legal { display: flex; gap: var(--sp-5); }
.site-footer__legal a { display: inline-flex; align-items: center; min-height: 24px; }
.site-footer__legal a:hover { color: var(--white); }

/* ------------------------------------------- 17b. what we manage */
/* A plain scope list set as a precise grid with hairline rules — the
   managerial equivalent of a contents page, not another wall of cards. */
.section--manage .section__note { margin-top: var(--sp-7); }
.manage {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0 clamp(2rem, 4vw, 4rem);
  border-top: 1px solid var(--color-border);
}
.manage__item {
  display: flex; align-items: center; gap: 1rem;
  padding: clamp(.95rem, 1.6vw, 1.2rem) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: clamp(.9375rem, 1.1vw, 1.0625rem);
  color: var(--slate-800); letter-spacing: -.005em;
}
.manage__rule { flex: none; width: 1.5rem; height: 1px; background: var(--ocean-500); opacity: .55; }

/* Full-width button, used where a panel gives it the whole column */
.btn--block { display: flex; width: 100%; }

/* ------------------------------------------------------ 18. sticky bar */
.sticky-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 80;
  display: none;
  background: var(--sticky-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--sticky-border);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(105%);
  transition: transform var(--dur-3) var(--ease-out);
}
.sticky-bar.is-visible { transform: translateY(0); }
/* One action only. It spans the bar rather than sitting in a third of it. */
.sticky-bar--single .sticky-bar__item { flex: 1 1 100%; letter-spacing: .04em; }
.sticky-bar__item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: .25rem;
  padding: .6875rem .5rem .75rem;
  font-size: .625rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.72); min-height: 56px; justify-content: center;
}
.sticky-bar__item .icon { width: 19px; height: 19px; }
.sticky-bar__item--primary { color: var(--ocean-300); }
.sticky-bar__item:active { background: rgba(255,255,255,.06); }

/* ------------------------------------------------------------ 19. modal */
.modal { position: fixed; inset: 0; z-index: 120; display: flex; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0; background: var(--modal-backdrop);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity var(--dur-2) var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; margin: auto;
  width: min(100%, var(--modal-max));
  max-height: 100%;
  display: flex; flex-direction: column;
  background: var(--modal-bg); color: var(--color-text);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px -20px rgba(5, 15, 26, .5);
  opacity: 0; transform: translateY(12px) scale(.99);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out);
  overflow: hidden;
}
.modal.is-open .modal__panel { opacity: 1; transform: none; }

.modal__head {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem) var(--sp-4);
  border-bottom: 1px solid var(--color-border);
}
.modal__head-text { display: flex; gap: .875rem; align-items: flex-start; flex: 1; min-width: 0; }
.modal__mark { width: 30px; flex: none; margin-top: .2rem; }
.modal__mark svg { width: 100%; height: auto; }
.modal__title {
  font-family: var(--ff-display); font-size: 1.5rem; font-weight: 600;
  letter-spacing: -.01em; color: var(--color-text-strong);
}
.modal__sub { margin-top: .375rem; font-size: .8125rem; color: var(--color-muted); }
.modal__close {
  flex: none; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--color-muted);
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.modal__close:hover { background: var(--silver-100); color: var(--color-text); }
.modal__close .icon { width: 18px; height: 18px; }

.modal__progress {
  padding: var(--sp-4) clamp(1.25rem, 3vw, 2rem) 0;
  display: flex; align-items: center; gap: 1rem;
}
.modal__progress-text {
  font-size: .6875rem; font-weight: 600; letter-spacing: .14em;
  color: var(--color-muted); display: flex; gap: .3rem; flex: none;
}
.modal__progress-now { color: var(--color-primary); }
.modal__progress-track { flex: 1; height: 1px; background: var(--color-border); position: relative; }
.modal__progress-bar {
  position: absolute; inset: 0 auto 0 0; width: 16.6667%;
  background: var(--color-primary);
  transition: width var(--dur-3) var(--ease-out);
}

.modal__form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.modal__body {
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
  overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; min-height: 0;
}
.step[hidden] { display: none; }
.step__title {
  font-family: var(--ff-display); font-size: 1.375rem; font-weight: 600;
  color: var(--color-text-strong); letter-spacing: -.005em;
  display: block; margin-bottom: var(--sp-5); text-wrap: balance;
}
.step__error {
  margin: calc(var(--sp-5) * -1 + .25rem) 0 var(--sp-5);
  padding: .625rem .875rem;
  background: #fdf2f2; border-left: 2px solid var(--color-error);
  color: var(--color-error); font-size: .8125rem;
}
.step__error[hidden] { display: none; }

.modal__foot {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4) clamp(1.25rem, 3vw, 2rem);
  padding-bottom: calc(var(--sp-4) + env(safe-area-inset-bottom));
  border-top: 1px solid var(--color-border);
  background: var(--off-white);
}
.modal__foot-spacer { flex: 1; }
.modal__foot .btn[hidden] { display: none; }

.modal__success {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.modal__success[hidden] { display: none; }
.modal__success-mark { display: block; width: 56px; margin: 0 auto var(--sp-6); }
.modal__success-mark svg { width: 100%; height: auto; }
.modal__success-title {
  font-family: var(--ff-display); font-size: 2rem; font-weight: 600;
  color: var(--color-text-strong);
}
.modal__success-line { margin-top: var(--sp-4); font-size: 1.0625rem; color: var(--color-text); }
.modal__success-sub {
  margin-top: var(--sp-3); font-size: .9375rem; color: var(--color-muted);
  max-width: 34rem; margin-inline: auto;
}
.modal__success .btn { margin-top: var(--sp-7); }

/* ---------------------------------------- 19b. no-JavaScript fallback */
/* Without JS the dialog is opened by :target from the CTA links, every step is
   shown stacked, the native flag <select> is used, and one submit button posts
   the whole form to contact/submit.php. Nothing is required that JS provides. */
html:not(.js) .modal:target { display: flex; }
html:not(.js) .modal:target .modal__backdrop { opacity: 1; }
html:not(.js) .modal__panel { opacity: 1; transform: none; }
html:not(.js) .modal__progress { display: none; }
html:not(.js) .step[hidden] { display: block; }
html:not(.js) .step + .step {
  margin-top: var(--sp-6); padding-top: var(--sp-6);
  border-top: 1px solid var(--color-border);
}
html:not(.js) [data-consult-next],
html:not(.js) [data-consult-back] { display: none; }
html:not(.js) [data-consult-submit][hidden] { display: inline-flex; }
html:not(.js) .combo__list { display: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ------------------------------------------------------------- 20. tiles */
.tiles { display: grid; gap: .625rem; }
.tile { position: relative; display: block; cursor: pointer; }
.tile__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile__inner {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.125rem;
  background: var(--tile-bg);
  border: 1px solid var(--tile-border);
  border-radius: var(--radius);
  transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease),
              box-shadow var(--dur-1) var(--ease);
}
.tile:hover .tile__inner { border-color: var(--silver-400); background: var(--tile-bg-hover); }
.tile__input:focus-visible + .tile__inner { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tile__input:checked + .tile__inner {
  border-color: var(--tile-border-on);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--tile-border-on);
}
.tile__text { flex: 1; min-width: 0; }
.tile__label { display: block; font-size: .9375rem; font-weight: 600; color: var(--color-text-strong); }
.tile__desc { display: block; margin-top: .2rem; font-size: .8125rem; color: var(--color-muted); }
.tile__mark {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--silver-300);
  display: flex; align-items: center; justify-content: center;
  color: transparent;
  transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease),
              color var(--dur-1) var(--ease);
}
.tile__mark .icon { width: 13px; height: 13px; }
.tile__input:checked + .tile__inner .tile__mark {
  background: var(--color-primary); border-color: var(--color-primary); color: var(--white);
}

/* ------------------------------------------------------------ 21. fields */
.field + .field { margin-top: var(--sp-5); }
.field__label {
  display: block; margin-bottom: .5rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--slate-700);
}
.field__req { color: var(--color-primary); }
.field__optional {
  text-transform: none; letter-spacing: 0; font-weight: 400;
  color: var(--color-label-on-light); font-size: .6875rem; margin-left: .35rem;
}
.field__input, .field__select {
  width: 100%; padding: .8125rem .9375rem;
  background: var(--field-bg); color: var(--field-fg);
  border: 1px solid var(--field-border); border-radius: var(--radius);
  font-size: .9375rem;
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.field__input::placeholder { color: var(--silver-400); }
.field__input:hover, .field__select:hover { border-color: var(--silver-400); }
.field__input:focus-visible, .field__select:focus-visible {
  border-color: var(--color-primary); outline: none;
  box-shadow: 0 0 0 3px rgba(31, 106, 158, .16);
}
.field__input--area { resize: vertical; min-height: 96px; line-height: 1.55; }
.field__input.is-invalid, .field__select.is-invalid { border-color: var(--color-error); }
.field__help { margin-top: .5rem; font-size: .75rem; color: var(--color-label-on-light); }
.field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7f91' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center; background-size: 18px;
  padding-right: 2.5rem;
}
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
.field-grid .field + .field { margin-top: 0; }

/* combobox */
.combo { position: relative; }
.combo__control { position: relative; }
.combo__icon {
  position: absolute; left: .875rem; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--silver-400); pointer-events: none;
}
.combo__input {
  width: 100%; padding: .8125rem .9375rem .8125rem 2.5rem;
  background: var(--field-bg); color: var(--field-fg);
  border: 1px solid var(--field-border); border-radius: var(--radius);
  font-size: .9375rem;
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.combo__input:focus-visible {
  border-color: var(--color-primary); outline: none;
  box-shadow: 0 0 0 3px rgba(31, 106, 158, .16);
}
.combo__list {
  /* Positioned against the viewport by JS so the scrolling modal body cannot
     clip it; these are the pre-script defaults. */
  position: absolute; z-index: 130; inset-inline: 0; top: calc(100% + 4px);
  max-height: 200px; overflow-y: auto; overscroll-behavior: contain;
  background: var(--white); border: 1px solid var(--silver-300);
  border-radius: var(--radius); box-shadow: 0 12px 28px -12px rgba(5,15,26,.28);
}
.combo__list[hidden] { display: none; }
.combo__opt {
  padding: .625rem .9375rem; font-size: .9375rem; cursor: pointer;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.combo__opt:hover, .combo__opt.is-active { background: var(--silver-100); }
.combo__opt[aria-selected="true"] { color: var(--color-primary); font-weight: 600; }
.combo__opt-code { font-size: .6875rem; letter-spacing: .1em; color: var(--color-label-on-light); }
.combo__group {
  padding: .5rem .9375rem .375rem; font-size: .625rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--color-label-on-light);
  border-top: 1px solid var(--color-border);
}
.combo__group:first-child { border-top: 0; }
.combo__empty { padding: .875rem .9375rem; font-size: .875rem; color: var(--color-muted); }
.js .combo__native { display: none; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: .375rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: block; padding: .5rem .875rem;
  border: 1px solid var(--field-border); border-radius: 999px;
  font-size: .8125rem; color: var(--color-muted);
  transition: all var(--dur-1) var(--ease);
}
.chip:hover span { border-color: var(--silver-400); }
.chip input:focus-visible + span { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.chip input:checked + span {
  border-color: var(--color-primary); color: var(--color-primary);
  background: rgba(31, 106, 158, .06); font-weight: 600;
}

/* consent */
.consent {
  display: flex; gap: .75rem; align-items: flex-start;
  margin-top: var(--sp-6); padding-top: var(--sp-5);
  border-top: 1px solid var(--color-border);
  cursor: pointer;
}
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__box {
  flex: none; width: 20px; height: 20px; margin-top: .1rem;
  border: 1px solid var(--field-border); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: transparent; background: var(--white);
  transition: all var(--dur-1) var(--ease);
}
.consent__box .icon { width: 13px; height: 13px; }
.consent input:checked + .consent__box {
  background: var(--color-primary); border-color: var(--color-primary); color: var(--white);
}
.consent input:focus-visible + .consent__box { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.consent input.is-invalid + .consent__box { border-color: var(--color-error); }
.consent__text { font-size: .8125rem; color: var(--color-muted); line-height: 1.5; }
.consent__text a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }

/* ------------------------------------------------------------- 22. legal */
.legal { padding-top: calc(var(--header-height) + clamp(3rem, 7vw, 5.5rem)); padding-bottom: clamp(4rem, 8vw, 7rem); }
.legal__head { padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--color-border); }
.legal__title {
  margin-top: var(--sp-4); font-family: var(--ff-display);
  font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; letter-spacing: -.015em;
  color: var(--color-text-strong);
}
.legal__meta { margin-top: var(--sp-4); font-size: .75rem; letter-spacing: .06em; color: var(--color-label-on-light); }
.legal__intro { margin-top: var(--sp-5); color: var(--color-muted); font-size: 1.0625rem; max-width: 40rem; }
.legal__section { margin-top: clamp(2.25rem, 4vw, 3rem); }
.legal__h2 {
  display: flex; gap: .875rem; align-items: baseline;
  font-size: 1.125rem; font-weight: 600; color: var(--color-text-strong);
  margin-bottom: var(--sp-4);
}
.legal__h2 span { font-size: .6875rem; font-weight: 600; letter-spacing: .1em; color: var(--color-primary); }
.legal__section p { margin-top: var(--sp-4); color: var(--color-muted); max-width: 42rem; }
.legal__section p a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.legal__list { margin-top: var(--sp-4); display: grid; gap: .625rem; max-width: 42rem; }
.legal__list li { position: relative; padding-left: 1.25rem; color: var(--color-muted); font-size: .9375rem; }
.legal__list li::before {
  content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 1px; background: var(--ocean-500);
}
.legal__back { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: var(--sp-6); border-top: 1px solid var(--color-border); }
.legal__section p a, .consent__text a { padding-block: 2px; }
.legal__back .icon { transform: rotate(180deg); }

/* ------------------------------------------------------------- 23. 404 */
.notfound {
  min-height: 100svh; display: flex; align-items: center;
  background: var(--color-surface-dark); color: var(--color-text-invert);
  padding-top: var(--header-height);
}
.notfound__inner { text-align: center; padding-block: clamp(3rem, 8vw, 6rem); }
.notfound__mark { display: block; width: 62px; margin: 0 auto; }
.notfound__mark svg { width: 100%; height: auto; }
.notfound__code {
  margin-top: var(--sp-6); font-family: var(--ff-display);
  font-variant-numeric: lining-nums;
  font-size: clamp(3.5rem, 12vw, 6rem); font-weight: 600; line-height: 1;
  color: rgba(255,255,255,.14);
}
.notfound__title {
  margin-top: var(--sp-4); font-family: var(--ff-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 600; letter-spacing: -.01em;
}
.notfound__body { margin-top: var(--sp-4); color: var(--color-muted-invert); }
.notfound__actions {
  margin-top: var(--sp-8); display: flex; flex-wrap: wrap;
  gap: var(--sp-4); justify-content: center;
}

/* -------------------------------------------------------- 24. animation */
.reveal { opacity: 0; transform: translateY(14px); }
.js .reveal {
  transition: opacity var(--dur-3) var(--ease-out) var(--d, 0ms),
              transform var(--dur-3) var(--ease-out) var(--d, 0ms);
}
.js .reveal.is-in, html:not(.js) .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .modal__panel { opacity: 1; transform: none; }
}

/* ------------------------------------------------------- 25. responsive */
@media (min-width: 1024px) {
  .hero__scroll { display: flex; }
}

/* The serif logotype, the horizontal nav, the language switcher and the CTA
   together need about 1240px. Below that the menu collapses rather than
   letting the logotype shrink into the navigation. */
@media (max-width: 1240px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header__actions { margin-inline-start: auto; }
}

@media (max-width: 1080px) {
  .service { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .service__caps { grid-column: 2; }
  .service__summary { max-width: 46ch; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-5); }
  .about { grid-template-columns: 1fr; }
  .about__card { max-width: 420px; }
  .contact { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__lang { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-height: 66px; }
  .site-header__cta { display: none; }
  .brand__desc { display: none; }
  /* Language lives in the menu panel and the footer on small screens, so the
     header keeps room for the brand and the menu button. */
  .site-header__lang { display: none; }
  .site-header__inner { gap: var(--sp-4); }
  .sticky-bar { display: flex; }
  .contact { gap: var(--sp-8); }
}

@media (max-width: 720px) {
  .hero { min-height: auto; padding-top: calc(var(--header-height) + 3rem); padding-bottom: 3rem; }
  /* Not enough vertical room for the wake without it crossing the buttons. */
  .hero__wake { display: none; }
  .eyebrow { letter-spacing: .14em; }
  .hero__title { max-width: none; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: .75rem; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .link-quiet { justify-content: center; margin-top: .375rem; padding: .5rem; }

  .service { grid-template-columns: 1fr; gap: var(--sp-5); }
  .service__index { font-size: 1.5rem; }
  .service__caps { grid-column: 1; }
  .caps { grid-template-columns: 1fr; gap: .5rem; }
  .process { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }

  .modal { align-items: flex-end; }
  .modal__panel {
    /* iOS Safari: give the sheet a definite dynamic-viewport height so the
       scrollable body can shrink and the action footer can never fall below
       the visible viewport. */
    margin: 0;
    width: 100%;
    height: 92vh;
    height: 92dvh;
    max-height: 92vh;
    max-height: 92dvh;
    min-height: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(24px);
    overflow: hidden;
  }
  .modal__form {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }
  .modal__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .modal__sub { display: none; }
  .modal__foot {
    position: relative;
    bottom: auto;
    z-index: 5;
    flex: 0 0 auto;
    flex-shrink: 0;
    width: 100%;
  }
  .modal__foot-spacer { display: none; }
  .modal__foot .btn { flex: 1; }

  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; gap: var(--sp-3); }
  .enquiry__site { flex-direction: column; gap: .25rem; }
}

@media (max-width: 480px) {
  .brand__name { font-size: .875rem; letter-spacing: .08em; }
  .brand__mark { width: 27px; }
  .brand { gap: .625rem; }
  .brand__rule { height: 22px; }
}
@media (max-width: 370px) {
  .brand__name { font-size: .75rem; letter-spacing: .04em; }
  .brand__mark { width: 24px; }
  .brand { gap: .5rem; }
}
@media (max-width: 420px) {
  .modal__title { font-size: 1.25rem; }
  .step__title { font-size: 1.1875rem; }
  .tile__inner { padding: .875rem 1rem; gap: .75rem; }
}

/* Leave room for the sticky bar so it never covers the last element */
@media (max-width: 900px) {
  .site-footer { padding-bottom: calc(4.25rem + env(safe-area-inset-bottom)); }
}

/* ------------------------------------------------------------ 26. print */
@media print {
  .site-header, .mobile-nav, .sticky-bar, .modal, .hero__scroll { display: none !important; }
  body { color: #000; background: #fff; }
  .section--caps, .section--contact, .hero, .site-footer { background: #fff !important; color: #000 !important; }
}