/* ==========================================================================
   АО «Морской торговый порт Оля» — стили сайта
   ========================================================================== */

@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(../fonts/manrope-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(../fonts/manrope-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: "Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/plexmono-400-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/plexmono-400-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: "Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/plexmono-500-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/plexmono-500-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;
}

:root {
  --navy-950: #061521;
  --navy-900: #0A1F30;
  --navy-800: #0E2A40;
  --navy-700: #153a57;
  --sea-600: #1F5A85;
  --sea-500: #2E6F9E;
  --sea-300: #8DB6D4;
  --sea-100: #DCE9F3;
  --brass: #C9A45C;
  --brass-600: #B08A42;
  --brass-200: #EBDDB8;
  --paper: #F3F5F7;
  --paper-2: #E9EDF1;
  --white: #FFFFFF;
  --ink: #0D1B26;
  --text: #2B3B48;
  --muted: #627485;
  --line: rgba(13, 27, 38, .12);
  --line-strong: rgba(13, 27, 38, .2);
  --line-dark: rgba(255, 255, 255, .14);
  --ok: #2F8F6B;
  --off: #9AA6B2;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 84px;
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(6, 21, 33, .06), 0 8px 24px rgba(6, 21, 33, .08);
  --shadow-lg: 0 2px 6px rgba(6, 21, 33, .08), 0 24px 60px rgba(6, 21, 33, .16);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.12; letter-spacing: -.015em; }
h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); letter-spacing: -.025em; line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
h4 { font-size: 1.0625rem; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 700; }
::selection { background: var(--brass); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header-h) + 64px); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-feature-settings: "zero" 0; letter-spacing: 0; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--brass); color: var(--navy-900); padding: 10px 16px; font-weight: 700; border-radius: var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass-600);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .eyebrow--light { color: var(--brass); }
.index-num { font-family: var(--mono); font-size: .8125rem; color: var(--brass-600); letter-spacing: .04em; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy-900); --fg: var(--white); --bd: var(--navy-900);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 28px;
  font: 700 .8125rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg); background: var(--bg); border: 1px solid var(--bd); border-radius: var(--radius);
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hover-bg, var(--sea-600));
  transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--hover-bg, var(--sea-600)); color: var(--hover-fg, var(--white)); }
.btn .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--brass { --bg: var(--brass); --fg: var(--navy-900); --bd: var(--brass); --hover-bg: var(--white); --hover-fg: var(--navy-900); }
.btn--ghost { --bg: transparent; --fg: var(--white); --bd: rgba(255,255,255,.4); --hover-bg: var(--white); --hover-fg: var(--navy-900); }
.btn--outline { --bg: transparent; --fg: var(--navy-900); --bd: var(--line-strong); --hover-bg: var(--navy-900); --hover-fg: var(--white); }
.btn--sm { height: 42px; padding: 0 20px; font-size: .75rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy-900);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 4px; transition: background-size .5s var(--ease-out), color .3s;
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow .arrow { transition: transform .4s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .5s var(--ease), height .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line-dark); opacity: 1; transition: opacity .5s;
}
.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(8, 26, 40, .9);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 10px 30px rgba(6, 21, 33, .25);
}
.site-header.is-scrolled::after { opacity: 0; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; color: var(--white); }
.brand-mark { width: 58px; height: auto; transition: width .5s var(--ease), transform .6s var(--ease); }
.site-header.is-scrolled .brand-mark { width: 50px; }
.brand:hover .brand-mark { transform: translateX(3px); }
.brand-text { display: flex; flex-direction: column; line-height: 1; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.22); }
.brand-text small { font-size: .625rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--sea-300); margin-bottom: 6px; }
.brand-text b { font-size: 1.25rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
.brand-text b span { color: var(--brass); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  position: relative; display: block; padding: 10px 14px;
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.82); transition: color .3s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--white); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { flex-shrink: 0; }

.burger {
  display: none; margin-left: auto; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.3);
  background: transparent; border-radius: var(--radius); cursor: pointer; position: relative; color: var(--white);
}
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy-950);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 0;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a.m-link {
  display: flex; align-items: baseline; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line-dark);
  font-size: 1.5rem; font-weight: 700; color: var(--white); letter-spacing: -.01em;
  opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .6s var(--ease-out), color .3s;
}
.mobile-menu a.m-link .mono { font-size: .75rem; color: var(--brass); }
.mobile-menu a.m-link[aria-current="page"] { color: var(--brass); }
.menu-open .mobile-menu a.m-link { opacity: 1; transform: none; }
.mobile-menu-contacts { color: var(--sea-300); font-size: .95rem; display: grid; gap: 6px; margin-top: 32px; }
.mobile-menu > .btn { margin-top: 24px; align-self: flex-start; }
.mobile-menu-contacts a { color: var(--white); }
body.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white); background: var(--navy-950); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: -4% 0 0; z-index: -2; will-change: transform; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  animation: kenburns 28s var(--ease) both;
}
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,21,33,.92) 0%, rgba(6,21,33,.72) 38%, rgba(6,21,33,.25) 75%, rgba(6,21,33,.35) 100%),
    linear-gradient(0deg, rgba(6,21,33,.95) 0%, rgba(6,21,33,0) 45%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 120px 120px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}
.hero-content { position: relative; width: 100%; padding-top: calc(var(--header-h) + 80px); padding-bottom: 150px; }
.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--brass); }
.hero-lead { max-width: 560px; font-size: 1.1875rem; color: rgba(255,255,255,.8); margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 40px);
  display: grid; gap: 6px; text-align: right;
  font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; color: rgba(255,255,255,.6);
}
.hero-meta b { color: var(--white); font-weight: 500; }

