/* Pratirio Koufonisia — "pump to pontoon": whitewashed land at the top, the Aegean deepening as you scroll.
   Display: Sofia Sans Extra Condensed (harbour signage). Body: Sofia Sans. Labels: JetBrains Mono (chart readouts). */

/* ---------- Fonts (self-hosted: no requests to Google, GDPR-friendly) ---------- */
@font-face { font-family: "Display"; font-weight: 800; font-display: swap; src: url("../fonts/display-greek.woff2") format("woff2"); unicode-range: U+0370-03FF; }
@font-face { font-family: "Display"; font-weight: 800; font-display: swap; src: url("../fonts/display-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215; }
@font-face { font-family: "Body"; font-weight: 300 800; font-display: swap; src: url("../fonts/body-greek.woff2") format("woff2"); unicode-range: U+0370-03FF; }
@font-face { font-family: "Body"; font-weight: 300 800; font-display: swap; src: url("../fonts/body-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215; }
@font-face { font-family: "Mono"; font-weight: 500; font-display: swap; src: url("../fonts/mono-greek.woff2") format("woff2"); unicode-range: U+0370-03FF; }
@font-face { font-family: "Mono"; font-weight: 500; font-display: swap; src: url("../fonts/mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2190-2199; }

/* Size-matched fallback: text takes the same space before and after the web font arrives (no layout shift). */
@font-face { font-family: "Body Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"), local("Roboto"); size-adjust: 100%; }

/* ---------- Tokens ---------- */
:root {
  /* palette */
  --ink: #0a1f3d;          /* deep Aegean: text on light, dark sections */
  --ink-2: #102a50;        /* raised surface on ink */
  --ink-3: #06142b;        /* footer, deepest water */
  --sea: #19c3cf;          /* Koufonisia turquoise: lines & text on ink */
  --sea-ink: #00727f;      /* turquoise dark enough for text on light */
  --flare: #ff6a3d;        /* hazard diamond / sunset: calls to action */
  --wash: #f2f6f6;         /* whitewash */
  --paper: #ffffff;
  --stone: #e7dfd2;        /* dry-stone walls */

  /* roles (the accessibility modes swap these) */
  --bg: var(--wash);
  --bg-alt: var(--paper);
  --fg: var(--ink);
  --muted: #45566d;
  --dark: var(--ink);
  --dark-2: var(--ink-2);
  --dark-3: var(--ink-3);
  --on-dark: #ffffff;
  --on-dark-muted: #b9c7da;
  --accent: var(--flare);
  --on-accent: var(--ink);
  --line: rgb(10 31 61 / .14);
  --line-dark: rgb(255 255 255 / .16);
  --focus: var(--flare);

  --font-display: "Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-body: "Body", "Body Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ds: 1;                 /* display scale (readable-font mode shrinks it) */

  --radius: 26px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --fs-scale: 1;
  --ease-out: cubic-bezier(.16, .84, .24, 1);
  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: calc(100% * var(--fs-scale));
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
picture { display: contents; }   /* the <img> inside lays out as if it were a direct child */
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
code { font-family: var(--font-mono); font-size: .85em; background: var(--bg); padding: .1em .35em; border-radius: 4px; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 1000;
  background: var(--dark); color: var(--on-dark); padding: .7em 1.1em; border-radius: 8px;
  font-weight: 700; text-decoration: none; transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.narrow { --container: 800px; }
.small { font-size: .9rem; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.nowrap { white-space: nowrap; }

/* Shared type */
.eyebrow {
  display: flex; align-items: center; gap: .8em;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sea-ink); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.eyebrow-light, .services .eyebrow { color: var(--sea); }
.title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: calc(var(--ds) * clamp(2.6rem, 1.6rem + 4.4vw, 5.4rem));
  line-height: .9; letter-spacing: -.005em; max-width: 16ch;
}
.title-light { color: var(--on-dark); }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--on-accent); --btn-sweep: var(--dark); --btn-sweep-fg: var(--on-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .7em 1.3em; border-radius: 8px; border: 2px solid transparent;
  font-weight: 700; font-size: 1.05rem; line-height: 1.15; text-decoration: none; font-variant-numeric: tabular-nums;
  color: var(--btn-fg);
  background: linear-gradient(var(--btn-sweep) 0 0) left / 0% 100% no-repeat, var(--btn-bg);
  transition: background-size .45s var(--ease-out), color .3s;
}
.btn:hover { background-size: 100% 100%, auto; color: var(--btn-sweep-fg); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-lg { min-height: 60px; padding: .9em 1.6em; font-size: 1.15rem; }
.btn-flare { --btn-bg: var(--accent); --btn-fg: var(--on-accent); }
.btn-sea { --btn-bg: var(--sea); --btn-fg: var(--ink); --btn-sweep: var(--on-dark); --btn-sweep-fg: var(--ink); }
.btn-choice { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-sweep: var(--sea); --btn-sweep-fg: var(--ink); }
.btn-ghost { --btn-bg: transparent; --btn-fg: currentColor; --btn-sweep: rgb(255 255 255 / .12); --btn-sweep-fg: currentColor; border-color: currentColor; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55em; min-height: 44px;
  font-weight: 700; text-decoration: none; color: var(--fg);
  background: linear-gradient(currentColor 0 0) left bottom / 100% 2px no-repeat;
  padding-bottom: 2px; transition: background-size .4s var(--ease-out);
}
.link-arrow:hover { background-size: 0% 2px; }
.link-arrow .icon { transition: transform .3s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(5px); }
.link-arrow-light { color: var(--on-dark); }
.link-button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: .2em; font: inherit; }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  border-bottom: 1px solid var(--line);
  transition: transform .45s var(--ease-out);
}
/* The frosted background lives on a pseudo-element: a backdrop-filter on the header itself would
   trap the full-screen mobile menu (position: fixed) inside the header's box. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgb(242 246 246 / .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background-color .3s;
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; width: min(100% - 2 * var(--gutter), 1400px); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); flex: none; position: relative; z-index: 2; }
.brand-mark { width: 42px; height: 42px; }
.mark-drop { fill: #0a1f3d; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-top { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sea-ink); margin-bottom: 3px; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; text-transform: uppercase; letter-spacing: .01em; line-height: .86; }
.brand-light { color: var(--on-dark); }
.brand-light .brand-top { color: var(--sea); }
.brand-light .mark-drop { stroke: #fff; stroke-width: 2.2; }

.main-nav { margin-inline: auto; }
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  position: relative; display: block; padding: .5em .7em; font-weight: 600; font-size: 1rem; text-decoration: none;
}
.nav-links a::after {
  content: ""; position: absolute; left: .7em; right: .7em; bottom: .25em; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-extras { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }
.lang { display: flex; padding: 3px; border: 1.5px solid var(--line); border-radius: 999px; font-family: var(--font-mono); font-size: .78rem; }
.lang-opt { display: grid; place-items: center; min-width: 38px; min-height: 34px; padding: 0 .55em; border-radius: 999px; text-decoration: none; }
.lang-opt.is-current { background: var(--dark); color: var(--on-dark); }
a.lang-opt:hover { background: var(--line); }
.btn-call { min-height: 44px; padding: .5em 1em; font-size: .98rem; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 10px; background: var(--dark); color: var(--on-dark); place-items: center; }
.menu-bars { position: relative; width: 20px; height: 12px; }
.menu-bars span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
.menu-bars span:first-child { top: 0; }
.menu-bars span:last-child { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-bars span:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars span:last-child { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1100px) { .nav-links a { padding-inline: .5em; } .nav-links a::after { left: .5em; right: .5em; } }
@media (max-width: 980px) {
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1; margin: 0;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: calc(var(--header-h) + 32px) var(--gutter) calc(96px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto; overscroll-behavior: contain;
    background: var(--dark); color: var(--on-dark);
    clip-path: circle(0 at calc(100% - 46px) 38px); visibility: hidden;
    transition: clip-path .7s var(--ease-out), visibility 0s .7s;
  }
  .main-nav.is-open { clip-path: circle(150% at calc(100% - 46px) 38px); visibility: visible; transition: clip-path .7s var(--ease-out); }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links li { overflow: hidden; }
  .nav-links a {
    font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
    font-size: calc(var(--ds) * clamp(2.6rem, 1.6rem + 6vw, 4rem)); line-height: 1; padding: .12em 0;
    transform: translateY(105%); transition: transform .6s var(--ease-out);
  }
  .nav-links a::after { left: 0; right: auto; width: 1.2em; bottom: .1em; height: 4px; }
  .main-nav.is-open .nav-links a { transform: none; }
  .main-nav.is-open li:nth-child(2) a { transition-delay: .05s; }
  .main-nav.is-open li:nth-child(3) a { transition-delay: .1s; }
  .main-nav.is-open li:nth-child(4) a { transition-delay: .15s; }
  .main-nav.is-open li:nth-child(5) a { transition-delay: .2s; }
  .nav-extras { display: grid; gap: 8px; border-top: 1px solid var(--line-dark); padding-top: 24px; }
  @media (max-height: 560px) {
    .main-nav { padding-top: calc(var(--header-h) + 16px); }
    .nav-links { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 40px; }
    .nav-links a { font-size: calc(var(--ds) * 2.1rem); }
    .nav-extras { display: flex; flex-wrap: wrap; column-gap: 28px; padding-top: 12px; margin-top: 16px; }
  }
  .nav-phone { display: inline-flex; align-items: center; gap: .6em; min-height: 44px; font-family: var(--font-mono); font-size: 1.15rem; color: var(--sea); text-decoration: none; overflow-wrap: anywhere; }
  .site-header.menu-open { border-color: var(--line-dark); }
  .site-header.menu-open::before { background: var(--dark); }
  .site-header.menu-open .brand { color: var(--on-dark); }
  .site-header.menu-open .brand-top { color: var(--sea); }
  .site-header.menu-open .mark-drop { stroke: #fff; stroke-width: 2.2; }
  .site-header.menu-open .lang { border-color: var(--line-dark); color: var(--on-dark); }
  .site-header.menu-open .lang-opt.is-current { background: var(--on-dark); color: var(--ink); }
  .site-header.menu-open .menu-toggle { background: var(--on-dark); color: var(--ink); }
}
@media (max-width: 560px) {
  :root { --header-h: 66px; }
  .header-inner { gap: 10px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 1.4rem; }
  .btn-call { width: 44px; padding: 0; }
  .btn-call .btn-call-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lang-opt { min-width: 34px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--bg); padding-top: var(--header-h); overflow: hidden; }
.hero-inner {
  width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(28px, 5vw, 72px); align-items: end;
  padding-block: clamp(36px, 6vw, 80px) clamp(70px, 9vw, 120px);
}
.hero-kicker { display: block; font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; letter-spacing: .01em; color: var(--sea-ink); margin-bottom: .7rem; }
.hero-display {
  display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: calc(var(--ds) * clamp(3rem, 1.4rem + 7.4vw, 8.8rem)); line-height: .84; letter-spacing: -.01em;
}
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; white-space: nowrap; }
.line-in { position: relative; display: inline-block; animation: line-up .8s var(--ease-out) both; }
.line:nth-child(2) .line-in { animation-delay: .12s; }
.line:nth-child(3) .line-in { animation-delay: .24s; }
.line-in.is-sea { color: var(--sea-ink); padding-bottom: .08em; }
.squiggle { position: absolute; left: 0; right: 0; bottom: 0; height: .11em; overflow: hidden; }
.squiggle::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -.55em; right: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 4q5-5 10 0t10 0 10 0 10 0' fill='none' stroke='%2319c3cf' stroke-width='2.6'/%3E%3C/svg%3E") 0 50% / .55em 100% repeat-x;
  animation: squiggle 2.6s linear infinite; will-change: transform;
}

/* Open-now status and Google rating above the headline */
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: clamp(18px, 2.6vw, 30px); }
.status {
  display: inline-flex; align-items: center; gap: .6em; margin: 0; padding: .45em .95em; white-space: nowrap;
  border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); font-size: .92rem; font-weight: 600;
}
.status-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.status.is-open .status-dot { background: #12a150; }
.status.is-open .status-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2.4s ease-out infinite; }
.status.is-closed .status-dot { background: var(--accent); }
.rating { display: inline-flex; align-items: center; gap: .4em; min-height: 40px; font-size: .95rem; color: var(--fg); text-decoration: none; }
.rating .icon, .locator-rating .icon { width: 1.05em; height: 1.05em; color: #f2a516; }
.rating:hover { text-decoration: underline; }
/* Phones: badge and rating each get their own line, so swapping the badge text never reflows the hero. */
@media (max-width: 600px) { .hero-meta { flex-direction: column; align-items: flex-start; gap: 6px; } .status { font-size: .88rem; } }
.hero-copy { min-width: 0; }
.hero-lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 46ch; margin: clamp(22px, 3vw, 34px) 0 clamp(26px, 3vw, 36px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

.hero-visual { position: relative; align-self: stretch; display: flex; align-items: flex-end; }
.arch {
  position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 660px;
  border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--dark);
  box-shadow: 0 40px 80px -40px rgb(10 31 61 / .55);
  margin-bottom: calc(-1 * clamp(40px, 5vw, 70px));
}
.arch-clip { position: absolute; inset: 0; animation: arch-in .9s var(--ease-out) .1s both; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; animation: settle 1.4s var(--ease-out) .1s both; }
.badge {
  position: absolute; left: clamp(-70px, -5vw, -24px); top: 22%; z-index: 2;
  width: clamp(116px, 11vw, 156px); aspect-ratio: 1; border-radius: 50%;
  background: var(--dark); display: grid; place-items: center;
  box-shadow: 0 18px 40px -16px rgb(10 31 61 / .6);
}
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge-ring text { font-family: var(--font-mono); font-size: 14.5px; letter-spacing: .06em; fill: var(--sea); }
.badge-mark { width: 40%; height: 40%; }
.badge-mark .mark-drop { stroke: #fff; stroke-width: 2.2; }


@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
  .hero-visual { max-width: 520px; width: 88%; margin-left: auto; }
  .arch { aspect-ratio: 5 / 5.4; margin-bottom: calc(-1 * clamp(50px, 12vw, 80px)); }
  .badge { left: -44px; top: 12%; }
}

/* Waves: three layers, each masked by one wavelength and slid sideways by exactly one wavelength
   (transform-only, so the GPU composites it and nothing repaints). */
.waves { position: relative; height: clamp(72px, 9vw, 150px); overflow: hidden; pointer-events: none; }
.hero > .waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; }
.wave {
  position: absolute; top: 0; bottom: 0; left: 0; width: calc(100% + var(--len));
  -webkit-mask: var(--mask) 0 0 / var(--len) 100% repeat-x; mask: var(--mask) 0 0 / var(--len) 100% repeat-x;
  animation: wave-slide var(--dur) linear infinite; will-change: transform;
}
.wave-back { --len: 480px; --dur: 40s; --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160' preserveAspectRatio='none'%3E%3Cpath d='M0 70 Q120 42 240 70 T480 70 V160 H0 Z'/%3E%3C/svg%3E"); background: var(--sea); opacity: .35; }
.wave-mid { --len: 720px; --dur: 27s; --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 160' preserveAspectRatio='none'%3E%3Cpath d='M0 92 Q180 68 360 92 T720 92 V160 H0 Z'/%3E%3C/svg%3E"); background: var(--sea-ink); opacity: .9; animation-direction: reverse; }
.wave-front { --len: 360px; --dur: 19s; --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 160' preserveAspectRatio='none'%3E%3Cpath d='M0 118 Q90 100 180 118 T360 118 V160 H0 Z'/%3E%3C/svg%3E"); background: var(--dark); }
.waves-wrap { background: var(--bg-alt); margin-bottom: -1px; }

/* ---------- Ticker ---------- */
.ticker { background: var(--dark); color: var(--on-dark); overflow: hidden; padding: 8px 0 30px; }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; }
.ticker-word {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; white-space: nowrap;
  font-size: calc(var(--ds) * clamp(2rem, 1.4rem + 2.4vw, 3.4rem)); line-height: 1; padding: 0 .4em;
}
.ticker-word.is-outline { color: transparent; -webkit-text-stroke: 1.5px var(--sea); }
.ticker-drop { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* ---------- Services: land / sea ---------- */
.services { background: var(--dark); color: var(--on-dark); padding-block: clamp(56px, 8vw, 110px) clamp(72px, 10vw, 140px); }
.section-head { margin-bottom: clamp(32px, 5vw, 64px); }
.modes { display: flex; gap: 16px; height: clamp(500px, 64vh, 640px); }
.mode {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: flex-end; color: var(--on-dark);
  transition: flex-grow .8s var(--ease-out);
}
.mode-media { position: absolute; inset: 0; }
.mode-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transform: scale(1.08); transition: filter .9s var(--ease-out), transform 1.4s var(--ease-out); }
.mode-media::before { content: ""; position: absolute; inset: 0; z-index: 1; mix-blend-mode: multiply; opacity: .85; transition: opacity .9s var(--ease-out); }
.mode-land .mode-media::before { background: #c9925d; }
.mode-sea .mode-media::before { background: var(--sea); }
.mode-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgb(6 20 43 / .95) 0%, rgb(6 20 43 / .86) 38%, rgb(6 20 43 / .55) 62%, rgb(6 20 43 / .05) 88%); }
.mode-body { position: relative; z-index: 2; padding: clamp(24px, 3vw, 40px); }
.mode-word {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: calc(var(--ds) * clamp(3rem, 1.6rem + 4.6vw, 6rem)); line-height: .84; margin-bottom: .3em;
  white-space: nowrap;
}
.mode-sea .mode-word { color: var(--sea); }
.mode-land .mode-word { color: var(--stone); }
.mode-title { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); margin-bottom: .8rem; }
.mode-text { max-width: 40ch; color: var(--on-dark-muted); font-size: 1.08rem; }
.mode-text strong { color: var(--on-dark); }
@media (hover: hover) and (min-width: 901px) {
  .mode:hover, .mode:focus-within { flex-grow: 1.5; }
  .mode:hover .mode-media img, .mode:focus-within .mode-media img { filter: none; transform: scale(1); }
  .mode:hover .mode-media::before, .mode:focus-within .mode-media::before { opacity: .2; }
}
@media (max-width: 900px) {
  .modes { flex-direction: column; height: auto; }
  .mode { min-height: 460px; }
  .mode-word { white-space: normal; }
}

/* ---------- How it works: the course to your boat ---------- */
.how {
  position: relative; overflow: hidden; padding-block: clamp(72px, 10vw, 140px);
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; background-position: -1px -1px;
}
.how .container { position: relative; }
.how .title { color: var(--fg); }
.route { position: relative; }
.route-svg { width: 100%; height: auto; overflow: visible; margin-bottom: 18px; }
.route-plan { fill: none; stroke: var(--fg); stroke-opacity: .3; stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; }
.route-done { fill: none; stroke: var(--sea-ink); stroke-width: 4; stroke-linecap: round; }
.route-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; fill: var(--muted); }
.route-origin { fill: var(--fg); }
.waypoint circle { fill: var(--bg); stroke: var(--fg); stroke-opacity: .35; stroke-width: 2; transition: fill .4s, stroke .4s; }
.waypoint text { font-family: var(--font-mono); font-size: 15px; fill: var(--fg); transition: fill .4s; }
.waypoint.is-reached circle { fill: var(--dark); stroke: var(--sea); stroke-opacity: 1; }
.waypoint.is-reached text { fill: var(--on-dark); }
.route-marker circle { fill: var(--accent); }
.route-marker path { fill: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.step { padding: 0 clamp(8px, 1.4vw, 22px); text-align: center; }
.step-num { display: block; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .14em; color: var(--sea-ink); margin-bottom: .5rem; transition: color .4s; }
.step.is-reached .step-num { color: var(--fg); }
.step-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: calc(var(--ds) * clamp(1.6rem, 1.2rem + 1vw, 2.2rem)); line-height: .95; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: 1.02rem; margin: 0; }
.compass {
  position: absolute; right: 0; top: -12px; width: clamp(84px, 10vw, 140px); height: auto;
  transform: rotate(calc(var(--p, 0) * 200deg - 20deg)); transition: transform .2s linear;
}
.compass circle { fill: none; stroke: var(--fg); stroke-opacity: .22; stroke-width: 1.2; }
.compass path { fill: var(--fg); opacity: .22; }
.compass .compass-n { fill: var(--accent); opacity: 1; }
.compass text { font-family: var(--font-mono); font-size: 9px; fill: var(--fg); }

@media (max-width: 900px) {
  .route-svg { display: none; }
  .steps { grid-template-columns: 1fr; gap: 34px; position: relative; padding-left: 68px; }
  .steps::before, .steps::after { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; }
  .steps::before { background: repeating-linear-gradient(var(--fg) 0 3px, transparent 3px 12px); opacity: .3; }
  .steps::after { background: var(--sea-ink); transform-origin: top; transform: scaleY(var(--p, 1)); }
  .step { position: relative; text-align: left; padding: 0; }
  .step-num {
    position: absolute; left: -68px; top: 0; z-index: 1; width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center; margin: 0; letter-spacing: 0;
    background: var(--bg); border: 2px solid var(--line); color: var(--fg); transition: background-color .4s, color .4s, border-color .4s;
  }
  .step.is-reached .step-num { background: var(--dark); color: var(--on-dark); border-color: var(--sea); }
  .compass { top: -96px; }
}

/* ---------- About ---------- */
.about { background: var(--bg-alt); padding-block: clamp(72px, 10vw, 150px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-media { position: relative; padding: 0 12% 14% 0; }
.about-photo { aspect-ratio: 4 / 4.6; border-radius: var(--radius) var(--radius) var(--radius) 160px; overflow: hidden; }
.about-photo img, .about-inset img { width: 100%; height: 100%; object-fit: cover; }
.about-inset {
  position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 4 / 3;
  border-radius: 18px; overflow: hidden; border: 8px solid var(--bg-alt); box-shadow: 0 30px 60px -30px rgb(10 31 61 / .5);
}
.about-title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: calc(var(--ds) * clamp(2.3rem, 1.5rem + 2.6vw, 3.9rem)); line-height: .92; margin-bottom: 1.4rem;
}
.about-text { color: var(--muted); font-size: 1.15rem; max-width: 50ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.fact dt { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sea-ink); margin-bottom: .5rem; }
.fact dd { font-size: 1rem; line-height: 1.5; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--bg-alt); padding-block: clamp(40px, 6vw, 80px) clamp(72px, 9vw, 120px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-aside .title { font-size: calc(var(--ds) * clamp(2.4rem, 1.6rem + 3vw, 4.2rem)); margin-bottom: 1.2rem; }
.faq-aside p { color: var(--muted); }
.faq-phone { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: .55em; font-family: var(--font-mono); font-size: 1.25rem; color: var(--fg); text-decoration: none; min-height: 44px; }
.faq-phone .icon { color: var(--accent); }
.faq-phone:hover { text-decoration: underline; }
.faq-email { font-size: 1.05rem; overflow-wrap: anywhere; }
.faq-list { border-top: 2px solid var(--fg); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); font-weight: 600; line-height: 1.3; }
.faq-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background-color .35s, color .35s, transform .45s var(--ease-out); }
.faq-item[open] .faq-icon { background: var(--dark); color: var(--on-dark); border-color: var(--dark); transform: rotate(135deg); }
.faq-item summary:hover .faq-icon { border-color: var(--fg); }
.faq-answer p { color: var(--muted); max-width: 62ch; padding: 0 60px 26px 0; margin: 0; }
.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .faq-answer p { padding-right: 0; }
}

/* ---------- Contact ---------- */
.contact { background: var(--dark); color: var(--on-dark); padding-block: clamp(32px, 4vw, 56px) clamp(80px, 10vw, 140px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact .title { max-width: none; margin-bottom: 1.2rem; }
.contact-lead { color: var(--on-dark-muted); font-size: 1.2rem; max-width: 40ch; margin-bottom: clamp(24px, 3vw, 40px); }
.phones { display: grid; gap: 4px; }
.phone {
  position: relative; display: inline-flex; align-items: flex-start; gap: .25em;
  font-family: var(--font-display); font-weight: 800; font-size: calc(var(--ds) * clamp(3rem, 1.8rem + 4.6vw, 6.6rem)); line-height: 1;
  color: var(--on-dark); text-decoration: none; font-variant-numeric: tabular-nums; letter-spacing: .01em;
  transition: color .3s;
}
.phone::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .06em; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.phone:hover { color: var(--sea); }
.phone:hover::after { transform: scaleX(1); transform-origin: left; }
.phone-cc { font-family: var(--font-mono); font-weight: 500; font-size: .2em; letter-spacing: .04em; color: var(--sea); padding-top: .35em; }
.phones li:nth-child(n + 2) .phone { font-size: calc(var(--ds) * clamp(2.2rem, 1.4rem + 3vw, 4.4rem)); }
.phone-tag { align-self: center; margin-left: .5em; font-family: var(--font-mono); font-weight: 500; font-size: .2em; letter-spacing: .12em; text-transform: uppercase; color: var(--sea); }
.contact-hours { margin-top: clamp(24px, 3vw, 36px); padding-top: 20px; border-top: 1px solid var(--line-dark); max-width: 460px; }
.contact-label { font-family: var(--font-mono); font-weight: 500; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sea); margin-bottom: .6rem; }
.contact-hours-line {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--on-dark);
  font-size: calc(var(--ds) * clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem)); line-height: 1.05; margin-bottom: .5rem; font-variant-numeric: tabular-nums;
}
.hours-days { display: block; color: var(--sea); font-size: .62em; letter-spacing: .02em; margin-bottom: .15em; }
.hours-sep { color: var(--sea); }
.contact-payment { display: flex; align-items: center; gap: .55em; color: var(--on-dark); font-weight: 600; margin-bottom: .5rem; }
.contact-payment .icon { color: var(--sea); }
.contact-hours-note { color: var(--on-dark-muted); font-size: .98rem; margin: 0; }
.locator-rating { display: inline-flex; align-items: center; gap: .45em; margin-top: 12px; min-height: 44px; color: var(--on-dark-muted); font-size: .95rem; text-decoration: none; }
.locator-rating:hover { color: var(--on-dark); text-decoration: underline; }
.contact-email {
  display: inline-flex; align-items: center; gap: .6em; min-height: 44px; margin-top: clamp(18px, 2.4vw, 28px);
  font-family: var(--font-mono); font-size: clamp(1rem, .9rem + .5vw, 1.3rem); color: var(--sea); text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(currentColor 0 0) left bottom / 0% 1.5px no-repeat; transition: background-size .4s var(--ease-out);
}
.contact-email:hover { background-size: 100% 1.5px; }
.contact-email .icon { color: var(--accent); }
.locator { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); background: var(--dark-2); text-align: center; }
.sonar {
  position: relative; width: min(220px, 70%); aspect-ratio: 1; margin: 0 auto 22px; border-radius: 50%;
  background:
    linear-gradient(var(--line-dark), var(--line-dark)) center / 100% 1px no-repeat,
    linear-gradient(var(--line-dark), var(--line-dark)) center / 1px 100% no-repeat,
    radial-gradient(circle, transparent 0 32%, var(--line-dark) 32.5% 33%, transparent 33.5% 65%, var(--line-dark) 65.5% 66%, transparent 66.5%);
  display: grid; place-items: center;
}
.sonar span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sea); opacity: 0; animation: ping 3.6s var(--ease-out) infinite; }
.sonar span:nth-child(2) { animation-delay: 1.2s; }
.sonar span:nth-child(3) { animation-delay: 2.4s; }
.sonar-pin { position: relative; width: 46px; height: 46px; color: var(--accent); animation: bob 2.4s ease-in-out infinite; }
.sonar-pin .pin-hole { fill: var(--dark-2); }
.map {
  position: relative; aspect-ratio: 4 / 3; margin: 0 0 20px; border-radius: 18px; overflow: hidden;
  background: var(--dark-3); border: 1px solid var(--line-dark);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 16px; text-align: center; }
