/* ==========================================================================
   R P International — main stylesheet
   Tokens from docs/DESIGN-SYSTEM.md. Raw hex values live ONLY in :root.
   Sizes are px throughout. Breakpoints: 1199 · 991 · 767 · 575.
   Motion: transform + opacity only; everything off under prefers-reduced-motion.
   Reveal effects are scoped to .js so the page is fully visible without JS.
   ========================================================================== */

:root {
    /* Brand — RP Guideline.pdf (2026): navy for structure, blue for emphasis */
    --rp-navy-deep: #0B1F3A;      /* RP Navy — dark surfaces, headings */
    --rp-navy: #163A6B;           /* lighter step of RP Navy — icons, secondary buttons, hovers */
    --rp-navy-ink: #071529;       /* darkest step — footer base, shadows */
    --rp-blue: #1677FF;           /* RP Blue — accents, lines, icons, large text (4.10:1 on white) */
    --rp-blue-hover: #0B5ED7;
    --rp-blue-ink: #0B5ED7;       /* RP Blue deepened for small text and white-text fills (5.84:1) */
    --rp-blue-ink-hover: #0A4FB5;
    --rp-blue-lite: #5B9DFF;      /* RP Blue lifted for text on navy (6.07:1) */
    --rp-brand-gradient: linear-gradient(90deg, #FFFFFF, #4571B7);  /* guideline gradient */
    --rp-mist: #EDF3FC;
    --rp-mist-2: #C7D6EE;

    /* Neutrals */
    --rp-ink: #0F172A;
    --rp-muted: #64748B;          /* RP Grey (4.76:1 on white) */
    --rp-caret: #64748B;
    --rp-line: #CBD5E1;
    --rp-border: #E2E8F0;
    --rp-hairline: #EEF2F6;
    --rp-surface: #F8FAFC;
    --rp-white: #FFFFFF;
    --rp-ph-1: #EEF2F7;
    --rp-ph-2: #E7EDF4;

    /* WhatsApp — brand-mandated green, dark glyph (white fails contrast) */
    --wa: #25D366;
    --wa-ink: #0B2E13;

    /* Tints */
    --tint-blue: rgba(22, 119, 255, .10);
    --tint-navy: rgba(22, 58, 107, .07);
    --on-dark-body: rgba(255, 255, 255, .9);
    --on-dark-muted: rgba(255, 255, 255, .78);
    --on-dark-faint: rgba(255, 255, 255, .65);
    --on-dark-line: rgba(255, 255, 255, .18);

    /* Type */
    /* One family (guideline): Inter 600 / 500 / 400 */
    --font-head: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Shape */
    --radius: 6px;
    --radius-lg: 12px;
    --shadow-card: 0 1px 3px rgba(11, 31, 58, .06);
    --shadow-hover: 0 18px 40px rgba(11, 31, 58, .14);
    --shadow-menu: 0 28px 70px rgba(11, 31, 58, .18);
    --shadow-float: 0 24px 60px rgba(5, 14, 28, .35);

    /* Motion */
    --ease-out: cubic-bezier(.2, .7, .2, 1);
    --ease-in-out: cubic-bezier(.7, 0, .2, 1);
    --transition: 200ms ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 124px; }
/* Lenis smooth scroll (assets/js/vendor/lenis.min.js): its stylesheet, inlined. Lenis animates the scroll itself, so native smooth scroll must be off while it runs */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
html.no-scroll { overflow: hidden; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--rp-ink);
    background: var(--rp-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip; /* clip, not hidden: hidden turns body into a scroll container and breaks position: sticky */
}

h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; color: var(--rp-navy-deep); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
a { color: var(--rp-blue-ink); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--rp-blue-ink-hover); }
button { font: inherit; cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--rp-blue-ink); color: var(--rp-white); }

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

/* 24px side padding = half of Bootstrap's widest gutter (.g-5, 48px), so rows never poke past the viewport */
.container { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }

/* ---------- Bootstrap 5.1 compatibility ----------
   Bootstrap supplies the grid (.row / .col-*), .ratio and spacing utilities.
   These rules stop its defaults from changing the site's own components. */
.btn:focus { box-shadow: none; }
.btn:focus-visible { outline: 3px solid var(--rp-blue); outline-offset: 2px; }
.site-header .nav { flex-wrap: nowrap; margin-bottom: 0; }
dl, dd, figure, blockquote, address, label { margin: 0; }
h1, h2, h3, h4 { line-height: 1.25; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 200;
    background: var(--rp-navy-deep); color: var(--rp-white);
    padding: 10px 16px; border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--rp-white); }

.arr { display: inline-block; transition: transform 250ms var(--ease-out); }
a:hover .arr { transform: translateX(5px); }

.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rp-blue); flex-shrink: 0; animation: pulse 2s ease-in-out infinite; box-shadow: 0 0 0 0 rgba(22, 119, 255, .5); }

/* ---------- Keyframes ---------- */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 119, 255, .55); } 70% { box-shadow: 0 0 0 10px rgba(22, 119, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 119, 255, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes rise-lg { from { opacity: 0; transform: translateY(44px); } to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes pop { 0% { opacity: 0; transform: scale(.6); } 70% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
@keyframes sail { 0%, 100% { transform: translateX(-18px) rotate(-2deg); } 50% { transform: translateX(18px) rotate(2deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-2px) rotate(1.5deg); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-30px, 20px) scale(1.08); } }
@keyframes ripple { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Scroll reveal (JS adds .js to <html> and .is-in to elements) ---------- */
.js [data-reveal] { opacity: 0; }
.js [data-reveal].is-in { opacity: 1; animation: rise 800ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal] .eyebrow::before { transform: scaleX(0); transform-origin: left center; transition: transform 700ms var(--ease-out) 300ms; }
.js [data-reveal].is-in .eyebrow::before { transform: scaleX(1); }

/* ---------- Placeholders (image slots awaiting real photography) ---------- */
.ph {
    background: repeating-linear-gradient(135deg, var(--rp-ph-1) 0 12px, var(--rp-ph-2) 12px 24px);
    display: flex; align-items: center; justify-content: center; text-align: center;
    color: var(--rp-muted); font-size: 11px; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; line-height: 1.5; padding: 8px;
}
.ph--dark {
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 10px, rgba(255, 255, 255, .03) 10px 20px);
    border: 1px solid rgba(255, 255, 255, .22); color: var(--on-dark-muted); border-radius: var(--radius);
}

/* ---------- Buttons ---------- */
.btn {
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 24px; border-radius: var(--radius);
    font-family: var(--font-head); font-size: 15px; font-weight: 600; line-height: 1.2;
    border: 2px solid transparent; text-align: center;
    transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow 250ms ease, transform 250ms var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 16px; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }

/* shine sweep */
.btn--primary::after, .btn--secondary::after {
    content: ""; position: absolute; top: 0; left: -75%; z-index: -1; width: 50%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg); transition: left 700ms var(--ease-out);
}
.btn--secondary::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .18), transparent); }
.btn--primary:hover::after, .btn--secondary:hover::after { left: 130%; }

.btn--primary { background: var(--rp-blue-ink); color: var(--rp-white); }
.btn--primary:hover { background: var(--rp-blue-ink-hover); color: var(--rp-white); box-shadow: 0 12px 26px rgba(22, 119, 255, .32); }

.btn--secondary { background: var(--rp-navy); color: var(--rp-white); }
.btn--secondary:hover { background: var(--rp-navy-deep); color: var(--rp-white); box-shadow: 0 12px 26px rgba(22, 58, 107, .3); }

.btn--ghost-light { border: 2px solid rgba(255, 255, 255, .7); color: var(--rp-white); background: rgba(255, 255, 255, .06); font-weight: 600; }
.btn--ghost-light:hover { background: var(--rp-white); border-color: var(--rp-white); color: var(--rp-navy-deep); }

.btn--outline-navy { border-color: var(--rp-navy-deep); color: var(--rp-navy-deep); background: transparent; }
.btn--outline-navy:hover { background: var(--rp-navy-deep); color: var(--rp-white); }

.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { color: var(--wa-ink); box-shadow: 0 12px 26px rgba(37, 211, 102, .35); }

.link-arrow { font-size: 15px; font-weight: 600; color: var(--rp-blue-ink); white-space: nowrap; }

/* ---------- Eyebrow + section heads ---------- */
.eyebrow {
    display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
    font-size: 13px; font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase;
    color: var(--rp-blue-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--rp-blue); flex-shrink: 0; }
.eyebrow--light { color: var(--rp-blue-lite); }

.section { padding: 96px 0; }
.section--surface {
    background-color: var(--rp-surface);
    background-image: radial-gradient(rgba(22, 58, 107, .07) 1px, transparent 1px);
    background-size: 22px 22px;
}
.section--navy { background: var(--rp-navy-deep); }
.section--rule { border-top: 1px solid var(--rp-border); }

.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: 38px; line-height: 1.18; font-weight: 600; letter-spacing: -.4px; }
.section-head__lead { margin-top: 14px; font-size: 17.5px; color: var(--rp-muted); max-width: 700px; }
.section-head--split { display: flex; align-items: flex-end; gap: 40px; }
.section-head--split > div { flex-grow: 1; }
.section--navy .section-head h2 { color: var(--rp-white); }
.section--navy .section-head__lead { color: var(--on-dark-muted); }

.tag {
    display: inline-block; align-self: flex-start; padding: 5px 10px; border-radius: 4px;
    background: var(--tint-navy); color: var(--rp-navy);
    font-size: 12.5px; font-weight: 600; letter-spacing: .6px;
}

/* ==========================================================================
   Header + navigation
   Desktop: fixed, transparent over the hero; morphs into a floating white capsule
   after 40px of scroll (.is-scrolled, set by main.js) or at once with .site-header--solid.
   Below 1200px the capsule is always on and the menu is the tile launcher.
   ========================================================================== */
.site-header {
    position: fixed; left: 0; right: 0; top: 0; z-index: 50; padding-top: 12px; pointer-events: none;
    transition: transform 450ms var(--ease-out);
}
.site-header.is-hidden { transform: translateY(-120%); }
.site-header__inner {
    position: relative; pointer-events: auto; display: flex; align-items: center; gap: 24px;
    width: calc(100% - 24px); max-width: 1248px; height: 104px; margin: 0 auto; padding: 0 24px; border-radius: 18px;
    background: transparent; box-shadow: none; border: 1px solid transparent;
    transition: background 350ms ease, box-shadow 350ms ease, border-color 350ms ease, height 350ms var(--ease-out);
}
.site-header.is-scrolled .site-header__inner,
.site-header--solid .site-header__inner {
    height: 90px; background: rgba(255, 255, 255, .92); border-color: rgba(226, 232, 240, .9);
    -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 16px 40px rgba(11, 31, 58, .14);
}
.brand { position: relative; flex-shrink: 0; display: block; width: 150px; height: 84px; transition: width 350ms var(--ease-out), height 350ms var(--ease-out); }
.brand img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transition: opacity 300ms ease; }
.site-header.is-scrolled .brand, .site-header--solid .brand { width: 128px; height: 72px; }
.brand__dark { opacity: 0; }
.site-header.is-scrolled .brand__light, .site-header--solid .brand__light { opacity: 0; }
.site-header.is-scrolled .brand__dark, .site-header--solid .brand__dark { opacity: 1; }

.scroll-progress { position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; border-radius: 2px; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 300ms ease; }
.site-header.is-scrolled .scroll-progress { opacity: 1; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--rp-blue), var(--rp-blue-lite)); transform: scaleX(0); transform-origin: 0 50%; }

.nav { display: none; }
.nav__link {
    position: relative; font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--rp-ink); padding: 6px 0; white-space: nowrap;
    transition: color 250ms ease;
}
.nav__link:hover { color: var(--rp-navy); }
.nav__link.is-active { color: var(--rp-navy); font-weight: 600; }
.nav__toggle {
    width: 24px; height: 24px; border: 0; background: none; color: var(--rp-caret); padding: 0; border-radius: 4px; font-size: 10px;
    display: inline-flex; align-items: center; justify-content: center; transition: transform 300ms var(--ease-out), color var(--transition);
}
.nav__row { display: flex; align-items: center; gap: 2px; }

.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.site-header__cta { flex-shrink: 0; }
.menu-btn {
    display: none; width: 44px; height: 44px; border: 1px solid var(--rp-border); border-radius: 12px;
    background: var(--rp-white); color: var(--rp-navy); font-size: 18px; align-items: center; justify-content: center;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.menu-btn:hover { background: var(--rp-navy); border-color: var(--rp-navy); color: var(--rp-white); }


/* ---- dropdown building blocks (desktop panels and mobile accordion) ---- */
.mega__title { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--rp-blue-ink); }
.mega__title:not(:first-child) { margin-top: 26px; }
.mega__all { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--rp-blue-ink); }
.mega__all i { font-size: 13px; transition: transform 250ms var(--ease-out); }
.mega__all:hover i { transform: translateX(4px); }
.menu-intro { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--rp-hairline); font-size: 13.5px; color: var(--rp-muted); }

/* About — plain list */
.simple-list a {
    position: relative; display: flex; align-items: center; padding: 11px 14px; border-radius: 8px;
    font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--rp-navy-deep);
    transition: background var(--transition), color var(--transition), padding 250ms var(--ease-out);
}
.simple-list a::after {
    content: "\2192"; margin-left: auto; color: var(--rp-blue); opacity: 0; transform: translateX(-6px);
    transition: opacity 200ms ease, transform 250ms var(--ease-out);
}
.simple-list a:hover { background: var(--rp-surface); color: var(--rp-navy); }
.simple-list a:hover::after { opacity: 1; transform: none; }

/* Services — icon + name, generous spacing */
.svc-list { display: flex; flex-direction: column; gap: 4px; }
.svc-link {
    display: flex; align-items: center; gap: 14px; padding: 10px 12px; margin: 0 -12px; border-radius: 10px;
    font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--rp-navy-deep); transition: background var(--transition), color var(--transition);
}
.svc-link:hover { background: var(--rp-surface); color: var(--rp-navy); }
.svc-link__icon {
    width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    background: var(--tint-blue); color: var(--rp-navy); font-size: 18px;
    transition: background 250ms ease, color 250ms ease, transform 300ms var(--ease-out);
}
.svc-link:hover .svc-link__icon { background: var(--rp-navy); color: var(--rp-white); transform: rotate(-6deg); }
/* Port Handling spotlight (Services mega): a navy head linking to the Breakbulk page,
   then its sections in two groups, each row with its own icon */
.hspot { height: 100%; display: flex; flex-direction: column; border: 1px solid var(--rp-border); border-radius: 14px; overflow: hidden; background: var(--rp-white); }
.hspot__head {
    position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; color: var(--rp-white);
    background: radial-gradient(240px 140px at 100% 0%, rgba(22, 119, 255, .28), transparent 65%), linear-gradient(135deg, var(--rp-navy), var(--rp-navy-deep));
}
.hspot__head:hover { color: var(--rp-white); }
.hspot__icon {
    width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .12); color: var(--rp-white); font-size: 20px; --duo-2: var(--rp-blue-lite);
    transition: transform 300ms var(--ease-out);
}
.hspot__head:hover .hspot__icon { transform: rotate(-6deg); }
.hspot__text { flex-grow: 1; min-width: 0; }
.hspot__eyebrow { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--rp-blue-lite); }
.hspot__text strong { display: block; margin-top: 2px; font-family: var(--font-head); font-size: 16.5px; font-weight: 600; line-height: 1.3; }
.hspot__go { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; font-size: 13.5px; font-weight: 600; color: var(--rp-blue-lite); white-space: nowrap; }
.hspot__go i { transition: transform 250ms var(--ease-out); }
.hspot__head:hover .hspot__go i { transform: translateX(4px); }
.hspot__groups { flex-grow: 1; display: grid; grid-template-columns: 1.3fr 1fr; }
.hspot__group { padding: 14px 12px 12px; }
.hspot__group + .hspot__group { border-left: 1px solid var(--rp-hairline); background: var(--rp-surface); }
.hspot__label { display: flex; align-items: center; gap: 8px; margin: 0 8px 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; color: var(--rp-blue-ink); }
.hspot__label span { padding: 1px 7px; border-radius: 10px; background: var(--tint-navy); color: var(--rp-navy); font-size: 11px; letter-spacing: 0; }
.hspot__list a {
    display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 9px;
    font-size: 14.5px; line-height: 1.3; color: var(--rp-navy-deep); transition: background var(--transition), color var(--transition);
}
.hspot__list a:hover { background: var(--rp-surface); color: var(--rp-navy); }
.hspot__group + .hspot__group .hspot__list a:hover { background: var(--rp-white); }
.hspot__ico {
    width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    background: var(--tint-blue); color: var(--rp-navy); font-size: 13.5px; transition: background 250ms ease, color 250ms ease;
}
.hspot__list a:hover .hspot__ico { background: var(--rp-navy); color: var(--rp-white); --duo-2: var(--rp-blue-lite); }
.mega-strip {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 32px;
    background: var(--rp-surface); border-top: 1px solid var(--rp-border); border-radius: 0 0 14px 14px;
}
.mega-strip__urgent { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--rp-muted); }
.mega-strip__urgent strong { color: var(--rp-navy-deep); font-weight: 600; }
.mega-strip__links { display: flex; align-items: center; gap: 24px; }

