/* ADINA SHIPPING public site — "Deep Blue".
   Image-led, minimal, rounded; every section enters with motion. */

:root {
    --r-xs: 10px;
    --r-sm: 14px;
    --r-md: 22px;
    --r-lg: 32px;
    --r-pill: 999px;
    --glass: color-mix(in srgb, var(--paper) 72%, transparent);
    --on-image: #ffffff;
    --on-image-2: rgba(232, 238, 251, 0.82);
    --glow: 0 10px 30px -8px rgba(13, 110, 253, 0.65);
    --lift: 0 30px 60px -30px rgba(0, 20, 70, 0.45);
    --line: color-mix(in srgb, var(--ink) 9%, transparent);
}

/* ── Base ─────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: 6rem;
    background: var(--paper);
    scrollbar-color: var(--ink-3) var(--paper);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    transition: background-color var(--t-slow) var(--ease-out), color var(--t-slow) var(--ease-out);
}

::selection { background: var(--selection); color: var(--ink); }
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.05; text-wrap: balance; font-weight: 650; }
p { text-wrap: pretty; }
a { color: var(--link); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
.num, td, th { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { position: relative; width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.skip-link {
    position: fixed; left: 16px; top: -100px; z-index: 100; padding: 0.6rem 1rem;
    background: var(--action); color: #fff; border-radius: var(--r-pill); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ── Type ─────────────────────────────────────────── */

.display {
    font-size: clamp(2.7rem, 6.2vw, 5.6rem);
    font-stretch: 112%;
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 0.98;
}
.title {
    font-size: clamp(2.1rem, 4.6vw, 3.9rem);
    font-stretch: 110%;
    font-weight: 640;
    letter-spacing: -0.03em;
    line-height: 1.02;
}
.subtitle { font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-stretch: 106%; font-weight: 620; letter-spacing: -0.015em; line-height: 1.15; }
.lede { font-size: clamp(1.08rem, 1.35vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 44ch; }
.caption { font-size: 0.88rem; color: var(--ink-3); }

/* ── Buttons ──────────────────────────────────────── */

.btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    min-height: 3.25rem;
    padding: 0.85rem 1.6rem;
    border: 1px solid transparent;
    border-radius: var(--r-pill);
    font-size: 1rem; font-weight: 600; line-height: 1;
    text-decoration: none; white-space: nowrap;
    overflow: hidden;
    transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), background-color var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
}
.btn i { font-size: 1.25em; transition: transform var(--t-base) var(--ease-out); }
.btn:hover i { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--action); color: #fff; box-shadow: var(--glow); }
.btn--primary::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform 900ms var(--ease-out);
}
.btn--primary:hover { background: var(--action-hover); transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(13, 110, 253, 0.75); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--glass { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-2px); }
.btn--outline { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 22%, transparent); }
.btn--outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--wrap { white-space: normal; text-align: left; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; text-decoration: none; color: var(--link); }
.link-arrow i { transition: transform var(--t-base) var(--ease-out); }
.link-arrow:hover i { transform: translateX(5px); }

/* ── Ambient light (drawn shapes, no images) ──────── */

.ambient { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb {
    position: absolute; border-radius: 50%;
    width: var(--s, 420px); height: var(--s, 420px);
    background: radial-gradient(circle at 35% 35%, var(--c, rgba(13, 110, 253, 0.35)), transparent 68%);
    filter: blur(20px);
    animation: orb-drift var(--dur, 22s) ease-in-out infinite alternate;
}
@keyframes orb-drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(var(--dx, 60px), var(--dy, -40px), 0) scale(1.15); }
}

/* ── Navigation ───────────────────────────────────── */

.masthead {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    padding: 14px 12px 0;
    pointer-events: none;
    view-transition-name: masthead;
}
.js .masthead { animation: nav-in 900ms var(--ease-out) 150ms both; }
@keyframes nav-in { from { opacity: 0; transform: translateY(-24px); } }
.masthead__row {
    pointer-events: auto;
    display: flex; align-items: center; gap: 1.25rem;
    height: 62px;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: clamp(14px, 2.4vw, 24px);
    border: 1px solid transparent;
    border-radius: var(--r-pill);
    transition: max-width 700ms var(--ease-out), background-color var(--t-slow) var(--ease-out), border-color var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out);
}
.masthead[data-condensed] .masthead__row {
    max-width: 1160px;
    background: var(--glass);
    border-color: var(--line);
    box-shadow: 0 12px 40px -18px rgba(0, 20, 70, 0.35);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

.masthead__brand { flex: none; display: block; }
.masthead__logo { height: 36px; width: auto; }
.masthead__logo--night { display: none; }

.masthead__nav { flex: 1; }
.masthead__links { display: flex; justify-content: center; gap: 0.1rem; }
.masthead__link {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: var(--r-pill);
    color: var(--ink-2);
    font-size: 0.94rem; font-weight: 520;
    text-decoration: none; white-space: nowrap;
    transition: background-color var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out);
}
.masthead__link:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.masthead__link[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--ink) 9%, transparent); }

