/* ==========================================================================
   Toraja Tour Package — "Highland Monolith"

   A carved, editorial design language built for Tana Toraja: basalt
   grounds, bone relief bands, a single ember accent taken from tongkonan
   paintwork, and one sage-stone secondary. Corners are near-square and
   rules are hairlines, because everything the brand photographs is cut
   stone, split bamboo and carved timber.

   Sections are full-bleed, stacked in a slow rhythm, and always lead with
   an image — the layout language of a high-end expedition operator.

   Section map
     01  Tokens
     02  Reset & base
     03  Ornament (roof mark, carved rule, grain)
     04  Typography
     05  Buttons & links
     06  Bands, containers, reveal
     07  Header, nav, drawer
     08  Hero
     09  Section library
     10  Forms
     11  Footer
     12  Floating rail & back-to-top
     13  Editorial prose, blog, 404, search
     14  Print & reduced motion
   ========================================================================== */

/* 01 — Tokens ============================================================= */

:root {
    /* The page ground is bone, so native controls and scrollbars should be
       light even when a visitor's OS is set to dark. */
    color-scheme: light;

    /* Ground: volcanic basalt, four steps up from black. */
    --basalt:        #141110;
    --basalt-2:      #1C1816;
    --basalt-3:      #262020;
    --basalt-4:      #332B29;

    /* Relief: limestone and bone, the cliff faces and the tau-tau. */
    --bone:          #F7F4EE;
    --bone-2:        #F0EBE1;
    --bone-3:        #E4DCCD;
    --bone-4:        #D6CBB7;

    /* Accent: the ochre-red of tongkonan paintwork. Used once per view. */
    --ember:         #A8482B;
    --ember-hover:   #C05634;
    --ember-deep:    #88381F;
    --ember-wash:    rgba(168, 72, 43, 0.08);

    /* Secondary: the sage of highland terraces under cloud. */
    --sage:          #8E9C89;
    --sage-deep:     #5E6B5B;
    --sage-wash:     rgba(142, 156, 137, 0.12);

    /* Text */
    --text:          #141110;
    --text-soft:     #4E453F;
    --text-muted:    #6A5F53;
    --on-dark:       #F7F4EE;
    --on-dark-soft:  rgba(247, 244, 238, 0.74);
    --on-dark-muted: rgba(247, 244, 238, 0.5);

    /* Hairlines */
    --line:          rgba(20, 17, 16, 0.12);
    --line-strong:   rgba(20, 17, 16, 0.22);
    --line-dark:     rgba(247, 244, 238, 0.14);
    --line-dark-2:   rgba(247, 244, 238, 0.26);

    /* Type */
    --font-display:  'Marcellus', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
    --font-caps:     'Marcellus SC', 'Marcellus', Georgia, serif;
    --font-sans:     'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

    /* Rhythm */
    --gutter:        clamp(20px, 5vw, 52px);
    --container:     1260px;
    --container-narrow: 820px;
    --band-y:        clamp(68px, 8.5vw, 132px);
    --band-y-tight:  clamp(52px, 6vw, 88px);

    /* Motion */
    --ease:          cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
    --dur:           .45s;

    /* Depth. Shadows are long and soft — overcast highland light. */
    --shadow-sm:     0 1px 2px rgba(20, 17, 16, .05), 0 8px 24px -16px rgba(20, 17, 16, .18);
    --shadow-md:     0 2px 4px rgba(20, 17, 16, .05), 0 24px 48px -28px rgba(20, 17, 16, .28);
    --shadow-lg:     0 4px 8px rgba(20, 17, 16, .06), 0 48px 88px -44px rgba(20, 17, 16, .4);
}

/* 02 — Reset & base ======================================================= */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 108px;
}

body {
    margin: 0;
    background: var(--bone);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.72;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-wrap: break-word;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }

/* Headings carry no inherent weight here: the display face ships one weight,
   and synthesised bold on an inscriptional roman looks like a printing fault.
   Anything that needs more weight asks for it by class. */
h1, h2, h3, h4, h5, h6 { font-weight: 400; font-size: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

a, button, summary, label, input, select, textarea { touch-action: manipulation; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--ember); color: var(--bone); }

:focus-visible {
    outline: 2px solid var(--ember);
    outline-offset: 3px;
    border-radius: 1px;
}

.tt-band--basalt :focus-visible,
.tt-footer :focus-visible,
.tt-hero :focus-visible { outline-color: var(--bone); }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: var(--gutter);
    z-index: 999;
    padding: 12px 22px;
    background: var(--ember);
    color: var(--bone);
    font-family: var(--font-caps);
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* 03 — Ornament =========================================================== */

/* The tongkonan roof mark: two strokes, saddle-backed and upswept. */
.tt-roof-mark {
    width: 34px;
    height: 22px;
    flex: 0 0 auto;
    color: var(--ember);
}

/* Pa'ssura'-inspired carved rule: a run of hairline notches, drawn with
   gradients so there is no image to load and it tints with currentColor. */
.tt-carve {
    height: 7px;
    width: 100%;
    opacity: .5;
    background-image:
        linear-gradient(to right, currentColor 0 1px, transparent 1px 100%),
        linear-gradient(to bottom, currentColor 0 1px, transparent 1px 100%);
    background-size: 9px 7px, 100% 1px;
    background-repeat: repeat-x, no-repeat;
    background-position: 0 0, 0 100%;
}

.tt-carve--short { width: 72px; opacity: .7; }

/* Grain. One inline SVG turbulence, used as an overlay on dark grounds so
   large flat fields of basalt read as stone rather than as a hex code. */
.tt-grain::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .055;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 04 — Typography ========================================================= */

.tt-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-caps);
    font-size: .76rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ember);
    line-height: 1;
}

.tt-eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    flex: 0 0 auto;
    opacity: .9;
}

.tt-eyebrow--center { justify-content: center; }

.tt-band--basalt .tt-eyebrow,
.tt-hero .tt-eyebrow,
.tt-cta__card .tt-eyebrow { color: var(--bone-4); }

.tt-h1 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.4rem, 5.9vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -.018em;
    text-wrap: balance;
}

.tt-h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.85rem, 3.5vw, 2.95rem);
    line-height: 1.12;
    letter-spacing: -.014em;
    text-wrap: balance;
}

.tt-h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
    line-height: 1.26;
    letter-spacing: -.006em;
}

.tt-h1 em, .tt-h2 em {
    font-style: italic;
    color: var(--ember);
}
.tt-band--basalt .tt-h2 em,
.tt-hero .tt-h1 em,
.tt-cta__card .tt-h2 em { color: var(--bone-4); }

.tt-lede {
    font-size: clamp(1.05rem, 1.45vw, 1.28rem);
    line-height: 1.6;
    color: var(--text-soft);
    max-width: 62ch;
    text-wrap: pretty;
}

.tt-intro {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-soft);
    max-width: 68ch;
    text-wrap: pretty;
}

.tt-band--basalt .tt-lede,
.tt-band--basalt .tt-intro { color: var(--on-dark-soft); }

/* Section heading block: eyebrow, H2, intro — the standard opener. */
.tt-head { display: grid; gap: 18px; max-width: 760px; }
.tt-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.tt-head--center .tt-lede, .tt-head--center .tt-intro { margin-inline: auto; }
.tt-head--wide { max-width: 980px; }

/* A section opener with the heading left and the intro right — the
   asymmetric two-column masthead used on most bands. */
.tt-head-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: end;
    padding-bottom: clamp(32px, 4vw, 56px);
    border-bottom: 1px solid var(--line);
    margin-bottom: clamp(36px, 5vw, 72px);
}
.tt-band--basalt .tt-head-split { border-bottom-color: var(--line-dark); }

@media (max-width: 860px) {
    .tt-head-split { grid-template-columns: 1fr; gap: 20px; align-items: start; }
}