/* Ports */
.plain-list a, .port-list a {
    position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin: 0 -12px; border-radius: 8px;
    font-size: 15px; color: var(--rp-ink); transition: background var(--transition), color var(--transition);
}
.plain-list a::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rp-blue); flex-shrink: 0;
    transform: scale(0); transition: transform 250ms var(--ease-out);
}
.plain-list a:hover::before { transform: scale(1); }
.plain-list a:hover, .port-list a:hover { background: var(--rp-surface); color: var(--rp-navy); }
.port-list a { justify-content: space-between; }

.mega__feature {
    position: relative; overflow: hidden; border-radius: 12px; padding: 24px;
    background: radial-gradient(circle at 100% 0%, rgba(22, 119, 255, .12), transparent 55%), var(--rp-surface);
    border: 1px solid var(--rp-border); color: var(--rp-muted); display: flex; flex-direction: column; gap: 10px;
}
.mega__feature::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(22, 58, 107, .1); pointer-events: none; }
.mega__feature-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--rp-blue-ink); }
.mega__feature-title { font-family: var(--font-head); font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--rp-navy-deep); }
.mega__feature-text { font-size: 14.5px; line-height: 1.5; }
.mega__feature .btn { align-self: flex-start; margin-top: 6px; }

/* Industries — icon grid */
.ind-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
.ind-link { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: var(--rp-ink); transition: background var(--transition); }
.ind-link:hover { background: var(--rp-surface); color: var(--rp-ink); }
.ind-link__icon {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    background: var(--tint-navy); color: var(--rp-navy); font-size: 17px; transition: background 250ms ease, color 250ms ease, transform 300ms var(--ease-out);
}
.ind-link:hover .ind-link__icon { background: var(--rp-navy); color: var(--rp-white); --duo-2: var(--rp-blue-lite); transform: scale(1.06); }
.ind-link strong { display: block; font-family: var(--font-head); font-size: 14.5px; font-weight: 600; color: var(--rp-navy-deep); line-height: 1.3; }
.ind-link small { display: block; font-size: 13px; color: var(--rp-muted); }
.dropdown--ind .mega__all { margin: 14px 10px 4px; }

/* Trade lanes — route cards */
.lane-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lane-link {
    display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px 16px; border-radius: 10px;
    border: 1px solid var(--rp-border); color: var(--rp-ink); transition: border-color 250ms ease, background 250ms ease, transform 300ms var(--ease-out);
}
.lane-link:hover { border-color: var(--rp-blue); background: rgba(22, 119, 255, .04); color: var(--rp-ink); transform: translateY(-2px); }
.lane-link__route { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--rp-navy-deep); white-space: nowrap; }
.lane-link__route i { font-size: 13px; color: var(--rp-blue); transition: transform 250ms var(--ease-out); }
.lane-link:hover .lane-link__route i { transform: translateX(3px); }
.lane-link small { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--rp-muted); }
.lane-link__dir { padding: 2px 7px; border-radius: 4px; background: var(--tint-navy); color: var(--rp-navy); font-size: 11px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; }

/* Resources — two icon lists + featured download */
.res-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; }
.icon-list a {
    display: flex; align-items: center; gap: 12px; padding: 8px 10px; margin: 0 -10px; border-radius: 8px;
    font-size: 15px; color: var(--rp-ink); transition: background var(--transition), color var(--transition);
}
.icon-list a i { width: 20px; font-size: 16px; color: var(--rp-navy); text-align: center; transition: transform 250ms var(--ease-out); }
.icon-list a:hover { background: var(--rp-surface); color: var(--rp-navy); }
.icon-list a:hover i { transform: scale(1.15); }
.res-feature {
    grid-column: 1 / -1; position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; padding: 16px 20px;
    border-radius: 12px; color: var(--on-dark-muted);
    background: radial-gradient(circle at 100% 0%, rgba(22, 119, 255, .3), transparent 55%), var(--rp-navy-deep);
    transition: transform 300ms var(--ease-out), box-shadow 300ms ease;
}
.res-feature:hover { color: var(--on-dark-muted); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.res-feature__icon {
    width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .1); font-size: 21px; color: var(--rp-white); --duo-2: var(--rp-blue-lite);
}
.res-feature__text { flex-grow: 1; }
.res-feature strong { display: block; font-family: var(--font-head); font-size: 15.5px; font-weight: 600; color: var(--rp-white); }
.res-feature small { display: block; font-size: 13.5px; }
.res-feature__cta { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; font-size: 14px; font-weight: 600; color: var(--rp-blue-lite); white-space: nowrap; }
.res-feature__cta i { transition: transform 250ms var(--ease-out); }
.res-feature:hover .res-feature__cta i { transform: translateX(4px); }

/* ---- Desktop navigation (≥1200px) ---- */
@media (min-width: 1200px) {
    .nav { flex-grow: 1; display: flex; justify-content: center; align-self: stretch; }
    .nav__list { display: flex; align-items: stretch; gap: 22px; }
    .nav__item { position: relative; display: flex; align-items: center; }
    .nav__link::after {
        content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--rp-blue);
        transform: scaleX(0); transform-origin: right center; transition: transform 300ms var(--ease-out);
    }
    .nav__link:hover::after, .nav__link.is-active::after,
    .has-sub:hover .nav__link::after, .has-sub.is-open .nav__link::after { transform: scaleX(1); transform-origin: left center; }
    .has-sub:hover .nav__toggle, .has-sub.is-open .nav__toggle { transform: rotate(180deg); color: var(--rp-blue-ink); }

    .dropdown {
        position: absolute; top: 100%; left: -24px; z-index: 60; padding-top: 10px;
        opacity: 0; visibility: hidden; transform: translateY(12px);
        transition: opacity 220ms ease, transform 300ms var(--ease-out), visibility 0s linear 300ms;
    }
    .dropdown__inner {
        background: var(--rp-white); border: 1px solid var(--rp-border); border-radius: 14px;
        box-shadow: var(--shadow-menu); padding: 22px 24px;
    }
    .has-sub:hover > .dropdown,
    .has-sub:focus-within > .dropdown,
    .has-sub.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

    .dropdown--list { width: 260px; }
    .dropdown--list .dropdown__inner { padding: 10px; }
    .dropdown--ind { width: 580px; }
    .dropdown--lanes { width: 560px; left: -120px; }
    .dropdown--res { width: 680px; }
    .dropdown--right { left: auto; right: -24px; }
    .has-mega { position: static; }
    .dropdown--mega { left: 0; right: 0; }
    .dropdown--mega .dropdown__inner { padding: 0; }
    .svc-mega { display: grid; grid-template-columns: 1fr 1fr 1.9fr; gap: 0; }
    .svc-mega__col--ph { padding: 16px; }
    .svc-mega__col { padding: 28px 26px 24px; }
    .svc-mega__col + .svc-mega__col { border-left: 1px solid var(--rp-hairline); }
    /* Ports panel: .dropdown--mega zeroes the inner padding for the Services layout, so restore it here */
    .dropdown--mega .dropdown__inner.mega { display: grid; grid-template-columns: 1.2fr 1fr 1fr 300px; gap: 36px; padding: 30px 32px; }

    /* transparent header over the hero (top of page, homepage) */
    .site-header:not(.is-scrolled):not(.site-header--solid) .nav__link,
    .site-header:not(.is-scrolled):not(.site-header--solid) .nav__toggle { color: var(--rp-white); }
    .site-header:not(.is-scrolled):not(.site-header--solid) .nav__link:hover { color: var(--rp-white); }
    .site-header:not(.is-scrolled):not(.site-header--solid) .has-sub:hover .nav__toggle,
    .site-header:not(.is-scrolled):not(.site-header--solid) .has-sub.is-open .nav__toggle { color: var(--rp-blue-lite); }
}
@media (min-width: 1200px) and (max-width: 1399px) {
    .nav__list { gap: 18px; }
}


/* ==========================================================================
   Tile launcher — the menu below 1200px (components/mobile-menu.php)
   ========================================================================== */
.launcher {
    position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: var(--rp-surface);
    opacity: 0; visibility: hidden; transform: scale(.97) translateY(16px);
    transition: opacity 280ms ease, transform 400ms var(--ease-out), visibility 0s linear 400ms;
}
.launcher.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.launcher__top {
    display: flex; align-items: center; gap: 12px; flex-shrink: 0;
    width: 100%; max-width: 600px; margin: 0 auto; padding: 16px 16px 10px 20px;
}
.launcher__brand img { width: 100px; height: 56px; }
.launcher__title { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--rp-navy-deep); }
.launcher__close {
    margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--rp-border); background: var(--rp-white);
    color: var(--rp-navy); font-size: 18px; display: inline-flex; align-items: center; justify-content: center; transition: background 250ms ease, color 250ms ease;
}
.launcher__close:hover { background: var(--rp-navy); color: var(--rp-white); }
.launcher__stage { position: relative; flex: 1; min-height: 0; overflow: hidden; width: 100%; max-width: 600px; margin: 0 auto; }

/* drill-down panels: root is in view, the rest wait off to the right */
.lpanel {
    position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 16px 28px;
    transform: translateX(100%); visibility: hidden;
    transition: transform 380ms var(--ease-out), opacity 300ms ease, visibility 0s linear 380ms;
}
.lpanel.is-active { transform: none; visibility: visible; transition-delay: 0s; }
.lpanel.is-behind { transform: translateX(-26%); opacity: 0; visibility: hidden; }
/* Closed launcher: take it out of touch and focus. The active panel sets visibility: visible, which
   would otherwise override the launcher's own hidden state and leave an invisible layer over the
   page that swallows every swipe. It hides once the 400ms fade-out has finished. */
.launcher:not(.is-open) { pointer-events: none; }
.launcher:not(.is-open) .lpanel { visibility: hidden; transition: visibility 0s linear 400ms; }

/* root tiles */
.ltiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ltile {
    position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 112px; padding: 14px;
    border-radius: 18px; border: 1px solid var(--rp-border); background: var(--rp-white); text-align: left; color: var(--rp-navy-deep);
    font: inherit; transition: transform 200ms var(--ease-out), border-color 250ms ease, box-shadow 250ms ease;
}
.ltile:hover { color: var(--rp-navy-deep); border-color: var(--rp-line); box-shadow: var(--shadow-hover); }
.ltile:active { transform: scale(.97); }
.ltile__icon {
    width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: var(--tint-blue); color: var(--rp-navy); font-size: 19px;
}
.ltile strong { display: block; font-family: var(--font-head); font-size: 15.5px; font-weight: 600; line-height: 1.2; }
.ltile small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.35; color: var(--rp-muted); }
/* Services: full-width horizontal tile — icon on the left, title and chips beside it */
.ltile--hero {
    grid-column: span 2; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 14px; min-height: 0; padding: 16px;
    color: var(--rp-white); border-color: var(--rp-navy-deep);
    background: radial-gradient(260px 180px at 100% 0%, rgba(22, 119, 255, .3), transparent 60%), linear-gradient(155deg, var(--rp-navy), var(--rp-navy-deep));
}
.ltile--hero:hover { color: var(--rp-white); border-color: var(--rp-navy-deep); }
.ltile--hero .ltile__icon { background: rgba(255, 255, 255, .12); color: var(--rp-white); --duo-2: var(--rp-blue-lite); }
.ltile--hero small { color: var(--on-dark-muted); }
.ltile__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.ltile--hero .ltile__icon { width: 50px; height: 50px; font-size: 22px; }
.ltile--hero .ltile__chips { grid-column: 2; }
.ltile__chips span { padding: 5px 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); font-size: 11px; font-weight: 600; }
.ltile--wide { grid-column: span 2; min-height: 66px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
.ltile--quote { background: var(--rp-blue-ink); border-color: var(--rp-blue-ink); color: var(--rp-white); }
.ltile--quote:hover { color: var(--rp-white); border-color: var(--rp-blue-ink-hover); background: var(--rp-blue-ink-hover); }
.ltile--quote .ltile__icon { background: rgba(255, 255, 255, .16); color: var(--rp-white); --duo-2: var(--rp-white); }
.ltile--quote small { color: var(--on-dark-body); }
.ltile__arrow { margin-left: auto; font-size: 18px; }
.ltile-row { grid-column: span 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ltile-row__btn {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 14px;
    border: 1px solid var(--rp-border); background: var(--rp-white); color: var(--rp-navy-deep); font-family: var(--font-head); font-size: 14.5px; font-weight: 600;
}
.ltile-row__btn:hover { color: var(--rp-navy-deep); border-color: var(--rp-line); }
.ltile-row__btn i { color: var(--rp-navy); }
.ltile-row__btn--wa i { color: #1FA855; font-size: 18px; }
.launcher__mail { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; padding: 8px; font-size: 14.5px; color: var(--rp-muted); }

/* tiles stagger in when the launcher opens */
.js .launcher .ltiles > * { opacity: 0; transform: translateY(12px); }
.js .launcher.is-open .ltiles > * { opacity: 1; transform: none; transition: opacity 320ms ease, transform 420ms var(--ease-out), border-color 250ms ease, box-shadow 250ms ease; transition-delay: calc(var(--i, 0) * 40ms + 100ms); }

/* list panels */
.lpanel__head { display: flex; align-items: center; gap: 12px; margin: 4px 0 8px; }
.lpanel__back {
    width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; border: 1px solid var(--rp-border); background: var(--rp-white); color: var(--rp-navy);
    display: inline-flex; align-items: center; justify-content: center; font-size: 15px; transition: background 250ms ease, color 250ms ease;
}
.lpanel__back:hover { background: var(--rp-navy); color: var(--rp-white); }
.lpanel__title { font-family: var(--font-head); font-size: 19px; font-weight: 600; line-height: 1.25; color: var(--rp-navy-deep); }
.lpanel__group { margin: 18px 4px 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; color: var(--rp-blue-ink); }
.litem {
    width: 100%; display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 10px 4px; border: 0; border-bottom: 1px solid var(--rp-border);
    background: none; text-align: left; font-family: var(--font-head); font-size: 15.5px; font-weight: 500; color: var(--rp-navy-deep);
    transition: background 200ms ease, padding 250ms var(--ease-out);
}
.litem:hover { color: var(--rp-navy); background: var(--rp-white); padding-left: 10px; }
.litem .code { margin-left: auto; }
.litem--strong, .litem--kids { font-weight: 600; }
.litem__chev { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--rp-white); border: 1px solid var(--rp-border); color: var(--rp-navy); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.litem--icon i { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--tint-blue); color: var(--rp-navy); font-size: 15px; }
.lpanel__all { display: inline-flex; align-items: center; gap: 8px; margin: 16px 4px 0; font-size: 14.5px; font-weight: 600; color: var(--rp-blue-ink); }
@media (min-width: 1200px) { .launcher { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--rp-navy-deep); }
.hero__media { position: absolute; left: 0; right: 0; top: -160px; bottom: 0; will-change: transform; }
.hero__bg { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: hero-zoom 2600ms var(--ease-out) both; }
.hero__video {
    position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
    opacity: 0; transition: opacity 1000ms ease;
}
.hero__video.is-playing { opacity: 1; }
.hero__shade {
    position: absolute; left: 0; top: 0; width: 100%; height: 100%;
    background:
        linear-gradient(180deg, rgba(7, 21, 41, .6) 0%, rgba(7, 21, 41, 0) 190px),
        linear-gradient(0deg, rgba(11, 31, 58, .85) 0%, rgba(11, 31, 58, 0) 40%),
        linear-gradient(90deg, var(--rp-navy-deep) 0%, rgba(11, 31, 58, .94) 36%, rgba(11, 31, 58, .55) 62%, rgba(11, 31, 58, .12) 100%);
}
.hero__inner { position: relative; display: flex; flex-direction: column; padding-top: 230px; padding-bottom: 130px; }
.hero__copy { max-width: 700px; display: flex; flex-direction: column; gap: 24px; }
.hero__copy .eyebrow { margin-bottom: 0; }
.hero h1 { font-size: 54px; line-height: 1.1; font-weight: 600; letter-spacing: -.5px; color: var(--rp-white); }
.hero__lead { font-size: 19px; color: var(--on-dark-body); max-width: 580px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }

/* hero entrance */
.hero__copy > * { animation: rise 900ms var(--ease-out) both; }
.hero__copy > *:nth-child(1) { animation-delay: 100ms; }
.hero__copy > *:nth-child(2) { animation-delay: 200ms; }
.hero__copy > *:nth-child(3) { animation-delay: 340ms; }
.hero__copy > *:nth-child(4) { animation-delay: 460ms; }


.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 13px; font-weight: 600; color: var(--rp-ink); }
.field input, .field select, .field textarea {
    height: 46px; width: 100%; border: 1px solid var(--rp-line); border-radius: var(--radius);
    padding: 0 12px; font-family: var(--font-body); font-size: 15px; color: var(--rp-ink); background: var(--rp-white);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.field input::placeholder, .field textarea::placeholder { color: var(--rp-caret); }
.field textarea { height: auto; min-height: 132px; padding: 12px; line-height: 1.5; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--rp-caret); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rp-navy); box-shadow: 0 0 0 4px rgba(22, 58, 107, .12); outline: none; }

