/* ============================================================
   SAMJOO SM — ELEVATION LAYER (v2 · 2026)
   Loads AFTER style.css. Refines the global system without
   touching any JS hooks / injected class names.
   Theme kept: teal / navy / coral.
   Headlines → Space Grotesk display. Hero, nav, cards refined.
   ============================================================ */

:root {
    --font-display: 'Space Grotesk', 'Inter', 'Noto Sans KR', sans-serif;
    --ink-900: #0B2027;
    --shadow-soft: 0 1px 2px rgba(15, 43, 67, 0.04), 0 8px 24px -12px rgba(15, 43, 67, 0.10);
    --shadow-lift: 0 24px 50px -22px rgba(11, 32, 39, 0.28);
    --hairline: rgba(15, 43, 67, 0.10);
    --page-pad: clamp(1.5rem, 4vw, 5rem);
}

body { letter-spacing: -0.003em; }

/* ============================================================
   TYPOGRAPHY — display face on headings & numerals
   ============================================================ */
.hero__title,
.section__head h2,
.kpi__num,
.stats-dark__num,
.card h3,
.footer h4 {
    font-family: var(--font-display);
    font-feature-settings: "ss01" 1, "tnum" 1;
}
.nav__top { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }

.section__head { max-width: 980px; }
.section__head h2 {
    font-weight: 600;
    letter-spacing: -0.035em;
    color: var(--ink-900);
}
.eyebrow {
    color: var(--teal);
    letter-spacing: 0.22em;
    opacity: 0.92;
}
.lead { color: #56646e; }

/* ============================================================
   NAV — flatten + simplify mega menu to a single column
   ============================================================ */
.nav {
    height: 72px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid rgba(15, 43, 67, 0.07);
}
.nav.is-scrolled { background: rgba(255, 255, 255, 0.92); box-shadow: 0 1px 0 rgba(15,43,67,0.06); }
.nav__logo img { height: 42px; }

@media (min-width: 1025px) {
    /* each top menu shows only its OWN column */
    .nav__mega { grid-template-columns: 1fr !important; gap: 0 !important; }
    .nav__mega-col:not(.is-focus) { display: none !important; }
    .nav__mega-col.is-focus,
    .nav__mega-col:hover,
    .nav__mega-col:focus-within {
        background: transparent !important;
        box-shadow: none !important;
        padding: 0.3rem !important;
    }
    .nav__mega-col strong { display: none !important; }

    /* anchor dropdown under its button instead of viewport-centering */
    .nav__item { position: relative; }
    .nav__dropdown {
        position: absolute !important;
        top: calc(100% + 12px) !important;
        left: 0 !important;
        transform: translateY(6px) !important;
        width: 248px !important;
        padding: 0.5rem !important;
        border-radius: 16px !important;
        border: 1px solid rgba(15, 43, 67, 0.08) !important;
        box-shadow: 0 24px 50px -24px rgba(11, 32, 39, 0.40) !important;
    }
    .nav__item:hover .nav__dropdown,
    .nav__item:focus-within .nav__dropdown,
    .nav__item.is-expanded .nav__dropdown {
        transform: translateY(0) !important;
    }
    .nav__dropdown a {
        border-radius: 10px !important;
        padding: 0.62rem 0.8rem !important;
        font-size: 0.92rem !important;
    }
}

/* ============================================================
   HERO — full-bleed photo, strong left-aligned headline
   ============================================================ */
.hero { min-height: 100vh; }
.hero__inner {
    text-align: left !important;
    max-width: 1480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.hero__content { max-width: 940px; }

/* darker, directional veil so left-aligned text reads cleanly */
.hero__veil {
    background:
        linear-gradient(90deg, rgba(7, 22, 30, 0.88) 0%, rgba(7, 22, 30, 0.55) 46%, rgba(7, 22, 30, 0.12) 100%),
        linear-gradient(0deg, rgba(7, 22, 30, 0.72) 0%, transparent 55%);
}
.hero__particles { display: none !important; }

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 !important;
    backdrop-filter: none;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.26em;
    margin-bottom: 1.8rem;
    animation: heroRise 0.7s var(--ease) both 0.15s;
}
/* "operations live" pulse — on-brand signal for a ship-management ops company */
.hero__eyebrow::before {
    content: '';
    flex: 0 0 auto;
    /* legacy style.css positions this dot absolutely (left:1rem) and pads the
       eyebrow to clear it, but its mobile rule drops the padding and the dot
       ends up over the first letter — force it back into the flex flow. */
    position: static;
    transform: none;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #36d399;
    box-shadow: 0 0 0 0 rgba(54, 211, 153, 0.55);
    animation: livePulse 2.4s ease-out infinite;
}
@keyframes livePulse {
    0%   { box-shadow: 0 0 0 0 rgba(54, 211, 153, 0.55); }
    70%  { box-shadow: 0 0 0 6px rgba(54, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(54, 211, 153, 0); }
}
@keyframes heroRise {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
}
.hero__title {
    font-size: clamp(3rem, 7vw, 6.6rem);
    font-weight: 600;
    line-height: 1.0;
    letter-spacing: -0.045em;
    margin-bottom: 1.6rem;
    text-wrap: balance;
}
.hero__title span:nth-child(1) { animation: heroRise 0.8s var(--ease) both 0.3s; }
.hero__title .accent {
    background: none;
    -webkit-text-fill-color: var(--coral);
    color: var(--coral);
    animation: heroRise 0.8s var(--ease) both 0.45s;
}
.hero__lead {
    max-width: 600px;
    margin: 0 0 2.6rem;
    padding: 0;
    background: none;
    border: none;
    backdrop-filter: none;
    border-radius: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    padding-left: 1.4rem;
    font-size: clamp(1.02rem, 1.15vw, 1.2rem);
    color: rgba(255, 255, 255, 0.86);
    text-align: left;
    animation: heroRise 0.8s var(--ease) both 0.52s;
}
.hero__cta { justify-content: flex-start; animation: heroRise 0.8s var(--ease) both 0.62s; }

/* dock: refined glass strip */
.hero__dock {
    border-radius: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    background: rgba(7, 22, 30, 0.34) !important;
    backdrop-filter: blur(14px) !important;
    margin-top: 3rem !important;
    animation: heroRise 0.9s var(--ease) both 0.75s;
}
.hero__dock strong { font-family: var(--font-display); font-weight: 600; }

/* ============================================================
   BUTTONS — calmer, more premium
   ============================================================ */
.btn { font-weight: 600; letter-spacing: -0.005em; }
.btn--primary {
    box-shadow: 0 10px 26px -12px rgba(255, 116, 56, 0.65);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(255, 116, 56, 0.7); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.55); }

/* ============================================================
   CARDS — flatter, refined hover (drop the coral border)
   ============================================================ */
.card {
    border: 1px solid var(--hairline);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card:hover {
    transform: translateY(-6px);
    border-color: rgba(22, 123, 133, 0.28);
    box-shadow: var(--shadow-lift);
}
.card__icon {
    border-radius: 13px;
    background: linear-gradient(135deg, var(--teal-deep), var(--teal));
    box-shadow: 0 10px 22px -12px rgba(13, 89, 101, 0.7);
}
.card h3 { font-weight: 600; letter-spacing: -0.02em; }

/* KPI cards align with the same softer language */
.kpi__card {
    border: 1px solid var(--hairline);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}
.kpi__card:hover { border-color: rgba(22, 123, 133, 0.28); box-shadow: var(--shadow-lift); }
.kpi__num { font-weight: 600; letter-spacing: -0.04em; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 3px solid var(--coral); }
.footer h4 { font-weight: 600; letter-spacing: 0.02em; }

/* ============================================================
   ORG CHART — top-down hierarchy (1 → 2 → 4).
   Canonical CSS tree: each child draws its own half of the
   horizontal bus, so connectors never depend on width math.
   ============================================================ */
#orgChart {
    --line: rgba(22, 123, 133, 0.55);
    --gap: 26px;
    max-width: 920px;
    margin: 0 auto;
    padding: 2.8rem 1rem;
    background: linear-gradient(180deg, #fbfdfe 0%, #eff6f7 100%);
    border: 1px solid var(--hairline);
    border-radius: 24px;
    box-shadow: 0 1px 2px rgba(15,43,67,0.04), 0 20px 50px -34px rgba(13,89,101,0.4);
}
#orgChart .orgtree { display: flex; justify-content: center; width: 100%; margin: 0 auto; padding: 0.5rem 0 0; }
#orgChart .orgtree ul { display: flex; justify-content: center; list-style: none; margin: 0; padding: 0; position: relative; }
#orgChart .orgtree ul { padding-top: var(--gap); }
#orgChart .orgtree > ul { padding-top: 0; }
#orgChart .orgtree li {
    list-style: none;
    position: relative;
    padding: var(--gap) 11px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* connectors — horizontal bus halves + vertical drop to each node */
#orgChart .orgtree li::before,
#orgChart .orgtree li::after {
    content: '';
    position: absolute;
    top: 0; right: 50%;
    width: 50%; height: var(--gap);
    border-top: 2px solid var(--line);
}
#orgChart .orgtree li::after { right: auto; left: 50%; border-left: 2px solid var(--line); }
/* outer ends of the bus get trimmed + rounded corners */
#orgChart .orgtree li:first-child::before,
#orgChart .orgtree li:last-child::after { border: 0 none; }
#orgChart .orgtree li:last-child::before { border-right: 2px solid var(--line); border-radius: 0 7px 0 0; }
#orgChart .orgtree li:first-child::after { border-radius: 7px 0 0 0; }
/* vertical line from each parent node down to the bus */
#orgChart .orgtree ul ul::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    width: 0; height: var(--gap);
    border-left: 2px solid var(--line);
}
/* only-child TEAM (e.g. 경영지원실 → 경영지원팀): straight vertical, no bus.
   Scoped to `li li` so the ROOT CEO (also an only-child) is NOT matched —
   otherwise a stray vertical drew over the CEO card. */
