/* Superyacht Data — "drawing set" identity.
   Every page is a drawing made of sheets: hairlines, square corners,
   a drafting grid, Archivo (wide for display) + JetBrains Mono for data. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("/assets/fonts/archivo-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: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("/assets/fonts/archivo-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: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-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: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-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; }

:root {
  --paper: #EEF1F5;
  --sheet: #F8FAFC;
  --white: #FFFFFF;
  --ink: #0B1730;
  --ink-2: #2B3650;
  --ink-3: #56627C;
  --navy: #1D3A80;
  --navy-deep: #10224D;
  --sky: #60C0E8;
  --sky-ink: #1B6E9C;
  --line: rgba(11, 23, 48, 0.16);
  --line-2: rgba(11, 23, 48, 0.34);
  --grid: rgba(29, 58, 128, 0.05);
  --bp-text: #E9F0FA;
  --bp-muted: #A7B7D6;
  --bp-line: rgba(233, 240, 250, 0.2);

  --f: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --m: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wide: 115%;

  --max: 1376px;
  --gut: clamp(16px, 3.4vw, 48px);
  --pad: clamp(22px, 4vw, 56px);
  --nav-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(96, 192, 232, 0.35); }
:focus-visible { outline: 2px solid var(--sky-ink); outline-offset: 3px; }
.bp :focus-visible, .foot :focus-visible { outline-color: var(--sky); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display { font-size: clamp(40px, 6.1vw, 84px); font-stretch: var(--wide); font-weight: 540; line-height: 0.95; letter-spacing: -0.028em; text-wrap: balance; }
.h2 { font-size: clamp(30px, 4vw, 54px); font-stretch: var(--wide); font-weight: 540; line-height: 1; letter-spacing: -0.024em; text-wrap: balance; }
.h3 { font-size: clamp(19px, 1.7vw, 23px); font-stretch: 106%; font-weight: 520; line-height: 1.22; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.body { color: var(--ink-2); max-width: 64ch; }
.body + .body { margin-top: 1em; }
.label { font-family: var(--m); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }
.navy { color: var(--navy); }
.bp .navy { color: var(--sky); }

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
main { padding-top: calc(var(--nav-h) + clamp(16px, 2.4vw, 32px)); padding-bottom: clamp(40px, 6vw, 80px); display: flex; flex-direction: column; gap: clamp(28px, 3.4vw, 48px); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 32px; }
@media (max-width: 900px) { .grid > * { grid-column: 1 / -1 !important; } }
.stack { display: flex; flex-direction: column; gap: 24px; }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 24px 64px; align-items: end; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- sheet ---------- */
.sheet { position: relative; border: 1px solid var(--line-2); background-color: var(--sheet);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px; }
.sheet::before { content: ""; position: absolute; inset: -11px; pointer-events: none;
  --c: var(--ink);
  background:
    linear-gradient(var(--c), var(--c)) left top / 12px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left top / 1px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 12px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 1px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 12px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 1px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 12px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 1px 12px no-repeat; }