.hero-facts {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  border-top: 1px solid var(--line-dark);
  background: linear-gradient(0deg, rgba(6,21,33,.55), rgba(6,21,33,0));
}
.hero-facts ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-facts li {
  padding: 22px 24px 26px 0; display: flex; gap: 14px; align-items: flex-start;
  font-size: .875rem; color: rgba(255,255,255,.72); line-height: 1.45;
}
.hero-facts li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero-facts b { display: block; color: var(--white); font-size: .9375rem; margin-bottom: 2px; }
.hero-facts .mono { color: var(--brass); font-size: .75rem; padding-top: 3px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 110px; z-index: 2; transform: translateX(-50%);
  width: 1px; height: 56px; background: rgba(255,255,255,.2); overflow: hidden;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--brass);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0% { top: -40%; } 100% { top: 110%; } }

/* waves */
.waves { position: absolute; left: 0; right: 0; bottom: 74px; height: 90px; z-index: -1; pointer-events: none; opacity: .55; }
.waves svg { position: absolute; bottom: 0; width: 200%; height: 100%; }
.waves path { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 1; vector-effect: non-scaling-stroke; }
.waves .w1 { animation: drift 26s linear infinite; }
.waves .w2 { animation: drift 38s linear infinite reverse; opacity: .7; }
.waves .w3 { animation: drift 52s linear infinite; opacity: .45; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Page hero (inner) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(420px, 62vh, 620px);
  display: flex; align-items: flex-end;
  color: var(--white); background: var(--navy-900);
}
.page-hero-media { position: absolute; inset: -6% 0 0; z-index: -2; will-change: transform; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s var(--ease) both; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6,21,33,.9) 0%, rgba(6,21,33,.6) 55%, rgba(6,21,33,.35) 100%),
              linear-gradient(0deg, rgba(6,21,33,.85) 0%, rgba(6,21,33,0) 60%);
}
.page-hero .container { padding-top: calc(var(--header-h) + 60px); padding-bottom: 64px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 5.4vw, 4.6rem); max-width: 18ch; }
.page-hero-lead { max-width: 640px; margin-top: 22px; color: rgba(255,255,255,.78); font-size: 1.125rem; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; margin-bottom: 26px; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.breadcrumbs a { color: rgba(255,255,255,.8); transition: color .3s; }
.breadcrumbs a:hover { color: var(--brass); }
.breadcrumbs span[aria-hidden] { color: var(--brass); }
.page-hero--plain { min-height: 380px; background: radial-gradient(120% 140% at 85% 0%, var(--navy-700) 0%, var(--navy-900) 45%, var(--navy-950) 100%); }
.page-hero--plain::before { display: none; }

/* ---------- Sub navigation (in-page) ---------- */
.subnav {
  position: sticky; top: 70px; z-index: 50;
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.subnav ul { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  position: relative; display: block; white-space: nowrap; padding: 18px 16px;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: color .3s;
}
.subnav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 2px; background: var(--brass); transform: scaleX(0); transition: transform .45s var(--ease-out); }
.subnav a:hover, .subnav a.is-active { color: var(--navy-900); }
.subnav a.is-active::after { transform: scaleX(1); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 136px) 0; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--navy-900); color: rgba(255,255,255,.75); }
.section--dark h2, .section--dark h3, .section--dark h4, .section--dark strong { color: var(--white); }
.section--deep { background: var(--navy-950); color: rgba(255,255,255,.72); }
.section--deep h2, .section--deep h3, .section--deep strong { color: var(--white); }
.section + .section--paper, .section--paper + .section { border-top: 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 80px; align-items: end; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head p { color: var(--muted); font-size: 1.0625rem; max-width: 520px; }
.section--dark .section-head p, .section--deep .section-head p { color: rgba(255,255,255,.62); }
.section-head--stack { grid-template-columns: 1fr; max-width: 760px; gap: 20px; }

.lead { font-size: 1.25rem; line-height: 1.6; color: var(--ink); font-weight: 500; }
.section--dark .lead, .section--deep .lead { color: var(--white); }
.prose p { color: var(--text); }
.prose p + p { margin-top: 1em; }
.section--dark .prose p, .section--deep .prose p { color: rgba(255,255,255,.72); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split--5-7 { grid-template-columns: 5fr 7fr; }
.split--7-5 { grid-template-columns: 7fr 5fr; }

.rule { height: 1px; background: var(--line); border: 0; margin: 40px 0; }

/* ---------- Media frame ---------- */
.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy-800); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.frame:hover img { transform: scale(1.04); }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--square { aspect-ratio: 1; }
.frame-caption {
  position: absolute; left: 0; bottom: 0; padding: 14px 18px;
  background: rgba(6,21,33,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--mono); font-size: .75rem; color: rgba(255,255,255,.85); letter-spacing: .04em;
}
.frame-corner::before, .frame-corner::after {
  content: ""; position: absolute; width: 28px; height: 28px; border: 1px solid var(--brass); z-index: 2; pointer-events: none;
}
.frame-corner::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.frame-corner::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 32px 28px 8px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat-value { display: flex; align-items: baseline; gap: 8px; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.stat-value small { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.stat-label { margin-top: 14px; font-size: .9375rem; color: var(--muted); line-height: 1.45; max-width: 220px; }
.on-dark .stats, .section--dark .stats, .section--deep .stats { border-color: var(--line-dark); }
.section--dark .stat + .stat, .section--deep .stat + .stat { border-color: var(--line-dark); }
.section--dark .stat-value, .section--deep .stat-value { color: var(--white); }
.section--dark .stat-value small, .section--deep .stat-value small, .section--dark .stat-label, .section--deep .stat-label { color: rgba(255,255,255,.6); }

/* ---------- Service triad ---------- */
.triad { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.triad-item { position: relative; padding: 44px 36px 48px; transition: background-color .5s var(--ease); }
.triad-item + .triad-item { border-left: 1px solid var(--line); }
.triad-item::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.triad-item:hover { background: var(--paper); }
.triad-item:hover::before { transform: scaleX(1); }
.triad-item .index-num { display: block; margin-bottom: 56px; }
.triad-item h3 { font-size: 1.5rem; margin-bottom: 6px; }
.triad-item .kicker { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sea-600); margin-bottom: 18px; display: block; }
.triad-item p { color: var(--muted); font-size: 1rem; }
.icon-line { width: 44px; height: 44px; color: var(--navy-900); margin-bottom: 28px; }
.icon-line * { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Feature (image + text) ---------- */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 560px; }
.feature--reverse { grid-template-columns: 1fr 1.1fr; }
.feature--reverse .feature-media { order: 2; }
.feature-media { position: relative; overflow: hidden; background: var(--navy-800); }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.feature:hover .feature-media img { transform: scale(1.04); }
.feature-body { padding: clamp(48px, 7vw, 104px) clamp(28px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; }
.feature-body h2 { margin-bottom: 24px; }
.feature-body .sub { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sea-600); margin-bottom: 22px; }
.section--dark .feature-body .sub { color: var(--sea-300); }
.feature-body p { color: var(--muted); }
.section--dark .feature-body p { color: rgba(255,255,255,.68); }
.feature-body .link-arrow { margin-top: 32px; align-self: flex-start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 100px; font-size: .8125rem; font-weight: 600; color: var(--ink); background: var(--white); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.section--dark .chip { border-color: var(--line-dark); color: var(--white); background: transparent; }

/* ---------- Route chart ---------- */
.chart-wrap { position: relative; }
.route-chart { width: 100%; height: auto; max-height: 760px; margin: 0 auto; }
.route-chart .graticule line { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.route-chart .graticule text { fill: rgba(255,255,255,.3); font: 400 10px var(--mono); }
.route-chart .sea { fill: rgba(46,111,158,.16); stroke: rgba(141,182,212,.45); stroke-width: 1.2; }
.route-chart .sea-lines path { fill: none; stroke: rgba(141,182,212,.12); stroke-width: 1; }
.route-chart .route { fill: none; stroke: var(--brass); stroke-width: 1.6; stroke-dasharray: 5 7; animation: routeflow 1.6s linear infinite; }
.route-chart .route--ferry { stroke: #fff; stroke-dasharray: 2 6; opacity: .75; }
.route-chart .corridor { fill: none; stroke: rgba(201,164,92,.55); stroke-width: 1; stroke-dasharray: 1 5; }
@keyframes routeflow { to { stroke-dashoffset: -24; } }
.route-chart .node circle.dot { fill: var(--brass); }
.route-chart .node circle.ring { fill: none; stroke: var(--brass); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: ping 2.6s var(--ease) infinite; }
.route-chart .node--home circle.dot { fill: #fff; }
.route-chart .node--home circle.ring { stroke: #fff; }
.route-chart .node text { fill: #fff; font: 700 13px var(--font); letter-spacing: .04em; }
.route-chart .node text.cc { fill: rgba(255,255,255,.5); font: 400 10px var(--mono); letter-spacing: .08em; }
.route-chart .river { fill: none; stroke: rgba(141,182,212,.5); stroke-width: 1.2; }
.route-chart .arrow-label { fill: rgba(255,255,255,.55); font: 400 10px var(--mono); letter-spacing: .1em; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 28px; margin-top: 28px; font-size: .8125rem; color: rgba(255,255,255,.6); }
.legend span { display: inline-flex; align-items: center; gap: 10px; }
.legend i { width: 28px; height: 0; border-top: 1.6px dashed var(--brass); }
.legend i.ferry { border-top: 1.6px dotted #fff; }
.legend i.corr { border-top: 1px dotted var(--brass); opacity: .7; }

.adv-list { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--line-dark); }
.adv-list li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.adv-list .mono { color: var(--brass); font-size: .8125rem; padding-top: 3px; }
.adv-list b { display: block; color: var(--white); margin-bottom: 4px; font-size: 1.0625rem; }
.adv-list p { font-size: .9375rem; color: rgba(255,255,255,.62); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: var(--white); padding: clamp(80px, 10vw, 128px) 0; background: var(--navy-900); }
.cta-band-media { position: absolute; inset: -10% 0; z-index: -2; will-change: transform; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,21,33,.94) 0%, rgba(6,21,33,.78) 50%, rgba(6,21,33,.55) 100%); }
.cta-band .container { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.cta-band h2 { color: var(--white); max-width: 20ch; }
.cta-band p { color: rgba(255,255,255,.72); margin-top: 20px; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 24px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .9875rem; }
.card .index-num { margin-bottom: 28px; display: block; }
.card .card-tag { font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sea-600); margin-bottom: 14px; }
.section--paper .card { border-color: transparent; box-shadow: var(--shadow); }
.section--dark .card { background: rgba(255,255,255,.03); border-color: var(--line-dark); }
.section--dark .card p { color: rgba(255,255,255,.62); }
.section--dark .card:hover { background: rgba(255,255,255,.06); box-shadow: none; }

.card--media { padding: 0; overflow: hidden; }
.card--media .card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.card--media .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card--media:hover .card-img img { transform: scale(1.05); }
.card--media .card-body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }

.card-spec { margin-top: auto; padding-top: 18px; display: grid; gap: 8px; }
.card-spec li { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: .9375rem; }
.card-spec li span:first-child { color: var(--muted); }
.card-spec li span:last-child { font-family: var(--mono); color: var(--ink); font-weight: 500; text-align: right; }

/* ---------- Quote ---------- */
.statement { position: relative; padding: clamp(40px, 6vw, 72px) 0 0; }
.statement blockquote {
  margin: 0; font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.32; font-weight: 600; letter-spacing: -.015em; color: var(--white); max-width: 30ch;
}
.statement blockquote::before { content: ""; display: block; width: 56px; height: 2px; background: var(--brass); margin-bottom: 32px; }
.statement cite { display: block; margin-top: 28px; font-style: normal; font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sea-300); }

/* ---------- Timeline / steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--mono); font-size: .8125rem; color: var(--brass-600); padding-top: 6px; letter-spacing: .04em; }
.step h3 { margin-bottom: 12px; font-size: 1.375rem; }
.step p { color: var(--muted); }

ol.checklist { padding: 0; list-style: none; }
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; margin-top: 24px; counter-reset: chk; }
.checklist li { position: relative; padding: 16px 16px 16px 56px; background: var(--paper); border-radius: var(--radius); font-size: .9375rem; color: var(--text); line-height: 1.5; counter-increment: chk; }
.checklist li::before {
  content: counter(chk, decimal-leading-zero); position: absolute; left: 16px; top: 16px;
  font-family: var(--mono); font-size: .75rem; color: var(--brass-600); font-weight: 500;
}
.checklist li b { color: var(--ink); }

.notice { display: flex; gap: 16px; padding: 22px 24px; border-left: 2px solid var(--brass); background: rgba(201,164,92,.08); border-radius: 0 var(--radius) var(--radius) 0; font-size: .9375rem; color: var(--text); }
.notice svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--brass-600); }
.notice a { color: var(--sea-600); font-weight: 700; border-bottom: 1px solid currentColor; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 640px; }
.table th, .table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { position: sticky; top: 0; background: var(--navy-900); color: rgba(255,255,255,.85); font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-bottom: 0; white-space: nowrap; }
.table tbody tr { transition: background-color .25s; }
.table tbody tr:hover { background: var(--paper); }
.table tbody tr:last-child td { border-bottom: 0; }
.table td.num, .table th.num { text-align: right; font-family: var(--mono); white-space: nowrap; }
.table thead th.num { font-family: var(--font); }
.table td.num { color: var(--ink); font-weight: 500; }
.table td.berth { font-family: var(--mono); font-weight: 500; color: var(--ink); white-space: nowrap; }
.table tr.group td { background: var(--paper-2); font-size: .6875rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-700); padding-top: 12px; padding-bottom: 12px; }
.table .price { font-family: var(--mono); font-weight: 500; color: var(--ink); white-space: nowrap; text-align: right; }
.table .unit { color: var(--muted); font-family: var(--mono); font-size: .8125rem; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 100px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--ok { color: var(--ok); background: rgba(47,143,107,.1); }
.badge--off { color: #6E7C89; background: rgba(110,124,137,.12); }
.badge--warn { color: var(--brass-600); background: rgba(201,164,92,.14); }
.table--compact { min-width: 0; }
.table--compact thead th { white-space: normal; }
.table--compact td.price { width: 1%; }
.table-note { margin-top: 16px; font-size: .875rem; color: var(--muted); }

/* ---------- Fleet ---------- */
.fleet-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.filters { display: inline-flex; padding: 4px; background: var(--paper); border-radius: 100px; gap: 2px; }
.filter-btn {
  border: 0; background: transparent; cursor: pointer; padding: 10px 20px; border-radius: 100px;
  font: 700 .75rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  transition: background-color .35s var(--ease), color .35s, box-shadow .35s;
}
.filter-btn .mono { margin-left: 6px; color: var(--brass-600); font-size: .75rem; }
.filter-btn:hover { color: var(--ink); }
.filter-btn.is-active { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(6,21,33,.12); }
.fleet-summary { display: flex; gap: 28px; font-size: .875rem; color: var(--muted); }
.fleet-summary b { font-family: var(--mono); font-weight: 500; color: var(--ink); margin-right: 6px; font-size: 1rem; }

.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ship {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), opacity .45s var(--ease), border-color .4s;
}
.ship:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ship.is-hidden { display: none; }
.ship-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); border: 0; padding: 0; cursor: zoom-in; width: 100%; }
.ship-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ship:hover .ship-photo img { transform: scale(1.05); }
.ship-type {
  position: absolute; left: 14px; top: 14px; padding: 6px 10px; border-radius: 100px;
  background: rgba(6,21,33,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--white); font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.ship-type--roro { background: rgba(176,138,66,.92); color: var(--navy-950); }
.ship-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.ship-name { font-size: 1.25rem; letter-spacing: .01em; margin-bottom: 4px; text-transform: uppercase; }
.ship-imo { font-family: var(--mono); font-size: .8125rem; color: var(--sea-600); }
.ship .card-spec { padding-top: 20px; }

/* fleet: photo credit & placeholder */
.ship-media { position: relative; }
.ship-credit { display: inline-block; margin-top: 6px; font-size: .75rem; color: var(--muted); border-bottom: 1px solid var(--line-strong); transition: color .3s, border-color .3s; }
.ship-credit:hover { color: var(--sea-600); border-color: currentColor; }
.ship-photo--empty {
  display: grid; place-items: center; cursor: default;
  background: radial-gradient(120% 100% at 50% 0%, #153a57 0%, #0b1f30 60%, #061521 100%);
  color: rgba(141,182,212,.55);
}
.ship-ph-art { width: 64%; height: auto; transition: transform 1.2s var(--ease-out); }
.ship:hover .ship-ph-art { transform: translateY(-3px); }
.ship-ph-art .w { stroke: rgba(201,164,92,.6); }
.ship-ph-text { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; color: rgba(255,255,255,.55); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 5vh 5vw;
  background: rgba(6,21,33,.94); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; transform: scale(.97); transition: transform .5s var(--ease-out); }
.lightbox.is-open figure { transform: none; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--radius); }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; color: var(--white); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lightbox figcaption .mono { color: var(--brass); font-weight: 400; text-transform: none; }
.lightbox-close {
  position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: transparent; color: var(--white); cursor: pointer; font-size: 22px; line-height: 1;
  transition: background-color .3s, color .3s;
}
.lightbox-close:hover { background: var(--white); color: var(--navy-900); }

/* ---------- Grain cards ---------- */
.grain { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.grain:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.grain-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.grain-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.grain:hover .grain-img img { transform: scale(1.05); }
.grain-img .badge { position: absolute; left: 16px; top: 16px; background: rgba(255,255,255,.94); }
.grain-body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.grain-body h3 { text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.grain-body .harvest { font-size: .8125rem; color: var(--muted); }
.grain.is-unavailable .grain-img img { filter: grayscale(.85) brightness(.9); }
.grain-empty { margin-top: auto; padding-top: 20px; color: var(--muted); font-size: .9375rem; }

/* Price */
.price-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.price-card { padding: 36px; border-radius: var(--radius-lg); border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); }
.price-card .label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sea-300); }
.price-card .value { margin: 20px 0 14px; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; color: var(--white); letter-spacing: -.03em; line-height: 1; }
.price-card .value small { font-size: 1rem; font-weight: 600; color: rgba(255,255,255,.6); letter-spacing: 0; }
.price-card .value .from { font-size: 1rem; font-weight: 600; color: var(--brass); margin-right: 6px; letter-spacing: 0; }
.price-card p { color: rgba(255,255,255,.65); font-size: .9375rem; }
.price-card--accent { border-color: var(--brass); background: linear-gradient(160deg, rgba(201,164,92,.14), rgba(201,164,92,.02)); }

.terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.term { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.term b { font-family: var(--mono); font-size: 1.5rem; font-weight: 500; color: var(--navy-900); display: block; margin-bottom: 6px; }
.term span { display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sea-600); margin-bottom: 8px; }
.term p { font-size: .9375rem; color: var(--muted); }

/* ---------- Documents ---------- */
.docs { display: grid; gap: 16px; }
.doc {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 24px; align-items: center;
  padding: 24px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color .4s, box-shadow .6s var(--ease-out), transform .6s var(--ease-out);
}
.doc:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.doc-icon { position: relative; width: 52px; height: 64px; border: 1.5px solid var(--navy-900); border-radius: 3px 14px 3px 3px; display: grid; place-items: end center; padding-bottom: 8px; }
.doc-icon::before { content: ""; position: absolute; right: -1.5px; top: -1.5px; width: 14px; height: 14px; border-left: 1.5px solid var(--navy-900); border-bottom: 1.5px solid var(--navy-900); background: var(--paper); border-radius: 0 12px 0 3px; }
.doc-icon span { font-family: var(--mono); font-size: .625rem; font-weight: 500; letter-spacing: .06em; background: var(--navy-900); color: var(--white); padding: 2px 5px; border-radius: 2px; }
.doc-info h3 { font-size: 1.125rem; margin-bottom: 6px; }
.doc-info p { font-size: .9375rem; color: var(--muted); }
.doc-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.doc-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-900);
  transition: background-color .35s var(--ease), color .35s, border-color .35s;
}
.dl-btn svg { width: 16px; height: 16px; }
.dl-btn small { font-family: var(--mono); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); transition: color .35s; }
.dl-btn:hover { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.dl-btn:hover small { color: var(--sea-300); }
.dl-btn--primary { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.dl-btn--primary small { color: var(--sea-300); }
.dl-btn--primary:hover { background: var(--sea-600); border-color: var(--sea-600); }

/* ---------- Contacts ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); transition: box-shadow .6s var(--ease-out), border-color .4s; }
.contact-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.contact-card h3 { font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.contact-card .person { color: var(--muted); font-size: .9375rem; margin-bottom: 4px; }
.contact-lines { display: grid; gap: 10px; margin-top: 18px; }
.contact-line { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; font-size: .9375rem; }
.contact-line > span:first-child { font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-line a { font-family: var(--mono); color: var(--ink); background: linear-gradient(var(--brass), var(--brass)) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease-out), color .3s; word-break: break-word; }
.contact-line a:hover { background-size: 100% 1px; color: var(--sea-600); }
.org-title { display: flex; align-items: center; gap: 16px; margin: 56px 0 24px; }
.org-title:first-child { margin-top: 0; }
.org-title h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.org-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.address-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.address-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.address-card .map { position: relative; aspect-ratio: 16 / 10; background: var(--paper-2); }
.address-card .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.02); }
.address-card .map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .875rem; }
.address-body { padding: 28px 30px 30px; }
.address-body .label { font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-600); margin-bottom: 10px; }
.address-body h3 { margin-bottom: 10px; }
.address-body p { color: var(--muted); }
.address-body .link-arrow { margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.6); padding: 88px 0 0; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 96px 96px;
}
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 64px; }
.footer-brand p { margin-top: 24px; max-width: 320px; font-size: .9375rem; }
.footer-col h4 { color: var(--white); font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: .9375rem; color: rgba(255,255,255,.7); transition: color .3s; }
.footer-col a:hover { color: var(--brass); }
.footer-col address { font-style: normal; font-size: .9375rem; line-height: 1.6; }
.footer-col address + address { margin-top: 18px; }
.footer-col .mono a { font-size: .875rem; }
.footer-bottom { position: relative; border-top: 1px solid var(--line-dark); padding: 24px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8125rem; color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: var(--brass); }
.to-top { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-fade { opacity: 0; transition: opacity 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal-fade.is-in { opacity: 1; }
/* clip is applied to children: a clipped target itself is never reported as intersecting */
.js .reveal-clip > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-out) var(--d, 0s), transform 1.4s var(--ease-out); }
.js .reveal-clip.is-in > * { clip-path: inset(0 0 0 0); }
.js .hero .reveal { transition-duration: 1.2s, 1.3s; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--navy-950); color: rgba(255,255,255,.7); padding: 120px var(--gutter); }
.notfound h1 { color: var(--white); font-size: clamp(5rem, 14vw, 10rem); font-family: var(--mono); font-weight: 500; letter-spacing: -.04em; }
.notfound p { margin: 12px auto 36px; max-width: 420px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 10px 10px; letter-spacing: .12em; }
  .main-nav a::after { left: 10px; right: 10px; }
  .header-cta { display: none; }
}
@media (max-width: 1024px) {
  .main-nav, .header-cta { display: none; }
  .burger { display: block; }
  .hero-meta { display: none; }
  .hero-facts ul { grid-template-columns: repeat(2, 1fr); }
  .hero-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-facts li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .hero-content { padding-bottom: 260px; }
  .scroll-cue { display: none; }
  .waves { bottom: 180px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section--dark .stat:nth-child(n+3), .section--deep .stat:nth-child(n+3) { border-top-color: var(--line-dark); }
  .triad { grid-template-columns: 1fr; }
  .triad-item + .triad-item { border-left: 0; border-top: 1px solid var(--line); }
  .triad-item .index-num { margin-bottom: 28px; }
  .feature, .feature--reverse { grid-template-columns: 1fr; }
  .feature--reverse .feature-media { order: 0; }
  .feature-media { min-height: 360px; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards--3, .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .container { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .split--5-7, .split--7-5 { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  :root { --header-h: 72px; }
  .site-header.is-scrolled { --header-h: 64px; }
  .subnav { top: 64px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .split { grid-template-columns: 1fr; }
  .cards--2, .cards--3, .cards--4, .fleet-grid, .contact-grid, .address-cards, .price-cards, .terms, .checklist { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .doc { grid-template-columns: 52px 1fr; }
  .doc-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .table th, .table td { padding: 14px 16px; }
  .table--compact .unit { display: block; }
  .fleet-summary { flex-wrap: wrap; gap: 12px 20px; }
  .brand-mark { width: 48px; }
  .site-header.is-scrolled .brand-mark { width: 44px; }
  .brand-text b { font-size: 1.05rem; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero-facts ul { grid-template-columns: 1fr 1fr; }
  .hero-facts li { padding: 16px 12px 18px 0; font-size: .8125rem; }
  .hero-facts li + li { padding-left: 12px; }
  .hero-facts li:nth-child(3) { padding-left: 0; }
  .hero-facts .mono { display: none; }
  .hero-content { padding-bottom: 240px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 12px 4px 0; }
  .stat + .stat { padding-left: 12px; }
  .stat:nth-child(3) { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-line { grid-template-columns: 1fr; gap: 2px; }
  .btn { height: 48px; padding: 0 22px; }
  .filters { width: 100%; }
  .filter-btn { flex: 1; padding: 10px 8px; }
  .card, .contact-card { padding: 26px 22px; }
  .brand-text small { letter-spacing: .18em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .reveal-fade { opacity: 1; transform: none; }
  .js .reveal-clip > * { clip-path: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-menu, .site-footer, .subnav, .cta-band, .hero-facts, .waves, .scroll-cue, .doc-actions, .no-print { display: none !important; }
  .page-hero { min-height: 0; color: #000; background: none; }
  .page-hero::before, .page-hero-media { display: none; }
  .page-hero h1, .page-hero-lead, .breadcrumbs { color: #000; }
  .page-hero .container { padding: 0 0 24px; }
  .section { padding: 24px 0; }
  .js .reveal, .js .reveal-fade { opacity: 1 !important; transform: none !important; }
  .table thead th { background: #eee; color: #000; }
  .table-wrap { border: 0; overflow: visible; }
  body { font-size: 11pt; }
}

/* ==========================================================================
   Интерактивная схема порта
   ========================================================================== */
.plan { margin-top: 72px; border: 1px solid var(--line-dark); border-radius: 12px; background: #0b1d2c; overflow: hidden; }
.plan-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--line-dark); }
.plan-title { margin-right: auto; color: var(--white); font-weight: 700; font-size: 1rem; line-height: 1.2; }
.plan-title-kicker { display: block; font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }
.plan-filters { display: inline-flex; padding: 3px; gap: 2px; background: rgba(255,255,255,.05); border-radius: 100px; }
.plan-filter {
  border: 0; background: transparent; color: rgba(255,255,255,.6); cursor: pointer; border-radius: 100px; padding: 8px 14px;
  font: 700 .6875rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; transition: background-color .35s var(--ease), color .35s;
}
.plan-filter .mono { margin-left: 6px; color: var(--brass); }
.plan-filter:hover { color: var(--white); }
.plan-filter.is-active { background: rgba(255,255,255,.12); color: var(--white); }
.plan-zoom { display: inline-flex; gap: 4px; }
.plan-zoom button {
  width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border-radius: 8px; border: 1px solid var(--line-dark);
  background: transparent; color: var(--white); font: 400 1.2rem/1 var(--font); cursor: pointer; transition: background-color .3s, border-color .3s, opacity .3s;
}
.plan-zoom button svg { width: 14px; height: 14px; }
.plan-zoom button:hover:not(:disabled) { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }
.plan-zoom button:disabled { opacity: .35; cursor: default; }

.plan-stage { position: relative; }
/* Рамка без прокруток: масштаб и сдвиг — через viewBox (main.js). Пропорции = viewBox плана (plan.py, VB). */
.plan-viewport {
  position: relative; overflow: hidden; aspect-ratio: 1208 / 420;
  touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.plan-viewport.can-drag { cursor: grab; }
.plan-viewport.is-dragging { cursor: grabbing; }
.plan-viewport .plan-svg { display: block; width: 100%; height: 100%; max-width: none; }
/* затенение края, за которым план продолжается */
.plan-stage::before, .plan-stage::after {
  content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 48px; pointer-events: none; opacity: 0; transition: opacity .45s var(--ease);
}
.plan-stage::before { left: 0; background: linear-gradient(90deg, rgba(6,21,33,.7), rgba(6,21,33,0)); }
.plan-stage::after { right: 0; background: linear-gradient(270deg, rgba(6,21,33,.7), rgba(6,21,33,0)); }
.plan-stage.more-l::before, .plan-stage.more-r::after { opacity: 1; }
/* индикатор положения кадра — появляется только во время движения */
.plan-pos { position: absolute; z-index: 2; pointer-events: none; border-radius: 2px; background: rgba(255,255,255,.1); opacity: 0; transition: opacity .6s var(--ease); }
.plan-pos--x { left: 16px; right: 16px; bottom: 6px; height: 3px; }
.plan-pos--y { top: 16px; bottom: 16px; right: 6px; width: 3px; }
.plan-pos i { position: absolute; display: block; border-radius: 2px; background: rgba(201,164,92,.85); }
.plan-pos--x i { top: 0; bottom: 0; }
.plan-pos--y i { left: 0; right: 0; }
.plan-stage.is-moving .plan-pos { opacity: 1; transition-duration: .15s; }
.plan-hint {
  position: absolute; z-index: 2; left: 14px; bottom: 12px; padding: 6px 12px; border-radius: 100px; pointer-events: none;
  background: rgba(6,21,33,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: .75rem; color: rgba(255,255,255,.7); transition: opacity .5s;
}
.plan-hint-touch { display: none; }
@media (hover: none) { .plan-hint-desk, .plan-hint-main { display: none; } .plan-hint-touch { display: inline; } }
.plan.has-interacted .plan-hint { opacity: 0; }
.plan.hint-wheel .plan-hint { opacity: 1; }
.plan.hint-wheel .plan-hint-main { display: none; }
.plan-tip {
  position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; max-width: 280px;
  padding: 8px 12px; border-radius: 6px; background: rgba(6,21,33,.95); border: 1px solid rgba(201,164,92,.6);
  color: var(--white); font-size: .8125rem; line-height: 1.35; white-space: nowrap;
  opacity: 0; transform: translate(-50%, calc(-100% - 16px)) scale(.96); transition: opacity .2s, transform .25s var(--ease-out);
}
.plan-tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 16px)); }
.plan-tip b { font-family: var(--mono); font-weight: 500; color: var(--brass); margin-right: 6px; }
.plan-tip span { color: rgba(255,255,255,.65); }

.plan-legend { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 14px 22px; border-top: 1px solid var(--line-dark); font-size: .8125rem; color: rgba(255,255,255,.6); }
.plan-legend span { display: inline-flex; align-items: center; gap: 10px; }
.plan-legend i { display: inline-block; flex-shrink: 0; }
.lg-quay { width: 20px; height: 3px; border-radius: 2px; background: var(--brass); }
.lg-quay.is-off { background: rgba(214,226,236,.45); }
.lg-stor { width: 16px; height: 11px; border-radius: 2px; border: 1px solid rgba(141,182,212,.55); background: rgba(141,182,212,.1); }
.lg-ware { width: 11px; height: 11px; border-radius: 2px; border: 1px solid var(--brass); background: rgba(201,164,92,.55); }
.lg-rail { width: 22px; height: 6px; background: linear-gradient(rgba(214,226,236,.55), rgba(214,226,236,.55)) 0 50% / 100% 1px no-repeat, repeating-linear-gradient(90deg, rgba(214,226,236,.35) 0 1px, transparent 1px 4px); }
.lg-tank { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(214,226,236,.7); }

.plan-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); border-top: 1px solid var(--line-dark); }
.plan-info { padding: 28px 30px 30px; border-right: 1px solid var(--line-dark); min-height: 300px; color: rgba(255,255,255,.72); }
.plan-info h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 14px; }
.plan-info p { font-size: .9375rem; color: rgba(255,255,255,.62); }
.pi-empty .eyebrow { margin-bottom: 14px; }
.pi-stats { display: flex; gap: 32px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.pi-stats div { font-size: .8125rem; color: rgba(255,255,255,.55); line-height: 1.3; }
.pi-stats b { display: block; font-family: var(--mono); font-weight: 500; font-size: 2rem; color: var(--white); margin-bottom: 6px; }
.pi-anim { animation: pi-in .5s var(--ease-out) both; }
@keyframes pi-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pi-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pi-kicker { display: block; font-size: .625rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-bottom: 8px; }
.pi-num { font-family: var(--mono); font-weight: 500; font-size: 2.6rem; line-height: .9; color: var(--white); letter-spacing: -.02em; }
.pi-no { font-family: var(--font); font-weight: 600; font-size: .5em; color: rgba(255,255,255,.5); margin-right: .3em; vertical-align: .45em; }
.plan-tip b i { font-family: var(--font); font-style: normal; margin-right: 3px; }
.pi-specs { margin: 0; }
.pi-specs div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-top: 1px dashed var(--line-dark); font-size: .9375rem; }
.pi-specs dt { color: rgba(255,255,255,.55); flex-shrink: 0; }
.pi-specs dd { margin: 0; color: var(--white); text-align: right; font-weight: 600; }
.pi-zone { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 18px; font-size: .875rem; color: rgba(255,255,255,.6); }
.pi-link, .pi-clear {
  border: 0; padding: 0 0 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; cursor: pointer;
  font: 700 .75rem/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); transition: background-size .45s var(--ease-out);
}
.pi-link:hover, .pi-clear:hover { background-size: 100% 1px; }
.pi-clear { margin-top: 22px; color: rgba(255,255,255,.6); }
.pi-berths-label { margin-top: 20px; font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.pi-berths { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pi-berths button {
  min-width: 44px; height: 36px; padding: 0 12px; border-radius: 100px; cursor: pointer;
  font: 500 .875rem/1 var(--mono); color: var(--white); background: transparent; border: 1px solid rgba(214,226,236,.3);
  transition: background-color .3s, color .3s, border-color .3s;
}
.pi-berths button.is-ok { border-color: rgba(201,164,92,.7); }
.pi-berths button:hover { background: var(--brass); border-color: var(--brass); color: var(--navy-900); }

.plan-terms { padding: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; align-content: start; }
.plan-term {
  display: grid; grid-template-columns: 10px 1fr; column-gap: 12px; row-gap: 2px; align-items: start; text-align: left;
  padding: 12px 14px; border-radius: 8px; border: 1px solid transparent; background: rgba(255,255,255,.025); color: var(--white); cursor: pointer;
  font-family: var(--font); transition: background-color .3s, border-color .3s, opacity .4s;
}
.plan-term-dot { grid-row: span 2; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 3px rgba(201,164,92,.18); }
.plan-term.is-off .plan-term-dot { background: rgba(214,226,236,.45); box-shadow: 0 0 0 3px rgba(214,226,236,.08); }
.plan-term-name { font-weight: 700; font-size: .875rem; line-height: 1.3; }
.plan-term-sub { font-size: .8125rem; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.5); }
.plan-term:hover, .plan-term.is-hover { background: rgba(255,255,255,.07); border-color: var(--line-dark); }
.plan-term.is-selected { background: rgba(201,164,92,.1); border-color: rgba(201,164,92,.7); }
.plan[data-filter="ok"] .plan-term.is-off, .plan[data-filter="off"] .plan-term.is-ok { opacity: .35; }

.plan-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.plan-limits { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; font-size: .9375rem; color: rgba(255,255,255,.6); }
.plan-limits-title { color: var(--white); font-weight: 700; }
.plan-limits b { color: var(--white); font-weight: 500; margin-left: 4px; }
.plan-downloads { display: flex; gap: 10px; }
.plan-note { margin-top: 16px; font-size: .8125rem; color: rgba(255,255,255,.4); }
.on-dark .badge--ok { color: #63d1a6; background: rgba(47,143,107,.18); }
.on-dark .badge--off { color: #b4c0cb; background: rgba(255,255,255,.08); }

/* SVG: interaction states */
.plan-svg .pp-zone { cursor: pointer; transition: fill .35s, stroke .35s, opacity .4s; }
.plan-svg .pp-zone:hover, .plan-svg .pp-zone.is-hover { fill: rgba(201,164,92,.09); stroke: rgba(201,164,92,.55); }
.plan-svg .pp-zone.is-selected { fill: rgba(201,164,92,.15); stroke: #C9A45C; }
.plan-svg .pp-zone:focus { outline: none; }
.plan-svg .pp-zone:focus-visible { stroke: #fff; }
.plan-svg .pp-label { font-size: calc(6.6px * var(--ls, 1)); transition: fill .35s, opacity .4s; pointer-events: none; }
.plan-svg .pp-label.is-hl { fill: #C9A45C; }
.plan-svg .pp-pin { cursor: pointer; transition: opacity .4s; }
.plan-svg .pp-pin:focus { outline: none; }
.plan-svg .pp-pin-body { transform-box: fill-box; transform-origin: center; transition: transform .35s var(--ease-out); }
.plan-svg .pp-pin:hover .pp-pin-body, .plan-svg .pp-pin:focus-visible .pp-pin-body, .plan-svg .pp-pin.is-related .pp-pin-body { transform: scale(1.18); }
.plan-svg .pp-pin.is-selected .pp-pin-body { transform: scale(1.32); }
.plan-svg .pp-pin-dot { transition: fill .3s, stroke .3s; }
.plan-svg .pp-pin text { transition: fill .3s; pointer-events: none; }
.plan-svg .pp-pin:hover .pp-pin-dot, .plan-svg .pp-pin:focus-visible .pp-pin-dot, .plan-svg .pp-pin.is-related .pp-pin-dot { stroke: #fff; }
.plan-svg .pp-pin.is-selected .pp-pin-dot { fill: #C9A45C; stroke: #C9A45C; }
.plan-svg .pp-pin.is-off.is-selected .pp-pin-dot { fill: #d6e2ec; stroke: #d6e2ec; }
.plan-svg .pp-pin.is-selected text { fill: #0A1F30; }
.plan-svg .pp-pin-halo { stroke: transparent; stroke-width: 1; transform-box: fill-box; transform-origin: center; }
.plan-svg .pp-pin.is-selected .pp-pin-halo { stroke: #C9A45C; animation: pp-ping 2.2s var(--ease) infinite; }
@keyframes pp-ping { 0% { transform: scale(.7); opacity: 1; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
.plan-svg .pp-quay { transition: stroke-width .3s, opacity .4s; }
.plan-svg .pp-quay.is-selected { stroke-width: 5; }
.plan-svg.has-selection .pp-pin:not(.is-selected):not(.is-related) { opacity: .5; }
.plan-svg[data-filter="ok"] .pp-pin.is-off, .plan-svg[data-filter="off"] .pp-pin.is-ok,
.plan-svg[data-filter="ok"] .pp-quay.is-off, .plan-svg[data-filter="off"] .pp-quay.is-ok { opacity: .12; }
.plan-svg[data-filter="ok"] .pp-zone.is-off, .plan-svg[data-filter="off"] .pp-zone.is-ok { opacity: 0; pointer-events: none; }
.plan-svg[data-filter="ok"] .pp-label.is-off, .plan-svg[data-filter="off"] .pp-label.is-ok { opacity: .25; }

/* entrance */
.js .plan:not(.is-in) .pp-pin-body { opacity: 0; }
.js .plan.is-in .pp-pin-body { animation: pp-pop .7s var(--ease-out) backwards; animation-delay: calc(var(--i) * 45ms + .35s); }
@keyframes pp-pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
.js .plan.is-in .pp-quay { stroke-dasharray: 1; animation: pp-draw 1.1s var(--ease-out) backwards; animation-delay: .25s; }
@keyframes pp-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

@media (max-width: 1024px) {
  .plan-panel { grid-template-columns: 1fr; }
  .plan-info { border-right: 0; border-bottom: 1px solid var(--line-dark); min-height: 0; }
}
@media (max-width: 800px) {
  .plan { margin-top: 48px; border-radius: 10px; }
  .plan-toolbar { padding: 12px 14px; }
  .plan-title { width: 100%; }
  .plan-filters { flex: 1; }
  .plan-filter { flex: 1; padding: 8px 6px; letter-spacing: .06em; }
  .plan-legend { padding: 12px 14px; gap: 8px 18px; font-size: .75rem; }
  .plan-info { padding: 22px 18px; }
  .plan-terms { grid-template-columns: 1fr; padding: 10px; }
  .plan-viewport { aspect-ratio: auto; height: clamp(240px, 72vw, 70vh); }
  .plan-hint { left: 10px; right: 10px; bottom: 10px; text-align: center; }
  .plan-foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .js .plan:not(.is-in) .pp-pin-body { opacity: 1; }
}
