/* ==========================================================================
   Raja Ampat Cruise — "Chart Room" luxury-minimal theme
   Paper + lagoon ink, hairline rules, Newsreader display, Jost text.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
    --ink: #10201f;
    --ink-2: #172b29;
    --ink-3: #20403c;
    --ink-deep: #0b1716;
    --lagoon: #2b5d56;
    --lagoon-2: #3f7a71;
    --lagoon-tint: #e3ebe7;
    --paper: #f7f4ee;
    --paper-2: #efeae0;
    --card: #fcfaf6;
    --sand: #e2d8c6;
    --brass: #86673e;
    --brass-2: #c4a574;
    --rust: #9a5b45;
    --text: #1b2725;
    --text-soft: #475351;
    --muted: #66706d;
    --rule: rgba(16, 32, 31, .12);
    --rule-2: rgba(16, 32, 31, .22);
    --on-ink: #eee9df;
    --on-ink-soft: rgba(238, 233, 223, .74);
    --on-ink-mute: rgba(238, 233, 223, .56);
    --on-ink-rule: rgba(238, 233, 223, .16);

    --f-display: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
    --f-text: 'Jost', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;

    --r-xs: 2px;
    --r-sm: 4px;
    --r: 6px;

    --wrap: 1280px;
    --gutter: clamp(20px, 4vw, 48px);
    --sec: clamp(64px, 8vw, 112px);
    --mast-h: 72px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
    color-scheme: light;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--mast-h) + 24px);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: var(--f-text);
    font-size: 1.0625rem;
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: rgba(43, 93, 86, .18);
    touch-action: manipulation;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--f-display);
    font-weight: 380;
    color: var(--ink);
    letter-spacing: -.012em;
    line-height: 1.12;
    text-wrap: balance;
    font-optical-sizing: auto;
}
h1 em, h2 em, .rac-hero__title em { font-style: italic; font-weight: 330; color: var(--lagoon); }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lagoon); outline-offset: 3px; border-radius: 1px; }
.rac-dark :focus-visible { outline-color: var(--brass-2); }
::selection { background: var(--lagoon); color: var(--paper); }
[id] { scroll-margin-top: calc(var(--mast-h) + 24px); }

.rac-sr {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.rac-skip {
    position: absolute; left: 12px; top: -80px; z-index: 300;
    padding: .7rem 1rem; background: var(--ink); color: var(--paper);
    font-size: .9rem; border-radius: var(--r-xs);
    transition: top .2s var(--ease);
}
.rac-skip:focus { top: 12px; }

.rac-wrap {
    width: 100%;
    max-width: calc(var(--wrap) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
.rac-main { display: block; outline: none; }
.rac-sec { padding-block: var(--sec); }
.rac-sec--tight { padding-block: clamp(40px, 5vw, 64px); }
.rac-sec--flush-top { padding-top: 0; }
.rac-sec--alt { background: var(--paper-2); }

/* single-column grids never grow past the viewport (scrollers inside stay contained) */
.rac-lead__grid, .rac-sieve__grid, .rac-faq__grid, .rac-quote__grid, .rac-desk__top, .rac-article__grid,
.rac-fares__cols, .rac-fork__grid, .rac-rail__grid, .rac-lanes, .rac-footer__ctaIn,
.rac-related__in, .rac-shead, .rac-cards, .rac-shelf__ghead, .rac-sieve__form { grid-template-columns: minmax(0, 1fr); }

/* dark surfaces */
.rac-dark {
    position: relative;
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(63, 122, 113, .22), transparent 55%),
        radial-gradient(90% 70% at 100% 100%, rgba(196, 165, 116, .08), transparent 60%),
        var(--ink);
    color: var(--on-ink);
    isolation: isolate;
}
.rac-dark::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.rac-dark h2, .rac-dark h3 { color: var(--on-ink); }
.rac-dark h2 em { color: var(--brass-2); }

/* ---------- 3. Type helpers ---------- */
.rac-eyebrow {
    display: flex; align-items: center; gap: .75rem;
    font-family: var(--f-text); font-size: .72rem; font-weight: 500;
    letter-spacing: .2em; text-transform: uppercase; line-height: 1.4;
    color: var(--brass);
    margin-bottom: 1.1rem;
}
.rac-eyebrow--muted { color: var(--muted); }
.rac-dark .rac-eyebrow { color: var(--brass-2); }
.rac-idx {
    display: inline-flex; align-items: center; gap: .75rem;
    font-family: var(--f-display); font-style: italic; font-size: .95rem;
    letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 400;
}
.rac-idx::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .5; }
.rac-dark .rac-idx { color: var(--on-ink-mute); }
.rac-h2 { font-size: clamp(2rem, 1.35rem + 2vw, 3.25rem); }
.rac-h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); }
.rac-stamp { font-size: .82rem; color: var(--muted); line-height: 1.6; }
.rac-dark .rac-stamp { color: var(--on-ink-mute); }
.rac-foot { margin-top: 1.5rem; font-size: .92rem; color: var(--text-soft); }
.rac-foot a, .rac-footer__related a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-2); }
.rac-foot a:hover { text-decoration-color: currentColor; color: var(--lagoon); }

/* ---------- 4. Buttons, links, inputs ---------- */
.rac-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 48px; padding: .8rem 1.45rem;
    font-family: var(--f-text); font-size: .95rem; font-weight: 500; line-height: 1.2; letter-spacing: .01em;
    border: 1px solid transparent; border-radius: var(--r-xs);
    cursor: pointer; text-align: center;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.rac-btn i { font-size: 1.1em; transition: transform .25s var(--ease); }
.rac-btn:hover i.ti-arrow-right { transform: translateX(3px); }
.rac-btn:active { transform: translateY(1px); }
.rac-btn--ink { background: var(--ink); color: var(--paper); }
.rac-btn--ink:hover { background: var(--lagoon); }
.rac-btn--line { border-color: var(--rule-2); color: var(--ink); background: transparent; }
.rac-btn--line:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.rac-btn--paper { background: var(--paper); color: var(--ink); }
.rac-btn--paper:hover { background: var(--brass-2); color: var(--ink); }
.rac-btn--ghost { border-color: var(--on-ink-rule); color: var(--on-ink); }
.rac-btn--ghost:hover { border-color: var(--on-ink); }
.rac-btn--sm { min-height: 40px; padding: .55rem 1rem; font-size: .88rem; }
.rac-btn--lg { min-height: 56px; padding: 1rem 1.8rem; font-size: 1.02rem; }
.rac-btn--block { width: 100%; }

.rac-link-arrow {
    display: inline-flex; align-items: center; gap: .45rem;
    font-weight: 500; font-size: .95rem; color: var(--ink);
    padding-bottom: 3px; border-bottom: 1px solid var(--rule-2);
    transition: border-color .25s var(--ease), color .25s var(--ease);
}
.rac-link-arrow i { font-size: 1.05em; transition: transform .25s var(--ease); }
.rac-link-arrow:hover { border-color: currentColor; color: var(--lagoon); }
.rac-link-arrow:hover i { transform: translateX(3px); }
.rac-link-arrow:hover i.ti-arrow-up-right { transform: translate(2px, -2px); }
.rac-link-arrow--light, .rac-dark .rac-link-arrow { color: var(--on-ink); border-color: var(--on-ink-rule); }
.rac-link-arrow--light:hover, .rac-dark .rac-link-arrow:hover { color: var(--brass-2); border-color: currentColor; }

.rac-input {
    width: 100%; min-height: 48px; padding: .7rem .9rem;
    font: inherit; font-size: 1rem; color: var(--ink);
    background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--r-xs);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
    appearance: none;
}
.rac-input:hover { border-color: rgba(16, 32, 31, .4); }
.rac-input:focus { outline: none; border-color: var(--lagoon); box-shadow: 0 0 0 3px rgba(43, 93, 86, .16); }
textarea.rac-input { min-height: 120px; resize: vertical; line-height: 1.55; }
.rac-select {
    padding-right: 2.4rem; cursor: pointer;
    background-color: var(--card); color: var(--ink);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2310201f' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .9rem center;
}
.rac-select--sm { min-height: 40px; width: auto; padding-block: .4rem; font-size: .92rem; }