/* ---------- Urgent strip ---------- */
.urgent { position: relative; overflow: hidden; background: var(--rp-navy-ink); }
.urgent::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 45%;
    background: linear-gradient(90deg, rgba(22, 119, 255, .12), transparent); pointer-events: none;
}
.urgent__inner { position: relative; display: flex; align-items: center; gap: 18px; min-height: 88px; padding-top: 16px; padding-bottom: 16px; }
.urgent__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rp-blue); flex-shrink: 0; animation: pulse 2s ease-in-out infinite; }
.urgent__text { flex-grow: 1; font-family: var(--font-head); font-size: 19px; color: var(--rp-white); }
.urgent__text strong { color: var(--rp-blue-lite); font-weight: 600; }
.urgent__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- Credentials bar ---------- */
.creds { border-bottom: 1px solid var(--rp-border); }
.creds__list { display: flex; justify-content: space-between; align-items: center; min-height: 96px; padding: 16px 0; }
.creds__item { display: flex; align-items: center; gap: 12px; }
.creds__item + .creds__item { border-left: 1px solid var(--rp-border); padding-left: 32px; }
.creds__icon { width: 42px; height: 42px; border-radius: 10px; background: var(--tint-navy); color: var(--rp-navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 250ms ease, color 250ms ease, transform 300ms var(--ease-out); }
.creds__item:hover .creds__icon { background: var(--rp-navy); color: var(--rp-white); transform: translateY(-3px); }
.creds__item strong { display: block; font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--rp-ink); line-height: 1.3; }
.creds__item strong + span { display: block; font-size: 13.5px; color: var(--rp-muted); }

/* ---------- Cards: shared ---------- */
.service-card, .lane-card, .post-card {
    position: relative; background: var(--rp-white); border: 1px solid var(--rp-border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card); color: inherit;
    transition: transform 350ms var(--ease-out), box-shadow 350ms var(--ease-out), border-color 250ms ease;
}
.service-card:hover, .lane-card:hover, .post-card:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--rp-line); color: inherit;
}
.post-card { overflow: hidden; display: block; }
/* image zoom inside cards — body sits above the scaled image */
.post-card__img { transition: transform 700ms var(--ease-out); }
.post-card:hover .post-card__img { transform: scale(1.07); }
.post-card__body { position: relative; z-index: 1; background: var(--rp-white); }

/* Service cards — 3-column grid gives every name a single line */
.service-card { display: flex; flex-direction: column; gap: 10px; min-height: 212px; padding: 26px 26px 22px; overflow: hidden; }
.service-card h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* featured core service (spans two columns) */
.service-card.service-card--feature {
    color: var(--on-dark-muted); border-color: var(--rp-navy-deep);
    background:
        radial-gradient(520px 260px at 100% 0%, rgba(22, 119, 255, .28), transparent 60%),
        linear-gradient(135deg, var(--rp-navy) 0%, var(--rp-navy-deep) 70%);
}
.service-card.service-card--feature::after {
    content: ""; position: absolute; right: -90px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .1); pointer-events: none; transition: transform 800ms var(--ease-out);
}
.service-card.service-card--feature:hover { color: var(--on-dark-muted); border-color: var(--rp-navy-deep); }
.service-card.service-card--feature:hover::after { transform: scale(1.15); }
.service-card.service-card--feature .service-card__icon { width: 56px; height: 56px; background: rgba(255, 255, 255, .1); color: var(--rp-blue-lite); }
.service-card.service-card--feature:hover .service-card__icon { background: var(--rp-blue); color: var(--rp-white); }
.service-card.service-card--feature h3 { font-size: 26px; color: var(--rp-white); }
.service-card.service-card--feature p { font-size: 16.5px; color: var(--on-dark-body); max-width: 520px; flex-grow: 0; }
.service-card.service-card--feature .service-card__foot { margin-top: auto; border-top-color: var(--on-dark-line); color: var(--on-dark-faint); }
.service-card.service-card--feature .service-card__go { color: var(--rp-blue-lite); }
.service-card__badge {
    position: absolute; right: 24px; top: 24px; padding: 5px 12px; border-radius: 999px;
    background: rgba(91, 157, 255, .16); color: var(--rp-blue-lite); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}
.service-card__stages { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.service-card__stages li {
    padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2);
    font-size: 13.5px; font-weight: 600; color: var(--rp-white); transition: background 250ms ease, border-color 250ms ease;
}
.service-card.service-card--feature:hover .service-card__stages li { border-color: rgba(91, 157, 255, .5); }

/* closing call-to-action card */
.service-card.service-card--cta {
    justify-content: center; border-style: dashed; border-color: var(--rp-line);
    background: radial-gradient(circle at 100% 100%, rgba(22, 119, 255, .1), transparent 60%), var(--rp-surface);
}
.service-card.service-card--cta:hover { transform: none; box-shadow: var(--shadow-card); border-color: var(--rp-blue); }
.service-card.service-card--cta h3 { white-space: normal; font-size: 18px; }
.service-card.service-card--cta p { flex-grow: 0; }
.service-card--cta__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.service-card::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: linear-gradient(90deg, var(--rp-blue), var(--rp-blue-lite));
    transform: scaleX(0); transform-origin: left center; transition: transform 450ms var(--ease-out);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
    width: 46px; height: 46px; border-radius: 12px; background: var(--tint-blue); color: var(--rp-navy);
    display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
    transition: background 300ms ease, color 300ms ease, transform 400ms var(--ease-out);
}
.service-card:hover .service-card__icon { background: var(--rp-blue); color: var(--rp-white); transform: rotate(-8deg) scale(1.08); }
.service-card h3 { font-size: 16.5px; font-weight: 600; line-height: 1.3; }
.service-card p { font-size: 14.5px; color: var(--rp-muted); line-height: 1.5; flex-grow: 1; }
.service-card__foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--rp-hairline); padding-top: 12px; font-size: 13px; color: var(--rp-muted); }
.service-card__go { margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--rp-blue-ink); }   /* always right, with or without a label beside it */
.service-card:hover .arr, .tile:hover .arr { transform: translateX(5px); }

.code { font-size: 12px; font-weight: 600; letter-spacing: .7px; color: var(--rp-navy); background: var(--tint-navy); padding: 4px 8px; border-radius: 4px; transition: background 250ms ease, color 250ms ease; }
.code--light { align-self: flex-start; color: var(--rp-white); background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ---------- Square photo tiles (ports, industries) — 1:1 via Bootstrap .ratio ---------- */
.tile {
    position: relative; display: block; overflow: hidden; border-radius: 16px; color: var(--rp-white);
    box-shadow: var(--shadow-card); isolation: isolate;
    transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
.tile:hover { color: var(--rp-white); transform: translateY(-6px); box-shadow: 0 22px 44px rgba(11, 31, 58, .22); }
.tile__img { transition: transform 900ms var(--ease-out); }
img.tile__img { object-fit: cover; object-position: center top; background: var(--rp-ph-1); }
.tile .ph { align-items: flex-start; padding-top: 22px; }
.tile:hover .tile__img { transform: scale(1.08); }
.tile__shade {
    position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 1;
    background: linear-gradient(180deg, rgba(11, 31, 58, 0) 30%, rgba(11, 31, 58, .72) 62%, rgba(11, 31, 58, .94) 100%);
    transition: opacity 400ms ease;
}
.tile::after {
    content: ""; position: absolute; left: 0; bottom: 0; z-index: 2; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--rp-blue), var(--rp-blue-lite)); transform: scaleX(0); transform-origin: left center;
    transition: transform 450ms var(--ease-out);
}
.tile:hover::after { transform: scaleX(1); }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.tile__body h3 { font-size: 22px; font-weight: 600; color: var(--rp-white); }
.tile__body p { font-size: 14.5px; color: var(--on-dark-body); line-height: 1.45; }
.tile__go {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--rp-blue-lite);
    max-height: 0; opacity: 0; transform: translateY(8px); transition: max-height 400ms var(--ease-out), opacity 300ms ease, transform 400ms var(--ease-out);
}
.tile:hover .tile__go, .tile:focus-visible .tile__go { max-height: 30px; opacity: 1; transform: none; }
.tile--sm .tile__body { padding: 20px; }
.tile--sm .tile__body h3 { font-size: 18px; }
.tile--sm .tile__body p { font-size: 14px; }

.ports-extra { margin-top: 8px; }
.panel { background: var(--rp-white); border: 1px solid var(--rp-border); border-radius: var(--radius-lg); padding: 26px 28px; }
.panel h3 { font-size: 17px; font-weight: 600; }
.panel > p { font-size: 14px; color: var(--rp-muted); margin-top: 3px; }
.panel--dark { position: relative; overflow: hidden; background: radial-gradient(circle at 100% 0%, rgba(22, 119, 255, .2), transparent 50%), var(--rp-navy-deep); border-color: var(--rp-navy-deep); }
.panel--dark h3 { color: var(--rp-white); }
.panel--dark > p { color: var(--on-dark-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--rp-line); border-radius: 999px;
    background: var(--rp-surface); color: var(--rp-navy); font-size: 14.5px; font-weight: 600;
    transition: background 250ms ease, border-color 250ms ease, color 250ms ease, transform 250ms var(--ease-out);
}
.chip:hover { background: var(--rp-navy); border-color: var(--rp-navy); color: var(--rp-white); transform: translateY(-2px); }
.chip--dark { background: transparent; border-color: rgba(255, 255, 255, .35); color: var(--rp-white); }
.chip--dark:hover { background: var(--rp-blue-ink); border-color: var(--rp-blue-ink); color: var(--rp-white); }

/* Lane cards */
.lane-card { display: flex; flex-direction: column; gap: 14px; padding: 24px 26px; }
.lane-card__route { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--rp-navy-deep); white-space: nowrap; }
.lane-card__line { flex-grow: 1; display: flex; align-items: center; gap: 6px; color: var(--rp-navy); }
.lane-card__dash { flex-grow: 1; border-top: 2px dashed var(--rp-line); transition: border-color 300ms ease; }
.lane-card__ship { width: 32px; height: 20px; flex-shrink: 0; overflow: visible; transform-origin: 50% 90%; animation: bob 3.2s ease-in-out infinite; }
.lane-card__ship .s-hull { fill: var(--rp-navy); }
.lane-card__ship .s-box-a, .lane-card__ship .s-funnel { fill: var(--rp-blue); }
.lane-card__ship .s-box-b { fill: var(--rp-navy-deep); }
.lane-card__ship .s-box-c { fill: var(--rp-blue-lite); }
.lane-card__ship .s-win { fill: var(--rp-white); }
.lane-card__line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--rp-blue); flex-shrink: 0; }
.lane-card__line::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rp-blue); flex-shrink: 0; }
.lane-card:hover .lane-card__dash { border-color: var(--rp-blue-lite); }
.lane-card p { font-size: 14.5px; color: var(--rp-muted); line-height: 1.5; }

/* ---------- Process: sticky intro + scroll-filled vertical timeline ---------- */
.process {
    position: relative; overflow: clip; /* clip, not hidden — hidden would become the sticky intro's scroll container */
    color: var(--on-dark-muted);
    background:
        radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 26px 26px,
        linear-gradient(160deg, var(--rp-navy-deep) 0%, var(--rp-navy-ink) 100%);
}
.process__glow {
    position: absolute; left: -200px; top: 10%; width: 640px; height: 640px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(22, 119, 255, .16), transparent 65%); animation: drift 12s ease-in-out infinite alternate;
}
.process .container { position: relative; }
.process__intro { position: sticky; top: 120px; }
.process__intro h2 { font-size: 40px; line-height: 1.15; font-weight: 600; letter-spacing: -.5px; color: var(--rp-white); }
.process__lead { margin-top: 16px; font-size: 17.5px; color: var(--on-dark-muted); }
.process__points { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 32px; }
.process__points li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; color: var(--rp-white); }

.timeline { position: relative; }
.timeline__track { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; }
.timeline__fill {
    position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 2px;
    background: linear-gradient(180deg, var(--rp-blue-lite), var(--rp-blue)); transform: scaleY(0); transform-origin: center top;
    box-shadow: 0 0 12px rgba(22, 119, 255, .6);
}
.timeline__list { display: flex; flex-direction: column; gap: 18px; }
.timeline__item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; }
.timeline__n {
    position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 600; font-size: 17px;
    background: var(--rp-navy-ink); border: 2px solid rgba(255, 255, 255, .22); color: var(--on-dark-muted);
    transition: background 400ms ease, border-color 400ms ease, color 400ms ease, transform 400ms var(--ease-out), box-shadow 400ms ease;
}
.timeline__card {
    padding: 22px 24px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09);
    transition: background 400ms ease, border-color 400ms ease, transform 400ms var(--ease-out);
}
.timeline__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.timeline__icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: var(--on-dark-muted); transition: background 400ms ease, color 400ms ease; }
.timeline__tag { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--on-dark-faint); }
.timeline__card h3 { font-size: 19px; font-weight: 600; color: var(--rp-white); }
.timeline__card p { margin-top: 6px; font-size: 15.5px; color: var(--on-dark-muted); line-height: 1.55; }
/* active = the scroll line has reached this step (set by main.js); without JS every step shows active */
.timeline__item.is-active .timeline__n,
html:not(.js) .timeline__n { background: var(--rp-blue-ink); border-color: var(--rp-blue); color: var(--rp-white); box-shadow: 0 0 0 6px rgba(22, 119, 255, .18); }
.timeline__item.is-active .timeline__card { background: rgba(255, 255, 255, .07); border-color: rgba(91, 157, 255, .35); }
.timeline__item.is-active .timeline__icon { background: rgba(91, 157, 255, .16); color: var(--rp-blue-lite); }
.timeline__item:hover .timeline__card { transform: translateX(6px); }
html:not(.js) .timeline__fill { transform: none; }

/* ---------- Licences ---------- */
.licences__intro h2 { font-size: 38px; line-height: 1.18; font-weight: 600; letter-spacing: -.4px; }
.licences__intro > p:not(.eyebrow) { margin-top: 18px; font-size: 17.5px; color: var(--rp-muted); }
.licences__intro .link-arrow { display: inline-block; margin-top: 22px; font-size: 16px; }
.cred-grid { margin-bottom: 0; }
.cred {
    position: relative; overflow: hidden; border: 1px solid var(--rp-border); border-radius: var(--radius-lg); padding: 20px 22px; background: var(--rp-surface);
    transition: border-color 250ms ease, transform 300ms var(--ease-out), box-shadow 300ms ease;
}
.cred::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--rp-blue); transform: scaleY(0); transform-origin: bottom; transition: transform 350ms var(--ease-out); }
.cred:hover { border-color: var(--rp-line); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.cred:hover::after { transform: scaleY(1); }
.cred dt { font-size: 12.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--rp-muted); }
.cred dd { margin: 6px 0 0; font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--rp-navy-deep); }
.cert { height: 124px; border-radius: 10px; }

/* ---------- Proof ---------- */
.logos { margin-bottom: 40px; }
.logo-ph { height: 78px; border-radius: 10px; }
.review {
    margin: 0; background: var(--rp-white); border: 1px solid var(--rp-border); border-radius: var(--radius-lg); padding: 28px;
    transition: transform 350ms var(--ease-out), box-shadow 350ms var(--ease-out);
}
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.review__mark { color: var(--rp-blue); transition: transform 400ms var(--ease-out); }
.review:hover .review__mark { transform: scale(1.15) rotate(-6deg); }
.review blockquote { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: var(--rp-ink); }
.review figcaption { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rp-hairline); font-size: 14px; color: var(--rp-muted); }
.review figcaption strong { color: var(--rp-navy-deep); }