/* 05 — Buttons & links =================================================== */

.tt-btn {
    --btn-bg: var(--ember);
    --btn-fg: var(--bone);
    --btn-bd: var(--ember);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border: 1px solid var(--btn-bd);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-caps);
    font-size: .8rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    line-height: 1;
    border-radius: 2px;
    overflow: hidden;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
                border-color var(--dur) var(--ease), transform .2s var(--ease);
    isolation: isolate;
}
.tt-btn > * { position: relative; z-index: 1; }
.tt-btn i { font-size: 1.05em; }
.tt-btn:hover { transform: translateY(-1px); }
.tt-btn:active { transform: translateY(0); }

.tt-btn--ember:hover { background: var(--ember-hover); border-color: var(--ember-hover); }

.tt-btn--line {
    --btn-bg: transparent;
    --btn-fg: var(--text);
    --btn-bd: var(--line-strong);
}
.tt-btn--line:hover { --btn-bg: var(--basalt); --btn-fg: var(--bone); --btn-bd: var(--basalt); }

.tt-btn--line-light {
    --btn-bg: transparent;
    --btn-fg: var(--bone);
    --btn-bd: var(--line-dark-2);
}
.tt-btn--line-light:hover { --btn-bg: var(--bone); --btn-fg: var(--basalt); --btn-bd: var(--bone); }

.tt-btn--sm { padding: 12px 20px; font-size: .72rem; letter-spacing: .13em; }
.tt-btn--block { width: 100%; }

/* Text link with an animated rule — the house "read on" affordance. */
.tt-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-caps);
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ember);
    padding-bottom: 3px;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size .4s var(--ease-out);
}
.tt-link:hover { background-size: 100% 1px; }
.tt-link i { transition: transform .35s var(--ease-out); }
.tt-link:hover i { transform: translateX(4px); }

.tt-band--basalt .tt-link { color: var(--bone-4); }

.tt-cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* 06 — Bands, containers, reveal ========================================= */

.tt-band {
    position: relative;
    padding-block: var(--band-y);
}

.tt-band--bone   { background: var(--bone); color: var(--text); }
.tt-band--bone-2 { background: var(--bone-2); color: var(--text); }
.tt-band--basalt { background: var(--basalt); color: var(--on-dark); }
.tt-band--tight  { padding-block: var(--band-y-tight); }

/* Where a bone band meets a basalt one, a hairline keeps the seam crisp. */
.tt-band--bone + .tt-band--bone-2,
.tt-band--bone-2 + .tt-band--bone { border-top: 1px solid var(--line); }

.tt-container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.tt-container--narrow { max-width: var(--container-narrow); }
.tt-container--wide { max-width: 1480px; }

.tt-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
    will-change: opacity, transform;
}
.tt-reveal.is-in { opacity: 1; transform: none; }

/* Breadcrumb */
.tt-crumb { margin-bottom: 26px; }
.tt-crumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    font-size: .8rem;
    letter-spacing: .04em;
    color: var(--text-muted);
}
.tt-crumb a:hover { color: var(--ember); }
.tt-crumb [aria-current] { color: var(--text-soft); }
.tt-hero .tt-crumb ol { color: var(--on-dark-muted); }
.tt-hero .tt-crumb [aria-current] { color: var(--on-dark-soft); }
.tt-hero .tt-crumb a:hover { color: var(--bone); }

/* 07 — Header, nav, drawer =============================================== */

.tt-topbar {
    background: var(--basalt);
    color: var(--on-dark-soft);
    border-bottom: 1px solid var(--line-dark);
    font-size: .78rem;
    letter-spacing: .035em;
}
.tt-topbar__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: 9px var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.tt-topbar__group { display: flex; align-items: center; gap: 22px; }
.tt-topbar__group span, .tt-topbar__group a { display: inline-flex; align-items: center; gap: 7px; }
.tt-topbar a:hover { color: var(--bone); }
.tt-topbar i { color: var(--bone-4); font-size: .95rem; }

@media (max-width: 900px) {
    .tt-topbar { display: none; }
}

.tt-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 244, 238, .92);
    backdrop-filter: saturate(150%) blur(14px);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.tt-header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(247, 244, 238, .97); }

.tt-header__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: 14px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 3vw, 44px);
}

/* Logo */
.tt-logo__img { width: auto; height: auto; object-fit: contain; }
.tt-logo__img--md { max-height: 46px; }
.tt-logo__img--lg { max-height: 58px; }

/* Footer logo: a dark-ink file on a basalt ground is invisible, so it is
   knocked out to pure white. brightness(0) flattens any colour to black
   first, invert(1) lifts that to white — this works for colour logos too,
   not only monochrome ones. Toggled from the Global wording tab. */
.tt-logo__img--invert {
    filter: brightness(0) invert(1);
    opacity: .96;
}

.tt-wordmark { display: inline-flex; align-items: center; gap: 12px; }
.tt-wordmark__text { display: grid; gap: 2px; }
.tt-wordmark__name {
    font-family: var(--font-display);
    font-size: 1.22rem;
    line-height: 1;
    letter-spacing: .01em;
}
.tt-wordmark__sub {
    font-family: var(--font-caps);
    font-size: .6rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1;
}
.tt-wordmark--lg .tt-wordmark__name { font-size: 1.55rem; }
.tt-wordmark--lg .tt-roof-mark { width: 42px; height: 27px; }
.tt-wordmark--light { color: var(--bone); }
.tt-wordmark--light .tt-wordmark__sub { color: var(--on-dark-muted); }
.tt-wordmark--light .tt-roof-mark { color: var(--bone-4); }

/* Desktop nav */
.tt-nav-primary { display: none; }
@media (min-width: 1060px) { .tt-nav-primary { display: block; } }

.tt-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.tt-nav > li { position: relative; }
.tt-nav > li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
    font-size: .92rem;
    letter-spacing: .01em;
    color: var(--text-soft);
    position: relative;
    transition: color .25s var(--ease);
}
.tt-nav > li > a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: 4px;
    height: 1px;
    background: var(--ember);
    transition: right .35s var(--ease-out);
}
.tt-nav > li > a:hover { color: var(--text); }
.tt-nav > li > a:hover::after,
.tt-nav > li.current-menu-item > a::after { right: 0; }
.tt-nav > li > a i { font-size: .8rem; opacity: .6; transition: transform .3s var(--ease); }
.tt-nav > li:hover > a i,
.tt-nav > li:focus-within > a i { transform: rotate(180deg); opacity: 1; }

.tt-nav .current-menu-item > a,
.tt-nav .current_page_item > a { color: var(--text); }

/* Dropdown panel: a wide two-column plate, not a thin list.
   Two markup shapes land here and must look identical:
     - the code fallback, .tt-nav__panel wrapping its own <ul>
     - a WordPress menu, where .sub-menu IS both plate and list
   So the plate rules take both, and the grid rules take the WP list plus
   the fallback's inner <ul>. The `> li >` child combinator keeps a third
   level from inheriting the plate. */
.tt-nav__panel,
.tt-nav > li > .sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: -20px;
    z-index: 20;
    /* Shrink-to-fit, floored at 540px and capped so the plate still clears
       the viewport edge when it hangs off the third nav item at 1060px. */
    min-width: 540px;
    max-width: min(640px, calc(100vw - 2 * var(--gutter)));
    padding: 18px;
    background: var(--bone);
    border: 1px solid var(--line);
    border-top: 2px solid var(--ember);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}

.tt-nav__panel > ul,
.tt-nav > li > .sub-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

/* A third level, if anyone ever adds one, is an indented list — not a
   second floating plate that would escape the first. */
