/* ==========================================================================
   Raja Ampat Diving Tour — "Dive Logbook"
   Minimal luxury: abyss ink, logbook paper, one stamp-red accent.
   Type: Newsreader (display, optical sizes) · Instrument Sans (text) · IBM Plex Mono (log labels)
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
    --abyss: #08171b;
    --ink: #0e2227;
    --ink-2: #16323a;
    --ink-3: #21434c;
    --ink-soft: #3b5157;
    --muted: #5b6b6f;
    --mist: #a7b5b3;
    --mist-2: #c9d3d1;

    --paper: #f6f2eb;
    --paper-2: #efe9df;
    --paper-3: #e6dfd2;
    --white: #fffdf9;

    --stamp: #b2432a;
    --stamp-h: #9b3822;
    --stamp-soft: #e0876f;
    --stamp-tint: rgba(178, 67, 42, .08);
    --lagoon: #1f6f6b;
    --lagoon-soft: #7fc1b8;
    --lagoon-tint: rgba(31, 111, 107, .1);

    --line: rgba(14, 34, 39, .12);
    --line-2: rgba(14, 34, 39, .2);
    --line-3: rgba(14, 34, 39, .34);
    --line-light: rgba(246, 242, 235, .13);
    --line-light-2: rgba(246, 242, 235, .28);

    --serif: 'Newsreader', 'Iowan Old Style', 'Times New Roman', serif;
    --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    --container: 1320px;
    --gutter: clamp(1.25rem, 4vw, 3.5rem);
    --section: clamp(4.5rem, 3rem + 6vw, 9rem);
    --radius: 2px;
    --strip-h: 36px;
    --bar-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    --fs-hero: clamp(2.7rem, 1.5rem + 4.7vw, 5.85rem);
    --fs-h1: clamp(2.35rem, 1.45rem + 3.3vw, 4.6rem);
    --fs-h2: clamp(2.1rem, 1.35rem + 2.6vw, 3.75rem);
    --fs-h2s: clamp(1.7rem, 1.3rem + 1.35vw, 2.5rem);
    --fs-h3: clamp(1.35rem, 1.15rem + .6vw, 1.75rem);

    --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05  0 0 0 0 0.13  0 0 0 0 0.15  0 0 0 .075 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html {
    color-scheme: light;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--bar-h) + 1.25rem);
}
body {
    margin: 0;
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: rgba(178, 67, 42, .14);
}
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a, button, summary, label, input { touch-action: manipulation; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
[class*="title"], .lead-summary, .brand__name, .counter__value { font-optical-sizing: auto; }
p, figure, dl, dd { margin: 0; }
::selection { background: var(--stamp); color: #fff; }
:focus-visible { outline: 2px solid var(--stamp); outline-offset: 3px; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.num { font-variant-numeric: tabular-nums; }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; top: .75rem; left: -9999px; z-index: 100;
    background: var(--stamp); color: #fff; padding: .7rem 1.1rem; border-radius: var(--radius);
}
.skip-link:focus { left: .75rem; }
.site-main:focus { outline: none; }

.container {
    width: 100%; max-width: var(--container); margin-inline: auto;
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.container--narrow { max-width: calc(52rem + var(--gutter) * 2); }

/* ------------------------------------------------------------- surfaces */
.section { position: relative; padding-block: var(--section); }
.section--paper { background-color: var(--paper); background-image: var(--grain); }
.section--paper-2 { background-color: var(--paper-2); background-image: var(--grain); }
.section--white { background-color: var(--white); }
.section--abyss { background-color: var(--abyss); color: var(--paper); }

/* ------------------------------------------------------------ typography */
.eyebrow {
    display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .8rem;
    font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink-soft); margin-bottom: 1.5rem;
}
.eyebrow__no { color: var(--stamp); }
.eyebrow__sep { width: 2.25rem; height: 1px; background: currentColor; opacity: .45; }
.eyebrow--light { color: var(--mist); }
.eyebrow--light .eyebrow__no { color: var(--stamp-soft); }

.section-title {
    font-family: var(--serif); font-size: var(--fs-h2); font-weight: 350; line-height: 1.06;
    letter-spacing: -.02em; color: var(--ink); text-wrap: balance;
}
.section-title em, .cta-band__title em, .footer__title em { font-style: italic; color: var(--stamp); }
.section-title--light, .section--abyss .section-title { color: var(--paper); }
.section-title--light em, .section--abyss .section-title em, .footer__title em { color: var(--stamp-soft); }

.section-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); max-width: 52rem; }
.section-head--split { display: grid; gap: 1.5rem 4rem; max-width: none; align-items: end; }
.section-head__text { color: var(--ink-soft); max-width: 36rem; text-wrap: pretty; }
.section--abyss .section-head__text { color: var(--mist); }
@media (min-width: 1024px) {
    .section-head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}

.lead-text { font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); line-height: 1.35; }

/* --------------------------------------------------------------- buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 3.25rem; padding: .85rem 1.5rem;
    border: 1px solid transparent; border-radius: var(--radius);
    font-family: var(--sans); font-size: .9375rem; font-weight: 500; letter-spacing: .01em; line-height: 1.2;
    text-align: center; cursor: pointer;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { width: 1.1rem; height: 1.1rem; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--stamp { background: var(--stamp); color: #fff; }
.btn--stamp:hover { background: var(--stamp-h); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-3); }
.btn--line { border-color: var(--line-3); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); background: rgba(14, 34, 39, .04); }
.btn--line-light { border-color: var(--line-light-2); color: var(--paper); background: transparent; }
.btn--line-light:hover { border-color: var(--paper); background: rgba(246, 242, 235, .07); }
.btn--sm { min-height: 2.625rem; padding: .55rem 1.1rem; font-size: .875rem; }
.btn--block { width: 100%; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .45rem;
    font-weight: 500; color: var(--stamp);
    border-bottom: 1px solid currentColor; padding-bottom: 1px; line-height: 1.4;
    transition: color .2s var(--ease);
}
.link-arrow .icon { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--stamp-h); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow--light { color: var(--stamp-soft); }
.link-arrow--light:hover { color: var(--paper); }

.tag {
    display: inline-block; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
    border: 1px solid var(--line-light-2); padding: .15rem .45rem; margin-right: .6rem; color: var(--mist);
    vertical-align: middle;
}

/* ================================================================ HEADER */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50; color: var(--paper);
    transition: transform .45s var(--ease), background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled {
    transform: translateY(calc(-1 * var(--strip-h)));
    background: rgba(246, 242, 235, .93); color: var(--ink);
    -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px);
    box-shadow: 0 1px 0 var(--line);
}

.strip {
    height: var(--strip-h); border-bottom: 1px solid var(--line-light);
    font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; color: var(--mist);
    transition: opacity .3s var(--ease);
}
.site-header.is-scrolled .strip { opacity: 0; }
.strip__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.strip__season { display: flex; align-items: center; gap: .6rem; min-width: 0; white-space: nowrap; overflow: hidden; }
.strip__no { color: var(--stamp-soft); flex: none; }
.strip__lead { flex: none; }
.strip__now { color: var(--paper); overflow: hidden; text-overflow: ellipsis; }
.strip__asof { opacity: .7; flex: none; }
.strip__contact { display: none; list-style: none; margin: 0; padding: 0; gap: 1.75rem; flex: none; }
.strip__contact a { color: var(--mist-2); transition: color .2s; }
.strip__contact a:hover { color: var(--paper); }
@media (max-width: 559.98px) { .strip__no, .strip__asof { display: none; } }
@media (min-width: 900px) { .strip__contact { display: flex; } }