/* ---------- Posts ---------- */
.post-card__img { height: 180px; }
img.post-card__img { display: block; width: 100%; object-fit: cover; background: var(--rp-ph-1); }
.post-card__body { padding: 22px 24px 24px; }
.post-card h3 { font-size: 19px; font-weight: 600; line-height: 1.35; margin-top: 14px; transition: color 250ms ease; }
.post-card:hover h3 { color: var(--rp-blue-ink); }
.post-card__meta { font-size: 14px; color: var(--rp-muted); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq__intro h2 { font-size: 38px; line-height: 1.18; font-weight: 600; letter-spacing: -.4px; }
.faq__intro > p:not(.eyebrow) { margin: 18px 0 28px; font-size: 17px; color: var(--rp-muted); }
.faq__help { background: var(--rp-surface); border: 1px solid var(--rp-border); border-radius: var(--radius-lg); padding: 24px; }
.faq__help h3 { font-size: 17px; font-weight: 600; }
.faq__help p { font-size: 15px; color: var(--rp-muted); margin-top: 6px; }
.faq__help-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.faq__list { border-top: 1px solid var(--rp-border); }
.faq__item { border-bottom: 1px solid var(--rp-border); transition: background 300ms ease; }
.faq__item[open]:not(.is-closing) { background: linear-gradient(90deg, rgba(22, 119, 255, .04), transparent 70%); }
.faq__item summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px;
    padding: 22px 8px; font-family: var(--font-head); font-size: 17.5px; font-weight: 600; color: var(--rp-navy-deep); line-height: 1.4;
    transition: color 250ms ease;
}
.faq__item summary:hover { color: var(--rp-navy); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
    margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--rp-line); color: var(--rp-navy);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: transform 350ms var(--ease-out), background 250ms ease, border-color 250ms ease, color 250ms ease;
}
.faq__item summary:hover .faq__icon { border-color: var(--rp-blue); }
.faq__item[open]:not(.is-closing) .faq__icon { background: var(--rp-blue-ink); border-color: var(--rp-blue-ink); color: var(--rp-white); transform: rotate(135deg); }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 56px 24px 8px; font-size: 16px; line-height: 1.65; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(115deg, var(--rp-white) 0%, var(--rp-mist) 45%, var(--rp-mist-2) 100%); border-top: 1px solid var(--rp-border); }
.cta-band__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(22, 119, 255, .22); pointer-events: none; animation: drift 10s ease-in-out infinite alternate; }
.cta-band__ring--a { width: 380px; height: 380px; right: -80px; top: -120px; }
.cta-band__ring--b { width: 240px; height: 240px; right: 180px; bottom: -150px; animation-duration: 8s; animation-direction: alternate-reverse; }
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 48px; min-height: 220px; padding-top: 40px; padding-bottom: 40px; }
.cta-band__text { flex-grow: 1; }
.cta-band h2 { font-size: 36px; line-height: 1.2; font-weight: 600; letter-spacing: -.4px; color: var(--rp-navy-deep); }
.cta-band p { margin-top: 10px; font-size: 18.5px; color: var(--rp-navy-deep); }
.cta-band__actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    position: relative; overflow: clip; color: var(--on-dark-muted); font-size: 15px;
    background:
        radial-gradient(760px 380px at 100% 0%, rgba(22, 119, 255, .10), transparent 60%),
        radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 24px 24px,
        var(--rp-navy-deep);
}
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--rp-blue), rgba(91, 157, 255, 0) 70%); }

/* 1. brand + quick contact */
/* Footer (2026-09-26 refinement): brand + four link columns, then one contact bar (the NAP block) */
.footer-main { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 64px; padding: 72px 0 52px; }
.footer-brand { display: inline-block; }
.footer-brand img { width: 200px; height: 133px; }
.footer-pitch { margin-top: 20px; font-size: 15px; line-height: 1.65; color: var(--on-dark-muted); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.footer-badges li {
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 13px; font-weight: 500; color: var(--rp-white);
}
.footer-badges i { font-size: 13px; color: var(--rp-white); --fa-secondary-color: var(--rp-blue-lite); --fa-secondary-opacity: 1; }
.footer-cta { margin-top: 26px; justify-self: start; }
.footer-nav { display: grid; grid-template-columns: 1.3fr .95fr 1.15fr 1.35fr; gap: 28px; }
.footer-title { position: relative; margin-bottom: 18px; padding-bottom: 12px; font-size: 15px; font-weight: 600; color: var(--rp-white); }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; background: var(--rp-blue); }
/* link groups are <details>: always open above 767px (main.js), so the summary is just a heading there */
.footer-group > summary { display: block; list-style: none; cursor: default; }
.footer-group > summary::-webkit-details-marker { display: none; }
.footer-group__n, .footer-group__chev { display: none; }
.footer-group--sub { margin-top: 28px; }
.footer-list li + li { margin-top: 10px; }
.footer-list a {
    position: relative; display: inline-block; font-size: 14.5px; color: var(--on-dark-muted);
    transition: color 250ms ease, transform 300ms var(--ease-out);
}
.footer-list a::before {
    content: ""; position: absolute; left: -14px; top: 50%; width: 8px; height: 2px; background: var(--rp-blue);
    transform: scaleX(0); transform-origin: left center; transition: transform 300ms var(--ease-out);
}
.footer-list a:hover { color: var(--rp-white); transform: translateX(12px); }
.footer-list a:hover::before { transform: scaleX(1); }

.office-card__row { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.55; }
.office-card__row i { width: 18px; margin-top: 3px; font-size: 15px; color: var(--rp-white); --fa-secondary-color: var(--rp-blue-lite); text-align: center; }
.office-card__row strong { color: var(--rp-white); }
.office-card__row a { color: var(--on-dark-muted); }
.office-card__row a:hover { color: var(--rp-white); }
.footer-contact {
    /* the address takes what is left; call, WhatsApp and email are sized to their content so no number or
       the email ever wraps */
    display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, max-content); margin-bottom: 56px; border-radius: 18px; overflow: hidden;
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
}
.footer-contact__item { display: flex; align-items: flex-start; gap: 14px; padding: 26px 24px; font-size: 14.5px; line-height: 1.55; color: var(--on-dark-muted); }
.footer-contact__item + .footer-contact__item { border-left: 1px solid rgba(255, 255, 255, .1); }
.footer-contact__item > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.footer-contact__item small { margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .9px; text-transform: uppercase; color: var(--rp-blue-lite); }
.footer-contact__item strong { font-size: 15.5px; font-weight: 600; color: var(--rp-white); }
.footer-contact__item a { font-size: 15.5px; font-weight: 500; color: var(--rp-white); white-space: nowrap; }
.footer-contact__item a:hover { color: var(--rp-blue-lite); }
.footer-contact__icon {
    width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: rgba(22, 119, 255, .16); color: var(--rp-white); font-size: 17px; --duo-2: var(--rp-blue-lite);
}
.footer-contact__icon--wa { background: rgba(37, 211, 102, .16); color: var(--wa); font-size: 20px; }
.footer-contact a.footer-contact__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--rp-blue-lite); }
.footer-contact a.footer-contact__link:hover { color: var(--rp-white); }
.footer-contact__link i { transition: transform 250ms var(--ease-out); }
.footer-contact__link:hover i { transform: translateX(4px); }
@media (max-width: 1199px) {
    .footer-main { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .footer-brandcol { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 40px; align-items: start; }
    .footer-brandcol .footer-brand { grid-row: span 3; }
    .footer-pitch { margin-top: 0; max-width: 560px; }
    .footer-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-contact__item:nth-child(3) { border-left: 0; }
    .footer-contact__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
    /* bottom bar stacks, so the links stay on one line each and clear the floating WhatsApp button */
    .site-footer .footer-bar__inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; }
    .site-footer .footer-bar__inner a { white-space: nowrap; }
}
@media (max-width: 767px) {
    .footer-brandcol { display: block; }
    .footer-pitch { margin-top: 18px; }
    .footer-brand img { width: 170px; height: 113px; }
}


/* 4. bottom bar */
.footer-bar { background: rgba(7, 21, 41, .45); }
.footer-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; font-size: 13.5px; color: var(--on-dark-faint); }
.footer-bar__inner { padding-top: 14px; padding-bottom: 14px; }
.footer-bar__inner ul { display: flex; gap: 24px; }
.footer-reg { margin-top: 3px; font-size: 12.5px; letter-spacing: .2px; color: var(--on-dark-faint); }
.footer-reg span + span::before { content: "·"; margin: 0 6px; }
.footer-bar__inner a { display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark-faint); }
.footer-bar__inner a:hover { color: var(--rp-white); }

/* ---------- Fixed modules: quick connect (components/quick-connect.php) ----------
   Back to top, WhatsApp and callback, stacked bottom-right. (.fabtn, not .fab: .fab is Font Awesome Brands.) */
.fabs { position: fixed; right: 28px; bottom: 28px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.to-top {
    position: relative; width: 52px; height: 52px; margin-right: 4px; border-radius: 50%; background: var(--rp-navy-deep); color: var(--rp-white);
    display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(7, 21, 41, .3);
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: opacity 300ms ease, transform 400ms var(--ease-out), visibility 0s linear 400ms, background 250ms ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--rp-navy); color: var(--rp-white); }
.to-top__icon { position: relative; font-size: 17px; }
.to-top:hover .to-top__icon { animation: rise 500ms var(--ease-out); }
.to-top__ring { position: absolute; left: 0; top: 0; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: var(--rp-blue); stroke-width: 3; stroke-linecap: round; }
.fabtn {
    position: relative; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 23px; box-shadow: 0 12px 26px rgba(7, 21, 41, .3);
    transition: transform 300ms var(--ease-out);
}
.fabtn:hover { transform: scale(1.08); }
.fabtn:focus-visible { outline: 3px solid var(--rp-blue); outline-offset: 3px; }
.fabtn--wa { background: var(--wa); color: var(--wa-ink); font-size: 29px; }   /* dark ink on WhatsApp green: white would fail contrast */
.fabtn--wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: ripple 2.6s ease-out infinite; }
.fabtn--call { background: var(--rp-blue-ink); color: var(--rp-white); }
.fabtn__label {
    position: absolute; right: calc(100% + 12px); top: 50%; padding: 9px 15px; border-radius: 999px;
    background: var(--rp-white); color: var(--rp-navy-deep); box-shadow: var(--shadow-hover);
    font-family: var(--font-head); font-size: 14px; font-weight: 600; white-space: nowrap;
    opacity: 0; transform: translate(12px, -50%); transition: opacity 250ms ease, transform 350ms var(--ease-out); pointer-events: none;
}
.fabtn:hover .fabtn__label, .fabtn:focus-visible .fabtn__label { opacity: 1; transform: translate(0, -50%); }

/* ---------- Icon sizing (Font Awesome 7 Pro) ----------
   Duotone icons: navy (currentColor) primary + RP Blue secondary layer. */
/* the second tone reads --duo-2, which a parent (e.g. an icon square) can set; defaults to RP Blue */
.fa-duotone { --fa-primary-color: currentColor; --fa-secondary-color: var(--duo-2, var(--rp-blue)); --fa-secondary-opacity: 1; }
.btn i { font-size: 1em; }
.creds__icon i { font-size: 19px; }
.creds__item:hover .creds__icon i { --fa-secondary-color: var(--rp-blue-lite); }
.service-card__icon i { font-size: 21px; }
.service-card:hover .service-card__icon i { --fa-secondary-color: var(--rp-white); }
.service-card.service-card--feature .service-card__icon i { font-size: 25px; color: var(--rp-white); --fa-secondary-color: var(--rp-blue-lite); }
.service-card.service-card--feature:hover .service-card__icon i { color: var(--rp-white); --fa-secondary-color: var(--rp-navy-deep); }
.tile__icon {
    width: 44px; height: 44px; margin-bottom: 6px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font-size: 19px; color: var(--rp-white); --duo-2: var(--rp-blue-lite); transition: background 300ms ease, color 300ms ease, transform 400ms var(--ease-out);
}
.tile:hover .tile__icon { background: var(--rp-white); color: var(--rp-navy); --duo-2: var(--rp-blue); transform: rotate(-6deg); }
.lane-card:hover .lane-card__ship { animation: sail 2400ms ease-in-out infinite; }
.process__points i {
    width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    background: rgba(91, 157, 255, .14); color: var(--rp-white); font-size: 15px; --fa-secondary-color: var(--rp-blue-lite);
}
.timeline__icon i { font-size: 18px; --fa-secondary-color: currentColor; --fa-secondary-opacity: .45; }
.timeline__item.is-active .timeline__icon i { color: var(--rp-white); --fa-secondary-color: var(--rp-blue-lite); --fa-secondary-opacity: 1; }
.review__mark { font-size: 28px; }
.faq__icon i { font-size: 12px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1199px) {
    /* ---- Capsule always on; menu = tile launcher ---- */
    .site-header__inner {
        height: 76px; padding: 0 10px 0 16px; background: rgba(255, 255, 255, .94); border-color: rgba(226, 232, 240, .9);
        -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 12px 32px rgba(7, 21, 41, .18);
    }
    .brand, .site-header.is-scrolled .brand, .site-header--solid .brand { width: 112px; height: 63px; }
    .brand__light { opacity: 0; }
    .brand__dark { opacity: 1; }
    .menu-btn { display: inline-flex; }
    .site-header__cta { display: none; } /* the launcher carries Get a Quote */

    .hero h1 { font-size: 48px; }

    .creds__item + .creds__item { padding-left: 20px; }
    .creds__item strong { font-size: 14px; }

    .process__intro h2 { font-size: 36px; }
}