#orgChart .orgtree li li:only-child::before { display: none; }
#orgChart .orgtree li li:only-child::after {
    display: block;
    border-top: 0;
    left: 50%; right: auto; width: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
}
/* root CEO node — no connector above it */
#orgChart .orgtree > ul > li { padding-top: 0; }
#orgChart .orgtree > ul > li::before,
#orgChart .orgtree > ul > li::after { display: none; }

/* nodes ---------------------------------------------------- */
#orgChart .tnode {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    min-width: 138px;
    padding: 0.85rem 1.15rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
#orgChart .tnode:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: rgba(22, 123, 133, 0.3); }
#orgChart .tnode__tag {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal);
}
#orgChart .tnode__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.04rem;
    letter-spacing: -0.02em;
    color: var(--ink-900);
    word-break: keep-all;
}
#orgChart .tnode__meta { font-size: 0.72rem; color: var(--gray); margin-top: 0.1rem; }

#orgChart .tnode--ceo {
    background: linear-gradient(135deg, var(--navy), var(--teal-deep) 90%);
    border: none;
    padding: 1.05rem 2rem;
    box-shadow: 0 18px 40px -20px rgba(13, 89, 101, 0.65);
}
#orgChart .tnode--ceo .tnode__tag { color: rgba(255, 255, 255, 0.72); }
#orgChart .tnode--ceo .tnode__name { color: #fff; font-size: 1.2rem; }