.bar { height: var(--bar-h); }
.bar__inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }

.brand { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; line-height: 1; margin-right: auto; min-width: 0; }
.brand__name { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); letter-spacing: -.005em; white-space: nowrap; }
.brand__tag { font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; opacity: .72; white-space: nowrap; }
.brand__logo { height: 56px; width: auto; max-width: 100%; align-self: flex-start; flex-shrink: 0; }
.brand__logo--dark { display: none; }
.is-scrolled .brand__logo--light { display: none; }
.is-scrolled .brand__logo--dark { display: block; }

.nav { display: none; }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: .15rem; }
.nav__item { position: relative; }
.nav__btn, .nav__link {
    position: relative; display: inline-flex; align-items: center; gap: .35rem;
    padding: .7rem .8rem; background: none; border: 0; cursor: pointer;
    font-size: .9rem; font-weight: 500; letter-spacing: .005em; white-space: nowrap;
}
.nav__btn::after, .nav__link::after {
    content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .35rem; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__btn:hover::after, .nav__link:hover::after, .nav__item.is-open .nav__btn::after, .nav__link[aria-current]::after { transform: scaleX(1); }
.nav__chev { width: .95rem; height: .95rem; transition: transform .25s var(--ease); }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }

.dd {
    position: absolute; top: calc(100% + .6rem); left: -.5rem; min-width: 330px;
    background: var(--white); color: var(--ink); border: 1px solid var(--line);
    box-shadow: 0 32px 64px -32px rgba(8, 23, 27, .38);
    padding: 1.25rem 1.4rem 1rem;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
}
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -.75rem; height: .75rem; }
.nav__item.is-open .dd, .nav__item:focus-within .dd { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) { .nav__item:hover .dd { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; } }
.dd--2col { min-width: 580px; }
.dd--2col .dd__list { columns: 2; column-gap: 2rem; }
.nav__item:last-child .dd { left: auto; right: -.5rem; }
.dd__title {
    font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stamp);
    padding-bottom: .75rem; margin-bottom: .4rem; border-bottom: 1px solid var(--line);
}
.dd__list { list-style: none; margin: 0; padding: 0; }
.dd__list li { break-inside: avoid; }
.dd__link { display: flex; gap: .8rem; padding: .5rem 0; font-size: .925rem; line-height: 1.35; transition: color .2s var(--ease), transform .25s var(--ease); }
.dd__no { font-family: var(--mono); font-size: .64rem; color: var(--muted); padding-top: .22em; flex: none; }
.dd__link:hover, .dd__link[aria-current] { color: var(--stamp); }
.dd__link:hover { transform: translateX(2px); }

.bar__actions { display: flex; align-items: center; gap: .6rem; flex: none; }
.bar__cta { display: none; }
.burger {
    display: inline-flex; align-items: center; gap: .55rem; min-height: 2.625rem; padding: .45rem .85rem;
    background: none; border: 1px solid var(--line-light-2); border-radius: var(--radius); cursor: pointer;
    font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
    transition: border-color .25s var(--ease);
}
.is-scrolled .burger { border-color: var(--line-2); }
.burger .icon { width: 1.2rem; height: 1.2rem; }
@media (min-width: 640px) { .bar__cta { display: inline-flex; } }
@media (min-width: 1120px) {
    .nav { display: block; }
    .burger { display: none; }
    .brand { margin-right: 0; }
    .nav { margin-inline: auto; }
}

/* ----------------------------------------------------------- mobile sheet */
.sheet {
    position: fixed; inset: 0; z-index: 80; background: var(--abyss); color: var(--paper);
    overflow-y: auto; overscroll-behavior: contain;
    padding: 0 var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    opacity: 0; transform: translateY(-.75rem);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.sheet[hidden] { display: none; }
.sheet.is-open { opacity: 1; transform: none; }
html.sheet-open { overflow: hidden; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; min-height: calc(var(--strip-h) + var(--bar-h)); gap: 1rem; }
.sheet__close {
    display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: .45rem .9rem;
    background: none; border: 1px solid var(--line-light-2); border-radius: var(--radius); cursor: pointer;
    font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
}
.sheet__title { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stamp-soft); margin: 1rem 0 .5rem; }
.sheet__group { border-bottom: 1px solid var(--line-light); }
.sheet__group summary {
    list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1rem 0; cursor: pointer; font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.1rem); line-height: 1.1;
}
.sheet__group summary::-webkit-details-marker { display: none; }
.sheet__plus { width: 1.2rem; height: 1.2rem; transition: transform .3s var(--ease); }
.sheet__group[open] .sheet__plus { transform: rotate(45deg); }
.sheet__group ul { list-style: none; margin: 0; padding: 0 0 1.25rem; }
.sheet__group a { display: block; padding: .5rem 0; color: var(--mist); font-size: 1.05rem; transition: color .2s; }
.sheet__group a:hover { color: var(--paper); }
.sheet__single { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line-light); font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.1rem); line-height: 1.1; }
.sheet__actions { display: grid; gap: .75rem; margin-top: 2rem; }
.sheet__mail { text-align: center; font-size: .9rem; color: var(--mist); padding: .5rem; }

/* ================================================================ HERO */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--abyss); color: var(--paper);
    padding-top: calc(var(--strip-h) + var(--bar-h) + clamp(2.5rem, 7vh, 5.5rem));
    padding-bottom: clamp(2rem, 4vw, 3.25rem);
    display: flex; flex-direction: column; justify-content: flex-end;
}
@media (min-width: 1024px) { .hero { min-height: 100svh; } }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(8, 23, 27, .78) 0%, rgba(8, 23, 27, 0) 24%),
        linear-gradient(90deg, rgba(8, 23, 27, .93) 0%, rgba(8, 23, 27, .74) 40%, rgba(8, 23, 27, .28) 75%, rgba(8, 23, 27, .4) 100%),
        linear-gradient(0deg, rgba(8, 23, 27, .97) 0%, rgba(8, 23, 27, 0) 50%);
}
.hero__binding {
    display: none; position: absolute; right: calc(var(--gutter) * .5); top: 50%;
    writing-mode: vertical-rl; transform: translateY(-50%);
    font-family: var(--mono); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mist);
    gap: 1rem; align-items: center;
}
.hero__binding-no { color: var(--stamp-soft); }
@media (min-width: 1360px) { .hero__binding { display: flex; } }

.hero__grid { display: grid; gap: 3rem; align-items: end; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 4rem; } }
@media (min-width: 1280px) { .hero__grid { grid-template-columns: minmax(0, 1fr) 330px; } }
.hero__copy { max-width: 54rem; }
.hero__title {
    font-family: var(--serif); font-size: var(--fs-hero); font-weight: 350; line-height: 1; letter-spacing: -.025em;
    text-wrap: balance; margin-bottom: 1.6rem;
}
.hero__title em { font-style: italic; color: var(--stamp-soft); }
.hero__text { max-width: 38rem; font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem); color: rgba(246, 242, 235, .82); margin-bottom: 2.1rem; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.hero__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 2rem; font-size: .9rem; }
.hero__contact a { border-bottom: 1px solid transparent; transition: border-color .2s; }
.hero__contact a:hover { border-bottom-color: currentColor; }

.pasted { display: none; }
@media (min-width: 1024px) {
    .pasted {
        display: block; position: relative; margin-bottom: .5rem;
        background: var(--white); padding: .7rem .7rem 1rem;
        transform: rotate(2.2deg); box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .6);
    }
    .pasted img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
    .pasted figcaption { font-family: var(--mono); font-size: .68rem; line-height: 1.5; color: var(--ink-soft); padding-top: .8rem; }
    .pasted__tape {
        position: absolute; top: -13px; left: 50%; width: 104px; height: 28px;
        transform: translateX(-50%) rotate(-3deg);
        background: rgba(239, 233, 223, .78); box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    }
}