.sheet-head { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; border-bottom: 1px solid var(--line-2); font-family: var(--m); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.sheet-head > * { padding: 10px 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-head > * + * { border-left: 1px solid var(--line); color: var(--ink-3); }
.sheet-body { padding: var(--pad); }
.sheet-body > * + * { margin-top: clamp(28px, 3.6vw, 48px); }
@media (max-width: 720px) { .sheet-head { grid-template-columns: 1fr; } .sheet-head > * + * { display: none; } }

.bp { --grid: rgba(233, 240, 250, 0.06); background-color: var(--navy-deep); color: var(--bp-text); border-color: rgba(233, 240, 250, 0.3); }
.bp .sheet-head { border-color: var(--bp-line); }
.bp .sheet-head > * + * { border-color: var(--bp-line); color: var(--bp-muted); }
.bp .lead, .bp .body { color: var(--bp-muted); }
.bp .label { color: var(--bp-muted); }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 22px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 15px; font-weight: 520; text-decoration: none; cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.btn svg { width: 14px; height: 14px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { background: var(--ink); color: #fff; }
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.bp .btn { border-color: rgba(233, 240, 250, 0.6); color: var(--bp-text); }
.bp .btn:hover { background: var(--bp-text); color: var(--navy-deep); }
.bp .btn-primary { background: var(--sky); border-color: var(--sky); color: var(--navy-deep); }
.link { font-weight: 520; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; transition: text-decoration-thickness 0.15s; }
.link:hover { text-decoration-thickness: 2px; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 520; text-decoration: none; }
.arrow-link svg { width: 13px; height: 13px; transition: transform 0.25s var(--ease); }
.arrow-link:hover svg { transform: translateX(3px); }
.arrow-link:hover span { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); background: rgba(238, 241, 245, 0.9); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand img { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 20px; }
.nav-links > li > a, .menu-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; font-size: 15px; font-weight: 500; text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav-links a[aria-current="page"], .menu-btn[aria-current="true"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.nav-links > li > a:hover, .menu-btn:hover { color: var(--navy); }
.menu-btn svg { width: 10px; height: 10px; transition: transform 0.2s; }
.has-menu { position: relative; }
.has-menu.open .menu-btn svg { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 12px); left: 0; width: 340px; background: var(--white); border: 1px solid var(--line-2); box-shadow: 0 18px 40px -18px rgba(11, 23, 48, 0.35); padding: 8px; display: none; }
.has-menu.open .menu { display: block; }
.menu a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 11px 12px; text-decoration: none; font-size: 15px; }
.menu a:hover { background: rgba(96, 192, 232, 0.12); }
.menu a .label { color: var(--navy); }
.menu a.all { border-top: 1px solid var(--line); margin-top: 6px; }
.nav-spacer { flex: 1; }
.sheet-index { font-family: var(--m); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sheet-index b { color: var(--ink); font-weight: 500; }
.nav-cta { min-height: 40px; padding: 0 16px; font-size: 14px; }
.nav-toggle { display: none; }
@media (max-width: 1100px) { .sheet-index { display: none; } }
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border: 1px solid var(--ink); background: none; font-family: var(--m); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
  .nav.open { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--sheet); }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; margin: 0; padding: 12px var(--gut) 32px; background: var(--sheet); overflow-y: auto; border-top: 1px solid var(--line); }
  .nav.open .nav-links > li { border-bottom: 1px solid var(--line); }
  .nav.open .nav-links > li > a, .nav.open .menu-btn { width: 100%; height: 60px; padding: 0; font-size: 22px; font-stretch: 108%; }
  .nav.open .menu { position: static; width: auto; border: 0; box-shadow: none; padding: 0 0 12px; background: transparent; }
  .nav.open .nav-links > li.nav-cta-mobile { display: flex; margin-top: 28px; border-bottom: 0; }
  .nav.open .nav-links > li > a.btn { width: 100%; height: 56px; justify-content: center; padding: 0 22px; background: var(--navy); border: 1px solid var(--navy); color: #fff; font-size: 17px; font-stretch: 100%; }
}
.nav-cta-mobile { display: none; }

/* ---------- hero ---------- */
.hero-top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: 28px 64px; align-items: start; }
.hero-top .stack { padding-top: 12px; }
@media (max-width: 960px) { .hero-top { grid-template-columns: 1fr; } }
.hero-draw { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px 40px; align-items: end; }
@media (max-width: 1100px) { .hero-draw { grid-template-columns: 1fr; } .hero-draw .titleblock { max-width: 420px; } }

/* ---------- trusted by ---------- */
.trusted { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; border-top: 1px solid var(--line-2); padding-top: 22px; }
.trusted .label { color: var(--navy); }
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: center; }
.logos li { display: flex; justify-content: center; align-items: center; min-height: 64px; padding: 6px 12px; }
.logos li + li { border-left: 1px solid var(--line); }
.logos img { height: calc(var(--h) * 1px); width: auto; max-width: 100%; opacity: 0.82; transition: opacity 0.2s; }
.logos li:hover img { opacity: 1; }
@media (max-width: 1180px) {
  .trusted { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 900px) {
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
  .logos li:nth-child(3n + 1) { border-left: 0; }
  .logos img { height: calc(var(--h) * 0.85px); }
}
@media (max-width: 520px) {
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos li:nth-child(3n + 1) { border-left: 1px solid var(--line); }
  .logos li:nth-child(2n + 1) { border-left: 0; }
  .logos img { height: calc(var(--h) * 0.75px); }
}

/* ---------- yacht drawing ---------- */
.yacht { position: relative; width: 100%; aspect-ratio: 1200 / 504; max-width: 100%; }
.yacht svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.y-line { fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.y-fine { stroke-width: 1; }
.y-hull { fill: var(--white); }
.y-hullfill { fill: var(--sky); opacity: 0; transition: opacity 0.4s var(--ease); }
.y-dash { fill: none; stroke: var(--navy); stroke-width: 1; stroke-dasharray: 5 4; opacity: 0.75; transition: opacity 0.5s var(--ease); }
.y-wl { fill: none; stroke: var(--sky); stroke-width: 1.2; stroke-dasharray: 10 6; }
.y-dim { fill: none; stroke: var(--ink); stroke-width: 1; }
.y-dim-fill { fill: var(--ink); }
.y-text { font-family: var(--m); font-size: 13px; fill: var(--ink-3); }
.y-text.strong { fill: var(--ink); font-size: 14px; }
.y-text.sky { fill: var(--sky-ink); }
.y-mask { fill: var(--sheet); }
.y-zone { fill: var(--sky); opacity: 0; transition: opacity 0.35s var(--ease); }
.y-node circle { fill: var(--white); stroke: var(--navy); stroke-width: 1.5; }
.y-node .dot { fill: var(--navy); stroke: none; }
.y-nodes { transition: opacity 0.5s var(--ease); }
.y-cam circle { fill: var(--white); stroke: var(--sky-ink); stroke-width: 1.6; }
.y-cam path { stroke: var(--sky-ink); stroke-width: 1.2; fill: none; }
.y-cams { opacity: 0; transition: opacity 0.4s var(--ease); }
.y-leader { fill: none; stroke: var(--ink); stroke-width: 1; }
.y-leader.sky { stroke: var(--sky-ink); }
.y-callouts { display: none; }
.with-callouts .y-callouts { display: inline; }
.y-balloon { display: none; }
.y-balloon circle { fill: var(--ink); }
.y-balloon text { font-family: var(--m); font-size: 15px; font-weight: 500; fill: #fff; }

.callout { position: absolute; display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.3; }
.callout .label { color: var(--navy); font-size: 10.5px; }
.callout.right { text-align: right; align-items: flex-end; }
.callout.sky .label { color: var(--sky-ink); }
.legend { display: none; }
@media (max-width: 900px) {
  .callout { display: none; }
  .y-balloon { display: inline; transform: scale(2.3); transform-box: fill-box; transform-origin: center; }
  .legend { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 16px; font-size: 14px; }
  .legend li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; align-items: baseline; }
  .legend b { font-family: var(--m); font-size: 11px; font-weight: 500; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; }
  .legend .label { display: block; color: var(--navy); font-size: 10px; }
  .y-stations { display: none; }
}

/* draw-in on load */
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .js .yacht.draw path.y-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.5s var(--ease) forwards; }
  .js .yacht.draw path.y-line:nth-child(3n) { animation-delay: 0.15s; }
  .js .yacht.draw path.y-line:nth-child(3n+1) { animation-delay: 0.3s; }
  .js .yacht.draw g.y-line, .js .yacht.draw .y-dash, .js .yacht.draw .y-wl, .js .yacht.draw .y-dimension, .js .yacht.draw .y-node, .js .yacht.draw .y-callouts { animation: fade 0.6s ease-out 1.2s backwards; }
  .js .yacht.draw .callout { animation: fade 0.6s ease-out 1.5s backwards; }
}