.rac-chip {
    display: inline-flex; align-items: center; gap: .4rem;
    min-height: 38px; padding: .45rem .95rem;
    font-size: .9rem; font-weight: 500; color: var(--ink);
    background: transparent; border: 1px solid var(--rule-2); border-radius: var(--r-xs);
    cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.rac-chip:hover { border-color: var(--ink); }
.rac-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.rac-tag {
    display: inline-block; padding: .15rem .55rem;
    font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
    border: 1px solid var(--rule-2); border-radius: var(--r-xs); color: var(--text-soft);
}

/* ---------- 5. Motion ---------- */
@keyframes rac-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.rac-rise { animation: rac-rise .9s var(--ease) both; }
.rac-rise:nth-child(2) { animation-delay: .08s; }
.rac-rise:nth-child(3) { animation-delay: .16s; }
.rac-rise:nth-child(4) { animation-delay: .24s; }
.rac-rise:nth-child(5) { animation-delay: .32s; }
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease-out, transform .7s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- 6. Top bar + masthead ---------- */
.rac-topbar { background: var(--ink); color: var(--on-ink-soft); font-size: .8rem; line-height: 1.45; }
.rac-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 38px; padding-block: .45rem; }
.rac-topbar__text { display: flex; gap: .8rem; min-width: 0; }
.rac-topbar__statement { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rac-topbar__note { color: var(--brass-2); white-space: nowrap; }
.rac-topbar__contact { display: flex; gap: 1.25rem; flex-shrink: 0; }
.rac-topbar__contact a { color: var(--on-ink); transition: color .2s; }
.rac-topbar__contact a:hover { color: var(--brass-2); }
@media (max-width: 1180px) { .rac-topbar__statement { display: none; } }
@media (max-width: 760px) {
    .rac-topbar__contact { display: none; }
    .rac-topbar__text { justify-content: center; width: 100%; }
    .rac-topbar__note { white-space: normal; text-align: center; }
}

.rac-mast {
    position: sticky; top: 0; z-index: 120;
    background: rgba(247, 244, 238, .9);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.rac-mast.is-stuck { border-bottom-color: var(--rule); background: rgba(247, 244, 238, .96); }
.rac-mast__in { display: flex; align-items: center; gap: 1.5rem; height: var(--mast-h); }
.rac-brand { display: flex; flex-direction: column; justify-content: center; line-height: 1; margin-right: auto; flex-shrink: 0; }
.rac-brand__word { font-family: var(--f-display); font-size: 1.42rem; font-weight: 420; color: var(--ink); letter-spacing: -.01em; }
.rac-brand__desk { margin-top: .32rem; font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.rac-brand__logo { height: 44px; width: auto; }

.rac-nav { display: none; }
.rac-nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.rac-nav__item { position: relative; }
.rac-nav__btn, .rac-nav__link {
    display: inline-flex; align-items: center; gap: .3rem;
    min-height: 44px; padding: .5rem .8rem;
    font-size: .93rem; font-weight: 500; color: var(--ink);
    background: none; border: 0; cursor: pointer; border-radius: var(--r-xs);
    transition: color .2s var(--ease), background-color .2s var(--ease);
}
.rac-nav__btn i { font-size: .95rem; transition: transform .25s var(--ease); color: var(--muted); }
.rac-nav__btn[aria-expanded="true"] i { transform: rotate(180deg); }
.rac-nav__btn:hover, .rac-nav__link:hover, .rac-nav__btn[aria-expanded="true"] { background: rgba(16, 32, 31, .05); }
.rac-nav__item.is-active > .rac-nav__btn, .rac-nav__link[aria-current="page"] { color: var(--lagoon); }
.rac-dd {
    position: absolute; top: calc(100% + 8px); left: -8px; z-index: 5;
    min-width: 300px; padding: .5rem;
    background: var(--card); border: 1px solid var(--rule);
    border-radius: var(--r-sm);
    box-shadow: 0 30px 60px -30px rgba(16, 32, 31, .35), 0 2px 6px rgba(16, 32, 31, .05);
    animation: rac-dd .22s var(--ease) both;
}
@keyframes rac-dd { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.rac-dd ul { list-style: none; margin: 0; padding: 0; }
.rac-dd a {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .62rem .8rem; font-size: .94rem; color: var(--text); border-radius: var(--r-xs);
    transition: background-color .2s var(--ease), color .2s var(--ease);
}
.rac-dd a i { opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s var(--ease); color: var(--lagoon); }
.rac-dd a:hover, .rac-dd a:focus-visible { background: var(--paper-2); color: var(--ink); }
.rac-dd a:hover i, .rac-dd a:focus-visible i { opacity: 1; transform: none; }
.rac-dd a[aria-current="page"] { color: var(--lagoon); }
.rac-mast__cta { display: none; gap: .5rem; flex-shrink: 0; }

.rac-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0 11px; margin-right: -8px;
    background: none; border: 0; cursor: pointer;
}
.rac-burger span { display: block; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.rac-burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.rac-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (min-width: 1180px) {
    .rac-nav { display: block; }
    .rac-mast__cta { display: flex; }
    .rac-burger { display: none; }
    .rac-sheet { display: none !important; }
}

.rac-sheet {
    position: fixed; inset: var(--mast-h) 0 0 0; z-index: 110;
    background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
    border-top: 1px solid var(--rule);
    animation: rac-sheet .3s var(--ease) both;
}
@keyframes rac-sheet { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.rac-sheet__in { display: flex; flex-direction: column; gap: 2rem; min-height: 100%; padding: 1rem var(--gutter) calc(2rem + env(safe-area-inset-bottom)); }
.rac-sheet__nav { display: flex; flex-direction: column; }
.rac-sheet__group, .rac-sheet__link { border-bottom: 1px solid var(--rule); }
.rac-sheet__group summary, .rac-sheet__link {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 60px; font-family: var(--f-display); font-size: 1.45rem; color: var(--ink);
    list-style: none; cursor: pointer;
}
.rac-sheet__group summary::-webkit-details-marker { display: none; }
.rac-sheet__group summary i { font-size: 1.1rem; color: var(--muted); transition: transform .25s var(--ease); }
.rac-sheet__group[open] summary i { transform: rotate(45deg); }
.rac-sheet__group ul { list-style: none; margin: 0; padding: 0 0 1rem; }
.rac-sheet__group a { display: flex; align-items: center; min-height: 44px; font-size: 1rem; color: var(--text-soft); padding-left: .25rem; }
.rac-sheet__group a:hover { color: var(--lagoon); }
.rac-sheet__cta { display: grid; gap: .6rem; margin-top: auto; }
.rac-sheet__contact { display: flex; flex-direction: column; gap: .35rem; margin-top: .75rem; font-size: .95rem; color: var(--text-soft); }
body.rac-lock { overflow: hidden; }

/* ---------- 7. Night ruler ---------- */
.rac-ruler { border-block: 1px solid var(--rule); background: var(--paper); }
.rac-ruler__in { display: flex; align-items: center; gap: 1.5rem; min-height: 52px; }
.rac-ruler__track { position: relative; flex: 1; padding-block: 1.05rem .9rem; }
.rac-ruler__ticks {
    position: relative; display: flex; justify-content: space-between;
    list-style: none; margin: 0; padding: 0;
    font-size: .7rem; font-weight: 500; letter-spacing: .06em; color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.rac-ruler__ticks::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 1px; background: var(--rule-2); }
.rac-ruler__ticks li { position: relative; width: 0; display: flex; justify-content: center; white-space: nowrap; }
.rac-ruler__ticks li::before { content: ""; position: absolute; top: -14px; width: 1px; height: 8px; background: var(--rule-2); }
.rac-ruler__ticks li.is-key { color: var(--ink); font-weight: 600; }
.rac-ruler__ticks li.is-key::before { height: 12px; top: -16px; background: var(--ink); }
.rac-ruler__ticks li.is-on { color: var(--lagoon); }
.rac-ruler__marker {
    position: absolute; top: calc(1.05rem - 15px); left: calc(var(--n, 0) * 10%);
    width: 11px; height: 11px; margin-left: -5.5px;
    background: var(--lagoon); border: 2px solid var(--paper); border-radius: 50%;
    box-shadow: 0 0 0 1px var(--lagoon);
    opacity: 0; transition: left .6s var(--ease), opacity .3s;
}
.rac-ruler.is-set .rac-ruler__marker { opacity: 1; }
.rac-ruler__label { flex-shrink: 0; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); min-width: 8.5em; text-align: right; }
@media (max-width: 640px) {
    .rac-ruler__ticks li:not(.is-key) { color: transparent; }
    .rac-ruler__label { min-width: 0; }
}

/* ---------- 8. Homepage hero (full-bleed plate, layout ref. labuanbajoliveaboard.com) ---------- */
.rac-hero {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
    padding: clamp(52px, 8vw, 96px) 0 calc(56px + clamp(40px, 5vw, 72px));
    background: var(--ink); color: var(--on-ink);
}
@media (min-width: 768px) { .rac-hero { min-height: clamp(620px, calc(100svh - 110px), 940px); } }
.rac-hero__media { position: absolute; inset: 0; z-index: -2; margin: 0; }
.rac-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform-origin: 70% 50%; animation: rac-drift 22s ease-out both; }
@keyframes rac-drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.rac-hero__shade {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(0deg, rgba(8, 20, 19, .62) 0%, rgba(8, 20, 19, 0) 34%),
        rgba(8, 20, 19, .5);
}
@media (min-width: 900px) {
    .rac-hero__shade {
        background:
            linear-gradient(0deg, rgba(8, 20, 19, .58) 0%, rgba(8, 20, 19, 0) 30%),
            linear-gradient(90deg, rgba(8, 20, 19, .84) 0%, rgba(8, 20, 19, .66) 34%, rgba(8, 20, 19, .22) 66%, rgba(8, 20, 19, .06) 100%);
    }
}
.rac-hero__inner { position: relative; width: 100%; }
.rac-hero__copy { max-width: 47rem; }
.rac-hero__kicker {
    display: flex; align-items: center; gap: .95rem; margin-bottom: clamp(1.1rem, 2vw, 1.6rem);
    font-size: .72rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; line-height: 1.5; color: var(--brass-2);
}
.rac-hero__rule { flex-shrink: 0; width: 36px; height: 1px; background: var(--brass-2); }
.rac-hero__title {
    color: var(--paper);
    font-size: clamp(2.3rem, 1.35rem + 3.6vw, 4.7rem);
    font-weight: 370; line-height: 1.03; letter-spacing: -.026em;
    text-shadow: 0 2px 30px rgba(8, 20, 19, .35);
}
.rac-hero__title em { display: block; margin-top: .06em; color: var(--brass-2); font-weight: 320; }
.rac-hero__lede { margin-top: clamp(1.1rem, 2vw, 1.6rem); max-width: 44rem; font-size: clamp(.98rem, .94rem + .2vw, 1.06rem); line-height: 1.75; color: rgba(238, 233, 223, .88); }
.rac-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin-top: clamp(1.5rem, 2.6vw, 2.2rem); }
.rac-hero .rac-btn--ghost { border-color: rgba(238, 233, 223, .5); }
.rac-hero .rac-btn--ghost:hover { border-color: var(--paper); background: rgba(238, 233, 223, .08); }
.rac-hero__mail {
    display: inline-flex; align-items: center; gap: .5rem; margin-left: .6rem;
    font-size: .95rem; color: var(--on-ink-soft); padding-bottom: 2px; border-bottom: 1px solid var(--on-ink-rule);
    transition: color .2s var(--ease), border-color .2s var(--ease);
}
.rac-hero__mail:hover { color: var(--paper); border-color: currentColor; }
@media (max-width: 520px) {
    .rac-hero__actions .rac-btn { flex: 1 1 100%; }
    .rac-hero__mail { margin: .3rem 0 0; }
}

/* night ruler on the plate */
.rac-ruler--dark {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    background: rgba(8, 20, 19, .34); border: 0; border-top: 1px solid var(--on-ink-rule);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.rac-ruler--dark .rac-ruler__ticks { color: var(--on-ink-mute); }
.rac-ruler--dark .rac-ruler__ticks::before { background: var(--on-ink-rule); }
.rac-ruler--dark .rac-ruler__ticks li::before { background: var(--on-ink-rule); }
.rac-ruler--dark .rac-ruler__ticks li.is-key { color: var(--paper); }
.rac-ruler--dark .rac-ruler__ticks li.is-key::before { background: var(--paper); }
.rac-ruler--dark .rac-ruler__ticks li.is-on { color: var(--brass-2); }
.rac-ruler--dark .rac-ruler__marker { background: var(--brass-2); border-color: var(--ink); box-shadow: 0 0 0 1px var(--brass-2); }
.rac-ruler--dark .rac-ruler__label { color: var(--brass-2); }

/* quick answer band + format lanes */
.rac-lead { padding-block: clamp(56px, 7vw, 104px) clamp(64px, 8vw, 112px); }
.rac-lead__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-bottom: clamp(40px, 5vw, 64px); }
.rac-lead__quick .rac-eyebrow { margin-bottom: .9rem; }
.rac-lead__text { font-family: var(--f-display); font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.2rem); line-height: 1.3; font-weight: 360; color: var(--ink); letter-spacing: -.012em; text-wrap: balance; max-width: 34ch; }
.rac-lead__byline { font-size: .86rem; line-height: 1.65; color: var(--muted); padding-top: 1rem; border-top: 1px solid var(--rule); max-width: 30rem; }
.rac-lead__byline a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-2); }
.rac-lead__byline a:hover { color: var(--lagoon); text-decoration-color: currentColor; }
@media (min-width: 1024px) {
    .rac-lead__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 5rem; align-items: end; }
    .rac-lead__byline { justify-self: end; }
}
.rac-quick { padding: 1.5rem 0 1.25rem; border-top: 1px solid var(--ink); }
.rac-quick__label { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-bottom: .7rem; }
.rac-quick__text { font-family: var(--f-display); font-size: 1.22rem; line-height: 1.45; color: var(--ink); font-weight: 380; }
.rac-byline { font-size: .84rem; line-height: 1.6; color: var(--muted); padding-top: 1rem; border-top: 1px solid var(--rule); }
.rac-byline a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-2); }
.rac-byline a:hover { color: var(--lagoon); text-decoration-color: currentColor; }