.ledger {
    list-style: none; margin: clamp(2.5rem, 5vw, 4.25rem) 0 0; padding: 0;
    display: grid; border-top: 1px solid var(--line-light-2);
}
.ledger__item { padding: 1.4rem 0; border-bottom: 1px solid var(--line-light); }
.ledger__no { font-family: var(--mono); font-size: .75rem; color: var(--stamp-soft); }
.ledger__title {
    display: inline-flex; align-items: baseline; gap: .5rem; margin: .3rem 0 1rem;
    font-family: var(--serif); font-size: clamp(1.45rem, 1.3rem + .5vw, 1.8rem); line-height: 1.15;
}
.ledger__title .icon { width: 1rem; height: 1rem; opacity: .6; transition: transform .3s var(--ease), opacity .3s; }
.ledger__title:hover .icon { transform: translate(2px, -2px); opacity: 1; }
.ledger__dl { display: grid; gap: .45rem; font-size: .875rem; }
.ledger__dl div { display: grid; grid-template-columns: 6.25rem minmax(0, 1fr); gap: 1rem; }
.ledger__dl dt { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); padding-top: .28em; }
.ledger__dl dd { color: rgba(246, 242, 235, .9); }
@media (min-width: 768px) and (max-width: 1199.98px) {
    .ledger__dl div { grid-template-columns: 1fr; gap: .1rem; }
}
@media (min-width: 1024px) and (max-height: 860px) {
    .hero__title { font-size: min(var(--fs-hero), 10.5vh); }
    .hero__text { margin-bottom: 1.6rem; }
}
@media (min-width: 768px) {
    .ledger { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ledger__item { padding: 1.75rem 2rem .25rem 0; border-bottom: 0; }
    .ledger__item + .ledger__item { padding-left: 2rem; border-left: 1px solid var(--line-light); }
}

/* hero entrance */
@media (prefers-reduced-motion: no-preference) {
    .hero__media img { animation: rdt-settle 2.4s var(--ease) both; }
    .hero__copy > *, .pasted, .ledger__item { animation: rdt-rise .9s var(--ease) both; }
    .hero__copy > :nth-child(2) { animation-delay: .08s; }
    .hero__copy > :nth-child(3) { animation-delay: .16s; }
    .hero__copy > :nth-child(4) { animation-delay: .24s; }
    .hero__copy > :nth-child(5) { animation-delay: .3s; }
    .pasted { animation-delay: .35s; animation-name: rdt-paste; }
    .ledger__item:nth-child(1) { animation-delay: .4s; }
    .ledger__item:nth-child(2) { animation-delay: .48s; }
    .ledger__item:nth-child(3) { animation-delay: .56s; }
}
@keyframes rdt-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes rdt-settle { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes rdt-paste { from { opacity: 0; transform: rotate(6deg) translateY(20px); } to { opacity: 1; transform: rotate(2.2deg); } }

/* ------------------------------------------------------------------ scope */
.scope { background-color: var(--paper-2); background-image: var(--grain); border-bottom: 1px solid var(--line); }
.scope__inner { display: grid; gap: .6rem 3rem; padding-block: clamp(1.75rem, 3vw, 2.5rem); }
.scope__label { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stamp); padding-top: .2rem; }
.scope__text { font-size: .95rem; color: var(--ink-soft); max-width: 72rem; }
@media (min-width: 900px) { .scope__inner { grid-template-columns: 9rem minmax(0, 1fr); } }

/* ============================================================ PAGE HERO */
.page-hero {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--abyss); color: var(--paper);
    padding-top: calc(var(--strip-h) + var(--bar-h) + clamp(2.5rem, 5vw, 4.5rem));
    padding-bottom: clamp(2.5rem, 4vw, 4rem);
}
.page-hero.has-image { min-height: clamp(540px, 76vh, 820px); display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero.is-plain { background: radial-gradient(110% 90% at 88% 0%, rgba(31, 111, 107, .38), transparent 58%), var(--abyss); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-image::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(8, 23, 27, .72) 0%, rgba(8, 23, 27, 0) 26%),
        linear-gradient(0deg, rgba(8, 23, 27, .97) 0%, rgba(8, 23, 27, .62) 46%, rgba(8, 23, 27, .3) 100%),
        linear-gradient(90deg, rgba(8, 23, 27, .65), rgba(8, 23, 27, 0) 72%);
}
.page-hero__inner { display: grid; gap: 1.75rem; }
@media (min-width: 1024px) { .page-hero__inner { grid-template-columns: minmax(0, 1fr) 21rem; column-gap: 4rem; align-items: end; } }
.crumbs { grid-column: 1 / -1; min-width: 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; gap: .6rem; min-width: 0; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mist); }
.crumbs li { flex: none; }
.crumbs li + li { flex: 1 1 auto; min-width: 0; }
.crumbs li + li::before { content: "›"; margin-right: .6rem; }
.crumbs li[aria-current] span { display: inline-block; max-width: calc(100% - 1.5rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; color: var(--paper); }
.crumbs a:hover { color: var(--paper); }
.page-hero__copy { min-width: 0; }
.page-hero__title {
    font-family: var(--serif); font-size: var(--fs-h1); font-weight: 350; line-height: 1.05; letter-spacing: -.02em;
    text-wrap: balance; max-width: 22ch;
}
.page-hero__title em { font-style: italic; color: var(--stamp-soft); }
.page-hero__meta { margin-top: 1rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.quick { border-top: 1px solid var(--line-light-2); padding-top: 1.1rem; }
.quick__label { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stamp-soft); }
.quick__text { margin-top: .5rem; font-size: .97rem; line-height: 1.6; color: rgba(246, 242, 235, .85); text-wrap: pretty; }
@media (min-width: 1024px) { .quick { border-top: 0; border-left: 1px solid var(--line-light-2); padding: 0 0 .35rem 1.75rem; } }

/* ============================================================ GUIDE PAGE */
.guide { background-color: var(--paper); background-image: var(--grain); padding-block: clamp(3rem, 5vw, 6rem); }
.guide__grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .guide__grid { grid-template-columns: 16.5rem minmax(0, 1fr); gap: 4.5rem; } }
@media (min-width: 1280px) { .guide__grid { grid-template-columns: 18.5rem minmax(0, 1fr); gap: 6rem; } }
.guide__aside { display: grid; gap: 1.5rem; align-content: start; min-width: 0; }
@media (min-width: 1024px) {
    .guide__aside {
        position: sticky; top: calc(var(--bar-h) + 1.75rem); align-self: start;
        max-height: calc(100vh - var(--bar-h) - 3rem); overflow-y: auto; scrollbar-width: thin; padding-right: .25rem;
    }
}
.toc { border-top: 1px solid var(--ink); }
.toc__toggle {
    display: flex; width: 100%; min-height: 3.25rem; justify-content: space-between; align-items: center;
    background: none; border: 0; border-bottom: 1px solid var(--line); padding: .9rem 0; cursor: pointer;
    font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
}
.toc__toggle .icon { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.toc.is-open .toc__toggle .icon { transform: rotate(45deg); }
.toc__list { list-style: none; margin: 0; padding: 0; display: none; }
.toc.is-open .toc__list { display: block; }
.toc__list a {
    display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .4rem;
    padding: .6rem 0; border-bottom: 1px solid var(--line);
    font-size: .86rem; line-height: 1.4; color: var(--ink-soft); transition: color .2s var(--ease);
}
.toc__list a:hover { color: var(--ink); }
.toc__list a[aria-current] { color: var(--stamp); }
.toc__no { font-family: var(--mono); font-size: .64rem; color: var(--muted); padding-top: .2em; }
.toc__list a[aria-current] .toc__no { color: var(--stamp); }
@media (min-width: 1024px) {
    .toc__toggle { cursor: default; pointer-events: none; }
    .toc__toggle .icon { display: none; }
    .toc__list { display: block; }
}
.desk-card { display: none; }
@media (min-width: 1024px) {
    .desk-card { display: grid; gap: .8rem; padding: 1.25rem; background: var(--white); border: 1px solid var(--line); }
}
.desk-card__label { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.desk-card .btn { font-size: .85rem; padding-inline: 1rem; }
.desk-card__mail { display: flex; gap: .5rem; align-items: center; font-size: .82rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.desk-card__mail .icon { width: 1rem; height: 1rem; }
.desk-card__mail:hover { color: var(--stamp); }

.guide__body { min-width: 0; max-width: 48rem; }
.byline { font-size: .84rem; line-height: 1.6; color: var(--muted); padding-bottom: 1.25rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.byline strong { color: var(--ink); font-weight: 600; }
.lead-summary {
    font-family: var(--serif); font-size: clamp(1.3rem, 1.15rem + .7vw, 1.7rem); line-height: 1.45; font-weight: 400;
    color: var(--ink); margin-bottom: 1.5rem; text-wrap: pretty;
}
.g-section {
    margin-top: clamp(2.5rem, 4vw, 3.5rem); padding-top: clamp(2.5rem, 4vw, 3.5rem);
    border-top: 1px solid var(--line); scroll-margin-top: calc(var(--bar-h) + 1.25rem);
}
.g-section__no { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: var(--stamp); margin-bottom: .75rem; }
.g-section__title { font-family: var(--serif); font-size: var(--fs-h2s); line-height: 1.12; letter-spacing: -.01em; margin-bottom: 1.25rem; text-wrap: balance; }
.g-section--callout {
    background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--stamp);
    padding: clamp(1.5rem, 3vw, 2.5rem);
}
.g-section__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ----------------------------------------------------------------- prose */
.prose { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose p { text-wrap: pretty; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose a {
    color: var(--ink); text-decoration: underline; text-decoration-color: var(--stamp);
    text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .2s var(--ease);
    overflow-wrap: anywhere;
}
.prose a:hover { color: var(--stamp); }
.prose h3 { font-family: var(--serif); font-size: 1.55rem; line-height: 1.2; color: var(--ink); margin-top: 2em; }
.prose h4 { font-weight: 600; color: var(--ink); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose ul > li { position: relative; padding-left: 1.4rem; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: .82em; width: .6rem; height: 1px; background: var(--stamp); }
.prose li + li { margin-top: .6em; }
.prose ol { counter-reset: step; }
.prose ol > li { counter-increment: step; position: relative; padding-left: 3rem; min-height: 2rem; }
.prose ol > li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute; left: 0; top: .05em; width: 2rem; height: 2rem; display: grid; place-items: center;
    font-family: var(--mono); font-size: .7rem; color: var(--stamp);
    border: 1px solid rgba(178, 67, 42, .35); border-radius: 50%;
}
.prose blockquote {
    margin: 1.75em 0 0; padding: 1.4rem 1.6rem; background: var(--paper-2);
    border-left: 3px solid var(--stamp); color: var(--ink); font-size: 1rem;
}
.prose blockquote p + p { margin-top: .8em; }
.table-wrap { overflow-x: auto; margin-top: 1.75em; border-top: 1px solid var(--ink); -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.table-wrap + * { margin-top: 1.5em; }
.prose table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .9rem; line-height: 1.55; }
.prose th {
    font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 400;
    color: var(--muted); text-align: left; padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--line-2); vertical-align: bottom;
}
.prose td { padding: .95rem 1rem .95rem 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.prose td:first-child { color: var(--ink); font-weight: 600; min-width: 9rem; }
.prose tbody tr { transition: background-color .2s; }
.prose tbody tr:hover { background: rgba(14, 34, 39, .025); }
.prose img { margin-block: 2rem; }

/* ============================================================ FAQ BLOCK */
.faq-block__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
    .faq-block__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 5rem; }
    .faq-block__sticky { position: sticky; top: calc(var(--bar-h) + 2rem); }
}
.faq-block__head .section-title { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); }
.faq-block__head .link-arrow { margin-top: 1.75rem; }
.faq-tabs {
    display: flex; gap: .25rem; overflow-x: auto; margin: 1.75rem 0 0;
    border-bottom: 1px solid var(--line-2); scrollbar-width: none;
}
.faq-tabs::-webkit-scrollbar { display: none; }
.faq-tabs[hidden] { display: none; }
@media (max-width: 1023.98px) {
    .faq-tabs { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
}
.faq-tab {
    flex: none; display: inline-flex; align-items: center; gap: .6rem;
    min-height: 3rem; padding: .8rem 1rem; margin-bottom: -1px;
    background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer;
    font-size: .9rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap; text-align: left;
    transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.faq-tab:hover { color: var(--ink); }
.faq-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--stamp); }
.faq-tab__icon { width: 1.05rem; height: 1.05rem; color: var(--stamp); }
.faq-tab__count { font-family: var(--mono); font-size: .62rem; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: .05rem .45rem; }
@media (min-width: 1024px) {
    .faq-tabs { flex-direction: column; gap: 0; overflow: visible; margin-top: 2.25rem; border-bottom: 0; border-top: 1px solid var(--line-2); -webkit-mask-image: none; mask-image: none; }
    .faq-tab { width: 100%; margin: 0; padding: .95rem .25rem .95rem 1rem; white-space: normal; border-bottom: 1px solid var(--line); border-left: 2px solid transparent; }
    .faq-tab__label { flex: 1; }
    .faq-tab[aria-selected="true"] { border-bottom-color: var(--line); border-left-color: var(--stamp); background: rgba(255, 253, 249, .7); }
}

.faq-panel { border-top: 1px solid var(--ink); }
.faq-panel + .faq-panel { margin-top: 2.5rem; }
.is-tabbed .faq-panel + .faq-panel { margin-top: 0; }
.faq-panel__title { font-family: var(--serif); font-size: 1.6rem; padding: 1.25rem 0 .5rem; }
.faq-item { border-bottom: 1px solid var(--line-2); content-visibility: auto; contain-intrinsic-size: auto 5rem; }
.faq-item summary {
    list-style: none; display: grid; grid-template-columns: 2rem minmax(0, 1fr) 2.25rem; gap: .75rem;
    align-items: start; padding: 1.3rem 0; cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__no { font-family: var(--mono); font-size: .68rem; color: var(--muted); padding-top: .55rem; }
.faq-item__q { font-family: var(--serif); font-size: clamp(1.18rem, 1.05rem + .45vw, 1.45rem); line-height: 1.3; font-weight: 400; transition: color .2s var(--ease); text-wrap: pretty; }
.faq-item summary:hover .faq-item__q { color: var(--stamp); }
.faq-item__icon {
    width: 2.25rem; height: 2.25rem; display: grid; place-items: center;
    border: 1px solid var(--line-2); border-radius: 50%;
    transition: transform .3s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.faq-item__icon .icon { width: 1rem; height: 1rem; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: var(--paper); }
.faq-item__a { padding: 0 0 1.5rem 2.75rem; font-size: 1rem; }
@media (min-width: 720px) { .faq-item__a { padding-right: 3rem; } }
.faq-item__link a { color: var(--stamp); }
@supports (interpolate-size: allow-keywords) {
    .faq-item { interpolate-size: allow-keywords; }
    .faq-item::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
    .faq-item[open]::details-content { height: auto; }
}

/* ============================================================== RELATED */
.related { background-color: var(--paper); background-image: var(--grain); border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 4vw, 3.75rem); }
.related__inner { display: grid; gap: 1rem 3rem; }
@media (min-width: 900px) { .related__inner { grid-template-columns: 9rem minmax(0, 1fr); align-items: start; } }
.related__label { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stamp); padding-top: 1.25rem; }
.related__list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line-2); }
.related__list li { display: flex; }
@media (min-width: 720px) { .related__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.related__link {
    display: grid; grid-template-columns: 2rem minmax(0, 1fr) 1.1rem; gap: .6rem; align-items: center;
    width: 100%; padding: 1.15rem 0; border-bottom: 1px solid var(--line-2);
    font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; transition: color .2s var(--ease);
}
@media (min-width: 720px) { .related__list li + li .related__link { padding-left: 1.25rem; border-left: 1px solid var(--line-2); } .related__link { padding-right: 1rem; } }
.related__text::first-letter { text-transform: uppercase; }
.related__no { font-family: var(--mono); font-size: .64rem; color: var(--muted); }
.related__link .icon { width: 1.05rem; height: 1.05rem; color: var(--stamp); transition: transform .3s var(--ease); }
.related__link:hover { color: var(--stamp); }
.related__link:hover .icon { transform: translate(2px, -2px); }

/* ============================================================== CTA BAND */
.cta-band { background-color: var(--paper-2); background-image: var(--grain); border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 6vw, 6rem); }
.cta-band__inner { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 4rem; } }
.cta-band__title { font-family: var(--serif); font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.cta-band__text { margin-top: .9rem; font-size: 1.05rem; color: var(--ink-soft); max-width: 40rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band--line .cta-band__inner { grid-template-columns: 1fr; }
.cta-band__line { font-size: 1.05rem; color: var(--ink-soft); max-width: 62rem; }
.cta-band__line strong { display: block; margin-bottom: .5rem; font-family: var(--serif); font-size: var(--fs-h2s); font-weight: 400; line-height: 1.1; color: var(--ink); }
.cta-band__line a { color: var(--stamp); text-decoration: underline; text-underline-offset: .2em; }

/* ========================================================== HOME · LOGBOOK */
.logbook { display: grid; background: var(--white); border: 1px solid var(--line); box-shadow: 0 44px 80px -54px rgba(8, 23, 27, .45); }
@media (min-width: 1024px) { .logbook { grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1.18fr); } }
.logbook__page { padding: clamp(1.5rem, 3vw, 3rem); min-width: 0; }
.logbook__page--right {
    border-top: 1px solid var(--line);
    background: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(31, 111, 107, .08) 31px 32px), var(--white);
}
.logbook__page--right:focus { outline: none; }
@media (min-width: 1024px) { .logbook__page--right { border-top: 0; } }
.logbook__spine { display: none; }
@media (min-width: 1024px) {
    .logbook__spine {
        display: block; border-inline: 1px solid var(--line);
        background: linear-gradient(90deg, rgba(8, 23, 27, .08), rgba(8, 23, 27, 0) 45%, rgba(8, 23, 27, 0) 55%, rgba(8, 23, 27, .08));
    }
}
.logbook__label { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.logbook__title { font-family: var(--serif); font-size: clamp(1.6rem, 1.4rem + .6vw, 2rem); line-height: 1.1; margin: .3rem 0 1.75rem; }
.lq { border: 0; margin: 0 0 1.4rem; padding: 0; min-width: 0; }
.lq legend { display: flex; gap: .6rem; align-items: baseline; margin-bottom: .7rem; padding: 0; font-size: .95rem; font-weight: 600; }
.lq__no { font-family: var(--mono); font-size: .68rem; font-weight: 400; color: var(--stamp); }
.lq__opts { display: flex; flex-wrap: wrap; gap: .45rem; }
.lq--rdt_month .lq__opts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
    display: flex; align-items: center; justify-content: center; min-height: 2.6rem; width: 100%;
    padding: .45rem .9rem; border: 1px solid var(--line-2); border-radius: var(--radius);
    font-size: .875rem; line-height: 1.2; text-align: center; background: var(--white);
    transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--stamp); outline-offset: 2px; }