.tt-nav .sub-menu .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 2px 0 6px 14px;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.tt-nav__item--parent:hover > .tt-nav__panel,
.tt-nav__item--parent:focus-within > .tt-nav__panel,
.tt-nav > li.menu-item-has-children:hover > .sub-menu,
.tt-nav > li.menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* The plate hangs 10px below the trigger; this bridges that gap so the
   pointer can travel into it without the panel closing underneath. */
.tt-nav__item--parent > a::before,
.tt-nav > li.menu-item-has-children > a::before {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    height: 12px;
}

.tt-nav__panel a,
.tt-nav .sub-menu a {
    display: grid;
    gap: 2px;
    padding: 11px 14px;
    font-size: .9rem;
    color: var(--text-soft);
    border-left: 2px solid transparent;
    transition: background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.tt-nav__panel a:hover,
.tt-nav .sub-menu a:hover {
    background: var(--bone-2);
    border-left-color: var(--ember);
    color: var(--text);
}
.tt-nav__panel-title { font-weight: 500; }
.tt-nav__panel-text { font-size: .8rem; color: var(--text-muted); line-height: 1.5; }

/* Header actions */
.tt-header__actions { display: flex; align-items: center; gap: 12px; }
.tt-header__actions .tt-btn { white-space: nowrap; }
@media (max-width: 560px) { .tt-header__actions .tt-btn span { display: none; } }

.tt-burger {
    display: inline-grid;
    place-items: center;
    width: 44px; height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    font-size: 1.3rem;
    transition: background-color .25s var(--ease), color .25s var(--ease);
}
.tt-burger:hover { background: var(--basalt); color: var(--bone); border-color: var(--basalt); }
@media (min-width: 1060px) { .tt-burger { display: none; } }

/* Drawer */
#tt-drawer { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
#tt-drawer.is-open { pointer-events: auto; }

.tt-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 17, 16, .6);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .35s var(--ease);
}
#tt-drawer.is-open .tt-drawer__backdrop { opacity: 1; }

.tt-drawer__panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(420px, 90vw);
    background: var(--basalt);
    color: var(--on-dark);
    border-left: 1px solid var(--line-dark);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .42s var(--ease-out);
    overflow-y: auto;
    overscroll-behavior: contain;
}
#tt-drawer.is-open .tt-drawer__panel { transform: none; }

.tt-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px var(--gutter);
    border-bottom: 1px solid var(--line-dark);
}
.tt-drawer__close {
    display: inline-grid;
    place-items: center;
    width: 42px; height: 42px;
    border: 1px solid var(--line-dark-2);
    border-radius: 2px;
    font-size: 1.2rem;
    color: var(--bone);
}
.tt-drawer__close:hover { background: var(--bone); color: var(--basalt); }

.tt-mnav { padding: 12px var(--gutter) 20px; flex: 1; }
.tt-mnav__link,
.tt-mnav summary,
.tt-mnav li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line-dark);
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--bone);
}
.tt-mnav summary { cursor: pointer; list-style: none; }
.tt-mnav summary::-webkit-details-marker { display: none; }
.tt-mnav summary i { font-size: .9rem; color: var(--bone-4); transition: transform .3s var(--ease); }
.tt-mnav details[open] summary i { transform: rotate(45deg); }
.tt-mnav details ul { padding: 4px 0 12px 16px; }
.tt-mnav details li a {
    font-family: var(--font-sans);
    font-size: .92rem;
    padding: 10px 0;
    color: var(--on-dark-soft);
    border-bottom: 0;
}
.tt-mnav details li a:hover { color: var(--bone); }

/* A WordPress menu renders the same <ul class="tt-nav"> inside the drawer,
   where flex rows, floating plates and dark-on-dark text would all be
   wrong. Unwind the desktop nav here. */
.tt-mnav .tt-nav { display: block; }
.tt-mnav .tt-nav > li { position: static; }
.tt-mnav .tt-nav > li > a { padding: 15px 0; color: var(--bone); }
.tt-mnav .tt-nav > li > a::after,
.tt-mnav .tt-nav > li > a::before { content: none; }
.tt-mnav .tt-nav > li > a i { display: none; }

.tt-mnav .tt-nav > li > .sub-menu,
.tt-mnav .sub-menu {
    position: static;
    display: block;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 0 0 12px 16px;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.tt-mnav .sub-menu a {
    display: block;
    font-family: var(--font-sans);
    font-size: .92rem;
    padding: 10px 0;
    color: var(--on-dark-soft);
    background: transparent;
    border-left: 0;
    border-bottom: 0;
}
.tt-mnav .sub-menu a:hover { color: var(--bone); background: transparent; }
.tt-mnav .sub-menu .tt-nav__panel-text { display: none; }

.tt-drawer__foot {
    padding: 20px var(--gutter) 28px;
    border-top: 1px solid var(--line-dark);
    display: grid;
    gap: 14px;
}
.tt-drawer__meta { font-size: .85rem; color: var(--on-dark-muted); display: grid; gap: 6px; }
.tt-drawer__meta a:hover { color: var(--bone); }

/* 08 — Hero =============================================================== */

.tt-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(520px, 78vh, 820px);
    padding-block: clamp(80px, 11vw, 150px) clamp(48px, 6vw, 84px);
    background: var(--basalt);
    color: var(--on-dark);
    overflow: hidden;
    isolation: isolate;
}

.tt-hero--tall { min-height: clamp(560px, 88vh, 900px); }
.tt-hero--short { min-height: clamp(380px, 52vh, 560px); align-items: center; }

.tt-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.tt-hero__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 42%;
    /* Hold the photography to the palette rather than letting it fight it. */
    filter: saturate(.82) contrast(1.04);
}

/* Two-stop scrim: a hard base for the type, a soft wash for the top
   so the sticky header never sits on an unreadable band. */
.tt-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(to top, rgba(20, 17, 16, .94) 0%, rgba(20, 17, 16, .74) 34%, rgba(20, 17, 16, .3) 68%, rgba(20, 17, 16, .5) 100%),
        linear-gradient(to right, rgba(20, 17, 16, .6) 0%, rgba(20, 17, 16, .12) 62%, transparent 100%);
}

/* No photo yet: a basalt field with a faint terrace contour, so the hero
   is still composed rather than a flat rectangle. */
.tt-hero--nophoto .tt-hero__scrim {
    background:
        radial-gradient(120% 90% at 18% 110%, rgba(168, 72, 43, .22) 0%, transparent 58%),
        radial-gradient(90% 70% at 88% 6%, rgba(142, 156, 137, .14) 0%, transparent 60%),
        repeating-linear-gradient(170deg, rgba(247, 244, 238, .035) 0 1px, transparent 1px 46px),
        linear-gradient(to bottom, var(--basalt-3), var(--basalt));
}

.tt-hero__inner { position: relative; width: 100%; }

.tt-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(32px, 5vw, 64px);
    max-width: 860px;
}

.tt-hero__title { margin-top: 22px; }
.tt-hero__lede { margin-top: 24px; color: var(--on-dark-soft); max-width: 56ch; }
.tt-hero__cta { margin-top: 36px; }

/* Fact strip: four hairline-divided cells, flush to the hero floor. */
.tt-hero__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin-top: clamp(40px, 5vw, 64px);
    border-top: 1px solid var(--line-dark-2);
}
.tt-hero__fact {
    padding: 22px 24px 4px 0;
    border-right: 1px solid var(--line-dark);
}
.tt-hero__fact:last-child { border-right: 0; }
.tt-hero__fact-value {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.1vw, 1.85rem);
    line-height: 1.05;
    color: var(--bone);
}
.tt-hero__fact-label {
    display: block;
    margin-top: 7px;
    font-family: var(--font-caps);
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
    line-height: 1.4;
}

@media (max-width: 620px) {
    .tt-hero__fact { border-right: 0; border-bottom: 1px solid var(--line-dark); padding-bottom: 18px; }
    .tt-hero__fact:last-child { border-bottom: 0; }
}