/* over a hero image, before scrolling, the bar is light-on-dark */
.has-hero .masthead:not([data-condensed]) .masthead__link { color: rgba(255, 255, 255, 0.82); }
.has-hero .masthead:not([data-condensed]) .masthead__link:hover,
.has-hero .masthead:not([data-condensed]) .masthead__link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.14); }
.has-hero .masthead:not([data-condensed]) .masthead__logo--day { display: none; }
.has-hero .masthead:not([data-condensed]) .masthead__logo--night { display: block; }
.has-hero .masthead:not([data-condensed]) .edition { border-color: rgba(255, 255, 255, 0.3); }
.has-hero .masthead:not([data-condensed]) .edition__option { color: rgba(255, 255, 255, 0.8); }
.has-hero .masthead:not([data-condensed]) .edition::before { background: rgba(255, 255, 255, 0.92); }
.has-hero .masthead:not([data-condensed]) .edition__option[aria-pressed="true"] { color: #07122e; }
.has-hero .masthead:not([data-condensed]) .menu-toggle { color: #fff; border-color: rgba(255, 255, 255, 0.35); }

.masthead__tools { display: flex; align-items: center; gap: 0.6rem; flex: none; }
.edition {
    position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    padding: 3px; border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
    border-radius: var(--r-pill); isolation: isolate;
}
.edition::before {
    content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px;
    width: calc((100% - 6px) / 3); border-radius: var(--r-pill);
    background: var(--ink); z-index: -1;
    transform: translateX(calc(var(--edition-index, 0) * 100%));
    transition: transform 420ms var(--ease-out);
}
.edition__option {
    padding: 0.32rem 0.7rem; border: 0; background: none; border-radius: var(--r-pill);
    color: var(--ink-2); font-size: 0.78rem; font-weight: 600;
    transition: color var(--t-base) var(--ease-out);
}
.edition__option[aria-pressed="true"] { color: var(--paper); }

.menu-toggle {
    display: none; align-items: center; gap: 0.6rem;
    padding: 0.55rem 0.9rem; border-radius: var(--r-pill);
    border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
    background: none; font-size: 0.9rem; font-weight: 600;
}
.menu-toggle__bars { display: grid; gap: 5px; width: 18px; }
.menu-toggle__bars span { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform var(--t-base) var(--ease-out); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 1099px) {
    .menu-toggle { display: inline-flex; }
    .masthead__tools { margin-left: auto; }
    .masthead__nav {
        position: fixed; inset: 0; z-index: -1;
        display: grid; align-content: center;
        padding: 6rem clamp(20px, 6vw, 48px) 3rem;
        background: color-mix(in srgb, #050818 94%, transparent);
        backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
        visibility: hidden; opacity: 0;
        transition: opacity 400ms var(--ease-out), visibility 0s linear 400ms;
    }
    .masthead__nav[data-open] { visibility: visible; opacity: 1; transition: opacity 400ms var(--ease-out), visibility 0s; }
    .masthead__links { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
    .masthead__link, .has-hero .masthead:not([data-condensed]) .masthead__link {
        padding: 0.3rem 0; background: none !important;
        font-size: clamp(2rem, 8vw, 3rem); font-stretch: 110%; font-weight: 620; letter-spacing: -0.03em;
        color: rgba(255, 255, 255, 0.7);
    }
    .masthead__link[aria-current="page"] { color: #fff !important; }
    .masthead__nav[data-open] .masthead__links li { animation: menu-in 600ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms + 60ms); }
    body[data-menu-open] { overflow: hidden; }
    body[data-menu-open] .masthead__row { background: transparent !important; border-color: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }
    body[data-menu-open] .masthead__logo--day { display: none !important; }
    body[data-menu-open] .masthead__logo--night { display: block !important; }
    body[data-menu-open] .menu-toggle { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
    body[data-menu-open] .edition { visibility: hidden; }
}
@media (max-width: 520px) {
    .masthead__row { gap: 0.5rem; padding-inline: 10px; }
    .masthead__tools { gap: 0.35rem; }
    .menu-toggle { justify-content: center; width: 36px; height: 36px; padding: 0; }
    .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .edition__option { padding: 0.5rem 0.25rem; font-size: 0.7rem; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }

/* ── Hero ─────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: max(640px, 100svh);
    display: grid;
    align-items: end;
    color: var(--on-image);
    overflow: hidden;
    isolation: isolate;
    background: #050818;
}
.hero--page { min-height: max(520px, 74svh); }
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(180deg, rgba(5, 8, 24, 0.6) 0%, rgba(5, 8, 24, 0) 26%),
        linear-gradient(90deg, rgba(5, 8, 24, 0.85) 0%, rgba(5, 8, 24, 0.35) 55%, rgba(5, 8, 24, 0.05) 100%),
        linear-gradient(0deg, rgba(5, 8, 24, 0.9) 0%, rgba(5, 8, 24, 0) 45%);
}
.hero__content { display: grid; gap: 1.6rem; padding-block: 10rem clamp(5rem, 12vh, 8rem); }
.hero .display { max-width: 14ch; color: #fff; }
.hero--page .display { max-width: 15ch; font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
.hero .lede { color: var(--on-image-2); max-width: 38ch; }
.hero__badge {
    justify-self: start; display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.45rem 0.95rem 0.45rem 0.55rem; border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    font-size: 0.88rem; font-weight: 560; color: #fff;
}
.hero__badge b { display: grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 0.45rem; border-radius: var(--r-pill); background: var(--action); font-size: 0.78rem; }
.hero__scroll {
    position: absolute; left: 50%; bottom: 1.5rem; width: 26px; height: 42px;
    border: 1.5px solid rgba(255, 255, 255, 0.5); border-radius: 14px; transform: translateX(-50%);
}
.hero__scroll::after {
    content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
    border-radius: 2px; background: #fff; animation: scroll-cue 1.8s var(--ease-in-out) infinite;
}
@keyframes scroll-cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* animated shipping route drawn over the hero photo */
.hero__route { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__route .route-line { fill: none; stroke: rgba(158, 197, 254, 0.55); stroke-width: 1.4; stroke-dasharray: 5 9; }
.hero__route .route-glow { fill: none; stroke: #6ea8fe; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 90 1400; filter: drop-shadow(0 0 6px rgba(13, 110, 253, 0.95)); }
.hero__route .node { fill: #fff; }
.hero__route .pulse { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; }
.hero__route text { fill: rgba(255, 255, 255, 0.85); font: 600 13px var(--font); letter-spacing: 0.02em; }

/* hero intro choreography (runs once on load) */
.js .hero__media img { animation: hero-zoom 2.4s var(--ease-out) both, hero-drift 26s ease-in-out 2.4s infinite alternate; }
.js .hero [data-intro] { animation: intro-up 1.1s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 1ms + 300ms); }
.js .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.js .word > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; animation: word-rise 1.15s var(--ease-out) both; animation-delay: calc(var(--w, 0) * 75ms + 250ms); }
.js .hero__route .route-line { animation: route-draw 3s var(--ease-out) 0.8s both; }
.js .hero__route .route-glow { animation: route-run 6s linear 1.6s infinite; }
.js .hero__route .pulse { animation: ring 2.6s var(--ease-out) 1.4s infinite; }
.js .hero__route .node, .js .hero__route text { animation: intro-fade 900ms var(--ease-out) 1.2s both; }
@keyframes hero-zoom { from { transform: scale(1.22); filter: blur(8px) brightness(0.5); } to { transform: scale(1.04); filter: none; } }
@keyframes hero-drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
@keyframes intro-up { from { opacity: 0; transform: translateY(36px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes intro-fade { from { opacity: 0; } }
@keyframes word-rise { to { transform: translateY(0) rotate(0); } }
@keyframes route-draw { from { stroke-dashoffset: 1600; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes route-run { from { stroke-dashoffset: 1490; } to { stroke-dashoffset: 0; } }
@keyframes ring { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(3.4); opacity: 0; } }

/* ── Scroll reveals ───────────────────────────────── */

.js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 64px, 0);
    filter: blur(12px);
    transition: opacity 900ms var(--ease-out), transform 1150ms var(--ease-out), filter 900ms var(--ease-out), clip-path 1300ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 120ms);
}
.js [data-reveal="left"] { transform: translate3d(-90px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(90px, 0, 0); }
.js [data-reveal="zoom"] { transform: scale(0.86); }
.js [data-reveal="clip"] { opacity: 1; filter: none; transform: none; clip-path: inset(16% 16% 16% 16% round var(--r-lg)); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.js [data-reveal="clip"] > img { scale: 1.3; transition: scale 1700ms var(--ease-out); }
.js [data-reveal="clip"].is-in > img { scale: 1; }

/* image parallax tied to scroll */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .parallax > img { animation: parallax linear both; animation-timeline: view(); animation-range: cover; }
    }
}
@keyframes parallax { from { transform: translateY(-7%) scale(1.16); } to { transform: translateY(7%) scale(1.16); } }

/* ── Sections ─────────────────────────────────────── */

.section { position: relative; isolation: isolate; padding-block: clamp(5rem, 10vw, 9rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--paper-2); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 720px; }
.section-head.center { justify-items: center; text-align: center; margin-inline: auto; }
.section-head.center .lede { margin-inline: auto; }

.media { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--paper-3); }
.media > img { width: 100%; height: 100%; object-fit: cover; }

/* split: big image + short text */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
}
.split--flip > :first-child { order: 2; }
.split .media { aspect-ratio: 4 / 4.2; box-shadow: var(--lift); }
.split__text { display: grid; gap: 1.5rem; align-content: center; }
@media (max-width: 900px) {
    .split, .split--flip { grid-template-columns: 1fr; }
    .split--flip > :first-child { order: 0; }
    .split .media { aspect-ratio: 4 / 3; }
}

/* feature chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.55rem 1.05rem 0.55rem 0.55rem;
    border-radius: var(--r-pill);
    background: var(--paper);
    border: 1px solid var(--line);
    font-size: 0.95rem; font-weight: 560;
    box-shadow: 0 8px 24px -16px rgba(0, 20, 70, 0.5);
    transition: transform 400ms var(--ease-out);
}
.chip:hover { transform: translateY(-3px); }
.chip i {
    display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
    background: linear-gradient(135deg, var(--action), #084298); color: #fff; font-size: 1.05rem;
}

/* floating glass stat over an image */
.float-card {
    position: absolute; left: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 2;
    display: grid; gap: 0.15rem; padding: 1rem 1.25rem; border-radius: var(--r-md);
    background: rgba(5, 8, 24, 0.45); color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    animation: bob 6s ease-in-out infinite;
}
.float-card--tr { left: auto; bottom: auto; right: clamp(1rem, 3vw, 1.75rem); top: clamp(1rem, 3vw, 1.75rem); animation-delay: -3s; }
.float-card strong { font-size: 1.5rem; font-stretch: 110%; font-weight: 650; letter-spacing: -0.02em; }
.float-card span { font-size: 0.85rem; color: rgba(232, 238, 251, 0.8); }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* short points (about history/mission/vision) */
.points { display: grid; gap: 1.2rem; }
.point { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; }
.point > i {
    display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 16px;
    background: linear-gradient(135deg, var(--action), #084298); color: #fff; font-size: 1.3rem; box-shadow: var(--glow);
}
.point h3 { font-size: 1.1rem; font-weight: 640; margin-bottom: 0.2rem; }
.point p { color: var(--ink-2); font-size: 0.98rem; }

/* ── Image cards ──────────────────────────────────── */

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.card {
    position: relative; display: block; overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: var(--r-lg);
    color: #fff; text-decoration: none;
    background: #0a1030;
    isolation: isolate;
    box-shadow: var(--lift);
}
.card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1200ms var(--ease-out); }
.card::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(0deg, rgba(5, 8, 24, 0.92) 0%, rgba(5, 8, 24, 0.3) 50%, rgba(5, 8, 24, 0) 72%);
}
.card__body { position: absolute; inset: auto 0 0 0; display: grid; gap: 0.7rem; padding: clamp(1.25rem, 2.4vw, 2rem); }
.card__body h3 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); font-stretch: 108%; font-weight: 640; letter-spacing: -0.02em; }
.card__list {
    display: grid; gap: 0.3rem; font-size: 0.95rem; color: rgba(232, 238, 251, 0.85);
    max-height: 0; opacity: 0; overflow: hidden;
    transition: max-height 700ms var(--ease-out), opacity 500ms var(--ease-out);
}
.card__go {
    position: absolute; top: 1.25rem; right: 1.25rem;
    display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
    background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    font-size: 1.4rem; transition: transform 500ms var(--ease-out), background-color 300ms, border-color 300ms;
}
.card:hover > img, .card:focus-visible > img { transform: scale(1.08); }
.card:hover .card__list, .card:focus-visible .card__list { max-height: 12rem; opacity: 1; }
.card:hover .card__go, .card:focus-visible .card__go { transform: rotate(-45deg); background: var(--action); border-color: var(--action); }
@media (hover: none) { .card__list { max-height: none; opacity: 1; } }
@media (max-width: 900px) {
    .cards { grid-template-columns: 1fr; }
    .card { aspect-ratio: 4 / 3.4; }
}

/* ── Carousel (vessels) ───────────────────────────── */

.carousel { position: relative; }
.carousel__track {
    display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 26vw, 340px);
    gap: 1.1rem;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0 1.5rem;
    scrollbar-width: none;
    cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel__track.is-dragging * { pointer-events: none; }
.vessel-card {
    position: relative; scroll-snap-align: start;
    aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-lg);
    color: #fff; text-decoration: none; background: #0a1030; isolation: isolate;
    box-shadow: var(--lift);
}
.vessel-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1200ms var(--ease-out); }
.vessel-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 8, 24, 0.88), rgba(5, 8, 24, 0) 55%); }
.vessel-card:hover > img { transform: scale(1.07); }
.vessel-card__body { position: absolute; inset: auto 0 0 0; display: grid; gap: 0.25rem; padding: 1.3rem 1.4rem; }
.vessel-card__body strong { font-size: 1.3rem; font-stretch: 108%; font-weight: 640; letter-spacing: -0.015em; }
.vessel-card__body span { font-size: 0.88rem; color: rgba(232, 238, 251, 0.8); }
.vessel-card__tag {
    position: absolute; top: 1rem; left: 1rem;
    padding: 0.3rem 0.7rem; border-radius: var(--r-pill);
    background: rgba(5, 8, 24, 0.45); border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    font-size: 0.75rem; font-weight: 600;
}
.carousel__nav { display: flex; gap: 0.5rem; }
.round-btn {
    display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); background: var(--paper);
    font-size: 1.4rem; color: var(--ink);
    transition: transform var(--t-base) var(--ease-out), background-color var(--t-base), color var(--t-base);
}
.round-btn:hover { background: var(--ink); color: var(--paper); transform: scale(1.06); }
.round-btn:active { transform: scale(0.94); }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head-row .section-head { margin-bottom: 0; }

