@import url('https://fonts.googleapis.com/css2?family=Forum&family=Oswald:wght@300;400;500;600&family=PT+Serif:ital,wght@0,400;0,700;1,400&display=swap');

@font-face {
    font-family: 'Crock';
    src: url('/assets/fonts/crock.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --black: #070706;
    --coal: #0d0d0c;
    --panel: #121211;
    --panel-2: #191917;
    --line: #2a2926;
    --line-2: #45433d;
    --bone: #efe9dd;
    --ash: #a49d90;
    --ash-2: #837c70;
    --lamp: #d0a469;
    --lamp-soft: #e8c795;
    --blood: #8e2f26;

    --wrap: 1240px;
    --s1: 8px;
    --s2: 16px;
    --s3: 24px;
    --s4: 40px;
    --s5: 64px;
    --s6: 104px;

    --font-display: 'Forum', Georgia, serif;
    --font-body: 'PT Serif', Georgia, serif;
    --font-label: 'Oswald', 'Arial Narrow', sans-serif;
    --font-brand: 'Crock', 'Oswald', sans-serif;
    --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    --nav-h: 64px;

    --ink-plate: url('/assets/img/bgPanel.webp');
    --ornament: url('/assets/img/bgTitle.webp');
    --rule-img: url('/assets/img/bgLine.webp');

    --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

* { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    background-color: var(--black);
    color: var(--bone);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 91;
    background: radial-gradient(120% 90% at 50% 45%, rgba(7,7,6,0) 42%, rgba(0,0,0,0.55) 100%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 92;
    opacity: 0.13;
    mix-blend-mode: screen;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--lamp); }

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

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

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--s3);
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 var(--s2);
    color: var(--bone);
}

h1 { font-size: clamp(32px, 4.6vw, 52px); }

h2 {
    font-size: clamp(27px, 3.6vw, 40px);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

h3 { font-size: clamp(19px, 2.1vw, 23px); }

h4 {
    font-family: var(--font-label);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lamp);
    margin: 0 0 var(--s1);
}

p { margin: 0 0 var(--s2); }

.lead {
    font-size: clamp(17px, 1.6vw, 19px);
    color: var(--ash);
    max-width: 58ch;
}

.muted { color: var(--ash); }
.dim { color: var(--ash-2); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--lamp);
    margin-bottom: var(--s2);
}

.eyebrow::after {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, var(--lamp) 0%, rgba(208,164,105,0) 100%);
}

.section-head { margin-bottom: var(--s5); max-width: 62ch; }

.rule-ornament {
    display: block;
    width: 100%;
    max-width: 420px;
    height: 16px;
    margin: 0 0 var(--s3);
    object-fit: cover;
    opacity: 0.5;
    filter: invert(1) grayscale(1);
}

/* ---------- nav ---------- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: #040403;
}

.nav::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -11px;
    height: 12px;
    pointer-events: none;
    background: #040403;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='12' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H240 V5 L228,11 L214,4 L198,10 L182,5 L166,11 L150,6 L134,10 L118,4 L102,9 L86,5 L70,11 L54,5 L38,9 L22,4 L8,8 L0,5 Z' fill='%23fff'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='12' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H240 V5 L228,11 L214,4 L198,10 L182,5 L166,11 L150,6 L134,10 L118,4 L102,9 L86,5 L70,11 L54,5 L38,9 L22,4 L8,8 L0,5 Z' fill='%23fff'/%3E%3C/svg%3E");
    -webkit-mask-size: 240px 12px;
    mask-size: 240px 12px;
    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;
}

.nav-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: var(--s3);
    min-height: var(--nav-h);
}

.nav-brand {
    display: flex;
    align-items: baseline;
    gap: 9px;
    text-decoration: none;
    color: var(--bone);
    flex: none;
}

.nav-brand b {
    font-family: var(--font-brand);
    font-size: 25px;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1;
}

.nav-brand i {
    font-family: var(--font-label);
    font-style: normal;
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ash-2);
}

.nav-links { display: flex; gap: var(--s4); margin: 0 auto 0 var(--s4); flex-wrap: wrap; }

.nav-links a {
    position: relative;
    font-family: var(--font-label);
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ash);
    padding: 6px 0;
    transition: color 160ms var(--ease);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 0;
    height: 1px;
    background: var(--lamp);
    transition: left 200ms var(--ease), right 200ms var(--ease);
}

.nav-links a:hover { color: var(--bone); }
.nav-links a:hover::after,
.nav-links a.is-current::after { left: 0; right: 0; }
.nav-links a.is-current { color: var(--bone); }

.nav-side { display: flex; align-items: center; gap: var(--s2); flex: none; }
.nav-cta { display: none; }

.nav-burger {
    display: none;
    position: relative;
    isolation: isolate;
    width: 52px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    margin-left: auto;
}

.nav-burger::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--ink-plate);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    filter: invert(1) sepia(0.18) saturate(1.15);
}

.nav-burger span { display: block; width: 22px; height: 2px; background: #17150f; }
.nav-burger span:nth-child(2) { width: 16px; }

/* ---------- buttons ---------- */

.btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 15px 32px;
    font-family: var(--font-label);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    text-decoration: none;
    border: 0;
    background: transparent;
    color: #17150f;
    cursor: pointer;
    transition: transform 200ms var(--ease), color 200ms var(--ease);
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--ink-plate);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    filter: invert(1) sepia(0.18) saturate(1.15);
    transition: filter 220ms var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:hover::before { filter: invert(1) sepia(0.5) saturate(1.6) brightness(1.03); }