@media (max-width: 991px) {
    .section { padding: 72px 0; }
    .section-head h2, .licences__intro h2, .faq__intro h2 { font-size: 32px; }
    .hero h1 { font-size: 42px; }
    .hero__inner { padding-top: 150px; padding-bottom: 96px; }
    .hero__shade { background: linear-gradient(90deg, rgba(11, 31, 58, .95) 0%, rgba(11, 31, 58, .82) 60%, rgba(11, 31, 58, .5) 100%); }
    .creds__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 24px 0; }
    .creds__item + .creds__item { border-left: 0; padding-left: 0; }

    .process__intro { position: static; }
    .process__intro h2 { font-size: 32px; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 767px) {
    body { padding-bottom: 80px; } /* the page end scrolls clear of the floating buttons and the reCAPTCHA tab */
    .site-header.is-scrolled .site-header__inner { height: 76px; }
    .site-header__actions { gap: 8px; }

    .hero__shade { background: linear-gradient(180deg, rgba(11, 31, 58, .62) 0%, rgba(11, 31, 58, .9) 45%, var(--rp-navy-deep) 100%); }
    .hero__media { bottom: 0; }
    .hero__bg { object-position: 72% 50%; }
    .hero__inner { padding-top: 128px; padding-bottom: 56px; }
    .hero__copy { gap: 18px; }
    .hero h1 { font-size: 32px; line-height: 1.15; }
    .hero__lead { font-size: 16.5px; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { width: 100%; }
    .field input, .field select { font-size: 16px; } /* prevents iOS zoom on focus */

    .urgent::before { width: 100%; }
    .urgent__inner { flex-wrap: wrap; gap: 14px; padding-top: 20px; padding-bottom: 20px; }
    .urgent__text { flex-basis: calc(100% - 28px); font-size: 16px; }
    .urgent__actions { width: 100%; }
    .urgent__actions .btn { flex: 1; }

    .creds__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }

    .section-head--split { flex-direction: column; align-items: flex-start; gap: 16px; }

    /* square tiles at half width: keep only the essentials */
    .tile { border-radius: 12px; }
    .tile .ph { font-size: 9px; padding: 14px 8px 0; }
    .tile__body { padding: 14px; gap: 4px; }
    .tile__body h3, .tile--sm .tile__body h3 { font-size: 16px; }
    .tile__body p, .tile__go { display: none; }
    .tile--sm .tile__body { padding: 14px; }
    .code--light { font-size: 10.5px; padding: 3px 6px; }

    .service-card.service-card--feature h3 { font-size: 22px; }
    .service-card__badge { position: static; align-self: flex-start; order: -1; }

    .timeline__item { grid-template-columns: 44px 1fr; gap: 14px; }
    .timeline__n { width: 44px; height: 44px; font-size: 14px; }
    .timeline__track { left: 21px; top: 22px; bottom: 22px; }
    .timeline__card { padding: 18px; }
    .timeline__item:hover .timeline__card { transform: none; }

    /* phones: WhatsApp and callback side by side, no back-to-top, no hover labels */
    .fabs { right: 14px; bottom: 14px; flex-direction: row; align-items: center; gap: 10px; }
    .fabs .to-top, .fabtn__label { display: none; }
    .fabtn { width: 54px; height: 54px; font-size: 21px; }
    .fabtn--wa { font-size: 27px; }

    .cta-band__actions { flex-direction: column; width: 100%; }
    .cta-band__actions .btn { width: 100%; }
    .cta-band h2 { font-size: 28px; }
    .cta-band p { font-size: 16px; }

    /* Footer on phones: brand → contact card → link accordions → bottom bar. The quote button goes:
       the CTA band above and the floating call and WhatsApp buttons already carry it. */
    .site-footer > .container { display: flex; flex-direction: column; }
    .footer-main { display: contents; }
    .footer-brandcol { order: 1; padding-top: 48px; }
    .footer-brand img { width: 150px; height: 100px; }
    .footer-pitch { font-size: 14.5px; }
    .footer-cta { display: none; }
    .footer-contact { order: 2; grid-template-columns: minmax(0, 1fr); margin: 28px 0 12px; }
    .footer-contact__item + .footer-contact__item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
    /* slim inline icons instead of 38px boxes, so the text keeps the width; long values wrap, never clip */
    .footer-contact__item { gap: 12px; padding: 16px 18px; }
    .footer-contact__icon { width: 20px; height: 22px; justify-content: flex-start; border-radius: 0; background: none; font-size: 16px; }
    .footer-contact__icon--wa { background: none; font-size: 18px; }
    /* the email stays on one line: its size eases down on the narrowest phones (15.5px from 360px wide) */
    .footer-contact__item a.footer-contact__email { white-space: nowrap; font-size: clamp(13.5px, 4.3vw, 15.5px); }
    .footer-nav { order: 3; display: block; margin-bottom: 40px; }
    .footer-nav > div { display: contents; }
    .footer-group { border-bottom: 1px solid rgba(255, 255, 255, .1); }
    .footer-group--sub { margin-top: 0; }
    .footer-group > summary { display: flex; align-items: center; gap: 10px; min-height: 56px; cursor: pointer; }
    .footer-group > summary .footer-title { flex-grow: 1; margin: 0; padding: 0; font-size: 16px; }
    .footer-group > summary .footer-title::after { display: none; }
    .footer-group__n {
        display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px;
        background: rgba(255, 255, 255, .08); font-size: 12px; font-weight: 600; color: var(--on-dark-muted);
    }
    .footer-group__chev { display: block; font-size: 13px; color: var(--rp-blue-lite); transition: transform 250ms var(--ease-out); }
    .footer-group[open] .footer-group__chev { transform: rotate(180deg); }
    .footer-group .footer-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; padding: 2px 0 20px; }
    .footer-group .footer-list li + li { margin-top: 0; }
    .footer-list a { font-size: 14px; }
    /* bottom bar: centred; registrations as chips; back to top as a round icon button */
    .site-footer .footer-bar__inner { align-items: center; gap: 16px; padding: 22px 16px 24px; text-align: center; }
    .footer-bar__legal p:first-child { font-size: 13px; }
    .footer-reg { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
    .footer-reg span { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 11.5px; letter-spacing: .3px; }
    .footer-reg span + span::before { content: none; }
    .footer-bar__inner .footer-bar__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; }
    .site-footer .footer-bar__top { justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: var(--rp-white); }
    .footer-bar__top-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (max-width: 575px) {
    .section { padding: 56px 0; }
    .section-head { margin-bottom: 28px; }
    .section-head h2, .licences__intro h2, .faq__intro h2, .process__intro h2 { font-size: 26px; letter-spacing: 0; }
    .section-head__lead, .process__lead { font-size: 16px; }
    .eyebrow { font-size: 12px; }
    .eyebrow::before { width: 22px; }
    .hero h1 { font-size: 30px; }

    /* Services: the nine standard cards become a compact list; featured + CTA stay as cards */
    .services-grid { --bs-gutter-y: 0; }
    .services-grid > :first-child { margin-bottom: 16px; }
    .services-grid > :last-child { margin-top: 16px; }
    .service-card:not(.service-card--feature):not(.service-card--cta) {
        flex-direction: row; align-items: center; gap: 14px; min-height: 0; padding: 13px 2px;
        border: 0; border-bottom: 1px solid var(--rp-border); border-radius: 0; box-shadow: none;
    }
    .services-grid > :nth-child(2) .service-card { border-top: 1px solid var(--rp-border); }
    .service-card:not(.service-card--feature):not(.service-card--cta)::before { display: none; }
    .service-card:not(.service-card--feature):not(.service-card--cta):hover { transform: none; box-shadow: none; }
    .service-card:not(.service-card--feature):not(.service-card--cta) .service-card__icon { width: 40px; height: 40px; margin: 0; }
    .service-card:not(.service-card--feature):not(.service-card--cta) h3 { flex-grow: 1; font-size: 15.5px; white-space: normal; }
    /* the whole row is the link — show just the arrow so long names ("Breakbulk Loading / Unloading") fit */
    .service-card:not(.service-card--feature):not(.service-card--cta) .service-card__go { font-size: 0; }
    .service-card:not(.service-card--feature):not(.service-card--cta) .service-card__go .arr { font-size: 18px; }
    .service-card:not(.service-card--feature):not(.service-card--cta) p { display: none; }
    .service-card:not(.service-card--feature):not(.service-card--cta) .service-card__foot { border: 0; padding: 0; }
    .service-card:not(.service-card--feature):not(.service-card--cta) .service-card__foot > span:not(.service-card__go) { display: none; }   /* compact rows: arrow only */
    .service-card.service-card--feature { padding: 22px; }
    .service-card.service-card--feature p { font-size: 15.5px; }

    .panel { padding: 20px 18px; }
    .tile__body h3, .tile--sm .tile__body h3 { font-size: 14.5px; }

    .lane-card { padding: 16px 18px; gap: 10px; }
    .lane-card__route { font-size: 16px; }

    .process__points li { font-size: 15px; }
    .process__intro .btn { width: 100%; font-size: 15px; }
    .timeline__head { margin-bottom: 8px; }
    .timeline__card h3 { font-size: 17px; }
    .timeline__card p { font-size: 15px; }

    .cred { padding: 14px; }
    .cred dt { font-size: 11px; }
    .cred dd { font-size: 15.5px; }
    .cert { height: 84px; font-size: 8px; }

    .logos { margin-bottom: 24px; }
    .logo-ph { height: 56px; }

    .post-card { display: flex; align-items: center; border: 0; box-shadow: none; gap: 14px; border-radius: 0; overflow: visible; }
    .post-card:hover { transform: none; box-shadow: none; }
    .post-card .post-card__img, img.post-card__img { width: 112px; height: 84px; border-radius: 10px; flex-shrink: 0; font-size: 8px; }
    .post-card:hover .post-card__img { transform: none; }
    .post-card__body { padding: 0; }
    .post-card .tag { background: none; padding: 0; font-size: 11px; }
    .post-card h3 { font-size: 15px; margin-top: 4px; }
    .post-card__meta { display: none; }
    /* credentials bar: one card, five full-width rows, so every label fits on one line */
    .creds__list {
        display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 20px 0; padding: 4px 16px;
        border: 1px solid var(--rp-border); border-radius: 14px; background: var(--rp-surface);
    }
    .creds__list .creds__item, .creds__item + .creds__item {
        flex-direction: row; align-items: center; gap: 14px; padding: 12px 0; margin: 0;
        border: 0; border-radius: 0; background: none;
    }
    .creds__list .creds__item + .creds__item { border-top: 1px solid var(--rp-border); }
    .creds__icon { width: 38px; height: 38px; background: var(--rp-white); }
    .creds__icon i { font-size: 16px; }
    .creds__item > span:last-child { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
    .creds__item strong { font-size: 14.5px; }
    .creds__item strong + span { font-size: 13px; }
    .faq__item summary { font-size: 15.5px; padding: 16px 4px; }
    .faq__icon { width: 28px; height: 28px; }
    .faq__body p { padding: 0 4px 18px; font-size: 15px; }

}

/* ==========================================================================
   Quick-quote popup (components/popup-form.php) — native <dialog>
   ========================================================================== */
.quote-modal {
    width: 920px; max-width: calc(100% - 32px); max-height: calc(100% - 32px); margin: auto;
    padding: 0; border: 0; border-radius: 18px; background: transparent; color: var(--rp-ink); overflow: visible;
}
.quote-modal::backdrop { background: rgba(7, 21, 41, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.quote-modal[open] { animation: modal-in 380ms var(--ease-out); }
.quote-modal[open]::backdrop { animation: fade-in 300ms ease; }
.quote-modal.is-closing { animation: modal-out 220ms ease forwards; }
.quote-modal.is-closing::backdrop { animation: fade-out 220ms ease forwards; }
@keyframes modal-in { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes modal-out { to { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

.quote-modal__box {
    position: relative; display: grid; grid-template-columns: 330px minmax(0, 1fr); max-height: calc(100vh - 32px);
    border-radius: 18px; overflow: hidden; background: var(--rp-white); box-shadow: 0 40px 90px rgba(5, 14, 28, .45);
}
.quote-modal__close {
    position: absolute; right: 14px; top: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--rp-border); background: var(--rp-white); color: var(--rp-navy); font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    transition: background 250ms ease, color 250ms ease, transform 300ms var(--ease-out);
}
.quote-modal__close:hover { background: var(--rp-navy); border-color: var(--rp-navy); color: var(--rp-white); transform: rotate(90deg); }

.quote-modal__aside {
    display: flex; flex-direction: column; padding: 40px 32px 32px; color: var(--on-dark-muted);
    background:
        radial-gradient(circle at 100% 0%, rgba(22, 119, 255, .28), transparent 55%),
        linear-gradient(160deg, var(--rp-navy) 0%, var(--rp-navy-deep) 100%);
}
.quote-modal__aside .eyebrow { margin-bottom: 12px; }
.quote-modal__aside h2 { font-size: 26px; line-height: 1.2; font-weight: 600; color: var(--rp-white); }
.quote-modal__lead { margin-top: 12px; font-size: 15.5px; color: var(--on-dark-body); }
.quote-modal__points { display: flex; flex-direction: column; gap: 12px; margin: 26px 0; }
.quote-modal__points li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; color: var(--rp-white); }
.quote-modal__points i {
    width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .1); font-size: 14px; color: var(--rp-white); --fa-secondary-color: var(--rp-blue-lite);
}
.quote-modal__alt { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--on-dark-line); }
.quote-modal__alt p { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--on-dark-faint); }
.quote-modal__alt a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--rp-white); }
.quote-modal__alt a i { width: 16px; text-align: center; color: var(--rp-blue-lite); }
.quote-modal__alt a:hover { color: var(--rp-blue-lite); }

.quote-modal__form { padding: 44px 36px 32px; overflow-y: auto; }
.quote-modal__submit { width: 100%; margin-top: 24px; }
.quote-modal__note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--rp-muted); }

@media (max-width: 767px) {
    .quote-modal { max-width: calc(100% - 20px); max-height: calc(100% - 20px); }
    .quote-modal__box { grid-template-columns: 1fr; max-height: calc(100vh - 20px); overflow-y: auto; }
    .quote-modal__aside { padding: 28px 22px 22px; }
    .quote-modal__aside h2 { font-size: 22px; padding-right: 48px; }
    .quote-modal__close { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: var(--rp-white); }
    .quote-modal__points { display: none; }
    .quote-modal__alt { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; padding-top: 16px; }
    .quote-modal__alt p { width: 100%; }
    .quote-modal__form { padding: 24px 20px; overflow: visible; }
}

/* Quick-connect dialogs (components/quick-connect.php): the popup's dialog and motion, one column */
.qc { width: 580px; }
.qc__box {
    position: relative; display: flex; flex-direction: column; max-height: calc(100vh - 32px);
    border-radius: 18px; overflow: hidden; background: var(--rp-white); box-shadow: 0 40px 90px rgba(5, 14, 28, .45);
}
.qc__head {
    position: relative; flex-shrink: 0; padding: 24px 80px 22px 28px; color: var(--rp-white);
    background:
        radial-gradient(circle at 100% 0%, rgba(22, 119, 255, .28), transparent 55%),
        linear-gradient(160deg, var(--rp-navy) 0%, var(--rp-navy-deep) 100%);
}
.qc__head .eyebrow { margin-bottom: 6px; }
.qc__head h2 { font-size: 22px; line-height: 1.25; font-weight: 600; color: var(--rp-white); }
.qc__head .quote-modal__close { top: 20px; right: 18px; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: var(--rp-white); }
.qc__head .quote-modal__close:hover { background: var(--rp-white); border-color: var(--rp-white); color: var(--rp-navy); }
.qc__body { padding: 22px 28px 26px; overflow-y: auto; }

.qc__tabs {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 16px; padding: 5px;
    border-radius: 14px; background: var(--rp-surface); border: 1px solid var(--rp-border);
}
.qc__tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 60px; padding: 9px 6px;
    border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--rp-muted);
    font-size: 13.5px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.qc__tab i { font-size: 17px; --fa-secondary-color: currentColor; --fa-secondary-opacity: .4; }
.qc__tab:hover { color: var(--rp-navy); }
.qc__tab.is-active { background: var(--rp-white); border-color: var(--rp-border); box-shadow: 0 4px 12px rgba(11, 31, 58, .08); color: var(--rp-navy-deep); }
.qc__tab.is-active i { color: var(--rp-navy); --fa-secondary-color: var(--rp-blue); --fa-secondary-opacity: 1; }
.qc__tab:focus-visible { outline: 3px solid var(--rp-blue); outline-offset: 1px; }

.qc__direct { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 18px; font-size: 14.5px; color: var(--rp-muted); }
.qc__direct a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--rp-navy-deep); white-space: nowrap; }
.qc__direct a i { font-size: 13px; color: var(--rp-blue-ink); }
.qc__direct span { font-size: 12.5px; }
.qc__submit { width: 100%; margin-top: 20px; }
.qc__note { margin-top: 10px; text-align: center; font-size: 13px; color: var(--rp-muted); }
.qc__note a { color: var(--rp-blue-ink); text-decoration: underline; }
.qc .form-alert { margin: 16px 0 0; }
.qc .field textarea { min-height: 96px; }
.qc-wa .field textarea { min-height: 140px; }

.qc__success { padding: 10px 0 4px; text-align: center; }
.qc__success-icon {
    width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--tint-blue); color: var(--rp-blue-ink); font-size: 24px;
}
.qc__success h3 { font-size: 20px; font-weight: 600; color: var(--rp-navy-deep); }
.qc__success p { max-width: 40ch; margin: 8px auto 20px; }

@media (max-width: 767px) {
    .qc__box { max-height: calc(100vh - 20px); }
    .qc__head { padding: 20px 72px 18px 20px; }
    .qc__head h2 { font-size: 20px; }
    .qc__head .quote-modal__close { top: 16px; right: 14px; }
    .qc__body { padding: 18px 20px 22px; }
    .qc .field textarea { font-size: 16px; }   /* prevents iOS zoom on focus */
}
/* ---------- Reduced motion: final state, no movement ---------- */
/* ==========================================================================
   Inner pages — banner, breadcrumb, channels, tables, forms, legal text
   Used by contact, thank-you, 404, privacy-policy and terms; reusable by every inner page.
   Inner pages set $header_mode = 'solid' (the header starts as the capsule), so the
   banner is light and its top padding only has to clear the fixed header.
   ========================================================================== */
/* Inner-page banner (components/page-hero.php): breadcrumb + H1 only, on RP Navy.
   The header stays transparent over it, as it does over the homepage hero. */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 188px 0 92px; background: var(--rp-navy-deep); color: var(--rp-white); }
.page-hero__bg { position: absolute; inset: 0; z-index: -3; background: url('../video/hero-bg-video.webp') center 62% / cover no-repeat; opacity: .38; animation: hero-zoom 2.6s var(--ease-out) both; }
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background: linear-gradient(90deg, rgba(11, 31, 58, .97) 0%, rgba(11, 31, 58, .86) 45%, rgba(11, 31, 58, .5) 100%), linear-gradient(0deg, rgba(11, 31, 58, .9) 0%, rgba(11, 31, 58, 0) 50%);
}
.page-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7;
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.3px); background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.page-hero__sweep { position: absolute; right: -1%; bottom: -6%; z-index: -1; width: min(48vw, 660px); height: auto; pointer-events: none; animation: sweep-in 1.5s var(--ease-out) .15s both; }
@keyframes sweep-in { from { opacity: 0; transform: translate(-48px, 48px); } to { opacity: 1; transform: none; } }
.page-hero__rule { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--rp-blue), rgba(22, 119, 255, 0) 70%); }
.page-hero__inner { position: relative; }
.page-hero h1 {
    margin-top: 20px; max-width: 900px; font-size: 58px; line-height: 1.08; font-weight: 600; letter-spacing: -1.2px; color: var(--rp-white);
    text-wrap: balance; animation: rise 900ms var(--ease-out) 100ms backwards;
}