/* The roofline ornament that signs off the hero. */
.tt-hero__sign {
    position: absolute;
    right: var(--gutter);
    bottom: clamp(48px, 6vw, 84px);
    display: none;
    align-items: center;
    gap: 14px;
    color: var(--on-dark-muted);
    font-family: var(--font-caps);
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}
@media (min-width: 1120px) { .tt-hero__sign { display: flex; } }

/* 09 — Section library ==================================================== */

/* --- intro: the short, quotable answer ---------------------------------- */
.tt-answer {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: start;
}
@media (max-width: 900px) { .tt-answer { grid-template-columns: 1fr; } }

.tt-answer__text {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.5vw, 2.1rem);
    line-height: 1.32;
    letter-spacing: -.012em;
    margin-top: 20px;
    text-wrap: pretty;
}

.tt-answer__points { display: grid; gap: 2px; }
.tt-answer__point {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: baseline;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: .97rem;
    color: var(--text-soft);
}
.tt-answer__point:first-child { border-top: 1px solid var(--line); }
.tt-answer__point i { color: var(--ember); font-size: .7rem; }
.tt-band--basalt .tt-answer__point { border-color: var(--line-dark); color: var(--on-dark-soft); }
.tt-band--basalt .tt-answer__point:first-child { border-top-color: var(--line-dark); }
.tt-band--basalt .tt-answer__point i { color: var(--bone-4); }

/* --- pillars: a ledger of hairline-divided cells ------------------------
   The column count comes from the markup (tt-pillars--2/3/4, chosen in
   pillars.php from the item count) so a cell is never stranded alone on a
   row. Hairlines are drawn as each cell's own top and left border, with the
   first column's left border cleared per variant — no background-bleed
   trick, so the block sits on any band colour unchanged.
   --rule carries the hairline colour once, letting the breakpoints toggle
   only border widths. */
.tt-pillars {
    --rule: var(--line);
    --ghost: var(--bone-4);
    display: grid;
    gap: 0;
}
.tt-band--basalt .tt-pillars {
    --rule: var(--line-dark);
    --ghost: rgba(247, 244, 238, .13);
}

.tt-pillars--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tt-pillars--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tt-pillars--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.tt-pillar {
    position: relative;
    isolation: isolate;
    padding: clamp(30px, 3.2vw, 44px) clamp(22px, 2.4vw, 32px);
    border-top: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
    transition: background-color .4s var(--ease);
}
.tt-pillars--2 .tt-pillar:nth-child(2n + 1),
.tt-pillars--3 .tt-pillar:nth-child(3n + 1),
.tt-pillars--4 .tt-pillar:nth-child(4n + 1) { border-left-width: 0; }

.tt-pillar:hover { background: rgba(168, 72, 43, .035); }
.tt-band--basalt .tt-pillar:hover { background: rgba(247, 244, 238, .03); }

/* The ember rule rides the cell's top hairline and draws in on hover. */
.tt-pillar__rule {
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 2px;
    background: var(--ember);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .5s var(--ease-out);
}
.tt-band--basalt .tt-pillar__rule { background: var(--bone-4); }
.tt-pillar:hover .tt-pillar__rule { transform: scaleX(1); }

/* Inscribed numeral: decorative, aria-hidden, and deliberately quiet until
   the cell is hovered. */
.tt-pillar__num {
    position: absolute;
    top: clamp(22px, 2.4vw, 32px);
    right: clamp(18px, 2.2vw, 28px);
    z-index: -1;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 3.6vw, 3.4rem);
    line-height: .85;
    letter-spacing: -.02em;
    color: var(--ghost);
    font-variant-numeric: tabular-nums;
    transition: color .4s var(--ease);
    user-select: none;
}
.tt-pillar:hover .tt-pillar__num { color: var(--ember); }
.tt-band--basalt .tt-pillar:hover .tt-pillar__num { color: var(--bone-4); }

.tt-pillar__icon {
    display: inline-grid;
    place-items: center;
    width: 46px; height: 46px;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    font-size: 1.25rem;
    color: var(--ember);
    margin-bottom: clamp(22px, 2.4vw, 30px);
    transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.tt-pillar:hover .tt-pillar__icon { background: var(--ember); color: var(--bone); border-color: var(--ember); }
.tt-band--basalt .tt-pillar__icon { border-color: var(--line-dark-2); color: var(--bone-4); }
.tt-band--basalt .tt-pillar:hover .tt-pillar__icon { background: var(--bone); color: var(--basalt); border-color: var(--bone); }

.tt-pillar__title {
    font-family: var(--font-display);
    font-size: clamp(1.12rem, 1.4vw, 1.32rem);
    line-height: 1.24;
    letter-spacing: -.006em;
    margin-bottom: 12px;
    /* keep the title clear of the numeral on the narrowest cell */
    padding-right: 12px;
}
.tt-pillar__text { font-size: .95rem; line-height: 1.68; color: var(--text-soft); }
.tt-band--basalt .tt-pillar__text { color: var(--on-dark-soft); }

/* Four across is too tight below this; two rows of two reads better. */
@media (max-width: 1140px) {
    .tt-pillars--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tt-pillars--4 .tt-pillar { border-left-width: 1px; }
    .tt-pillars--4 .tt-pillar:nth-child(2n + 1) { border-left-width: 0; }
}

@media (max-width: 1000px) {
    .tt-pillars--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tt-pillars--3 .tt-pillar { border-left-width: 1px; }
    .tt-pillars--3 .tt-pillar:nth-child(3n + 1) { border-left-width: 1px; }
    .tt-pillars--3 .tt-pillar:nth-child(2n + 1) { border-left-width: 0; }
}

/* Single column last, so it wins over every variant above. */
@media (max-width: 640px) {
    .tt-pillars--2,
    .tt-pillars--3,
    .tt-pillars--4 { grid-template-columns: minmax(0, 1fr); }
    .tt-pillars .tt-pillar { border-left-width: 0; padding-inline: 0; }
    .tt-pillars .tt-pillar__num { right: 0; }
}

/* --- showcase: image-forward editorial cards ---------------------------- */
.tt-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: clamp(20px, 2.4vw, 34px);
}
.tt-showcase--2 { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }

@media (max-width: 560px) {
    .tt-showcase, .tt-showcase--2 { grid-template-columns: 1fr; }
}

.tt-scard {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bone);
    border: 1px solid var(--line);
    border-radius: 2px;
    overflow: hidden;
    transition: border-color .4s var(--ease), transform .4s var(--ease-out), box-shadow .4s var(--ease);
}
.tt-band--basalt .tt-scard { background: var(--basalt-2); border-color: var(--line-dark); }

.tt-scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.tt-band--basalt .tt-scard:hover { border-color: var(--line-dark-2); }

.tt-scard__media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--basalt-3);
}
.tt-scard__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(.86);
    transition: transform .8s var(--ease-out), filter .5s var(--ease);
}
.tt-scard:hover .tt-scard__media img { transform: scale(1.045); filter: saturate(1); }

/* Empty photo slot: basalt with a roof mark, never a grey box. */
.tt-scard__media--empty {
    display: grid;
    place-items: center;
    background:
        radial-gradient(100% 80% at 50% 110%, rgba(168, 72, 43, .2), transparent 62%),
        repeating-linear-gradient(170deg, rgba(247, 244, 238, .04) 0 1px, transparent 1px 38px),
        linear-gradient(to bottom, var(--basalt-3), var(--basalt));
}
.tt-scard__media--empty .tt-roof-mark { width: 58px; height: 37px; color: var(--bone-4); opacity: .5; }

.tt-scard__tag {
    position: absolute;
    top: 14px; left: 14px;
    padding: 7px 13px;
    background: var(--bone);
    color: var(--basalt);
    font-family: var(--font-caps);
    font-size: .66rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    border-radius: 2px;
}