.logbook__fine { margin-top: .9rem; font-size: .8rem; color: var(--muted); }

.entry__placeholder p { color: var(--muted); font-size: .95rem; }
.entry__placeholder a { color: var(--ink); }
.stampbox {
    display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; max-width: 27rem;
    padding: .85rem 1rem; border: 1.5px dashed rgba(178, 67, 42, .55); color: var(--stamp);
    font-size: .84rem; line-height: 1.45; transform: rotate(-1.2deg); background: rgba(255, 253, 249, .85);
}
.stampbox__label {
    flex: none; font-family: var(--mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
    border: 1.5px solid currentColor; border-radius: var(--radius); padding: .25rem .5rem;
}
.stampbox.is-pulse { animation: rdt-stamp .55s var(--ease); }
@keyframes rdt-stamp { 0% { transform: rotate(-1.2deg) scale(1.14); opacity: .2; } 100% { transform: rotate(-1.2deg) scale(1); opacity: 1; } }

.entry__verdict { font-family: var(--serif); font-size: clamp(1.6rem, 1.4rem + .7vw, 2.05rem); line-height: 1.15; margin-bottom: 1rem; }
.entry__alt { font-family: var(--sans); font-size: .92rem; color: var(--muted); }
.entry__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.5rem; padding: 1rem 0; margin-bottom: .9rem; border-block: 1px solid var(--line); }
@media (min-width: 640px) { .entry__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.entry__meta dt { font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.entry__meta dd { font-size: .88rem; line-height: 1.4; margin-top: .2rem; }
.entry__fine { font-size: .84rem; color: var(--muted); }
.entry__h { margin: 1.5rem 0 .7rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.entry__h a { color: var(--stamp); text-decoration: underline; text-underline-offset: .2em; }
.entry__h--red { color: var(--stamp); }
.entry__num { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0; text-transform: none; color: var(--ink); margin-right: .15rem; }
.entry__lines, .entry__red { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.eline { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .6rem; font-size: .86rem; line-height: 1.5; }
.eline__mark { width: 1.45rem; height: 1.45rem; display: grid; place-items: center; border-radius: 50%; font-size: .72rem; font-weight: 700; border: 1px solid transparent; }
.eline--fit .eline__mark { background: var(--lagoon); color: #fff; }
.eline--caution .eline__mark { border-color: var(--ink-soft); color: var(--ink); }
.eline--struck { color: var(--muted); }
.eline--struck .eline__mark { border-color: rgba(178, 67, 42, .5); color: var(--stamp); }
.eline__name { display: inline-block; font-weight: 600; color: var(--ink); }
.eline__name:hover { color: var(--stamp); }
.eline--struck .eline__name { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--stamp); }
.eline__why { display: block; color: var(--ink-soft); }
.eline--struck .eline__why { color: var(--muted); }
.entry__red li { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); gap: .5rem; font-size: .86rem; color: var(--ink-soft); }
.entry__red li > span:first-child { color: var(--stamp); }
.money { display: grid; gap: 1.1rem; padding: 1.1rem; background: var(--paper); border: 1px solid var(--line); }
@media (min-width: 720px) { .money { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.money__h { display: flex; flex-direction: column; gap: .15rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.money__asof { font-size: .58rem; letter-spacing: .06em; text-transform: none; color: var(--muted); }
.money ul { margin: .55rem 0; padding-left: 1rem; font-size: .8rem; line-height: 1.5; color: var(--ink-soft); }
.money__band, .money__fine { font-size: .76rem; line-height: 1.45; color: var(--muted); }
.entry__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.entry__actions .btn { min-height: 2.9rem; padding-inline: 1.15rem; font-size: .875rem; }

/* ========================================================= HOME · REGISTER */
.register__tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.register__sort { display: flex; flex-wrap: wrap; gap: .5rem; }
.sort-btn {
    min-height: 2.6rem; padding: .5rem .95rem; background: none; cursor: pointer;
    border: 1px solid var(--line-light-2); border-radius: var(--radius); color: var(--mist);
    font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
    transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.sort-btn:hover { color: var(--paper); border-color: var(--paper); }
.sort-btn[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.register__count { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; color: var(--mist); }
.register__wrap { border-top: 1px solid var(--line-light-2); overflow-x: auto; scrollbar-width: thin; }
.register__table { width: 100%; min-width: 1060px; border-collapse: collapse; font-size: .85rem; line-height: 1.5; }
.register__table caption { caption-side: bottom; text-align: left; padding-top: 1rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.register__table thead th { padding: 1rem .75rem 1rem 0; border-bottom: 1px solid var(--line-light-2); text-align: left; vertical-align: bottom; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 400; color: var(--mist); }
.register__table tbody th { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; line-height: 1.2; text-align: left; color: var(--paper); }
.register__table tbody th, .register__table td { padding: 1.1rem .9rem 1.1rem 0; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.register__table td { color: rgba(246, 242, 235, .82); }
.register__table td.is-tbc { color: var(--mist); font-size: .78rem; }
.register__table tbody tr { transition: background-color .2s; }
.register__table tbody tr:hover { background: rgba(246, 242, 235, .035); }
.register__note { margin-top: 2rem; max-width: 50rem; color: var(--mist); font-size: .95rem; }
.register__note .link-arrow { margin-left: .35rem; }
@media (max-width: 719.98px) {
    .register__wrap { overflow: visible; border-top: 0; }
    .register__table { min-width: 0; }
    .register__table, .register__table tbody, .register__table tr, .register__table th, .register__table td { display: block; }
    .register__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .register__table caption { display: block; }
    .register__table tbody {
        display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory;
        padding-bottom: 1rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
        scroll-padding-inline: var(--gutter); scrollbar-width: none;
    }
    .register__table tbody::-webkit-scrollbar { display: none; }
    .register__table tr { flex: 0 0 86%; scroll-snap-align: start; padding: 1.25rem; border: 1px solid var(--line-light-2); background: rgba(246, 242, 235, .03); }
    .register__table tbody th { padding: 0 0 .8rem; border: 0; font-size: 1.5rem; }
    .register__table td { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: .75rem; padding: .55rem 0; }
    .register__table td::before { content: attr(data-label); font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); padding-top: .2em; }
    .register__table td:last-child { border-bottom: 0; }
}

/* =========================================================== HOME · LADDER */
.ladder__grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
    .ladder__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; }
    .ladder__intro { position: sticky; top: calc(var(--bar-h) + 2rem); align-self: start; }
}
.plaque {
    position: relative; margin: 2rem 0; padding: 1.6rem 1.9rem;
    background-color: var(--white); border: 1px solid var(--line-2);
    background-image:
        radial-gradient(circle at 12px 12px, var(--line-3) 2px, transparent 2.6px),
        radial-gradient(circle at calc(100% - 12px) 12px, var(--line-3) 2px, transparent 2.6px),
        radial-gradient(circle at 12px calc(100% - 12px), var(--line-3) 2px, transparent 2.6px),
        radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), var(--line-3) 2px, transparent 2.6px);
}
.plaque__label { font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stamp); }
.plaque__title { font-family: var(--serif); font-size: 1.65rem; line-height: 1.2; margin: .4rem 0 .55rem; }
.plaque__text { font-size: .95rem; color: var(--ink-soft); }
.photo { position: relative; }
.photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--paper-3); }
.photo figcaption { display: flex; gap: .6rem; padding-top: .8rem; font-family: var(--mono); font-size: .68rem; line-height: 1.5; color: var(--muted); }
.photo figcaption::before { content: "—"; color: var(--stamp); }
.photo--tall img { aspect-ratio: 4 / 3; }
.photo--wide img { aspect-ratio: 16 / 9; }

.rungs { list-style: none; margin: 0; padding: 0; position: relative; }
.rungs::before { content: ""; position: absolute; left: .24rem; top: 2.6rem; bottom: 2.6rem; width: 1px; background: var(--line-2); }
.rung { position: relative; display: grid; grid-template-columns: 1fr; gap: .6rem; padding: 2rem 0 2rem 1.75rem; border-top: 1px solid var(--line); }
.rung:last-child { border-bottom: 1px solid var(--line); }
.rung::before { content: ""; position: absolute; left: 0; top: 2.45rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--stamp); box-shadow: 0 0 0 4px var(--paper); }
@media (min-width: 640px) { .rung { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1.5rem; } }
.rung__no { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stamp); padding-top: .55rem; }
.rung__title { font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.15; margin-bottom: 1rem; }
.rung__dl { display: grid; gap: .85rem; margin-bottom: 1.1rem; }
.rung__dl div { display: grid; gap: .25rem; }
@media (min-width: 640px) { .rung__dl div { grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; } }
.rung__dl dt { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: .3em; }
.rung__dl dd { font-size: .95rem; color: var(--ink-soft); }
.rung__dl .is-red dt { color: var(--stamp); }
.checks { margin-top: 2.5rem; padding: clamp(1.5rem, 2.5vw, 2rem); background: var(--ink); color: var(--paper); }
.checks__title { font-family: var(--serif); font-size: 1.55rem; line-height: 1.2; margin-bottom: 1.1rem; }
.checks__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
@media (min-width: 640px) { .checks__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.5rem; } }
.checks__list li { display: flex; gap: .65rem; font-size: .92rem; color: rgba(246, 242, 235, .86); }
.checks__list .icon { width: 1.1rem; height: 1.1rem; margin-top: .2em; color: var(--lagoon-soft); }