/* ── Stats band ───────────────────────────────────── */

.band {
    position: relative; overflow: hidden; isolation: isolate;
    border-radius: var(--r-lg);
    color: #fff; background: #050818;
    padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4.5rem);
}
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(5, 8, 24, 0.94) 0%, rgba(8, 30, 90, 0.72) 60%, rgba(13, 110, 253, 0.4) 100%); }
.band .title { color: #fff; }
.band .lede { color: var(--on-image-2); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.stat {
    display: flex; flex-direction: column-reverse; gap: 0.35rem;
    padding: 1.4rem 1.5rem; border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.stat dd { font-size: clamp(2rem, 4vw, 3.2rem); font-stretch: 110%; font-weight: 640; letter-spacing: -0.03em; line-height: 1; }
.stat dt { font-size: 0.92rem; color: rgba(232, 238, 251, 0.8); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Testimonials marquee ─────────────────────────── */

.marquee { overflow: hidden; padding-block: 1rem 2rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 1.25rem; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 0.625rem)); } }
.quote {
    width: min(420px, 82vw); display: grid; gap: 1.4rem; align-content: space-between;
    padding: 1.8rem; border-radius: var(--r-lg);
    background: var(--paper); border: 1px solid var(--line);
    box-shadow: 0 20px 50px -34px rgba(0, 20, 70, 0.55);
}
.quote blockquote { font-size: 1.05rem; line-height: 1.6; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 0.8rem; }
.avatar {
    flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
    background: linear-gradient(135deg, var(--action), #084298); color: #fff; font-weight: 650; font-size: 0.95rem;
}
.quote figcaption strong { display: block; font-weight: 640; }
.quote figcaption span { font-size: 0.88rem; color: var(--ink-3); }

/* ── Globe / presence ─────────────────────────────── */

.globe { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #050818; box-shadow: var(--lift); isolation: isolate; }
.globe > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.globe::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 8, 24, 0.8), rgba(5, 8, 24, 0) 55%); }
.globe__regions {
    position: absolute; inset: auto 0 0 0;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem;
    padding: clamp(1rem, 3vw, 2rem);
}
.region {
    display: grid; gap: 0.3rem; padding: 1rem 1.1rem; border-radius: var(--r-md);
    background: rgba(5, 8, 24, 0.5); color: #fff; border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.region h4 { font-size: 1rem; font-weight: 640; }
.region p { font-size: 0.85rem; color: rgba(232, 238, 251, 0.78); line-height: 1.45; }
.hubdot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.55), 0 0 18px rgba(13, 110, 253, 0.9); }
.hubdot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.8); animation: ring 2.4s var(--ease-out) infinite; animation-delay: var(--dd, 0s); }
@media (max-width: 900px) {
    .globe { aspect-ratio: auto; }
    .globe__regions { position: relative; grid-template-columns: 1fr 1fr; padding-top: 16rem; }
}
@media (max-width: 480px) { .globe__regions { grid-template-columns: 1fr; } }