/* stages (method) */
.yacht[data-stage] .y-comp, .yacht[data-stage] .y-nodes { opacity: 0; }
.yacht[data-stage="structure"] .y-comp, .yacht[data-stage="populate"] .y-comp, .yacht[data-stage="handover"] .y-comp { opacity: 0.75; }
.yacht[data-stage="populate"] .y-nodes, .yacht[data-stage="handover"] .y-nodes { opacity: 1; }
.stamp { position: absolute; right: 4%; top: 6%; padding: 10px 14px; border: 2px solid var(--sky); color: var(--sky); font-family: var(--m); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.4; transform: rotate(-5deg) scale(1.15); opacity: 0; transition: opacity 0.3s var(--ease), transform 0.35s var(--ease); }
.stamp small { display: block; font-size: 9.5px; letter-spacing: 0.12em; opacity: 0.85; }
.yacht[data-stage="handover"] .stamp { opacity: 1; transform: rotate(-5deg) scale(1); }

/* focus (services) */
.yacht.quiet .y-nodes { opacity: 0; }
.yacht[data-focus="doc"] .y-zone[data-zone~="doc"] { opacity: 0.32; }
.yacht[data-focus="pms"] .y-nodes { opacity: 1; }
.yacht[data-focus="pms"] .y-zone[data-zone~="pms"] { opacity: 0.18; }
.yacht[data-focus="swc"] .y-hullfill { opacity: 0.2; }
.yacht[data-focus="360"] .y-cams { opacity: 1; }
.yacht.show-cams .y-cams { opacity: 1; }
.yacht.show-nodes .y-nodes { opacity: 1; }