.btn-ghost { color: var(--bone); }
.btn-ghost::before { filter: invert(0.24) sepia(0.16); opacity: 0.92; }
.btn-ghost:hover { color: #17150f; }
.btn-ghost:hover::before { opacity: 1; filter: invert(1) sepia(0.4) saturate(1.4); }

.btn-sm { min-height: 40px; padding: 10px 18px; font-size: 11px; letter-spacing: 0.18em; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */

.hero {
    position: relative;
    min-height: clamp(460px, 70vh, 740px);
    display: flex;
    align-items: center;
    background-color: var(--coal);
    padding: calc(var(--s5) + var(--nav-h)) 0 var(--s4);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(0.42) sepia(0.12) contrast(1.1) brightness(0.78);
    transform: scale(1.03);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(7,7,6,0.94) 0%, rgba(7,7,6,0.62) 46%, rgba(7,7,6,0.2) 78%),
        linear-gradient(180deg, rgba(7,7,6,0.72) 0%, rgba(7,7,6,0) 30%, rgba(7,7,6,0.9) 84%, var(--black) 100%);
}

.hero-glow {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(30% 26% at 76% 26%, rgba(208,164,105,0.26) 0%, rgba(7,7,6,0) 72%),
        radial-gradient(40% 34% at 16% 82%, rgba(208,164,105,0.10) 0%, rgba(7,7,6,0) 74%);
}

.film {
    position: absolute;
    inset: -10%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.32;
    mix-blend-mode: screen;
    background-image:
        linear-gradient(101deg, rgba(255,255,255,0) 49.7%, rgba(255,255,255,0.32) 49.9%, rgba(255,255,255,0) 50.1%),
        linear-gradient(87deg, rgba(255,255,255,0) 73.5%, rgba(255,255,255,0.18) 73.6%, rgba(255,255,255,0) 73.8%);
}

.hero .wrap { position: relative; z-index: 3; width: 100%; }

.hero-wordmark {
    font-family: var(--font-brand);
    font-size: clamp(44px, 8vw, 108px);
    line-height: 0.92;
    letter-spacing: 0.005em;
    margin: 0 0 var(--s2);
    text-shadow: 0 2px 0 rgba(0,0,0,0.6), 0 26px 70px rgba(0, 0, 0, 0.9);
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.25;
    margin: 0 0 var(--s2);
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.9);
}

.hero .lead { text-shadow: 0 4px 18px rgba(0, 0, 0, 0.9); max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s4);
    margin-top: var(--s4);
    padding-top: var(--s3);
}

.hero-facts b {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.hero-facts span {
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ash-2);
}

/* ---------- ticker ---------- */

.ticker { background: #000; overflow: hidden; padding: 13px 0; }

.ticker-row {
    display: flex;
    white-space: nowrap;
    font-family: var(--font-label);
    font-size: 12px;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: var(--ash-2);
    animation: slide 46s linear infinite;
    width: max-content;
}

.ticker-row span { display: inline-flex; align-items: center; gap: var(--s4); padding-right: var(--s4); }
.ticker-row i { color: var(--lamp); font-style: normal; }

@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
    .ticker-row { animation: none; }
}

/* ---------- sections ---------- */

.section { position: relative; padding: var(--s6) 0; }
.section-coal { background-color: var(--coal); }

.section-photo { position: relative; background-color: var(--black); }

.section-photo .section-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(0.5) sepia(0.12) contrast(1.1) brightness(0.58);
    opacity: 0.9;
}

.section-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, var(--black) 0%, rgba(7,7,6,0.8) 22%, rgba(7,7,6,0.84) 78%, var(--black) 100%),
        linear-gradient(90deg, rgba(7,7,6,0.72) 0%, rgba(7,7,6,0.3) 55%, rgba(7,7,6,0.72) 100%);
}

.section-tone::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.05;
    background-image: var(--ink-plate);
    background-size: 100% 100%;
    filter: invert(1);
}

.section > .wrap { position: relative; z-index: 1; }

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s5);
    align-items: center;
}

.split-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; }

.ticks { list-style: none; padding: 0; margin: var(--s3) 0 0; }

.ticks li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--ash);
}

.ticks li::before {
    content: "\2726";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--lamp);
    font-size: 12px;
}

/* ---------- cards ---------- */

.grid { display: grid; gap: var(--s3); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

.card {
    position: relative;
    padding: var(--s4) var(--s3);
    overflow: hidden;
    transition: transform 220ms var(--ease);
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.8;
    background-image: var(--ink-plate);
    background-size: 100% 100%;
    transition: opacity 220ms var(--ease);
}

.card > * { position: relative; }
.card:hover { transform: translateY(-4px); }
.card:hover::before { opacity: 1; }

.card .card-no {
    display: block;
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--lamp);
    margin-bottom: var(--s1);
}

.card h3 { margin-bottom: 10px; letter-spacing: 0.02em; }
.card p { color: var(--ash); font-size: 16px; margin: 0; }

.card ul {
    list-style: none;
    padding: 0;
    margin: var(--s2) 0 0;
    font-family: var(--font-label);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--ash-2);
}