/* ── CTA ──────────────────────────────────────────── */

.cta {
    position: relative; overflow: hidden; isolation: isolate;
    border-radius: var(--r-lg); color: #fff; background: #050818;
    padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 6vw, 5rem);
    display: grid; gap: 1.6rem; justify-items: start;
}
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 8, 24, 0.92), rgba(5, 8, 24, 0.3)); }
.cta .title { color: #fff; max-width: 16ch; }
.cta p { color: var(--on-image-2); max-width: 46ch; }

/* ── Footer ───────────────────────────────────────── */

.colophon { position: relative; overflow: hidden; isolation: isolate; background: #050818; color: rgba(232, 238, 251, 0.75); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; border-radius: var(--r-lg) var(--r-lg) 0 0; background-image: radial-gradient(60% 120% at 50% 0%, rgba(13, 110, 253, 0.22), transparent 60%); }
.colophon__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.colophon__brand { display: grid; gap: 1rem; max-width: 30rem; }
.colophon__brand img { height: 44px; width: auto; }
.colophon__brand p { color: rgba(232, 238, 251, 0.7); }
.colophon__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: 2.5rem; }
.colophon__label { font-size: 0.85rem; font-weight: 640; color: #fff; margin-bottom: 0.9rem; }
.colophon__links, .colophon__contact { display: grid; gap: 0.5rem; }
.colophon a { color: rgba(232, 238, 251, 0.78); text-decoration: none; transition: color var(--t-fast); }
.colophon a:hover { color: #fff; }
.colophon__contact li { display: flex; gap: 0.6rem; align-items: baseline; }
.colophon__contact i { color: #6ea8fe; }
.colophon__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.88rem; }
@media (max-width: 760px) { .colophon__grid { grid-template-columns: 1fr; } }
.social { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 1.3rem; text-decoration: none; transition: transform 400ms var(--ease-out), background-color 300ms, border-color 300ms; }
.social a:hover, .social a:focus-visible { transform: translateY(-3px); background: #0d6efd; border-color: #0d6efd; color: #fff; }
.social--panel a { border-color: var(--line); background: var(--glass); color: var(--ink); }

/* ── Panels, tiles, steps (inner pages) ───────────── */

.panel {
    border-radius: var(--r-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 30px 70px -45px rgba(0, 20, 70, 0.6);
    padding: clamp(1.5rem, 3.5vw, 2.75rem);
}
.tiles { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1.1rem; }
.tile {
    display: grid; gap: 0.9rem; align-content: start;
    padding: 1.75rem; border-radius: var(--r-lg);
    background: var(--paper); border: 1px solid var(--line);
    box-shadow: 0 24px 60px -44px rgba(0, 20, 70, 0.55);
    transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out);
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -40px rgba(0, 20, 70, 0.6); }
.tile__icon {
    display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 16px;
    background: linear-gradient(135deg, var(--action), #084298); color: #fff; font-size: 1.5rem;
    box-shadow: var(--glow);
}
.tile h3 { font-size: 1.25rem; font-weight: 640; }
.tile p, .tile li { color: var(--ink-2); font-size: 0.97rem; }
.tile ul { display: grid; gap: 0.35rem; padding-left: 1.1rem; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; counter-reset: step; }
.step { counter-increment: step; position: relative; display: grid; gap: 0.7rem; align-content: start; padding: 1.75rem; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.step::before {
    content: counter(step); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
    background: var(--action); color: #fff; font-weight: 650; box-shadow: var(--glow);
}
.step h3 { font-size: 1.2rem; font-weight: 640; }
.step p { color: var(--ink-2); font-size: 0.97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.business-details { display: grid; gap: 1.25rem; margin: 0; }
.business-details > div { display: grid; gap: 0.35rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.business-details dt { color: var(--ink-2); font-size: 0.9rem; font-weight: 500; }
.business-details dd { margin: 0; color: var(--ink); font-weight: 560; font-variant-numeric: tabular-nums; }
.business-details dd span { white-space: nowrap; }

.timeline { position: relative; display: grid; gap: 1.1rem; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 0.4rem; top: 0.5rem; bottom: 0.5rem; width: 2px; border-radius: 2px; background: linear-gradient(var(--action), color-mix(in srgb, var(--action) 10%, transparent)); }
.timeline li { position: relative; display: grid; gap: 0.1rem; }
.timeline li::before { content: ""; position: absolute; left: -1.95rem; top: 0.3rem; width: 0.95rem; height: 0.95rem; border-radius: 50%; background: var(--paper); border: 3px solid var(--action); }
.timeline strong { font-size: 0.9rem; color: var(--action); font-weight: 650; }
.timeline span { color: var(--ink); font-weight: 560; }

.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.member { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); transition: transform 400ms var(--ease-out); }
.member:hover { transform: translateY(-4px); }
.member h3 { font-size: 1rem; font-weight: 640; }
.member p { font-size: 0.85rem; color: var(--ink-3); }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }

/* ── Tabs ─────────────────────────────────────────── */

.tabs {
    position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
    padding: 5px; border-radius: var(--r-pill);
    background: color-mix(in srgb, var(--ink) 6%, transparent);
    isolation: isolate; max-width: 100%;
}
.tabs__indicator {
    position: absolute; top: 5px; bottom: 5px; left: 5px;
    width: calc((100% - 10px) / var(--tab-count, 2)); border-radius: var(--r-pill);
    background: var(--action); box-shadow: var(--glow); z-index: -1;
    transform: translateX(calc(var(--tab-index, 0) * 100%));
    transition: transform 520ms var(--ease-out);
}
.tabs [role="tab"] { padding: 0.75rem 1.4rem; border: 0; background: none; border-radius: var(--r-pill); color: var(--ink-2); font-weight: 600; white-space: nowrap; transition: color var(--t-base); }
.tabs [role="tab"][aria-selected="true"] { color: #fff; }
.tabs [role="tab"]:focus-visible { outline-offset: -3px; }
[role="tabpanel"] { animation: panel-in 700ms var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }
@media (max-width: 600px) { .tabs { display: grid; width: 100%; } .tabs [role="tab"] { padding-inline: 0.4rem; font-size: 0.92rem; } }

/* ── Tanks ────────────────────────────────────────── */

.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.tank { display: grid; gap: 1rem; justify-items: center; text-align: center; padding: 2rem 1.5rem; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 24px 60px -44px rgba(0, 20, 70, 0.55); transition: transform 500ms var(--ease-out); }
.tank:hover { transform: translateY(-6px); }
.ring { position: relative; width: 150px; height: 150px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.ring .ring__bg { stroke: color-mix(in srgb, var(--ink) 9%, transparent); }
.ring .ring__fg { stroke: var(--action); stroke-dasharray: 402; stroke-dashoffset: calc(402 - 402 * var(--fill, 0)); filter: drop-shadow(0 0 6px rgba(13, 110, 253, 0.55)); }
.js .ring .ring__fg { stroke-dashoffset: 402; transition: stroke-dashoffset 1800ms var(--ease-out) 250ms; }
.js .ring[data-in] .ring__fg { stroke-dashoffset: calc(402 - 402 * var(--fill, 0)); }
.ring__label { position: absolute; inset: 0; display: grid; place-content: center; }
.ring__label strong { font-size: 1.45rem; font-weight: 650; letter-spacing: -0.02em; }
.ring__label span { font-size: 0.78rem; color: var(--ink-3); }
.tank h3 { font-size: 1.2rem; font-weight: 640; }
.tank__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
.pill { padding: 0.3rem 0.75rem; border-radius: var(--r-pill); background: color-mix(in srgb, var(--ink) 6%, transparent); font-size: 0.82rem; font-weight: 560; color: var(--ink-2); }
.hub-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
@media (max-width: 900px) { .hub-grid { grid-template-columns: 1fr; } }

dialog.sheet {
    width: min(56rem, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--r-lg);
    background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0, 0, 30, 0.6); overflow: hidden;
    opacity: 0; transform: translateY(24px) scale(0.96);
    transition: opacity 320ms var(--ease-out), transform 420ms var(--ease-out), overlay 320ms allow-discrete, display 320ms allow-discrete;
}
dialog.sheet[open] { opacity: 1; transform: none; }
@starting-style { dialog.sheet[open] { opacity: 0; transform: translateY(24px) scale(0.96); } }
dialog.sheet::backdrop { background: rgba(0, 0, 30, 0.55); backdrop-filter: blur(6px); opacity: 0; transition: opacity 320ms, overlay 320ms allow-discrete, display 320ms allow-discrete; }
dialog.sheet[open]::backdrop { opacity: 1; }
@starting-style { dialog.sheet[open]::backdrop { opacity: 0; } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; }
.sheet__close { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--ink) 7%, transparent); font-size: 1.4rem; }
.sheet__map { aspect-ratio: 16 / 9; background: var(--paper-2); }
.sheet__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── Forms ────────────────────────────────────────── */

.form { display: grid; gap: 1.5rem; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1rem; }
.form legend { padding: 0; margin-bottom: 0.4rem; font-size: 1.05rem; font-weight: 640; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem; }
.form__grid .field--wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.88rem; font-weight: 580; color: var(--ink-2); }
.field label .req { color: var(--action); margin-left: 0.15rem; }
.field input, .field textarea, .field select {
    width: 100%; min-height: 3.25rem; padding: 0.8rem 1rem;
    border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); border-radius: var(--r-sm);
    background: var(--paper-2); color: var(--ink); font-size: 1rem;
    transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-base);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--action); background: var(--paper); box-shadow: 0 0 0 4px var(--selection); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: var(--picker-filter, none); cursor: pointer; }
:root[data-theme="dark"] { --picker-filter: invert(0.85); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --picker-filter: invert(0.85); } }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__note { font-size: 0.88rem; color: var(--ink-3); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 0.95rem 1.1rem; border-radius: var(--r-sm); font-weight: 560; animation: intro-up 600ms var(--ease-out); }
.form-status.is-success { color: var(--success); background: color-mix(in srgb, var(--success) 12%, transparent); }
.form-status.is-error { color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, transparent); }
.btn[data-sending] { color: transparent; }
.btn[data-sending]::after { content: ""; position: absolute; inset: auto; width: 1.2rem; height: 1.2rem; transform: none; background: none; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.check { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.95rem; color: var(--ink-2); }
.check input { width: 1.1rem; height: 1.1rem; accent-color: var(--action); }

/* ── Contact ──────────────────────────────────────── */

.contact-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.8rem; }
.copy { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.25rem 0.65rem; border-radius: var(--r-pill); border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); background: none; font-size: 0.78rem; font-weight: 600; color: var(--ink-3); transition: color var(--t-fast), border-color var(--t-fast); }
.copy:hover { color: var(--ink); border-color: var(--ink); }
.copy[data-copied] { color: var(--success); border-color: currentColor; }
.hours td { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr[data-today] td { color: var(--action); font-weight: 650; }
@keyframes live-pulse { 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
.map-frame { border-radius: var(--r-lg); overflow: hidden; min-height: 340px; background: var(--paper-2); box-shadow: var(--lift); }
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: var(--map-filter, none); }

/* ── Tracker ──────────────────────────────────────── */

.tracker { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(16rem, 0.75fr); overflow: hidden; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--lift); }
.tracker__main { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.tracker__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 1rem; padding: 1.1rem 1.4rem; }
.tracker__name { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-stretch: 108%; font-weight: 650; letter-spacing: -0.02em; }
.tracker__meta { font-size: 0.9rem; color: var(--ink-3); }
.tracker__live { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.8rem; border-radius: var(--r-pill); background: color-mix(in srgb, var(--action) 12%, transparent); color: var(--action); font-size: 0.82rem; font-weight: 620; }
.tracker__live::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--action); animation: live-pulse 2s var(--ease-out) infinite; box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.6); }
.tracker__map { position: relative; min-height: 460px; background: var(--paper-2); }
.tracker__map iframe { width: 100%; min-height: 460px; border: 0; display: block; }
.tracking-loading, .tracking-fallback { display: grid; place-items: center; min-height: 460px; padding: 2rem; text-align: center; color: var(--ink-2); }
.tracking-loading { background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--action) 18%, transparent), transparent 55%); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.55; } }
.tracking-fallback > div { display: grid; gap: 0.6rem; justify-items: center; }
.tracking-fallback h5 { font-size: 1.4rem; font-weight: 650; }
.tracker__side { display: grid; grid-template-rows: auto 1fr; min-height: 0; max-height: 560px; border-left: 1px solid var(--line); }
.tracker__side-head { padding: 1.1rem 1.25rem; display: grid; gap: 0.2rem; }
.tracker__list { overflow-y: auto; overscroll-behavior: contain; padding: 0 0.6rem 0.6rem; }
.tracking-vessel-button { display: grid; gap: 0.1rem; width: 100%; padding: 0.7rem 0.8rem; border: 0; border-radius: var(--r-sm); background: none; text-align: left; transition: background-color var(--t-fast); }
.tracking-vessel-button strong { font-weight: 620; font-size: 0.96rem; }
.tracking-vessel-button span { font-size: 0.8rem; color: var(--ink-3); }
.tracking-vessel-button:hover { background: var(--paper-2); }
.tracking-vessel-button.active { background: var(--action); color: #fff; }
.tracking-vessel-button.active span { color: rgba(255, 255, 255, 0.8); }
@media (max-width: 960px) {
    .tracker { grid-template-columns: 1fr; }
    .tracker__side { border-left: 0; border-top: 1px solid var(--line); max-height: 22rem; }
    .tracker__map, .tracker__map iframe, .tracking-loading, .tracking-fallback { min-height: 360px; }
}

/* fleet gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); gap: 1.1rem; }
.gallery .vessel-card { aspect-ratio: 4 / 5; }
.vessel-card .fleet-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.vessel-card .fleet-link span {
    position: absolute; top: 1rem; right: 1rem;
    display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.85rem; border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); color: #fff;
    font-size: 0.8rem; font-weight: 620; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    opacity: 0; transform: translateY(-6px); transition: opacity 300ms, transform 400ms var(--ease-out), background-color 300ms;
}
.vessel-card:hover .fleet-link span, .vessel-card .fleet-link:focus-visible span, .vessel-card.active .fleet-link span { opacity: 1; transform: none; }
.vessel-card.active { outline: 3px solid var(--action); outline-offset: 3px; }
.vessel-card.active .fleet-link span { background: var(--action); border-color: var(--action); }
@media (hover: none) { .vessel-card .fleet-link span { opacity: 1; transform: none; } }

/* ── Overview dashboard ───────────────────────────── */

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.kpi { display: grid; gap: 0.35rem; padding: 1.5rem; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.kpi i { font-size: 1.4rem; color: var(--action); }
.kpi h3 { font-size: 1.6rem; font-weight: 650; letter-spacing: -0.02em; }
.kpi p { color: var(--ink-2); font-size: 0.95rem; }
.kpi span { font-size: 0.82rem; color: var(--ink-3); }
@media (max-width: 900px) { .kpis { grid-template-columns: 1fr 1fr; } }
.charts { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.1rem; }
.charts--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chart { display: grid; gap: 1rem; padding: 1.5rem; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.chart h3 { font-size: 1.05rem; font-weight: 640; }
.chart__canvas { position: relative; height: 300px; }
@media (max-width: 900px) { .charts, .charts--even { grid-template-columns: 1fr; } }
.ledger { overflow-x: auto; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.ledger table { min-width: 52rem; }
.ledger th { padding: 1rem; text-align: left; font-size: 0.82rem; font-weight: 600; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.ledger td { padding: 0.9rem 1rem; border-bottom: 1px solid color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink-2); }
.ledger td:first-child { color: var(--ink); font-weight: 620; }
.ledger tbody tr { transition: background-color var(--t-fast); }
.ledger tbody tr:hover { background: var(--paper-2); }
.tag { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.65rem; border-radius: var(--r-pill); background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); font-size: 0.8rem; font-weight: 600; }
.tag--overdue { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }

/* ── Sign-in (blog studio) ────────────────────────── */

.login { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 7rem 1rem 3rem; overflow: hidden; isolation: isolate; background: #050818; }
.login > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.6; }
.login::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 40%, rgba(5, 8, 24, 0.2), rgba(5, 8, 24, 0.88)); }
.login__panel { width: min(26rem, 100%); display: grid; gap: 1.4rem; padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: var(--r-lg); background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 40px 100px -40px rgba(0, 0, 30, 0.8); }

/* ── Blog ─────────────────────────────────────────── */

.blog-list__inner { gap: clamp(1rem, 2vw, 1.5rem); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.9rem; font-size: 0.85rem; font-weight: 560; letter-spacing: 0.01em; color: var(--on-image-2); }
.post-meta span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 0.9rem; border-radius: 50%; background: currentColor; vertical-align: middle; opacity: 0.7; }
.card--post .card__body h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.12; }
.card--feature { aspect-ratio: 16 / 8; }
.card--feature .card__body { max-width: 760px; gap: 0.9rem; padding: clamp(1.5rem, 4vw, 3.25rem); }
.card--feature .card__body h2 { font-size: clamp(1.9rem, 4vw, 3.4rem); font-stretch: 110%; font-weight: 640; letter-spacing: -0.03em; line-height: 1.02; }
.card--feature .card__list { max-height: none; opacity: 1; font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 52ch; }
.card--feature .card__go { width: 3.6rem; height: 3.6rem; top: clamp(1.25rem, 3vw, 2rem); right: clamp(1.25rem, 3vw, 2rem); }
@media (max-width: 900px) { .card--feature { aspect-ratio: 4 / 4.4; } }
.cards--posts:not(:has(> :nth-child(3))) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--posts:not(:has(> :nth-child(3))) .card { aspect-ratio: 16 / 11; }
@media (max-width: 900px) { .cards--posts:not(:has(> :nth-child(3))) { grid-template-columns: 1fr; } }
.blog-empty { display: grid; justify-items: center; gap: 0.9rem; padding: clamp(3rem, 8vw, 5rem) 1.5rem; text-align: center; border-radius: var(--r-lg); background: var(--paper-2); }
.blog-empty > i { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: color-mix(in srgb, var(--action) 14%, transparent); color: var(--action); font-size: 2rem; }
.blog-empty .lede { margin-inline: auto; }