.rac-lanes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.rac-lane {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.rac-lane:hover { transform: translateY(-4px); border-color: var(--rule-2); box-shadow: 0 34px 60px -40px rgba(16, 32, 31, .45); }
.rac-lane__media { margin: 0; overflow: hidden; background: var(--paper-2); }
.rac-lane__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.1s var(--ease); }
.rac-lane:hover .rac-lane__media img { transform: scale(1.04); }
.rac-lane__body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2.6vw, 34px); }
.rac-lane__cap { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.rac-lane__title { margin-top: .45rem; font-size: clamp(1.55rem, 1.3rem + .7vw, 1.95rem); }
.rac-lane__dl { margin: 1rem 0 1.6rem; display: grid; gap: .2rem; }
.rac-lane__dl dt { font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--rule); }
.rac-lane__dl dt:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.rac-lane__dl dd { margin: .15rem 0 0; font-size: .96rem; line-height: 1.6; color: var(--text-soft); }
.rac-lane__dl dd strong { color: var(--ink); font-weight: 600; }
.rac-lane .rac-link-arrow { margin-top: auto; align-self: flex-start; }
@media (min-width: 900px) { .rac-lanes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

/* ---------- 9. Section heads ---------- */
.rac-shead { display: grid; gap: 1.25rem; margin-bottom: clamp(36px, 4.5vw, 64px); }
.rac-shead__desc { max-width: 40rem; font-size: 1.05rem; line-height: 1.75; color: var(--text-soft); }
.rac-dark .rac-shead__desc { color: var(--on-ink-soft); }
@media (min-width: 1024px) {
    .rac-shead:not(.is-solo):not(.is-stacked) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 5rem; align-items: end; }
    .rac-shead:not(.is-solo):not(.is-stacked) .rac-shead__desc { justify-self: end; }
}

/* centred heading with ornament (ref. labuanbajoliveaboard.com) */
.rac-shead.rac-shead--center { display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; max-width: 52rem; margin-inline: auto; }
.rac-shead--center .rac-eyebrow { justify-content: center; margin-bottom: .9rem; }
.rac-shead--center .rac-h2 { max-width: 20em; }
.rac-shead--center .rac-shead__desc { margin-top: .4rem; max-width: 42rem; }
.rac-orn { display: inline-flex; align-items: center; gap: .85rem; margin-top: 1.1rem; color: var(--brass); font-size: 1.05rem; }
.rac-orn i:not(.rac-i) { display: block; width: 46px; height: 1px; background: currentColor; opacity: .55; }
.rac-dark .rac-orn { color: var(--brass-2); }

/* round icon badge (feature cards, desk steps, fares panels) */
.rac-badge-ico {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 52px; height: 52px; border-radius: 50%;
    font-size: 1.35rem; color: var(--brass);
    background: rgba(196, 165, 116, .12); border: 1px solid rgba(134, 103, 62, .3);
}
.rac-dark .rac-badge-ico, .is-here .rac-badge-ico { color: var(--brass-2); background: rgba(196, 165, 116, .1); border-color: rgba(196, 165, 116, .35); }

/* full-width photo strip */
.rac-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--ink); }
@media (min-width: 768px) { .rac-strip { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); } }
.rac-strip__item { position: relative; margin: 0; overflow: hidden; }
.rac-strip__item img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s var(--ease); filter: saturate(.92); }
@media (min-width: 768px) { .rac-strip__item img { aspect-ratio: 5 / 4; } }
.rac-strip__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 20, 19, .28), transparent 45%); pointer-events: none; }
.rac-strip__item:hover img { transform: scale(1.05); filter: saturate(1.05); }