.card li { padding: 7px 0 7px 18px; position: relative; line-height: 1.5; }
.card li::before { content: "\2013"; position: absolute; left: 0; color: var(--line-2); }

/* ---------- video / portfolio ---------- */

.reel { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }

.clip { position: relative; }

.clip-frame {
    position: relative;
    background: #000;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.clip-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.04) saturate(0.9);
}

.clip-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 90px rgba(0,0,0,0.75);
}

.clip-cap { margin-top: var(--s2); }

.clip-cap b {
    display: block;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
}

.clip-cap span { color: var(--ash); font-size: 15px; }

.clip-tag {
    position: absolute;
    top: var(--s2);
    left: var(--s2);
    z-index: 2;
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--bone);
    background: rgba(4,4,3,0.78);
    padding: 5px 10px;
}

.slot {
    position: relative;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: var(--s3);
    background: var(--panel);
    color: var(--ash-2);
}

.slot::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: var(--ink-plate);
    background-size: 100% 100%;
    pointer-events: none;
}

.slot p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

/* ---------- pricing ---------- */

.prices { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); align-items: start; }

.price {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--s4) var(--s3) var(--s3);
    overflow: hidden;
}

.price::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.85;
    background-image: var(--ink-plate);
    background-size: 100% 100%;
}

.price > * { position: relative; }

.price-flag {
    position: absolute;
    top: 0;
    right: var(--s3);
    z-index: 2;
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: #17150f;
    background: var(--lamp);
    padding: 5px 11px;
}

.price h3 { margin-bottom: 6px; }

.price-note {
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ash-2);
    margin-bottom: var(--s3);
}

.price-tag {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: var(--s3);
    padding-bottom: var(--s3);
    border-bottom: 1px solid var(--line);
}

.price-tag b {
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 52px);
    font-weight: 400;
    line-height: 1;
    color: var(--bone);
}

.price-tag i {
    font-style: normal;
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ash-2);
}

.price ul {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--s4);
    flex: 1;
    font-size: 15px;
    color: var(--ash);
}

.price li { position: relative; padding: 8px 0 8px 26px; line-height: 1.55; }
.price li::before { content: "\2726"; position: absolute; left: 0; top: 8px; color: var(--lamp); font-size: 11px; }
.price li.off { color: var(--ash-2); }
.price li.off::before { content: "\2013"; color: var(--line-2); }

.price-foot {
    margin-top: var(--s2);
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ash-2);
    text-align: center;
}

.bundle {
    margin-top: var(--s4);
    padding: var(--s3);
    position: relative;
    overflow: hidden;
}

.bundle::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image: var(--ink-plate);
    background-size: 100% 100%;
}

.bundle > * { position: relative; }

.bundle-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--s3);
}

.bundle-row p { margin: 0; color: var(--ash); }
.bundle-row b { color: var(--bone); font-family: var(--font-display); font-weight: 400; font-size: 20px; }

/* ---------- tables ---------- */

.tw { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }

th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }

thead th {
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lamp);
    white-space: nowrap;
    border-bottom-color: var(--line-2);
}

tbody th { font-family: var(--font-body); font-weight: 400; color: var(--bone); }
td { color: var(--ash); }
td.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--bone); font-size: 14px; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }

caption { caption-side: bottom; padding: 14px 16px 0; font-size: 14px; color: var(--ash-2); text-align: left; }

/* ---------- code ---------- */

.code { position: relative; background: #060605; overflow: hidden; }

.code-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s2);
    padding: 11px 16px;
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ash-2);
    background: #0b0b0a;
}

.code pre { margin: 0; padding: 20px 22px; overflow-x: auto; }

.code code {
    font-family: var(--font-mono);
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--ash);
    white-space: pre;
}

.k { color: var(--bone); }
.v { color: var(--lamp); }
.c { color: var(--ash-2); font-style: italic; }
.s { color: #9bb07e; }

/* ---------- faq ---------- */

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }

.faq summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 18px 44px 18px 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: clamp(18px, 2vw, 21px);
    color: var(--bone);
    transition: color 160ms var(--ease);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 1px solid var(--lamp);
    border-bottom: 1px solid var(--lamp);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 200ms var(--ease);
}

.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--lamp); }
.faq .ans { padding: 0 0 var(--s3); color: var(--ash); max-width: 74ch; }
.faq .ans p:last-child { margin-bottom: 0; }

/* ---------- docs page ---------- */

.page-head {
    position: relative;
    padding: calc(var(--s5) + var(--nav-h)) 0 var(--s5);
    background-color: var(--coal);
    overflow: hidden;
}

.page-head .section-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(0.5) sepia(0.12) contrast(1.1) brightness(0.5);
}

.page-head::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,7,6,0.86) 0%, rgba(7,7,6,0.7) 50%, var(--black) 100%);
}

.page-head .wrap { position: relative; z-index: 2; }
.page-head h1 { max-width: 20ch; }

.docs-layout {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: var(--s5);
    align-items: start;
}

.toc {
    position: sticky;
    top: calc(var(--nav-h) + var(--s3));
    font-family: var(--font-label);
}

.toc b {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--lamp);
    margin-bottom: var(--s2);
    padding-bottom: var(--s2);
    border-bottom: 1px solid var(--line);
}

.toc a {
    display: block;
    padding: 8px 0;
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--ash);
    text-decoration: none;
    transition: color 160ms var(--ease);
}