.tt-scard__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: clamp(22px, 2.4vw, 30px);
    flex: 1;
}
.tt-scard__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    font-family: var(--font-caps);
    font-size: .68rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.tt-band--basalt .tt-scard__meta { color: var(--on-dark-muted); }
.tt-scard__text { font-size: .95rem; line-height: 1.68; color: var(--text-soft); }
.tt-band--basalt .tt-scard__text { color: var(--on-dark-soft); }

.tt-scard__foot {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.tt-band--basalt .tt-scard__foot { border-top-color: var(--line-dark); }
.tt-scard__price { font-family: var(--font-display); font-size: 1.2rem; }
.tt-scard__price small {
    font-family: var(--font-sans);
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-left: 5px;
}
.tt-band--basalt .tt-scard__price small { color: var(--on-dark-muted); }

/* --- narrative: long-form editorial prose ------------------------------- */
.tt-narrative {
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}
@media (max-width: 960px) { .tt-narrative { grid-template-columns: 1fr; gap: 24px; } }

.tt-narrative__aside { position: sticky; top: 128px; display: grid; gap: 16px; }
@media (max-width: 960px) { .tt-narrative__aside { position: static; } }

.tt-narrative__body { display: grid; gap: 22px; max-width: 72ch; }
.tt-narrative__body p { font-size: 1.0625rem; line-height: 1.8; color: var(--text-soft); text-wrap: pretty; }
.tt-band--basalt .tt-narrative__body p { color: var(--on-dark-soft); }

/* First paragraph gets a raised cap — the editorial signature. */
.tt-narrative__body > p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 3.4em;
    line-height: .82;
    float: left;
    margin: .06em .1em 0 0;
    color: var(--ember);
}
.tt-band--basalt .tt-narrative__body > p:first-of-type::first-letter { color: var(--bone-4); }

.tt-narrative__sub {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1.9vw, 1.6rem);
    line-height: 1.25;
    margin-top: 14px;
    color: var(--text);
}
.tt-band--basalt .tt-narrative__sub { color: var(--bone); }

.tt-quote {
    margin: 10px 0;
    padding: clamp(24px, 3vw, 36px);
    border-left: 2px solid var(--ember);
    background: var(--ember-wash);
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    line-height: 1.38;
    letter-spacing: -.008em;
}
.tt-band--basalt .tt-quote { background: rgba(247, 244, 238, .05); border-left-color: var(--bone-4); }
.tt-quote cite {
    display: block;
    margin-top: 14px;
    font-family: var(--font-caps);
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-style: normal;
    color: var(--text-muted);
}
.tt-band--basalt .tt-quote cite { color: var(--on-dark-muted); }

/* --- highlights: the destination / inclusion list ----------------------- */
.tt-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 0 clamp(28px, 4vw, 64px);
}
.tt-highlight {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}
.tt-band--basalt .tt-highlight { border-bottom-color: var(--line-dark); }
.tt-highlight__icon {
    display: inline-grid;
    place-items: center;
    width: 38px; height: 38px;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    font-size: 1.05rem;
    color: var(--ember);
    margin-top: 2px;
}
.tt-band--basalt .tt-highlight__icon { border-color: var(--line-dark-2); color: var(--bone-4); }
.tt-highlight__title { font-family: var(--font-display); font-size: 1.08rem; line-height: 1.3; margin-bottom: 5px; }
.tt-highlight__text { font-size: .93rem; line-height: 1.66; color: var(--text-soft); }
.tt-band--basalt .tt-highlight__text { color: var(--on-dark-soft); }

/* --- itinerary: the day-by-day rail ------------------------------------- */
.tt-itin { position: relative; display: grid; gap: 0; }
.tt-itin::before {
    content: "";
    position: absolute;
    left: 23px; top: 10px; bottom: 10px;
    width: 1px;
    background: linear-gradient(to bottom, var(--ember) 0%, var(--line-strong) 100%);
}
.tt-band--basalt .tt-itin::before { background: linear-gradient(to bottom, var(--bone-4) 0%, var(--line-dark) 100%); }

.tt-itin__step {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: clamp(18px, 2.5vw, 34px);
    padding: clamp(20px, 2.6vw, 32px) 0;
    border-bottom: 1px solid var(--line);
}
.tt-itin__step:last-child { border-bottom: 0; }
.tt-band--basalt .tt-itin__step { border-bottom-color: var(--line-dark); }

.tt-itin__dot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 47px; height: 47px;
    background: var(--bone);
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: .95rem;
    color: var(--ember);
}
.tt-band--basalt .tt-itin__dot { background: var(--basalt); border-color: var(--line-dark-2); color: var(--bone-4); }

.tt-itin__window {
    display: inline-block;
    margin-bottom: 9px;
    font-family: var(--font-caps);
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.tt-band--basalt .tt-itin__window { color: var(--on-dark-muted); }
.tt-itin__title { margin-bottom: 9px; }
.tt-itin__text { font-size: .97rem; line-height: 1.72; color: var(--text-soft); max-width: 66ch; }
.tt-band--basalt .tt-itin__text { color: var(--on-dark-soft); }

.tt-note {
    margin-top: clamp(26px, 3vw, 40px);
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: .88rem;
    line-height: 1.66;
    color: var(--text-muted);
    max-width: 78ch;
}
.tt-band--basalt .tt-note { border-top-color: var(--line-dark); color: var(--on-dark-muted); }

/* --- ratecard: the price ledger ----------------------------------------- */
.tt-rates { border-top: 1px solid var(--line-strong); }
.tt-band--basalt .tt-rates { border-top-color: var(--line-dark-2); }

.tt-rate {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr) minmax(0, 1.7fr) auto;
    gap: clamp(14px, 2.4vw, 34px);
    align-items: center;
    padding: clamp(20px, 2.3vw, 28px) 0;
    border-bottom: 1px solid var(--line);
    transition: background-color .3s var(--ease);
}
.tt-band--basalt .tt-rate { border-bottom-color: var(--line-dark); }

.tt-rate__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.tt-rate__name-text { font-family: var(--font-display); font-size: 1.14rem; line-height: 1.25; }
.tt-rate__code {
    font-family: var(--font-caps);
    font-size: .64rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 4px 8px;
    border: 1px solid var(--line);
    border-radius: 2px;
}
.tt-band--basalt .tt-rate__code { color: var(--on-dark-muted); border-color: var(--line-dark); }
.tt-rate__badge {
    font-family: var(--font-caps);
    font-size: .62rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--bone);
    background: var(--ember);
    padding: 4px 9px;
    border-radius: 2px;
}
.tt-rate__price { font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.42rem); white-space: nowrap; }
.tt-rate__price small {
    display: block;
    font-family: var(--font-sans);
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 3px;
}
.tt-band--basalt .tt-rate__price small { color: var(--on-dark-muted); }
.tt-rate__text { font-size: .93rem; line-height: 1.64; color: var(--text-soft); }
.tt-band--basalt .tt-rate__text { color: var(--on-dark-soft); }

@media (max-width: 980px) {
    .tt-rate { grid-template-columns: 1fr auto; gap: 10px 20px; }
    .tt-rate__text { grid-column: 1 / -1; }
    .tt-rate__link { grid-column: 1 / -1; }
}

/* --- matrix: comparison table ------------------------------------------ */
.tt-matrix { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tt-matrix:focus-visible { outline-offset: -2px; }
.tt-matrix table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: .95rem;
}
.tt-matrix th, .tt-matrix td {
    padding: 17px 20px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}
.tt-matrix thead th {
    font-family: var(--font-caps);
    font-size: .7rem;
    letter-spacing: .17em;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--text-muted);
    border-bottom: 1px solid var(--line-strong);
    white-space: nowrap;
}
.tt-matrix tbody th,
.tt-matrix td:first-child { font-weight: 500; color: var(--text); }
.tt-matrix td { color: var(--text-soft); }
.tt-matrix tbody tr:hover { background: var(--bone-2); }
.tt-matrix td.is-lead { color: var(--text); font-weight: 500; box-shadow: inset 2px 0 0 var(--ember); }