#orgChart .tnode--div {
    border: 1.5px solid rgba(22, 123, 133, 0.5);
    background: linear-gradient(180deg, rgba(22, 123, 133, 0.07), #fff 65%);
}
#orgChart .tnode--div .tnode__name { color: var(--teal-deep); font-size: 1.1rem; }
/* keep division eyebrow on one line so both boxes stay equal height → teams align */
#orgChart .tnode--div .tnode__tag { white-space: nowrap; }
/* distinct color per division */
#orgChart .tnode--div-smd {
    border-color: rgba(22, 123, 133, 0.6);
    background: linear-gradient(180deg, rgba(22, 123, 133, 0.1), #fff 68%);
}
#orgChart .tnode--div-smd .tnode__tag { color: var(--teal); }
#orgChart .tnode--div-smd .tnode__name { color: var(--teal-deep); }
#orgChart .tnode--div-bsd {
    border-color: rgba(255, 116, 56, 0.55);
    background: linear-gradient(180deg, rgba(255, 116, 56, 0.1), #fff 68%);
}
#orgChart .tnode--div-bsd .tnode__tag { color: var(--coral-deep, #d9540c); }
#orgChart .tnode--div-bsd .tnode__name { color: #c2490a; }

#orgChart .tnode--team .tnode__code {
    margin-bottom: 0.15rem;
    padding: 0.13rem 0.6rem;
    border-radius: 999px;
    background: rgba(22, 123, 133, 0.1);
    color: var(--teal);
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}
#orgChart .tnode--team .tnode__name { font-size: 0.96rem; }
#orgChart .tnode__loc {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: var(--gray);
    margin-top: 0.15rem;
}
#orgChart .tnode__loc i { color: var(--coral); font-size: 0.68rem; }

/* MOBILE: the desktop horizontal tree (CEO -> 2 divisions -> 3+1 teams) is far
   wider than a phone screen, so switch to a vertical, indented list with a left
   rail instead of the horizontal "bus" connectors. */
