/* Kyma Shipping — site styles */
:root {
  --navy: #0A1F3D;
  --navy-2: #0F3460;
  --deep: #07162C;
  --accent: #22709A;
  --sky: #7CC3E3;
  --sky-2: #9AD3EC;
  --paper: #F3F2EE;
  --paper-2: #FAFAF7;
  --sand: #E9E8E2;
  --muted: #5A6372;
  --ink-2: #2E3746;
  --ph: #C9D2DC;
  --line: rgba(10, 31, 61, 0.12);
  --gutter: clamp(20px, 4vw, 56px);
  --sec-y: clamp(80px, 9vw, 130px);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --hdr-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: 'Archivo', 'Noto Sans', system-ui, sans-serif; line-height: normal; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--accent); }
input, select, textarea, button { font-family: inherit; }
::selection { background: var(--navy-2); color: #fff; }
img { max-width: 100%; }

.mono { font-family: var(--mono); }
.wrap { max-width: 1328px; margin: 0 auto; }
.sec { padding: var(--sec-y) var(--gutter); }
.stack { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.stack-sm { display: flex; flex-direction: column; gap: clamp(36px, 4vw, 56px); }
.img { background-color: var(--ph); background-size: cover; background-position: center; }
.bg-paper2 { background: var(--paper-2); }
.bg-sand { background: var(--sand); }
.bt { border-top: 1px solid rgba(10, 31, 61, 0.1); }
.num { font-family: var(--mono); font-size: 11px; color: var(--accent); }

.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 820px; margin: 0 auto; }
.sec-title { margin: 0; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; font-weight: 650; font-stretch: 112%; letter-spacing: -0.01em; text-transform: uppercase; text-wrap: balance; }
.upper { text-transform: uppercase; font-stretch: 112%; font-weight: 650; }

.link-u { align-self: flex-start; font-size: 15px; font-weight: 600; color: var(--navy); border-bottom: 1.5px solid var(--navy); padding-bottom: 4px; }
.link-u:hover { color: var(--accent); border-color: var(--accent); }
.link-u.center { align-self: center; }

.k-btn { display: inline-block; padding: 17px 28px; white-space: nowrap; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; transition: all .2s; }
.k-btn-light { background: #fff; color: var(--navy); }
.k-btn-light:hover { background: var(--sky); color: var(--navy); }
.k-btn-ghost { border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; }
.k-btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 200; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; transition: transform 1s cubic-bezier(.75, 0, .2, 1); }
.preloader.done { transform: translateY(-100%); }
.pl-mark { position: relative; height: 120px; }
.pl-mark img { height: 120px; width: auto; display: block; }
.pl-ghost { opacity: 0.12; filter: grayscale(1); }
.pl-fill { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path .12s linear; }
.pl-word { height: 52px; width: auto; display: block; opacity: 0; transform: translateY(10px); transition: opacity .8s ease, transform .8s ease; }
.pl-word.on { opacity: 1; transform: none; }
.pl-meter { width: 240px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.pl-track { width: 100%; height: 2px; background: rgba(10, 31, 61, 0.1); position: relative; overflow: hidden; }
.pl-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, #0A1F3D, #2FA6DE); transition: width .12s linear; }
.pl-pct { font-size: 12px; letter-spacing: 0.16em; color: var(--muted); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0); border-bottom: 1px solid rgba(255, 255, 255, 0.18); box-shadow: none; transition: background .35s ease, border-color .35s ease, box-shadow .35s ease; --nav: #fff; }
.site-header.solid { background: #fff; border-bottom-color: rgba(10, 31, 61, 0.1); box-shadow: 0 8px 24px -16px rgba(10, 31, 61, 0.35); --nav: var(--navy); }
.hdr-inner { max-width: 1440px; margin: 0 auto; height: var(--hdr-h); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: auto; display: block; filter: brightness(0) invert(1); transition: filter .35s ease; }
.site-header.solid .brand img { filter: none; }
.brand-mark { height: 52px; }
.brand-word { height: 38px; }

.nav-desktop { display: flex; align-items: center; gap: clamp(14px, 1.67vw, 24px); font-size: clamp(14px, 1.12vw, 16px); font-weight: 500; letter-spacing: 0.01em; }
.nav-desktop a { color: var(--nav); transition: color .35s ease; padding: 6px 0; border-bottom: 1.5px solid transparent; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.nav-desktop a:hover { color: var(--accent); }
.nav-desktop a.active { border-bottom-color: var(--accent); }
.nav-desktop svg { display: block; opacity: 0.7; }

.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.18); background: transparent; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; transition: border-color .35s ease; }
.site-header.solid .menu-btn { border-color: rgba(10, 31, 61, 0.1); }
.menu-btn span { width: 18px; height: 1.5px; background: var(--nav); transition: background .35s ease; }

.mega { display: none; position: absolute; left: 0; right: 0; top: var(--hdr-h); background: var(--paper-2); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(10, 31, 61, 0.25); }
.site-header.mega-open .mega { display: block; }
.mega-inner { max-width: 1440px; margin: 0 auto; padding: 40px var(--gutter) 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 40px; }
.mega-group { display: flex; flex-direction: column; gap: 14px; }
.mega-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mega-item { display: flex; flex-direction: column; gap: 4px; color: var(--navy); padding: 6px 0; }
.mega-item:hover { color: var(--accent); }
.mega-item b { font-size: 17px; font-weight: 600; font-stretch: 108%; }
.mega-item small { font-size: 13px; color: var(--muted); line-height: 1.45; }
.mega-promo { position: relative; color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 220px; background: var(--navy) center/cover; }
.mega-promo::before { content: ""; position: absolute; inset: 0; background: rgba(7, 22, 44, 0.78); }
.mega-promo > * { position: relative; }
.mega-promo-title { font-size: 22px; font-weight: 600; font-stretch: 112%; line-height: 1.15; text-transform: uppercase; }
.mega-promo a { color: #fff; font-size: 14px; font-weight: 500; }

.mobile-menu { display: none; position: absolute; left: 0; right: 0; top: var(--hdr-h); background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 12px 20px 24px; flex-direction: column; max-height: calc(100vh - var(--hdr-h)); overflow-y: auto; }
.mobile-menu a { padding: 16px 0; border-bottom: 1px solid rgba(10, 31, 61, 0.08); font-size: 18px; font-weight: 600; font-stretch: 110%; color: var(--navy); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu a.active { color: var(--accent); }

@media (max-width: 1319px) {
  .nav-desktop { display: none; }
  .menu-btn { display: flex; }
  .site-header.mega-open .mega { display: none; }
  .site-header.menu-open .mobile-menu { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: calc(-1 * (var(--hdr-h) + 1px)); height: 100vh; min-height: 700px; max-height: 1000px; background: var(--navy); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1); transition: opacity 1.4s ease, transform 9s linear; }
.hero-bg.on { opacity: 1; transform: scale(1.1); }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(7, 22, 44, 0.55) 0%, rgba(7, 22, 44, 0.82) 75%); }
.hero-count { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.hero-count b { color: #fff; font-size: 14px; font-weight: 400; }
.hero-count i { width: 1px; height: 64px; background: rgba(255, 255, 255, 0.35); }
.hero-content { position: relative; height: 100%; max-width: 1100px; margin: 0 auto; padding: 0 clamp(48px, 7vw, 96px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero-slides { display: grid; width: 100%; }
.hero-slide { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; gap: 24px; opacity: 0; transform: translateY(24px); pointer-events: none; transition: opacity .9s ease .25s, transform 1s cubic-bezier(.2, .7, .2, 1) .25s; }
.hero-slide.on { opacity: 1; transform: translateY(0); pointer-events: auto; }
.hero-slide h1 { margin: 0; font-size: clamp(30px, 6vw, 84px); line-height: 1; font-weight: 650; font-stretch: 100%; letter-spacing: -0.015em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; }
.hero-slide h1 span { white-space: nowrap; }
.hero-slide h1 span + span { color: var(--sky); }
.hero-slide p { margin: 0; max-width: 560px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, 0.88); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero-tabs { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); background: rgba(7, 22, 44, 0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-tabs-inner { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero-tab { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 24px 0; }
.hero-tab:focus-visible { outline: 1px solid var(--sky); outline-offset: -4px; }
.hero-tab-track { position: relative; height: 2px; background: rgba(255, 255, 255, 0.2); display: block; overflow: hidden; }
.hero-tab-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--sky); }
.hero-tab-label { display: flex; gap: 12px; align-items: baseline; color: rgba(255, 255, 255, 0.55); transition: color .4s; }
.hero-tab.on .hero-tab-label { color: #fff; }
.hero-tab-label .mono { font-size: 11px; }
.hero-tab-label b { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 700px) {
  .hero-count { display: none; }
  .hero-content { padding: 0 20px 80px; }
  .hero-tab { padding-right: 10px; }
  .hero-tab-label { flex-direction: column; gap: 4px; }
  .hero-tab-label b { font-size: 11px; }
}

/* ---------- Page banner ---------- */
.banner { position: relative; margin-top: calc(-1 * (var(--hdr-h) + 1px)); padding-top: calc(var(--hdr-h) + 1px); min-height: 500px; background: var(--navy) center/cover; color: #fff; display: flex; align-items: center; justify-content: center; }
.banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(7, 22, 44, 0.6) 0%, rgba(7, 22, 44, 0.85) 80%); }
.banner-inner { position: relative; max-width: 900px; padding: 96px var(--gutter); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.banner h1 { margin: 0; font-size: clamp(28px, 3.2vw, 44px); line-height: 1; font-weight: 650; font-stretch: 115%; letter-spacing: -0.01em; text-transform: uppercase; text-wrap: balance; }
.crumbs { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; padding: 10px 18px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(7, 22, 44, 0.35); }
.crumbs a { color: rgba(255, 255, 255, 0.75); }
.crumbs a:hover { color: #fff; }
.crumbs i { font-style: normal; color: var(--sky); }

/* ---------- Home services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 20px; }
.svc-card { background: #fff; border: 1px solid rgba(10, 31, 61, 0.1); display: flex; flex-direction: column; color: var(--navy); transition: border-color .25s, transform .35s; }
.svc-card:hover { border-color: var(--navy); transform: translateY(-4px); color: var(--navy); }
.svc-card .img { aspect-ratio: 4 / 3; }
.svc-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc-title { font-size: 20px; font-weight: 650; font-stretch: 112%; text-transform: uppercase; line-height: 1.1; }
.svc-desc { font-size: 15px; line-height: 1.55; color: var(--muted); flex: 1; }
.svc-more { font-size: 14px; font-weight: 600; color: var(--accent); margin-top: 4px; }
.svc-cta { background: var(--navy); color: #fff; padding: 32px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 320px; transition: background .25s; }
.svc-cta:hover { background: var(--navy-2); color: #fff; }
.svc-cta b { font-size: 24px; font-weight: 650; font-stretch: 112%; text-transform: uppercase; line-height: 1.1; }
.svc-cta span { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.8); }
.svc-cta em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--sky); }

/* ---------- Services detail ---------- */
.svc-rows { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 110px); }
.svc-row { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: center; }
.svc-row.rev { flex-direction: row-reverse; }
.svc-row > .img { flex: 1 1 420px; min-width: 0; aspect-ratio: 4 / 3; }
.svc-row-body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.svc-row-body .num { font-size: 12px; }
.svc-row-body h2 { margin: 0; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; font-weight: 650; font-stretch: 112%; text-transform: uppercase; }
.svc-row-body p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 540px; text-wrap: pretty; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { border: 1px solid rgba(10, 31, 61, 0.2); padding: 8px 12px; font-size: 13px; }
.licence { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); }
.licence::before { content: ""; width: 8px; height: 8px; background: var(--accent); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split > .img { aspect-ratio: 5 / 4; }
.split-col { display: flex; flex-direction: column; gap: 28px; }
.pts { display: flex; flex-direction: column; border-top: 1px solid rgba(10, 31, 61, 0.15); }
.pts > div { padding: 22px 0; border-bottom: 1px solid rgba(10, 31, 61, 0.15); display: flex; flex-direction: column; gap: 6px; }
.pts b { font-size: 18px; font-weight: 600; }
.pts span { font-size: 15px; color: var(--muted); line-height: 1.5; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--navy); }
.stats > div { padding: 26px 16px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.stats b { font-size: clamp(38px, 3.8vw, 54px); font-weight: 600; font-stretch: 118%; line-height: 1; letter-spacing: -0.02em; }
.stats b i { font-style: normal; color: var(--accent); }
.stats span { font-size: 15px; color: var(--ink-2); }

/* ---------- Values ---------- */
.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.value { background: var(--paper); display: flex; flex-direction: column; }
.value .img { aspect-ratio: 16 / 10; }
.value div:last-child { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.value b { font-size: 22px; font-weight: 650; font-stretch: 112%; text-transform: uppercase; }
.value span { font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Lifecycle ---------- */
.lifecycle { background: var(--navy); color: #fff; padding: var(--sec-y) 0; overflow: hidden; }
.lifecycle .sec-head { padding: 0 var(--gutter); }
.lc-scroll { overflow-x: auto; margin-top: clamp(48px, 6vw, 80px); padding: 0 var(--gutter); }
.lc-track { max-width: 1328px; min-width: 1240px; margin: 0 auto; position: relative; }
.lc-line, .lc-prog { position: absolute; left: 0; top: 38px; height: 1px; }
.lc-line { right: 0; background: rgba(255, 255, 255, 0.2); }
.lc-prog { background: var(--sky); width: 0; transition: width .6s cubic-bezier(.2, .7, .2, 1); }
.lc-stages { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); position: relative; }
.lc-stage { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 18px; padding-right: 12px; }
.lc-stage:focus-visible { outline: 1px solid var(--sky); outline-offset: 4px; }
.lc-num { font-family: var(--mono); font-size: 11px; line-height: 14px; height: 14px; color: rgba(255, 255, 255, 0.4); }
.lc-dot { position: relative; z-index: 1; width: 13px; height: 13px; flex-shrink: 0; border-radius: 50%; background: var(--navy); border: 1px solid var(--sky); transition: all .3s; }
.lc-name { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; overflow-wrap: anywhere; color: rgba(255, 255, 255, 0.55); transition: color .3s; }
.lc-stage.past .lc-dot { background: var(--sky); }
.lc-stage.on .lc-dot { background: var(--sky); box-shadow: 0 0 0 6px rgba(124, 195, 227, 0.2); }
.lc-stage.on .lc-num { color: var(--sky); }
.lc-stage.on .lc-name { color: #fff; }
.lc-panel-wrap { max-width: 1328px; margin: clamp(40px, 5vw, 64px) auto 0; padding: 0 var(--gutter); }
.lc-panel { border: 1px solid rgba(255, 255, 255, 0.16); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.lc-panel > div { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 16px; }
.lc-panel > div:first-child { border-right: 1px solid rgba(255, 255, 255, 0.16); }
.lc-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--sky); }
.lc-kicker.dim { color: rgba(255, 255, 255, 0.6); }
.lc-title { font-size: clamp(26px, 2.6vw, 36px); font-weight: 650; font-stretch: 115%; text-transform: uppercase; line-height: 1; }
.lc-desc { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.8); max-width: 460px; }
.lc-svc { display: flex; flex-direction: column; }
.lc-svc a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); color: #fff; font-size: 18px; font-weight: 600; font-stretch: 108%; }
.lc-svc a:hover { color: var(--sky); }
.lc-svc .mono { font-size: 11px; color: var(--sky); margin-right: 16px; font-weight: 400; }

/* ---------- Technical ---------- */
.technical { background: var(--deep); color: #fff; }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(32px, 4vw, 56px); }
.tech-col { display: flex; flex-direction: column; gap: 20px; }
.tech-col > .img { aspect-ratio: 16 / 10; background-color: #13294A; }
.sys { border: 1px solid rgba(255, 255, 255, 0.16); background: var(--navy); }
.sys-head { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.65); }
.sys-head span:last-child { color: var(--sky); }
.sys-row { display: grid; grid-template-columns: 1fr 120px 90px; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 14px; }
.sys-meter { height: 3px; background: rgba(255, 255, 255, 0.12); position: relative; }
.sys-meter i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--sky); }
.sys-row .mono { font-size: 11px; color: rgba(255, 255, 255, 0.65); text-align: right; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.14); align-self: start; }
.pillars > div { background: var(--deep); padding: 30px 26px; display: flex; flex-direction: column; gap: 12px; min-height: 200px; transition: background .25s; }
.pillars > div:hover { background: #0C2547; }
.pillars .num { color: var(--sky); }
.pillars b { font-size: 20px; font-weight: 600; font-stretch: 112%; text-transform: uppercase; }
.pillars span:last-child { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.72); }
@media (max-width: 520px) {
  .sys-row { grid-template-columns: 1fr 70px 80px; gap: 10px; }
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- Newbuilding ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--navy); }
.steps > div { padding: 22px 16px 22px 0; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--line); transition: background .25s; }
.steps > div:hover { background: #E8E7E1; }
.steps b { font-size: 17px; font-weight: 600; font-stretch: 112%; text-transform: uppercase; }
.steps span:last-child { font-size: 13px; line-height: 1.5; color: var(--muted); padding-right: 8px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.gallery .img { aspect-ratio: 3 / 4; }

/* ---------- Projects ---------- */
.cards-340 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.case { border-top: 2px solid var(--navy); display: flex; flex-direction: column; gap: 18px; padding-top: 20px; }
.case .img { aspect-ratio: 3 / 2; }
.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); }
.case-title { font-size: 22px; font-weight: 650; font-stretch: 112%; text-transform: uppercase; line-height: 1.1; }
.kv { display: flex; flex-direction: column; }
.kv > div { display: grid; grid-template-columns: 110px 1fr; padding: 10px 0; border-bottom: 1px solid rgba(10, 31, 61, 0.1); font-size: 14px; }
.kv span:first-child { color: var(--muted); }

/* ---------- Crew ---------- */
.licence-badge { display: inline-flex; align-items: center; gap: 14px; border: 1px solid var(--navy); padding: 10px 16px; }
.licence-badge .mono { font-size: 11px; letter-spacing: 0.12em; color: var(--muted); }
.licence-badge b { font-size: 15px; font-weight: 700; letter-spacing: 0.04em; }
.split-460 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.crew-list { display: flex; flex-direction: column; border-top: 1px solid rgba(10, 31, 61, 0.2); }
.crew-list > div { display: grid; grid-template-columns: 48px 130px 1fr; gap: 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid rgba(10, 31, 61, 0.2); }
.crew-list b { font-size: 20px; font-weight: 650; font-stretch: 112%; text-transform: uppercase; }
.crew-list span:last-child { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 520px) { .crew-list > div { grid-template-columns: 36px 1fr; } .crew-list span:last-child { grid-column: 2; } }

/* ---------- Safety ---------- */
.safety-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(32px, 4vw, 56px); }
.safety-grid > .img { min-height: 420px; }
.certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: rgba(10, 31, 61, 0.14); border: 1px solid rgba(10, 31, 61, 0.14); }
.certs > div { background: var(--paper); padding: 26px 22px; display: flex; flex-direction: column; gap: 24px; min-height: 160px; }
.cert-mark { width: 48px; height: 48px; border: 1.5px solid var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; font-weight: 500; }
.certs b { display: block; font-size: 17px; font-weight: 600; font-stretch: 110%; margin-bottom: 4px; }
.certs small { font-family: var(--mono); font-size: 11px; color: var(--muted); line-height: 1.5; }
.esg-sec { position: relative; background: var(--navy) center/cover; color: #fff; overflow: hidden; }
.esg-sec::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 22, 44, 0.6) 0%, rgba(7, 22, 44, 0.92) 70%); }
.esg-inner { position: relative; max-width: 1328px; margin: 0 auto; padding: clamp(90px, 10vw, 150px) var(--gutter) clamp(64px, 7vw, 96px); }
.esg { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); border-top: 1px solid rgba(255, 255, 255, 0.3); }
.esg > div { padding: 28px 28px 0 0; display: flex; flex-direction: column; gap: 14px; }
.esg-h { display: flex; align-items: baseline; gap: 14px; }
.esg-h b { font-size: 40px; font-weight: 700; font-stretch: 120%; color: var(--sky); line-height: 1; }
.esg-h span { font-size: 19px; font-weight: 600; font-stretch: 112%; text-transform: uppercase; }
.esg > div > span { font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.82); }