.hero--post { min-height: max(560px, 82svh); }
.hero--post .display { max-width: 20ch; font-size: clamp(2.3rem, 5.2vw, 4.6rem); }
.hero--post .hero__content { gap: 1.3rem; }
.post-back { justify-self: start; min-height: 2.75rem; padding: 0.6rem 1.15rem; font-size: 0.92rem; }
.post-back:hover i { transform: translateX(-4px); }
.post-meta--hero { font-size: 0.95rem; }
.preview-banner { justify-self: start; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: var(--r-pill); background: var(--action); color: #fff; font-weight: 600; font-size: 0.9rem; }

.prose { max-width: 70ch; margin-inline: auto; font-size: clamp(1.06rem, 1.2vw, 1.18rem); line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.25em; }
.prose h2, .prose h3 { color: var(--ink); font-stretch: 106%; font-weight: 640; letter-spacing: -0.02em; line-height: 1.15; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
.prose h3 { margin-top: 1.9em; font-size: clamp(1.3rem, 2vw, 1.55rem); }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose > :first-child { margin-top: 0; }
.prose > p:first-child { font-size: 1.15em; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 640; }
.prose a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { display: grid; gap: 0.5em; padding-left: 1.3em; }
.prose li::marker { color: var(--action); }
.prose blockquote { padding: 0.4em 0 0.4em 1.2em; border-left: 3px solid var(--action); font-size: 1.15em; font-weight: 520; color: var(--ink); }
.prose img { display: block; width: 100%; height: auto; margin-block: 2em; border-radius: var(--r-lg); box-shadow: var(--lift); }
.prose p:has(> img:only-child) { margin-block: 2em; }
.prose p > img { margin-block: 0; }
.prose > video[data-inline-video] {
    display: block; width: 100%; max-width: 100%; height: auto; max-height: min(78svh, 52rem); margin-block: 2em;
    border-radius: var(--r-lg); background: #050818; object-fit: contain; box-shadow: var(--lift);
}

/* Blog studio (editor) */

.studio { padding-block: clamp(7rem, 12vw, 9rem) clamp(4rem, 8vw, 6rem); min-height: 100svh; }
.studio__bar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.25rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.studio__heading { gap: 0.4rem; }
.studio-wide { width: 100%; }
.studio__list { display: grid; gap: 0.75rem; }
.studio-row {
    display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto auto; align-items: center; gap: 1.1rem;
    width: 100%; padding: 0.75rem 1.1rem 0.75rem 0.75rem; border: 1px solid var(--line); border-radius: var(--r-lg);
    background: var(--paper); color: var(--ink); text-align: left; cursor: pointer;
    animation: intro-up 600ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms);
    transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base);
}
.studio-row:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--action) 40%, transparent); box-shadow: var(--lift); }
.studio-row:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.studio-row__thumb { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--r-lg) - 0.75rem); background: var(--paper-3); color: var(--ink-3); font-size: 1.5rem; }
.studio-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.studio-row__thumb[data-video]::after { content: "Video"; position: absolute; right: 0.4rem; bottom: 0.4rem; padding: 0.22rem 0.5rem; border-radius: var(--r-pill); background: rgba(5, 8, 24, 0.72); color: #fff; font-size: 0.8rem; font-weight: 620; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.studio-row__text { display: grid; gap: 0.25rem; min-width: 0; }
.studio-row__text strong { overflow: hidden; font-size: 1.08rem; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.studio-row__go { font-size: 1.5rem; color: var(--ink-3); transition: transform var(--t-base) var(--ease-out); }
.studio-row:hover .studio-row__go { transform: translateX(4px); color: var(--action); }
.studio-status { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.8rem; border-radius: var(--r-pill); background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink-2); font-size: 0.8rem; font-weight: 620; white-space: nowrap; }
.studio-status::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; opacity: 0.6; }
.studio-status[data-status="published"] { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.studio-status[data-status="published"]::before { opacity: 1; }
@media (max-width: 640px) {
    .studio-row { grid-template-columns: 4.25rem minmax(0, 1fr) auto; gap: 0.8rem; }
    .studio-row__go { display: none; }
}

.studio-editor { display: grid; gap: 1.5rem; max-width: 880px; animation: intro-up 600ms var(--ease-out) both; }
.studio-editor__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.studio-editor__top .btn { min-height: 2.75rem; padding: 0.6rem 1.15rem; }
.studio-title-input.studio-title-input { min-height: 4rem; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 620; letter-spacing: -0.015em; }
.studio-hero-type { display: grid; gap: 0.65rem; margin: 0; padding: 0; border: 0; }
.studio-hero-type legend { margin-bottom: 0.65rem; padding: 0; color: var(--ink-2); font-size: 0.88rem; font-weight: 580; }
.studio-hero-type__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.studio-hero-type__options label { position: relative; cursor: pointer; }
.studio-hero-type__options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.studio-hero-type__options label > span { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: 0.1rem 0.75rem; min-height: 4.75rem; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper-2); color: var(--ink-2); transition: border-color var(--t-base), background-color var(--t-base), box-shadow var(--t-base); }
.studio-hero-type__options i { grid-row: 1 / 3; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--r-sm); background: var(--paper-3); color: var(--ink-2); font-size: 1.25rem; }
.studio-hero-type__options strong { align-self: end; color: var(--ink); font-size: 0.98rem; font-weight: 620; }
.studio-hero-type__options small { align-self: start; color: var(--ink-3); font-size: 0.88rem; }
.studio-hero-type__options input:checked + span { border-color: var(--action); background: color-mix(in srgb, var(--action) 8%, var(--paper)); box-shadow: 0 0 0 1px var(--action); }
.studio-hero-type__options input:checked + span i { background: var(--action); color: #fff; box-shadow: var(--glow); }
.studio-hero-type__options input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.studio-hero-type > .caption { margin: 0; }
.studio-cover {
    position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 16 / 7;
    border: 2px dashed color-mix(in srgb, var(--ink) 18%, transparent); border-radius: var(--r-lg);
    background: var(--paper-2); color: var(--ink-2); cursor: pointer; text-align: center;
    transition: border-color var(--t-base), background-color var(--t-base);
}
.studio-cover:hover, .studio-cover[data-drag] { border-color: var(--action); background: color-mix(in srgb, var(--action) 8%, var(--paper-2)); }
.studio-cover:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.studio-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.studio-cover__empty { display: grid; justify-items: center; gap: 0.35rem; padding: 1rem; font-size: 0.9rem; color: var(--ink-3); }
.studio-cover__empty i { font-size: 2.4rem; color: var(--action); }
.studio-cover__empty strong { font-size: 1.05rem; color: var(--ink); }
.studio-cover__change { position: absolute; right: 1rem; bottom: 1rem; display: none; align-items: center; gap: 0.4rem; padding: 0.5rem 0.9rem; border-radius: var(--r-pill); background: rgba(5, 8, 24, 0.6); color: #fff; font-size: 0.85rem; font-weight: 600; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.studio-cover:not([data-cover=""]) { border-style: solid; border-color: transparent; }
.studio-cover:not([data-cover=""]) .studio-cover__empty { display: none; }
.studio-cover:not([data-cover=""]) .studio-cover__change { display: inline-flex; }
.studio-cover[data-uploading]::after { content: ""; position: absolute; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--action) 25%, transparent); border-top-color: var(--action); animation: spin 700ms linear infinite; }
.studio-cover[data-uploading] > * { opacity: 0.35; }
@media (max-width: 640px) { .studio-cover { aspect-ratio: 4 / 3; } }
.studio-video {
    position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 16 / 9;
    border: 2px dashed color-mix(in srgb, var(--ink) 18%, transparent); border-radius: var(--r-lg);
    background: #050818; color: var(--on-image-2); cursor: pointer; text-align: center;
    transition: border-color var(--t-base), background-color var(--t-base);
}
.studio-video[hidden] { display: none; }
.studio-video:hover, .studio-video[data-drag] { border-color: var(--action); background: color-mix(in srgb, var(--action) 16%, #050818); }
.studio-video:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.studio-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.studio-video__empty { display: grid; justify-items: center; gap: 0.35rem; padding: 1rem; font-size: 0.88rem; color: rgba(232, 238, 251, 0.76); }
.studio-video__empty i { font-size: 2.4rem; color: #6ea8fe; }
.studio-video__empty strong { font-size: 1.0625rem; color: #fff; }
.studio-video__change { position: absolute; right: 1rem; bottom: 1rem; display: none; align-items: center; gap: 0.4rem; padding: 0.5rem 0.9rem; border-radius: var(--r-pill); background: rgba(5, 8, 24, 0.72); color: #fff; font-size: 0.88rem; font-weight: 600; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.studio-video:not([data-video=""]) { border-style: solid; border-color: transparent; }
.studio-video:not([data-video=""]) .studio-video__empty { display: none; }
.studio-video:not([data-video=""]) .studio-video__change { display: inline-flex; }
.studio-video[data-uploading]::after { content: ""; position: absolute; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.3); border-top-color: #fff; animation: spin 700ms linear infinite; }
.studio-video[data-uploading] > * { opacity: 0.35; }
@media (max-width: 520px) { .studio-hero-type__options { grid-template-columns: 1fr; } .studio-video { aspect-ratio: 4 / 3; } }
.studio-slug { display: flex; align-items: stretch; overflow: hidden; border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); border-radius: var(--r-sm); background: var(--paper-2); }
.studio-slug:focus-within { border-color: var(--action); box-shadow: 0 0 0 4px var(--selection); }
.studio-slug span { display: flex; align-items: center; padding-left: 1rem; color: var(--ink-3); font-size: 0.95rem; white-space: nowrap; }
.field .studio-slug input { min-width: 0; padding-left: 0.1rem; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
@media (max-width: 520px) { .studio-slug span { display: none; } .field .studio-slug input { padding-left: 1rem; } }
.field__label { font-size: 0.88rem; font-weight: 580; color: var(--ink-2); }
.studio-quill { overflow: hidden; border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); border-radius: var(--r-sm); background: var(--paper); }
.studio-quill:focus-within { border-color: var(--action); box-shadow: 0 0 0 4px var(--selection); }
.studio-quill .ql-toolbar.ql-snow { position: sticky; top: 0; z-index: 1; border: 0; border-bottom: 1px solid var(--line); background: var(--paper-2); font-family: var(--font); padding: 0.6rem; }
.studio-quill .ql-container.ql-snow { border: 0; font-family: var(--font); font-size: 1.08rem; }
.studio-quill .ql-editor { min-height: 22rem; padding: 1.25rem 1.4rem; line-height: 1.7; color: var(--ink); }
.studio-quill .ql-editor.ql-blank::before { color: var(--ink-3); font-style: normal; left: 1.4rem; }
.studio-quill .ql-editor img { border-radius: var(--r-sm); }
.studio-quill .ql-editor video[data-inline-video] { display: block; width: 100%; max-height: 32rem; margin-block: 1.4rem; border-radius: var(--r-sm); background: #050818; object-fit: contain; }
.studio-quill .ql-editor blockquote { border-left-color: var(--action); }
.studio-quill .ql-snow .ql-stroke { stroke: var(--ink-2); }
.studio-quill .ql-snow .ql-fill { fill: var(--ink-2); }
.studio-quill .ql-snow .ql-picker { color: var(--ink-2); }
.studio-quill .ql-snow button:hover .ql-stroke, .studio-quill .ql-snow button.ql-active .ql-stroke { stroke: var(--action); }
.studio-quill .ql-snow button:hover .ql-fill, .studio-quill .ql-snow button.ql-active .ql-fill { fill: var(--action); }
.studio-quill .ql-snow .ql-tooltip { z-index: 2; border-color: var(--line); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.studio-quill .ql-snow .ql-tooltip input[type="text"] { border-color: var(--line); background: var(--paper-2); color: var(--ink); }
.studio-quill .ql-snow .ql-tooltip a { color: var(--link); }
.studio-quill .ql-toolbar .ql-header[value="2"]::after { content: "H2"; font-weight: 700; font-size: 0.8rem; color: var(--ink-2); }
.studio-quill .ql-toolbar .ql-header[value="3"]::after { content: "H3"; font-weight: 700; font-size: 0.8rem; color: var(--ink-2); }
.studio-quill .ql-toolbar .ql-header svg { display: none; }
.studio-quill .ql-toolbar .ql-inlineVideo svg { width: 18px; height: 18px; }
.studio-quill .ql-toolbar button:disabled { cursor: wait; opacity: 0.45; }
.studio-editor__help { margin-top: 0.55rem; max-width: 70ch; }
.studio-editor__foot {
    position: sticky; bottom: 1rem; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem;
    padding: 0.75rem; border: 1px solid var(--line); border-radius: var(--r-pill);
    background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--lift);
}
.studio-editor__foot .btn { min-height: 2.9rem; padding: 0.7rem 1.25rem; }
.studio-editor__spacer { flex: 1; }
.studio .btn--outline { background: transparent; }
.studio-danger { color: var(--danger); }
.studio-danger:hover { border-color: var(--danger); }
.studio-page .toast { bottom: 6.5rem; }
@media (max-width: 640px) {
    .studio-editor__foot { position: static; border-radius: var(--r-lg); }
    .studio-editor__foot #editor-saved { flex-basis: 100%; order: -1; text-align: center; }
    .studio-editor__spacer { display: none; }
    .studio-editor__foot .btn { flex: 1 1 auto; }
}

/* ── Toast ────────────────────────────────────────── */

.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 90; padding: 0.8rem 1.2rem; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font-weight: 600; box-shadow: var(--lift); transform: translateX(-50%); transition: opacity var(--t-base), transform var(--t-base) var(--ease-out); }
@starting-style { .toast { opacity: 0; transform: translate(-50%, 12px); } }
.toast[data-leaving] { opacity: 0; transform: translate(-50%, 8px); }

/* ── Theme specifics ──────────────────────────────── */

:root[data-theme="dark"] .masthead__logo--day { display: none; }
:root[data-theme="dark"] .masthead__logo--night { display: block; }
:root[data-theme="dark"] { --map-filter: invert(0.9) hue-rotate(180deg) saturate(0.6) brightness(0.9); --glass: color-mix(in srgb, #0c1134 70%, transparent); }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .masthead__logo--day { display: none; }
    :root:not([data-theme="light"]) .masthead__logo--night { display: block; }
    :root:not([data-theme="light"]) { --map-filter: invert(0.9) hue-rotate(180deg) saturate(0.6) brightness(0.9); --glass: color-mix(in srgb, #0c1134 70%, transparent); }
}

/* ── Page transitions ─────────────────────────────── */

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 220ms var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in 500ms var(--ease-out) both; }
::view-transition-group(masthead) { animation-duration: 0s; }
@keyframes vt-out { to { opacity: 0; transform: scale(0.985); } }
@keyframes vt-in { from { opacity: 0; transform: scale(1.015); } }

/* ── Reduced motion ───────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; transition: none !important; }
    .js [data-reveal="clip"] > img { scale: 1 !important; }
    .js .word > span { transform: none !important; }
    .marquee__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
    .marquee__track > [aria-hidden="true"] { display: none; }
    .hero__route .route-glow { display: none; }
    .orb, .float-card { animation: none !important; }
    @view-transition { navigation: none; }
}

/* ── Layout helpers (consistency pass) ────────────── */

/* Section heads: centered only above full-width grids; in two-column sections
   the heading lives in the text column, left-aligned. */
.stack { display: grid; gap: 1rem; }
.split--top { align-items: start; }
.split--top .split__text { position: sticky; top: 7rem; }
.label-sm { font-size: 0.95rem; font-weight: 640; margin-bottom: 0.6rem; color: var(--ink); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 640px) { .pair { grid-template-columns: 1fr; } }
/* legacy all-caps headings keep their text for SEO but read in sentence case */
.title--calm { text-transform: lowercase; }
.title--calm::first-letter { text-transform: uppercase; }

/* ── Floating dock: WhatsApp + back to top ────────── */

.dock { position: fixed; right: clamp(14px, 2.5vw, 28px); bottom: clamp(14px, 2.5vw, 28px); z-index: 45; display: grid; gap: 0.7rem; justify-items: end; }
.dock__btn {
    position: relative; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%;
    border: 1px solid var(--line); background: var(--glass); color: var(--ink);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 14px 34px -14px rgba(0, 20, 70, 0.5); font-size: 1.5rem; text-decoration: none;
    transition: transform 400ms var(--ease-out), opacity 400ms var(--ease-out), background-color 300ms, color 300ms;
}
.dock__btn:hover { transform: translateY(-3px) scale(1.05); }
.dock__btn--wa { background: #0d6efd; border-color: #0d6efd; color: #fff; box-shadow: var(--glow); }
.dock__btn--wa::after { content: attr(data-label); position: absolute; right: calc(100% + 0.7rem); white-space: nowrap; padding: 0.45rem 0.8rem; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font-size: 0.85rem; font-weight: 600; opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity 300ms, transform 400ms var(--ease-out); }
.dock__btn--wa:hover::after, .dock__btn--wa:focus-visible::after { opacity: 1; transform: none; }
.dock__top { opacity: 0; transform: translateY(12px) scale(0.9); pointer-events: none; }
.dock__top[data-visible] { opacity: 1; transform: none; pointer-events: auto; }
.dock__top svg { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.dock__top circle { fill: none; stroke: var(--action); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 163.4; stroke-dashoffset: calc(163.4 - 163.4 * var(--progress, 0)); }
body[data-menu-open] .dock { visibility: hidden; }
@media (max-width: 900px) { .split--top .split__text { position: static; } }
@media (max-width: 520px) {
    .title { font-size: clamp(1.75rem, 8.4vw, 2.2rem); font-stretch: 104%; overflow-wrap: break-word; }
    .hero .display, .hero--page .display { font-size: clamp(2.3rem, 11vw, 2.9rem); }
}
/* the dock waits until the visitor leaves the hero, so it never covers hero actions */
.dock { opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out); }
.dock[data-visible] { opacity: 1; transform: none; pointer-events: auto; }

/* ── Hero video + film player ─────────────────────── */

.hero__video { width: 100%; height: 100%; object-fit: cover; transform-origin: 55% 50%; }
.js .hero__video { animation: hero-zoom 2.4s var(--ease-out) both; }
.hero__watch {
    position: absolute; right: clamp(16px, 4vw, 40px); bottom: clamp(5rem, 12vh, 8rem); z-index: 2;
    display: inline-flex; align-items: center; gap: 0.8rem;
    padding: 0.5rem 1.2rem 0.5rem 0.5rem; border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; text-align: left;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transition: background-color 300ms, transform 400ms var(--ease-out);
}
.hero__watch:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }
.hero__watch strong { display: block; font-size: 0.95rem; font-weight: 620; }
.hero__watch small { display: block; font-size: 0.78rem; color: rgba(232, 238, 251, 0.75); }
.hero__watch-icon {
    position: relative; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
    background: #fff; color: #07122e; font-size: 1.6rem;
}
.hero__watch-icon::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.7); animation: watch-pulse 2.2s var(--ease-out) infinite; }
@keyframes watch-pulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(1.45); opacity: 0; } }
@media (max-width: 700px) {
    .hero__watch { position: relative; right: auto; bottom: auto; margin: -2.5rem 0 4.5rem clamp(16px, 4vw, 40px); justify-self: start; }
}
dialog.sheet--video { width: min(1200px, calc(100vw - 32px)); background: #000; }
.sheet__video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.sheet__close--float { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 1; background: rgba(0, 0, 0, 0.55); color: #fff; }
.sheet__close--float:hover { background: rgba(0, 0, 0, 0.8); }
@media (prefers-reduced-motion: reduce) { .hero__watch-icon::after { animation: none; } }