.toc a:hover { color: var(--bone); }

.doc h2 { margin-top: var(--s5); scroll-margin-top: calc(var(--nav-h) + var(--s3)); }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin-top: var(--s4); color: var(--lamp-soft); }
.doc p { color: var(--ash); }
.doc .code { margin: var(--s3) 0; }
.doc .tw { margin: var(--s3) 0; }
.doc ul { color: var(--ash); padding-left: 22px; }
.doc li { margin-bottom: 8px; }

/* ---------- finale ---------- */

.finale { text-align: center; }
.finale .rule-ornament { margin-left: auto; margin-right: auto; }
.finale .lead { margin-left: auto; margin-right: auto; }
.finale .hero-cta { justify-content: center; }

/* ---------- footer ---------- */

.foot {
    position: relative;
    padding: var(--s5) 0 var(--s3);
    background: #000;
    color: var(--ash);
    font-size: 15px;
}

.foot-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: var(--s4);
    margin-bottom: var(--s4);
}

.foot b.foot-mark {
    display: block;
    font-family: var(--font-brand);
    font-size: 30px;
    font-weight: 400;
    color: var(--bone);
    margin-bottom: var(--s1);
}

.foot h4 { color: var(--ash-2); }
.foot a { color: var(--ash); text-decoration: none; }
.foot a:hover { color: var(--lamp); }
.foot-links { display: flex; flex-direction: column; gap: 8px; }

.foot-note {
    padding-top: var(--s3);
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--ash-2);
    line-height: 1.7;
    max-width: 82ch;
}

/* ---------- reveal ---------- */

.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 90ms; }
.reveal-delay-2 { transition-delay: 180ms; }
.reveal-delay-3 { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
    .docs-layout { grid-template-columns: 1fr; }
    .toc { position: static; }
    .toc a { display: inline-block; padding: 6px 14px 6px 0; }
}

@media (max-width: 900px) {
    :root { --s6: 72px; --s5: 48px; }
    .split, .split-wide { grid-template-columns: 1fr; gap: var(--s4); }
    .reel { grid-template-columns: 1fr; }

    .nav-burger { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        margin: 0;
        background: #040403;
        padding: var(--s1) var(--s3) var(--s3);
    }

    .nav-links.is-open { display: flex; }
    .nav-links a { padding: 14px 0; border-top: 1px solid var(--line); }
    .nav-side { display: none; }

    .nav-cta { display: flex; gap: var(--s2); padding-top: var(--s3); }
    .nav-cta a { border-top: 0; padding: 11px 18px; }
    .foot-grid { grid-template-columns: 1fr; gap: var(--s3); }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .hero-cta .btn, .finale .hero-cta .btn { width: 100%; }
    .hero-facts { gap: var(--s3); }
}

/* ---------- product modules ---------- */

.modules { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.module {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--s3) var(--s3) var(--s3);
    overflow: hidden;
    transition: transform 220ms var(--ease);
}

.module::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.82;
    background-image: var(--ink-plate);
    background-size: 100% 100%;
    transition: opacity 220ms var(--ease);
}

.module > * { position: relative; }
.module:hover { transform: translateY(-4px); }
.module:hover::before { opacity: 1; }

.module-kind {
    display: block;
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--lamp);
    margin-bottom: var(--s2);
}

.module h3 { margin-bottom: 4px; letter-spacing: 0.02em; }

.module-res {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--ash-2);
    margin-bottom: var(--s2);
}

.module > p { color: var(--ash); font-size: 15.5px; margin-bottom: var(--s3); }

.spec {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--s3);
    border-top: 1px solid var(--line);
}

.spec li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s2);
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.spec span {
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ash-2);
    flex: none;
}

.spec b {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14.5px;
    color: var(--bone);
    text-align: right;
}

.module-foot { margin-top: auto; }

.module-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: var(--s2);
}

.module-price b {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    color: var(--bone);
}

.module-price i {
    font-style: normal;
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ash-2);
}

.module-price.included b { font-size: 21px; color: var(--lamp); }
.module-price.free b { color: var(--lamp); }

/* wide lead card */

.module-lead {
    grid-column: 1 / -1;
    display: block;
    padding: var(--s5) var(--s4);
}

.lead-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
    gap: var(--s4) var(--s5);
    align-items: start;
}

.lead-top .lead { margin-bottom: 0; }

.lead-media .clip-frame { aspect-ratio: 16 / 9; }

.lead-media figcaption {
    margin-top: 10px;
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ash-2);
}

.lead-buy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s3) var(--s4);
    margin-top: var(--s4);
    padding: var(--s3) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.lead-buy .module-price { margin: 0; flex: none; }
.lead-buy .btn { flex: none; }

.buy-facts.inline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px var(--s3);
    margin: 0;
    border: 0;
    flex: 1;
    min-width: 260px;
}

.buy-facts.inline li {
    border: 0;
    padding: 0 0 0 17px;
    font-size: 13px;
    line-height: 1.45;
}

.buy-facts.inline li::before { top: 3px; }

.buy-facts {
    list-style: none;
    padding: 0;
    margin: var(--s3) 0 0;
    border-top: 1px solid var(--line);
}

.buy-facts li {
    position: relative;
    padding: 9px 0 9px 22px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--ash);
    line-height: 1.5;
}

.buy-facts li:last-child { border-bottom: 0; }

