/* ============================================================
   ICS Verification — single page application styles

   Design system "v2": deck palette (Option D — blue lives in
   fills, lime in text), single slate ground, depth from light
   and angle, motion gated behind prefers-reduced-motion.
   Colours are sampled from ICS Verification_Presentation_2026.
   ============================================================ */

:root {
    /* ---- deck palette ---- */
    --slate-900: #1b262b;
    --slate-800: #222f35;
    --slate-700: #2c3c43;   /* DECK dark slide background */
    --slate-600: #3a4d55;

    --lime-500: #92c230;    /* DECK primary lime */
    --lime-400: #9cc45b;    /* DECK heading green on dark slides */
    --lime-600: #75a724;
    --green-600: #699448;   /* DECK heading green on light slides */
    --green-700: #457721;   /* DECK deep green shard */

    --blue-600: #2840a8;    /* DECK royal blue — fills only */
    --blue-500: #4a5eb1;
    --navy-800: #242852;    /* DECK deep navy */
    --emerald: #2bb98c;     /* DECK logo / "Building Confidence." */

    --ink: #eef1f2;
    --ink-dim: #c3cdd1;
    --muted: #8fa0a7;
    --line: rgba(255, 255, 255, .13);
    --line-strong: rgba(255, 255, 255, .24);

    --danger: #d2664b;

    --display: 'Cabin', 'Segoe UI', system-ui, sans-serif;
    --body: 'Fira Sans', 'Segoe UI', system-ui, sans-serif;
    --data: 'Fira Code', 'Cascadia Mono', ui-monospace, Consolas, monospace;

    --shell: 1180px;
    --gutter: 28px;

    --ease-out: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--slate-700);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16.5px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--lime-500); color: #16220a; }

:focus-visible {
    outline: 2px solid var(--lime-500);
    outline-offset: 3px;
}

.shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

h1, h2, h3, h4, h5 {
    font-family: var(--display);
    margin: 0;
    text-wrap: balance;
    letter-spacing: -.016em;
    font-weight: 700;
}

p { margin: 0; }

.ics-app { overflow-x: clip; }

/* ============================================================
   Reveal system. Elements carry .r (+ --i for stagger). Hidden
   only while JS runs (site.js stamps html.js); reduced motion
   shows everything instantly.
   ============================================================ */
html.js .r {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity .7s ease,
        transform .8s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 90ms);
}
html.js .r.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html.js .r { opacity: 1 !important; transform: none !important; transition: none !important; }
    * { animation: none !important; }
}