@media (max-width: 768px) {
    #orgChart { --gap: 0px; padding: 1.6rem 0.95rem; overflow-x: hidden; }
    #orgChart .orgtree,
    #orgChart .orgtree ul,
    #orgChart .orgtree li {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        position: relative;
    }
    /* remove the horizontal bus + vertical-drop connectors used on desktop */
    #orgChart .orgtree li::before,
    #orgChart .orgtree li::after,
    #orgChart .orgtree ul ul::before,
    #orgChart .orgtree li li:only-child::after { display: none !important; border: 0 !important; }
    /* indent each nested level and draw a single left rail to show hierarchy;
       small right gutter so the deepest cards keep their rounded corners */
    #orgChart .orgtree > ul > li > ul,
    #orgChart .orgtree > ul > li > ul > li > ul {
        margin-left: 10px;
        padding-left: 12px;
        padding-right: 2px;
        border-left: 2px solid var(--line);
    }
    /* cards become full-width, left-aligned list rows */
    #orgChart .tnode {
        width: 100%;
        min-width: 0;
        align-items: flex-start;
        text-align: left;
        margin-top: 0.55rem;
        padding: 0.7rem 0.9rem;
    }
    #orgChart .orgtree > ul > li > .tnode--ceo { margin-top: 0; }
    #orgChart .tnode--div .tnode__tag { white-space: normal; }
    #orgChart .tnode__name { font-size: 0.95rem; }
    #orgChart .tnode--ceo .tnode__name { font-size: 1.05rem; }
    #orgChart .tnode--team .tnode__name { font-size: 0.92rem; }
    #orgChart .tnode__loc { font-size: 0.7rem; }
    #orgChart .tnode__tag { font-size: 0.58rem; letter-spacing: 0.1em; }
}

/* ============================================================
   TIMELINE — rebuilt as a clean left-rail vertical timeline.
   (Neutralises the old centered/alternating .timeline patches.)
   ============================================================ */
#timeline.timeline {
    display: block !important;
    max-width: 780px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}
#timeline.timeline::before { display: none !important; }

#timeline .tl {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}
/* the rail */
#timeline .tl::before {
    content: '';
    position: absolute;
    left: 7px; top: 8px; bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--coral) 0%, var(--teal) 14%, rgba(22, 123, 133, 0.25) 100%);
}
#timeline .tl__item {
    position: relative;
    padding: 0 0 1.1rem 2.6rem;
}
#timeline .tl__item:last-child { padding-bottom: 0; }
#timeline .tl__dot {
    position: absolute;
    left: 0; top: 1.35rem;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--teal);
    z-index: 1;
}
#timeline .tl__item.is-highlight .tl__dot {
    border-color: var(--coral);
    background: var(--coral);
    box-shadow: 0 0 0 5px rgba(255, 116, 56, 0.16);
}
#timeline .tl__card {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 14px;
    padding: 1.1rem 1.4rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
#timeline .tl__card:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(22, 123, 133, 0.28);
}
#timeline .tl__item.is-highlight .tl__card {
    border-color: rgba(255, 116, 56, 0.4);
    background: linear-gradient(135deg, #fff 0%, #fff7f3 100%);
    box-shadow: 0 18px 44px -22px rgba(255, 116, 56, 0.4);
}
#timeline .tl__head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.4rem;
}
#timeline .tl__year {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    color: var(--teal-deep);
}
#timeline .tl__badge {
    padding: 0.16rem 0.6rem;
    border-radius: 999px;
    background: var(--coral);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
#timeline .tl__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.16rem;
    letter-spacing: -0.02em;
    color: var(--ink-900);
    margin: 0 0 0.4rem;
    line-height: 1.35;
    word-break: keep-all;
}
#timeline .tl__desc {
    color: #55636d;
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0;
    word-break: keep-all;
}

/* ============================================================
   GLOBAL READABILITY PASS
   ============================================================ */
.lead { font-size: 1.16rem; line-height: 1.8; }
.section__head { margin-bottom: 3.2rem; }
.card p,
.service p, .service__body li,
.why__item p,
.safety-card p,
.esg-card p { font-size: 0.97rem; line-height: 1.78; }
.card ul li { font-size: 0.97rem; }

/* ============================================================
   INTERACTIVE FLEET CARDS (replaces the vessel table)
   ============================================================ */