/* ---------- 10. Planner (Sieve) ---------- */
.rac-sieve__grid { display: grid; gap: 2.5rem; align-items: start; }
.rac-sieve__main .rac-shead { margin-bottom: clamp(28px, 3vw, 40px); }
@media (min-width: 1024px) {
    .rac-sieve__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 4.5rem; }
    .rac-plan { position: sticky; top: calc(var(--mast-h) + 24px); }
}
.rac-sieve__form { display: grid; gap: 0; }
.rac-fs { margin: 0; padding: 1.6rem 0 1.8rem; border: 0; border-top: 1px solid var(--on-ink-rule); min-width: 0; }
.rac-fs legend {
    display: flex; align-items: center; gap: .75rem; float: left; width: 100%;
    margin-bottom: 1.1rem; padding: 0;
    font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--on-ink);
}
.rac-fs legend + * { clear: both; }
.rac-fs__n {
    display: inline-grid; place-items: center; width: 26px; height: 26px;
    font-family: var(--f-display); font-style: italic; font-size: .95rem; letter-spacing: 0;
    border: 1px solid var(--brass-2); border-radius: 50%; color: var(--brass-2);
}
.rac-choices { display: grid; gap: .5rem; grid-template-columns: 1fr 1fr; }
.rac-choice { position: relative; cursor: pointer; }
.rac-choice input, .rac-seg input { position: absolute; opacity: 0; pointer-events: none; }
.rac-choice span, .rac-seg span, .rac-region {
    display: flex; align-items: center; min-height: 52px; padding: .7rem 1rem;
    font-size: .95rem; line-height: 1.3; color: var(--on-ink);
    border: 1px solid var(--on-ink-rule); border-radius: var(--r-xs);
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.rac-choice:hover span, .rac-seg label:hover span, .rac-region:hover { border-color: var(--on-ink-mute); }
.rac-choice input:checked + span, .rac-seg input:checked + span, .rac-region[aria-pressed="true"] {
    background: var(--paper); color: var(--ink); border-color: var(--paper);
}
.rac-choice input:focus-visible + span, .rac-seg input:focus-visible + span { outline: 2px solid var(--brass-2); outline-offset: 2px; }
.rac-stepper { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.rac-stepper button {
    display: grid; place-items: center; width: 52px; height: 52px;
    background: transparent; border: 1px solid var(--on-ink-rule); border-radius: var(--r-xs);
    color: var(--on-ink); cursor: pointer; font-size: 1.1rem;
    transition: border-color .2s, background-color .2s;
}
.rac-stepper button:hover { border-color: var(--on-ink); background: rgba(238, 233, 223, .06); }
.rac-stepper input {
    width: 76px; height: 52px; text-align: center;
    font-family: var(--f-display); font-size: 1.5rem; color: var(--on-ink);
    background: transparent; border: 1px solid var(--on-ink-rule); border-radius: var(--r-xs);
    appearance: textfield; -moz-appearance: textfield;
}
.rac-stepper input::-webkit-outer-spin-button, .rac-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rac-stepper input:focus { outline: 2px solid var(--brass-2); outline-offset: 2px; }
.rac-stepper__unit { margin-left: .4rem; font-size: .9rem; color: var(--on-ink-mute); }
.rac-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: .6rem; }
.rac-seg label { cursor: pointer; position: relative; }
.rac-seg span { justify-content: center; font-family: var(--f-display); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.rac-regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.rac-region { flex-direction: column; align-items: flex-start; justify-content: center; gap: .1rem; width: 100%; background: transparent; cursor: pointer; text-align: left; }
.rac-region small { font-size: .78rem; color: var(--on-ink-mute); }
.rac-region[aria-pressed="true"] small { color: var(--muted); }
.rac-sieve .rac-select { background-color: transparent; color: var(--on-ink); border-color: var(--on-ink-rule); max-width: 320px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23eee9df' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); }
.rac-sieve .rac-select option { background: var(--ink); color: var(--on-ink); }

/* plan card */
.rac-plan {
    padding: clamp(24px, 3vw, 40px); color: var(--text);
    background: var(--paper); border-radius: var(--r-sm);
    box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .6);
    border-left: 3px solid var(--lagoon);
    outline: none;
    transition: border-color .3s var(--ease);
}
.rac-plan.is-refusal { border-left-color: var(--rust); }
.rac-plan.is-nudge { animation: rac-nudge .45s var(--ease); }
@keyframes rac-nudge { 0%, 100% { transform: none; } 30% { transform: translateX(-5px); } 60% { transform: translateX(4px); } }
.rac-plan__cap, .rac-plan .rac-cap {
    display: block; font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--brass);
    margin: 1.4rem 0 .6rem;
}
.rac-plan > .rac-plan__cap:first-child, .rac-plan > .rac-cap:first-child { margin-top: 0; }
.rac-plan .rac-cap--rust { color: var(--rust); }
.rac-plan__title { font-size: clamp(1.45rem, 1.2rem + .7vw, 1.85rem); line-height: 1.2; }
.rac-plan__text p, .rac-plan p { font-size: .96rem; line-height: 1.65; color: var(--text-soft); margin-top: .6rem; }
.rac-plan a:not(.rac-btn) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.rac-plan .rac-plan__title, .rac-dark .rac-plan h3 { color: var(--ink); }
.rac-plan__verdict { margin-top: 1.1rem; padding: 1rem 1.1rem; background: var(--lagoon-tint); border-radius: var(--r-xs); }
.rac-plan__verdict .rac-cap { margin: 0 0 .35rem; }
.rac-plan__verdict strong { display: block; font-family: var(--f-display); font-size: 1.25rem; font-weight: 420; color: var(--ink); }
.rac-plan__verdict p { margin-top: .3rem; }
.rac-plan__vessels { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.rac-plan__vessels li { display: grid; gap: .15rem; padding: .75rem 0; border-bottom: 1px solid var(--rule); }
.rac-plan__vname { font-weight: 500; color: var(--ink); }
.rac-plan__vdata { font-size: .84rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.rac-plan__vrate { font-size: .9rem; font-weight: 600; color: var(--ink); }
.rac-plan__flag { font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }
.rac-plan__warn { padding: .7rem .9rem; background: rgba(154, 91, 69, .08); border-radius: var(--r-xs); color: var(--rust) !important; }
.rac-plan__note { font-size: .88rem !important; font-style: italic; }
.rac-plan__chips { display: grid; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.rac-plan__chips li { display: grid; gap: .1rem; padding: .7rem .9rem; border: 1px solid var(--rule); border-radius: var(--r-xs); }
.rac-plan__chips span { font-size: .88rem; color: var(--text-soft); }
.rac-plan__chips strong { color: var(--ink); font-weight: 600; font-size: .95rem; }
.rac-plan__chips small { font-size: .78rem; color: var(--muted); line-height: 1.45; }
.rac-plan__month { padding-top: 1rem; margin-top: 1.1rem !important; border-top: 1px solid var(--rule); }
.rac-plan__month .rac-cap { margin: 0 0 .3rem; }
.rac-plan__month em { color: var(--muted); }
.rac-plan__excl { margin-top: 1rem; border-top: 1px solid var(--rule); }
.rac-plan__excl summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-size: .92rem; font-weight: 500; color: var(--ink); cursor: pointer; list-style: none; }
.rac-plan__excl summary::-webkit-details-marker { display: none; }
.rac-plan__excl summary::after { content: "+"; font-family: var(--f-display); font-size: 1.3rem; color: var(--muted); transition: transform .25s var(--ease); }
.rac-plan__excl[open] summary::after { transform: rotate(45deg); }
.rac-plan__excl ul { margin: 0 0 .5rem; padding-left: 1.1rem; font-size: .9rem; color: var(--text-soft); }
.rac-plan__cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.rac-plan__cta .rac-btn { flex: 1 1 auto; }
.rac-plan__fine { font-size: .8rem !important; color: var(--muted) !important; }

/* ---------- 11. Night Ladder + season ---------- */
.rac-ladder > .rac-wrap > .rac-stamp { max-width: 56rem; margin: -1.5rem 0 2.25rem; }
.rac-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.rac-scroll:focus-visible { outline-offset: 4px; }
.rac-grid { width: 100%; border-collapse: collapse; min-width: 760px; table-layout: fixed; }
.rac-grid th, .rac-grid td { border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left; }
.rac-grid thead th {
    padding: 0 1rem .9rem; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
    border-bottom: 1px solid var(--ink);
}
.rac-grid thead th:first-child { width: 110px; padding-left: 0; }
.rac-grid thead th.is-n::before, .rac-grid thead th.is-c::before, .rac-grid thead th.is-s::before {
    content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .55rem; border-radius: 50%; vertical-align: .1em;
}
.rac-grid thead th.is-n::before { background: var(--lagoon); }
.rac-grid thead th.is-c::before { background: var(--brass-2); }
.rac-grid thead th.is-s::before { background: var(--rust); }
.rac-grid tbody th { padding: 1.15rem 0; }
.rac-grid tbody th a { font-family: var(--f-display); font-size: 2rem; font-weight: 350; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; transition: color .2s; }
.rac-grid tbody th a:hover { color: var(--lagoon); }
.rac-grid td { padding: .5rem; }
.rac-cell {
    display: flex; flex-direction: column; gap: .5rem; width: 100%; height: 100%; min-height: 92px;
    padding: .9rem 1rem; text-align: left; font-size: .95rem; line-height: 1.5;
    background: transparent; border: 1px solid transparent; border-radius: var(--r-xs);
}
button.rac-cell { cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
button.rac-cell:hover { background: var(--card); border-color: var(--rule-2); }
.rac-cell strong { font-family: var(--f-display); font-weight: 400; font-size: 1.08rem; color: var(--ink); line-height: 1.35; }
.rac-cell small { display: inline-flex; align-items: center; gap: .3rem; margin-top: auto; font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--lagoon); }
.rac-cell.is-off {
    color: var(--muted); font-style: italic; font-family: var(--f-display); font-size: .98rem;
    background-image: repeating-linear-gradient(135deg, rgba(16, 32, 31, .045) 0 1px, transparent 1px 9px);
}
.rac-grid td.is-span .rac-cell { min-height: 76px; background: var(--ink); border-color: var(--ink); }
.rac-grid td.is-span .rac-cell strong { color: var(--on-ink); font-size: 1.2rem; }
.rac-grid td.is-span .rac-cell small { color: var(--brass-2); }
.rac-grid td.is-span button.rac-cell:hover { background: var(--ink-3); }

.rac-season { margin-top: clamp(48px, 6vw, 80px); }
.rac-season__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1.25rem; }
.rac-season__months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 600px) { .rac-season__months { grid-template-columns: repeat(6, 1fr); } }
.rac-season__months li { position: relative; display: flex; flex-direction: column; gap: .15rem; padding: .8rem .7rem 1.1rem; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-xs); overflow: hidden; }
.rac-season__months li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; }
.rac-season__months li.is-calm::after { background: var(--lagoon); }
.rac-season__months li.is-shoulder::after { background: var(--brass-2); }
.rac-season__months li.is-wind::after { background: var(--rust); }
.rac-season__months b { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.rac-season__months span { font-size: .8rem; color: var(--text-soft); line-height: 1.3; }
@media (min-width: 900px) { .rac-season__months { grid-template-columns: repeat(12, 1fr); } }
.rac-season__key { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; margin-top: 1.1rem; font-size: .88rem; color: var(--text-soft); }
.rac-season__key .k { display: inline-block; width: 18px; height: 5px; border-radius: 1px; }
.rac-season__key .k + * { margin-right: .8rem; }
.rac-season__key .k--calm { background: var(--lagoon); }
.rac-season__key .k--shoulder { background: var(--brass-2); margin-left: .8rem; }
.rac-season__key .k--wind { background: var(--rust); margin-left: .8rem; }
.rac-season__key .rac-link-arrow { margin-left: auto; }

/* Night Ladder → stacked cards on small screens */
@media (max-width: 760px) {
    .rac-grid { min-width: 0; table-layout: auto; }
    .rac-grid thead { display: none; }
    .rac-grid, .rac-grid tbody, .rac-grid tr, .rac-grid th, .rac-grid td { display: block; width: 100%; }
    .rac-grid tr { padding: 1rem 0 1.2rem; border-top: 1px solid var(--ink); }
    .rac-grid tbody th { padding: 0 0 .3rem; border: 0; }
    .rac-grid td { padding: 0; border: 0; }
    .rac-grid td[data-label]::before {
        content: attr(data-label); display: block; margin: .75rem 0 .35rem;
        font-size: .66rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
    }
    .rac-grid td.is-span { margin-top: .6rem; }
    .rac-cell { min-height: 0; padding: .75rem .9rem; border-color: var(--rule); }
    .rac-cell.is-off { padding-block: .6rem; }
}

/* ---------- 12. Ledger tables (manifest, anchors) ---------- */
.rac-manifest__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.rac-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.rac-sort { display: inline-flex; align-items: center; gap: .75rem; font-size: .88rem; color: var(--muted); }
.rac-ledger { width: 100%; border-collapse: collapse; min-width: 880px; font-size: .95rem; }
.rac-ledger thead th {
    padding: 0 .9rem .85rem; text-align: left; font-size: .7rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--muted);
    border-bottom: 1px solid var(--ink); white-space: nowrap;
}
.rac-ledger thead th:first-child { padding-left: 0; }
.rac-ledger tbody th, .rac-ledger td { padding: 1.05rem .9rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: middle; }
.rac-ledger tbody th { padding-left: 0; font-family: var(--f-display); font-weight: 400; font-size: 1.08rem; color: var(--ink); }
.rac-ledger .n { font-variant-numeric: tabular-nums; }
.rac-ledger .is-muted { color: var(--muted); font-style: italic; }
.rac-ledger strong { font-weight: 600; color: var(--ink); white-space: nowrap; }
.rac-ledger td.rac-stamp { font-size: .8rem; }
.rac-ledger tbody { transition: opacity .2s ease; }
.rac-ledger tbody.is-fading { opacity: .15; }
.rac-ledger--anchors { min-width: 680px; margin-top: 2.75rem; }
@media (max-width: 760px) {
    .rac-ledger, .rac-ledger--anchors { min-width: 0; }
    .rac-ledger thead { display: none; }
    .rac-ledger, .rac-ledger tbody { display: block; }
    .rac-ledger tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1.25rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
    .rac-ledger tbody tr:first-child { border-top: 1px solid var(--ink); }
    .rac-ledger tbody th, .rac-ledger td { display: block; padding: 0; border: 0; }
    .rac-ledger tbody th { grid-column: 1 / -1; font-size: 1.18rem; }
    .rac-ledger td::before {
        content: attr(data-label); display: block; margin-bottom: .15rem;
        font-family: var(--f-text); font-style: normal; font-size: .64rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
    }
    .rac-ledger strong { white-space: normal; }
}