.buy-facts li::before {
    content: "\2726";
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 10px;
    color: var(--lamp);
}

.ticks.cols {
    columns: 3;
    column-gap: var(--s5);
    margin-top: 0;
}

.ticks.cols li { break-inside: avoid; margin-bottom: 14px; }

.lead-block {
    margin-top: var(--s5);
    padding-top: var(--s4);
    border-top: 1px solid var(--line);
}

.lead-block > h4 { margin-bottom: var(--s3); }

.inc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: var(--s4);
    align-items: start;
}

.inc-grid h3 { margin-bottom: 4px; }
.inc-grid p { color: var(--ash); font-size: 15.5px; }
.inc-grid .spec { margin-bottom: 0; }

.inc-flag {
    display: inline-block;
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #17150f;
    background: var(--lamp);
    padding: 4px 10px;
    margin-bottom: var(--s2);
}

.lead-clips { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.lead-clips figure { margin: 0; }

.lead-clips .clip-frame { aspect-ratio: 16 / 10; }

.lead-clips figcaption {
    margin-top: 10px;
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ash-2);
}

.module-lead:hover { transform: none; }
.module-lead h3 { font-size: clamp(26px, 3.2vw, 36px); text-transform: uppercase; letter-spacing: 0.05em; }
.module-lead > div { position: relative; }
.module-lead .lead { margin-bottom: var(--s3); }

.module-lead .module-price b { font-size: clamp(40px, 5vw, 54px); }

.module-lead ul.ticks { margin-top: 0; }
.module-lead ul.ticks li { font-size: 15px; }

.module-buy {
    padding: var(--s3);
    background: rgba(4,4,3,0.52);
}

.module-buy .price-foot { margin-top: var(--s2); }

/* ---------- cta band ---------- */

.cta {
    position: relative;
    padding: var(--s5) var(--s4);
    overflow: hidden;
    text-align: center;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.9;
    background-image: var(--ink-plate);
    background-size: 100% 100%;
}

.cta > * { position: relative; }
.cta h2 { margin-bottom: var(--s2); }
.cta .lead { margin: 0 auto var(--s4); }
.cta .hero-cta { justify-content: center; margin-top: 0; }

.cta-figures {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s5);
    margin: 0 0 var(--s4);
    padding: var(--s3) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.cta-figures div b {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(28px, 3.4vw, 38px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--bone);
}

.cta-figures div span {
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--ash-2);
}

@media (max-width: 1040px) {
    .ticks.cols { columns: 2; column-gap: var(--s4); }
}

@media (max-width: 860px) {
    .module-lead { padding: var(--s4) var(--s3); }
    .lead-buy .btn { width: 100%; }
    .lead-top, .inc-grid { grid-template-columns: 1fr; gap: var(--s4); }
    .ticks.cols { columns: 1; }
    .cta { padding: var(--s4) var(--s3); }
    .cta-figures { gap: var(--s4); }
}

/* ---------- roadmap ---------- */

.rail { list-style: none; padding: 0; margin: 0; position: relative; }

.rail::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: var(--line);
}

.rail li {
    position: relative;
    padding: 0 0 var(--s4) var(--s4);
}

.rail li:last-child { padding-bottom: 0; }

.rail li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--black);
    border: 1px solid var(--line-2);
}

.rail li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 14px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--line-2);
}

.rail.is-done li::before { border-color: var(--lamp); }
.rail.is-done li::after { background: var(--lamp); }

.rail.is-now li::before { border-color: var(--lamp-soft); }
.rail.is-now li::after { background: var(--lamp-soft); }

.rail h3 {
    font-size: clamp(18px, 2vw, 21px);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.rail p { color: var(--ash); font-size: 15.5px; margin: 0; max-width: 62ch; }

.rail .rail-meta {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ash-2);
    margin-top: 8px;
}

.stage-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--s2) var(--s3);
    margin-bottom: var(--s4);
    padding-bottom: var(--s2);
    border-bottom: 1px solid var(--line);
}

.stage-head h2 { margin: 0; }

.stage-tag {
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    padding: 5px 11px;
    color: #17150f;
    background: var(--lamp);
}

.stage-tag.plain {
    background: transparent;
    color: var(--ash-2);
    border: 1px solid var(--line-2);
}

.stage-count {
    margin-left: auto;
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ash-2);
}

.note {
    position: relative;
    padding: var(--s3);
    overflow: hidden;
    margin-top: var(--s5);
}

.note::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image: var(--ink-plate);
    background-size: 100% 100%;
}

.note > * { position: relative; }
.note p { margin: 0; color: var(--ash); font-size: 15.5px; max-width: 78ch; }
.note p + p { margin-top: var(--s2); }

@media (max-width: 700px) {
    .stage-count { margin-left: 0; width: 100%; }
}

/* ---------- product shots ---------- */

.module-shot {
    position: relative;
    display: block;
    margin: 0 calc(var(--s3) * -1) var(--s3);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #000;
}

.module-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.06) brightness(0.94);
    transform: scale(1.5);
    transform-origin: center 46%;
    transition: transform 420ms var(--ease), filter 320ms var(--ease);
}

.module:hover .module-shot img { transform: scale(1.58); filter: contrast(1.08) brightness(1.04); }

.module-shot::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(7,7,6,0.28) 0%, rgba(7,7,6,0) 38%, rgba(7,7,6,0.52) 100%);
}