.tt-band--basalt .tt-matrix th,
.tt-band--basalt .tt-matrix td { border-bottom-color: var(--line-dark); }
.tt-band--basalt .tt-matrix thead th { color: var(--on-dark-muted); border-bottom-color: var(--line-dark-2); }
.tt-band--basalt .tt-matrix td { color: var(--on-dark-soft); }
.tt-band--basalt .tt-matrix td:first-child { color: var(--bone); }
.tt-band--basalt .tt-matrix tbody tr:hover { background: rgba(247, 244, 238, .035); }
.tt-band--basalt .tt-matrix td.is-lead { color: var(--bone); box-shadow: inset 2px 0 0 var(--bone-4); }

/* --- FAQ ---------------------------------------------------------------- */
.tt-faq { border-top: 1px solid var(--line); }
.tt-band--basalt .tt-faq { border-top-color: var(--line-dark); }

.tt-faq__item { border-bottom: 1px solid var(--line); }
.tt-band--basalt .tt-faq__item { border-bottom-color: var(--line-dark); }

.tt-faq__q {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    padding: 22px 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: clamp(1.02rem, 1.3vw, 1.18rem);
    line-height: 1.38;
    transition: color .25s var(--ease);
}
.tt-faq__q::-webkit-details-marker { display: none; }
.tt-faq__q:hover { color: var(--ember); }
.tt-band--basalt .tt-faq__q:hover { color: var(--bone-4); }

.tt-faq__q i {
    flex: 0 0 auto;
    margin-top: 3px;
    font-size: 1rem;
    color: var(--ember);
    transition: transform .35s var(--ease);
}
.tt-band--basalt .tt-faq__q i { color: var(--bone-4); }
.tt-faq__item[open] .tt-faq__q i { transform: rotate(45deg); }

.tt-faq__a {
    padding: 0 56px 26px 0;
    font-size: .98rem;
    line-height: 1.76;
    color: var(--text-soft);
    max-width: 78ch;
    text-wrap: pretty;
}
.tt-band--basalt .tt-faq__a { color: var(--on-dark-soft); }

@media (max-width: 560px) { .tt-faq__a { padding-right: 0; } }

/* --- FAQ hub: sticky category rail + grouped accordions ----------------- */
.tt-faqg {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: clamp(28px, 4.5vw, 72px);
    align-items: start;
}
@media (max-width: 960px) { .tt-faqg { grid-template-columns: 1fr; } }

.tt-faqg__nav {
    position: sticky;
    top: 124px;
    display: grid;
    gap: 2px;
    border-top: 1px solid var(--line);
}
.tt-band--basalt .tt-faqg__nav { border-top-color: var(--line-dark); }
@media (max-width: 960px) {
    .tt-faqg__nav {
        position: static;
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        overflow-x: auto;
        border-top: 0;
        padding-bottom: 8px;
        gap: 8px;
    }
}

.tt-faqg__nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 14px 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: .93rem;
    color: var(--text-soft);
    transition: color .25s var(--ease), padding-left .3s var(--ease), background-color .25s var(--ease);
}
.tt-band--basalt .tt-faqg__nav a { border-bottom-color: var(--line-dark); color: var(--on-dark-soft); }

.tt-faqg__nav a i { color: var(--ember); font-size: 1.05rem; }
.tt-band--basalt .tt-faqg__nav a i { color: var(--bone-4); }
.tt-faqg__nav a span:first-of-type { flex: 1; }
.tt-faqg__count {
    font-family: var(--font-caps);
    font-size: .68rem;
    letter-spacing: .1em;
    color: var(--text-muted);
}
.tt-faqg__nav a:hover,
.tt-faqg__nav a.is-active {
    color: var(--text);
    padding-left: 12px;
    background: var(--bone-2);
    box-shadow: inset 2px 0 0 var(--ember);
}
.tt-band--basalt .tt-faqg__nav a:hover,
.tt-band--basalt .tt-faqg__nav a.is-active {
    color: var(--bone);
    background: rgba(247, 244, 238, .05);
    box-shadow: inset 2px 0 0 var(--bone-4);
}
@media (max-width: 960px) {
    .tt-faqg__nav a {
        border: 1px solid var(--line);
        border-radius: 2px;
        padding: 11px 15px;
        white-space: nowrap;
    }
    .tt-faqg__nav a:hover, .tt-faqg__nav a.is-active { padding-left: 15px; }
}

.tt-faqg__group { scroll-margin-top: 120px; }
.tt-faqg__group + .tt-faqg__group { margin-top: clamp(40px, 5vw, 68px); }
.tt-faqg__group-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 8px;
    font-family: var(--font-caps);
    font-size: .76rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ember);
}
.tt-band--basalt .tt-faqg__group-title { color: var(--bone-4); }

/* --- directory / related ------------------------------------------------ */
.tt-dir {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 2px;
    overflow: hidden;
}
.tt-band--basalt .tt-dir { background: var(--line-dark); border-color: var(--line-dark); }

.tt-dir__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: clamp(22px, 2.4vw, 30px);
    background: var(--bone);
    transition: background-color .3s var(--ease);
}
.tt-band--basalt .tt-dir__item { background: var(--basalt); }
.tt-dir__item:hover { background: var(--bone-2); }
.tt-band--basalt .tt-dir__item:hover { background: var(--basalt-2); }

.tt-dir__icon {
    display: inline-grid;
    place-items: center;
    width: 40px; height: 40px;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    font-size: 1.1rem;
    color: var(--ember);
    transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.tt-dir__item:hover .tt-dir__icon { background: var(--ember); color: var(--bone); border-color: var(--ember); }
.tt-band--basalt .tt-dir__icon { border-color: var(--line-dark-2); color: var(--bone-4); }

.tt-dir__title {
    display: block;
    font-family: var(--font-display);
    font-size: 1.06rem;
    line-height: 1.3;
    margin-bottom: 6px;
}
.tt-dir__text { display: block; font-size: .9rem; line-height: 1.62; color: var(--text-soft); }
.tt-band--basalt .tt-dir__text { color: var(--on-dark-soft); }

/* --- stats / credential strip ------------------------------------------- */
.tt-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.tt-band--basalt .tt-stats { border-color: var(--line-dark); }
.tt-stat {
    padding: clamp(26px, 3vw, 40px) 26px clamp(26px, 3vw, 40px) 0;
    border-right: 1px solid var(--line);
}
.tt-stat:last-child { border-right: 0; }
.tt-band--basalt .tt-stat { border-right-color: var(--line-dark); }
.tt-stat__value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    line-height: 1;
    letter-spacing: -.015em;
}
.tt-stat__value span { color: var(--ember); }
.tt-band--basalt .tt-stat__value span { color: var(--bone-4); }
.tt-stat__label {
    margin-top: 12px;
    font-family: var(--font-caps);
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.5;
}
.tt-band--basalt .tt-stat__label { color: var(--on-dark-muted); }

@media (max-width: 680px) {
    .tt-stat { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
    .tt-stat:last-child { border-bottom: 0; }
    .tt-band--basalt .tt-stat { border-bottom-color: var(--line-dark); }
}

/* --- split: prose + photographic panel ---------------------------------- */
.tt-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: center;
}
.tt-split--reverse .tt-split__panel { order: -1; }
@media (max-width: 900px) {
    .tt-split { grid-template-columns: 1fr; }
    .tt-split--reverse .tt-split__panel { order: 0; }
}