/* blueprint drawing */
.bp .y-line, .bp .y-dash, .bp .y-node circle { stroke: var(--bp-text); }
.bp .y-hull { fill: var(--navy-deep); }
.bp .y-node circle { fill: var(--navy-deep); }
.bp .y-node .dot { fill: var(--sky); }
.bp .y-dim, .bp .y-leader { stroke: var(--bp-muted); }
.bp .y-dim-fill { fill: var(--bp-muted); }
.bp .y-text { fill: var(--bp-muted); }
.bp .y-text.strong { fill: var(--bp-text); }
.bp .y-mask { fill: var(--navy-deep); }
.bp .y-cam circle { fill: var(--navy-deep); stroke: var(--sky); }
.bp .y-cam path { stroke: var(--sky); }

/* ---------- title block ---------- */
.titleblock { background: var(--white); border: 1px solid var(--line-2); font-size: 15px; }
.titleblock .tb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px; }
.titleblock .tb-top img { height: 22px; width: auto; }
.titleblock dl { display: grid; grid-template-columns: 1fr 1fr; }
.titleblock dl > div { padding: 9px 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.titleblock dl > div:nth-child(odd) { border-right: 1px solid var(--line); }
.titleblock dt { font-family: var(--m); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.titleblock dd { font-weight: 520; font-variant-numeric: tabular-nums; }

/* ---------- record panel (parts list) ---------- */
.record { background: var(--white); border: 1px solid var(--line-2); }
.record-head { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.record-head .label:first-child { color: var(--navy); }
.record table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.record th, .record td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.record th { font-family: var(--m); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); width: 58%; }
.record td { text-align: right; font-size: 17px; font-weight: 520; }
.record td small { font-family: var(--m); font-size: 10.5px; font-weight: 400; color: var(--sky-ink); letter-spacing: 0.06em; margin-left: 6px; }
.record-foot { padding: 12px 18px; display: flex; gap: 8px; align-items: center; }
.record-foot::before { content: ""; width: 6px; height: 6px; background: var(--sky); }

/* ---------- particulars (dotted leaders) ---------- */
.particulars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 5vw, 80px); }
.particulars li { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.particulars .k { flex: 0 1 auto; max-width: 60%; color: var(--ink-2); }
.particulars .lead-dots { flex: 1 0 16px; border-bottom: 1px dotted var(--line-2); transform: translateY(-5px); }
.particulars .v { flex: 0 1 auto; min-width: 0; font-size: clamp(20px, 2vw, 26px); font-stretch: 108%; font-weight: 540; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; text-align: right; }
.particulars .v small { font-size: 14px; font-weight: 400; color: var(--ink-3); font-stretch: 100%; }
.bp .particulars li { border-color: var(--bp-line); }
.bp .particulars .k { color: var(--bp-muted); }
.bp .particulars .lead-dots { border-color: rgba(233, 240, 250, 0.35); }
@media (max-width: 760px) { .particulars { grid-template-columns: 1fr; } }
.footnote { font-family: var(--m); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- schedule table ---------- */
.schedule { border-top: 1px solid var(--line-2); }
.schedule-head, .schedule-row { display: grid; grid-template-columns: 80px minmax(0, 1.05fr) minmax(0, 1.5fr) minmax(0, 0.9fr) 24px; gap: 24px; padding: 22px 16px; border-bottom: 1px solid var(--line); align-items: start; }
.schedule-head { padding-block: 10px; }
.schedule-row { text-decoration: none; color: inherit; transition: background-color 0.2s var(--ease); }
a.schedule-row:hover, a.schedule-row:focus-visible, .schedule-row.active { background: rgba(96, 192, 232, 0.12); }
.schedule-row .code { font-family: var(--m); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; padding-top: 4px; }
.schedule-row .code span { display: inline-block; padding: 3px 7px; border: 1px solid var(--line-2); }
a.schedule-row:hover .code span, .schedule-row.active .code span { background: var(--navy); border-color: var(--navy); color: #fff; }
.schedule-row .h3 { transition: color 0.2s; }
a.schedule-row:hover .h3 { color: var(--navy); }
.schedule-row .scope { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.schedule-row .out { font-size: 15px; line-height: 1.5; }
.schedule-row .go svg { width: 16px; height: 16px; margin-top: 6px; opacity: 0; transform: translateX(-4px); transition: opacity 0.2s, transform 0.25s var(--ease); }
a.schedule-row:hover .go svg, a.schedule-row:focus-visible .go svg { opacity: 1; transform: none; }
.schedule.compact .schedule-head, .schedule.compact .schedule-row { grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.4fr) 24px; }
@media (max-width: 900px) {
  .schedule-head { display: none; }
  .schedule-row, .schedule.compact .schedule-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 4px; }
  .schedule-row .out::before { content: "Delivered as — "; font-family: var(--m); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
  .schedule-row .go { display: none; }
}
.services-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.42fr); gap: 40px; align-items: start; }
.services-layout .aside { position: sticky; top: calc(var(--nav-h) + 32px); display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 1100px) { .services-layout { grid-template-columns: 1fr; } .services-layout .aside { display: none; } }

/* ---------- scope list (service pages) ---------- */
.scope-list { border-top: 1px solid var(--line-2); }
.scope-list li { display: grid; grid-template-columns: 64px minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 24px; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.scope-list .n { font-family: var(--m); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; color: var(--navy); padding-top: 3px; }
.scope-list p { color: var(--ink-2); }
@media (max-width: 760px) { .scope-list li { grid-template-columns: 44px minmax(0, 1fr); } .scope-list li p { grid-column: 2; } }

/* ---------- notes ---------- */
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 80px); counter-reset: note; }
.notes li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 12px; align-content: start; padding: 22px 0; border-top: 1px solid var(--line); }
.notes li::before { counter-increment: note; content: counter(note) "."; font-family: var(--m); font-size: 13px; font-weight: 500; color: var(--navy); padding-top: 2px; grid-row: span 2; }
.notes h3 { font-size: 18px; font-stretch: 106%; font-weight: 540; line-height: 1.3; }
.notes p { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.notes li.wide { grid-column: 1 / -1; }
.bp .notes li { border-color: var(--bp-line); }
.bp .notes li::before { color: var(--sky); }
.bp .notes p { color: var(--bp-muted); }
@media (max-width: 760px) { .notes { grid-template-columns: 1fr; } }

/* ---------- plate ---------- */
.plate { position: relative; }
.plate-img { position: relative; overflow: hidden; background: var(--ink); border: 1px solid var(--line-2); }
.plate-img img { width: 100%; height: 100%; object-fit: cover; }
.plate figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; font-family: var(--m); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-3); }
.plate figcaption b { color: var(--ink); font-weight: 500; }
.bp .plate figcaption, .bp .plate figcaption b { color: var(--bp-muted); }
.bp .plate figcaption b { color: var(--bp-text); }
.plate-band .plate-img { aspect-ratio: 21 / 8; }
.plate-band .plate-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 20, 44, 0.72) 0%, rgba(10, 20, 44, 0.25) 55%, rgba(10, 20, 44, 0) 80%); }
.plate-band .plate-text { position: absolute; left: clamp(20px, 4vw, 56px); bottom: clamp(20px, 4vw, 52px); z-index: 1; color: #fff; display: flex; flex-direction: column; gap: 14px; max-width: 70%; }
.plate-band .plate-text .label { color: var(--sky); }
@media (max-width: 760px) { .plate-band .plate-img { aspect-ratio: 4 / 3; } .plate-band .plate-text { max-width: 90%; } }
.tour-modal { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: #000; }
.tour-bar { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 8px; background: var(--navy-deep); border-bottom: 1px solid var(--bp-line); }
.tour-bar .label { color: var(--bp-muted); }
.tour-close { min-height: 40px; padding: 0 18px; border: 1px solid rgba(233, 240, 250, 0.6); background: transparent; color: #fff; font-size: 14px; font-weight: 520; cursor: pointer; }
.tour-close:hover { background: #fff; color: var(--navy-deep); }
.tour-modal iframe { flex: 1; width: 100%; border: 0; }
.tour-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 24px; border: 1px solid var(--sky); background: rgba(16, 34, 77, 0.88); color: #fff; font-size: 16px; font-weight: 520; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.tour-play svg { width: 18px; height: 18px; color: var(--sky); }
.tour-play:hover { background: var(--sky); color: var(--navy-deep); }
.tour-play:hover svg { color: var(--navy-deep); }
.plate figcaption a { color: inherit; text-underline-offset: 4px; }
.marker { position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: var(--navy-deep); border: 2px solid var(--sky); color: var(--sky); display: grid; place-items: center; font-family: var(--m); font-size: 12px; font-weight: 500; box-shadow: 0 0 0 6px rgba(96, 192, 232, 0.22); }
.marker-list { display: grid; gap: 10px; }
.marker-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.marker-list b { font-family: var(--m); font-size: 12px; font-weight: 500; color: var(--sky); }

.points { border-top: 1px solid var(--line); }
.points li { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.points h3 { font-size: 17px; font-stretch: 106%; font-weight: 540; line-height: 1.3; }
.points p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.bp .points, .bp .points li { border-color: var(--bp-line); }
.bp .points p { color: var(--bp-muted); }

/* ---------- method ---------- */
.method { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px 64px; align-items: start; }
.method-visual { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.method-steps { display: flex; flex-direction: column; }
.method-steps li { min-height: 34vh; padding: 28px 0; border-top: 1px solid var(--bp-line); display: flex; flex-direction: column; gap: 10px; transition: opacity 0.35s var(--ease); }
.js .method-steps li { opacity: 0.45; }
.js .method-steps li.on { opacity: 1; }
.method-steps .label { color: var(--sky); }
.method-steps h3 { font-size: clamp(24px, 2.4vw, 32px); font-stretch: 110%; font-weight: 540; }
.method-steps p { color: var(--bp-muted); max-width: 46ch; }
.stage-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--bp-line); font-family: var(--m); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.stage-bar span { padding: 9px 10px; color: var(--bp-muted); transition: background-color 0.3s, color 0.3s; }
.stage-bar span + span { border-left: 1px solid var(--bp-line); }
.stage-bar span.on { background: var(--sky); color: var(--navy-deep); }
@media (max-width: 900px) {
  .method { grid-template-columns: 1fr; }
  .method-visual { top: var(--nav-h); z-index: 2; background: var(--navy-deep); padding-block: 12px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); border-bottom: 1px solid var(--bp-line); }
  .method-steps li { min-height: 44vh; }
}
.method.static .method-steps li { min-height: 0; opacity: 1; }

/* record feed */
.feed { border: 1px solid var(--bp-line); background: rgba(6, 14, 34, 0.45); }
.feed-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--bp-line); font-family: var(--m); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bp-muted); }
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--sky); }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
@media (prefers-reduced-motion: no-preference) { .live::before { animation: blink 1.6s steps(2, jump-none) infinite; } }
@keyframes blink { 50% { opacity: 0.25; } }
.feed ol { padding: 4px 14px 8px; }
.feed li { display: grid; grid-template-columns: 70px 80px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 34px; border-top: 1px solid rgba(233, 240, 250, 0.08); font-size: 13.5px; color: var(--bp-text); }
.feed li:first-child { border-top: 0; }
.feed li > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed .t { font-family: var(--m); font-size: 11.5px; color: var(--bp-muted); font-variant-numeric: tabular-nums; }
.feed .tag { font-family: var(--m); font-size: 10px; letter-spacing: 0.08em; color: var(--sky); border: 1px solid rgba(96, 192, 232, 0.4); padding: 2px 6px; justify-self: start; }
.feed li.new { animation: feedin 0.5s var(--ease); }
.feed li:nth-child(n+6) { opacity: 0.5; }
@keyframes feedin { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 520px) { .feed li { grid-template-columns: 62px minmax(0, 1fr); } .feed .t { display: none; } }