.module-lead .module-price b { font-size: clamp(34px, 4.2vw, 46px); }

/* ---------- gallery ---------- */

.gallery {
    display: grid;
    gap: var(--s2);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.gallery figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 10;
}

.gallery figure.wide { grid-column: span 2; }

.gallery img,
.gallery video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(0.22) sepia(0.08) contrast(1.06) brightness(0.9);
    transition: transform 500ms var(--ease), filter 320ms var(--ease);
}

.gallery figure:hover img { transform: scale(1.05); filter: none; }

.gallery figure::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 70px rgba(0,0,0,0.55);
}

.gallery figure.clip-figure::after { display: none; }

.gallery-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--bone);
    background: rgba(4,4,3,0.78);
    padding: 5px 10px;
}

@media (max-width: 700px) {
    .gallery figure.wide { grid-column: span 1; }
}

/* ---------- nav tightening ---------- */

.nav-links { gap: 26px; margin-left: var(--s3); }
.nav-side .btn-sm { padding: 9px 15px; letter-spacing: 0.16em; }

@media (max-width: 1120px) {
    .nav-links { gap: 18px; }
    .nav-links a { font-size: 12px; letter-spacing: 0.14em; }
}

/* ---------- compact catalogue tiles ---------- */

.tiles { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.tile {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 220ms var(--ease);
}

.tile::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.8;
    background-image: var(--ink-plate);
    background-size: 100% 100%;
    transition: opacity 220ms var(--ease);
}

.tile:hover { transform: translateY(-4px); }
.tile:hover::before { opacity: 1; }

.tile-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }

.tile-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.3) sepia(0.1) contrast(1.06) brightness(0.84);
    transition: transform 420ms var(--ease), filter 320ms var(--ease);
}

.tile:hover .tile-shot img { transform: scale(1.05); filter: grayscale(0.1) contrast(1.08) brightness(0.98); }

.tile-shot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,7,6,0.2) 0%, rgba(7,7,6,0) 40%, rgba(7,7,6,0.6) 100%);
}

.tile-body { position: relative; padding: var(--s2) var(--s2) var(--s3); }

.tile-body b {
    display: block;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    margin-bottom: 3px;
}

.tile-body .tile-res {
    display: block;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--ash-2);
    margin-bottom: 10px;
}

.tile-body .tile-meta {
    display: block;
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ash);
}

.tile-price {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #17150f;
    background: var(--lamp);
    padding: 4px 9px;
}

.tile-price.soft { background: rgba(4,4,3,0.82); color: var(--lamp); }

/* ---------- mosaic gallery ---------- */

.mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 168px;
    grid-auto-flow: row dense;
    gap: 10px;
}

.mosaic figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: #000;
}

.mosaic figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(0.24) sepia(0.08) contrast(1.06) brightness(0.88);
    transition: transform 520ms var(--ease), filter 320ms var(--ease);
}

.mosaic figure:hover img { transform: scale(1.06); filter: none; }

.mosaic figure::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 70px rgba(0,0,0,0.5);
}

.mosaic .m-big { grid-column: span 2; grid-row: span 2; }
.mosaic .m-wide { grid-column: span 2; }

@media (max-width: 1000px) {
    .mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; }
}

@media (max-width: 700px) {
    .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 128px; gap: 8px; }
}

/* ---------- scrollable fleet list ---------- */

.fleet-scroll {
    position: relative;
    max-height: 560px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--line-2) transparent;
    padding-right: 6px;
}

.fleet-scroll::-webkit-scrollbar { width: 8px; }
.fleet-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }
.fleet-scroll::-webkit-scrollbar-thumb { background: var(--line-2); }
.fleet-scroll::-webkit-scrollbar-thumb:hover { background: var(--ash-2); }

.fleet-row {
    position: relative;
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr) auto;
    gap: var(--s3);
    align-items: center;
    padding: 12px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 200ms var(--ease);
}

.fleet-row + .fleet-row { margin-top: 8px; }

.fleet-row::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.72;
    background-image: var(--ink-plate);
    background-size: 100% 100%;
    transition: opacity 200ms var(--ease);
}

.fleet-row:hover { transform: translateX(4px); }
.fleet-row:hover::before { opacity: 1; }
.fleet-row > * { position: relative; }

.fleet-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: #000; }

.fleet-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.3) sepia(0.1) contrast(1.06) brightness(0.85);
    transition: filter 300ms var(--ease);
}

.fleet-row:hover .fleet-thumb img { filter: grayscale(0.08) contrast(1.08) brightness(1); }

.fleet-info b {
    display: block;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 21px;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.fleet-info .fleet-res {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ash-2);
    margin: 2px 0 8px;
}

.fleet-info .fleet-meta {
    display: block;
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ash);
}

.fleet-buy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding-right: var(--s2);
}

.fleet-buy b {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 26px;
    line-height: 1;
    color: var(--bone);
}

.fleet-buy span {
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lamp);
}

.fleet-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--s2);
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--ash-2);
}

.fleet-hint::after { content: ""; flex: 1; height: 1px; background: var(--line); }

@media (max-width: 760px) {
    .fleet-scroll { max-height: none; overflow: visible; padding-right: 0; }
    .fleet-row { grid-template-columns: 96px minmax(0, 1fr); }
    .fleet-buy { grid-column: 1 / -1; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 10px; padding: 0; }
    .fleet-hint { display: none; }
}