.tt-split__panel {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 2px;
    background: var(--basalt-3);
}
.tt-split__panel img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86); }
.tt-split__panel--empty {
    display: grid;
    place-items: center;
    gap: 18px;
    padding: 40px;
    text-align: center;
    color: var(--bone);
    background:
        radial-gradient(100% 70% at 50% 108%, rgba(168, 72, 43, .24), transparent 60%),
        repeating-linear-gradient(170deg, rgba(247, 244, 238, .04) 0 1px, transparent 1px 42px),
        linear-gradient(to bottom, var(--basalt-3), var(--basalt));
}
.tt-split__panel--empty .tt-roof-mark { width: 64px; height: 40px; color: var(--bone-4); }

.tt-split__list { display: grid; gap: 2px; margin-top: 26px; }
.tt-split__list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 13px;
    align-items: baseline;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
    color: var(--text-soft);
}
.tt-split__list li:first-child { border-top: 1px solid var(--line); }
.tt-split__list i { color: var(--ember); font-size: .85rem; }
.tt-band--basalt .tt-split__list li { border-color: var(--line-dark); color: var(--on-dark-soft); }
.tt-band--basalt .tt-split__list li:first-child { border-top-color: var(--line-dark); }
.tt-band--basalt .tt-split__list i { color: var(--bone-4); }

/* --- contact ------------------------------------------------------------ */
.tt-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}
@media (max-width: 900px) { .tt-contact { grid-template-columns: 1fr; } }

.tt-contact__methods { display: grid; gap: 2px; }
.tt-contact__method {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.tt-contact__method:first-child { border-top: 1px solid var(--line); }
.tt-band--basalt .tt-contact__method { border-color: var(--line-dark); }
.tt-band--basalt .tt-contact__method:first-child { border-top-color: var(--line-dark); }

.tt-contact__icon {
    display: inline-grid;
    place-items: center;
    width: 42px; height: 42px;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    font-size: 1.15rem;
    color: var(--ember);
}
.tt-band--basalt .tt-contact__icon { border-color: var(--line-dark-2); color: var(--bone-4); }

.tt-contact__title { font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 5px; }
.tt-contact__text { font-size: .93rem; line-height: 1.64; color: var(--text-soft); }
.tt-band--basalt .tt-contact__text { color: var(--on-dark-soft); }
.tt-contact__action { margin-top: 10px; }

.tt-panel {
    padding: clamp(26px, 3vw, 38px);
    background: var(--bone-2);
    border: 1px solid var(--line);
    border-top: 2px solid var(--ember);
    border-radius: 2px;
}
.tt-band--basalt .tt-panel { background: var(--basalt-2); border-color: var(--line-dark); border-top-color: var(--bone-4); }

.tt-panel h3 {
    font-family: var(--font-caps);
    font-size: .76rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 18px;
}
.tt-band--basalt .tt-panel h3 { color: var(--bone-4); }

.tt-hours { display: grid; gap: 1px; }
.tt-hours__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: .92rem;
}
.tt-hours__row dt { color: var(--text-soft); }
.tt-hours__row dd { color: var(--text); font-weight: 500; }
.tt-band--basalt .tt-hours__row { border-bottom-color: var(--line-dark); }
.tt-band--basalt .tt-hours__row dt { color: var(--on-dark-soft); }
.tt-band--basalt .tt-hours__row dd { color: var(--bone); }

.tt-panel__address {
    margin-top: 20px;
    font-size: .92rem;
    line-height: 1.68;
    color: var(--text-soft);
}
.tt-band--basalt .tt-panel__address { color: var(--on-dark-soft); }
.tt-panel__address a { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; color: var(--ember); }
.tt-panel__address a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tt-band--basalt .tt-panel__address a { color: var(--bone-4); }

/* --- CTA ---------------------------------------------------------------- */
.tt-cta { position: relative; padding-block: 0; background: var(--bone); }
.tt-cta__card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(48px, 6.5vw, 96px) clamp(26px, 5vw, 80px);
    background: var(--basalt);
    color: var(--on-dark);
    border-radius: 2px;
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 20px;
}
.tt-cta__card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(90% 120% at 50% 118%, rgba(168, 72, 43, .34) 0%, transparent 60%),
        radial-gradient(70% 90% at 12% -10%, rgba(142, 156, 137, .16) 0%, transparent 62%),
        repeating-linear-gradient(170deg, rgba(247, 244, 238, .035) 0 1px, transparent 1px 44px);
}
.tt-cta__card .tt-h2 { max-width: 20ch; }
.tt-cta__card .tt-lede { color: var(--on-dark-soft); max-width: 56ch; }
.tt-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 12px; }
.tt-cta__meta {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--line-dark);
    width: min(100%, 560px);
    font-family: var(--font-caps);
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
}

/* 10 — Forms ============================================================== */

.tt-form { display: grid; gap: 14px; }
.tt-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .tt-form__row { grid-template-columns: 1fr; } }

.tt-form label {
    display: block;
    font-family: var(--font-caps);
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 7px;
}
.tt-band--basalt .tt-form label { color: var(--on-dark-muted); }

.tt-form input,
.tt-form textarea,
.tt-form select {
    width: 100%;
    padding: 13px 15px;
    font: inherit;
    font-size: .95rem;
    color: var(--text);
    background: var(--bone);
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.tt-form textarea { min-height: 118px; resize: vertical; }
.tt-form input:focus,
.tt-form textarea:focus,
.tt-form select:focus {
    /* outline is replaced, not removed: a 3px ember ring plus the border
       colour change, both well above the faint wash used elsewhere. */
    outline: none;
    border-color: var(--ember);
    box-shadow: 0 0 0 3px rgba(168, 72, 43, .28);
}
.tt-form input::placeholder, .tt-form textarea::placeholder { color: var(--text-muted); }

.tt-band--basalt .tt-form input,
.tt-band--basalt .tt-form textarea,
.tt-band--basalt .tt-form select {
    background: var(--basalt-3);
    color: var(--bone);
    border-color: var(--line-dark-2);
}
.tt-band--basalt .tt-form input::placeholder,
.tt-band--basalt .tt-form textarea::placeholder { color: var(--on-dark-muted); }

.tt-form__note { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }
.tt-band--basalt .tt-form__note { color: var(--on-dark-muted); }

.tt-search-form { display: flex; gap: 10px; max-width: 460px; margin-top: 22px; }
.tt-search-form input {
    flex: 1;
    padding: 13px 16px;
    font: inherit;
    font-size: .95rem;
    background: var(--bone);
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    color: var(--text);
}
.tt-search-form input:focus {
    outline: none;
    border-color: var(--ember);
    box-shadow: 0 0 0 3px rgba(168, 72, 43, .28);
}
.tt-search-form button {
    display: inline-grid;
    place-items: center;
    width: 50px;
    background: var(--ember);
    color: var(--bone);
    border-radius: 2px;
    font-size: 1.1rem;
}
.tt-search-form button:hover { background: var(--ember-hover); }

/* 11 — Footer ============================================================= */

.tt-footer {
    position: relative;
    background: var(--basalt);
    color: var(--on-dark-soft);
    overflow: hidden;
}

/* Roofline seam: the footer opens with the brand mark's own silhouette. */
.tt-footer__seam {
    height: 3px;
    background: linear-gradient(to right, var(--ember) 0%, var(--ember) 18%, var(--line-dark) 18%, var(--line-dark) 100%);
}

.tt-footer__top { padding-block: clamp(52px, 6vw, 88px) clamp(36px, 4vw, 56px); }

.tt-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 56px);
}
@media (max-width: 980px) { .tt-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tt-footer__grid { grid-template-columns: 1fr; } }

.tt-footer__brand { display: grid; gap: 18px; align-content: start; }
.tt-footer__brand p { font-size: .93rem; line-height: 1.72; max-width: 46ch; }

.tt-footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border: 1px solid var(--line-dark-2);
    border-radius: 2px;
    font-family: var(--font-caps);
    font-size: .66rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--bone-4);
    justify-self: start;
}