.map-placeholder .sonar { width: min(150px, 42%); margin: 0; }
.map-load { min-height: 44px; font-size: .95rem; color: var(--on-dark); }
.map-load .icon { color: var(--accent); }
.map-notice { margin: 0; max-width: 34ch; font-size: .8rem; line-height: 1.4; color: var(--on-dark-muted); }
.map-notice a { color: var(--on-dark); }
.locator-where { font-weight: 700; font-size: 1.15rem; margin-bottom: .4rem; }
.locator-note { color: var(--on-dark-muted); font-size: 1rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-3); color: var(--on-dark-muted); font-size: 1rem; overflow: hidden; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--sea); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 40px; padding-block: clamp(56px, 7vw, 96px) 24px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-title { font-family: var(--font-mono); font-weight: 500; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sea); margin-bottom: 1rem; }
.footer-list { display: grid; gap: 8px; list-style: none; }
.footer-list a, .footer-list .link-button { color: var(--on-dark); }
.footer-list .link-button:hover { color: var(--sea); }
.espa { width: 240px; background: #fff; padding: 8px; border-radius: 12px; align-self: start; }
.footer-wordmark {
  margin: 12px 0 0; text-align: center; white-space: nowrap; user-select: none;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: calc(var(--ds) * 21vw); line-height: .76; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1px rgb(25 195 207 / .4);
  translate: 0 .08em;
}
.footer-bottom { border-top: 1px solid var(--line-dark); position: relative; background: var(--dark-3); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 20px; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.credit { display: flex; align-items: center; gap: 10px; }
.credit img { width: 104px; height: auto; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Text pages (privacy, accessibility) ---------- */
.page-head {
  padding: calc(var(--header-h) + 28px) 0 24px; background-color: var(--bg);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; border-bottom: 1px solid var(--line);
}
.breadcrumbs { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.breadcrumbs a { color: var(--sea-ink); }
.text-page { background: var(--bg-alt); }
.prose { padding-block: 44px 100px; }
.prose h1 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: calc(var(--ds) * clamp(2.6rem, 1.8rem + 3vw, 4.4rem)); line-height: .9; margin-bottom: .5em; }
.prose h2 { font-size: 1.5rem; margin: 2em 0 .6em; }
.prose .lead { font-size: 1.25rem; color: var(--muted); }
.prose .muted { color: var(--muted); }
.prose a { color: var(--sea-ink); }
.prose ul { padding-left: 1.3em; display: grid; gap: .6em; margin-bottom: 1em; }
.table-wrap { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: .75em 1em; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--bg); font-family: var(--font-mono); font-weight: 500; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.prose tbody tr:last-child td { border-bottom: 0; }

/* 404 */
.page-404 { background: var(--bg); }
.not-found { min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; gap: .3rem; padding: 48px var(--gutter); }
.not-found-code { font-family: var(--font-display); font-weight: 800; font-size: calc(var(--ds) * clamp(7rem, 4rem + 14vw, 13rem)); line-height: .8; color: var(--sea-ink); margin: 1.2rem 0 .4rem; }
.not-found h1 { font-size: 1.8rem; }
.not-found h2 { margin-top: 1.4rem; font-size: 1.3rem; }
.not-found-phone a { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-mono); }

/* ---------- Accessibility toolbar ---------- */
.a11y { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + var(--consent-h, 0px)); z-index: 80; transition: bottom .3s var(--ease-out); }
.a11y-toggle {
  width: 52px; height: 52px; border-radius: 14px; border: 2px solid var(--sea);
  background: var(--ink); color: var(--sea); display: grid; place-items: center;
  box-shadow: 0 10px 30px -10px rgb(6 20 43 / .6);
}
.a11y-toggle:hover { background: var(--ink-2); }
.a11y-toggle .icon { width: 28px; height: 28px; }
.a11y-panel {
  position: absolute; left: 0; bottom: 64px; width: min(300px, calc(100vw - 32px));
  max-height: min(600px, calc(100svh - 110px)); overflow: auto;
  background: #fff; color: #0a1f3d; border-radius: 16px; border: 1px solid rgb(10 31 61 / .14);
  box-shadow: 0 30px 70px -24px rgb(6 20 43 / .55); padding: 8px;
}
.a11y-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 12px; }
.a11y-head h2 { font-family: var(--font-mono); font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.a11y-panel ul { list-style: none; display: grid; gap: 2px; }
.a11y-panel li button, .a11y-panel li a {
  width: 100%; display: flex; align-items: center; gap: .8em; padding: .65em .8em; min-height: 44px;
  border: 0; border-radius: 10px; background: transparent; text-align: left; font-size: 1rem; font-weight: 500;
  color: #0a1f3d; text-decoration: none;
}
.a11y-panel li button:hover, .a11y-panel li a:hover { background: #eef4f5; }
.a11y-panel li .icon { color: #00727f; }
.a11y-panel [aria-pressed="true"] { background: #0a1f3d !important; color: #fff !important; }
.a11y-panel [aria-pressed="true"] .icon { color: #19c3cf; }
.a11y-statement { border-top: 1px solid rgb(10 31 61 / .14); margin-top: 4px; padding-top: 4px; }

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 16px; z-index: 90;
  width: min(440px, calc(100vw - 32px));
  background: var(--ink); color: #fff; border-radius: 18px; border: 1px solid rgb(255 255 255 / .12);
  box-shadow: 0 30px 70px -20px rgb(0 0 0 / .55); padding: 22px;
}
.consent h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; line-height: 1; margin-bottom: .5rem; }
.consent p { font-size: .95rem; color: #b9c7da; margin-bottom: 16px; }
.consent a { color: #fff; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-actions .btn { min-height: 46px; font-size: .98rem; padding: .6em 1em; }
.consent-actions .btn-ghost { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .consent { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 18px 18px 0 0; padding: 14px max(16px, env(safe-area-inset-left, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)); }
  .consent h2 { font-size: 1.25rem; margin-bottom: .3rem; }
  .consent p { font-size: .86rem; line-height: 1.45; margin-bottom: 12px; }
  .consent-actions { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .consent-actions .btn-ghost { grid-column: auto; }
  .consent-actions .btn { min-height: 44px; font-size: .88rem; padding: .5em .4em; }
  .consent h2 { padding-right: 52px; }
  /* While the banner is up, the accessibility button sits on its top-right corner instead of over the page. */
  html.consent-open .a11y { left: auto; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(var(--consent-h, 0px) - 22px); z-index: 95; }
  html.consent-open .a11y-panel { left: auto; right: 0; }
  .a11y-toggle { width: 44px; height: 44px; border-radius: 12px; }
  .a11y-toggle .icon { width: 24px; height: 24px; }
  .a11y-panel { bottom: 56px; }
}
.consent-dialog {
  width: min(100% - 32px, 560px); max-height: calc(100svh - 32px);
  border: 0; border-radius: 20px; padding: 0; color: #0a1f3d; background: #fff;
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / .6);
}
.consent-dialog::backdrop { background: rgb(6 20 43 / .6); }
.consent-form { padding: 24px; }
.consent-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.consent-dialog-head h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 2rem; line-height: 1; }
.consent-form > p { color: #45566d; margin-top: .8em; }
.consent-option { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 16px 0; border-top: 1px solid rgb(10 31 61 / .14); }
.consent-option-title { font-weight: 700; margin: 0 0 .2em; display: block; }
.consent-option .small { margin: 0; color: #45566d; }
.consent-always { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #00727f; white-space: nowrap; }
.consent-form .consent-actions { grid-template-columns: 1fr 1fr 1fr; margin-top: 12px; }
.consent-form .consent-actions .btn { font-size: .98rem; }
.consent-form .consent-actions .btn-ghost { grid-column: auto; }
.consent-form .btn-choice { --btn-bg: #0a1f3d; --btn-fg: #fff; --btn-sweep: #00727f; --btn-sweep-fg: #fff; }
.consent-form .btn-ghost { color: #0a1f3d; --btn-sweep: rgb(10 31 61 / .08); }
@media (max-width: 520px) { .consent-form .consent-actions { grid-template-columns: 1fr 1fr; } .consent-form .consent-actions .btn-ghost { grid-column: 1 / -1; order: 3; } }
.switch {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 52px; height: 30px; border-radius: 999px; background: #8696aa; position: relative; cursor: pointer; margin: 0;
  transition: background-color .2s;
}
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease-out); }
.switch:checked { background: #00727f; }
.switch:checked::after { transform: translateX(22px); }

/* ---------- Motion ---------- */
@keyframes line-up { from { transform: translateY(108%); } to { transform: none; } }
@keyframes arch-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.18); } to { transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wave-slide { to { transform: translateX(calc(-1 * var(--len))); } }
@keyframes squiggle { to { transform: translateX(.55em); } }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(2.8); opacity: 0; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes ping { 0% { transform: scale(.15); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes rise { from { opacity: 0; translate: 0 56px; } to { opacity: 1; translate: 0 0; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes float { from { translate: 0 70px; } to { translate: 0 -50px; } }

/* Animations pause while their section is off-screen (set by main.js), so nothing runs unseen. */
.is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }

/* Scroll-linked reveals: only where supported, and content is fully visible otherwise. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not(.a11y-still) .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    html:not(.a11y-still) .reveal-clip { animation: wipe linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    html:not(.a11y-still) .about-inset { animation: float linear both; animation-timeline: view(); }
    html:not(.a11y-still) .footer-wordmark { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  }
}

/* Visitors who ask for less motion (OS setting or the toolbar / hero button) get a still page. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
html.a11y-still { scroll-behavior: auto; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition-duration: .01ms !important; }

/* ---------- Accessibility modes (toolbar) ---------- */
/* Filters on the root element do not break position: fixed children. */
html.a11y-grayscale { filter: grayscale(1); }
html.a11y-negative { filter: invert(1) hue-rotate(180deg); }
html.a11y-negative img, html.a11y-negative .mode-media::before { filter: invert(1) hue-rotate(180deg); }
html.a11y-grayscale.a11y-negative { filter: grayscale(1) invert(1); }

html.a11y-underline a { text-decoration: underline !important; }

html.a11y-readable {
  --font-display: Verdana, Tahoma, Arial, sans-serif;
  --font-body: Verdana, Tahoma, Arial, sans-serif;
  --font-mono: Verdana, Tahoma, Arial, sans-serif;
  --ds: .5;
}
html.a11y-readable body { letter-spacing: .02em; word-spacing: .08em; }
html.a11y-readable .line { white-space: normal; }
html.a11y-readable .title, html.a11y-readable .hero-display, html.a11y-readable .mode-word, html.a11y-readable .step-title,
html.a11y-readable .about-title, html.a11y-readable .phone, html.a11y-readable .ticker-word, html.a11y-readable .prose h1 { line-height: 1.15; letter-spacing: 0; }

html.a11y-light {
  --bg: #fff; --bg-alt: #fff; --fg: #000; --muted: #1a1a1a; --sea-ink: #00515a;
  --dark: #fff; --dark-2: #fff; --dark-3: #fff; --on-dark: #000; --on-dark-muted: #1a1a1a; --sea: #00515a;
  --line: #000; --line-dark: #000; --stone: #000;
}
html.a11y-light .site-header::before { background: #fff; }
html.a11y-light .wave-back, html.a11y-light .wave-mid { opacity: 0; }
html.a11y-light .mode { border: 2px solid #000; }
html.a11y-light .mode-media, html.a11y-light .footer-wordmark { display: none; }
html.a11y-light .ticker-word.is-outline { color: #000; -webkit-text-stroke: 0; }
html.a11y-light .services, html.a11y-light .contact, html.a11y-light .site-footer { border-top: 2px solid #000; }
html.a11y-light .mark-drop { fill: #0a1f3d; }

html.a11y-contrast {
  --bg: #000; --bg-alt: #000; --fg: #fff; --muted: #fff; --sea-ink: #ffeb3b; --sea: #ffeb3b; --stone: #fff;
  --dark: #000; --dark-2: #000; --dark-3: #000; --on-dark: #fff; --on-dark-muted: #fff;
  --accent: #ffeb3b; --on-accent: #000; --line: #fff; --line-dark: #fff; --focus: #ffeb3b;
}
html.a11y-contrast a, html.a11y-contrast .link-button { color: #ffeb3b !important; }
html.a11y-contrast .btn { color: #000 !important; }
html.a11y-contrast .btn-ghost { color: #ffeb3b !important; background: #000; }
html.a11y-contrast .site-header::before { background: #000; }
html.a11y-contrast .how { background-image: none; }
html.a11y-contrast .mode { border: 2px solid #fff; }
html.a11y-contrast .mode-media, html.a11y-contrast .footer-wordmark { display: none; }
html.a11y-contrast .wave-back, html.a11y-contrast .wave-mid { opacity: 0; }
html.a11y-contrast .ticker-word.is-outline { color: #ffeb3b; -webkit-text-stroke: 0; }
html.a11y-contrast .arch-clip::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .2); }
html.a11y-contrast .lang-opt.is-current { background: #ffeb3b; color: #000; }
html.a11y-contrast .route-marker path { fill: #000; }
html.a11y-contrast .espa { background: #fff; }
html.a11y-contrast .consent, html.a11y-contrast .consent-dialog, html.a11y-contrast .a11y-panel { background: #000; color: #fff; border: 2px solid #fff; }
html.a11y-contrast .consent p, html.a11y-contrast .consent-form > p, html.a11y-contrast .consent-option .small { color: #fff; }
html.a11y-contrast .consent-form .btn-choice { --btn-bg: #ffeb3b; --btn-fg: #000; }
html.a11y-contrast .consent-form .btn-ghost { color: #ffeb3b !important; }
html.a11y-contrast .a11y-panel li button, html.a11y-contrast .a11y-panel li a { color: #fff !important; }
html.a11y-contrast .a11y-panel li .icon { color: #ffeb3b; }
html.a11y-contrast .a11y-panel li button:hover, html.a11y-contrast .a11y-panel li a:hover { background: #222; }
html.a11y-contrast .a11y-panel [aria-pressed="true"] { background: #ffeb3b !important; color: #000 !important; }
html.a11y-contrast .a11y-panel [aria-pressed="true"] .icon { color: #000; }
html.a11y-contrast .a11y-toggle { background: #000; color: #ffeb3b; border-color: #ffeb3b; }

/* ---------- Print ---------- */
@media print {
  .site-header, .a11y, .consent, .consent-dialog, .waves, .ticker, .badge, .compass, .footer-wordmark { display: none !important; }
  .hero, .services, .contact, .site-footer { background: #fff !important; color: #000 !important; }
  body { font-size: 12pt; }
}