.crumbs ol {
    display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font-size: 13.5px; color: var(--on-dark-muted); animation: rise 800ms var(--ease-out) backwards;
}
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--rp-blue-lite); }
.crumbs a { display: inline-flex; align-items: center; gap: 7px; color: var(--on-dark-muted); }
.crumbs a:hover { color: var(--rp-white); }
.crumbs a i { font-size: 12px; color: var(--rp-blue-lite); }
.crumbs [aria-current] { color: var(--rp-white); font-weight: 500; }

/* Status pages (thank-you, 404): the message sits in the first section, below the banner */
.status-block { max-width: 720px; margin: 0 auto; text-align: center; }
.status-block h2 { margin-top: 18px; font-size: 34px; line-height: 1.2; font-weight: 600; letter-spacing: -.4px; text-wrap: balance; }
.status-block p { margin-top: 14px; font-size: 17.5px; line-height: 1.6; color: var(--rp-muted); }
.status-block__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.status-block .status-code { margin: 0 0 4px; font-size: 132px; line-height: 1; color: transparent; }

/* Legal pages: the plain-language summary + last-updated date open the text */
.legal-summary { margin-bottom: 36px; padding: 22px 24px; border-radius: 14px; background: var(--rp-mist); border: 1px solid rgba(22, 119, 255, .18); }
.legal-summary p { font-size: 16.5px; line-height: 1.7; }
.legal-summary__meta { margin-top: 10px; font-size: 13.5px; font-weight: 500; color: var(--rp-muted); }

/* ---- Contact page ---- */
.contact-float { position: relative; z-index: 2; margin-top: -64px; }
/* give the H1 room above the cards that overlap the banner */
.page-hero:has(+ .contact-float) { padding-bottom: 148px; }
.channel__value--sm { font-size: 16.5px; }
/* The email never wraps: its size follows the card's text width (container query), from 16.5px down to 13px.
   15px is the fallback for browsers without container-query units. */
.channel__body { container-type: inline-size; }
.channel .channel__value--email { white-space: nowrap; font-size: 15px; font-size: clamp(13px, 7.1cqi, 16.5px); }   /* beats the phone rule for .channel__value */
.channels--float .channel { border-color: transparent; box-shadow: 0 22px 50px rgba(11, 31, 58, .13); }
.channel__value a { color: inherit; }
.channel__value a:hover { color: var(--rp-blue-ink); }
.channel__badge {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px;
    background: var(--tint-blue); color: var(--rp-blue-ink); font-size: 12px; font-weight: 600;
}
.channel__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rp-blue); animation: pulse 2s ease-in-out infinite; }
.contact-intro__text { margin-top: 18px; font-size: 17.5px; line-height: 1.7; color: var(--rp-ink); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fact { position: relative; overflow: hidden; padding: 26px 24px; border-radius: 16px; background: var(--rp-white); border: 1px solid var(--rp-border); }
.fact--navy { color: var(--on-dark-muted); border-color: var(--rp-navy-deep); background: radial-gradient(260px 160px at 100% 0%, rgba(22, 119, 255, .35), transparent 65%), var(--rp-navy-deep); }
.fact__icon { position: absolute; right: 20px; top: 20px; font-size: 22px; color: var(--rp-navy); --duo-2: var(--rp-blue); }
.fact--navy .fact__icon { color: var(--rp-white); --duo-2: var(--rp-blue-lite); }
.fact__value { font-size: 42px; font-weight: 600; line-height: 1; letter-spacing: -1.2px; color: var(--rp-navy-deep); }
.fact__value small { margin-left: 4px; font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--rp-blue-ink); }
.fact--navy .fact__value { color: var(--rp-white); }
.fact--navy .fact__value small { color: var(--rp-blue-lite); }
.fact__label { margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: var(--rp-muted); }
.fact--navy .fact__label { color: var(--on-dark-muted); }
.facts__note { grid-column: 1 / -1; font-size: 13.5px; color: var(--rp-muted); }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.person { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: var(--rp-surface); border: 1px solid var(--rp-border); }
.person__avatar {
    width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--rp-navy), var(--rp-blue)); color: var(--rp-white); font-size: 17px; font-weight: 600; letter-spacing: .5px;
}
.person__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.person strong { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.3; color: var(--rp-navy-deep); }
.person small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--rp-muted); }
.contact-form-section { position: relative; overflow: clip; background: linear-gradient(180deg, var(--rp-mist) 0%, var(--rp-white) 100%); }
.contact-form-section::before {
    content: ""; position: absolute; left: -160px; top: 40px; width: 520px; height: 520px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(22, 119, 255, .14), transparent 65%);
}
.form-panel--raised { position: relative; border-color: transparent; box-shadow: 0 30px 70px rgba(11, 31, 58, .12); }
.office-panel__map { overflow: hidden; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.office-panel__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.chip--dark .code { background: rgba(255, 255, 255, .12); color: var(--rp-white); }

/* ---- Service pages (customs-clearance.php and the nine that follow its pattern) ---- */
/* at a glance */
.glance {
    position: relative; overflow: hidden; padding: 30px; border-radius: 20px; color: var(--on-dark-muted);
    background: radial-gradient(360px 220px at 100% 0%, rgba(22, 119, 255, .32), transparent 65%), var(--rp-navy-deep);
    box-shadow: 0 30px 70px rgba(11, 31, 58, .18);
}
.glance__title { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--rp-blue-lite); }
.glance__title i { font-size: 18px; color: var(--rp-white); --fa-secondary-color: var(--rp-blue-lite); }
.glance__list { margin: 18px 0 0; }
.glance__list > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.glance__list dt { font-size: 13.5px; font-weight: 500; color: var(--on-dark-faint); }
.glance__list dd { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 500; color: var(--rp-white); }
.glance__list a { color: var(--rp-blue-lite); }
.glance__list a:hover { color: var(--rp-white); }

/* scope cards */
.scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.scope-card {
    position: relative; padding: 28px; border-radius: 18px; background: var(--rp-white); border: 1px solid var(--rp-border);
    transition: transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 300ms ease;
}
.scope-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-hover); }
.scope-card__icon {
    width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    background: var(--tint-blue); color: var(--rp-navy); font-size: 20px; transition: background 250ms ease, color 250ms ease, transform 300ms var(--ease-out);
}
.scope-card:hover .scope-card__icon { background: var(--rp-blue); color: var(--rp-white); --duo-2: var(--rp-navy-deep); transform: rotate(-6deg); }
.scope-card h3 { margin-top: 20px; font-size: 18px; font-weight: 600; }
.scope-card p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--rp-muted); }

/* process: numbered flow */
.flow { height: 100%; padding: 30px; border-radius: 20px; background: var(--rp-surface); border: 1px solid var(--rp-border); }
.flow--export { background: var(--rp-mist); border-color: rgba(22, 119, 255, .18); }
.flow__title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; color: var(--rp-navy-deep); }
.flow__title i { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--rp-navy-deep); color: var(--rp-white); font-size: 16px; --fa-secondary-color: var(--rp-blue-lite); }
.flow__steps { position: relative; margin-top: 22px; counter-reset: flow; }
.flow__steps::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--rp-blue), rgba(22, 119, 255, .12)); }
.flow__steps li { position: relative; counter-increment: flow; padding: 0 0 18px 50px; font-size: 14.5px; line-height: 1.55; color: var(--rp-muted); }
.flow__steps li:last-child { padding-bottom: 0; }
.flow__steps li::before {
    content: counter(flow); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; background: var(--rp-white); border: 2px solid var(--rp-blue);
    font-size: 13px; font-weight: 600; color: var(--rp-blue-ink);
}
.flow__steps strong { display: block; font-size: 15.5px; font-weight: 600; color: var(--rp-navy-deep); }

/* documents table ticks */
.data-table--check td.yes, .data-table--check td.maybe, .data-table--check td.dash { white-space: nowrap; font-weight: 500; }
.data-table--check td.yes { color: var(--rp-navy-deep); }
.data-table--check td.yes::before { content: "\2713"; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: var(--rp-blue-ink); color: var(--rp-white); font-size: 11px; }
.data-table--check td.maybe { color: var(--rp-blue-ink); }
.data-table--check td.dash { color: var(--rp-caret); }
.reviewed { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: 13.5px; line-height: 1.55; color: var(--rp-muted); }
.reviewed i { margin-top: 2px; color: var(--rp-navy); --fa-secondary-color: var(--rp-blue); }

/* mid-page quote */
.quote-section__box { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(11, 31, 58, .16); }
.quote-section__aside {
    position: relative; padding: 44px 40px; color: var(--on-dark-muted);
    background: radial-gradient(420px 260px at 0% 100%, rgba(22, 119, 255, .35), transparent 65%), var(--rp-navy-deep);
}
.quote-section__aside h2 { margin-top: 6px; font-size: 30px; line-height: 1.2; font-weight: 600; color: var(--rp-white); text-wrap: balance; }
.quote-section__lead { margin-top: 12px; font-size: 16px; line-height: 1.6; }
.quote-section__points { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.quote-section__points li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--rp-white); }
.quote-section__points i { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1); font-size: 14px; --fa-secondary-color: var(--rp-blue-lite); }
.quote-section__alt { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.quote-section__alt a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--rp-white); }
.quote-section__alt a:hover { color: var(--rp-blue-lite); }
.quote-section__form { padding: 44px 40px; background: var(--rp-white); }
.quote-section__industry { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; background: var(--tint-blue); font-size: 14px; color: var(--rp-navy); }
.quote-section__industry i { color: var(--rp-blue-ink); }

/* ports offered */
.port-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.port-card {
    display: flex; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; border-radius: 16px; background: var(--rp-white); border: 1px solid var(--rp-border); color: var(--rp-ink);
    transition: transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 300ms ease;
}
.port-card:hover { color: var(--rp-ink); transform: translateY(-3px); border-color: transparent; box-shadow: var(--shadow-hover); }
.port-card__img { width: 84px; height: 84px; flex-shrink: 0; overflow: hidden; border-radius: 12px; background: var(--rp-ph-1); }
.port-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.port-card:hover .port-card__img img { transform: scale(1.1); }
.port-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; flex-grow: 1; }
.port-card__body strong { font-size: 16.5px; font-weight: 600; color: var(--rp-navy-deep); }
.port-card__body small { font-size: 13px; color: var(--rp-muted); }
.port-card__go { color: var(--rp-blue-ink); transition: transform 250ms var(--ease-out); }
.port-card:hover .port-card__go { transform: translateX(4px); }
.icd-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; padding: 18px 22px; border-radius: 16px; background: var(--rp-white); border: 1px solid var(--rp-border); }
.icd-row__label { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--rp-navy-deep); }
.icd-row__label i { color: var(--rp-navy); }
.icd-row .chips { margin-top: 0; }

/* single process flow: steps in two columns on wide screens */
@media (min-width: 992px) {
    .flow--wide .flow__steps { columns: 2; column-gap: 48px; }
    .flow--wide .flow__steps::before { display: none; }
    .flow--wide .flow__steps li { break-inside: avoid; }
}
/* anchored sections (Breakbulk): the Services menu links straight to each card */
.anchor-group { display: flex; align-items: center; gap: 12px; margin: 8px 0 16px; font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--rp-blue-ink); }
.anchor-group::after { content: ""; flex-grow: 1; height: 1px; background: var(--rp-border); }
.anchor-grid + .anchor-group { margin-top: 44px; }
.anchor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.anchor-card {
    padding: 28px; border-radius: 18px; background: var(--rp-white); border: 1px solid var(--rp-border); scroll-margin-top: 130px;
    transition: transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 300ms ease;
}
.anchor-card:hover, .anchor-card:target { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-hover); }
.anchor-card:target { box-shadow: 0 0 0 3px var(--rp-blue), var(--shadow-hover); }
.anchor-card h3 { margin-top: 20px; font-size: 18px; font-weight: 600; }
.anchor-card > p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--rp-muted); }
.tick-list--sm { margin-top: 16px; gap: 8px; }
.tick-list--sm li { font-size: 14px; font-weight: 500; }
.tick-list--sm i { width: 20px; height: 20px; font-size: 10px; }
@media (max-width: 991px) { .anchor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .anchor-grid { grid-template-columns: minmax(0, 1fr); } }

/* case study slot */
.case-slot {
    display: flex; flex-direction: column; padding: 28px; border-radius: 18px; border: 2px dashed var(--rp-line); background: var(--rp-white);
}
.case-slot__icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--tint-blue); color: var(--rp-navy); font-size: 19px; }
.case-slot__label { margin-top: 18px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--rp-blue-ink); }
.case-slot__text { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--rp-muted); }

@media (max-width: 1199px) {
    .port-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quote-section__box { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .scope-grid, .port-cards { grid-template-columns: minmax(0, 1fr); }
    .glance { padding: 24px; }
    .glance__list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .flow { padding: 24px 20px; }
    .quote-section__aside, .quote-section__form { padding: 30px 22px; }
    .quote-section__aside h2 { font-size: 25px; }
}

/* ---- Service + port page redesign (2026-09-28): photo intro, facts band, timeline, featured cards ---- */
.facts-band {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 64px 0 0; border-radius: 20px; overflow: hidden;
    background: radial-gradient(460px 220px at 100% 0%, rgba(22, 119, 255, .32), transparent 65%), var(--rp-navy-deep);
    box-shadow: 0 24px 60px rgba(11, 31, 58, .16);
}
.facts-band > div { padding: 24px 26px; border-left: 1px solid rgba(255, 255, 255, .1); }
.facts-band > div:first-child { border-left: 0; }
.facts-band dt { font-size: 12px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; color: var(--rp-blue-lite); }
.facts-band dd { margin: 8px 0 0; font-size: 15.5px; line-height: 1.5; font-weight: 500; color: var(--rp-white); }
.about-visual__badge--code small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 1px; color: var(--rp-muted); }
.about-visual__badge--code strong { font-size: 22px; letter-spacing: 1.5px; }

/* scope cards: numbered, first card featured in navy */
.scope-card { overflow: hidden; }
.scope-card__n { position: absolute; right: 22px; top: 16px; font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -1px; color: var(--rp-hairline); transition: color 300ms ease; }
.scope-card:hover .scope-card__n { color: rgba(22, 119, 255, .14); }
.scope-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--rp-blue), var(--rp-blue-lite)); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease-out); }
.scope-card:hover::after { transform: scaleX(1); }
.scope-card--feature { border-color: var(--rp-navy-deep); background: radial-gradient(300px 180px at 100% 0%, rgba(22, 119, 255, .35), transparent 65%), var(--rp-navy-deep); }
.scope-card--feature h3 { color: var(--rp-white); }
.scope-card--feature p { color: var(--on-dark-muted); }
.scope-card--feature .scope-card__icon { background: var(--rp-blue-ink); color: var(--rp-white); --duo-2: var(--rp-navy-deep); }
.scope-card--feature .scope-card__n, .scope-card--feature:hover .scope-card__n { color: rgba(255, 255, 255, .1); }

/* timeline with more than one flow */
.timeline-flow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 20px; font-weight: 600; color: var(--rp-white); }
.timeline-flow i { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--rp-blue-ink); font-size: 16px; color: var(--rp-white); --fa-secondary-color: var(--rp-navy-deep); }
.timeline--next { margin-bottom: 0; }
.timeline + .timeline-flow { margin-top: 44px; }

/* documents: sticky explainer beside the table */
.docs-aside { position: sticky; top: 124px; }
.docs-aside h2 { font-size: 34px; line-height: 1.2; font-weight: 600; letter-spacing: -.4px; }
.docs-aside .section-head__lead { margin-top: 14px; }
.docs-tip { margin-top: 26px; padding: 22px; border-radius: 16px; background: var(--rp-white); border: 1px solid var(--rp-border); box-shadow: var(--shadow-card); }
.docs-tip__icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(37, 211, 102, .14); color: var(--wa-ink); font-size: 22px; }
.docs-tip p { margin: 14px 0 16px; font-size: 15px; line-height: 1.55; color: var(--rp-muted); }
.docs-tip strong { display: block; color: var(--rp-navy-deep); }

/* port photo tiles on service pages */
.tile--port .tile__body p { font-size: 13.5px; }
.tile--port .ratio-16x9 .tile__img { object-position: center 70%; } /* wide crops: show the quay, not the sky */
.compare { position: relative; }
.compare .data-table tbody td:first-child { color: var(--rp-navy-deep); }

@media (max-width: 1199px) {
    .facts-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts-band > div:nth-child(odd) { border-left: 0; }
    .facts-band > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
}
@media (max-width: 991px) {
    .docs-aside { position: static; }
    .docs-aside h2 { font-size: 28px; }
}
@media (max-width: 575px) {
    .facts-band { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
    .facts-band > div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 20px; }
    .facts-band > div:first-child { border-top: 0; }
    .scope-card__n { font-size: 34px; }
    .timeline-flow { font-size: 18px; }
}