/* manifest record cards ("ticket") */
.rac-mcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; transition: opacity .2s ease; }
.rac-mcards.is-fading { opacity: .15; }
@media (min-width: 900px) { .rac-mcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
.rac-mcard {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr);
    background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-sm);
    transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.rac-mcard:hover { border-color: var(--rule-2); box-shadow: 0 30px 60px -44px rgba(16, 32, 31, .45); }
.rac-mcard__main { padding: clamp(20px, 2.4vw, 30px); min-width: 0; }
.rac-mcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; font-size: .8rem; color: var(--muted); }
.rac-mcard__name { margin-top: .8rem; font-size: clamp(1.3rem, 1.12rem + .5vw, 1.55rem); line-height: 1.25; }
.rac-mcard__specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem 1rem; margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rule); }
.rac-mcard__specs dt { font-size: .64rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.rac-mcard__specs dd { margin: .25rem 0 0; font-size: .95rem; color: var(--ink); font-weight: 500; line-height: 1.4; }
.rac-mcard__specs dd.is-muted { color: var(--muted); font-style: italic; font-weight: 400; }
.rac-mcard__stub {
    position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
    padding: clamp(18px, 2.2vw, 26px) clamp(20px, 2.4vw, 30px);
    border-top: 1px dashed var(--rule-2); background: rgba(239, 234, 224, .45);
}
.rac-mcard__stub::before, .rac-mcard__stub::after {
    content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
    background: var(--paper-2); border: 1px solid var(--rule);
}
.rac-mcard__stub::before { top: -9px; left: -9px; }
.rac-mcard__stub::after { top: -9px; right: -9px; }
.rac-mcard__rate span, .rac-mcard__src span { display: block; font-size: .64rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.rac-mcard__rate strong { font-family: var(--f-display); font-size: 1.15rem; font-weight: 420; color: var(--ink); line-height: 1.25; white-space: nowrap; }
.rac-mcard__src { font-size: .8rem; color: var(--text-soft); line-height: 1.45; }
@media (min-width: 560px) {
    .rac-mcard { grid-template-columns: minmax(0, 1fr) 12.5rem; }
    .rac-mcard__stub { border-top: 0; border-left: 1px dashed var(--rule-2); }
    .rac-mcard__stub::before { top: -10px; left: -10px; }
    .rac-mcard__stub::after { top: auto; bottom: -10px; right: auto; left: -10px; }
}

/* ---------- 13. Fares ---------- */
.rac-fares__cols { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .rac-fares__cols { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.rac-fares__panel { padding: clamp(24px, 3vw, 40px); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-sm); }
.rac-fares__panel.is-in { border-top: 3px solid var(--lagoon); }
.rac-fares__panel.is-in .rac-badge-ico { color: var(--lagoon); background: var(--lagoon-tint); border-color: rgba(43, 93, 86, .25); }
.rac-fares__panel.is-out { border-top: 3px solid var(--brass-2); }
.rac-fares__panel .rac-h3 { margin-top: .2rem; }
.rac-fares__panel .rac-list li:last-child { border-bottom: 0; }
.rac-anchors { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 900px) { .rac-anchors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
.rac-anchor { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem 1.5rem; padding: 1.3rem 0 0; border-top: 2px solid var(--ink); }
.rac-anchor__label, .rac-anchor__figure { font-family: var(--f-display); color: var(--ink); line-height: 1.3; }
.rac-anchor__label { font-size: 1.2rem; }
.rac-anchor__figure { font-size: 1.2rem; text-align: right; font-style: italic; color: var(--lagoon); }
.rac-anchor__label span, .rac-anchor__figure span, .rac-anchor__meta dt { display: block; font-family: var(--f-text); font-style: normal; font-size: .64rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.rac-anchor__meta { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1rem; margin: 0; padding-top: .9rem; border-top: 1px solid var(--rule); }
.rac-anchor__meta dd { margin: 0; font-size: .92rem; color: var(--text-soft); }
.rac-foot--center { text-align: center; max-width: 52rem; margin-inline: auto; margin-top: 2rem; }
.rac-list { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.rac-list li { position: relative; padding: .8rem 0 .8rem 2.1rem; border-bottom: 1px solid var(--rule); line-height: 1.6; color: var(--text-soft); }
.rac-list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 20px; height: 20px; border-radius: 50%; }
.rac-list--in li::before { background: var(--lagoon-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' fill='none' stroke='%232b5d56' stroke-width='1.6'%3E%3Cpath d='M1 4l2.6 2.6L9 1.2'/%3E%3C/svg%3E") center / 10px no-repeat; }
.rac-list--out li::before { background: rgba(196, 165, 116, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='2' fill='none' stroke='%2386673e' stroke-width='1.6'%3E%3Cpath d='M0 1h10'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* ---------- 14. Fork ---------- */
.rac-fork__grid { display: grid; gap: 1rem; }
@media (min-width: 900px) { .rac-fork__grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.rac-fcard { display: flex; flex-direction: column; gap: 1rem; padding: clamp(24px, 3vw, 38px); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-xs); min-height: 280px; }
.rac-fcard__title { font-size: clamp(1.3rem, 1.1rem + .5vw, 1.55rem); line-height: 1.25; }
.rac-fcard { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.rac-fcard:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -40px rgba(16, 32, 31, .45); }
.rac-fcard .rac-badge-ico { margin-bottom: .4rem; }
.rac-fcard__text { color: var(--text-soft); line-height: 1.65; }
.rac-fcard .rac-link-arrow { margin-top: auto; align-self: flex-start; }
.rac-fcard.is-here { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.rac-fcard.is-here .rac-fcard__title { color: var(--on-ink); }
.rac-fcard.is-here .rac-fcard__text { color: var(--on-ink-soft); }
.rac-fcard.is-here .rac-link-arrow { color: var(--brass-2); border-color: rgba(196, 165, 116, .45); }

/* ---------- 15. Desk steps ---------- */
.rac-desk__top { display: grid; gap: 2rem; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.rac-desk__top .rac-shead { margin-bottom: 0; }
.rac-desk__fig { margin: 0; }
.rac-desk__fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-xs); }
@media (min-width: 1024px) { .rac-desk__top { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 5rem; } }
.rac-voyage { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.rac-voyage li { padding: 1.6rem 0; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: .6rem; }
.rac-voyage__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.rac-voyage__n { font-family: var(--f-display); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--brass); font-weight: 300; }
.rac-voyage__title { font-size: 1.35rem; }
.rac-voyage li > p:not(.rac-voyage__doc) { color: var(--text-soft); line-height: 1.65; }
.rac-voyage__doc { margin-top: auto !important; padding-top: .9rem; border-top: 1px dashed var(--rule-2); font-size: .92rem; color: var(--ink); line-height: 1.5; }
.rac-voyage__doc span { display: block; font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
@media (min-width: 760px) { .rac-voyage { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; } }
@media (min-width: 1100px) { .rac-voyage { grid-template-columns: repeat(4, 1fr); } }
.rac-operator { margin-top: clamp(40px, 5vw, 64px); padding: 1.75rem clamp(20px, 3vw, 36px); background: var(--paper-2); border-left: 3px solid var(--ink); }
.rac-operator .rac-eyebrow { margin-bottom: .6rem; }
.rac-operator__text { max-width: 60rem; line-height: 1.7; color: var(--text-soft); }
.rac-operator__text strong { color: var(--ink); font-weight: 600; }
.rac-operator__text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-2); }
.rac-operator__text a:hover { color: var(--lagoon); text-decoration-color: currentColor; }

/* ---------- 16. Rail ---------- */
.rac-rail__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .rac-rail__grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.rac-rail__group summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; cursor: pointer; border-bottom: 1px solid var(--on-ink-rule); }
.rac-rail__group summary::-webkit-details-marker { display: none; }
.rac-rail__group summary .rac-rail__h { border-bottom: 0; padding: 1.05rem 0; }
.rac-rail__toggle { color: var(--brass-2); transition: transform .25s var(--ease); }
.rac-rail__group[open] .rac-rail__toggle { transform: rotate(45deg); }
@media (max-width: 899px) { .rac-rail__grid { gap: 0; } }
@media (min-width: 900px) {
    .rac-rail__group summary { pointer-events: none; cursor: default; }
    .rac-rail__toggle { display: none; }
}
.rac-rail__h { font-family: var(--f-text); font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-2) !important; padding-bottom: 1rem; border-bottom: 1px solid var(--on-ink-rule); }
.rac-rail__col ul { list-style: none; margin: 0; padding: 0; }
.rac-rail__col a {
    position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 1rem;
    padding: 1rem 0; border-bottom: 1px solid var(--on-ink-rule);
}
.rac-rail__label { font-family: var(--f-display); font-size: 1.14rem; color: var(--on-ink); transition: color .2s; }
.rac-rail__col small { grid-column: 1; font-size: .85rem; color: var(--on-ink-mute); margin-top: .15rem; }
.rac-rail__col a i { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--on-ink-mute); transition: transform .25s var(--ease), color .2s; }
.rac-rail__col a:hover .rac-rail__label { color: var(--brass-2); }
.rac-rail__col a:hover i { color: var(--brass-2); transform: translateX(4px); }

/* ---------- 17. FAQ (categorised) ---------- */
.rac-faq--band { background: var(--paper-2); }
.rac-faq__grid { display: grid; gap: 2.5rem; }
.rac-faq__desc { margin-top: 1rem; color: var(--text-soft); }
.rac-faq__fig { margin: 2rem 0 0; }
.rac-faq__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xs); }
@media (min-width: 1024px) {
    .rac-faq--band .rac-faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 5rem; }
    .rac-faq--split .rac-faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; }
    .rac-faq--band .rac-faq__head, .rac-faq--split .rac-faq__head { position: sticky; top: calc(var(--mast-h) + 32px); align-self: start; }
}
.rac-faq--page { padding-top: 0; }
.rac-faq--page .rac-faq__body { max-width: 1200px; margin-inline: auto; width: 100%; }
.rac-faq--page .rac-qa__a { max-width: 52rem; }
.rac-faq__search { margin-bottom: 1.5rem; }
.rac-faq__search label { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.rac-faq__searchRow { position: relative; display: flex; align-items: center; }
.rac-faq__searchRow i { position: absolute; left: 1rem; color: var(--muted); font-size: 1.15rem; pointer-events: none; }
.rac-faq__searchRow .rac-input { padding-left: 2.8rem; padding-right: 4rem; min-height: 56px; font-size: 1.05rem; }
.rac-faq__count { position: absolute; right: 1rem; font-family: var(--f-display); font-style: italic; color: var(--muted); font-variant-numeric: tabular-nums; }
.rac-faq__pills {
    display: flex; gap: .5rem; margin-bottom: 1.75rem;
    overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
    padding-bottom: .25rem; scrollbar-width: none;
}
.rac-faq__pills::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .rac-faq__pills { flex-wrap: wrap; overflow: visible; } }
.rac-pill {
    display: inline-flex; align-items: center; gap: .5rem; flex-shrink: 0; scroll-snap-align: start;
    min-height: 44px; padding: .5rem .95rem;
    font-size: .92rem; font-weight: 500; color: var(--ink); white-space: nowrap;
    background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--r-xs); cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.rac-pill i { font-size: 1.05rem; color: var(--lagoon); transition: color .2s; }
.rac-pill small { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.rac-pill:hover { border-color: var(--ink); }
.rac-pill.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.rac-pill.is-active i { color: var(--brass-2); }
.rac-pill.is-active small { color: var(--on-ink-mute); }
.rac-faq__list { border-top: 1px solid var(--ink); }
.rac-faq__group {
    display: flex; align-items: center; gap: .55rem; padding: 1.6rem 0 .35rem;
    font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--brass);
}
.rac-faq__group:first-child { padding-top: 1.1rem; }
.rac-faq__group i { font-size: 1rem; color: var(--lagoon); }
.rac-faq__group + .rac-qa { border-top: 0; }
.rac-qa { border-bottom: 1px solid var(--rule); }
.rac-qa summary {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
    padding: 1.35rem 0; cursor: pointer; list-style: none;
}
.rac-qa summary::-webkit-details-marker { display: none; }
.rac-qa__q { font-size: clamp(1.08rem, 1rem + .3vw, 1.25rem); font-weight: 420; line-height: 1.4; text-wrap: pretty; transition: color .2s; }
.rac-qa summary:hover .rac-qa__q { color: var(--lagoon); }
.rac-qa__icon { position: relative; flex-shrink: 0; width: 30px; height: 30px; margin-top: -1px; border: 1px solid var(--rule-2); border-radius: 50%; transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.rac-qa__icon::before, .rac-qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: var(--ink); transition: transform .3s var(--ease), background-color .25s; }
.rac-qa__icon::after { transform: rotate(90deg); }
.rac-qa[open] .rac-qa__icon { background: var(--ink); border-color: var(--ink); }
.rac-qa[open] .rac-qa__icon::before, .rac-qa[open] .rac-qa__icon::after { background: var(--paper); }
.rac-qa[open] .rac-qa__icon::after { transform: rotate(0); }
.rac-qa__a { padding: 0 3.5rem 1.6rem 0; max-width: 60rem; }
.rac-qa__a p { font-size: 1rem; }
.rac-faq__btn { margin-top: 2rem; }

/* ---------- 18. Quote + forms ---------- */
.rac-quote__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .rac-quote__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; } }
.rac-quote .rac-shead { margin-bottom: 1.5rem; }
.rac-quote__text { font-size: 1.08rem; line-height: 1.75; color: var(--on-ink-soft); max-width: 34rem; }
.rac-quote__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.rac-quote__fig { margin: 2.75rem 0 0; }
.rac-quote__fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-xs); }
.rac-form-card { padding: clamp(24px, 3.5vw, 44px); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-sm); color: var(--text); }
.rac-form-card--quote { background: var(--paper); border: 0; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .6); }
.rac-article .rac-form-card { margin-top: 2rem; }
.rac-form__lead { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.35; color: var(--ink); margin-bottom: 1.5rem; }
.rac-form__grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .rac-form__grid { grid-template-columns: 1fr 1fr; } .rac-field--wide { grid-column: 1 / -1; } }
.rac-field label { display: block; font-size: .8rem; font-weight: 500; letter-spacing: .06em; color: var(--text-soft); margin-bottom: .4rem; }
.rac-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.rac-form__fine { font-size: .84rem; color: var(--muted); }
.rac-form__fine a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.rac-form__status:empty { display: none; }
.rac-form__msg { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.25rem; padding: .9rem 1rem; border-radius: var(--r-xs); font-size: .95rem; line-height: 1.55; }
.rac-form__msg i { font-size: 1.2rem; margin-top: .05rem; }
.rac-form__msg.is-ok { background: var(--lagoon-tint); color: var(--lagoon); }
.rac-form__msg.is-err { background: rgba(154, 91, 69, .08); color: var(--rust); }
.rac-form__msg a { text-decoration: underline; }
.rac-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 19. Article pages ---------- */
.rac-crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0 0 clamp(28px, 4vw, 52px); padding: 0; font-size: .82rem; color: var(--muted); }
.rac-crumbs li + li::before { content: "›"; margin-right: .4rem; color: var(--rule-2); }
.rac-crumbs a { color: var(--text-soft); transition: color .2s; }
.rac-crumbs a:hover { color: var(--lagoon); }