/* ---------- shared type devices ---------- */
.eyebrow {
    display: inline-block;
    font-family: var(--display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #fff;
    background: var(--blue-600);
    padding: 5px 10px;
    border-radius: 2px;
}

.h2 { font-size: clamp(28px, 3.5vw, 42px); line-height: 1.12; }
.lead { color: var(--ink-dim); font-size: 17px; line-height: 1.68; }

.tagline {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(14px, 1.5vw, 17px);
}
.tagline b { color: #8f9fdd; font-weight: 600; }
.tagline i { color: var(--emerald); font-style: normal; font-weight: 600; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 3px;
    font-family: var(--display);
    font-size: 15px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn--go {
    background: var(--lime-500);
    color: #16220a;
    box-shadow: inset 0 -2px 0 rgba(69, 119, 33, .5);
}
.btn--go::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: -70%;
    width: 44%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
}
.btn--go:hover {
    background: var(--lime-600);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px -8px rgba(146, 194, 48, .55), inset 0 -2px 0 rgba(69, 119, 33, .5);
}
.btn--go:hover::after { left: 130%; }
.btn--line { border-color: var(--line-strong); color: #fff; }
.btn--line:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }

/* ============================================================
   Navbar
   ============================================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(27, 38, 43, .9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 22px; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
    width: 46px; height: 46px;
    flex: 0 0 auto;
    object-fit: contain;
}
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__txt strong { font-family: var(--display); font-size: 16.5px; letter-spacing: .01em; color: #fff; }
.brand__txt span {
    font-size: 9.5px; letter-spacing: .17em; text-transform: uppercase;
    color: var(--lime-400); font-weight: 700; margin-top: 3px;
}

.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a {
    font-size: 14.5px;
    padding: 9px 13px;
    border-radius: 2px;
    color: rgba(255, 255, 255, .8);
    border-bottom: 2px solid transparent;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, .06); border-bottom-color: var(--lime-500); }
.nav__links a[aria-current="true"] { color: #fff; border-bottom-color: var(--lime-500); }

.nav__prog {
    position: absolute;
    left: 0; bottom: -1px;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--blue-500), var(--lime-500));
}

.nav__burger {
    display: none;
    background: transparent;
    border: 0;
    width: 40px; height: 40px;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.nav__burger span {
    width: 22px; height: 2px;
    background: #fff;
    display: block;
}

.nav__mobile {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 16px var(--gutter) 24px;
    background: rgba(27, 38, 43, .98);
    border-top: 1px solid var(--line);
}
.nav__mobile a {
    color: #fff;
    padding: 12px 14px;
    border-radius: 3px;
}
.nav__mobile a:hover { background: rgba(255, 255, 255, .07); }
.nav__mobile .btn--go { margin-top: 8px; justify-content: center; }

@media (max-width: 980px) {
    .nav__links, .nav__in > .btn--go { display: none; }
    .nav__burger { display: flex; margin-left: auto; }
    .nav__mobile { display: flex; }
}

/* ============================================================
   Hero — glow, shards, bobbing ship, drifting plume,
   staged copy reveal
   ============================================================ */
.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: clamp(560px, 90vh, 920px);
    display: flex;
    align-items: center;
    background: linear-gradient(178deg, var(--slate-900) 0%, var(--slate-700) 72%, var(--slate-700) 100%);
}
/* atmosphere: two low-alpha glows in the palette's own hues */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(720px 460px at 24% 34%, rgba(146, 194, 48, .10), transparent 65%),
        radial-gradient(600px 420px at 76% 80%, rgba(43, 185, 140, .08), transparent 62%);
}
.hero__mark {
    position: absolute;
    left: 64%; top: 44%;
    transform: translate(-50%, -50%);
    width: min(660px, 80vw);
    aspect-ratio: 205 / 203;
    background-image: url("logo.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: .05;
    z-index: 0;
    pointer-events: none;
}
.hero__shards {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: clamp(160px, 27vw, 400px);
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(97deg,  transparent 14%, rgba(146, 194, 48, .40) 14.2%, rgba(146, 194, 48, .40) 47%, transparent 47.2%),
        linear-gradient(82deg,  transparent 30%, rgba(69, 119, 33, .46)  30.2%, rgba(69, 119, 33, .46)  66%, transparent 66.2%),
        linear-gradient(104deg, transparent 44%, rgba(105, 148, 72, .38) 44.2%, transparent 82%),
        linear-gradient(77deg,  transparent 58%, rgba(156, 196, 91, .30) 58.2%, transparent 94%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 96%);
    mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 96%);
}
.hero__hair {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        linear-gradient(101deg, transparent calc(66% - .5px), rgba(255, 255, 255, .17) 66%, transparent calc(66% + .5px)),
        linear-gradient(70deg,  transparent calc(85% - .5px), rgba(255, 255, 255, .11) 85%, transparent calc(85% + .5px));
}
.hero__ship {
    position: absolute;
    right: -40px; bottom: 0;
    height: 38%;
    width: auto; max-width: none;
    z-index: 0;
    opacity: .72;
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    /* staged copy entrance — :not(.hydrated) stops it replaying when Blazor
       swaps the prerendered DOM for the interactive one */
    html.js:not(.hydrated) .hero__copy > * { animation: rise .8s var(--ease-out) both; }
    html.js:not(.hydrated) .hero__copy > *:nth-child(1) { animation-delay: .05s; }
    html.js:not(.hydrated) .hero__copy > *:nth-child(2) { animation-delay: .16s; }
    html.js:not(.hydrated) .hero__copy > *:nth-child(3) { animation-delay: .3s; }
    html.js:not(.hydrated) .hero__copy > *:nth-child(4) { animation-delay: .44s; }
    html.js:not(.hydrated) .hero__shards { animation: shards-in 1.1s var(--ease-out) both .2s; }

    /* ambient loops */
    .shipbody { animation: bob 7s ease-in-out infinite; }
    .plume { animation: drift 10s ease-in-out infinite; }
    .co2 {
        transform-box: fill-box;
        transform-origin: center;
        animation: pulse 4.5s ease-in-out infinite;
    }
    .shimmer { animation: shimmer 6s ease-in-out infinite alternate; }
}

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes shards-in { from { opacity: 0; transform: translateX(46px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes drift {
    0%, 100% { transform: translate(0, 0); opacity: .9; }
    50% { transform: translate(-15px, -8px); opacity: 1; }
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes shimmer { from { opacity: .1; } to { opacity: .22; } }

.hero__in { position: relative; z-index: 1; padding: 48px var(--gutter); }
.hero__copy { max-width: 760px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero h1 {
    font-size: clamp(36px, 5.8vw, 72px);
    line-height: 1.03;
    letter-spacing: -.024em;
    color: #fff;
}
.grad {
    background: linear-gradient(100deg, var(--lime-500) 0%, var(--emerald) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero__lead { max-width: 620px; font-size: 17.5px; line-height: 1.7; color: rgba(255, 255, 255, .82); }
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__cta { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 4px; }

/* the marker would land half off-canvas once the ship scales down */
@media (max-width: 760px) { .co2 { display: none; } }

/* ============================================================
   Credential strip — diagonal clipped edges echo the deck's
   shard angle against the shared slate ground
   ============================================================ */
.cred {
    background: var(--slate-800);
    clip-path: polygon(0 0, 100% 18px, 100% 100%, 0 calc(100% - 18px));
    margin-top: -1px;
}
.cred__in {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) auto;
    gap: 32px 44px;
    align-items: center;
    padding: 44px var(--gutter);
}
.cred__label {
    font-family: var(--display);
    font-size: 11px; font-weight: 700;
    letter-spacing: .15em; text-transform: uppercase;
    color: var(--lime-400);
    margin-bottom: 12px;
}
.cred__regs { display: flex; flex-wrap: wrap; gap: 7px; }
.cred__regs span {
    font-size: 11.5px; font-weight: 600; letter-spacing: .05em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .05);
    border-left: 3px solid var(--lime-500);
    color: rgba(255, 255, 255, .86);
    transition: background .2s ease, transform .2s ease;
}
.cred__regs span:hover { background: rgba(146, 194, 48, .14); transform: translateY(-1px); }
.cred__marks {
    background: #fff;
    border-radius: 3px;
    padding: 11px 16px;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5);
}
.cred__marks img { width: 340px; }
@media (max-width: 860px) {
    .cred__in { grid-template-columns: 1fr; }
    .cred__marks { justify-self: start; }
    .cred__marks img { width: min(320px, 100%); }
}

/* ---------- section frame + diagonal seams ---------- */
.sec { padding: 84px 0; }
.sec--tight { padding: 64px 0; }

.seam {
    height: 72px;
    /* 2px transition band — a 1px stop aliases into dashes at this angle */
    background:
        linear-gradient(177deg, transparent calc(50% - 1px), var(--line-strong) 50%, transparent calc(50% + 1px));
    pointer-events: none;
}

/* ============================================================
   Who We Are
   ============================================================ */
.who { display: grid; grid-template-columns: 1.55fr 1fr; gap: 30px 60px; align-items: start; }
@media (max-width: 900px) { .who { grid-template-columns: 1fr; } }

.who__copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.who__pull {
    font-family: var(--display);
    font-size: clamp(20px, 2.1vw, 25px);
    line-height: 1.38;
    font-weight: 600;
    letter-spacing: -.008em;
    color: #fff;
}
.who__pull b { color: var(--lime-400); font-weight: 600; }
.who__body { color: var(--ink-dim); font-size: 16px; line-height: 1.7; }
.who__body strong { color: #fff; font-weight: 600; }

.facts { display: flex; flex-direction: column; border-top: 2px solid var(--lime-500); margin: 0; }
.fact {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
    transition: background .2s ease;
}
.fact:hover { background: linear-gradient(90deg, rgba(146, 194, 48, .06), transparent 70%); }
.fact__disc {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--blue-600);
    display: grid; place-items: center;
    color: var(--lime-500);
}
.fact__disc svg { width: 17px; height: 17px; }
.fact dt {
    font-family: var(--display);
    font-size: 15.5px; font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}
.fact dd { margin: 0; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ============================================================
   What We Do
   ============================================================ */
.does { display: grid; grid-template-columns: minmax(260px, .82fr) 1.35fr; gap: 30px 64px; align-items: start; }
@media (max-width: 980px) { .does { grid-template-columns: 1fr; } }

.does__label { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
@media (min-width: 981px) { .does__label { position: sticky; top: 104px; } }

.svclist { display: flex; flex-direction: column; }
.svc {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 6px 16px;
    padding: 20px 14px 20px 10px;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
    transition: background .22s ease, box-shadow .22s ease;
}
.svc:first-child { border-top: 1px solid var(--line); }
.svc:hover {
    background: linear-gradient(90deg, rgba(146, 194, 48, .07), transparent 62%);
    box-shadow: inset 3px 0 0 var(--lime-500);
}
.svc__tick {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(146, 194, 48, .16);
    color: var(--lime-500);
    display: grid; place-items: center;
    align-self: start;
    transition: background .22s ease, transform .22s ease;
}
.svc:hover .svc__tick { background: rgba(146, 194, 48, .3); transform: scale(1.08); }
.svc__tick svg { width: 15px; height: 15px; }
.svc h3 { font-size: 18px; line-height: 1.3; transition: color .2s ease; }
.svc:hover h3 { color: var(--lime-400); }
.svc p {
    grid-column: 2;
    color: var(--ink-dim);
    font-size: 15px;
    line-height: 1.6;
    margin-top: 5px;
}
.svc__tag {
    font-family: var(--data);
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--blue-600);
    padding: 4px 8px;
    border-radius: 2px;
    white-space: nowrap;
    align-self: start;
}
@media (max-width: 560px) {
    .svc { grid-template-columns: 28px 1fr; }
    .svc__tag { grid-column: 2; justify-self: start; margin-top: 8px; }
}

/* ============================================================
   Γαῖα
   ============================================================ */
.gaia {
    position: relative;
    background:
        radial-gradient(560px 320px at 12% 20%, rgba(146, 194, 48, .07), transparent 60%),
        var(--slate-800);
    border-radius: 4px;
    border-top: 3px solid var(--lime-500);
    padding: 44px;
    display: grid;
    /* The copy column never drops below the fleet table's own width.
       The table's intrinsic width is ~689px and the panel eats 2px in
       borders, so this minimum carries a margin on top of that — too
       tight and the panel shows a one-pixel scrollbar. */
    grid-template-columns: minmax(210px, .72fr) minmax(700px, 1.4fr);
    gap: 34px 52px;
    align-items: center;
    overflow: hidden;
}
/* Stack below 1120px: in the two-column layout the copy column is
   narrower than the fleet table until about that width, and the
   panel would otherwise be clipped by the section's overflow. */
@media (max-width: 1120px) { .gaia { grid-template-columns: 1fr; padding: 30px; } }

.gaia__id { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.gaia__word {
    font-family: var(--display);
    font-size: clamp(54px, 7.4vw, 86px);
    line-height: .92;
    font-weight: 700;
    letter-spacing: -.02em;
    background: linear-gradient(100deg, var(--lime-500) 0%, var(--emerald) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.gaia__kind {
    font-size: 11px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--muted);
}
.gaia__copy { display: flex; flex-direction: column; gap: 13px; min-width: 0; }
.gaia__copy p { color: var(--ink-dim); font-size: 15.5px; line-height: 1.66; }
.gaia__copy strong { color: #fff; font-weight: 600; }
.gaia__copy em { color: var(--lime-400); font-style: normal; font-weight: 600; }

.miniview {
    margin-top: 6px;
    border: 1px solid var(--line);
    border-radius: 3px;
    /* nine columns, mirroring the real fleet grid — scroll inside the
       panel on narrow screens instead of pushing the page wide */
    overflow-x: auto;
    background: rgba(0, 0, 0, .12);
}
.miniview__bar {
    display: flex; gap: 7px; align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .04);
    border-bottom: 1px solid var(--line);
    font-family: var(--data); font-size: 10.5px;
    letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
}
.miniview__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime-500); font-style: normal; }
@media (prefers-reduced-motion: no-preference) {
    .miniview__bar i { animation: blink 2.4s ease-in-out infinite; }
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
/* A real table: columns size to their content and share the leftover
   width evenly, so the grid stays balanced at any panel width. */
.mvt {
    width: 100%;
    min-width: 660px;
    border-collapse: collapse;
    font-family: var(--data);
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
    color: var(--ink-dim);
}
.mvt th, .mvt td {
    padding: 9px 8px;
    text-align: left;
    white-space: nowrap;
    vertical-align: middle;
    border-bottom: 1px solid var(--line);
}
.mvt th:first-child, .mvt td:first-child { padding-left: 12px; }
.mvt th:last-child,  .mvt td:last-child  { padding-right: 12px; }
.mvt thead th {
    background: rgba(255, 255, 255, .04);
    font-weight: 400; font-size: 10px; letter-spacing: .08em;
    text-transform: uppercase; color: var(--muted);
}
.mvt tbody tr:nth-child(even) { background: rgba(255, 255, 255, .025); }
.mvt tbody tr:last-child td { border-bottom: 0; }
.mvt .mvt-num { text-align: right; }
.mv-imo { color: var(--muted); }
.mv-name { color: #fff; font-weight: 700; font-family: var(--body); letter-spacing: .01em; }
.mv-type { font-family: var(--body); font-size: 11.5px; }
.mv-date { color: var(--muted); }
.mv-pill {
    display: inline-block; font-style: normal; font-family: var(--body);
    font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: 3px 7px; border-radius: 999px;
    color: var(--lime-400); background: rgba(146, 194, 48, .14);
}
.mv-cii { display: inline-flex; align-items: center; gap: 7px; }
.mv-grade {
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; border-radius: 50%;
    font-style: normal; font-family: var(--body); font-size: 11px; font-weight: 800; color: #fff;
}
.mv-grade--a { background: var(--green-600); }
.mv-grade--e { background: var(--danger); }
.mv-bal { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; }
.mv-dot { width: 6px; height: 6px; border-radius: 50%; font-style: normal; flex: 0 0 auto; }
.mv-dot--neg { background: var(--danger); }
.mv-dot--ok { background: var(--lime-500); }
.mv-neg { color: var(--danger); font-weight: 700; }
.mv-dash { color: var(--muted); }

/* ---- Phone: the same table markup re-flows into one card per vessel.
   Head line: name + status pill + CII. Meta line: IMO + type.
   Figures line: CO₂, EUA cost, C. Balance, Verified with small labels.
   Below ~780px the stacked panel is narrower than the table's
   min-width, so this is where the switch happens. ---- */
@media (max-width: 780px) {
    /* min-width: 0 on the flex/grid items, otherwise the card grid's
       intrinsic width widens the whole copy column past the phone */
    .gaia__copy { min-width: 0; }
    .miniview { overflow: visible; min-width: 0; }
    .mvt { display: block; min-width: 0; }
    .mvt thead { display: none; }
    .mvt tbody { display: block; }
    .mvt tr {
        display: grid;
        /* the full date is the widest figure, so its column sizes to
           content and the other three share what is left */
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
        gap: 7px 8px;
        padding: 11px 12px 12px;
        border-bottom: 1px solid var(--line);
    }
    .mvt tbody tr:last-child { border-bottom: 0; }
    .mvt td, .mvt td.mvt-num {
        display: block; padding: 0; border: 0;
        text-align: left; white-space: nowrap; min-width: 0;
    }

    /* head line */
    .mvt td.mv-name {
        grid-area: 1 / 1 / 2 / 4;
        display: flex; align-items: center; gap: 9px;
        font-size: 14px;
    }
    .mvt td.mv-name::after {
        content: "In service";
        font-family: var(--body); font-size: 8.5px; font-weight: 700;
        letter-spacing: .08em; text-transform: uppercase;
        padding: 3px 7px; border-radius: 999px;
        color: var(--lime-400); background: rgba(146, 194, 48, .14);
    }
    .mvt td:nth-child(3) { display: none; }           /* real pill, replaced above */
    .mvt td:nth-child(5) { grid-area: 1 / 4 / 2 / 5; justify-self: end; }

    /* meta line */
    .mvt td.mv-imo  { grid-area: 2 / 1 / 3 / 3; font-size: 10.5px; margin-top: -3px; }
    .mvt td.mv-imo::before { content: "IMO "; }
    .mvt td.mv-type { grid-area: 2 / 3 / 3 / 5; font-family: var(--data); font-size: 10.5px; color: var(--muted); margin-top: -3px; }

    /* figures line */
    .mvt td:nth-child(6) { grid-area: 3 / 1; }
    .mvt td:nth-child(7) { grid-area: 3 / 2; }
    .mvt td:nth-child(8) { grid-area: 3 / 3; }
    .mvt td:nth-child(9) { grid-area: 3 / 4; }
    .mvt td:nth-child(n + 6) { display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; }
    .mvt td:nth-child(n + 6)::before {
        font-size: 9px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
    }
    .mvt td:nth-child(6)::before { content: "CO\2082  t"; }
    .mvt td:nth-child(7)::before { content: "EUA cost"; }
    .mvt td:nth-child(8)::before { content: "C. Balance"; }
    .mvt td:nth-child(9)::before { content: "Verified"; }
    .mvt td.mv-date { color: var(--ink-dim); }
    .mvt .mv-bal { justify-content: flex-start; gap: 5px; }
    .miniview__bar { font-size: 9.5px; letter-spacing: .06em; white-space: nowrap; }
}
/* small phones: tighter figures so four labels fit side by side */
@media (max-width: 380px) {
    .mvt tr { gap: 7px 6px; padding: 11px 10px 12px; }
    .mvt td:nth-child(n + 6) { font-size: 11px; }
    .mvt td:nth-child(n + 6)::before { font-size: 8.5px; letter-spacing: .03em; }
    .mvt .mv-bal { gap: 4px; }
}
/* very small phones: figures go two by two */
@media (max-width: 340px) {
    .mvt td:nth-child(6) { grid-area: 3 / 1 / 4 / 3; }
    .mvt td:nth-child(7) { grid-area: 3 / 3 / 4 / 5; }
    .mvt td:nth-child(8) { grid-area: 4 / 1 / 5 / 3; }
    .mvt td:nth-child(9) { grid-area: 4 / 3 / 5 / 5; }
    .mvt td:nth-child(n + 6) { font-size: 11.5px; }
    .miniview__bar-long { display: none; }   /* "Fleet overview 2026" */
}

/* ============================================================
   Why Choose Us + stats
   ============================================================ */
.whyhead { max-width: 720px; margin: 0 auto 44px; text-align: center; display: flex; flex-direction: column; gap: 15px; align-items: center; }

.whys { display: grid; grid-template-columns: repeat(auto-fit, minmax(214px, 1fr)); gap: 26px 30px; }
.why {
    display: flex; flex-direction: column; gap: 11px;
    padding: 18px 14px 6px;
    border-top: 2px solid var(--blue-600);
    border-radius: 0 0 3px 3px;
    transition: transform .25s var(--ease-out), background .25s ease, border-color .25s ease;
}
.why:hover {
    transform: translateY(-5px);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent);
    border-top-color: var(--lime-500);
}
.why__disc {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--blue-600);
    display: grid; place-items: center;
    color: var(--lime-500);
    transition: transform .25s var(--ease-out);
}
.why:hover .why__disc { transform: scale(1.1) rotate(-6deg); }
.why__disc svg { width: 20px; height: 20px; }
.why h4 { font-size: 16.5px; color: var(--lime-400); }
.why p { color: var(--ink-dim); font-size: 14.5px; line-height: 1.6; }

.stats {
    margin-top: 46px;
    background:
        radial-gradient(480px 260px at 85% 10%, rgba(74, 94, 177, .12), transparent 65%),
        var(--slate-800);
    border-radius: 4px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    overflow: hidden;
}
.stat {
    padding: 32px;
    border-right: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 4px;
}
.stat:last-child { border-right: 0; }
@media (max-width: 620px) {
    .stat { border-right: 0; border-bottom: 1px solid var(--line); }
    .stat:last-child { border-bottom: 0; }
}
.stat b {
    font-family: var(--display);
    font-size: clamp(34px, 4.4vw, 50px);
    line-height: 1;
    font-weight: 700;
    color: var(--lime-400);
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}
/* direct child only — the count-up span inside <b> must inherit the big
   lime number style, not this label style */
.stat > span { font-size: 12.5px; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ============================================================
   Process — the rail draws itself on reveal
   ============================================================ */
.flow { position: relative; margin-top: 36px; }
.flow__rail {
    position: absolute;
    left: 12.5%; right: 12.5%; top: 21px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-600), var(--lime-500));
    opacity: .55;
    transform: scaleX(0);
    transform-origin: left center;
}
html.js .flow.in .flow__rail { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) {
    .flow__rail { transition: transform 1.2s var(--ease-out) .2s; }
}
@media (prefers-reduced-motion: reduce) {
    .flow__rail { transform: none !important; }
}
.flow__steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { display: flex; flex-direction: column; gap: 11px; }
.step__no {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--blue-600);
    border: 2px solid var(--lime-500);
    color: #fff;
    display: grid; place-items: center;
    font-family: var(--display); font-size: 13.5px; font-weight: 700;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 0 0 6px var(--slate-700);
}
.step h4 { font-size: 17px; }
.step p { color: var(--ink-dim); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 880px) {
    .flow__rail {
        left: 21px; right: auto; top: 22px; bottom: 22px;
        width: 2px; height: auto;
        background: linear-gradient(180deg, var(--blue-600), var(--lime-500));
        transform: scaleY(0);
        transform-origin: top center;
    }
    html.js .flow.in .flow__rail { transform: scaleY(1); }
    .flow__steps { grid-template-columns: 1fr; gap: 30px; }
    .step { padding-left: 64px; position: relative; }
    .step__no { position: absolute; left: 0; top: 0; }
}

/* ============================================================
   Contact
   ============================================================ */
.contact { display: grid; grid-template-columns: 1fr 1.02fr; gap: 34px 60px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.contact__copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.rows { display: flex; flex-direction: column; gap: 11px; width: 100%; margin-top: 6px; }
.row { display: flex; align-items: stretch; }
.row__ic {
    width: 44px; height: 44px; flex: 0 0 auto;
    border-radius: 50%;
    background: var(--navy-800);
    border: 2px solid var(--lime-500);
    color: var(--lime-500);
    display: grid; place-items: center;
    position: relative; z-index: 1;
}
.row__ic svg { width: 19px; height: 19px; }
.row__bar {
    flex: 1;
    margin-left: -14px;
    padding: 11px 16px 11px 26px;
    background: var(--blue-600);
    border-radius: 2px;
    display: flex; align-items: center;
    font-size: 14.5px;
    color: #fff;
    transition: background .2s ease, transform .2s ease;
}
.row:hover .row__bar { background: var(--blue-500); transform: translateX(3px); }
.row__bar a:hover { text-decoration: underline; }

.form {
    background: var(--slate-800);
    border: 1px solid var(--line);
    border-top: 3px solid var(--lime-500);
    border-radius: 4px;
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
@media (max-width: 560px) { .form { grid-template-columns: 1fr; padding: 22px; } }
.form label { display: flex; flex-direction: column; gap: 6px; }
.form label.full { grid-column: 1 / -1; }
.form label > span {
    font-family: var(--display);
    font-size: 10.5px; font-weight: 700;
    letter-spacing: .11em; text-transform: uppercase;
    color: var(--muted);
}
.form input, .form select, .form textarea {
    font: inherit; font-size: 14.5px;
    min-width: 0; width: 100%;
    padding: 11px 13px;
    border-radius: 3px;
    border: 1px solid var(--line);
    background: var(--slate-900); color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form input::placeholder, .form textarea::placeholder { color: var(--muted); }
.form input:focus, .form select:focus, .form textarea:focus {
    outline: none; border-color: var(--lime-500);
    box-shadow: 0 0 0 3px rgba(146, 194, 48, .26);
}
.form .btn { grid-column: 1 / -1; justify-content: center; margin-top: 4px; }

/* ============================================================
   Footer
   ============================================================ */
.foot { background: var(--slate-900); border-top: 3px solid var(--lime-500); }
.foot__in {
    display: grid;
    grid-template-columns: 1.9fr 1fr 1fr;
    gap: 36px;
    padding: 52px var(--gutter) 34px;
}
@media (max-width: 820px) { .foot__in { grid-template-columns: 1fr; gap: 28px; } }
.foot__brand { display: flex; gap: 15px; align-items: flex-start; }
.foot__logo {
    width: 58px; height: 58px;
    flex: 0 0 auto;
    object-fit: contain;
}
.foot__brand strong { font-family: var(--display); font-size: 18.5px; display: block; color: #fff; }
.foot__brand small {
    display: block; font-size: 10.5px; letter-spacing: .14em;
    text-transform: uppercase; color: var(--lime-400); margin: 4px 0 9px; font-weight: 700;
}
.foot__brand p { color: rgba(255, 255, 255, .6); font-size: 14px; line-height: 1.6; max-width: 350px; margin-top: 9px; }
.foot__col h5 {
    font-family: var(--display); font-size: 11px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; color: var(--lime-400);
    margin: 0 0 12px;
}
.foot__col p { color: rgba(255, 255, 255, .72); font-size: 14px; line-height: 1.75; }
.foot__col a { color: var(--lime-400); }
.foot__col a:hover { color: #fff; text-decoration: underline; }
.foot__bar {
    border-top: 1px solid var(--line);
    padding: 17px 0;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
    font-size: 12.5px; color: rgba(255, 255, 255, .52);
}

@media (max-width: 560px) {
    :root { --gutter: 18px; }
    .brand__logo { width: 40px; height: 40px; }
    .brand__txt strong { font-size: 15px; }
    .brand__txt span { font-size: 8.5px; letter-spacing: .12em; }
    .nav__in { gap: 12px; height: 66px; }
    .btn { padding: 11px 15px; font-size: 14px; }
    .hero { min-height: clamp(500px, 78vh, 740px); }
    .seam { height: 44px; }
}

/* ============================================================
   Blazor error UI (kept minimal so it stays out of the way)
   ============================================================ */
.blazor-error-boundary {
    background: var(--danger);
    color: white;
    padding: 1rem;
    border-radius: 3px;
    margin: 1rem;
}
.blazor-error-boundary::after { content: "An error has occurred."; }

.valid.modified:not([type=checkbox]) { outline: 1px solid var(--lime-500); }
.invalid { outline: 1px solid var(--danger); }
.validation-message { color: var(--danger); }

/* ============================================================
   Contact form: notes, statuses, honeypot
   ============================================================ */
.form__note, .form__status {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
}
.form__note a, .form__status a { color: var(--lime-400); text-decoration: underline; }
.form__status--ok  { color: var(--lime-400); }
.form__status--err { color: #e89c88; }
.form .btn:disabled { cursor: default; opacity: .85; transform: none; }
.form .hp {
    position: absolute !important;
    width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%);
    white-space: nowrap;
}
.foot__bar a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.foot__bar a:hover { color: #fff; }

/* ============================================================
   Status pages (error / not found) and legal pages
   ============================================================ */
.status { min-height: 100vh; display: flex; flex-direction: column; }
.status .nav { position: static; }
.status__main {
    flex: 1;
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    padding-block: clamp(56px, 12vh, 120px) 80px;
    max-width: 760px;
}
.status__main .eyebrow { font-family: var(--data); letter-spacing: .2em; }
.status__main .lead { max-width: 56ch; }
.status__ref { font-family: var(--data); font-size: 12px; color: var(--muted); }
.status__ref code { font: inherit; color: var(--ink-dim); }
.status__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.legal .nav { position: static; }
.legal .nav__in { justify-content: space-between; }
.legal__back { padding: 9px 14px; font-size: 13.5px; }
.legal__main {
    max-width: 780px;
    padding-block: 56px 80px;
    display: flex; flex-direction: column; gap: 14px;
}
.legal__main .eyebrow { align-self: flex-start; }
.legal__main h1 { margin-bottom: 4px; }
.legal__main h2 {
    font-size: 17px; margin-top: 22px;
    color: var(--lime-400); letter-spacing: 0;
}
.legal__main p { color: var(--ink-dim); font-size: 15.5px; line-height: 1.7; max-width: 68ch; }
.legal__main a { color: var(--lime-400); text-decoration: underline; text-underline-offset: 2px; }
.legal__main a:hover { color: #fff; }
.legal__meta { font-family: var(--data); font-size: 12px; color: var(--muted) !important; }
@media (max-width: 560px) { .legal__back { display: none; } }
/* Blazor moves focus to the h1 after navigation; don't draw the focus ring
   around a heading that was never clicked. */
h1:focus { outline: none; }
