/* =====================================================================
   HSO Investment GmbH — stylesheet
   Concept: a Hanseatic chart room. Chart paper, ink line-work and the
   maritime signal flags H, S and O as the brand mark.
   NOTE: animations are intentionally not disabled for prefers-reduced-motion —
   the client asked for motion to stay on even when the OS turns animation off.
   ===================================================================== */

/* ---------- fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("../fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/sourceserif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/sourceserif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/sourceserif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/sourceserif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- tokens ---------- */
:root {
  --paper: #F2F5F3;
  --paper-deep: #E6EDEB;
  --surface: #FFFFFF;
  --ink: #0D2236;
  --ink-soft: #2B4256;
  --slate: #4B6070;
  --line: #C9D5D4;
  --line-soft: #DCE4E2;
  --blue: #1F4FA0;
  --blue-tint: #DCE6F5;
  --sea: #D9E6F1;
  --yellow: #F2B230;
  --yellow-deep: #C98A0C;
  --yellow-tint: #FCEFCF;
  --red: #CF3B2C;
  --brick: #B8452F;
  --red-tint: #F6DED9;
  --green: #1F8467;
  --green-tint: #D6EDE5;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-text: "Source Serif 4", Georgia, "Times New Roman", serif;

  --step--1: clamp(0.86rem, 0.84rem + 0.1vw, 0.92rem);
  --step-0: clamp(1.0625rem, 1.03rem + 0.18vw, 1.1875rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.28rem + 0.8vw, 1.95rem);
  --step-3: clamp(1.85rem, 1.5rem + 1.6vw, 2.8rem);
  --step-4: clamp(2.3rem, 1.7rem + 2.9vw, 4.2rem);
  --step-5: clamp(2.9rem, 1.9rem + 4.9vw, 6.4rem);

  --radius-lg: 28px;
  --radius-md: 18px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 1px 0 rgb(13 34 54 / .04), 0 22px 44px -26px rgb(13 34 54 / .4);

  --accent: var(--blue);
  --accent-tint: var(--blue-tint);
  --accent-ink: #fff;
}
body[data-accent="red"] { --accent: var(--brick); --accent-tint: var(--red-tint); }
body[data-accent="green"] { --accent: var(--green); --accent-tint: var(--green-tint); }
body[data-accent="yellow"] { --accent: var(--yellow); --accent-tint: var(--yellow-tint); --accent-ink: var(--ink); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  color-scheme: light;
}
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgb(13 34 54 / .028) 1px, transparent 1px),
    linear-gradient(90deg, rgb(13 34 54 / .028) 1px, transparent 1px);
  background-size: 56px 56px;
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html.menu-open body { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  padding: 12px 18px; border-radius: 12px;
  background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; text-decoration: none;
  transition: top .3s var(--ease-out);
}
.skip:focus { top: 16px; }
.i { width: 20px; height: 20px; flex: none; display: block; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(76px, 9vw, 128px); position: relative; }
.section--deep { background: var(--paper-deep); border-block: 1px solid var(--line); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-hover: var(--blue);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 6px 6px 6px 26px;
  border: 1.5px solid var(--btn-bg);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: color .35s, border-color .35s;
}
.btn::before {
  content: "";
  position: absolute;
  left: -12%; right: -12%; top: 0; bottom: 0;
  z-index: -1;
  background: var(--btn-hover);
  border-radius: 50% 50% 0 0 / 70% 70% 0 0;
  transform: translateY(105%);
  transition: transform .6s var(--ease-out), border-radius .6s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); border-radius: 0; }