.clip-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: var(--s3);
    text-align: center;
    background: var(--panel);
    color: var(--ash-2);
}

.clip-empty::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background-image: var(--ink-plate);
    background-size: 100% 100%;
    pointer-events: none;
}

.clip-empty svg { position: relative; width: 30px; height: 30px; color: var(--line-2); }

.clip-empty b {
    position: relative;
    font-family: var(--font-label);
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

/* ---------- featured card background ---------- */

.module-lead { isolation: isolate; }

.module-lead .lead-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center 58%;
}

.module-lead .lead-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,7,6,0.95) 0%, rgba(7,7,6,0.84) 52%, rgba(7,7,6,0.66) 100%),
        linear-gradient(180deg, rgba(7,7,6,0.55) 0%, rgba(7,7,6,0.62) 55%, rgba(7,7,6,0.9) 100%);
}

.module-lead.has-bg::before { opacity: 0.22; z-index: -1; }
.module-lead.has-bg:hover::before { opacity: 0.28; }

/* ---------- horizontal fleet rail ---------- */

.fleet-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(258px, 282px);
    gap: var(--s2);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-bottom: 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--line-2) transparent;
}

.fleet-rail > * { scroll-snap-align: start; }

.fleet-rail::-webkit-scrollbar { height: 8px; }
.fleet-rail::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }
.fleet-rail::-webkit-scrollbar-thumb { background: var(--line-2); }
.fleet-rail::-webkit-scrollbar-thumb:hover { background: var(--ash-2); }

.rail-wrap { position: relative; }

.rail-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 22px;
    width: 64px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(7,7,6,0) 0%, var(--black) 100%);
}

.section-coal .rail-wrap::after { background: linear-gradient(90deg, rgba(13,13,12,0) 0%, var(--coal) 100%); }

@media (max-width: 560px) {
    .fleet-rail { grid-auto-columns: minmax(226px, 244px); }
    .rail-wrap::after { width: 36px; }
}

/* ---------- coming soon + richer tiles ---------- */

.soon-label {
    margin: var(--s2) 0 0;
    padding-top: var(--s2);
    border-top: 1px solid var(--line);
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--lamp);
}

.sub-tag {
    border: 0;
    padding: 0;
}

.tile-shot img { filter: grayscale(0.24) sepia(0.08) contrast(1.06) brightness(0.88); }

.tile-shot::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    box-shadow: inset 0 0 60px rgba(0,0,0,0.5);
}

.tile-desc {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.55;
    color: var(--ash);
    margin-bottom: 12px;
}

.tile-body .tile-res { margin-bottom: 8px; }

.tile-body .tile-meta {
    padding-top: 10px;
    border-top: 1px solid var(--line);
    color: var(--ash-2);
}

.fleet-rail { grid-auto-columns: minmax(248px, 286px); }
.fleet-rail .module { height: 100%; }

@media (max-width: 560px) {
    .fleet-rail { grid-auto-columns: minmax(248px, 268px); }
}

/* ---------- stat plates ---------- */

.plates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: var(--s2);
    margin-bottom: var(--s5);
}

.plate {
    position: relative;
    padding: var(--s4) var(--s3);
    text-align: center;
    overflow: hidden;
    transition: transform 220ms var(--ease);
}

.plate::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.88;
    background-image: var(--ink-plate);
    background-size: 100% 100%;
    transition: opacity 220ms var(--ease);
}

.plate:hover { transform: translateY(-3px); }
.plate:hover::before { opacity: 1; }

.plate > * { position: relative; }

.plate b {
    display: block;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(38px, 5vw, 54px);
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--lamp);
    text-shadow: 0 8px 28px rgba(0,0,0,0.7);
}

.plate span {
    display: block;
    margin-top: 12px;
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--bone);
}

.plate i {
    display: block;
    margin-top: 6px;
    font-style: normal;
    font-family: var(--font-body);
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--ash-2);
}

/* ---------- section sub head ---------- */

.sub-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--s2) var(--s4);
    margin-bottom: var(--s3);
    padding-bottom: var(--s3);
    border-bottom: 1px solid var(--line);
}

.sub-head h3 { margin-bottom: 8px; }
.sub-head p { margin: 0; color: var(--ash); font-size: 15.5px; max-width: 64ch; }

.sub-tag {
    flex: none;
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--lamp);
    border: 1px solid rgba(208,164,105,0.4);
    padding: 6px 12px;
}

.fleet-hint { margin-bottom: var(--s2); }

/* ---------- horizontal shot rail ---------- */

.shot-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 430px);
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-bottom: 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--line-2) transparent;
}

.shot-rail figure {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #000;
    scroll-snap-align: start;
}

.shot-rail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(0.24) sepia(0.08) contrast(1.06) brightness(0.88);
    transition: transform 500ms var(--ease), filter 320ms var(--ease);
}

.shot-rail figure:hover img { transform: scale(1.05); filter: none; }

.shot-rail figure::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 70px rgba(0,0,0,0.5);
}

.shot-rail::-webkit-scrollbar { height: 8px; }
.shot-rail::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }
.shot-rail::-webkit-scrollbar-thumb { background: var(--line-2); }
.shot-rail::-webkit-scrollbar-thumb:hover { background: var(--ash-2); }