/* ---- About: advisory grid + mission ---- */
.scope-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.scope-card--wide { grid-column: span 2; }
@media (max-width: 767px) { .scope-card--wide { grid-column: auto; } }
.mission { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: stretch; margin-top: 48px; }
.mission__text { padding: 32px; border-radius: 20px; background: var(--rp-white); border: 1px solid var(--rp-border); }
.mission__lead { font-size: 19px; line-height: 1.6; font-weight: 500; color: var(--rp-navy-deep); }
.mission__quote { position: relative; margin: 0; padding: 32px; border-radius: 20px; color: var(--rp-white); background: radial-gradient(320px 200px at 100% 0%, rgba(22, 119, 255, .4), transparent 65%), var(--rp-navy-deep); }
.mission__quote i { font-size: 30px; color: var(--rp-white); --fa-secondary-color: var(--rp-blue-lite); }
.mission__quote p { margin-top: 14px; font-size: 22px; line-height: 1.4; font-weight: 600; }
.mission__quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 14px; font-weight: 500; color: var(--rp-blue-lite); }
@media (max-width: 1199px) { .scope-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991px) { .mission { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 575px) { .scope-grid--4 { grid-template-columns: minmax(0, 1fr); } .mission__text, .mission__quote { padding: 24px; } .mission__lead { font-size: 17px; } }

/* linked scope cards (city pages: export -> industry guide) */
.scope-card--link { display: block; color: var(--rp-ink); }
.scope-card--link:hover { color: var(--rp-ink); }
.scope-card__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--rp-blue-ink); }
.scope-card--feature .scope-card__go { color: var(--rp-blue-lite); }
.scope-card--link:hover .arr { transform: translateX(5px); }

/* ---- ICD pages: route diagram ---- */
.route-card {
    position: relative; overflow: hidden; padding: 30px; border-radius: 24px; color: var(--on-dark-muted);
    background: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 22px 22px, radial-gradient(380px 240px at 100% 0%, rgba(22, 119, 255, .35), transparent 65%), var(--rp-navy-deep);
    box-shadow: 0 30px 70px rgba(11, 31, 58, .2);
}
.route-card__title { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--rp-blue-lite); }
.route-card__title i { font-size: 18px; color: var(--rp-white); --fa-secondary-color: var(--rp-blue-lite); }
.route { position: relative; display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.route::before { content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px; width: 2px; background: repeating-linear-gradient(180deg, var(--rp-blue-lite) 0 6px, transparent 6px 12px); opacity: .6; }
.route__node { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 0; }
.route__icon {
    position: relative; z-index: 1; width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--rp-navy-ink); border: 2px solid rgba(255, 255, 255, .22); color: var(--rp-white); font-size: 20px; --duo-2: var(--rp-blue-lite);
}
.route__node--hub .route__icon { background: var(--rp-blue-ink); border-color: var(--rp-blue-lite); box-shadow: 0 0 0 6px rgba(22, 119, 255, .2); animation: pulse 2.4s ease-in-out infinite; }
.route__node strong { display: block; font-size: 17px; font-weight: 600; color: var(--rp-white); }
.route__node small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--on-dark-muted); }
.route__leg { margin-left: 70px; padding: 6px 12px; align-self: flex-start; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; font-weight: 600; color: var(--rp-blue-lite); }

/* ---- Port pages (components/port-page.php) ---- */
.glance__code { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.glance__code span { font-size: 12.5px; font-weight: 600; letter-spacing: 1px; color: var(--on-dark-faint); }
.glance__code strong { font-size: 26px; font-weight: 600; letter-spacing: 2px; color: var(--rp-white); font-variant-numeric: tabular-nums; }
.presence-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 18px; border-radius: 999px; background: rgba(22, 119, 255, .2); border: 1px solid rgba(91, 157, 255, .4); font-size: 15px; font-weight: 500; color: var(--rp-white); }
.presence-badge i { color: var(--rp-white); --fa-secondary-color: var(--rp-blue-lite); }
.presence-list { display: flex; flex-direction: column; gap: 12px; }
.presence-list li {
    position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; padding: 20px 64px 20px 22px; border-radius: 16px;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.presence-list strong { font-size: 17px; font-weight: 600; color: var(--rp-white); }
.presence-list li > span:last-child { font-size: 15px; line-height: 1.55; color: var(--on-dark-muted); }
.presence-list__n { top: 50%; right: 20px; transform: translateY(-50%); font-size: 40px; }
.port-svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.port-svc__item {
    display: flex; align-items: center; gap: 16px; padding: 16px 20px 16px 16px; border-radius: 16px; background: var(--rp-white); border: 1px solid var(--rp-border); color: var(--rp-ink);
    transition: transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 300ms ease;
}
.port-svc__item:hover { color: var(--rp-ink); transform: translateY(-3px); border-color: transparent; box-shadow: var(--shadow-hover); }
.port-svc__item:hover .scope-card__icon { background: var(--rp-blue); color: var(--rp-white); --duo-2: var(--rp-navy-deep); }
.port-svc__item > span:nth-child(2) { flex-grow: 1; min-width: 0; }
.port-svc__item strong { display: block; font-size: 16px; font-weight: 600; color: var(--rp-navy-deep); }
.port-svc__item small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--rp-muted); }
.port-svc__go { color: var(--rp-blue-ink); transition: transform 250ms var(--ease-out); }
.port-svc__item:hover .port-svc__go { transform: translateX(4px); }
.deep-link {
    display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 20px 24px; border-radius: 18px; color: var(--on-dark-muted);
    background: radial-gradient(360px 180px at 100% 0%, rgba(22, 119, 255, .35), transparent 65%), var(--rp-navy-deep);
    transition: transform 300ms var(--ease-out);
}
.deep-link:hover { color: var(--on-dark-muted); transform: translateY(-3px); }
.deep-link > span:nth-child(2) { flex-grow: 1; }
.deep-link strong { display: block; font-size: 17px; font-weight: 600; color: var(--rp-white); }
.deep-link small { display: block; font-size: 14px; }
.deep-link > i { color: var(--rp-blue-lite); font-size: 18px; }
.deep-link__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1); color: var(--rp-white); font-size: 20px; --duo-2: var(--rp-blue-lite); }
.deep-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 16px; margin-top: 20px; }
.deep-links .deep-link { margin-top: 0; }
.hub-extra { margin-top: 72px; }

/* FAQ page (components/faq-page.php) */
.section--tight-bottom { padding-bottom: 24px; }
.faq-count { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.faq-count > div { padding: 20px 18px; border-radius: 16px; background: var(--rp-navy-deep); }
.faq-count dt { font-family: var(--font-head); font-size: 30px; font-weight: 600; line-height: 1.1; color: var(--rp-white); }
.faq-count dd { margin: 6px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--on-dark-muted); }
.faq-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.faq-topics .chip { gap: 8px; }
.faq-topics .chip i { color: var(--rp-blue-ink); transition: color 250ms ease; }
.faq-topics .chip:hover i { color: var(--rp-white); }
.faq-topics__n { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--tint-blue); color: var(--rp-blue-ink); font-size: 12px; }
.faq-aside { position: sticky; top: 120px; }
.faq-aside__list { display: flex; flex-direction: column; gap: 4px; margin: 14px 0 24px; }
.faq-aside__list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--rp-navy-deep); font-weight: 500; transition: background 250ms ease; }
.faq-aside__list a:hover { background: var(--rp-surface); }
.faq-aside__list i { width: 20px; color: var(--rp-blue-ink); }
.faq-aside__list span { flex-grow: 1; }
.faq-aside__list small { font-size: 13px; color: var(--rp-muted); }
.faq-group { scroll-margin-top: 120px; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group__title { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 26px; line-height: 1.25; font-weight: 600; text-wrap: balance; }
.faq-group__icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: var(--tint-blue); color: var(--rp-navy); font-size: 19px; }
.faq__more { display: inline-flex; gap: 6px; margin: -10px 0 24px 8px; font-size: 14.5px; font-weight: 600; color: var(--rp-blue-ink); }
.faq__more:hover { color: var(--rp-navy); }
@media (max-width: 991px) {
    .faq-aside { position: static; }
    .faq-aside__list { display: none; }   /* the topic chips above do the job on smaller screens */
}
@media (max-width: 575px) {
    .faq-count { grid-template-columns: minmax(0, 1fr); }
    .faq-count > div { display: flex; align-items: baseline; gap: 10px; padding: 14px 16px; }
    .faq-count dd { margin: 0; }
    .faq-group__title { font-size: 21px; }
    .faq__more { margin: -6px 0 18px 4px; }
}

/* reCAPTCHA badge: Google's default bottom-right spot sits under the floating quick-connect buttons.
   It moves to bottom-left as the logo tab, opening to the full notice on hover/focus. */
.grecaptcha-badge {
    left: 0 !important; right: auto !important; bottom: 18px !important; width: 70px !important; overflow: hidden !important;
    border-radius: 0 6px 6px 0 !important; transition: width 300ms var(--ease-out) !important; z-index: 39 !important;
}
.grecaptcha-badge:hover, .grecaptcha-badge:focus-within { width: 256px !important; }
@media (max-width: 767px) {
    .grecaptcha-badge { bottom: 14px !important; }   /* level with the floating buttons */
}

/* Phone fields with the country picker (intl-tel-input, loaded on first form use): keep the field full width */
.field .iti { display: block; width: 100%; }
.field .iti__flag-container { z-index: 2; }
.field .iti__country-list { z-index: 60; max-width: min(320px, 80vw); white-space: normal; color: var(--rp-ink); font-size: 14px; }

/* Lead forms: the error a handler sends back, and room under the fixed header when jumping to #lead-… */
form[data-lead] { scroll-margin-top: 130px; }
.form-alert {
    display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; padding: 12px 16px; border-radius: 12px;
    background: var(--tint-blue); border: 1px solid rgba(11, 94, 215, .25); color: var(--rp-navy-deep); font-size: 14.5px; line-height: 1.5;
}
.form-alert i { margin-top: 3px; color: var(--rp-blue-ink); }
[type="submit"][aria-busy="true"] { opacity: .7; cursor: progress; }

/* Coming soon (resource pages awaiting content) */
.soon { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.soon-badge {
    display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px;
    background: var(--tint-blue); color: var(--rp-blue-ink); font-size: 12.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}
.soon h2 { margin-top: 18px; font-size: 36px; line-height: 1.2; font-weight: 600; letter-spacing: -.4px; text-wrap: balance; }
.soon__text { margin-top: 14px; max-width: 62ch; font-size: 17px; line-height: 1.65; color: var(--rp-muted); }
.soon__label { margin-top: 28px; font-size: 12.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--rp-muted); }
.soon .tick-list { margin-top: 14px; }
.soon-card {
    position: relative; overflow: hidden; padding: 38px 36px; border-radius: 24px; color: var(--on-dark-muted);
    background: radial-gradient(420px 240px at 100% 0%, rgba(22, 119, 255, .35), transparent 65%), var(--rp-navy-deep);
    box-shadow: 0 30px 60px rgba(11, 31, 58, .18);
}
.soon-card__bg { position: absolute; right: -24px; bottom: -34px; font-size: 190px; color: rgba(255, 255, 255, .05); --fa-secondary-opacity: 1; --duo-2: rgba(255, 255, 255, .03); pointer-events: none; }
.soon-card__icon {
    position: relative; width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
    background: var(--rp-blue-ink); color: var(--rp-white); font-size: 24px; --duo-2: var(--rp-navy-deep);
}
.soon-card__kind { position: relative; margin-top: 22px; font-size: 12.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--rp-blue-lite); }
.soon-card__name { position: relative; margin-top: 6px; font-family: var(--font-head); font-size: 25px; font-weight: 600; line-height: 1.25; color: var(--rp-white); }
.soon-card__label { position: relative; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--on-dark-muted); }
.soon-steps { position: relative; display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.soon-steps li { display: flex; align-items: flex-start; gap: 14px; font-size: 14.5px; line-height: 1.5; }
.soon-steps li > span:first-child {
    width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 1.5px solid rgba(255, 255, 255, .28); font-size: 13px; font-weight: 600; color: var(--rp-white);
}
.soon-steps strong { display: block; font-size: 15.5px; font-weight: 600; color: var(--rp-white); }
@media (max-width: 991px) { .soon { grid-template-columns: minmax(0, 1fr); gap: 40px; } .soon h2 { font-size: 30px; } }
@media (max-width: 575px) { .soon h2 { font-size: 26px; } .soon-card { padding: 30px 22px; } .soon-card__name { font-size: 22px; } }
@media (max-width: 767px) { .hub-extra { margin-top: 56px; } }
.section--tight { padding: 56px 0; }
.icd-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; }
.icd-band .eyebrow { margin-bottom: 8px; }
.icd-band__title { font-size: 26px; font-weight: 600; line-height: 1.25; }
.icd-band__lead { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--rp-muted); }
.icd-band .chips { margin-top: 0; }
.steps6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s6; }
.steps6 li {
    position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; border-radius: 18px; background: var(--rp-white); border: 1px solid var(--rp-border);
    transition: transform 300ms var(--ease-out), box-shadow 300ms ease;
}
.steps6 li:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.steps6__n { font-size: 36px; font-weight: 600; line-height: 1; letter-spacing: -1px; color: var(--rp-blue); margin-bottom: 8px; }
.steps6 strong { font-size: 17px; font-weight: 600; color: var(--rp-navy-deep); }
.steps6 li > span:last-child { font-size: 14.5px; line-height: 1.55; color: var(--rp-muted); }
.lane-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lane-mini {
    display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border-radius: 16px; background: var(--rp-white); border: 1px solid var(--rp-border); color: var(--rp-ink);
    transition: transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 300ms ease;
}
.lane-mini:hover { color: var(--rp-ink); transform: translateY(-3px); border-color: transparent; box-shadow: var(--shadow-hover); }
.lane-mini__route { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; color: var(--rp-navy-deep); }
.lane-mini__route i { font-size: 14px; color: var(--rp-blue); }
.lane-mini__meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--rp-muted); }
@media (max-width: 991px) {
    .port-svc, .icd-band { grid-template-columns: minmax(0, 1fr); }
    .steps6, .lane-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
    .steps6, .lane-grid { grid-template-columns: minmax(0, 1fr); }
    .presence-list li { padding-right: 56px; }
    .glance__code strong { font-size: 22px; }
}

/* ---- About page ---- */
.about-text { margin-top: 16px; font-size: 16.5px; line-height: 1.75; color: var(--rp-muted); }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.tick-list { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.tick-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; font-weight: 500; color: var(--rp-navy-deep); }
.tick-list i {
    width: 24px; height: 24px; flex-shrink: 0; margin-top: 1px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--tint-blue); color: var(--rp-blue-ink); font-size: 11px;
}

/* photo composition: port photo, warehouse inset, floating badges */
.about-visual { position: relative; padding: 0 0 56px 56px; }
.about-visual__ring {
    position: absolute; left: 0; top: 40px; width: 70%; aspect-ratio: 1; border-radius: 50%; z-index: 0;
    background: radial-gradient(circle, rgba(22, 119, 255, .16), transparent 68%);
}
.about-visual__main { position: relative; z-index: 1; overflow: hidden; aspect-ratio: 1; border-radius: 24px; box-shadow: 0 30px 70px rgba(11, 31, 58, .18); }
.about-visual__main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.about-visual:hover .about-visual__main img { transform: scale(1.04); }
.about-visual__inset {
    position: absolute; left: 0; bottom: 0; z-index: 2; width: 46%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px;
    border: 6px solid var(--rp-white); box-shadow: 0 22px 50px rgba(11, 31, 58, .2);
}
.about-visual__inset img { width: 100%; height: 100%; object-fit: cover; }
.about-visual__badge {
    position: absolute; right: -14px; top: 28px; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px;
    border-radius: 16px; background: var(--rp-white); box-shadow: 0 18px 44px rgba(11, 31, 58, .16); animation: float-y 5s ease-in-out infinite;
}
.about-visual__badge-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--rp-navy-deep); color: var(--rp-white); font-size: 19px; --duo-2: var(--rp-blue-lite); }
.about-visual__badge strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.2; color: var(--rp-navy-deep); }
.about-visual__badge span:last-child { font-size: 13.5px; color: var(--rp-muted); }
.about-visual__chip {
    position: absolute; right: 24px; bottom: 76px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
    border-radius: 999px; background: rgba(11, 31, 58, .88); color: var(--rp-white); font-size: 14px; font-weight: 500;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: float-y 5s ease-in-out 1.2s infinite;
}
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* stats band */
.stats {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 72px; border-radius: 20px; overflow: hidden;
    background: radial-gradient(420px 200px at 100% 0%, rgba(22, 119, 255, .3), transparent 65%), var(--rp-navy-deep);
}
.stat { padding: 30px 28px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .1); }
.stat__value { font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -1px; color: var(--rp-white); }
.stat__value small { margin: 0 10px 0 4px; font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--rp-blue-lite); }
.stat__label { margin-top: 12px; font-size: 14.5px; color: var(--on-dark-muted); }

