/* ==========================================================================
   Shoretrade Corporation
   Design carried over 1:1 from the Codex prototype; layout rebuilt on
   Bootstrap 5 and motion added. Loaded after Bootstrap.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens — exactly as the prototype defines them
   -------------------------------------------------------------------------- */
:root {
    --navy:  #051f32;
    --deep:  #031723;
    --blue:  #087ea4;
    --teal:  #18aaa4;
    --green: #75c043;
    --ice:   #eaf4f5;
    --mist:  #f3f6f6;
    --ink:   #122f3e;
    --slate: #667985;
    --line:  #c9d8dc;
    --white: #fff;

    --sans: Arial, Helvetica, 'Helvetica Neue', sans-serif;

    --ease: cubic-bezier(.22, 1, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

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

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--sans);
    background: #fff;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

/* The prototype uses width:min(1180px, 100% - 48px). Reproduced here so that
   both direct children and .row/.col children land on the same 1180px measure. */
.container { max-width: 1228px; padding-left: 24px; padding-right: 24px; }
@media (max-width: 620px) { .container { padding-left: 17px; padding-right: 17px; } }

h1, h2, h3 {
    margin: 0;
    font-family: var(--sans);
    letter-spacing: -.045em;
    font-weight: 500;
}
h1 { font-size: clamp(52px, 7vw, 100px); line-height: .95; }
h2 { font-size: clamp(38px, 5vw, 68px); line-height: 1.04; }
h3 { font-size: 24px; letter-spacing: -.03em; }

/* The accent word is teal and upright, not italic */
h1 em, h2 em, h3 em { font-style: normal; color: var(--teal); }

p { line-height: 1.68; }

::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 3000;
    background: var(--teal); color: #fff; padding: 14px 20px;
    font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.skip-link:focus { left: 16px; top: 16px; }

/* --------------------------------------------------------------------------
   3. Shared type utilities
   -------------------------------------------------------------------------- */
.eyebrow {
    margin: 0 0 22px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px; height: 1px;
    background: currentColor;
    vertical-align: middle;
    margin-right: 11px;
}
.eyebrow.light { color: #7bd7d3; }

.section-label {
    font-size: 10px;
    letter-spacing: .16em;
    color: #7b8e97;
    margin-bottom: 54px;
}

/* --------------------------------------------------------------------------
   News section title (home page) — top/bottom spacing lives ONLY here.
   Change padding-top / padding-bottom below to adjust the gap above and
   below the "News & announcements." title block. The two overrides beneath
   it just cancel out the normal .section-label / .section-head spacing so
   this padding is the single source of truth.
   -------------------------------------------------------------------------- */
.news-title {
    padding-top: 0px;
    padding-bottom: 16px;
}
.news-title .section-label { margin: 0 0 20px; }
.news-title .section-head { margin: 0; }

.lead { font-size: 18px; color: var(--slate); max-width: 690px; }
.dark .lead, .cta .lead { color: #93a7b0; }

.note-block { border-top: 2px solid var(--teal); padding-top: 20px; }
.note-block small { color: var(--blue); font-weight: 700; letter-spacing: .12em; font-size: 10px; }
.note-block p { color: var(--slate); font-size: 14px; margin: 12px 0 0; }
.dark .note-block p { color: #93a7b0; }

.footer-note { color: #8198a2; font-size: 11px; }

/* EMERGENCY acronym list (home / "Who we are") — single stacked column so
   the letters line up and read straight down as the word. */
.emergency-grid {
    border-top: 1px solid var(--line);
}
.emergency-item {
    display: flex;
    align-items: baseline;
    gap: 24px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.emergency-letter {
    flex: none;
    width: 40px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--teal);
    line-height: 1;
}
.emergency-item p {
    margin: 0;
    font-size: 15px;
    color: var(--slate);
    line-height: 1.5;
}
.emergency-item strong {
    color: var(--ink);
    font-weight: 700;
}
.dark .emergency-item p { color: #93a7b0; }
.dark .emergency-item strong { color: #fff; }

/* --------------------------------------------------------------------------
   4. Sections
   -------------------------------------------------------------------------- */
.section { padding: 105px 0; }
.section-mist { background: var(--mist); }
.dark { background: var(--navy); color: #fff; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark p { color: #93a7b0; }

.section-head > p { max-width: 390px; color: #93a7b0; margin: 0; }
.section:not(.dark) .section-head > p { color: var(--slate); }

/* --------------------------------------------------------------------------
   5. Buttons and links
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--teal);
    color: #fff;
    padding: 15px 19px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    transition: background-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover, .btn:focus { background: #12928d; color: #fff; }
.btn .glyph { transition: transform .25s var(--ease); }
.btn:hover .glyph { transform: translateX(4px); }

.btn-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .38); }
.btn-ghost:hover, .btn-ghost:focus { background: rgba(255, 255, 255, .1); }

.text-link {
    display: inline-block;
    padding-bottom: 7px;
    border-bottom: 1px solid currentColor;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    transition: color .2s var(--ease);
}
.text-link .glyph { display: inline-block; transition: transform .25s var(--ease); }
.text-link:hover .glyph { transform: translate(3px, -3px); }
.section:not(.dark) .text-link:hover { color: var(--teal); }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.site-header {
    height: 82px;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    z-index: 1030;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .23);
    color: #fff;
    transition: background-color .3s var(--ease), height .3s var(--ease), border-color .3s var(--ease);
}
/* Interior pages start with a solid bar */
.site-header.solid { background: var(--navy); }
/* Once scrolled, every page gets the solid bar and pins */
.site-header.is-pinned {
    position: fixed;
    background: rgba(5, 31, 50, .97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    height: 68px;
    border-bottom-color: rgba(255, 255, 255, .12);
}

.header-row { gap: 34px; }

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; background: #fff; transition: width .3s var(--ease), height .3s var(--ease); }
.is-pinned .brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong { font-size: 16px; letter-spacing: .08em; }
.brand-text small { font-size: 8px; letter-spacing: .18em; color: #79d5d0; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }

.admin-login-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    margin-left: 18px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    color: rgba(255, 255, 255, .75);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.admin-login-link svg { width: 14px; height: 14px; flex-shrink: 0; }
.admin-login-link:hover { color: #fff; border-color: var(--teal); background: rgba(24, 170, 164, .18); }
.nav a { font-size: 12px; opacity: .88; position: relative; transition: color .2s var(--ease), opacity .2s var(--ease); }
.nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 1px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a:hover, .nav a.active { color: #75d5cf; opacity: 1; }

.nav-cta { margin-left: 5px; }

.menu-toggle {
    display: none;
    margin-left: auto;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff;
    padding: 10px 12px;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
    min-height: 760px;
    height: 100vh;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--deep);
}
.hero-bg {
    position: absolute;
    inset: -2%;
    width: 104%;
    height: 104%;
    object-fit: cover;
    z-index: 0;
    will-change: transform;
    animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
    from { transform: scale(1) translate3d(0, 0, 0); }
    to   { transform: scale(1.09) translate3d(-1.2%, -1%, 0); }
}

.hero::after, .page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(2, 23, 36, .94), rgba(3, 30, 46, .62) 60%, rgba(3, 23, 35, .2)),
        linear-gradient(0deg, rgba(1, 18, 28, .55), transparent 45%);
}
.hero > .container, .page-hero > .container { position: relative; z-index: 2; }

.hero h1 { color: #fff; }
.hero-copy { max-width: 600px; color: #c7d5da; font-size: 17px; margin: 27px 0 33px; }
.hero-actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }

.placeholder-note {
    position: absolute;
    right: 18px; bottom: 16px;
    z-index: 3;
    background: rgba(3, 23, 35, .78);
    color: #bdcbd0;
    padding: 7px 9px;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.scroll-cue {
    position: absolute;
    left: 50%; bottom: 30px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .55);
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.scroll-cue span.bar {
    display: block;
    width: 1px; height: 46px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .5), transparent);
    position: relative;
    overflow: hidden;
}
.scroll-cue span.bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--teal);
    animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
    0%   { transform: translateY(-100%); }
    60%  { transform: translateY(100%); }
    100% { transform: translateY(100%); }
}

/* --------------------------------------------------------------------------
   8. Interior page hero
   -------------------------------------------------------------------------- */
.page-hero {
    min-height: 510px;
    position: relative;
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: 170px 0 80px;
    overflow: hidden;
    background: var(--navy);
}
.page-hero .page-hero-bg {
    position: absolute;
    inset: -8% 0;
    width: 100%;
    height: 116%;
    object-fit: cover;
    z-index: 0;
    will-change: transform;
}
.page-hero.contact-hero { background-image: linear-gradient(120deg, #051f32, #08708d); }
.page-hero h1 { font-size: clamp(48px, 6vw, 78px); max-width: 900px; color: #fff; }
.page-hero p { max-width: 620px; color: #c6d5da; font-size: 17px; }

.crumbs {
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #77d4cf;
    margin-bottom: 24px;
}
.crumbs a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   9. Capability cards
   -------------------------------------------------------------------------- */
.solution-grid { background: var(--navy); }
.solution-grid > [class*="col-"] { padding: 0; }
.solution-card {
    position: relative;
    background: linear-gradient(145deg, #092b42, #061e30);
    min-height: 330px;
    height: 100%;
    padding: 28px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    outline: 1px solid #36505f;
    overflow: hidden;
    transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.solution-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--teal);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .35s var(--ease);
    z-index: 3;
}
.solution-card:hover { transform: translateY(-5px); background: #0a3850; }
.solution-card:hover::before { transform: scaleY(1); }
.solution-card .number { font-size: 10px; color: #7d939d; letter-spacing: .12em; }
.solution-card h3 { color: #fff; margin-bottom: 10px; }
.solution-card p { color: #a9bbc2; font-size: 13px; margin: 0 0 18px; }
.solution-card .arrow { color: #72d3ce; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.solution-card .arrow .glyph { display: inline-block; transition: transform .25s var(--ease); }
.solution-card:hover .arrow .glyph { transform: translate(3px, -3px); }

.solution-card > span, .solution-card > div { position: relative; z-index: 2; }
.solution-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform .4s var(--ease);
}
.solution-card.has-image:hover .solution-card-bg { transform: scale(1.06); }
.solution-card.has-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(6, 23, 36, .35), rgba(6, 23, 36, .92) 78%);
}

/* --------------------------------------------------------------------------
   9b. News cards (home page) — a dedicated card, separate from .feature-card
   above, sized for its actual content (image + date + title only). Change
   padding-top / padding-bottom below to adjust the empty space above the
   date and below the title inside each card.
   -------------------------------------------------------------------------- */
.news-card {
    background: var(--mist);
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 28px;
    padding-right: 28px;
    border-top: 3px solid var(--teal);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -28px rgba(5, 31, 50, .55); }
.news-card-media {
    display: block;
    width: calc(100% + 56px);
    height: 220px;
    margin: -20px -28px 16px;
    overflow: hidden;
}
.news-card-media img { width: 100%; height: 100%; object-fit: cover; }
.news-card span { font-size: 10px; color: var(--blue); letter-spacing: .12em; }
/* Every title reserves the same 2-line height (with an ellipsis if it runs
   longer), so cards come out a uniform height regardless of title length. */
.news-card h3 {
    margin: 10px 0 0;
    color: var(--ink);
    line-height: 1.3;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   10. Industry list
   -------------------------------------------------------------------------- */
.industry-list { border-top: 1px solid var(--line); }
.industry-list a {
    display: grid;
    grid-template-columns: 70px 1fr 30px;
    align-items: center;
    padding: 10px 4px;
    /* padding: 23px 4px; */
    border-bottom: 1px solid var(--line);
    transition: background-color .28s var(--ease), padding-left .28s var(--ease);
}
.industry-list a:hover { background: var(--mist); padding-left: 16px; }
.industry-list span { font-size: 10px; color: #8799a1; letter-spacing: .12em; }
.industry-list strong { font-size: clamp(20px, 2.4vw, 31px); font-weight: 500; letter-spacing: -.035em; }
.industry-list .glyph { color: var(--teal); transition: transform .28s var(--ease); }
.industry-list a:hover .glyph { transform: translate(4px, -4px); }

/* --------------------------------------------------------------------------
   11. Proof figures
   -------------------------------------------------------------------------- */
.proof-grid { margin-top: 55px; border-block: 1px solid var(--line); }
.proof-grid > [class*="col-"] { padding: 0; }
.proof-cell {
    text-align: center;
    padding: 40px 15px;
    border-right: 1px solid var(--line);
    height: 100%;
}
.proof-grid > [class*="col-"]:last-child .proof-cell { border-right: 0; }
.proof-cell strong { display: block; color: var(--blue); font-size: 60px; font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.proof-cell span { font-size: 10px; color: var(--slate); text-transform: uppercase; letter-spacing: .08em; display: block; margin-top: 10px; }

/* --------------------------------------------------------------------------
   12. Solution selector
   -------------------------------------------------------------------------- */
.selector-panel { background: #09283b; padding: 36px; }
.selector-panel label {
    display: block;
    font-size: 10px;
    color: #7ad4d0;
    letter-spacing: .1em;
    margin: 0 0 10px;
    text-transform: uppercase;
}
.selector-panel select {
    width: 100%;
    padding: 15px;
    background: #0b3349;
    color: #fff;
    border: 1px solid #3b5664;
    border-radius: 0;
    margin-bottom: 22px;
    transition: border-color .2s var(--ease);
}
.selector-panel select:focus { border-color: var(--teal); outline: none; }

.recommendation { background: #fff; color: var(--ink); padding: 20px; margin-top: 8px; }
.recommendation small { color: var(--blue); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.recommendation strong { display: block; margin: 8px 0 15px; font-size: 17px; font-weight: 700; }
.recommendation .text-link { color: var(--ink); }
.recommendation .text-link:hover { color: var(--teal); }
/* Swapped text fades rather than snapping */
.recommendation.is-swapping strong { opacity: 0; transform: translateY(6px); }
.recommendation strong { transition: opacity .28s var(--ease), transform .28s var(--ease); }

/* --------------------------------------------------------------------------
   13. Partner marquee
   -------------------------------------------------------------------------- */
.partner-strip { background: var(--mist); padding: 38px 0; overflow: hidden; }
.partner-label { font-size: 11px; letter-spacing: .12em; color: #526b76; text-transform: uppercase; white-space: nowrap; }

.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: slide 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track b {
    color: #526b76;
    font-size: 17px;
    letter-spacing: .06em;
    padding: 0 42px;
    white-space: nowrap;
    transition: color .2s var(--ease);
}
.marquee-track b:hover { color: var(--teal); }
@keyframes slide {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   14. Closing call to action
   -------------------------------------------------------------------------- */
.cta { background: linear-gradient(115deg, var(--navy), #08455a); color: #fff; }
.cta h2 { color: #fff; }
.cta p { color: #aec0c7; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: #03141f; color: #fff; padding: 45px 0; }
.footer-links { display: flex; gap: 25px; font-size: 11px; flex-wrap: wrap; }
.footer-links a { transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--teal); }

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    color: rgba(255, 255, 255, .8);
    font-size: 12px;
    font-weight: 600;
    transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.footer-social-link svg { width: 15px; height: 15px; flex-shrink: 0; }
.footer-social-link:hover { color: #fff; border-color: var(--teal); background: rgba(24, 170, 164, .18); }

/* --------------------------------------------------------------------------
   16. Solutions page
   -------------------------------------------------------------------------- */
.content-band aside { font-size: 11px; letter-spacing: .12em; color: var(--blue); text-transform: uppercase; }
.content-band article > p { color: var(--slate); font-size: 17px; }
.dark .content-band article > p { color: #93a7b0; }

.feature-card {
    background: var(--mist);
    padding: 38px;
    border-top: 3px solid var(--teal);
    min-height: 260px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -28px rgba(5, 31, 50, .55); }
.feature-card-media {
    display: block;
    width: calc(100% + 76px);
    height: 260px;
    margin: -38px -38px 24px;
    overflow: hidden;
}
.feature-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}
.feature-card span { font-size: 10px; color: var(--blue); letter-spacing: .12em; }
.feature-card h3 { margin: 22px 0 14px; color: var(--ink); }
.feature-card p { color: var(--slate); font-size: 14px; flex-grow: 1; }
.feature-card:hover .text-link { color: var(--teal); }
.feature-card:hover .text-link .glyph { transform: translate(3px, -3px); }

.pagination-v2 { margin-top: 48px; display: flex; justify-content: center; }
.pagination-v2 ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 6px;
}
.pagination-v2 li a,
.pagination-v2 li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 0;
}
.pagination-v2 li a { transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.pagination-v2 li a:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.pagination-v2 li.active span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pagination-v2 li.disabled span { color: var(--slate); background: var(--mist); }

/* --------------------------------------------------------------------------
   16b. About page — Vision 2035 quote + company milestone timeline
   -------------------------------------------------------------------------- */
.vision-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    flex-shrink: 0;
}
.vision-icon svg { width: 28px; height: 28px; }
.vision-quote {
    margin: 0;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.35;
    font-style: normal;
    color: #fff;
    letter-spacing: -.02em;
}

.milestone-list {
    position: relative;
    margin-top: 44px;
    padding-left: 36px;
}
.milestone-list::before {
    content: "";
    position: absolute;
    left: 5px; top: 6px; bottom: 6px;
    width: 1px;
    background: var(--line);
}
.milestone-item { position: relative; padding-bottom: 40px; }
.milestone-item:last-child { padding-bottom: 0; }
.milestone-marker {
    position: absolute;
    left: -36px; top: 4px;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--teal);
}
.milestone-item.is-recent .milestone-marker { background: var(--green); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--green); }
.milestone-date {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 6px;
}
.milestone-item h3 { font-size: 20px; margin-bottom: 6px; }
.milestone-item p { color: var(--slate); font-size: 15px; margin: 0; }
.milestone-badge {
    display: inline-block;
    margin-left: 8px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--green);
    padding: 3px 9px;
    border-radius: 999px;
    vertical-align: middle;
}

.process { counter-reset: step; }
.process article {
    counter-increment: step;
    border-top: 1px solid var(--line);
    padding: 28px 0;
    display: grid;
    grid-template-columns: 70px 1fr;
}
.process article::before { content: counter(step, decimal-leading-zero); color: var(--teal); font-weight: 700; }
.process h3 { margin-bottom: 8px; }
.process p { color: var(--slate); font-size: 15px; margin: 0; }

/* --------------------------------------------------------------------------
   17. Products page
   -------------------------------------------------------------------------- */
.catalog-toolbar input,
.catalog-toolbar select,
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 0;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.catalog-toolbar input:focus,
.catalog-toolbar select:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(24, 170, 164, .16);
    outline: none;
}

.product-card {
    border: 1px solid var(--line);
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--teal);
    box-shadow: 0 20px 40px -30px rgba(5, 31, 50, .5);
}
.product-image {
    height: 230px;
    background: linear-gradient(145deg, #dfeaec, #f7faf9);
    display: grid;
    place-items: center;
    color: #77909a;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
    overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.product-body small { color: var(--blue); font-size: 9px; letter-spacing: .1em; }
.product-body h3 { font-size: 21px; margin: 10px 0; }
.product-body p { font-size: 13px; color: var(--slate); flex-grow: 1; }

.product-col.is-hidden { display: none; }

.no-results {
    border: 1px dashed var(--line);
    padding: 48px;
    text-align: center;
    color: var(--slate);
}
.no-results a { color: var(--teal); font-weight: 700; }

/* --------------------------------------------------------------------------
   17b. Product detail page (/products/view/{id})
   -------------------------------------------------------------------------- */
.product-view-browser-back { display: inline-block; margin-bottom: 32px; }

.product-view-media {
    width: 100%;
    height: 420px;
    margin-bottom: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, #dfeaec, #f7faf9);
}
.product-view-media img { width: 100%; height: 100%; object-fit: cover; }
.product-view-media-empty {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #77909a;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.product-view-gallery { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.product-view-thumb {
    width: 74px;
    height: 74px;
    padding: 0;
    border: 2px solid transparent;
    background: none;
    cursor: pointer;
    overflow: hidden;
    opacity: .6;
    transition: opacity .2s var(--ease), border-color .2s var(--ease);
}
.product-view-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-view-thumb:hover { opacity: 1; }
.product-view-thumb.is-active { opacity: 1; border-color: var(--teal); }

.product-view-meta {
    display: flex;
    gap: 40px;
    padding: 20px 0;
    margin-bottom: 24px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.product-view-meta small {
    display: block;
    color: var(--blue);
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.product-view-meta strong { color: var(--ink); font-weight: 600; }
.product-view-stars { letter-spacing: 2px; color: #e0a72e; }

.product-view-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.product-nav-side { flex: 1; min-width: 0; }
.product-nav-side-end { text-align: right; }
.product-nav-link { display: inline-block; max-width: 100%; }
.product-nav-link span {
    display: block;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 6px;
}
.product-nav-link strong {
    display: block;
    font-weight: 600;
    color: var(--ink);
    transition: color .2s var(--ease);
}
.product-nav-link:hover strong { color: var(--teal); }
.product-nav-all { flex-shrink: 0; }

@media (max-width: 620px) {
    .product-view-media { height: 260px; }
    .product-view-nav { flex-direction: column; align-items: stretch; gap: 20px; }
    .product-nav-side-end { text-align: left; }
    .product-nav-all { order: -1; align-self: flex-start; }
}

/* --------------------------------------------------------------------------
   18. Brands page
   -------------------------------------------------------------------------- */
.brand-card {
    border: 1px solid var(--line);
    padding: 34px;
    min-height: 230px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.brand-card:hover { transform: translateY(-4px); border-color: var(--teal); }
.brand-card .brand-name { font-size: 26px; font-weight: 700; color: #516a75; letter-spacing: -.02em; }
.brand-card p { font-size: 13px; color: var(--slate); }
.status { font-size: 9px; color: var(--blue); text-transform: uppercase; letter-spacing: .1em; }

/* --------------------------------------------------------------------------
   18b. Our Partners page (/partners) — a premium "VIP" card built from just
   a brand name (no logo field on the Brand model yet): a gradient monogram
   badge, a gradient accent bar that reveals on hover, and a lift + shadow.
   -------------------------------------------------------------------------- */
.partner-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    padding: 44px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.partner-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}
.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -30px rgba(5, 31, 50, .35);
    border-color: var(--teal);
}
.partner-card:hover::before { transform: scaleX(1); }

.partner-monogram {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--navy), var(--teal));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    transition: transform .3s var(--ease);
}
.partner-card:hover .partner-monogram { transform: scale(1.08); }

.partner-card h3 { margin: 4px 0 0; font-size: 20px; }

.partner-badge {
    display: inline-flex;
    align-items: center;
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--ice);
    padding: 6px 14px;
    border-radius: 999px;
}

/* --------------------------------------------------------------------------
   19. Contact page
   -------------------------------------------------------------------------- */
.contact-details article { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-details small { color: var(--blue); font-size: 9px; letter-spacing: .1em; }
.contact-details p { margin: 7px 0 0; }

.map-frame {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
    background: var(--mist);
    border: 1px solid var(--line);
}
.map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.map-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 32px;
    color: var(--slate);
}
.map-fallback small { color: var(--blue); font-size: 9px; letter-spacing: .1em; }
.map-fallback p { margin: 0; max-width: 320px; }

.contact-form label { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; display: block; }
.contact-form .consent label { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--slate); display: flex; gap: 10px; align-items: flex-start; }
.contact-form .consent input { width: auto; padding: 0; margin-top: 3px; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.form-status { font-size: 12px; color: var(--blue); min-height: 20px; }
.field-error { color: #c0392b; font-size: 11px; margin-top: 6px; display: none; }
.is-invalid { border-color: #c0392b !important; }
.is-invalid ~ .field-error { display: block; }

/* --------------------------------------------------------------------------
   19b. News detail page (/news/view/{id})
   -------------------------------------------------------------------------- */
.news-view-browser-back { display: inline-block; margin-bottom: 32px; }
.news-view-media {
    width: 100%;
    height: 420px;
    margin-bottom: 48px;
    overflow: hidden;
}
.news-view-media img { width: 100%; height: 100%; object-fit: cover; }

.news-view-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.news-nav-side { flex: 1; min-width: 0; }
.news-nav-side-end { text-align: right; }
.news-nav-link { display: inline-block; max-width: 100%; }
.news-nav-link span {
    display: block;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 6px;
}
.news-nav-link strong {
    display: block;
    font-weight: 600;
    color: var(--ink);
    transition: color .2s var(--ease);
}
.news-nav-link:hover strong { color: var(--teal); }
.news-nav-all { flex-shrink: 0; }

/* Base typography for admin-authored article bodies. The CKEditor
   content-styles.css (loaded in the layout) only covers special elements
   (tables, blockquotes, lists, images) — this fills in plain text. */
.ck-content { color: var(--ink); font-size: 17px; line-height: 1.75; }
.ck-content p { margin: 0 0 1.3em; }
.ck-content h1, .ck-content h2, .ck-content h3, .ck-content h4 { margin: 1.4em 0 .6em; }
.ck-content h1 { font-size: 32px; }
.ck-content h2 { font-size: 26px; }
.ck-content h3 { font-size: 21px; }
.ck-content a { color: var(--teal); text-decoration: underline; }
.ck-content ul, .ck-content ol { padding-left: 1.4em; margin: 0 0 1.3em; }
.ck-content img { max-width: 100%; height: auto; }

@media (max-width: 620px) {
    .news-view-media { height: 260px; margin-bottom: 32px; }
    .news-view-nav { flex-direction: column; align-items: stretch; gap: 20px; }
    .news-nav-side-end { text-align: left; }
    .news-nav-all { order: -1; align-self: flex-start; }
}

/* --------------------------------------------------------------------------
   20. Back to top
   -------------------------------------------------------------------------- */
.to-top {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 1040;
    width: 46px; height: 46px;
    border: 0;
    background: var(--teal);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .2s var(--ease);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); }

/* --------------------------------------------------------------------------
   21. Responsive — the prototype's breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .header-row { gap: 14px; }
    .nav {
        display: none;
        position: absolute;
        top: 82px; left: 0;
        width: 100%;
        background: var(--navy);
        padding: 26px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .nav.open { display: flex; animation: dropIn .3s var(--ease); }
    @keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
    .nav a::after { display: none; }
    .menu-toggle { display: block; margin-left: auto; }
    .nav-cta { display: none; }
    .is-pinned .nav { top: 68px; }
    .admin-login-link { margin-left: 0; }
    .section-head { display: block; }
    .section-head > p { margin-top: 24px; max-width: none; }
    .page-hero { min-height: 460px; padding-top: 140px; }
}

@media (max-width: 767.98px) {
    .proof-cell { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
    .section { padding: 78px 0; }
    .hero { min-height: 700px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
    .page-hero h1 { font-size: 46px; }
    .selector-panel { padding: 26px; }
    .feature-card, .brand-card { padding: 28px; }
    .feature-card-media { width: calc(100% + 56px); height: 200px; margin: -28px -28px 20px; }
    .scroll-cue { display: none; }

    /* Phone-width header: brand text, menu toggle and the login pill were
       fighting for the same ~360-400px row and crowding into each other.
       Drop the tagline and shrink the login pill to an icon so everything
       has room. */
    .header-row { gap: 10px; }
    .brand-text small { display: none; }
    .admin-login-link { padding: 8px; }
    .admin-login-link .admin-login-text { display: none; }
}

/* --------------------------------------------------------------------------
   22. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
    .hero-bg { animation: none; }
    .marquee-track { animation: none; }
}