@media (max-width: 560px) {
    .shot-rail { grid-auto-columns: minmax(248px, 300px); }
}

/* ---------- lightbox ---------- */

.mosaic figure img,
.shot-rail figure img { cursor: zoom-in; }

.lb {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 56px);
    background: rgba(4, 4, 3, 0.94);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 220ms var(--ease);
}

.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }

.lb figure {
    position: relative;
    margin: 0;
    max-width: min(1400px, 100%);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transform: scale(0.97);
    transition: transform 260ms var(--ease);
}

.lb.is-open figure { transform: none; }

.lb img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 150px);
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.9);
}

.lb figcaption {
    font-family: var(--font-label);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ash-2);
    text-align: center;
}

.lb-btn {
    position: absolute;
    z-index: 2;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #17150f;
    cursor: pointer;
}

.lb-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--ink-plate);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    filter: invert(1) sepia(0.18) saturate(1.15);
    transition: filter 220ms var(--ease);
}

.lb-btn:hover::before { filter: invert(1) sepia(0.5) saturate(1.6) brightness(1.03); }
.lb-btn svg { width: 19px; height: 19px; }

.lb-close { top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px); }
.lb-prev { left: clamp(8px, 2vw, 30px); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(8px, 2vw, 30px); top: 50%; transform: translateY(-50%); }
.lb-count {
    position: absolute;
    left: 50%;
    bottom: clamp(12px, 3vw, 24px);
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ash-2);
}

body.lb-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
    .lb, .lb figure { transition: none; }
}

@media (max-width: 620px) {
    .lb-btn { width: 44px; height: 40px; }
    .lb-prev { left: 6px; }
    .lb-next { right: 6px; }
    .lb img { max-height: calc(100vh - 170px); }
}

/* ---------- youtube stack ---------- */

.ytstack { display: grid; gap: var(--s4); }

.ytbox {
    position: relative;
    margin: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.ytbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(0.2) sepia(0.06) contrast(1.05) brightness(0.72);
    transition: filter 320ms var(--ease), transform 600ms var(--ease);
}

.ytbox:hover img { filter: grayscale(0.05) brightness(0.86); transform: scale(1.02); }

.ytbox iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.yt-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    padding: 16px 30px 16px 26px;
    border: 0;
    background: transparent;
    color: #17150f;
    font-family: var(--font-label);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 200ms var(--ease);
}

.yt-play::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--ink-plate);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    filter: invert(1) sepia(0.18) saturate(1.15);
    transition: filter 220ms var(--ease);
}

.yt-play:hover { transform: translate(-50%, -50%) translateY(-2px); }
.yt-play:hover::before { filter: invert(1) sepia(0.5) saturate(1.6) brightness(1.03); }
.yt-play svg { width: 20px; height: 20px; }

.ytbox figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: var(--s3);
    pointer-events: none;
    background: linear-gradient(180deg, rgba(7,7,6,0) 0%, rgba(7,7,6,0.88) 100%);
}

.ytbox figcaption b {
    display: block;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(19px, 2.2vw, 24px);
    letter-spacing: 0.02em;
    color: var(--bone);
}

.ytbox figcaption span { font-size: 15px; color: var(--ash); }
.ytbox.is-live figcaption, .ytbox.is-live .yt-play { display: none; }

@media (max-width: 620px) {
    .yt-play { min-height: 48px; padding: 13px 20px 13px 17px; font-size: 11px; letter-spacing: 0.16em; }
    .ytbox figcaption { padding: var(--s2); }
}

.ytbox { cursor: pointer; }
.ytbox.is-live { cursor: default; }

.lead-media .ytbox { aspect-ratio: 16 / 9; }
.lead-media .yt-play { min-height: 46px; padding: 12px 22px 12px 18px; font-size: 11px; letter-spacing: 0.18em; }
.lead-media .yt-play svg { width: 16px; height: 16px; }

.reel .ytbox { aspect-ratio: 16 / 10; }

.reel .yt-play {
    left: var(--s2);
    top: var(--s2);
    transform: none;
}

.reel .yt-play:hover { transform: translateY(-2px); }

/* ---------- doc tabs ---------- */

.doc-tabs-wrap { padding-top: var(--s5); }
.doc-tabs-wrap + .page-content > .section:first-child { padding-top: var(--s4); }

.doc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    border-bottom: 1px solid var(--line);
}

.doc-tabs a {
    position: relative;
    padding: 14px 22px;
    font-family: var(--font-label);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ash-2);
    transition: color 160ms var(--ease);
}

.doc-tabs a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: -1px;
    height: 2px;
    background: var(--lamp);
    transition: left 200ms var(--ease), right 200ms var(--ease);
}

.doc-tabs a:hover { color: var(--bone); }
.doc-tabs a:hover::after { left: 18%; right: 18%; }

.doc-tabs a.is-current { color: var(--lamp); }
.doc-tabs a.is-current::after { left: 0; right: 0; }

.doc-tabs a.is-current::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.5;
    background-image: var(--ink-plate);
    background-size: 100% 100%;
}

.doc-tabs a { isolation: isolate; }

@media (max-width: 700px) {
    .doc-tabs { gap: 0; }
    .doc-tabs a { flex: 1 1 auto; padding: 12px 10px; font-size: 11px; letter-spacing: 0.12em; text-align: center; }
}