/* journey timeline */
.journey { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.journey::before { content: ""; position: absolute; left: 8px; right: 8px; top: 9px; height: 2px; background: linear-gradient(90deg, var(--rp-blue), rgba(22, 119, 255, .15)); }
.journey__step { position: relative; padding-top: 38px; }
.journey__dot { position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--rp-white); border: 4px solid var(--rp-blue); box-shadow: 0 0 0 5px rgba(22, 119, 255, .12); }
.journey__step--now .journey__dot { background: var(--rp-blue); animation: pulse 2s ease-in-out infinite; }
.journey__date { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--tint-blue); font-size: 12.5px; font-weight: 600; letter-spacing: .4px; color: var(--rp-blue-ink); }
.journey__step h3 { margin-top: 14px; font-size: 16.5px; font-weight: 600; line-height: 1.3; }
.journey__step p:last-child { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--rp-muted); }

/* services table with group icons */
.table-wrap--raised { border-color: transparent; box-shadow: 0 24px 60px rgba(11, 31, 58, .1); }
.data-table td a { font-weight: 500; }
.data-table--groups td { padding-top: 18px; padding-bottom: 18px; }
.group-cell { display: flex; align-items: center; gap: 12px; }
.group-cell__icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--tint-blue); color: var(--rp-navy); font-size: 16px; }

/* why band over a port photo */
.why-band { position: relative; overflow: hidden; isolation: isolate; }
.why-band__bg { position: absolute; inset: 0; z-index: -1; background: url('../img/ports/mundra-port.webp') center / cover no-repeat; opacity: .16; }
.why-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--rp-navy-deep) 0%, rgba(11, 31, 58, .6) 50%, var(--rp-navy-deep) 100%); }
.why-band__lead { font-size: 17px; line-height: 1.65; color: var(--on-dark-muted); }
.reason {
    position: relative; overflow: hidden; height: 100%; padding: 30px 28px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform 300ms var(--ease-out), background 300ms ease, border-color 300ms ease;
}
.reason:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); border-color: rgba(91, 157, 255, .5); }
.reason__n { position: absolute; right: 22px; top: 14px; font-size: 54px; font-weight: 600; line-height: 1; color: rgba(255, 255, 255, .07); }
.reason__icon {
    width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    background: var(--rp-blue-ink); color: var(--rp-white); font-size: 21px; --duo-2: var(--rp-navy-deep);
}
.reason h3 { margin-top: 22px; font-size: 19px; font-weight: 600; color: var(--rp-white); }
.reason p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--on-dark-muted); }

/* team portraits */
.leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-bottom: 40px; }
.leader { margin: 0; }
.leader--offset { transform: translateY(40px); }
.leader__photo { position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 20px; background: var(--rp-ph-1); box-shadow: 0 24px 60px rgba(11, 31, 58, .14); }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 900ms var(--ease-out); }
.leader:hover .leader__photo img { transform: scale(1.05); }
.leader__plate {
    position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 12px 12px 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.leader__plate strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.25; color: var(--rp-navy-deep); }
.leader__plate strong + span { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--rp-blue-ink); }
.leader__actions { display: flex; gap: 6px; flex-shrink: 0; }
.leader__actions a {
    width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--rp-navy-deep); color: var(--rp-white); font-size: 13px; transition: background var(--transition);
}
.leader__actions a:hover { background: var(--rp-blue-ink); color: var(--rp-white); }

/* office + warehouse */
.media-card { margin: 0; height: 100%; display: flex; flex-direction: column; }
.media-card__frame { position: relative; overflow: hidden; flex-grow: 1; min-height: 280px; border-radius: 18px; background: var(--rp-navy-deep); box-shadow: 0 24px 60px rgba(11, 31, 58, .12); }
.media-card__frame img, .media-card__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-card__frame img { transition: transform 900ms var(--ease-out); }
.media-card:hover .media-card__frame img { transform: scale(1.04); }
.media-card__frame--video { aspect-ratio: 9 / 16; flex-grow: 0; background: radial-gradient(360px 200px at 50% 50%, rgba(22, 119, 255, .28), transparent 70%), var(--rp-navy-deep); }
.media-card__placeholder {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    color: var(--on-dark-muted); font-size: 14px; font-weight: 500;
}
.media-card__frame--video video { opacity: 0; transition: opacity 400ms ease; object-fit: contain; }
@media (max-width: 767px) { .media-card__frame--video { width: 100%; max-width: 360px; margin: 0 auto; } }
.media-card__frame--video.has-video video { opacity: 1; }
.media-card__frame--video.has-video .media-card__placeholder { display: none; }
.media-card__placeholder i { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding-left: 4px; background: rgba(255, 255, 255, .12); color: var(--rp-white); font-size: 20px; }
.media-card figcaption { margin-top: 16px; font-size: 14.5px; color: var(--rp-muted); }
.media-card figcaption strong { display: block; margin-top: 8px; font-size: 17px; font-weight: 600; color: var(--rp-navy-deep); }
.media-card__tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--tint-blue); color: var(--rp-blue-ink); font-size: 12px; font-weight: 600; }

/* registration cards */
.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cred-card {
    position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 28px; border-radius: 18px;
    background: var(--rp-white); border: 1px solid var(--rp-border); transition: transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 300ms ease;
}
.cred-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--rp-blue), var(--rp-blue-lite)); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease-out); }
.cred-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-hover); }
.cred-card:hover::before { transform: scaleX(1); }
.cred-card__icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--tint-blue); color: var(--rp-navy); font-size: 20px; }
.cred-card__label { margin-top: 20px; font-size: 13px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--rp-muted); }
.cred-card__number { margin-top: 6px; font-size: 21px; font-weight: 600; letter-spacing: .5px; color: var(--rp-navy-deep); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cred-card__meta { margin-top: 4px; font-size: 14px; color: var(--rp-muted); }
.cred-card__verify { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rp-hairline); font-size: 14px; font-weight: 600; }
.cred-card__verify i { font-size: 11px; }

@media (max-width: 1199px) {
    .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
    .journey::before { display: none; }
}
@media (max-width: 991px) {
    .about-visual { max-width: 560px; margin: 0 auto; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
    .creds { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .journey { grid-template-columns: minmax(0, 1fr); row-gap: 24px; padding-left: 4px; }
    .journey::before { display: block; left: 13px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; background: linear-gradient(180deg, var(--rp-blue), rgba(22, 119, 255, .15)); }
    .journey__step { padding: 0 0 0 40px; }
    .journey__step h3 { margin-top: 8px; }
    .about-visual { padding: 0 0 40px 28px; }
    .about-visual__badge { right: 0; top: 16px; padding: 10px 14px 10px 10px; }
    .about-visual__badge strong { font-size: 16px; }
    .about-visual__chip { right: 12px; bottom: 56px; font-size: 13px; }
    .stat { padding: 22px 20px; }
    .stat__value { font-size: 30px; }
    .leaders { gap: 14px; }
    .leader--offset { transform: translateY(28px); }
    .leader__plate { left: 8px; right: 8px; bottom: 8px; padding: 8px 10px; }
    .leader__actions { display: none; } /* call + email are in the paragraph above on phones */
    .leader__plate strong { font-size: 14px; }
    .page-actions .btn { flex: 1 1 auto; }
}

/* Contact channels (and the 404 "where next" links) */
.channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.channels--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.channel {
    display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 24px; border-radius: 14px;
    background: var(--rp-white); border: 1px solid var(--rp-border); color: var(--rp-ink);
    transition: transform 300ms var(--ease-out), border-color 250ms ease, box-shadow 300ms ease;
}
a.channel:hover, button.channel:hover { color: var(--rp-ink); border-color: rgba(22, 119, 255, .4); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
button.channel { font: inherit; text-align: left; cursor: pointer; }
.channel__icon {
    width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: var(--tint-blue); color: var(--rp-navy); font-size: 20px; transition: background 250ms ease, color 250ms ease, transform 300ms var(--ease-out);
}
.channel:hover .channel__icon { background: var(--rp-blue); color: var(--rp-white); --duo-2: var(--rp-navy-deep); transform: rotate(-6deg); }
.channel__icon--wa { background: rgba(37, 211, 102, .14); color: var(--wa-ink); }
.channel:hover .channel__icon--wa { background: var(--wa); color: var(--wa-ink); }
.channel__label { font-size: 12.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--rp-muted); }
.channel__value { margin-top: 4px; font-family: var(--font-head); font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--rp-navy-deep); overflow-wrap: anywhere; }
.channel__note { margin-top: auto; font-size: 14.5px; line-height: 1.5; color: var(--rp-muted); }

/* Tables — the signature component (DESIGN-SYSTEM §5): navy head, zebra rows, scroll on small screens */
.table-wrap { overflow-x: auto; border: 1px solid var(--rp-border); border-radius: var(--radius-lg); background: var(--rp-white); -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.data-table th { padding: 14px 18px; background: var(--rp-navy-deep); color: var(--rp-white); font-size: 12.5px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; text-align: left; }
.data-table td { padding: 14px 18px; border-bottom: 1px solid var(--rp-border); vertical-align: top; line-height: 1.5; color: var(--rp-ink); }
.data-table tbody tr:nth-child(even) td { background: var(--rp-surface); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td:first-child { font-weight: 600; color: var(--rp-navy-deep); }
/* half-width tables (port pages) fit their column on desktop; they scroll on small screens */
.data-table--fit { min-width: 0; }
.data-table--fit th, .data-table--fit td { padding-left: 14px; padding-right: 14px; }
.data-table--fit.data-table--check td.maybe { white-space: normal; }
@media (max-width: 575px) { .data-table--fit { min-width: 520px; } }
/* Phones: main.js labels each cell with its column header; each row becomes a stacked card */
.data-table__label { display: none; }
@media (max-width: 575px) {
    .data-table--stack, .data-table--stack.data-table--fit { min-width: 0; }
    .data-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .data-table--stack, .data-table--stack tbody, .data-table--stack tr { display: block; }
    .data-table--stack tr { padding: 14px 16px; border-bottom: 1px solid var(--rp-border); }
    .data-table--stack tbody tr:last-child { border-bottom: 0; }
    .data-table--stack tbody tr:nth-child(even) { background: var(--rp-surface); }
    .data-table--stack tbody tr:nth-child(even) td { background: none; }
    .data-table--stack td { display: flex; align-items: baseline; gap: 10px; padding: 3px 0; border: 0; white-space: normal; font-size: 14.5px; }
    .data-table--stack td:first-child { display: block; padding: 0 0 6px; font-size: 15.5px; }
    .data-table__label { display: block; flex: 0 0 38%; order: -1; font-size: 11.5px; font-weight: 600; letter-spacing: .6px; line-height: 1.4; text-transform: uppercase; color: var(--rp-muted); }
    .data-table__value { min-width: 0; }
    .data-table--check.data-table--stack td.yes::before { flex-shrink: 0; margin-right: 0; align-self: center; }
}
.table-note { margin-top: 12px; font-size: 14px; color: var(--rp-muted); }
.chip .code { margin-left: 8px; padding: 3px 7px; }
.chip:hover .code { background: rgba(255, 255, 255, .16); color: var(--rp-white); }

/* Enquiry form panel */
.form-panel { height: 100%; padding: 36px; border-radius: 16px; background: var(--rp-white); border: 1px solid var(--rp-border); box-shadow: var(--shadow-card); }
.form-panel h2 { font-size: 28px; font-weight: 600; letter-spacing: -.3px; }
.form-panel__lead { margin-top: 8px; font-size: 15.5px; color: var(--rp-muted); }
.form-panel form { margin-top: 26px; }
.form-panel__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 24px; }
.form-panel__note { flex: 1 1 220px; font-size: 13.5px; line-height: 1.5; color: var(--rp-muted); }
.form-panel__note a { text-decoration: underline; text-underline-offset: 3px; }
/* honeypot: off-screen for people, filled in by bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Office card on a light page */
.office-panel {
    position: relative; overflow: hidden; height: 100%; display: flex; flex-direction: column; gap: 22px; padding: 32px; border-radius: 16px;
    color: var(--on-dark-muted); background: radial-gradient(420px 240px at 100% 0%, rgba(22, 119, 255, .28), transparent 60%), var(--rp-navy-deep);
}
.office-panel h2 { font-size: 22px; font-weight: 600; color: var(--rp-white); }
.office-panel address { display: flex; flex-direction: column; gap: 14px; }
.office-panel__map { aspect-ratio: 16 / 10; width: 100%; }
.office-panel__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* "What happens next" */
.next-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.next-step { padding: 26px; border-radius: 14px; background: var(--rp-white); border: 1px solid var(--rp-border); text-align: left; }
.next-step__n { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--tint-blue); color: var(--rp-blue-ink); font-weight: 600; }
.next-step h3 { margin-top: 16px; font-size: 17.5px; font-weight: 600; }
.next-step p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--rp-muted); }

/* Status pages: thank-you tick and the 404 figure */
.status-mark {
    width: 84px; height: 84px; margin: 0 auto 6px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--rp-blue-ink); color: var(--rp-white); font-size: 34px; box-shadow: 0 0 0 10px rgba(22, 119, 255, .12);
    animation: pop 700ms var(--ease-out) 150ms backwards;
}
.status-code {
    font-size: 132px; font-weight: 600; line-height: 1; letter-spacing: -4px;
    background: linear-gradient(135deg, var(--rp-navy-deep) 30%, var(--rp-blue)); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Legal pages: sticky contents + readable measure */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal__toc { position: sticky; top: 124px; padding: 22px; border-radius: 14px; background: var(--rp-surface); border: 1px solid var(--rp-border); }
.legal__toc-title { font-size: 12.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--rp-muted); }
.legal__toc ol { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; counter-reset: toc; }
.legal__toc li { counter-increment: toc; display: flex; gap: 8px; font-size: 14.5px; line-height: 1.4; }
.legal__toc li::before { content: counter(toc) "."; min-width: 18px; color: var(--rp-muted); }
.legal__toc a { color: var(--rp-ink); }
.legal__toc a:hover { color: var(--rp-blue-ink); }
.prose { max-width: 760px; }
.prose h2 { margin: 44px 0 12px; font-size: 24px; font-weight: 600; letter-spacing: -.2px; scroll-margin-top: 130px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 8px; font-size: 18px; font-weight: 600; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.75; color: var(--rp-ink); }
.prose p + p, .prose ul + p, .prose .table-wrap + p { margin-top: 14px; }
.prose ul { margin-top: 12px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li + li { margin-top: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--rp-blue); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .note { margin-top: 18px; padding: 16px 18px; border-left: 3px solid var(--rp-blue); border-radius: 0 10px 10px 0; background: var(--rp-mist); font-size: 15.5px; }
.prose .table-wrap { margin-top: 16px; }

@media (max-width: 1199px) {
    .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .page-hero { padding: 150px 0 72px; }
    .page-hero h1 { font-size: 44px; }
    .page-hero__sweep { width: 62vw; }
    .legal { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .legal__toc { position: static; }
    .next-steps, .channels--3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .page-hero { padding: 124px 0 64px; }
    .page-hero h1 { font-size: 34px; letter-spacing: -.6px; }
    .page-hero__sweep { width: 92vw; right: -18%; opacity: .7; }
    .crumbs ol { font-size: 12.5px; padding: 6px 12px; }
    .contact-float { margin-top: -40px; }
    .page-hero:has(+ .contact-float) { padding-bottom: 104px; }
    .fact__value { font-size: 34px; }
    .team { grid-template-columns: minmax(0, 1fr); }
    .status-block h2 { font-size: 27px; }
    .status-block__actions .btn { flex: 1 1 auto; }
    .channels { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    /* compact rows on phones: icon left, text and note stacked beside it */
    .channel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; padding: 18px; }
    .channel__icon { grid-row: span 2; width: 44px; height: 44px; font-size: 18px; }
    .channel__badge { justify-self: start; margin-top: 6px; }
    .fact { padding: 22px 18px; }
    .fact__icon { font-size: 18px; right: 14px; top: 14px; }
    .channel__value { font-size: 17px; }
    .form-panel, .office-panel { padding: 24px; }
    .status-code, .status-block .status-code { font-size: 96px; }
    .prose h2 { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
    .js [data-reveal] { opacity: 1; }
}