/* =========================================================== HOME · SEASON */
.counters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; max-width: 46rem; margin-bottom: 2.75rem; background: var(--line); border: 1px solid var(--line); }
.counter { background: var(--white); padding: 1.5rem 1.75rem; }
.counter__value { font-family: var(--serif); font-size: clamp(3rem, 2rem + 3vw, 4.75rem); line-height: 1; font-variant-numeric: tabular-nums; }
.counter__label { margin-top: .6rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.season__wrap { overflow-x: auto; border-top: 1px solid var(--ink); -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.season__table { width: 100%; min-width: 1080px; border-collapse: collapse; font-size: .8rem; }
.season__table caption { caption-side: bottom; text-align: left; padding-top: 1rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.season__table th, .season__table td { padding: .8rem .45rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.season__table thead th { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 400; color: var(--muted); }
.season__table tbody th { position: sticky; left: 0; z-index: 1; background: var(--white); padding-right: 1.25rem; font-family: var(--serif); font-size: 1.15rem; font-weight: 400; white-space: nowrap; }
.season__table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); }
.season__table .is-now { background: var(--stamp-tint); }
.season__table thead .is-now { color: var(--stamp); font-weight: 500; box-shadow: inset 0 2px 0 var(--stamp); }
.season__table tr.is-note td { font-size: .74rem; line-height: 1.45; color: var(--ink-soft); }
.season__note { margin-top: 1.75rem; max-width: 52rem; color: var(--ink-soft); }
.season__note .link-arrow { margin-left: .35rem; }
.v { display: inline-block; padding: .3rem .45rem; border-radius: var(--radius); font-family: var(--mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; white-space: nowrap; }
.v--prime { background: var(--lagoon); color: #fff; }
.v--workable { background: var(--lagoon-tint); color: var(--lagoon); box-shadow: inset 0 0 0 1px rgba(31, 111, 107, .35); }
.v--sheltered { background: rgba(31, 111, 107, .05); color: var(--lagoon); box-shadow: inset 0 0 0 1px rgba(31, 111, 107, .22); }
.v--choppy { background: var(--stamp-tint); color: var(--stamp); box-shadow: inset 0 0 0 1px rgba(178, 67, 42, .3); }
.v--crossing-limited, .v--transit-limited { background: var(--paper-2); color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ============================================================== HOME · DAY */
.day__grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
    .day__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4.6fr); gap: 5rem; }
    .day__aside { position: sticky; top: calc(var(--bar-h) + 2rem); align-self: start; }
}
.loglines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.logline { display: grid; gap: .55rem 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .logline { grid-template-columns: 9.5rem minmax(0, 1fr) auto; align-items: start; } }
.logline__when { display: flex; gap: .6rem; padding-top: .45rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.logline__no { color: var(--stamp); }
.logline__title { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; margin-bottom: .35rem; }
.logline__body p { font-size: .95rem; color: var(--ink-soft); }
.owner {
    justify-self: start; white-space: nowrap; padding: .35rem .55rem; margin-top: .3rem;
    border: 1px solid var(--line-2); border-radius: var(--radius);
    font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
}
@media (min-width: 720px) { .owner { justify-self: end; } }
.owner--komodo-luxury { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.owner--partner-dive-centre { color: var(--lagoon); border-color: rgba(31, 111, 107, .45); }
.owner--both { color: var(--stamp); border-color: rgba(178, 67, 42, .45); }
.day__aside { display: grid; gap: 1.5rem; align-content: start; }
.plate { padding: clamp(1.5rem, 2.5vw, 2.25rem); background: var(--abyss); color: var(--paper); border-top: 3px solid var(--stamp); }
.plate .eyebrow { margin-bottom: 1rem; }
.plate__title { font-family: var(--serif); font-size: 1.8rem; line-height: 1.12; margin-bottom: .75rem; text-wrap: balance; }
.plate__text { font-size: .95rem; color: var(--mist); margin-bottom: 1.25rem; }
.plate__dl { border-top: 1px solid var(--line-light); }
.plate__dl div { padding: .9rem 0; border-bottom: 1px solid var(--line-light); }
.plate__dl dt { margin-bottom: .3rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stamp-soft); }
.plate__dl dd { font-size: .86rem; line-height: 1.55; color: rgba(246, 242, 235, .86); }
.plate__note { margin-top: 1rem; font-size: .86rem; }
.plate__extra { margin-top: .75rem; font-size: .84rem; color: var(--mist); }
.plate__extra .link-arrow { margin-top: .75rem; }

/* ============================================================ HOME · ROUTES */
.routes__head { display: grid; gap: 2rem; align-items: end; margin-bottom: clamp(2rem, 3vw, 3rem); }
.routes__head .section-head { margin-bottom: 0; }
@media (min-width: 1024px) { .routes__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; } }
.binder__tabs { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.binder__tabs::-webkit-scrollbar { display: none; }
.binder__tab {
    position: relative; flex: none; display: inline-flex; align-items: center; gap: .7rem;
    min-height: 3.25rem; padding: .9rem 1.3rem; margin-bottom: -1px; cursor: pointer;
    background: rgba(255, 253, 249, .45); border: 1px solid var(--line); border-bottom: 0; border-radius: 4px 4px 0 0;
    font-size: .93rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap;
    transition: background-color .2s var(--ease), color .2s var(--ease);
}
.binder__tab:hover { color: var(--ink); background: rgba(255, 253, 249, .8); }
.binder__tab[aria-selected="true"] { z-index: 1; background: var(--white); border-color: var(--line-2); color: var(--ink); }
.binder__tab[aria-selected="true"]::after { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--stamp); border-radius: 4px 4px 0 0; }
.binder__no { font-family: var(--mono); font-size: .66rem; color: var(--stamp); }
.binder__count { font-family: var(--mono); font-size: .62rem; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: .05rem .45rem; }
.binder__panel + .binder__panel { margin-top: 2.5rem; }
.binder__panel-title { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 1rem; }
.binder.is-tabbed .binder__panel { margin-top: 0; padding: clamp(.75rem, 1.5vw, 1.25rem); background: var(--white); border: 1px solid var(--line-2); }
.routes__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.binder.is-tabbed .routes__grid { border: 0; }
@media (min-width: 640px) { .routes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .routes__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .routes__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.routes__grid li { display: flex; background: var(--white); }
.route-card { display: flex; flex-direction: column; gap: .55rem; width: 100%; min-height: 15rem; padding: 1.5rem; transition: background-color .25s var(--ease); }
.route-card:hover { background: var(--paper); }
.route-card__path { font-family: var(--mono); font-size: .62rem; color: var(--muted); overflow-wrap: anywhere; }
.route-card__title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; transition: color .2s var(--ease); }
.route-card:hover .route-card__title { color: var(--stamp); }
.route-card__text { font-size: .9rem; line-height: 1.55; color: var(--ink-soft); }
.route-card__foot { margin-top: auto; padding-top: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px dashed var(--line-2); }
.route-card__tag { font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--stamp); }
.route-card .icon { width: 1.05rem; height: 1.05rem; transition: transform .3s var(--ease); }
.route-card:hover .icon { transform: translate(2px, -2px); }
.boundary { display: flex; flex-wrap: wrap; align-items: baseline; gap: .7rem 1.2rem; margin-top: 2rem; font-size: .92rem; color: var(--ink-soft); }
.boundary__label { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stamp); border: 1px solid currentColor; padding: .2rem .5rem; }