.tt-footer h2 {
    font-family: var(--font-caps);
    font-size: .74rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--bone);
    margin-bottom: 18px;
}

.tt-footer__links { display: grid; gap: 1px; }
.tt-footer__links a {
    display: block;
    padding: 7px 0;
    font-size: .92rem;
    color: var(--on-dark-soft);
    transition: color .25s var(--ease), padding-left .3s var(--ease);
}
.tt-footer__links a:hover { color: var(--bone); padding-left: 6px; }

.tt-footer__contact { display: grid; gap: 16px; }
.tt-footer__contact-item { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: start; font-size: .92rem; }
.tt-footer__contact-item i { color: var(--bone-4); font-size: 1.05rem; margin-top: 3px; }
.tt-footer__contact-item strong {
    display: block;
    font-family: var(--font-caps);
    font-size: .64rem;
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
    margin-bottom: 3px;
}
.tt-footer__contact-item a:hover { color: var(--bone); }

.tt-footer__group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    padding-block: 22px;
    border-top: 1px solid var(--line-dark);
    font-size: .84rem;
}
.tt-footer__group > span {
    font-family: var(--font-caps);
    font-size: .66rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--bone-4);
}
.tt-footer__group a { color: var(--on-dark-muted); }
.tt-footer__group a:hover { color: var(--bone); }

.tt-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 28px;
    padding-block: 24px 32px;
    border-top: 1px solid var(--line-dark);
    font-size: .84rem;
    color: var(--on-dark-muted);
}
.tt-footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.tt-footer__legal a:hover { color: var(--bone); }

/* 12 — Floating rail & back-to-top ======================================= */

.tt-rail {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 90;
    display: grid;
    gap: 8px;
    justify-items: end;
}

.tt-rail__btn {
    display: inline-flex;
    align-items: center;
    gap: 0;
    height: 48px;
    padding: 0 14px;
    background: var(--basalt);
    color: var(--bone);
    border: 1px solid var(--line-dark-2);
    border-radius: 2px;
    box-shadow: var(--shadow-md);
    font-family: var(--font-caps);
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: background-color .3s var(--ease), gap .3s var(--ease), color .3s var(--ease);
}
.tt-rail__btn i { font-size: 1.25rem; }
.tt-rail__label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transition: max-width .4s var(--ease-out), opacity .3s var(--ease);
}
.tt-rail__btn:hover { gap: 10px; }
.tt-rail__btn:hover .tt-rail__label,
.tt-rail__btn:focus-visible .tt-rail__label { max-width: 120px; opacity: 1; }

.tt-rail__btn--wa { background: var(--ember); border-color: var(--ember); }
.tt-rail__btn--wa:hover { background: var(--ember-hover); border-color: var(--ember-hover); }
.tt-rail__btn:not(.tt-rail__btn--wa):hover { background: var(--bone); color: var(--basalt); border-color: var(--bone); }

#tt-top {
    position: fixed;
    left: max(18px, env(safe-area-inset-left));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 90;
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    background: var(--bone);
    color: var(--basalt);
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease), background-color .25s var(--ease);
}
#tt-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
#tt-top:hover { background: var(--basalt); color: var(--bone); border-color: var(--basalt); }

@media (max-width: 560px) {
    .tt-rail { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
    #tt-top {
        left: max(12px, env(safe-area-inset-left));
        bottom: max(12px, env(safe-area-inset-bottom));
        width: 40px; height: 40px;
    }
}

/* 13 — Editorial prose, blog, 404, search ================================ */

.tt-page-head { padding-block: clamp(52px, 7vw, 100px) clamp(32px, 4vw, 52px); }

.tt-prose { max-width: 74ch; }
.tt-prose > * + * { margin-top: 1.25em; }
.tt-prose h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.2;
    margin-top: 1.9em;
}
.tt-prose h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.2rem, 1.7vw, 1.45rem);
    margin-top: 1.7em;
}
.tt-prose h4, .tt-prose h5, .tt-prose h6 {
    font-family: var(--font-caps);
    font-size: .82rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ember);
    margin-top: 1.7em;
}
.tt-prose p { color: var(--text-soft); line-height: 1.8; }
.tt-prose a { color: var(--ember); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tt-prose a:hover { color: var(--ember-deep); }
.tt-prose ul, .tt-prose ol { display: grid; gap: 10px; padding-left: 1.1em; color: var(--text-soft); }
.tt-prose ul li { list-style: none; position: relative; padding-left: 4px; }
.tt-prose ul li::before {
    content: "";
    position: absolute;
    left: -.95em; top: .72em;
    width: 5px; height: 5px;
    background: var(--ember);
}
.tt-prose ol { list-style: decimal; }
.tt-prose ol li::marker { color: var(--ember); font-family: var(--font-display); }
.tt-prose blockquote {
    padding-left: 22px;
    border-left: 2px solid var(--ember);
    font-family: var(--font-display);
    font-size: 1.2rem;
    line-height: 1.4;
}
.tt-prose img { border-radius: 2px; margin-block: 1.6em; }
.tt-prose figcaption { font-size: .85rem; color: var(--text-muted); margin-top: 10px; }
.tt-prose code {
    font-size: .9em;
    padding: 2px 6px;
    background: var(--bone-3);
    border-radius: 2px;
}
.tt-prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.4em; }
.tt-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tt-prose th, .tt-prose td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }

.tt-band--basalt .tt-prose p,
.tt-band--basalt .tt-prose ul,
.tt-band--basalt .tt-prose ol { color: var(--on-dark-soft); }
.tt-band--basalt .tt-prose a { color: var(--bone-4); }

/* Journal cards */
.tt-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(20px, 2.4vw, 34px);
}
.tt-post {
    display: flex;
    flex-direction: column;
    background: var(--bone);
    border: 1px solid var(--line);
    border-radius: 2px;
    overflow: hidden;
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.tt-post:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.tt-post__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--basalt-3); }
.tt-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.tt-post:hover .tt-post__media img { transform: scale(1.04); }
.tt-post__body { display: grid; gap: 12px; padding: clamp(20px, 2.2vw, 28px); flex: 1; align-content: start; }
.tt-post__date {
    font-family: var(--font-caps);
    font-size: .66rem;
    letter-spacing: .17em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.tt-post__title { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.26; }
.tt-post__text { font-size: .93rem; line-height: 1.68; color: var(--text-soft); }
.tt-post .tt-link { margin-top: auto; padding-top: 8px; }

.tt-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(36px, 4vw, 56px); }
.tt-pagination .page-numbers {
    display: inline-grid;
    place-items: center;
    min-width: 42px; height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 2px;
    font-size: .92rem;
    color: var(--text-soft);
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.tt-pagination .page-numbers:hover,
.tt-pagination .page-numbers.current {
    background: var(--basalt);
    color: var(--bone);
    border-color: var(--basalt);
}

.tt-empty {
    padding: clamp(40px, 5vw, 64px);
    border: 1px dashed var(--line-strong);
    border-radius: 2px;
    text-align: center;
    color: var(--text-soft);
}

/* 404 */
.tt-404 { text-align: center; display: grid; justify-items: center; gap: 20px; padding-block: clamp(80px, 12vw, 160px); }
.tt-404 .tt-roof-mark { width: 72px; height: 46px; }

/* 14 — Print & 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;
    }
    .tt-reveal { opacity: 1; transform: none; }
}

@media print {
    .tt-topbar, .tt-header, .tt-drawer, .tt-rail, #tt-top, .tt-cta, .tt-footer__group { display: none !important; }
    body { background: #fff; color: #000; }
    .tt-band { padding-block: 24px; background: #fff !important; color: #000 !important; }
    .tt-hero { min-height: auto; background: #fff; color: #000; }
    .tt-hero__media, .tt-hero__scrim { display: none; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