/* Inner-page hero (layout ref. labuanbajoliveaboard.com inner pages) */
.rac-phero {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
    min-height: clamp(440px, 62vh, 640px);
    padding: clamp(64px, 9vw, 120px) 0;
    background: var(--ink); color: var(--on-ink); text-align: center;
}
.rac-phero.has-ruler { padding-bottom: calc(56px + clamp(56px, 7vw, 104px)); }
.rac-phero.is-plain {
    min-height: clamp(360px, 48vh, 520px);
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(63, 122, 113, .28), transparent 55%),
        radial-gradient(90% 80% at 100% 100%, rgba(196, 165, 116, .1), transparent 60%),
        var(--ink);
}
.rac-phero__media { position: absolute; inset: 0; z-index: -2; margin: 0; }
.rac-phero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; animation: rac-drift 22s ease-out both; }
.rac-phero__shade {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(70% 70% at 50% 50%, rgba(8, 20, 19, .28), rgba(8, 20, 19, 0) 70%),
        linear-gradient(0deg, rgba(8, 20, 19, .55) 0%, rgba(8, 20, 19, 0) 40%),
        rgba(8, 20, 19, .56);
}
.rac-phero.is-plain .rac-phero__shade { display: none; }
.rac-phero__inner { display: flex; flex-direction: column; align-items: center; }
.rac-crumbs--light ol { justify-content: center; margin: 0 0 1.4rem; color: var(--on-ink-mute); font-size: .8rem; letter-spacing: .04em; }
.rac-crumbs--light li { max-width: 32ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rac-crumbs--light li + li::before { content: "/"; margin-right: .45rem; color: var(--brass-2); }
.rac-crumbs--light a { color: var(--on-ink); }
.rac-crumbs--light a:hover { color: var(--brass-2); }
.rac-crumbs--light li[aria-current="page"] { color: var(--brass-2); }
.rac-phero__badge {
    display: inline-flex; align-items: center; margin-bottom: 1.5rem; padding: .5rem 1rem;
    font-size: .68rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; line-height: 1.3; color: var(--brass-2);
    background: rgba(196, 165, 116, .1); border: 1px solid rgba(196, 165, 116, .5); border-radius: var(--r-xs);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.rac-phero__title {
    max-width: 19em; color: var(--paper);
    font-size: clamp(2.15rem, 1.25rem + 3vw, 4.1rem);
    font-weight: 370; line-height: 1.06; letter-spacing: -.022em;
    text-shadow: 0 2px 28px rgba(8, 20, 19, .4);
}
.rac-phero__title em { display: block; margin-top: .08em; color: var(--brass-2); font-weight: 320; }
.rac-phero__sub { margin-top: clamp(1.1rem, 2vw, 1.6rem); max-width: 46rem; font-size: clamp(1rem, .95rem + .25vw, 1.12rem); line-height: 1.75; color: rgba(238, 233, 223, .86); text-wrap: pretty; }
.rac-rise:nth-child(1) { animation-delay: 0s; }
@media (max-width: 767px) { .rac-phero { min-height: 0; } }

/* byline opening the article body */
.rac-byline--top { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); padding: 0 0 1rem; border-top: 0; border-bottom: 1px solid var(--rule); }
.rac-blog__label { margin-bottom: 1.6rem; }

.rac-article { padding-block: clamp(48px, 6vw, 96px) clamp(56px, 7vw, 104px); }
.rac-article__grid { display: grid; gap: 2.5rem; }
.rac-article__body { min-width: 0; max-width: 47rem; }
@media (min-width: 1080px) {
    .rac-article__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 4.5rem; }
    .rac-article__grid.is-single { grid-template-columns: minmax(0, 1fr); }
    .rac-article__grid.is-single .rac-article__body { margin-inline: auto; width: 100%; }
}
.rac-article__grid.is-single .rac-article__body { margin-inline: auto; width: 100%; }
.rac-index { display: none; }
@media (min-width: 1080px) {
    .rac-index { display: block; }
    .rac-index__nav { position: sticky; top: calc(var(--mast-h) + 32px); max-height: calc(100vh - var(--mast-h) - 64px); overflow-y: auto; overscroll-behavior: contain; padding-right: .5rem; scrollbar-width: thin; }
}
.rac-index__label { font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); padding-bottom: .9rem; border-bottom: 1px solid var(--ink); }
.rac-index ol { list-style: none; margin: 0; padding: 0; }
.rac-index a {
    display: grid; grid-template-columns: 2rem 1fr; gap: .25rem; padding: .7rem 0;
    font-size: .88rem; line-height: 1.45; color: var(--text-soft); border-bottom: 1px solid var(--rule);
    transition: color .2s var(--ease);
}
.rac-index__n { font-family: var(--f-display); font-style: italic; color: var(--muted); font-variant-numeric: tabular-nums; }
.rac-index a:hover, .rac-index a.is-current { color: var(--ink); }
.rac-index a.is-current .rac-index__n { color: var(--lagoon); }
.rac-index a.is-current { box-shadow: inset 2px 0 0 var(--lagoon); padding-left: .6rem; }