/* ============================================================= QUOTE BLOCK */
.quote { overflow: hidden; isolation: isolate; }
.quote__media { position: absolute; inset: 0; z-index: -2; }
.quote__media img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.quote::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--abyss) 18%, rgba(8, 23, 27, .72) 58%, rgba(8, 23, 27, .88)); }
.quote__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .quote__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 29rem); gap: 5rem; } }
.quote__text { max-width: 34rem; margin: 1.5rem 0 2rem; color: var(--mist); }
.quote__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.quote__alt { font-size: .9rem; color: var(--mist); }
.quote__alt a { color: var(--paper); text-decoration: underline; text-underline-offset: .2em; }

.slip { position: relative; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--white); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.slip::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; background: radial-gradient(circle at 6px 0, transparent 4px, var(--white) 4.5px) 0 0 / 12px 6px repeat-x; }
.slip__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; padding-bottom: 1rem; margin-bottom: 1.25rem; border-bottom: 1px dashed var(--line-3); }
.slip__eyebrow { font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.slip__title { font-family: var(--serif); font-size: 1.8rem; line-height: 1.1; }
.slip__row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .slip__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.slip__field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.slip__field label { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.slip__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.slip__submit { width: 100%; margin-top: .5rem; }
.slip__status { margin-bottom: 1.25rem; padding: .8rem 1rem; border-left: 3px solid; font-size: .9rem; }
.slip__status--sent { border-color: var(--lagoon); background: var(--lagoon-tint); color: var(--lagoon); }
.slip__status--error { border-color: var(--stamp); background: var(--stamp-tint); color: var(--stamp); }

.field {
    width: 100%; min-height: 3rem; padding: .8rem .9rem; appearance: none;
    font-size: 1rem; color: var(--ink); background: var(--paper);
    border: 1px solid var(--line-2); border-radius: var(--radius);
    transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field::placeholder { color: #768386; }
.field:hover { border-color: var(--line-3); }
.field:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 3px rgba(178, 67, 42, .18); }
textarea.field { min-height: 7rem; resize: vertical; }

/* ================================================================ JOURNAL */
.journal__search { margin-bottom: 3rem; }
.journal__grid { display: grid; gap: clamp(2rem, 3vw, 3rem) clamp(1.5rem, 2.5vw, 2.5rem); }
@media (min-width: 640px) { .journal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .journal__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.journal--more .section-title { font-size: var(--fs-h2s); margin-bottom: 2.5rem; }
.post-card--featured { grid-column: 1 / -1; }
.post-card__link { display: grid; gap: 1.1rem; height: 100%; }
@media (min-width: 900px) {
    .post-card--featured .post-card__link { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: end; gap: 3rem; }
    .post-card--featured .post-card__body { padding-bottom: 1rem; }
}
.post-card__media { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-3); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card__link:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { position: relative; display: grid; gap: .55rem; align-content: start; padding-right: 2rem; }
.post-card__date { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.post-card__title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; transition: color .2s var(--ease); text-wrap: pretty; }
.post-card--featured .post-card__title { font-size: var(--fs-h2s); line-height: 1.1; }
.post-card__link:hover .post-card__title { color: var(--stamp); }
.post-card__excerpt { font-size: .95rem; color: var(--ink-soft); }
.post-card__arrow { position: absolute; right: 0; top: 0; color: var(--stamp); }
.post-card__arrow .icon { width: 1.1rem; height: 1.1rem; transition: transform .3s var(--ease); }
.post-card__link:hover .post-card__arrow .icon { transform: translate(2px, -2px); }
.pagination { margin-top: 3.5rem; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.page-numbers { display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .6rem; border: 1px solid var(--line-2); border-radius: var(--radius); font-family: var(--mono); font-size: .8rem; transition: background-color .2s, color .2s, border-color .2s; }
.page-numbers:hover { border-color: var(--ink); }
.page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.page-numbers .icon { width: 1rem; height: 1rem; }
.icon--flip { transform: rotate(180deg); }
.post-single .container--narrow { max-width: calc(46rem + var(--gutter) * 2); }
.prose--post { font-size: 1.1rem; }
.faq-intro { padding-bottom: 0; }
.prose--intro { font-size: 1.15rem; }
.search-form { display: grid; gap: .5rem; max-width: 34rem; margin-top: 2rem; }
.search-form__label { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.search-form__row { display: flex; gap: .5rem; }

/* ================================================================= FOOTER */
.site-footer { border-top: 1px solid var(--line-light); background: var(--abyss); color: var(--paper); padding-top: clamp(4rem, 6vw, 6.5rem); padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
.footer__top { display: grid; gap: 2rem; padding-bottom: clamp(3rem, 5vw, 4.5rem); border-bottom: 1px solid var(--line-light-2); }
@media (min-width: 1024px) { .footer__top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.footer__title { font-family: var(--serif); font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.015em; max-width: 16ch; text-wrap: balance; }
.footer__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.footer__grid { display: grid; gap: 2.5rem 2rem; padding-block: clamp(3rem, 5vw, 4.5rem); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: minmax(0, 1.55fr) repeat(4, minmax(0, 1fr)); } }
.brand--footer { margin: 0 0 1.5rem; }
.brand--footer .brand__name { font-size: 1.75rem; }
.footer__operator p { margin-top: .35rem; font-size: .88rem; color: var(--mist); }
.footer__operator a { transition: color .2s; }
.footer__operator a:hover { color: var(--paper); }
.footer__operator .footer__operator-name { margin-top: 0; font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stamp-soft); }
.footer__operator .footer__operator-note { margin-top: 1rem; max-width: 22rem; line-height: 1.6; }
.footer__operator-note a { text-decoration: underline; text-underline-offset: .2em; }
.footer__col-title { margin-bottom: 1rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; color: var(--stamp-soft); }
.footer__col ul, .footer__desk ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__col a { font-size: .9rem; color: rgba(246, 242, 235, .76); transition: color .2s; }
.footer__col a:hover { color: var(--paper); }
.footer__desk { padding-block: 2rem; border-top: 1px solid var(--line-light); }
@media (min-width: 900px) { .footer__desk ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }
.footer__desk a { font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; transition: color .2s; }
.footer__desk a:hover { color: var(--stamp-soft); }
.footer__note { padding-block: 1.75rem; border-top: 1px solid var(--line-light); font-size: .8rem; line-height: 1.65; color: var(--mist); max-width: 64rem; }
.footer__group { display: grid; gap: 1.25rem; padding-block: 1.75rem; border-top: 1px solid var(--line-light); }
.footer__group-label { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.footer__logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 720px) { .footer__logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .footer__logos { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.footer__logos li { display: grid; place-items: center; height: 80px; padding: .75rem 1rem; border: 1px solid var(--line-light); border-radius: var(--radius); transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.footer__logos li:hover { border-color: var(--line-light-2); background: rgba(246, 242, 235, .04); }
.footer__logos a { display: grid; place-items: center; width: 100%; height: 100%; }
.footer__logos img { max-height: 48px; width: auto; max-width: 100%; object-fit: contain; opacity: .82; transition: opacity .3s var(--ease); }
.footer__logos li:hover img { opacity: 1; }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--mist); }
.footer__top-link { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line-light-2); border-radius: 50%; transition: border-color .2s, background-color .2s; }
.footer__top-link:hover { border-color: var(--paper); background: rgba(246, 242, 235, .06); }
.icon--up { transform: rotate(180deg); width: 1.1rem; height: 1.1rem; }

/* ----------------------------------------------------- floating actions */
.float-wa {
    position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 40; display: none; align-items: center; gap: .6rem;
    padding: .75rem 1.1rem .75rem .85rem; border-radius: 999px;
    background: var(--ink); color: var(--paper); font-size: .85rem; font-weight: 500;
    box-shadow: 0 20px 40px -18px rgba(8, 23, 27, .65);
    transition: background-color .25s var(--ease), transform .3s var(--ease);
}
.float-wa:hover { background: var(--stamp); transform: translateY(-2px); }
.float-wa .icon { width: 1.35rem; height: 1.35rem; }
@media (min-width: 768px) { .float-wa { display: inline-flex; } }
@media (max-width: 1023.98px) { .float-wa__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .float-wa { padding: .85rem; } }

.mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: 1fr 1.25fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(8, 23, 27, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-light-2);
    transition: transform .35s var(--ease);
}
.mbar.is-hidden { transform: translateY(110%); }
.mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; min-height: 3.75rem; padding: .4rem; font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); text-align: center; }
.mbar .icon { width: 1.2rem; height: 1.2rem; }
.mbar .mbar__main { background: var(--stamp); font-size: .7rem; }
@media (min-width: 768px) { .mbar { display: none; } }
@media (max-width: 767.98px) { body { padding-bottom: calc(3.75rem + env(safe-area-inset-bottom)); } }

/* ----------------------------------------------------------------- motion */
.motion [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ------------------------------------------------------------------ print */
@media print {
    .site-header, .sheet, .float-wa, .mbar, .guide__aside, .quote__form { display: none !important; }
    .page-hero, .hero { color: #000; background: none; padding-top: 1rem; min-height: 0; }
    .page-hero::before, .hero::before, .page-hero__media, .hero__media { display: none; }
}