.btn:hover { border-color: var(--btn-hover); }
.btn__icon {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  transition: transform .5s var(--ease-out);
}
.btn:hover .btn__icon { transform: rotate(-45deg); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-hover: var(--ink); border-color: var(--ink); padding: 6px 26px; }
.btn--ghost:hover { color: #fff; }
.btn--ghost .btn__icon { background: var(--ink); color: #fff; }
.btn--sm { min-height: 46px; padding: 6px 22px; font-size: .98rem; }
button.btn { font: inherit; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1; }
button.btn.btn--sm { font-size: .98rem; }

/* ---------- scroll progress (a small boat sails along the bottom edge) ---------- */
.scroll-progress {
  position: fixed; left: 0; right: 0; bottom: 0; height: 3px; z-index: 70;
  pointer-events: none;
}
.scroll-progress__bar {
  position: absolute; inset: 0;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}
.scroll-progress__boat {
  position: absolute; bottom: 1px; left: calc(var(--p, 0) * (100% - 30px));
  width: 30px; height: 30px;
  opacity: 0; transition: opacity .4s;
}
.scroll-progress.is-active.is-moving .scroll-progress__boat { opacity: 1; }
.scroll-progress__boat svg { width: 100%; height: 100%; overflow: visible; animation: bob 2.6s ease-in-out infinite; transform-origin: 50% 90%; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top, 0px));
  left: 0; right: 0;
  z-index: 50;
  padding-inline: var(--gutter);
  pointer-events: none;
  transition: transform .55s var(--ease-out);
  view-transition-name: site-header;
}
.site-header.is-hidden { transform: translateY(calc(-100% - 24px)); }
.site-header__bar {
  pointer-events: auto;
  max-width: calc(var(--max) + 24px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: rgb(255 255 255 / .74);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgb(13 34 54 / .1);
  box-shadow: 0 12px 34px -20px rgb(13 34 54 / .4);
  transition: background .3s;
}
.site-header.is-scrolled .site-header__bar { background: rgb(255 255 255 / .9); }
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  margin-right: auto;
  text-decoration: none;
  font-family: var(--font-display);
}
.brand__flags { width: 58px; height: auto; display: block; overflow: visible; }
.brand__name { font-weight: 700; font-size: 1.08rem; letter-spacing: -0.015em; white-space: nowrap; }
.brand__legal { font-weight: 500; color: var(--slate); margin-left: .3em; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a {
  position: relative;
  display: block;
  padding: 11px 15px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: background .25s;
}
.nav a::after {
  content: "";
  position: absolute; left: 15px; right: 15px; bottom: 5px; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6' viewBox='0 0 12 6'%3E%3Cpath d='M0 3Q3 0 6 3T12 3' fill='none' stroke='%231F4FA0' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x 0 0 / 12px 6px;
  opacity: 0;
  transform: scaleX(.2);
  transform-origin: left;
  transition: opacity .3s, transform .45s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after {
  opacity: 1; transform: none;
  animation: wave-slide .9s linear infinite;
}
.nav a[aria-current="page"] { background: var(--paper-deep); }
@keyframes wave-slide { to { background-position-x: 12px; } }
.site-header__cta[aria-current="page"] { --btn-bg: var(--blue); }

.burger {
  display: none;
  width: 48px; height: 48px;
  border: 0; border-radius: 50%;
  background: var(--ink); color: #fff;
  cursor: pointer;
  place-items: center;
}
.burger__lines { position: relative; display: block; width: 20px; height: 10px; }
.burger__lines span {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.burger__lines span:first-child { top: 0; }
.burger__lines span:last-child { top: 8px; }
.burger[aria-expanded="true"] .burger__lines span:first-child { top: 4px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines span:last-child { top: 4px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(120px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  background: var(--paper);
  overflow-y: auto;
}
.mobile-menu__nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu__nav li { overflow: hidden; }
.mobile-menu__link {
  display: flex; align-items: center; gap: 16px;
  padding-block: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 84%;
  font-size: clamp(2.2rem, 9vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.mobile-menu__link[aria-current="page"] { color: var(--blue); }
.dot { width: 14px; height: 14px; border-radius: 50%; flex: none; border: 1.5px solid var(--ink); }
.dot--blue { background: var(--blue); }
.dot--red { background: var(--brick); }
.dot--green { background: var(--green); }
.dot--yellow { background: var(--yellow); }
.mobile-menu__foot { display: grid; gap: 12px; margin-top: 40px; font-family: var(--font-display); }
.mobile-menu__foot a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.mobile-menu__wave { color: var(--blue); margin-top: 28px; }

@media (max-width: 1100px) {
  .nav, .site-header__cta { display: none; }
  .burger { display: grid; }
}

/* ---------- intro loader (first visit per session) ---------- */
.loader { display: none; }
.intro .loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--paper);
  animation: loader-out .5s ease 3.4s forwards;
}
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }
.loader__inner { text-align: center; }
.loader__flags { width: 150px; height: auto; display: block; margin-inline: auto; overflow: visible; }
.loader__word { margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.015em; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(124px, 16vh, 170px); padding-bottom: clamp(56px, 7vw, 100px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
}
.hero__title {
  font-size: var(--step-5);
  font-weight: 700;
  font-stretch: 80%;
  line-height: .95;
  letter-spacing: -0.035em;
}
.hero__lead {
  margin-top: clamp(22px, 2.6vw, 34px);
  max-width: 34em;
  color: var(--ink-soft);
  font-size: var(--step-1);
  line-height: 1.55;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: clamp(28px, 3.2vw, 42px); }
.hero__art { position: relative; }
.hero__art .illo { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 40px 70px -40px rgb(13 34 54 / .45); }
.hero__badge { position: absolute; left: clamp(-56px, -4vw, -24px); bottom: -42px; width: clamp(108px, 11vw, 144px); }
.badge { display: block; width: 100%; height: auto; overflow: visible; }
.badge__text { font-family: var(--font-display); font-weight: 600; font-size: 12.5px; letter-spacing: .05em; }
.stamp__text { font-family: var(--font-display); font-weight: 600; font-size: 9.6px; letter-spacing: .04em; }
.crumbs ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 24px; padding: 0;
  font-family: var(--font-display); font-size: .95rem; color: var(--slate);
}
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 640px; }
  .hero__badge { left: auto; right: 10px; bottom: -38px; }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1.5px solid var(--ink);
  background: var(--surface);
  padding-block: clamp(14px, 1.6vw, 22px);
}
.marquee__track {
  display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px);
  width: max-content;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.marquee.is-gsap .marquee__track { animation: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 78%;
  font-size: clamp(1.8rem, 1rem + 3vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.marquee__item--outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee__flag {
  flex: none;
  width: clamp(34px, 3.2vw, 46px);
  aspect-ratio: 18 / 13;
  border: 1.5px solid var(--ink);
  transform-origin: 0 50%;
  animation: flap 1.8s ease-in-out infinite;
}
.marquee__flag--h { background: linear-gradient(90deg, #fff 50%, var(--red) 50%); }
.marquee__flag--s { background: linear-gradient(var(--blue), var(--blue)) center / 36% 46% no-repeat, #fff; animation-delay: -.6s; }
.marquee__flag--o { background: linear-gradient(to top right, var(--yellow) 50%, var(--red) 50%); animation-delay: -1.2s; }

/* ---------- section heads ---------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 20px 56px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 68px);
}
.section-head h2 { font-size: var(--step-4); font-stretch: 84%; line-height: .98; letter-spacing: -0.032em; max-width: 17ch; }
.section-head p { color: var(--slate); max-width: 32em; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- service tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.tile {
  --tile: var(--blue);
  --tile-tint: var(--blue-tint);
  --tile-ink: #fff;
  grid-column: span 6;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 12px;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: box-shadow .5s var(--ease-out);
}
.tile--red { --tile: var(--brick); --tile-tint: var(--red-tint); }
.tile--green { --tile: var(--green); --tile-tint: var(--green-tint); }
.tile--yellow { --tile: var(--yellow); --tile-tint: var(--yellow-tint); --tile-ink: var(--ink); }
.tiles > .tile:nth-child(1), .tiles > .tile:nth-child(4) { grid-column: span 7; }
.tiles > .tile:nth-child(2), .tiles > .tile:nth-child(3) { grid-column: span 5; }
.tiles--three > .tile:nth-child(n) { grid-column: span 4; }
.tile::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 50%), var(--tile-tint), transparent 65%);
  opacity: 0;
  transition: opacity .45s;
}
.tile:hover::after { opacity: 1; }
.tile:hover { box-shadow: 0 36px 60px -36px rgb(13 34 54 / .5); }
.tile__art {
  position: relative;
  display: block;
  height: clamp(200px, 19vw, 280px);
  overflow: hidden;
  border-radius: 18px;
  background-color: var(--tile-tint);
  background-image:
    linear-gradient(rgb(255 255 255 / .6) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .6) 1px, transparent 1px);
  background-size: 22px 22px;
  border: 1px solid rgb(13 34 54 / .12);
}
.tile--compact .tile__art { height: clamp(180px, 15vw, 220px); }
.mini { display: block; width: 100%; height: 100%; overflow: visible; transition: transform .9s var(--ease-out); }
.tile:hover .mini { transform: scale(1.07); }
.tile__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 12px 8px; }
.tile__title { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); line-height: 1.08; letter-spacing: -0.022em; }
.tile__text { max-width: 40ch; color: var(--slate); font-size: 1.02rem; line-height: 1.55; }
.tile__more {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 18px;
  font-family: var(--font-display); font-weight: 600;
}
.tile__arrow {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  transition: background .35s, border-color .35s, color .35s, transform .55s var(--ease-out);
}
.tile:hover .tile__arrow, .tile:focus-visible .tile__arrow {
  background: var(--tile); border-color: var(--tile); color: var(--tile-ink);
  transform: rotate(-45deg);
}
.tile:focus-visible { outline-offset: 4px; border-radius: var(--radius-lg); }
@media (max-width: 900px) {
  .tiles > .tile:nth-child(n) { grid-column: span 12; }
}

/* ---------- route (acquire / hold / manage / sell) ---------- */
.route { position: relative; }
.route__svg { display: block; width: 100%; height: auto; overflow: visible; }
.route__steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.route__step { text-align: center; padding-inline: 6px; transition: opacity .6s, transform .6s var(--ease-out); }
.route__num { font-family: var(--font-display); font-weight: 600; color: var(--slate); font-variant-numeric: tabular-nums; }
.route__step h3 { margin: 6px 0 10px; font-size: var(--step-2); }
.route__step p { color: var(--ink-soft); font-size: 1.02rem; }
.station__core { transition: fill .5s; }
.station__ring { opacity: 0; transform-box: fill-box; transform-origin: center; }
.station.is-on .station__core { fill: var(--station); }
.station.is-on .station__ring { animation: ring 2.6s ease-out infinite; }
@media (min-width: 761px) {
  .js .route__step { opacity: .38; transform: translateY(8px); }
  .js .route__step.is-on, .no-gsap .route__step { opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .route__svg { display: none; }
  .route__steps { grid-template-columns: 1fr; gap: 0; margin-left: 12px; border-left: 2px dashed var(--line); }
  .route__step { position: relative; padding: 0 0 32px 30px; text-align: left; }
  .route__step::before {
    content: ""; position: absolute; left: -11px; top: 4px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--yellow); border: 2px solid var(--ink);
    animation: ping 2.8s ease-out infinite;
  }
}

/* ---------- principles ---------- */
.principles__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.principles__aside { position: sticky; top: 120px; }
.principles__aside h2 { font-size: var(--step-4); font-stretch: 84%; letter-spacing: -0.032em; }
.principles__aside p { margin-top: 18px; color: var(--slate); max-width: 28em; }
.principles__compass { width: min(240px, 64%); margin-top: 44px; }
.principles__compass svg { display: block; width: 100%; height: auto; overflow: visible; }
.principles__list { list-style: none; margin: 0; padding: 0; }
.principle {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 26px;
  padding-block: 34px;
  border-top: 1.5px solid var(--ink);
}
.principle:last-child { border-bottom: 1.5px solid var(--ink); }
.p-icon { width: 64px; height: 64px; display: block; overflow: visible; }
.principle h3 { margin-bottom: 8px; font-size: var(--step-2); }
.principle p { color: var(--ink-soft); max-width: 36em; }
@media (max-width: 900px) {
  .principles__grid { grid-template-columns: 1fr; }
  .principles__aside { position: static; }
  .principles__compass { display: none; }
}
@media (max-width: 520px) { .principle { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- facts ---------- */
.facts__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 5vw, 84px); align-items: center; }
.facts__map { margin: 0; }
.facts__map .illo { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 40px 70px -44px rgb(13 34 54 / .45); }
.facts__content h2 { font-size: var(--step-4); font-stretch: 84%; letter-spacing: -0.032em; }
.facts__lead { margin-top: 18px; color: var(--ink-soft); max-width: 34em; }
.logbook { margin: 30px 0 0; }
.logbook__row { display: flex; align-items: baseline; gap: 14px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.logbook__row:first-child { border-top: 1.5px solid var(--ink); }
.logbook dt { display: flex; align-items: baseline; gap: 12px; flex: 1; min-width: 0; font-family: var(--font-display); font-weight: 500; color: var(--slate); font-size: .98rem; }
.logbook dt::after { content: ""; flex: 1; min-width: 16px; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.logbook dd { margin: 0; max-width: 58%; font-family: var(--font-display); font-weight: 600; text-align: right; font-size: 1.02rem; }
@media (max-width: 960px) { .facts__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .logbook__row { flex-direction: column; gap: 4px; }
  .logbook dt::after { display: none; }
  .logbook dd { max-width: none; text-align: left; }
}

/* ---------- call-to-action band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--sea);
  padding-top: clamp(90px, 11vw, 140px);
  padding-bottom: clamp(170px, 18vw, 250px);
  border-top: 1.5px solid var(--ink);
}
.cta-band__inner { position: relative; z-index: 2; }
.cta-band__title { max-width: 18ch; font-size: var(--step-4); font-stretch: 84%; letter-spacing: -0.032em; line-height: .98; }
.cta-band__text { margin-top: 20px; max-width: 36em; color: var(--ink-soft); font-size: var(--step-1); }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 36px; }
.cta-band__link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  padding-block: 4px;
  transition: background-size .4s var(--ease-out);
  overflow-wrap: anywhere;
}
.cta-band__link:hover { background-size: 100% 1.5px; }
.cta-band { --wave-h: clamp(110px, 12vw, 170px); --ship-w: clamp(150px, 19vw, 280px); }
.cta-band__waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: var(--wave-h); display: block; }
.cta-band__waves--back { z-index: 0; }
.cta-band__waves--front { z-index: 2; }
.cta-band__buoy { position: absolute; right: 44vw; bottom: calc(var(--wave-h) * .47); width: clamp(40px, 3.6vw, 56px); z-index: 1; overflow: visible; }
.cta-band__ship {
  position: absolute; right: clamp(16px, 9vw, 160px); bottom: calc(var(--wave-h) * .5 - var(--ship-w) * .1167); z-index: 1;
  width: var(--ship-w); overflow: visible;
  animation: sail 18s ease-in-out infinite alternate;
}
@keyframes sail { from { transform: translateX(0); } to { transform: translateX(-6vw); } }
.aside-art { max-width: 340px; margin-top: 44px; }
.aside-art--bottle { max-width: 300px; }
.aside-art__svg { display: block; width: 100%; height: auto; overflow: hidden; border-radius: 0 0 18px 18px; }
.svg-q { font-family: var(--font-text); font-size: 15px; font-weight: 700; font-style: italic; }
.a-tele { transform-box: view-box; transform-origin: 0 0; animation: tele 7s ease-in-out infinite; }
@keyframes tele { 0%, 100% { transform: rotate(-12deg); } 45% { transform: rotate(-3deg); } 60% { transform: rotate(-5deg); } }
.a-float { transform-box: fill-box; transform-origin: center; animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translate(-10px, 0) rotate(-5deg); } 50% { transform: translate(10px, -6px) rotate(4deg); } }
@media (max-width: 900px) { .aside-art { max-width: 260px; margin-top: 28px; } }
@media (max-width: 700px) { .cta-band { padding-bottom: calc(var(--wave-h) + var(--ship-w) * .75); } .cta-band__buoy { right: auto; left: 10vw; } }
.cta-band__gulls { position: absolute; left: 0; right: 0; top: 24px; width: 100%; height: 140px; pointer-events: none; overflow: visible; }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(64px, 8vw, 110px); background: var(--paper-deep); border-top: 1.5px solid var(--ink); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer__about p { margin: 18px 0 14px; max-width: 30em; color: var(--ink-soft); font-size: 1rem; }
.site-footer__about address { font-family: var(--font-display); font-size: .98rem; color: var(--slate); }
.brand--footer { margin-right: 0; }
.site-footer__title { margin-bottom: 16px; font-size: .98rem; font-weight: 600; color: var(--slate); letter-spacing: 0; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-family: var(--font-display); font-size: 1rem; }
.site-footer__list a {
  text-decoration: none;
  overflow-wrap: anywhere;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .4s var(--ease-out);
}
.site-footer__list a:hover { background-size: 100% 1.5px; }
.site-footer__clock { display: flex; align-items: center; gap: 8px; color: var(--slate); }
.site-footer__clock time { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.blink { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 56px; padding-block: 26px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display); font-size: .92rem; color: var(--slate);
}
.to-top { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.to-top__icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--ink);
  overflow: hidden;
}
.to-top:hover .to-top__icon .i { animation: rise .7s var(--ease-out); }
@keyframes rise { 0% { transform: translateY(0); } 49% { transform: translateY(-160%); } 50% { transform: translateY(160%); } 100% { transform: translateY(0); } }
.site-footer__mark {
  padding-inline: 8px;
  text-align: center;
  line-height: .78;
  white-space: nowrap;
  user-select: none;
}
.site-footer__mark span {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: clamp(3.6rem, 18.5vw, 23rem);
  letter-spacing: -0.02em;
  color: transparent;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='200' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath d='M0 104Q50 84 100 104T200 104T300 104T400 104V200H0Z' fill='%23A9C4E0'/%3E%3C/svg%3E") 0 0 / 400px 100% repeat-x,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='200' viewBox='0 0 300 200' preserveAspectRatio='none'%3E%3Cpath d='M0 128Q37.5 112 75 128T150 128T225 128T300 128V200H0Z' fill='%231F4FA0' fill-opacity='.55'/%3E%3C/svg%3E") 0 0 / 300px 100% repeat-x,
    linear-gradient(#D3DEDC, #D3DEDC);
  -webkit-background-clip: text;
  background-clip: text;
  animation: tide 9s linear infinite;
  transform: translateY(14%);
}
@keyframes tide { to { background-position: 400px 0, -300px 0, 0 0; } }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- cookie notice ---------- */
.cookie {
  position: fixed; left: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: flex; align-items: center; gap: 14px;
  max-width: min(440px, calc(100vw - 32px));
  padding: 14px 14px 14px 16px;
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  box-shadow: var(--shadow);
  font-size: .95rem; line-height: 1.45;
  transform: translateY(calc(100% + 40px));
  transition: transform .8s var(--ease-out);
}
.cookie.is-in { transform: none; }
.cookie a { color: var(--blue); text-underline-offset: 3px; }
.cookie__wheel { width: 38px; height: 38px; flex: none; overflow: visible; }
.cookie .btn { flex: none; }
@media (max-width: 520px) { .cookie { flex-wrap: wrap; right: 16px; } .cookie p { flex: 1 1 200px; } }

/* ---------- custom cursor (fine pointers only) ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 90;
  width: 14px; height: 14px;
  display: none; place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), background .3s, border-color .3s, opacity .3s;
}
.has-cursor .cursor { display: grid; }
.cursor.is-visible { opacity: 1; }
.cursor.is-hover { width: 46px; height: 46px; background: rgb(242 178 48 / .22); border-color: var(--yellow-deep); }
.cursor.is-label { width: 78px; height: 78px; background: var(--ink); border-color: var(--ink); }
.cursor__label { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .85rem; opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor__label { opacity: 1; }

/* ---------- service pages ---------- */
.focus { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.focus__item { position: relative; padding: 36px 40px 42px 0; border-bottom: 1.5px solid var(--ink); }
.focus__item:nth-child(odd) { border-right: 1px solid var(--line); }
.focus__item:nth-child(even) { padding: 36px 0 42px 40px; }
.focus__mark {
  width: 44px; height: 44px; margin-bottom: 24px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--accent-tint);
  border: 1.5px solid var(--ink);
}
.focus__mark span { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 1.5px solid var(--ink); animation: ping 3s ease-out infinite; }
.focus__item:nth-child(2) .focus__mark span { animation-delay: -.75s; }
.focus__item:nth-child(3) .focus__mark span { animation-delay: -1.5s; }
.focus__item:nth-child(4) .focus__mark span { animation-delay: -2.25s; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(13 34 54 / .3); } 70%, 100% { box-shadow: 0 0 0 12px rgb(13 34 54 / 0); } }
.focus__item h3 { margin-bottom: 10px; font-size: var(--step-2); }
.focus__item p { color: var(--ink-soft); max-width: 34em; }
@media (max-width: 760px) {
  .focus { grid-template-columns: 1fr; }
  .focus__item, .focus__item:nth-child(even) { padding: 30px 0 34px; border-right: 0; }
  .focus__item:nth-child(odd) { border-right: 0; }
}

.process { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(36px, 6vw, 100px); }
.process__head { position: sticky; top: 120px; align-self: start; }
.process__head h2 { font-size: var(--step-4); font-stretch: 84%; letter-spacing: -0.032em; }
.process__head p { margin-top: 18px; color: var(--slate); max-width: 28em; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; }
.steps__line { position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: var(--line); }
.steps__line span { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: top; transform: scaleY(0); }
.no-gsap .steps__line span { transform: none; }
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 26px; padding-block: 22px; }
.step__num {
  position: relative; z-index: 1;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--surface);
  font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background .45s, color .45s, border-color .45s, transform .45s var(--ease-out);
}
.step.is-on .step__num { background: var(--accent); border-color: var(--ink); color: var(--accent-ink); transform: scale(1.06); }
.step h3 { margin: 12px 0 8px; font-size: var(--step-2); }
.step p { color: var(--ink-soft); max-width: 36em; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } .process__head { position: static; } }

.criteria { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.criteria h2 { font-size: var(--step-4); font-stretch: 84%; letter-spacing: -0.032em; }
.note {
  margin-top: 26px; padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 1rem;
}
.checklist { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.checklist li {
  display: flex; align-items: center; gap: 18px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); line-height: 1.3;
}
.checklist__icon { width: 30px; height: 30px; flex: none; overflow: visible; }
.checklist__tick { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .checklist__tick { stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--ease-out) .25s; }
.js .checklist li.is-in .checklist__tick, .no-gsap .checklist__tick { stroke-dashoffset: 0; }
@media (max-width: 900px) { .criteria { grid-template-columns: 1fr; } }

.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.faq h2 { font-size: var(--step-4); font-stretch: 84%; letter-spacing: -0.032em; }
.faq__list { border-top: 1.5px solid var(--ink); }
.faq__item { border-bottom: 1.5px solid var(--ink); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 24px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  transition: transform .5s var(--ease-out), background .3s, color .3s;
}
.faq__item.is-open .faq__icon, .faq__item[open]:not(.is-closing) .faq__icon { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.faq__body { overflow: hidden; }
.faq__body p { padding-bottom: 26px; max-width: 40em; color: var(--ink-soft); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 76px); align-items: start; }
.contact__title { margin-bottom: 26px; font-size: var(--step-3); font-stretch: 86%; }
.ccard {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 12px; padding: 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color .3s, transform .5s var(--ease-out);
}
.ccard:hover { border-color: var(--ink); transform: translateX(6px); }
.ccard__icon { width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 15px; background: var(--blue-tint); border: 1.5px solid var(--ink); }
.ccard:nth-child(3) .ccard__icon { background: var(--yellow-tint); }
.ccard:nth-child(4) .ccard__icon { background: var(--red-tint); }
.ccard:nth-child(5) .ccard__icon { background: var(--green-tint); }
.ccard:hover .ccard__icon .i { animation: wiggle .6s var(--ease-out); }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-12deg); } 60% { transform: rotate(9deg); } }
.ccard__body { min-width: 0; flex: 1; }
.ccard h3 { margin-bottom: 4px; font-size: .95rem; font-weight: 600; color: var(--slate); letter-spacing: 0; }
.ccard__value { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
a.ccard__value:hover { color: var(--blue); }
.ccard__link { display: inline-block; margin-top: 8px; color: var(--blue); font-family: var(--font-display); font-size: .95rem; text-underline-offset: 3px; }
.ccard__clock { font-size: var(--step-3); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.ccard__copy {
  position: relative; flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1.5px solid var(--line); border-radius: 50%;
  background: transparent; color: var(--ink);
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.ccard__copy:hover { border-color: var(--ink); background: var(--paper); }
.ccard__copy > span { grid-area: 1 / 1; display: grid; place-items: center; transition: opacity .3s, transform .45s var(--ease-out); }
.ccard__copy-done { opacity: 0; transform: scale(.4) rotate(-30deg); color: var(--green); }
.ccard__copy.is-done { border-color: var(--green); }
.ccard__copy.is-done .ccard__copy-idle { opacity: 0; transform: scale(.4); }
.ccard__copy.is-done .ccard__copy-done { opacity: 1; transform: none; }

.form-wrap { position: relative; padding: clamp(24px, 4vw, 48px); border: 1.5px solid var(--ink); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 40px 70px -50px rgb(13 34 54 / .5); }
.form__title { font-size: var(--step-3); font-stretch: 86%; }
.form__intro { margin: 12px 0 28px; color: var(--slate); font-size: 1rem; max-width: 40em; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.field label, .field legend { font-family: var(--font-display); font-weight: 600; font-size: .98rem; padding: 0; }
.field legend { margin-bottom: 10px; }
.field__opt { font-weight: 400; color: var(--slate); }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.02rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: var(--slate); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgb(31 79 160 / .16); }
.field [aria-invalid="true"] { border-color: #B42318; }
.field__error, .form .field__error { margin: 0; color: #B42318; font-family: var(--font-display); font-size: .92rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 16px;
  border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--paper);
  font-family: var(--font-display); font-weight: 500; font-size: .98rem;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.chip span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: background .25s, transform .4s var(--ease-out); }
.chip--blue span::before { background: var(--blue); }
.chip--red span::before { background: var(--brick); }
.chip--green span::before { background: var(--green); }
.chip--yellow span::before { background: var(--yellow); }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:checked + span::before { transform: scale(1.3); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.check { display: flex; align-items: flex-start; gap: 12px; margin-top: 4px; font-size: .98rem; line-height: 1.5; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--ink); cursor: pointer; }
.check a { color: var(--blue); text-underline-offset: 3px; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }
.form__status { font-family: var(--font-display); font-size: .98rem; color: var(--green); max-width: 32em; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- legal pages ---------- */
.hero--legal { padding-bottom: 0; }
.hero--legal__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; padding-bottom: 46px; }
.hero__title--legal { font-size: var(--step-5); }
.legal-updated { margin-top: 18px; font-family: var(--font-display); font-size: .95rem; color: var(--slate); }
.legal-stamp-wrap { width: clamp(110px, 13vw, 170px); }
.legal-stamp { display: block; width: 100%; height: auto; overflow: visible; }
.legal-wave { color: var(--ink); }
.section--legal { padding-top: clamp(44px, 6vw, 76px); }
.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.legal__toc { position: sticky; top: 120px; font-family: var(--font-display); font-size: .95rem; }
.legal__toc-title { font-weight: 600; }
.legal__toc ol { list-style: none; margin: 12px 0 0; padding: 0; border-left: 1.5px solid var(--line); }
.legal__toc a {
  display: block;
  margin-left: -1.5px; padding: 6px 0 6px 16px;
  border-left: 2px solid transparent;
  color: var(--slate); text-decoration: none;
  transition: color .25s, border-color .25s, padding .35s var(--ease-out);
}
.legal__toc a:hover { color: var(--ink); }
.legal__toc a.is-active { color: var(--ink); border-color: var(--accent); padding-left: 22px; }
.legal__section { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.legal__section:last-child { border-bottom: 0; }
.prose { max-width: 72ch; }
.prose h2 { margin-bottom: 16px; font-size: var(--step-2); }
.prose p + p, .prose p + div, .prose div + p, .prose ul + p, .prose p + ul { margin-top: 1em; }
.prose ul { margin: 1em 0 0; padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--blue); text-underline-offset: 3px; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; margin-top: 1em; border: 1.5px solid var(--ink); border-radius: 14px; background: #fff; }
.table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .96rem; line-height: 1.45; }
.table-wrap th, .table-wrap td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.table-wrap th { background: var(--paper-deep); font-family: var(--font-display); font-weight: 600; }
.table-wrap tr:last-child td { border-bottom: 0; }
code { padding: 2px 6px; border-radius: 6px; background: var(--paper-deep); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .86em; }
@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
}
@media (max-width: 600px) { .hero--legal__inner { grid-template-columns: 1fr; } .legal-stamp-wrap { display: none; } }

/* ---------- wave rule ---------- */
.wave-rule { height: 14px; overflow: hidden; color: var(--line); }
.wave-rule svg { display: block; width: 100%; height: 100%; overflow: visible; }

/* ---------- SVG typography ---------- */
.illo text, .mini text, .badge text, .legal-stamp text { stroke: none; }
.svg-label { font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.svg-label--b { font-size: 12px; font-weight: 700; }
.svg-mark { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: .02em; }
.svg-sea { font-family: var(--font-text); font-size: 26px; font-style: italic; fill: var(--blue); letter-spacing: .06em; }
.svg-place { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.soundings text { font-family: var(--font-text); font-size: 12px; font-style: italic; }
.illo { overflow: hidden; }

/* =====================================================================
   Ambient motion (always on)
   ===================================================================== */
.a-spin { transform-box: fill-box; transform-origin: center; animation: spin 40s linear infinite; }
.a-rev { animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.a-wave { animation: wave-x var(--dur, 6s) linear infinite; }
@keyframes wave-x { to { transform: translateX(var(--p, -100px)); } }
.a-bob { transform-box: fill-box; transform-origin: 50% 85%; animation: bob 4.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.6deg); } 50% { transform: translateY(-4px) rotate(1.6deg); } }
.a-drift { animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateX(-14px); } to { transform: translateX(24px); } }
.a-fly { animation: fly 22s linear infinite; }
@keyframes fly {
  from { transform: translate(-60px, 0); }
  50% { transform: translate(calc(var(--fly-to, 680px) / 2), -12px); }
  to { transform: translate(var(--fly-to, 680px), 0); }
}
.a-lit { animation: lit 8s steps(1, end) infinite; }
@keyframes lit { 0%, 38% { opacity: 0; } 40%, 88% { opacity: 1; } 90%, 100% { opacity: 0; } }
.a-march { stroke-dasharray: 4 6; animation: march 1.6s linear infinite; }
.a-march.a-slow { animation-duration: 4s; }
@keyframes march { to { stroke-dashoffset: -20; } }
.a-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.a-ring { transform-box: fill-box; transform-origin: center; animation: ring 3.2s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .75; } to { transform: scale(2.1); opacity: 0; } }
.a-glow { transform-box: fill-box; transform-origin: center; animation: glow 3.6s ease-in-out infinite; }
@keyframes glow { 0%, 100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.06); opacity: 1; } }
.a-blink { animation: blinkdot 1.8s steps(1) infinite; }
@keyframes blinkdot { 50% { opacity: .15; } }
.a-flag { transform-box: fill-box; transform-origin: 0% 50%; animation: flap 1.8s ease-in-out infinite; }
@keyframes flap {
  0%, 100% { transform: skewY(0deg) scaleX(1); }
  25% { transform: skewY(-6deg) scaleX(.93); }
  75% { transform: skewY(4deg) scaleX(.97); }
}
.a-billow { transform-box: fill-box; transform-origin: 50% 0%; animation: billow 4.2s ease-in-out infinite; }
@keyframes billow { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(1.05); } }
.a-needle { transform-box: fill-box; transform-origin: center; animation: needle 7s ease-in-out infinite; }
@keyframes needle {
  0% { transform: rotate(-28deg); }
  22% { transform: rotate(18deg); }
  40% { transform: rotate(-9deg); }
  56% { transform: rotate(5deg); }
  70%, 86% { transform: rotate(0deg); }
  100% { transform: rotate(-28deg); }
}
.a-bar { transform-box: fill-box; transform-origin: 50% 100%; animation: bar 3.4s ease-in-out infinite; }
@keyframes bar { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.a-sway { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 5s ease-in-out infinite; }
.a-swing { transform-box: fill-box; transform-origin: 50% 0%; animation: sway 4s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.a-hop { animation: hop 2.6s cubic-bezier(.3, 0, .3, 1) infinite; }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-8px); } }
.a-draw-loop { stroke-dasharray: 100; animation: drawloop 6s ease-in-out infinite; }
.a-draw-loop.a-slow { animation-duration: 9s; }
@keyframes drawloop { 0% { stroke-dashoffset: 100; } 45%, 75% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
.a-beam { transform-box: view-box; transform-origin: 190px 140px; animation: beam 8s linear infinite; }
@keyframes beam {
  0% { transform: scaleX(1); opacity: 1; }
  25% { transform: scaleX(.04); opacity: .3; }
  50% { transform: scaleX(-1); opacity: 1; }
  75% { transform: scaleX(-.04); opacity: .3; }
  100% { transform: scaleX(1); opacity: 1; }
}
.a-shimmer { animation: shimmer 4.5s ease-in-out infinite; }
@keyframes shimmer { 0% { transform: translateX(0); } 60%, 100% { transform: translateX(340px); } }
.a-slide { animation: slide 7s ease-in-out infinite alternate; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(26px); } }
.a-bubble { transform-box: fill-box; transform-origin: 20% 100%; animation: bubble 7s ease-in-out infinite; }
@keyframes bubble {
  0%, 6% { opacity: 0; transform: scale(.6); }
  14%, 72% { opacity: 1; transform: scale(1); }
  80%, 100% { opacity: 0; transform: scale(.6); }
}
.a-dot { animation: dot 1.2s ease-in-out infinite; }
@keyframes dot { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.a-scan { animation: scan 6s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(8px, -4px); } 50% { transform: translate(6px, 8px); } 75% { transform: translate(-4px, 4px); } }
.a-stamp { transform-box: fill-box; transform-origin: center; animation: stamp 6s cubic-bezier(.3, 1.4, .5, 1) infinite; }
@keyframes stamp { 0%, 40% { transform: scale(0); opacity: 0; } 50%, 90% { transform: scale(1); opacity: 1; } 100% { transform: scale(0); opacity: 0; } }

/* =====================================================================
   Reveal start states (only when JS is running; GSAP animates them in)
   ===================================================================== */
.js [data-split], .js [data-reveal="lines"] { visibility: hidden; }
.js [data-hero-fade], .js [data-hero-art], .js [data-reveal="up"], .js [data-reveal="art"], .js [data-reveal="stagger"] > * { opacity: 0; }
.no-gsap [data-split], .no-gsap [data-reveal="lines"] { visibility: visible; }
.no-gsap [data-hero-fade], .no-gsap [data-hero-art], .no-gsap [data-reveal="up"], .no-gsap [data-reveal="art"], .no-gsap [data-reveal="stagger"] > * { opacity: 1; }

/* =====================================================================
   Page transitions (cross-document view transitions; progressive)
   ===================================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .42s cubic-bezier(.7, 0, .84, 0) both; }
::view-transition-new(root) { animation: vt-in .8s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-28px) scale(.985); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(56px); } }
::view-transition-group(site-header) { animation-duration: .45s; }