#vesselBody.vfleet {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
    gap: 1rem;
    margin-top: 1.3rem;
}
.vcard {
    position: relative;
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 16px;
    padding: 1.2rem 1.3rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
    overflow: hidden;
    cursor: default;
}
.vcard::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--ocean);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s var(--ease);
}
.vcard--pcc::before, .vcard--pctc::before { background: var(--coral); }
.vcard:hover, .vcard:focus-visible {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(22, 123, 133, 0.28);
    outline: none;
}
.vcard:hover::before, .vcard:focus-visible::before { transform: scaleY(1); }
.vcard__top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.75rem; }
.vcard__top .flag-cell { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; color: var(--gray); }
.vcard__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.02em; color: var(--ink-900); margin: 0 0 0.2rem; }
.vcard__owner { font-size: 0.76rem; color: var(--gray); margin-bottom: 0.9rem; word-break: keep-all; }
.vcard__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; border-top: 1px dashed var(--hairline); padding-top: 0.8rem; }
.vcard__specs > div { display: flex; flex-direction: column; gap: 0.12rem; }
.vcard__specs span { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-light); font-family: var(--font-mono); }
.vcard__specs strong { font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; color: var(--ink-900); white-space: nowrap; }

/* ============================================================
   OWNERS — continuous "trusted by" marquee
   ============================================================ */
#ownersGrid { display: block !important; }
.omarquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.omarquee__track { display: flex; gap: 3rem; width: max-content; animation: omarquee 24s linear infinite; }
.omarquee:hover .omarquee__track { animation-play-state: paused; }
.omarquee__item { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: var(--teal-deep); white-space: nowrap; opacity: 0.85; }
.omarquee__item i { color: var(--coral); }
@keyframes omarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   FULL-BLEED STATEMENT (with parallax)
   ============================================================ */
.bleed {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: clamp(5rem, 14vh, 9rem) 0;
    color: #fff;
    text-align: center;
}
.bleed__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 22, 30, 0.74), rgba(7, 22, 30, 0.56)); }
.bleed__inner { position: relative; z-index: 1; }
.bleed__eyebrow { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--coral-soft); }
.bleed__quote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.28; letter-spacing: -0.03em; margin: 1.2rem auto 1.4rem; max-width: 920px; text-wrap: balance; }
.bleed__by { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.7); }
@media (max-width: 768px) { .bleed { background-attachment: scroll; } }

/* ============================================================
   NEWBUILDING — fleet expansion highlight band
   ============================================================ */
