/* =========================================================
   MLB Logistics22 LLC — "Oxblood & Champagne"
   A rich, cinematic dark site: layered photography, gold light,
   glass panels, 3D tilt, a split-flap board and a 3D reach map.
   Type: Cormorant (display) + Manrope (text) + JetBrains Mono (board)
   ========================================================= */
:root {
  --night: #0E0A0C;
  --night-2: #17100F;
  --night-3: #221816;
  --oxblood: #5C0D18;
  --cab: #C8102E;
  --gold: #D9B77E;
  --gold-2: #F1DDB1;
  --gold-3: #A88654;
  --cream: #F4EDE3;
  --muted: #B3A69D;
  --line: rgba(217,183,126,.18);
  --glass: rgba(30,22,22,.55);

  --serif: "Cormorant", "Cormorant Garamond", "DejaVu Serif", Georgia, serif;
  --sans: "Manrope", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", "DejaVu Sans Mono", ui-monospace, monospace;

  --t1: 1.25rem; --t2: 1.9rem;
  --t3: clamp(2.3rem, 1.6rem + 2.6vw, 3.8rem);
  --t4: clamp(3rem, 1.8rem + 4.6vw, 6.2rem);
  --t5: clamp(3.6rem, 1.8rem + 7.2vw, 9.4rem);
  --g: clamp(1rem, .4rem + 2.6vw, 2.75rem);
  --max: 1320px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
*, *::before, *::after { 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; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; color: var(--cream); background: var(--night); overflow-x: hidden; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 400; background-image: var(--grain); opacity: .06; mix-blend-mode: overlay; }
main { overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: .98; letter-spacing: -0.01em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--gold-2); }
p { margin: 0 0 1em; } p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -80px; background: var(--gold); color: var(--night); padding: .6rem 1rem; z-index: 500; }
.skip:focus { top: 1rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--g); }
.lede { font-size: var(--t1); line-height: 1.6; color: var(--muted); max-width: 54ch; }
.sec { padding: clamp(5rem, 3rem + 7vw, 10rem) 0; position: relative; }
.h2 { font-size: var(--t4); }
.head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(3rem, 5vw, 5rem); }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }
.tag { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--gold); margin-bottom: 1.4rem; }
.tag::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.oxblood { background: radial-gradient(120% 120% at 80% 0%, #7A1222 0%, var(--oxblood) 45%, #2B070C 100%); }
.deep { background: var(--night-2); }

/* Reveal (one orchestrated entrance per block) */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; gap: .7rem; padding: 1.05rem 1.8rem; border-radius: 999px; border: 1px solid transparent; font: 600 .98rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; overflow: hidden; transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, var(--gold-3)); color: #1A1012; box-shadow: 0 10px 30px -12px rgba(217,183,126,.6); }
.btn-gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-gold:hover { box-shadow: 0 16px 40px -12px rgba(217,183,126,.8); }
.btn-glass { background: rgba(255,255,255,.06); border-color: rgba(241,221,177,.35); color: var(--cream); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.12); border-color: var(--gold); }
.btn .ar { display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative; transition: width .3s var(--ease); }
.btn .ar::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .ar { width: 26px; }
.link-gold { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(217,183,126,.4); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.link-gold:hover { color: var(--gold-2); border-color: var(--gold-2); }

/* ---------- Header ---------- */
.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 300; transition: background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.hd.solid { background: rgba(14,10,12,.8); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.hd .wrap { display: flex; align-items: center; gap: 2rem; height: 88px; transition: height .4s; }
.hd.solid .wrap { height: 72px; }
.wm { text-decoration: none; display: flex; align-items: center; gap: .85rem; flex-shrink: 0; }
.wm .seal { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; font: italic 600 1.15rem var(--serif); color: var(--gold); background: radial-gradient(circle at 30% 30%, rgba(217,183,126,.2), transparent 70%); }
.wm b { display: block; font: 600 1.55rem/1 var(--serif); letter-spacing: .01em; }
.wm small { display: block; font-size: .7rem; color: var(--muted); letter-spacing: .14em; margin-top: 3px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.9rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; color: rgba(244,237,227,.78); position: relative; padding: .4rem 0; transition: color .25s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -2px; height: 1px; background: var(--gold); transition: left .3s var(--ease), right .3s var(--ease); }
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { left: 0; right: 0; }
.nav a[aria-current="page"] { color: var(--gold-2); }
.nav .btn { padding: .85rem 1.35rem; }
.mb { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(241,221,177,.4); background: rgba(255,255,255,.04); color: var(--cream); cursor: pointer; position: relative; z-index: 2; }
.mb i, .mb i::before, .mb i::after { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 0 auto; position: relative; transition: transform .3s, background-color .3s; }
.mb i::before, .mb i::after { content: ""; position: absolute; left: 0; }
.mb i::before { top: -6px; } .mb i::after { top: 6px; }
.open .mb i { background: transparent; } .open .mb i::before { transform: translateY(6px) rotate(45deg); } .open .mb i::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1060px) {
  .mb { display: block; }
  .nav { position: fixed; inset: 0; background: radial-gradient(120% 80% at 80% 0%, #3A0A12, var(--night) 60%); flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 6rem var(--g) 2rem;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .open .nav { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { display: block; padding: .7rem 0; font: 500 2.6rem/1.1 var(--serif); color: var(--cream); border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 2rem; justify-content: center; }
  .wm { position: relative; z-index: 2; }
}

/* ---------- Footer ---------- */
.ft { background: #0A0708; color: var(--muted); position: relative; overflow: hidden; }
.ft::before { content: ""; position: absolute; left: 50%; top: -260px; width: 900px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(200,16,46,.28), transparent); pointer-events: none; }
.ft-cta { position: relative; text-align: center; padding: clamp(5rem, 9vw, 8rem) 0 4rem; border-bottom: 1px solid var(--line); }
.ft-cta h2 { font-size: var(--t5); color: var(--cream); font-weight: 500; }
.ft-cta a.ph { display: inline-block; margin-top: 1.75rem; font: italic 500 clamp(2rem, 1.4rem + 2.4vw, 3.4rem) var(--serif); color: var(--gold); text-decoration: none; white-space: nowrap; }
.ft-cta a.ph:hover { color: var(--gold-2); }
.ft-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding: 4rem 0 3rem; position: relative; }
.ft h3 { font: 600 .82rem var(--sans); color: var(--gold); margin-bottom: 1rem; letter-spacing: .14em; }
.ft ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.ft a { text-decoration: none; transition: color .2s; } .ft a:hover { color: var(--cream); }
.ft address { font-style: normal; line-height: 1.8; }
.ft dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; }
.ft dd { margin: 0; color: var(--cream); font-weight: 600; }
.ft-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.5rem 0 2.2rem; border-top: 1px solid var(--line); font-size: .86rem; position: relative; }
@media (max-width: 900px) { .ft-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .ft-top { grid-template-columns: 1fr; } }