/* ---------- crew ---------- */
.crew { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 28px); }
@media (max-width: 1100px) { .crew { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 340px) { .crew { grid-template-columns: 1fr; } }
.dept + .dept { margin-top: clamp(40px, 5vw, 64px); }
.dept-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line-2); margin-bottom: 24px; }
.dept-head h3 { font-size: 20px; font-stretch: 108%; font-weight: 540; }
@media (max-width: 460px) { .member p { font-size: 13px; } .member h3 { font-size: 16px; } }
.member { display: flex; flex-direction: column; gap: 6px; }
.portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line-2); background: var(--navy-deep); margin-bottom: 12px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: grayscale(1) contrast(1.05); transition: filter 0.5s var(--ease); }
.member:hover .portrait img { filter: none; }
.portrait .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--sky); font-size: clamp(34px, 4vw, 46px); font-stretch: 112%; font-weight: 500;
  background-image: linear-gradient(rgba(233, 240, 250, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(233, 240, 250, 0.06) 1px, transparent 1px); background-size: 24px 24px; }
.portrait .ph-note { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; color: var(--bp-muted); }
.portrait .tag { position: absolute; left: 0; top: 0; padding: 5px 8px; background: var(--sheet); border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); font-family: var(--m); font-size: 10px; letter-spacing: 0.1em; color: var(--ink-3); }
.member h3 { font-size: 18px; font-stretch: 106%; font-weight: 540; line-height: 1.25; }
.member .label { color: var(--navy); }
.member p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin-top: 6px; }