.rac-intro > p:first-child {
    font-family: var(--f-display); font-size: clamp(1.3rem, 1.1rem + .7vw, 1.62rem); line-height: 1.5; color: var(--ink); font-weight: 380;
}
.rac-intro > p:first-child strong { font-weight: inherit; }
.rac-intro.has-dropcap > p:first-child::first-letter { font-size: 3.2em; float: left; line-height: .82; padding: .07em .1em 0 0; color: var(--lagoon); font-weight: 350; }

.rac-asec { margin-top: clamp(56px, 7vw, 96px); }
.rac-asec__head { display: grid; gap: .8rem; padding-top: 1.4rem; border-top: 1px solid var(--ink); margin-bottom: 1.6rem; }
.rac-asec__title { font-size: clamp(1.7rem, 1.25rem + 1.3vw, 2.45rem); line-height: 1.14; }

/* prose */
.rac-prose { font-size: 1.0625rem; line-height: 1.78; color: var(--text-soft); overflow-wrap: break-word; }
.rac-prose > * + * { margin-top: 1.15em; }
.rac-prose p { margin: 0; }
.rac-prose > p + p { margin-top: 1.1em; }
.rac-prose strong { color: var(--ink); font-weight: 600; }
.rac-prose em { font-style: italic; }
.rac-prose a { color: var(--lagoon); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: rgba(43, 93, 86, .4); transition: text-decoration-color .2s, color .2s; overflow-wrap: anywhere; }
.rac-prose a:hover { color: var(--ink); text-decoration-color: currentColor; }
.rac-prose h2 { font-size: 1.9rem; margin-top: 2em; }
.rac-prose h3 { font-size: clamp(1.25rem, 1.1rem + .45vw, 1.45rem); margin-top: 2em; color: var(--ink); }
.rac-prose h3 + * { margin-top: .7em; }
.rac-prose ul, .rac-prose ol { margin: 1.2em 0 0; padding: 0; list-style: none; }
.rac-prose ul > li { position: relative; padding: .45rem 0 .45rem 1.6rem; }
.rac-prose ul > li::before { content: ""; position: absolute; left: .1rem; top: 1.2rem; width: .75rem; height: 1px; background: var(--brass); }
.rac-prose ol { counter-reset: rac-ol; border-top: 1px solid var(--rule); }
.rac-prose ol > li { position: relative; counter-increment: rac-ol; padding: 1rem 0 1rem 3.1rem; border-bottom: 1px solid var(--rule); }
.rac-prose ol > li::before { content: counter(rac-ol, decimal-leading-zero); position: absolute; left: 0; top: .95rem; font-family: var(--f-display); font-style: italic; font-size: 1.35rem; line-height: 1.4; color: var(--brass); }
.rac-prose li strong:first-child { color: var(--ink); }
.rac-prose blockquote { margin: 1.6em 0 0; padding: .2rem 0 .2rem 1.4rem; border-left: 2px solid var(--brass); font-family: var(--f-display); font-size: 1.2rem; color: var(--ink); }
.rac-prose figure { margin: 2.2em 0 0; }
.rac-prose figure img { width: 100%; border-radius: var(--r-xs); }
.rac-prose figcaption { margin-top: .7rem; font-family: var(--f-display); font-style: italic; font-size: .98rem; color: var(--muted); line-height: 1.5; }
.rac-prose .rk-related { font-size: .98rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.rac-prose .rk-related + .rk-related { border-top: 0; padding-top: 0; }
.rac-prose .rk-related strong { color: var(--brass); font-weight: 500; letter-spacing: .02em; }
.rac-table { margin-top: 1.6em !important; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; border-top: 1px solid var(--ink);
    background: linear-gradient(to right, var(--paper) 30%, rgba(247, 244, 238, 0)), linear-gradient(to left, var(--paper) 30%, rgba(247, 244, 238, 0)) 100% 0,
        radial-gradient(farthest-side at 0 50%, rgba(16, 32, 31, .12), transparent), radial-gradient(farthest-side at 100% 50%, rgba(16, 32, 31, .12), transparent) 100% 0;
    background-repeat: no-repeat; background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%; background-attachment: local, local, scroll, scroll;
}
.rac-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .93rem; line-height: 1.55; }
.rac-table thead th { padding: .85rem 1rem .75rem; text-align: left; vertical-align: bottom; font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--rule-2); }
.rac-table tbody th, .rac-table td { padding: .9rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.rac-table thead th:first-child, .rac-table tbody th { padding-left: 0; }
.rac-table tbody th { font-weight: 500; color: var(--ink); min-width: 9rem; }
.rac-table td { color: var(--text-soft); }
.rac-table a { white-space: nowrap; }
@media (max-width: 640px) {
    .rac-table { background: none; overflow: visible; border-top: 0; }
    .rac-table table.has-labels { min-width: 0; }
    .rac-table table.has-labels thead { display: none; }
    .rac-table table.has-labels, .rac-table table.has-labels tbody, .rac-table table.has-labels tr { display: block; }
    .rac-table table.has-labels tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
    .rac-table table.has-labels tbody tr:first-child { border-top: 1px solid var(--ink); }
    .rac-table table.has-labels th, .rac-table table.has-labels td { display: block; padding: 0; border: 0; min-width: 0; }
    .rac-table table.has-labels tbody th { grid-column: 1 / -1; font-family: var(--f-display); font-size: 1.12rem; font-weight: 400; }
    .rac-table table.has-labels tbody th::before { display: none; }
    .rac-table table.has-labels td::before, .rac-table table.has-labels tbody th::before {
        content: attr(data-label); display: block; margin-bottom: .15rem;
        font-family: var(--f-text); font-size: .64rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
    }
    .rac-table a { white-space: normal; }
}

/* callout */
.rac-callout { margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 48px); background: var(--ink); color: var(--on-ink); border-radius: var(--r-sm); position: relative; overflow: hidden; }
.rac-callout::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border: 1px solid var(--on-ink-rule); border-radius: 50%; }
.rac-callout__text { position: relative; }
.rac-callout__text.rac-prose, .rac-callout .rac-prose { color: var(--on-ink-soft); font-family: var(--f-display); font-size: clamp(1.12rem, 1rem + .4vw, 1.32rem); line-height: 1.6; }
.rac-callout .rac-prose strong { color: var(--brass-2); font-weight: 500; }
.rac-callout .rac-prose a { color: var(--on-ink); text-decoration-color: var(--on-ink-rule); }
.rac-callout__cta { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 1.75rem; }