/* ---------- Forms (glass) ---------- */
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: 22px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05); }
.form { padding: clamp(1.75rem, 4vw, 3rem); display: grid; gap: 1.4rem; }
.f { display: grid; gap: .45rem; }
.f label { font-size: .85rem; font-weight: 600; color: var(--gold); letter-spacing: .02em; }
.f input, .f select, .f textarea { font: inherit; font-size: 1.02rem; width: 100%; padding: .95rem 1.1rem; border-radius: 12px; border: 1px solid rgba(241,221,177,.18); background: rgba(255,255,255,.04); color: var(--cream); transition: border-color .25s, background-color .25s, box-shadow .25s; color-scheme: dark; }
.f select option { color: #111; }
.f textarea { min-height: 130px; resize: vertical; }
.f input::placeholder, .f textarea::placeholder { color: rgba(244,237,227,.35); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.07); box-shadow: 0 0 0 4px rgba(217,183,126,.15); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } }
.status { min-height: 1.4em; margin-top: 1rem; font-weight: 600; }
.status.err { color: #FF8A99; } .status.ok { color: #A6E3B8; }

/* =========================================================
   CINEMATIC HERO
   ========================================================= */
.hero { position: relative; min-height: 100vh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero .bg { position: absolute; inset: -6%; z-index: -3; will-change: transform; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 55%; filter: saturate(1.05) contrast(1.05); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, rgba(14,10,12,.95) 0%, rgba(14,10,12,.72) 38%, rgba(14,10,12,.15) 70%, rgba(14,10,12,.35) 100%),
  linear-gradient(0deg, var(--night) 0%, rgba(14,10,12,0) 40%); }
.hero .sweep { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(241,221,177,.16) 48%, rgba(241,221,177,0) 60%); background-size: 250% 100%; animation: sweep 9s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes sweep { 0% { background-position: 120% 0; } 60%, 100% { background-position: -60% 0; } }
@media (prefers-reduced-motion: reduce) { .hero .sweep { animation: none; opacity: 0; } }
.hero .wrap { width: 100%; padding-top: 140px; padding-bottom: clamp(3rem, 7vh, 5.5rem); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 2rem; align-items: end; }
.hero h1 { font-size: clamp(3rem, 1.5rem + 4.6vw, 6.6rem); font-weight: 500; max-width: 14ch; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.hero h1 .w > span { display: inline-block; transform: translateY(110%); animation: up 1.2s var(--ease) forwards; }
@keyframes up { to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero h1 .w > span { animation: none; transform: none; } }
.hero .lede { color: rgba(244,237,227,.85); margin: 1.75rem 0 2.25rem; }
.hero .acts { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero .fade { opacity: 0; animation: fade 1.2s .7s var(--ease) forwards; }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero .fade { animation: none; opacity: 1; } }
.now { padding: 1.5rem 1.6rem; display: grid; gap: 1rem; justify-self: end; width: min(360px, 100%); }
.now .row { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.now .row:last-child { border-bottom: 0; padding-bottom: 0; }
.now span { font-size: .82rem; color: var(--muted); }
.now b { font: 600 1.35rem var(--serif); color: var(--cream); }
.now .live { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; color: #A6E3B8; }
.now .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5BD18A; box-shadow: 0 0 0 4px rgba(91,209,138,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(91,209,138,0); } }
.scroll-cue { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); opacity: .7; }
.scroll-cue::after { content: ""; position: absolute; left: -2px; top: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-2); animation: drop 2.2s infinite var(--ease); }
@keyframes drop { 0% { top: 0; opacity: 1; } 80% { top: 48px; opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .now { justify-self: start; } .scroll-cue { display: none; } }

/* Marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 1.4rem 0; background: var(--night-2); }
.marquee .track { display: flex; gap: 3.5rem; width: max-content; animation: marq 46s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { font: italic 500 clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem) var(--serif); color: var(--cream); white-space: nowrap; display: inline-flex; align-items: center; gap: 3.5rem; }
.marquee span::after { content: ""; width: 10px; height: 10px; transform: rotate(45deg); border: 1px solid var(--gold); }
.marquee span b { font-style: normal; font-weight: 600; color: var(--gold); margin: 0 .5rem; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

/* Intro statement + figures */
.intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: end; }
.intro p.big { font: 500 clamp(2rem, 1.4rem + 2.2vw, 3.4rem)/1.15 var(--serif); color: var(--cream); margin: 0; }
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.figs div { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.figs div:nth-child(odd) { padding-right: 1.5rem; border-right: 1px solid var(--line); }
.figs div:nth-child(even) { padding-left: 1.5rem; }
.figs b { display: block; font: 500 clamp(2.6rem, 2rem + 2vw, 3.8rem)/1 var(--serif); color: var(--gold-2); }
.figs span { font-size: .92rem; color: var(--muted); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* 3D tilt cards */
.tilts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; perspective: 1400px; }
.tilt { position: relative; min-height: 540px; border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--cream); display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), box-shadow .5s; box-shadow: 0 30px 60px -40px rgba(0,0,0,.9); isolation: isolate; border: 1px solid var(--line); }
.tilt:hover { box-shadow: 0 50px 90px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(217,183,126,.35); }
.tilt .media { position: absolute; inset: 0; z-index: -2; transition: transform 1.2s var(--ease); }
.tilt:hover .media { transform: scale(1.06); }
.tilt .media img { width: 100%; height: 100%; object-fit: cover; }
.tilt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,10,12,0) 30%, rgba(14,10,12,.92) 100%); }
.tilt::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 0%), rgba(241,221,177,.18), transparent 45%); opacity: 0; transition: opacity .4s; }
.tilt:hover::after { opacity: 1; }
.tilt .num { position: absolute; top: 1.6rem; right: 1.8rem; font: italic 500 1.1rem var(--serif); color: var(--gold); }
.tilt h3 { font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3.2rem); margin-bottom: .7rem; }
.tilt p { color: rgba(244,237,227,.8); max-width: 34ch; }
.tilt .more { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: .6rem; color: var(--gold); font-weight: 600; }
.art { display: grid; place-items: start center; padding-top: 12%; }
.art-flat { background: radial-gradient(120% 90% at 70% 10%, #7A1222, #2B070C 70%); }
.art-step { background: radial-gradient(120% 90% at 30% 10%, #3B2A22, #120C0B 70%); }
.art svg { width: 86%; }
@media (max-width: 960px) { .tilts { grid-template-columns: 1fr; } .tilt { min-height: 440px; } }

/* Board (restyled) */
.board-sec { background: radial-gradient(80% 60% at 50% 0%, rgba(200,16,46,.18), transparent 70%), var(--night); }
.board { margin: 0 auto; width: max-content; max-width: 100%; background: linear-gradient(180deg, #19120F, #0D0909); color: var(--cream); padding: clamp(1rem, 2.4vw, 2rem); border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 60px 120px -50px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.05); --cw: clamp(15px, 2.2vw, 34px); --chh: calc(var(--cw) * 1.5); }
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; font: 600 .8rem var(--sans); color: var(--muted); letter-spacing: .1em; }
.board-top b { color: var(--gold-2); font-weight: 700; }
.board-cols, .brow { display: grid; grid-template-columns: repeat(var(--n), var(--cw)); gap: 3px; }
.board-cols { margin-bottom: .5rem; font: 600 .66rem var(--sans); color: var(--gold-3); letter-spacing: .1em; }
.board-cols span { white-space: nowrap; }
.brows { display: grid; gap: 6px; }
.cell { position: relative; width: var(--cw); height: var(--chh); background: #1E1715; border-radius: 3px; perspective: 300px; font: 700 calc(var(--cw) * .9) var(--mono); color: var(--cream); }
.cell::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.75); z-index: 5; }
.cell > span { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: #1E1715; backface-visibility: hidden; }
.cell > span i { display: block; height: var(--chh); line-height: var(--chh); text-align: center; font-style: normal; }
.cell .t, .cell .ft { top: 0; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #2A201D, #1E1715); }
.cell .b, .cell .fb { bottom: 0; border-radius: 0 0 3px 3px; }
.cell .b i, .cell .fb i { margin-top: calc(var(--chh) / -2); }
.cell .ft { transform-origin: 50% 100%; z-index: 3; }
.cell .fb { transform-origin: 50% 0%; z-index: 3; transform: rotateX(90deg); background: #191311; }
.cell.go .ft { animation: flapTop 80ms ease-in forwards; }
.cell.go .fb { animation: flapBottom 80ms 80ms ease-out forwards; }
@keyframes flapTop { to { transform: rotateX(-90deg); } }
@keyframes flapBottom { from { transform: rotateX(90deg); } to { transform: rotateX(0); } }
.cell.amber { color: var(--gold); }
.board-foot { margin-top: 1rem; font-size: .82rem; color: var(--muted); }
@media (max-width: 640px) { .board { --cw: calc((100vw - 2 * var(--g) - 2rem - 26 * 3px) / 27); } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 1.2rem; }
.tile { border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--night-3), var(--night-2)); padding: 1.8rem; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.tile.big { grid-column: span 2; grid-row: span 2; padding: 0; }
.tile.big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transition: transform 1.4s var(--ease); }
.tile.big:hover img { transform: scale(1.05); }
.tile.big .cap { position: relative; margin-top: auto; padding: 2rem; background: linear-gradient(0deg, rgba(14,10,12,.92), transparent); }
.tile.big h3 { font-size: var(--t3); }
.tile.wide { grid-column: span 2; }
.tile.red { background: radial-gradient(120% 120% at 100% 0%, #8E1426, var(--oxblood) 60%); border-color: rgba(241,221,177,.25); }
.tile h3 { font-size: 1.9rem; }
.tile small { color: var(--muted); font-size: .9rem; }
.tile .numeral { font: 500 clamp(4rem, 3rem + 3vw, 6rem)/.9 var(--serif); color: var(--gold-2); }
.tile .ids { display: grid; gap: .3rem; }
.tile .ids b { font: 600 1.6rem var(--serif); color: var(--cream); }
.tile .ids span { color: var(--muted); font-size: .85rem; margin-right: .4rem; }
.shields { display: flex; gap: .8rem; }
.shields svg { width: 54px; height: 58px; }
@media (max-width: 1000px) { .bento { grid-template-columns: 1fr 1fr; } .tile.big { grid-column: span 2; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; grid-auto-rows: minmax(200px, auto); } .tile.big, .tile.wide { grid-column: span 1; } .tile.big { min-height: 420px; } }

/* Split with photo */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.split .ph { position: relative; overflow: hidden; }
.split .ph img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.split .tx { padding: clamp(2.5rem, 6vw, 6rem); display: flex; flex-direction: column; justify-content: center; }
.split ul { list-style: none; padding: 0; margin: 1.75rem 0 2.25rem; display: grid; gap: .9rem; }
.split li { display: flex; gap: 1rem; align-items: baseline; }
.split li::before { content: ""; width: 9px; height: 9px; transform: rotate(45deg) translateY(-2px); border: 1px solid var(--gold); flex-shrink: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .ph { min-height: 340px; } }

/* FAQ */
.faq { max-width: 980px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 2rem; align-items: center; padding: 1.8rem 0; font: 500 clamp(1.5rem, 1.2rem + 1vw, 2.1rem)/1.2 var(--serif); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-2); }
.faq summary i { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .4s var(--ease), border-color .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: var(--gold); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] summary i { transform: rotate(180deg); border-color: var(--gold); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq .ans { padding: 0 4rem 2rem 0; color: var(--muted); max-width: 70ch; }

/* =========================================================
   INNER PAGES
   ========================================================= */
.ph-hero { position: relative; min-height: 78vh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.ph-hero .bg { position: absolute; inset: -6%; z-index: -2; will-change: transform; }
.ph-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.ph-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--night) 0%, rgba(14,10,12,.5) 45%, rgba(14,10,12,.35) 100%), linear-gradient(90deg, rgba(14,10,12,.85), transparent 70%); }
.ph-hero.plain { min-height: 64vh; background: radial-gradient(90% 90% at 85% 10%, #4A0B15, var(--night) 65%); }
.ph-hero.plain::before { display: none; }
.ph-hero .wrap { width: 100%; padding-top: 150px; padding-bottom: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem 4rem; align-items: end; }
.ph-hero h1 { font-size: var(--t5); font-weight: 500; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs a { color: var(--gold); text-decoration: none; }
@media (max-width: 860px) { .ph-hero .wrap { grid-template-columns: 1fr; } }

/* equipment details */
.equip { display: grid; gap: 1.4rem; }
.eq { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--night-2); }
.eq:nth-child(even) .eq-art { order: 2; }
.eq-art { min-height: 380px; position: relative; display: grid; place-items: center; }
.eq-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eq-art svg { width: 82%; }
.eq-tx { padding: clamp(2rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.eq-tx h3 { font-size: var(--t3); margin-bottom: 1rem; }
.eq-tx ul { margin: 1.25rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.5rem; color: var(--muted); }
.eq-tx li { padding-left: 1.1rem; position: relative; }
.eq-tx li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@media (max-width: 860px) { .eq { grid-template-columns: 1fr; } .eq:nth-child(even) .eq-art { order: 0; } .eq-art { min-height: 260px; } .eq-tx ul { grid-template-columns: 1fr; } }

/* sticky process */
.proc { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 7rem); }
.proc-l { position: sticky; top: 120px; align-self: start; }
.rail { margin-top: 2.5rem; height: 260px; width: 2px; background: var(--line); position: relative; }
.rail i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(var(--gold-2), var(--cab)); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 3rem 0 3rem 5.5rem; position: relative; border-top: 1px solid var(--line); opacity: .35; transition: opacity .6s var(--ease); }
.steps li.on { opacity: 1; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 2.9rem; font: italic 500 2.8rem/1 var(--serif); color: var(--gold); }
.steps h3 { font-size: 2.2rem; margin-bottom: .6rem; }
.steps p { color: var(--muted); max-width: 46ch; }
@media (max-width: 860px) { .proc { grid-template-columns: 1fr; } .proc-l { position: static; } .rail { display: none; } .steps li { opacity: 1; } }

/* requirement cards */
.reqs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.req { padding: 2rem; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--night-3), var(--night-2)); transition: border-color .3s, transform .4s var(--ease); }
.req:hover { border-color: rgba(217,183,126,.45); transform: translateY(-4px); }
.req svg { width: 44px; height: 44px; margin-bottom: 1.5rem; }
.req h3 { font-size: 1.9rem; margin-bottom: .5rem; }
.req p { color: var(--muted); }
@media (max-width: 900px) { .reqs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .reqs { grid-template-columns: 1fr; } }

/* reach map */
.reach-wrap { position: relative; border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(70% 70% at 60% 55%, rgba(200,16,46,.16), transparent 70%), linear-gradient(180deg, #120D0C, #0B0809); overflow: hidden; }
.reach { width: 100%; aspect-ratio: 16 / 9; cursor: grab; touch-action: pan-y; }
.reach:active { cursor: grabbing; }
.reach-legend { position: absolute; left: 1.5rem; bottom: 1.25rem; display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .82rem; color: var(--muted); }
.reach-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.reach-legend i { width: 18px; height: 10px; border-radius: 2px; }
.reach-hint { position: absolute; right: 1.5rem; bottom: 1.25rem; font-size: .82rem; color: var(--muted); }
@media (max-width: 700px) { .reach { aspect-ratio: 1 / 1; } .reach-hint { display: none; } .reach-legend { position: static; padding: 0 1.25rem 1.25rem; } }
.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.triad div { padding: 2rem; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--night-3), var(--night-2)); }
.triad svg { width: 60px; height: 64px; margin-bottom: 1.25rem; }
.triad h3 { font-size: 1.9rem; margin-bottom: .5rem; }
.triad p { color: var(--muted); }
@media (max-width: 900px) { .triad { grid-template-columns: 1fr; } }

/* about */
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.portrait { aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; position: relative; background: radial-gradient(100% 80% at 30% 20%, #8E1426, var(--oxblood) 55%, #1B0509); display: grid; place-items: center; border: 1px solid var(--line); }
.portrait span { font: italic 500 clamp(7rem, 5rem + 8vw, 14rem)/1 var(--serif); color: var(--gold-2); letter-spacing: -.03em; text-shadow: 0 20px 60px rgba(0,0,0,.5); }
.portrait small { position: absolute; left: 1.75rem; bottom: 1.5rem; color: var(--gold); font-size: .9rem; }
.pull { font: italic 500 clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem)/1.25 var(--serif); color: var(--cream); margin: 2rem 0 0; padding-left: 1.75rem; border-left: 1px solid var(--gold); }
.record { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.record div { padding: 1.75rem; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.record dt { font-size: .82rem; color: var(--gold); letter-spacing: .08em; margin-bottom: .45rem; }
.record dd { margin: 0; font: 600 1.7rem/1.15 var(--serif); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .record { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .record { grid-template-columns: 1fr; } }

/* quote — one question at a time, dark */
.tf { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; background: radial-gradient(70% 60% at 85% 10%, rgba(200,16,46,.2), transparent 70%), var(--night); padding-top: 88px; }
.tf-bar { height: 2px; background: var(--line); }
.tf-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-2), var(--cab)); transition: width .5s var(--ease); }
.tf-body { display: grid; align-items: center; padding: clamp(2rem, 5vw, 4rem) 0; }
.q { display: none; }
.q.on { display: block; animation: qin .55s var(--ease); }
@keyframes qin { from { opacity: 0; transform: translateY(22px); } }
@media (prefers-reduced-motion: reduce) { .q.on { animation: none; } }
.q .n { font: italic 500 1.2rem var(--serif); color: var(--gold); margin-bottom: .75rem; display: block; }
.q label.ql, .q legend.ql, .q h2.ql { display: block; font: 500 clamp(2.4rem, 1.6rem + 3vw, 4.4rem)/1.04 var(--serif); margin-bottom: 2rem; max-width: 20ch; padding: 0; color: var(--cream); }
.q .help { color: var(--muted); margin: -1rem 0 1.5rem; }
.q input, .q textarea { width: 100%; max-width: 780px; font: 500 clamp(1.3rem, 1rem + 1.2vw, 2rem) var(--sans); border: 0; border-bottom: 1px solid rgba(241,221,177,.4); background: transparent; padding: .6rem 0; color: var(--cream); border-radius: 0; color-scheme: dark; }
.q textarea { min-height: 120px; resize: vertical; font-size: 1.2rem; }
.q input:focus, .q textarea:focus { outline: none; border-bottom-color: var(--gold); }
.q input::placeholder, .q textarea::placeholder { color: rgba(244,237,227,.3); }
.q fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .8rem; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choices span { display: flex; align-items: center; gap: .8rem; padding: 1.05rem 1.5rem; border-radius: 999px; border: 1px solid rgba(241,221,177,.35); background: rgba(255,255,255,.03); font-weight: 600; font-size: 1.1rem; transition: background-color .2s, color .2s, border-color .2s; }
.choices span kbd { font: 600 .78rem var(--mono); border: 1px solid currentColor; border-radius: 4px; padding: .05rem .4rem; opacity: .7; }
.choices input:checked + span { background: var(--gold); color: var(--night); border-color: var(--gold); }
.choices input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.tf-nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; }
.tf-nav .hintk { font-size: .9rem; color: var(--muted); }
.tf-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem var(--g); border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.tf-foot a { color: var(--gold); }
.tf-foot .arrows { display: flex; gap: .45rem; }
.tf-foot .arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--cream); cursor: pointer; font-size: 1.05rem; }
.tf-foot .arrows button:disabled { opacity: .3; cursor: default; }
.tf-foot [data-count] { white-space: nowrap; }
.review { display: grid; grid-template-columns: auto 1fr; gap: .7rem 2.5rem; max-width: 780px; margin-bottom: 2rem; }
.review dt { color: var(--muted); }
.review dd { margin: 0; font-weight: 600; }

/* contact */
.ct { display: grid; grid-template-columns: 1fr 1.05fr; gap: 1.4rem; }
.ct-cards { display: grid; gap: 1.2rem; align-content: start; }
.ct-card { padding: 2rem; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--night-3), var(--night-2)); }
.ct-card.red { background: radial-gradient(120% 120% at 100% 0%, #8E1426, var(--oxblood) 60%); }
.ct-card span { display: block; font-size: .82rem; color: var(--gold); letter-spacing: .08em; margin-bottom: .45rem; }
.ct-card a, .ct-card address { font: 500 clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem)/1.15 var(--serif); text-decoration: none; font-style: normal; word-break: break-word; }
.ct-card a.phone { font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); white-space: nowrap; }
.ct-card a:hover { color: var(--gold-2); }
.ct-map { border-radius: 22px; overflow: hidden; min-height: 300px; position: relative; border: 1px solid var(--line); background: var(--night-2); }
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) sepia(.35) hue-rotate(-20deg) contrast(.95); }
@media (max-width: 900px) { .ct { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .hero::before { background: linear-gradient(0deg, var(--night) 8%, rgba(14,10,12,.82) 50%, rgba(14,10,12,.6) 100%); }
  .hero .bg img { object-position: 62% 50%; }
}