.nbuild {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 0;
    margin-top: 1.6rem;
    border: 1px solid var(--hairline);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #fff;
}
.nbuild__media {
    position: relative;
    min-height: 230px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.nbuild__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(11, 32, 39, 0.55) 0%, rgba(11, 32, 39, 0.12) 55%, rgba(11, 32, 39, 0.05) 100%);
}
.nbuild__badge {
    position: absolute;
    top: 1.1rem; left: 1.1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: rgba(7, 22, 30, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}
.nbuild__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 0 rgba(255, 116, 56, 0.6);
    animation: nbuildPulse 2s ease-out infinite;
}
@keyframes nbuildPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 116, 56, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(255, 116, 56, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 116, 56, 0); }
}
.nbuild__body { padding: 1.8rem 2rem; }
.nbuild__eyebrow { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); }
.nbuild__title { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.02em; color: var(--ink-900); margin: 0.5rem 0 0.7rem; }
.nbuild__desc { color: #55636d; font-size: 0.97rem; line-height: 1.75; margin: 0 0 1.3rem; word-break: keep-all; }
.nbuild__specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; border-top: 1px dashed var(--hairline); padding-top: 1.1rem; }
.nbuild__specs > div { display: flex; flex-direction: column; gap: 0.2rem; }
.nbuild__specs span { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-light); font-family: var(--font-mono); }
.nbuild__specs strong { font-family: var(--font-display); font-size: 0.86rem; font-weight: 600; color: var(--ink-900); }
@media (max-width: 760px) {
    .nbuild { grid-template-columns: 1fr; }
    .nbuild__media { min-height: 140px; }
    .nbuild__specs { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   FLEET / NEWBUILDING — ship-profile images on white bg shown
   in full (contain) over a clean light panel
   ============================================================ */
.fleet__cat-media { background: linear-gradient(180deg, #eef3f5 0%, #e1e9ec 100%); }
.fleet__cat-media img {
    object-fit: contain !important;
    box-sizing: border-box;
    padding: 1.1rem 1.3rem;
    mix-blend-mode: multiply;
}
.nbuild__media {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #e7eef0;
    background-blend-mode: multiply;
}
.nbuild__media::after {
    background: linear-gradient(180deg, rgba(11, 32, 39, 0.05), rgba(11, 32, 39, 0.10));
}

/* ============================================================
   MICRO-INTERACTIONS — image zoom, scroll cue, eyebrow reveal
   ============================================================ */
/* image hover zoom (fleet categories + office image) */
.fleet__cat-media, .ceo__media { overflow: hidden; }
.fleet__cat-media img, .ceo__media img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
.fleet__cat:hover .fleet__cat-media img,
.ceo__media:hover img { transform: scale(1.06); }

/* hero scroll cue — gentle bob */
.hero__scroll { animation: heroRise 0.9s var(--ease) both 0.9s; }
.hero__scroll i { animation: scrollBob 1.8s ease-in-out infinite; }
@keyframes scrollBob {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50%      { transform: translateY(5px); opacity: 1; }
}

/* section eyebrow — animated leading rule that draws in on reveal */
.section__head .eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; }
.section__head .eyebrow::after {
    content: '';
    width: 0; height: 1px;
    background: currentColor;
    opacity: 0.5;
    transition: width 0.8s var(--ease) 0.15s;
}
.section.in-view .section__head .eyebrow::after { width: 38px; }

/* button sheen on primary CTA hover */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-18deg);
    transition: left 0.6s var(--ease);
}
.btn--primary:hover::after { left: 140%; }

@media (prefers-reduced-motion: reduce) {
    .hero__scroll i, .fleet__cat-media img, .ceo__media img { animation: none !important; transition: none !important; }
}

/* ============================================================
   WHY — big ghost numerals (editorial, breaks the card-grid look)
   ============================================================ */
.why__item { position: relative; overflow: hidden; }
.why__num {
    position: absolute !important;
    top: 0.2rem; right: 1rem;
    margin: 0 !important;
    font-family: var(--font-display) !important;
    font-size: 3.6rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.05em !important;
    color: rgba(22, 123, 133, 0.09) !important;
    background: none !important;
    padding: 0 !important;
    pointer-events: none;
}
.why__icon { font-size: 2rem; position: relative; }
.why__item h3 { font-family: var(--font-display); font-weight: 600; }

/* ============================================================
   ESG — oversized E / S / G monogram watermark
   ============================================================ */
.esg-card { position: relative; overflow: hidden; }
.esg-card::after {
    position: absolute;
    top: -0.8rem; right: 0.4rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 6.5rem;
    line-height: 1;
    opacity: 0.08;
    pointer-events: none;
}
.esg-card[data-esg="e"]::after { content: "E"; color: #059669; }
.esg-card[data-esg="s"]::after { content: "S"; color: var(--ocean); }
.esg-card[data-esg="g"]::after { content: "G"; color: #3D4F5C; }
.esg-card h3 { font-family: var(--font-display); font-weight: 600; }

/* ============================================================
   SAFETY — numbered protocol cards
   ============================================================ */
.safety__grid { counter-reset: safety; }
.safety-card { position: relative; counter-increment: safety; }
.safety-card::after {
    content: "0" counter(safety);
    position: absolute;
    top: 1.3rem; right: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--coral);
}
.safety-card h3 { font-family: var(--font-display); font-weight: 600; }

/* ============================================================
   COMMITMENT (dark) + section heads — display numerals
   ============================================================ */
.stats-dark__num { font-family: var(--font-display); font-weight: 600; }

/* ============================================================
   MOBILE MENU — smoother, app-like panel
   ============================================================ */
@media (max-width: 1024px) {
    .nav.is-open .nav__menu {
        gap: 0.15rem;
        padding-top: 0.7rem;
        padding-bottom: 1.1rem;
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
        box-shadow: 0 24px 40px -24px rgba(11, 32, 39, 0.4);
        animation: navDrop 0.28s var(--ease) both;
    }
    .nav.is-open .nav__top { font-family: var(--font-display); }
}
@keyframes navDrop {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: none; }
}

/* ============================================================
   MOTION RESPECT
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .hero__slide { animation: none !important; }
    .hero__slide:nth-child(1) { opacity: 1 !important; }
    .hero__eyebrow, .hero__eyebrow::before,
    .hero__title span, .hero__lead, .hero__cta, .hero__dock {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .nbuild__dot { animation: none !important; }
    .bleed { background-attachment: scroll !important; }
}