/* related + closing */
.rac-related { border-top: 1px solid var(--rule); }
.rac-related__in { display: grid; gap: 1.5rem; }
.rac-related__links { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.rac-related__label { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.rac-related__links ul { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.rac-related__links a { display: inline-flex; align-items: center; gap: .5rem; min-height: 42px; padding: .45rem .95rem; border: 1px solid var(--rule-2); border-radius: var(--r-xs); font-size: .95rem; color: var(--ink); transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.rac-related__links a:first-letter { text-transform: uppercase; }
.rac-related__links a i { color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.rac-related__links a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.rac-related__links a:hover i { color: var(--brass-2); transform: translateX(3px); }
.rac-related__closing { font-family: var(--f-display); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); color: var(--ink); line-height: 1.5; }
.rac-related__closing strong { font-weight: 450; }
.rac-related__closing a { color: var(--lagoon); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* From the desk / cards */
.rac-desk-posts { border-top: 1px solid var(--rule); }
.rac-desk-posts__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.rac-cards { display: grid; gap: 2.5rem 1.75rem; }
@media (min-width: 700px) { .rac-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .rac-cards { grid-template-columns: repeat(3, 1fr); } }
.rac-card__link { display: flex; flex-direction: column; gap: 1.1rem; height: 100%; }
.rac-card__media { display: block; overflow: hidden; border-radius: var(--r-xs); background: var(--paper-2); }
.rac-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.rac-card__link:hover .rac-card__media img { transform: scale(1.035); }
.rac-card__body { display: flex; flex-direction: column; gap: .5rem; }
.rac-card__date { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.rac-card__title { font-family: var(--f-display); font-size: clamp(1.2rem, 1.08rem + .35vw, 1.4rem); line-height: 1.3; color: var(--ink); transition: color .2s; text-wrap: balance; }
.rac-card__link:hover .rac-card__title { color: var(--lagoon); }
.rac-card__excerpt { color: var(--text-soft); line-height: 1.65; }
@media (min-width: 1024px) {
    .rac-card--large { grid-column: 1 / -1; }
    .rac-card--large .rac-card__link { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; align-items: center; }
    .rac-card--large .rac-card__media img { aspect-ratio: 16 / 10; }
    .rac-card--large .rac-card__title { font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.5rem); }
}
.nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 3.5rem; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .75rem; border: 1px solid var(--rule-2); border-radius: var(--r-xs); font-size: .95rem; color: var(--ink); transition: background-color .2s, color .2s; }
.nav-links .page-numbers.current, .nav-links a.page-numbers:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 20. Components: vessel shelf + month picker ---------- */
.rac-shelf { margin-top: 2rem; }
.rac-shelf__filters { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.5rem; padding: 1.1rem 0; border-block: 1px solid var(--rule); margin-bottom: 1rem; }
.rac-shelf__flabel { font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.rac-shelf__fgroup { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.rac-shelf__fname { font-size: .82rem; color: var(--muted); margin-right: .2rem; }
.rac-shelf__fgroup .rac-chip { min-height: 36px; padding: .35rem .75rem; font-size: .85rem; }
.rac-shelf__group { margin-top: 2.5rem; }
.rac-shelf__ghead { display: grid; gap: 1rem; margin-bottom: 1rem; }
.rac-shelf__gtitle { font-size: clamp(1.3rem, 1.1rem + .5vw, 1.55rem); }
.rac-shelf__fig { margin: 0; }
.rac-shelf__fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-xs); }
.rac-shelf__fig figcaption { margin-top: .5rem; font-family: var(--f-display); font-style: italic; font-size: .92rem; color: var(--muted); }
.rac-shelf__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.rac-vessel { display: grid; gap: .5rem 1.25rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); grid-template-columns: 1fr auto; align-items: center; }
.rac-vessel__name { grid-column: 1 / -1; font-family: var(--f-display); font-size: 1.14rem; color: var(--ink); line-height: 1.3; }
.rac-vessel__specs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; margin: 0; font-size: .86rem; }
.rac-vessel__specs div { display: flex; gap: .35rem; }
.rac-vessel__specs dt { color: var(--muted); }
.rac-vessel__specs dd { margin: 0; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.rac-vessel__rate { display: flex; flex-direction: column; font-size: .8rem; color: var(--muted); }
.rac-vessel__rate strong { font-size: .93rem; color: var(--ink); font-weight: 600; white-space: nowrap; }
.rac-vessel__cta { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: .4rem .85rem; font-size: .88rem; font-weight: 500; color: var(--ink); border: 1px solid var(--rule-2); border-radius: var(--r-xs); white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; justify-self: end; }
.rac-vessel__cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rac-vessel.is-hidden { display: none; }
.rac-shelf__note { margin-top: 1rem; font-size: .96rem; }
@media (min-width: 760px) {
    .rac-vessel { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) auto auto; column-gap: 1.5rem; }
    .rac-vessel__name, .rac-vessel__specs { grid-column: auto; }
}
.rac-shelf__ghead.has-fig .rac-shelf__fig { order: -1; }
.rac-shelf__ghead.has-fig .rac-shelf__fig img { aspect-ratio: 21 / 9; }
.rac-picker { margin-top: 1.6rem; padding: clamp(22px, 3vw, 34px); background: var(--lagoon-tint); border-left: 3px solid var(--lagoon); border-radius: var(--r-xs); }
.rac-picker__title { font-family: var(--f-display); font-size: 1.35rem; color: var(--ink); margin-bottom: 1.1rem; }
.rac-picker__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; }
.rac-picker__row .rac-field { flex: 1 1 240px; max-width: 340px; }
.rac-picker__note { margin-top: 1rem; font-size: .88rem; color: var(--text-soft); }
.rac-picker__note a { color: var(--ink); text-decoration: underline; }

/* ---------- 21. Empty / search ---------- */
.rac-empty__in { max-width: 44rem; }
.rac-empty__title { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.8rem); font-weight: 350; line-height: 1.08; }
.rac-empty__text { margin-top: 1.25rem; font-size: 1.1rem; color: var(--text-soft); }
.rac-search { margin-top: 2.5rem; }
.rac-search__label { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.rac-search__row { display: flex; gap: .5rem; }
.rac-results { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.rac-results__item a { display: grid; gap: .3rem; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.rac-results__type { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.rac-results__title { font-family: var(--f-display); font-size: 1.35rem; color: var(--ink); }
.rac-results__excerpt { color: var(--text-soft); font-size: .96rem; }
.rac-results__item a:hover .rac-results__title { color: var(--lagoon); }

/* ---------- 22. Footer ---------- */
.rac-footer { background: var(--ink-deep); color: var(--on-ink-soft); font-size: .95rem; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
.rac-footer__cta { border-bottom: 1px solid var(--on-ink-rule); }
.rac-footer__ctaIn { display: grid; gap: 1.75rem; padding-block: clamp(48px, 6vw, 88px); }
.rac-footer__ctaT { font-family: var(--f-display); font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.35rem); line-height: 1.1; color: var(--on-ink); font-weight: 340; letter-spacing: -.02em; max-width: 18em; text-wrap: balance; }
.rac-footer__ctaL { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 1024px) { .rac-footer__ctaIn { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } .rac-footer__ctaL { justify-content: flex-end; } }
.rac-footer__main { display: grid; gap: 2.5rem 2rem; padding-block: clamp(48px, 6vw, 80px) 2.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rac-footer__brand { grid-column: 1 / -1; max-width: 26rem; }
@media (min-width: 1080px) { .rac-footer__main { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); } .rac-footer__brand { grid-column: auto; } }
.rac-footer__word { font-family: var(--f-display); font-size: 1.7rem; color: var(--on-ink); }
.rac-footer__desk { margin-top: .3rem; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-ink-mute); }
.rac-footer__blurb { margin: 1.25rem 0 1.25rem; line-height: 1.7; }
.rac-footer__h { font-family: var(--f-text); font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 1rem; }
.rac-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.rac-footer__col a { display: inline-block; padding: .3rem 0; line-height: 1.45; transition: color .2s; overflow-wrap: anywhere; }
.rac-footer__col a:hover { color: var(--on-ink); }
.rac-footer__related { padding: 1.5rem 0; border-top: 1px solid var(--on-ink-rule); font-size: .9rem; }
.rac-footer__related a { color: var(--on-ink); text-decoration-color: var(--on-ink-rule); }
.rac-footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 2rem; padding-top: 1.5rem; border-top: 1px solid var(--on-ink-rule); font-size: .82rem; color: var(--on-ink-mute); }
.rac-footer .rac-link-arrow { color: var(--on-ink); border-color: var(--on-ink-rule); font-size: .9rem; }
.rac-footer .rac-link-arrow:hover { color: var(--brass-2); border-color: currentColor; }
@media (min-width: 1080px) { .rac-footer__h { min-height: 2.9em; } }
.rac-footer__legal a:hover { color: var(--on-ink); }

/* ---------- 23. Floating WhatsApp + mobile action bar ---------- */
.rac-wafloat {
    position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 90;
    display: none; align-items: center; gap: .6rem; height: 52px; padding: 0 1.1rem 0 .95rem;
    background: var(--lagoon); color: var(--paper); border-radius: 999px;
    box-shadow: 0 18px 40px -18px rgba(16, 32, 31, .6);
    font-size: .9rem; font-weight: 500;
    transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.rac-wafloat i { font-size: 1.45rem; }
.rac-wafloat:hover { background: var(--ink); transform: translateY(-2px); }
.rac-mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: grid; grid-template-columns: 1fr 1fr auto;
    background: var(--ink); border-top: 1px solid var(--on-ink-rule);
    padding-bottom: env(safe-area-inset-bottom);
    transition: transform .3s var(--ease);
}
.rac-mbar.is-hidden { transform: translateY(110%); }
.rac-mbar a { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 56px; padding: 0 1rem; font-size: .92rem; font-weight: 500; color: var(--on-ink); }
.rac-mbar a + a { border-left: 1px solid var(--on-ink-rule); }
.rac-mbar__plan { background: var(--paper); color: var(--ink) !important; }
.rac-mbar__wa i { font-size: 1.35rem; color: var(--brass-2); }
body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
    .rac-mbar { display: none; }
    .rac-wafloat { display: inline-flex; }
    body { padding-bottom: 0; }
}

/* ---------- 24. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .js .rv { opacity: 1 !important; transform: none !important; }
}

/* ---------- 25. Print ---------- */
@media print {
    .rac-topbar, .rac-mast, .rac-sheet, .rac-mbar, .rac-wafloat, .rac-footer__cta, .rac-index { display: none !important; }
    body { background: #fff; padding: 0; }
    .rac-dark { background: #fff; color: #000; }
}

.rac-picker + .rac-prose, .rac-shelf + .rac-prose, .rac-form-card + .rac-prose { margin-top: 1.6rem; }
.rac-wafloat.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
.rac-wafloat { transition: background-color .25s var(--ease), transform .25s var(--ease), opacity .25s var(--ease); }

/* ---------- 26. Inline icons ---------- */
.rac-i { display: inline-flex; align-items: center; justify-content: center; width: 1em; height: 1em; line-height: 1; flex-shrink: 0; vertical-align: -.125em; }
.rac-i svg { display: block; width: 1em; height: 1em; }
.rac-plan:focus-visible { box-shadow: 0 0 0 3px var(--brass-2), 0 50px 90px -50px rgba(0, 0, 0, .6); }