/* ---------- port calls ---------- */
.ports { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .ports { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ports .plate-img { aspect-ratio: 4 / 3; }
@media (max-width: 600px) { .ports { grid-template-columns: 1fr; } }

/* ---------- queries ---------- */
.queries { border-top: 1px solid var(--line-2); counter-reset: q; }
.queries details { border-bottom: 1px solid var(--line); }
.queries summary { list-style: none; display: grid; grid-template-columns: 48px minmax(0, 1fr) 28px; gap: 12px; align-items: center; padding: 20px 4px; cursor: pointer; font-size: clamp(17px, 1.5vw, 20px); font-stretch: 104%; font-weight: 520; }
.queries summary::-webkit-details-marker { display: none; }
.queries summary::before { counter-increment: q; content: "Q" counter(q, decimal-leading-zero); font-family: var(--m); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; color: var(--navy); }
.queries summary::after { content: ""; width: 26px; height: 26px; border: 1px solid var(--line-2);
  background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat; transition: transform 0.25s var(--ease); }
.queries details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat; }
.queries summary:hover { color: var(--navy); }
.queries .answer { padding: 0 44px 24px 64px; color: var(--ink-2); max-width: 78ch; }
.queries .answer p + p { margin-top: 0.8em; }
@media (max-width: 600px) { .queries summary { grid-template-columns: 40px minmax(0, 1fr) 28px; } .queries .answer { padding-left: 4px; padding-right: 4px; } }

/* ---------- enquiry ---------- */
.enquiry { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .enquiry { grid-template-columns: 1fr; } }
.contact-list { border-top: 1px solid var(--line-2); }
.contact-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.form-sheet { background: var(--white); border: 1px solid var(--line-2); }
.form-sheet .sheet-head { background: var(--sheet); }
.form-body { padding: clamp(20px, 3vw, 32px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.field { position: relative; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--m); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); padding: 10px 12px 0; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; padding: 4px 12px 12px; width: 100%; border-radius: 0; appearance: none; -webkit-appearance: none; }
.field select { background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 18px) 55% / 5px 5px no-repeat, linear-gradient(-45deg, transparent 50%, var(--ink) 50%) calc(100% - 13px) 55% / 5px 5px no-repeat; cursor: pointer; }
.field textarea { min-height: 120px; resize: vertical; }
.field:focus-within { background: rgba(96, 192, 232, 0.08); box-shadow: inset 0 0 0 2px var(--sky-ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; }
.field .err { display: none; font-size: 12.5px; color: #B42318; padding: 0 12px 10px; }
.field.has-error { box-shadow: inset 0 0 0 2px #B42318; }
.field.has-error .err { display: block; }
.form-honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-mount:not(:empty) { margin-top: 18px; min-height: 65px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.form-actions .note { font-size: 14px; color: var(--ink-3); }
.submit-btn .spin { display: none; width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
.submit-btn.loading .spin { display: inline-block; }
.submit-btn.loading svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success, .form-error { display: none; padding: 24px; border-top: 1px solid var(--line-2); }
.form-success.show, .form-error.show { display: block; }
.form-success h3, .form-error h3 { font-size: 22px; font-stretch: 108%; font-weight: 540; margin-bottom: 8px; }
.form-error { background: #FEF3F2; }
.form-error h3 { color: #B42318; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- prompt band ---------- */
.prompt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
@media (max-width: 760px) { .prompt { grid-template-columns: 1fr; } }

/* ---------- related ---------- */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.related a { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 26px; text-decoration: none; border-bottom: 1px solid var(--line); transition: background-color 0.2s; }
.related a + a { border-left: 1px solid var(--line); }
.related a:hover { background: rgba(96, 192, 232, 0.1); }
.related a .label { color: var(--navy); }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } .related a + a { border-left: 0; } }

/* ---------- options ---------- */
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.options > div { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 28px; border-bottom: 1px solid var(--line); }
.options > div + div { border-left: 1px solid var(--line); }
.options .label { color: var(--navy); }
.options .big { font-size: clamp(26px, 2.8vw, 38px); font-stretch: 110%; font-weight: 540; line-height: 1.05; letter-spacing: -0.02em; }
@media (max-width: 760px) { .options { grid-template-columns: 1fr; } .options > div + div { border-left: 0; } }

/* ---------- page head (sub pages) ---------- */
.page-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 32px 64px; align-items: center; }
@media (max-width: 1000px) { .page-head { grid-template-columns: 1fr; } }
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #D6DEEB; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-block { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; border: 1px solid rgba(233, 240, 250, 0.22); border-top: 0; }
.foot-block > div { padding: 28px 24px; }
.foot-block > div + div { border-left: 1px solid rgba(233, 240, 250, 0.14); }
.foot-block h2 { font-family: var(--m); font-size: 10.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #8FA0BE; margin-bottom: 14px; }
.foot-block li + li { margin-top: 6px; }
.foot-brand img { height: 30px; width: auto; margin-bottom: 18px; }
.foot-brand p { font-size: 14px; line-height: 1.6; color: #AAB7CC; max-width: 34ch; }
.foot address { font-style: normal; line-height: 1.7; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(233, 240, 250, 0.3); }
.social a:hover { background: #fff; color: var(--ink); text-decoration: none; }
.social svg { width: 16px; height: 16px; }
.foot-legal { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; padding: 22px 24px 40px; font-size: 12.5px; line-height: 1.6; color: #8FA0BE; border: 1px solid rgba(233, 240, 250, 0.22); border-top: 0; }
.foot-legal .meta { font-family: var(--m); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 900px) { .foot-legal .meta { white-space: normal; } }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; border: 1px solid rgba(233, 240, 250, 0.22); margin-top: 56px; font-family: var(--m); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #8FA0BE; }
.foot-top > * { padding: 10px 16px; }
.foot-top > * + * { border-left: 1px solid rgba(233, 240, 250, 0.14); }
@media (max-width: 900px) {
  .foot-block { grid-template-columns: 1fr 1fr; }
  .foot-block > div:nth-child(3) { border-left: 0; }
  .foot-block > div:nth-child(n+3) { border-top: 1px solid rgba(233, 240, 250, 0.14); }
  .foot-legal { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-top > * + * { display: none; }
}
@media (max-width: 520px) { .foot-block { grid-template-columns: 1fr; } .foot-block > div + div { border-left: 0; border-top: 1px solid rgba(233, 240, 250, 0.14); } }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; align-content: center; gap: 24px; }

/* ---------- page transitions (modern browsers; others load normally) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out 0.22s ease both; }
  ::view-transition-new(root) { animation: vt-in 0.4s var(--ease) both; }
  .nav { view-transition-name: site-nav; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- images cannot be dragged out or long-pressed to save ---------- */
img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