/* ---------- Fleet ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.filters button { padding: 10px 16px; font-size: 13px; font-weight: 500; border: 1px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; white-space: nowrap; transition: all .2s; }
.filters button.on { background: var(--navy); color: #fff; }
.vessel { background: var(--paper-2); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .25s, transform .35s; }
.vessel:hover { border-color: var(--navy); transform: translateY(-4px); }
.vessel .img { aspect-ratio: 16 / 10; }
.vessel-body { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.vessel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.vessel-head b { font-size: 20px; font-weight: 650; font-stretch: 112%; text-transform: uppercase; }
.vessel-head .num { white-space: nowrap; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(10, 31, 61, 0.1); border: 1px solid rgba(10, 31, 61, 0.1); }
.specs > div { background: var(--paper-2); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.specs .mono { font-size: 10px; letter-spacing: 0.12em; color: var(--muted); }
.specs b { font-size: 14px; font-weight: 600; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px 32px; }
.post { display: flex; flex-direction: column; gap: 16px; }
.post .img { aspect-ratio: 4 / 3; }
.post-meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); }
.post-meta span:first-child { color: var(--accent); }
.post-title { font-size: 21px; font-weight: 600; font-stretch: 108%; line-height: 1.22; text-wrap: pretty; }
.post-excerpt { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---------- Careers ---------- */
.careers { background: var(--navy-2); color: #fff; }
.careers .sec-title span { color: var(--sky-2); }
.career-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.2); }
.career { background: var(--navy-2); display: flex; flex-direction: column; }
.career .img { aspect-ratio: 16 / 8; background-color: #13294A; }
.career-body { padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.career-head { display: flex; justify-content: space-between; align-items: baseline; }
.career-head b { font-size: 28px; font-weight: 650; font-stretch: 115%; text-transform: uppercase; }
.career-head .mono { font-size: 11px; color: var(--sky-2); }
.role-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.role-tags span { border: 1px solid rgba(255, 255, 255, 0.3); padding: 10px 14px; font-size: 14px; transition: all .2s; }
.role-tags span:hover { background: #fff; color: var(--navy-2); }
.careers .k-btn-light { align-self: center; padding: 18px 28px; }
.careers .k-btn-light:hover { background: var(--sky-2); }
.roles { display: flex; flex-direction: column; border-top: 1px solid var(--navy); }
.roles a { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1fr) 24px; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid rgba(10, 31, 61, 0.15); color: var(--navy); }
.roles a:hover { color: var(--accent); background: var(--paper-2); }
.roles b { font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; font-stretch: 110%; text-transform: uppercase; }
.roles span { font-size: 15px; color: var(--ink-2); }
.roles .mono { font-size: 11px; letter-spacing: 0.12em; color: var(--muted); }
.roles i { font-style: normal; color: var(--accent); }
@media (max-width: 700px) {
  .roles a { grid-template-columns: 1fr 24px; gap: 6px 16px; }
  .roles b { grid-column: 1; }
  .roles span, .roles .mono { grid-column: 1; }
  .roles i { grid-column: 2; grid-row: 1 / span 3; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 5vw, 80px); }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-rows { display: flex; flex-direction: column; border-top: 1px solid rgba(10, 31, 61, 0.15); }
.contact-rows > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(10, 31, 61, 0.15); font-size: 15px; }
.contact-rows b { font-weight: 600; }
.contact-rows span, .contact-rows a { color: var(--ink-2); line-height: 1.5; }
.hotline { background: var(--navy); color: #fff; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.hotline span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--sky); }
.hotline a { font-size: 18px; font-weight: 600; font-family: var(--mono); color: #fff; }
.contact-info > .img { flex: 1; min-height: 240px; }
.form-card { background: var(--paper-2); border: 1px solid var(--line); padding: clamp(28px, 3.5vw, 48px); }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px 20px; }
.form label { display: flex; flex-direction: column; gap: 8px; }
.form label > span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.form input, .form select, .form textarea { height: 48px; border: none; border-bottom: 1px solid rgba(10, 31, 61, 0.3); border-radius: 0; background: transparent; font-size: 16px; color: var(--navy); outline: none; padding: 0; transition: border-color .2s; }
.form textarea { height: auto; resize: vertical; padding: 8px 0; }
.form input:focus, .form select:focus, .form textarea:focus { border-bottom-color: var(--navy); }
.form .full { grid-column: 1 / -1; }
.form button { grid-column: 1 / -1; justify-self: start; background: var(--navy); color: #fff; border: none; padding: 20px 36px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.form button:hover { background: var(--navy-2); }
.sent { min-height: 420px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.sent .mono { font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
.sent b { font-size: 30px; font-weight: 650; font-stretch: 112%; text-transform: uppercase; line-height: 1.05; }
.sent button { align-self: flex-start; background: none; border: none; border-bottom: 1.5px solid var(--navy); padding: 0 0 4px; font-size: 15px; font-weight: 600; cursor: pointer; color: var(--navy); }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--navy) center/cover; color: #fff; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(7, 22, 44, 0.86); }
.cta-inner { position: relative; max-width: 900px; margin: 0 auto; padding: clamp(72px, 8vw, 120px) var(--gutter); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.cta .k-btn { padding: 18px 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: #fff; padding: clamp(64px, 8vw, 100px) var(--gutter) 32px; }
.footer-stack { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 80px); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 48px; }
.footer-col, .footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-label { font-size: 11px; letter-spacing: 0.14em; color: var(--sky); margin-bottom: 6px; }
.site-footer a { color: rgba(255, 255, 255, 0.8); font-size: 15px; }
.site-footer a:hover { color: #fff; }
.footer-office { font-size: 15px; color: rgba(255, 255, 255, 0.8); line-height: 1.5; }
.site-footer .footer-mail { color: var(--sky); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer .footer-legal a { color: rgba(255, 255, 255, 0.6); font-size: 13px; }
.site-footer .footer-legal a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero-slide, .preloader { transition-duration: .01s !important; }
}

/* ---------- Static-page states ---------- */
.pl-skip .preloader { display: none; }
.lc-panel { display: none; }
.lc-panel.on { display: grid; }
.lc-kicker { text-transform: uppercase; }
.vessel.is-hidden { display: none; }
.sent { display: none; }
.form-card.is-sent .form { display: none; }
.form-card.is-sent .sent { display: flex; }

/* ---------- Header right: language switcher ---------- */
.hdr-right { display: flex; align-items: center; gap: clamp(16px, 1.67vw, 28px); }
.lang-btn { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 0; background: transparent; color: var(--nav); font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; cursor: pointer; transition: color .35s ease, border-color .35s ease; }
.site-header.solid .lang-btn { border-color: rgba(10, 31, 61, 0.18); }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { color: var(--accent); }
.lang-btn svg { display: block; }
.lang-menu { border-radius: 0; border: 1px solid var(--line); padding: 6px 0; min-width: 180px; margin-top: 8px !important; box-shadow: 0 24px 40px -24px rgba(10, 31, 61, 0.35); font-size: 15px; }
.lang-menu .dropdown-item { padding: 11px 16px; display: flex; justify-content: space-between; align-items: center; color: var(--navy); font-weight: 500; }
.lang-menu .dropdown-item .mono { font-size: 11px; letter-spacing: 0.12em; color: var(--muted); }
.lang-menu .dropdown-item:hover, .lang-menu .dropdown-item:focus { background: var(--paper); color: var(--navy); }
.lang-menu .dropdown-item.active, .lang-menu .dropdown-item:active { background: var(--navy); color: #fff; }
.lang-menu .dropdown-item.active .mono { color: var(--sky); }

/* ---------- Cookie box ---------- */
.cookie-box { position: fixed; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 150; width: min(420px, calc(100% - 24px)); background: #fff; border: 1px solid var(--line); box-shadow: 0 28px 56px -24px rgba(10, 31, 61, 0.45); padding: 26px; display: flex; flex-direction: column; gap: 14px; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .4s ease, transform .4s ease, visibility .4s; }
.cookie-box.show { opacity: 1; visibility: visible; transform: none; }
.cookie-title { font-size: 19px; font-weight: 650; font-stretch: 112%; text-transform: uppercase; line-height: 1.1; }
.cookie-text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.cookie-text a { color: var(--accent); border-bottom: 1px solid currentColor; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.cookie-actions button { flex: 1 1 140px; padding: 15px 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; border: 1px solid var(--navy); border-radius: 0; transition: all .2s; }
.cookie-accept { background: var(--navy); color: #fff; }
.cookie-accept:hover { background: var(--navy-2); border-color: var(--navy-2); }
.cookie-reject { background: transparent; color: var(--navy); }
.cookie-reject:hover { background: var(--paper); }

/* ---------- Greek adjustments ---------- */
html[lang="el"] .nav-desktop { font-size: clamp(13px, 1.02vw, 15px); gap: clamp(12px, 1.35vw, 20px); }
html[lang="el"] .hero-slide h1 { font-size: clamp(28px, 5vw, 72px); }
html[lang="el"] .hero-slide h1 span { white-space: normal; }
html[lang="el"] .crew-list > div { grid-template-columns: 48px 170px 1fr; }
@media (max-width: 520px) { html[lang="el"] .crew-list > div { grid-template-columns: 36px 1fr; } }

@media (max-width: 480px) {
  .brand-mark { height: 42px; }
  .brand-word { height: 30px; }
  .hdr-right { gap: 10px; }
  .lang-btn { padding: 0 9px; }
}
.svc-row { scroll-margin-top: 110px; }

/* ---------- Enquiry form sending states ---------- */
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.form-card { position: relative; }
.form-error { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-left: 3px solid #B3261E; background: rgba(179, 38, 30, 0.06); font-size: 14px; line-height: 1.5; color: #7A1A14; }
.form-error a { color: inherit; border-bottom: 1px solid currentColor; }
.form button[type="submit"].is-busy { opacity: 0.6; cursor: wait; }

/* ---------- Careers application form ---------- */
#apply { scroll-margin-top: 80px; }
.sec-intro { margin: 0; max-width: 640px; font-size: 17px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.apply-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 24px; }
.apply-steps { display: flex; flex-direction: column; border-top: 1px solid rgba(10, 31, 61, 0.2); margin-top: -10px; }
.apply-steps > div { display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid rgba(10, 31, 61, 0.2); }
.apply-steps b { grid-column: 2; font-size: 18px; font-weight: 650; font-stretch: 112%; text-transform: uppercase; }
.apply-steps .num { grid-row: 1; padding-top: 3px; }
.apply-steps span:last-child { grid-column: 2; font-size: 14px; line-height: 1.5; color: var(--muted); }
.apply-side .licence-badge { align-self: flex-start; }
.apply-note { margin: 0; padding: 16px 18px; background: var(--navy); color: rgba(255, 255, 255, 0.85); font-size: 14px; line-height: 1.55; }
.apply-form { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.form-section { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--navy); margin-top: 18px; font-size: 18px; font-weight: 650; font-stretch: 112%; text-transform: uppercase; }
.form-section:first-of-type { margin-top: 0; }
.form .req { font-style: normal; color: var(--accent); }
.form select:invalid, .form input[type="date"]:invalid { color: var(--muted); }
.form input[type="number"] { -moz-appearance: textfield; }
.form input[type="file"] { height: auto; padding: 12px 0; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.form input[type="file"]::file-selector-button { margin-right: 14px; padding: 11px 16px; border: 1px solid var(--navy); border-radius: 0; background: transparent; color: var(--navy); font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: all .2s; }
.form input[type="file"]::file-selector-button:hover { background: var(--navy); color: #fff; }
.field-hint { font-size: 12px; color: var(--muted); }
.field-group { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; }
.field-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px 20px; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; cursor: pointer; }
.form .check > span { font-family: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--navy); line-height: 1.4; }
.form .check input { flex-shrink: 0; width: 18px; height: 18px; margin: 1px 0 0; padding: 0; border: 0; accent-color: var(--navy); cursor: pointer; }
.form .consent { margin-top: 6px; }
.form .consent > span { font-size: 14px; color: var(--ink-2); }
.sent .sent-text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 520px; }
@media (max-width: 999px) {
  .apply-grid { grid-template-columns: minmax(0, 1fr); }
  .apply-side { position: static; }
}

/* ---------- Blog cards as links ---------- */
a.post { color: var(--navy); }
a.post:hover { color: var(--navy); }
a.post .img { transition: opacity .3s ease; }
a.post:hover .img { opacity: 0.88; }
a.post:hover .post-title { color: var(--accent); }
.post-title { transition: color .2s; }
.post-more { font-size: 14px; font-weight: 600; color: var(--accent); }

/* ---------- Article page ---------- */
.banner-article .banner-inner { max-width: 1000px; }
.banner-article h1 { font-size: clamp(26px, 3vw, 42px); line-height: 1.1; font-stretch: 108%; }
.banner-meta { display: flex; gap: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--sky); }
.banner-meta span + span { color: rgba(255, 255, 255, 0.75); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 5vw, 80px); align-items: start; }
.article { max-width: 780px; }
.article-lead { margin: 0 0 32px; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; font-weight: 500; color: var(--navy); text-wrap: pretty; }
.article-img { aspect-ratio: 16 / 9; margin: 0 0 8px; }
.article h2 { margin: 40px 0 14px; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.15; font-weight: 650; font-stretch: 112%; text-transform: uppercase; }
.article p { margin: 0 0 18px; font-size: 17px; line-height: 1.75; color: var(--ink-2); text-wrap: pretty; }
.article ul { margin: 0 0 22px; padding: 0; list-style: none; border-top: 1px solid rgba(10, 31, 61, 0.12); }
.article li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid rgba(10, 31, 61, 0.12); font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.article li::before { content: ""; position: absolute; left: 0; top: 23px; width: 12px; height: 1.5px; background: var(--accent); }
.article p a.link-u { display: inline-block; }
.article .article-back { margin-top: 36px; }
.article-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
.facts { background: var(--paper-2); border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.facts dl { margin: 0; border-top: 1px solid var(--line); }
.facts dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { font-weight: 400; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.facts-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.facts-list li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.facts-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 1.5px; background: var(--accent); }
.side-cta { min-height: 0; }
@media (max-width: 999px) {
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .article-side { position: static; }
}

/* ---------- Legal pages ---------- */
.legal-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
.legal-toc { position: sticky; top: 110px; display: flex; flex-direction: column; max-height: calc(100vh - 140px); overflow-y: auto; }
.legal-toc .kicker { padding-bottom: 12px; border-bottom: 1px solid var(--navy); }
.legal-toc a { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.legal-toc a:hover { color: var(--accent); }
.legal { max-width: 860px; }
.article .legal-updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.legal-block { scroll-margin-top: 110px; }
.legal-block h2 { display: flex; gap: 14px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--navy); }
.legal-block h2 .num { font-size: 12px; }
.legal-dl { margin: 0 0 22px; padding: 20px 22px; background: var(--paper-2); border: 1px solid var(--line); }
.legal-dl > div { display: grid; grid-template-columns: minmax(140px, 0.6fr) minmax(0, 1.4fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.legal-dl > div:last-child { border-bottom: 0; }
.legal-dl dt { font-weight: 600; }
.legal-dl dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.legal-dl.authority { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--ink-2); }
.legal-dl.authority b { color: var(--navy); }
.legal-dl.authority a { color: var(--accent); align-self: flex-start; }
.table-wrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); }
.storage-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; background: var(--paper-2); }
.storage-table th { text-align: left; padding: 12px 14px; background: var(--navy); color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.storage-table td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.5; color: var(--ink-2); }
.storage-table code { font-family: var(--mono); font-size: 12px; color: var(--navy); background: rgba(10, 31, 61, 0.06); padding: 2px 6px; white-space: nowrap; }
@media (max-width: 999px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; max-height: none; }
}
@media (max-width: 520px) { .legal-dl > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Cookie settings page ---------- */
.cs-wrap { max-width: 960px; display: flex; flex-direction: column; gap: 28px; }
.cs-wrap .sec-intro { max-width: none; }
.cs-cats { display: flex; flex-direction: column; border-top: 1px solid var(--navy); }
.cs-cat { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cs-text b { display: block; margin-bottom: 6px; font-size: 18px; font-weight: 650; font-stretch: 112%; text-transform: uppercase; }
.cs-text p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 640px; }
.cs-cat.is-off .cs-text { opacity: 0.6; }
.cs-control { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.cs-state { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.switch { position: relative; display: inline-block; width: 52px; height: 28px; margin: 0; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; background: rgba(10, 31, 61, 0.2); border-radius: 28px; transition: background .2s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(10, 31, 61, 0.3); transition: transform .2s; }
.switch input:checked + span { background: var(--navy); }
.switch input:checked + span::after { transform: translateX(24px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch.is-locked { cursor: not-allowed; opacity: 0.7; }
.cs-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cs-btn { padding: 16px 24px; border: 1px solid var(--navy); border-radius: 0; background: transparent; color: var(--navy); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: all .2s; }
.cs-btn:hover { background: var(--paper-2); }
.cs-btn.cs-primary { background: var(--navy); color: #fff; }
.cs-btn.cs-primary:hover { background: var(--navy-2); }
.cs-status { margin: 0; padding: 14px 16px; border-left: 3px solid var(--accent); background: rgba(34, 112, 154, 0.08); font-size: 15px; }
.cs-title { margin: 12px 0 0; font-size: clamp(21px, 1.9vw, 26px); font-weight: 650; font-stretch: 112%; text-transform: uppercase; }
.cs-wrap .table-wrap { margin: 0; }
@media (max-width: 600px) { .cs-cat { flex-direction: column; align-items: flex-start; } }

/* ---------- Cookie box link & form notes ---------- */
.cookie-manage { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--navy); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.cookie-manage:hover { color: var(--accent); }
.form-note { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.form-note a, .form .consent a { color: var(--accent); border-bottom: 1px solid currentColor; }
.facts .kicker, .legal-toc .kicker { text-transform: uppercase; }
@media (max-width: 640px) {
  .table-wrap { overflow: visible; }
  .storage-table { min-width: 0; }
  .storage-table thead { display: none; }
  .storage-table tr { display: block; padding: 14px 16px; border-top: 1px solid var(--line); }
  .storage-table tr:first-child { border-top: 0; }
  .storage-table td { display: block; padding: 2px 0; border: 0; }
  .storage-table td:first-child { padding-bottom: 6px; }
  .storage-table td:last-child { padding-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
}
