/* Little Mexico sales deck - Brandcore.io x Little Mexico. Web delivery only. */
@font-face { font-family: "Geist"; src: url("assets/fonts/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/instrument-serif-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("assets/fonts/jetbrains-mono-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --night: #100b09;
  --night-2: #1d1511;
  --night-3: #2a1e18;
  --cream: #f6eddb;
  --paper: #efe4cf;
  --ink: #1d1510;
  --dark-muted: #c4b8a6;     /* >= 7:1 on night */
  --paper-muted: #5a4c40;    /* >= 7:1 on paper */
  --chile: #e0392f;          /* the single accent: chile red */
  --chile-text: #ff7a6e;     /* chile text on night */
  --marigold: #f2b134;       /* glow only, never body copy */
  --cobalt: #1d3f8c;         /* talavera field, from the logo's own dark tone family */
  --gutter: clamp(22px, 3.6vw, 58px);
  --chrome-top: 74px;
  --chrome-bottom: 56px;
  --body: clamp(16px, 0.35vw + 14.5px, 24px);
  --label: clamp(13px, 0.2vw + 11px, 15px);
  --h1: clamp(56px, 7.4vw, 150px);
  --h2: clamp(40px, 3.8vw, 76px);
  --h3: clamp(22px, 1.25vw + 10px, 34px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--night); color: var(--cream); }
body { font-family: var(--sans); font-size: var(--body); line-height: 1.5; overflow: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button, select, input { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
em.serif, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); font-size: var(--label); letter-spacing: .04em; text-transform: uppercase; }
.src { font-family: var(--mono); font-size: var(--label); color: var(--dark-muted); letter-spacing: .02em; }
.paper .src { color: var(--paper-muted); }

/* ---------- Ambient stage ---------- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 74% 46%, rgba(224, 57, 47, .20), transparent 70%),
    radial-gradient(70% 60% at 20% 90%, rgba(29, 63, 140, .32), transparent 70%),
    var(--night);
}

/* ---------- WebGL layer ---------- */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease); }
#gl.is-on { opacity: 1; }
#gl.boom { z-index: 30; }
.seal-fallback { position: fixed; z-index: 1; pointer-events: none; display: none; place-items: center; }
body.no-webgl .seal-fallback { display: grid; }
body.no-webgl #gl, body.reduced-static #gl { display: none; }
.seal-fallback .medal {
  width: min(44vmin, 420px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #2a55ad 0%, var(--cobalt) 58%, #13307a 100%);
  border: clamp(14px, 2.2vmin, 26px) solid var(--cream);
  box-shadow: 0 0 0 2px #c9b99c inset, 0 30px 80px rgba(0, 0, 0, .55);
  display: grid; place-items: center; overflow: hidden;
}
.seal-fallback img { width: 74%; height: auto; }

/* ---------- Chrome ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: rgba(255, 255, 255, .08); z-index: 60; }
.progress span { display: block; height: 100%; width: 0; background: var(--chile); transition: width .6s var(--ease); }
.chrome { position: fixed; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gutter); }
.chrome.top { top: 0; height: var(--chrome-top); background: linear-gradient(180deg, rgba(16, 11, 9, .94), rgba(16, 11, 9, .0)); }
.chrome.bottom { bottom: 0; height: var(--chrome-bottom); background: linear-gradient(0deg, rgba(16, 11, 9, .96), rgba(16, 11, 9, .0)); }
.lockup { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lockup .bc { height: 26px; width: auto; }
.lockup .x { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--marigold); line-height: 1; }
.client-tile { background: var(--cream); border-radius: 10px; padding: 4px 10px; display: inline-flex; align-items: center; }
.client-tile img { height: 40px; width: auto; }
.chrome-label { font-family: var(--mono); font-size: var(--label); color: var(--dark-muted); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.chrome-right { display: flex; align-items: center; gap: 12px; }
.counter { font-family: var(--mono); font-size: var(--label); color: var(--cream); letter-spacing: .06em; min-width: 6.5ch; text-align: right; }
.btn {
  appearance: none; border: 1px solid rgba(246, 237, 219, .28); background: rgba(16, 11, 9, .6); color: var(--cream);
  border-radius: 999px; padding: 0 18px; min-height: 44px; min-width: 44px; cursor: pointer;
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .01em;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { background: rgba(246, 237, 219, .12); border-color: rgba(246, 237, 219, .5); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--chile); border-color: var(--chile); color: #fff; }
.btn.primary:hover { background: #c92e25; border-color: #c92e25; }
.btn.ghost-paper { background: transparent; color: var(--ink); border-color: rgba(29, 21, 16, .35); }
.btn.ghost-paper:hover { background: rgba(29, 21, 16, .06); }
.btn svg { width: 1em; height: 1em; }
.btn[disabled] { opacity: .45; cursor: default; }
.bottom-left { font-family: var(--mono); font-size: var(--label); color: var(--dark-muted); letter-spacing: .03em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-controls { display: flex; gap: 10px; }
.idx-btn { font-family: var(--mono); font-size: var(--label); }

/* ---------- Slides ---------- */
#deck { position: fixed; inset: 0; z-index: 2; }
.slide {
  position: absolute; inset: 0; padding: var(--chrome-top) var(--gutter) var(--chrome-bottom);
  display: flex; flex-direction: column;
  overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: rgba(120, 105, 88, .5) transparent;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility .5s;
  background: transparent;
}
.slide.paper { background: var(--paper); color: var(--ink); }
.slide.paper .btn { color: var(--ink); }
.slide.active { opacity: 1; visibility: visible; transform: none; }
.slide.is-leaving { opacity: 0; transform: translateY(-10px); }
/* Whole composition centers between the fixed chrome when it fits; when too tall,
   the auto margins collapse to zero and content flows from the natural top, fully reachable by scroll.
   flex:none keeps the wrapper content-sized: a compressed wrapper would silently paint its rows under the fixed footer. */
.slide-inner { width: 100%; max-width: 1880px; margin: auto; flex: none; min-height: 0; display: grid; gap: clamp(24px, 3vw, 56px); align-items: center; }
.slide-inner.split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.slide-inner.stack { grid-template-columns: minmax(0, 1fr); }
.kicker { font-family: var(--mono); font-size: var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--chile-text); margin: 0 0 14px; }
.paper .kicker { color: #a2231b; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.045em; line-height: .98; text-wrap: balance; }
h1 { font-size: var(--h1); line-height: .9; letter-spacing: -0.06em; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); letter-spacing: -0.02em; line-height: 1.12; font-weight: 600; }
.lead { font-size: var(--body); color: var(--dark-muted); max-width: 58ch; margin: 18px 0 0; }
.paper .lead { color: var(--paper-muted); }
.card { background: var(--night-2); border: 1px solid rgba(246, 237, 219, .12); border-radius: 18px; padding: clamp(18px, 1.6vw, 28px); min-width: 0; }
.paper .card { background: #f8f1e1; border-color: rgba(29, 21, 16, .14); }
.card p { margin: 10px 0 0; color: var(--dark-muted); font-size: var(--body); }
.paper .card p { color: var(--paper-muted); }
.card .src { display: block; margin-top: 14px; }
.grid-2, .grid-3, .grid-6 { display: grid; gap: clamp(14px, 1.4vw, 22px); min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sev { display: inline-flex; align-items: center; font-family: var(--mono); font-size: var(--label); letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; border: 1px solid currentColor; text-transform: uppercase; }
.sev.high { color: #ff8a80; }
.sev.med { color: var(--marigold); }
.sev.low { color: var(--dark-muted); }
.paper .sev.high { color: #a2231b; }
.paper .sev.med { color: #7a5200; }
.paper .sev.low { color: var(--paper-muted); }
.hairline { height: 1px; background: rgba(246, 237, 219, .16); margin: 18px 0; }
.paper .hairline { background: rgba(29, 21, 16, .16); }
ul.tidy { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
ul.tidy li { position: relative; padding-left: 22px; color: var(--dark-muted); font-size: var(--body); }
ul.tidy li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--chile); }
.paper ul.tidy li { color: var(--paper-muted); }
.paper ul.tidy li strong { color: var(--ink); }
ul.tidy strong { color: var(--cream); font-weight: 600; }
.paper ul.tidy strong { color: var(--ink); }

/* cover */
.slide.cover { padding-bottom: calc(var(--chrome-bottom) + clamp(18px, 4vh, 56px)); }
.slide.cover .slide-inner { grid-template-columns: minmax(0, 1fr); max-width: 1880px; align-items: end; margin-top: auto; margin-bottom: 0; }
.cover-copy { max-width: min(56vw, 980px); }
.cover-collab { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(16, 11, 9, .72); border: 1px solid rgba(246, 237, 219, .18); font-family: var(--mono); font-size: var(--label); color: var(--dark-muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 26px; }
.cover-collab img { height: 22px; width: auto; }
.cover h1 .line2 { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--chile-text); font-size: 1.04em; margin-top: .06em; }
.ticker { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-family: var(--mono); font-size: var(--label); color: var(--dark-muted); letter-spacing: .04em; text-transform: uppercase; }
.ticker span { display: inline-flex; align-items: center; gap: 10px; }
.ticker span::before { content: ""; width: 7px; height: 7px; background: var(--marigold); border-radius: 50%; }
.cover-meta { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: end; justify-content: space-between; margin-top: clamp(18px, 3vh, 34px); }
.cover-meta .who { font-size: var(--body); color: var(--dark-muted); max-width: 46ch; }
.cover-meta .who strong { color: var(--cream); font-weight: 600; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; color: var(--dark-muted); font-family: var(--mono); font-size: var(--label); letter-spacing: .08em; text-transform: uppercase; }
.scroll-cue svg { width: 18px; height: 18px; color: var(--marigold); animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.cover-hint { position: absolute; right: var(--gutter); bottom: calc(var(--chrome-bottom) + 14px); font-family: var(--mono); font-size: var(--label); color: var(--dark-muted); letter-spacing: .04em; text-transform: uppercase; pointer-events: none; }

/* audit cards */
.audit-cards .card h3 { font-size: clamp(20px, 1vw + 10px, 28px); }
.audit-cards .card p { font-size: var(--body); }
/* Slide 02 barely exceeds the allocated stage at large desktop; slightly tighter heading/card rhythm
   (no font or scale change) lets the whole composition fit between the fixed chrome and truly center. */
#s2 .slide-inner { gap: clamp(22px, 2.4vw, 34px); }
#s2 .audit-cards { gap: clamp(12px, 1.1vw, 16px); }

/* gap */
.gap-photo { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid rgba(246,237,219,.12); aspect-ratio: 16 / 10; background: var(--night-3); }
.gap-photo img { width: 100%; height: 100%; object-fit: cover; }
.gap-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; background: linear-gradient(0deg, rgba(16,11,9,.92), rgba(16,11,9,0)); color: var(--cream); font-size: clamp(14px, .3vw + 12px, 17px); }
.paths { display: grid; gap: 16px; }
.path { border-radius: 18px; padding: clamp(16px, 1.6vw, 26px); border: 1px solid rgba(246,237,219,.14); background: var(--night-2); }
.path.after { border-color: rgba(224, 57, 47, .6); background: #241714; }
.path ol { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: step; }
.path ol li { counter-increment: step; display: grid; grid-template-columns: 2.1em 1fr; gap: 6px; color: var(--dark-muted); font-size: var(--body); }
.path ol li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: var(--label); color: var(--marigold); padding-top: .3em; }
.path ol li b { color: var(--cream); font-weight: 600; }
.illus { font-family: var(--mono); font-size: var(--label); color: var(--dark-muted); letter-spacing: .03em; }

/* flagship - browser + phone */
.flagship-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, 0.3fr); gap: clamp(14px, 1.6vw, 26px); align-items: center; min-width: 0; }
.browser { background: #f7f0e0; color: var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 36px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(246,237,219,.12); min-width: 0; }
.browser-bar { height: 40px; background: #e7dcc5; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid rgba(29,21,16,.12); }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #c9bba1; display: block; }
.browser-bar .url { flex: 1; min-width: 0; height: 26px; border-radius: 8px; background: #faf5ea; display: flex; align-items: center; padding: 0 10px; font-family: var(--mono); font-size: 12.5px; color: #4f4337; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: #1d1510; color: #f6eddb; }
.site-nav .brandmark { display: flex; align-items: center; gap: 10px; min-width: 0; }
.site-nav .brandmark img { height: 34px; width: auto; background: var(--cream); border-radius: 8px; padding: 2px 6px; }
.site-nav .tabs { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.tab { appearance: none; background: transparent; border: 0; color: #d9cdb8; padding: 8px 12px; min-height: 40px; border-radius: 999px; cursor: pointer; font-size: 15px; font-weight: 600; }
.tab[aria-selected="true"] { background: #f6eddb; color: #1d1510; }
.tab:hover { color: #fff; }
.site-panel { padding: clamp(14px, 1.5vw, 22px); min-height: 0; max-height: min(56vh, 520px); overflow: auto; }
.hero-mock { position: relative; border-radius: 14px; overflow: hidden; min-height: 210px; display: flex; align-items: flex-end; }
.hero-mock img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero-mock::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,11,9,.88) 0%, rgba(16,11,9,.5) 55%, rgba(16,11,9,.12) 100%); }
.hero-mock .copy { position: relative; z-index: 1; padding: clamp(16px, 2vw, 26px); color: #f6eddb; max-width: 30ch; }
.hero-mock h4 { margin: 0; font-size: clamp(24px, 2.2vw, 36px); letter-spacing: -0.035em; line-height: 1.02; font-weight: 600; }
.hero-mock p { margin: 8px 0 14px; font-size: clamp(15px, .5vw + 11px, 18px); color: #eadfcd; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.mock-btn { appearance: none; border: 0; border-radius: 999px; min-height: 44px; padding: 0 18px; font-weight: 700; font-size: 15px; cursor: pointer; background: #e0392f; color: #fff; }
.mock-btn.alt { background: #f6eddb; color: #1d1510; }
.mock-btn:hover { filter: brightness(1.06); }
.mock-section-title { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #6b5a4b; margin: 18px 0 8px; }
.locs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.locs div { background: #fff9ec; border: 1px solid rgba(29,21,16,.12); border-radius: 12px; padding: 10px 12px; }
.locs b { display: block; font-size: 15px; color: #1d1510; }
.locs span { display: block; font-size: 14px; color: #4f4337; }
.hours { font-size: 15px; color: #3f342a; background: #fff9ec; border-left: 4px solid #e0392f; padding: 10px 12px; border-radius: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.chip { appearance: none; border: 1px solid rgba(29,21,16,.25); background: #fff9ec; border-radius: 999px; min-height: 40px; padding: 0 14px; font-size: 15px; font-weight: 600; cursor: pointer; color: #1d1510; }
.chip[aria-pressed="true"] { background: #1d1510; color: #f6eddb; border-color: #1d1510; }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dish { appearance: none; text-align: left; background: #fff9ec; border: 1px solid rgba(29,21,16,.12); border-radius: 12px; padding: 10px 12px; min-height: 52px; cursor: pointer; color: #1d1510; font-size: 15px; font-weight: 600; line-height: 1.25; }
.dish small { display: block; font-weight: 500; color: #5a4c40; font-size: 13px; margin-top: 2px; }
.dish[aria-pressed="true"] { border-color: #e0392f; box-shadow: inset 0 0 0 2px #e0392f; }
.dish-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; background: #fff9ec; border-radius: 14px; border: 1px solid rgba(29,21,16,.12); padding: 12px; align-items: center; }
.dish-detail .photo { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: #e7dcc5; display: grid; place-items: center; }
.dish-detail .photo img { width: 100%; height: 100%; object-fit: cover; }
.dish-detail .photo .none { font-size: 14px; color: #5a4c40; padding: 12px; text-align: center; }
.dish-detail h4 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }
.dish-detail p { margin: 6px 0 0; font-size: 15px; color: #4f4337; }
.booking { display: grid; gap: 10px; }
.booking label { font-size: 15px; font-weight: 600; color: #1d1510; display: grid; gap: 6px; }
.booking input, .booking select { min-height: 44px; border-radius: 10px; border: 1px solid rgba(29,21,16,.3); background: #fff; padding: 0 12px; font-size: 16px; color: #1d1510; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot { appearance: none; min-height: 44px; border-radius: 10px; border: 1px solid rgba(29,21,16,.28); background: #fff; font-size: 15px; font-weight: 600; cursor: pointer; color: #1d1510; }
.slot[aria-pressed="true"] { background: #1d1510; color: #f6eddb; }
.slot:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.mock-note { font-size: 14px; color: #5a4c40; margin: 6px 0 0; }
.phone { justify-self: center; width: clamp(170px, 18vw, 230px); aspect-ratio: 9 / 18.5; border-radius: 34px; background: #0c0907; padding: 12px; box-shadow: 0 34px 80px rgba(0,0,0,.6), inset 0 0 0 2px #2c211b; }
.phone .screen { width: 100%; height: 100%; border-radius: 24px; overflow: hidden; background: #f7f0e0; color: #1d1510; display: flex; flex-direction: column; }
.phone .p-top { background: #1d1510; color: #f6eddb; padding: 14px 12px; font-size: 14px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.phone .p-block { padding: 12px; display: grid; gap: 8px; }
.phone .p-block .pill { background: #e0392f; color: #fff; text-align: center; border-radius: 999px; padding: 10px; font-size: 14px; font-weight: 700; }
.phone .p-block .pill.alt { background: #1d1510; }
.phone .p-block p { margin: 0; font-size: 13px; color: #4f4337; line-height: 1.35; }
.mobile-detail { display: none; }
.stage-caption { margin-top: 14px; color: var(--dark-muted); font-size: var(--label); font-family: var(--mono); letter-spacing: .03em; }

/* system pillars */
.pillar h3 { font-size: clamp(22px, 1.1vw + 10px, 30px); }
.pillar .out { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(246,237,219,.14); color: var(--cream); font-size: var(--body); }
.pillar .out b { display: block; font-family: var(--mono); font-size: var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--chile-text); font-weight: 500; margin-bottom: 4px; }
.paper .pillar .out { color: var(--ink); border-top-color: rgba(29,21,16,.16); }
.paper .pillar .out b { color: #a2231b; }

/* proof compare */
.compare { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--night-3); user-select: none; touch-action: pan-y; cursor: ew-resize; --pos: 50%; min-width: 0; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.compare .layer { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(16px, 2vw, 26px); }
.compare .layer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,11,9,.92) 0%, rgba(16,11,9,.45) 55%, rgba(16,11,9,.2) 100%); }
.compare .layer > * { position: relative; }
.compare .after-layer { clip-path: inset(0 0 0 var(--pos)); }
.compare .before-layer { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .layer h4 { margin: 0; font-size: clamp(20px, 1.5vw + 10px, 30px); letter-spacing: -0.03em; line-height: 1.05; font-weight: 600; color: #f6eddb; }
.compare .layer p { margin: 8px 0 0; font-size: clamp(15px, .4vw + 12px, 18px); color: #eadfcd; }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #f6eddb; z-index: 3; box-shadow: 0 0 0 1px rgba(0,0,0,.3); }
.compare .handle svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: #f6eddb; color: #1d1510; }
.paper .contact-lines a, .paper .contact-lines span { color: var(--ink); border-bottom-color: rgba(29,21,16,.3); }
.paper .contact-lines small { color: var(--paper-muted); }
.paper .rep-name { color: var(--ink); }
.paper .rep-role { color: #a2231b; }
.paper .office-foot { color: var(--paper-muted); }
.paper .lead { color: var(--paper-muted); }
.slide.paper .close-line { color: var(--ink); }
.compare .tag { position: absolute; top: 14px; z-index: 4; font-family: var(--mono); font-size: var(--label); background: rgba(16,11,9,.8); color: #f6eddb; padding: 6px 10px; border-radius: 8px; letter-spacing: .05em; text-transform: uppercase; }
.compare .tag.l { left: 14px; } .compare .tag.r { right: 14px; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 5; margin: 0; }
.owner { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; }
.owner img { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; object-position: 50% 30%; }
.owner p { margin: 0; font-size: var(--body); color: var(--dark-muted); }

/* roadmap */
.phase { display: grid; gap: 14px; align-content: start; }
.phase .days { font-family: var(--serif); font-style: italic; font-size: clamp(42px, 3.4vw, 64px); line-height: 1; color: var(--chile-text); letter-spacing: -0.02em; }
.phase h3 { font-size: clamp(22px, 1.2vw + 10px, 32px); }
.phase ul.tidy li { font-size: var(--body); }
.owner-line { color: var(--cream); font-size: var(--label); font-family: var(--mono); letter-spacing: .03em; text-transform: uppercase; }
.owner-line b { color: var(--marigold); font-weight: 500; }
.supply { margin-top: 16px; }

/* engagement */
.tier { display: grid; gap: 12px; align-content: start; position: relative; }
.tier.rec { border-color: rgba(224,57,47,.75); background: #241714; }
.tier .flag { position: absolute; top: -12px; left: 22px; background: var(--chile); color: #fff; font-family: var(--mono); font-size: var(--label); letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.tier h3 { font-size: clamp(26px, 1.6vw + 12px, 40px); }
.tier .scope { color: var(--dark-muted); font-size: var(--body); }
.tier ul.tidy li { font-size: var(--body); }
.fixed-note { margin-top: 18px; color: var(--dark-muted); font-size: var(--body); }
.fixed-note strong { color: var(--cream); font-weight: 600; }

/* close */
.close-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(22px, 3vw, 54px); align-items: center; }
.rep-card { display: grid; grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr); gap: clamp(18px, 2vw, 30px); align-items: center; }
.rep-photo { width: 100%; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: #c9b99c; box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.rep-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.rep-name { font-size: clamp(30px, 2.2vw + 12px, 50px); letter-spacing: -0.04em; line-height: 1; margin: 0; font-weight: 600; }
.rep-role { font-family: var(--mono); font-size: var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--chile-text); margin: 8px 0 14px; }
.contact-lines { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.contact-lines a, .contact-lines span { font-size: var(--body); color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(246,237,219,.25); }
.contact-lines small { display: block; font-family: var(--mono); font-size: var(--label); color: var(--dark-muted); letter-spacing: .05em; text-transform: uppercase; }
.scheduler { display: grid; gap: 12px; background: var(--night-2); border: 1px solid rgba(246,237,219,.14); border-radius: 18px; padding: clamp(18px, 1.8vw, 28px); }
.scheduler label { display: grid; gap: 6px; font-size: var(--label); color: var(--dark-muted); font-family: var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.scheduler input, .scheduler select, .scheduler textarea { min-height: 46px; border-radius: 10px; border: 1px solid rgba(246,237,219,.3); background: #17110e; color: var(--cream); padding: 0 12px; font-family: var(--sans); font-size: 16px; text-transform: none; letter-spacing: 0; }
.scheduler textarea { min-height: 72px; padding: 10px 12px; resize: vertical; }
.scheduler .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.scheduler .actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.scheduler .note { font-size: 15px; color: var(--dark-muted); margin: 0; }
.scheduler .status { font-size: 15px; color: var(--marigold); min-height: 1.4em; margin: 0; }
.close-line { margin-top: clamp(16px, 2.6vh, 30px); font-size: clamp(26px, 1.6vw + 12px, 42px); letter-spacing: -0.03em; line-height: 1.1; font-weight: 600; }
.close-line em { font-family: var(--serif); font-weight: 400; color: var(--chile-text); }
.office-foot { margin-top: 14px; font-family: var(--mono); font-size: var(--label); color: var(--dark-muted); letter-spacing: .03em; }

/* transitions */
.seam { position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 25; pointer-events: none; opacity: 0; }
.seam::before { content: ""; position: absolute; top: 0; bottom: 0; width: 42%; left: -45%; background: linear-gradient(90deg, transparent, rgba(224, 57, 47, .22) 45%, rgba(242, 177, 52, .5) 50%, rgba(224, 57, 47, .22) 55%, transparent); }
.seam.run { opacity: 1; }
.seam.run::before { animation: seam 760ms var(--ease) forwards; }
.seam.rev::before { animation-name: seam-rev; }
@keyframes seam { from { left: -45%; } to { left: 110%; } }
@keyframes seam-rev { from { left: 110%; } to { left: -45%; } }
.slide.boom-in { animation: boom-in 620ms var(--ease) both; }
@keyframes boom-in { from { opacity: 0; transform: translateY(26px) scale(.985); } to { opacity: 1; transform: none; } }
.slide.step-in { animation: step-in 480ms var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateX(var(--dir, 26px)); } to { opacity: 1; transform: none; } }
.shake { animation: shake 420ms linear; }
@keyframes shake { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-6px, 4px); } 40% { transform: translate(6px, -4px); } 60% { transform: translate(-4px, -2px); } 80% { transform: translate(3px, 3px); } }

/* index overlay */
.index-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(16,11,9,.97); display: none; padding: calc(var(--chrome-top) + 8px) var(--gutter) 40px; overflow: auto; }
.index-overlay.open { display: block; }
.index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1400px; margin: 0 auto; }
.index-item { appearance: none; text-align: left; border-radius: 16px; background: var(--night-2); border: 1px solid rgba(246,237,219,.16); color: var(--cream); padding: 18px; cursor: pointer; min-height: 96px; }
.index-item[aria-current="true"] { border-color: var(--chile); }
.index-item b { display: block; font-size: 22px; letter-spacing: -0.02em; font-weight: 600; margin-top: 6px; }
.index-item span { font-family: var(--mono); font-size: var(--label); color: var(--dark-muted); text-transform: uppercase; letter-spacing: .06em; }
.index-close { position: fixed; top: 14px; right: var(--gutter); z-index: 71; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .slide-inner.split, .flagship-stage, .close-grid { grid-template-columns: minmax(0, 1fr); }
  .phone { display: none; }
  .grid-3, .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cover-copy { max-width: 100%; }
  .flagship-stage .phone-detail-hint { display: none; }
}
@media (max-width: 860px) {
  :root { --chrome-top: 60px; --chrome-bottom: 64px; }
  body { overflow: hidden; }
  .chrome.top { padding: 0 16px; }
  .chrome-label { display: none; }
  .lockup .bc { height: 20px; }
  .client-tile img { height: 30px; }
  .counter { min-width: 0; font-size: 13px; }
  .idx-btn { display: none; }
  .nav-controls .btn { min-width: 48px; }
  .bottom-left { display: none; }
  .chrome.bottom { justify-content: center; padding: 0 12px; background: var(--night); border-top: 1px solid rgba(246,237,219,.12); }
  .chrome.bottom .nav-controls { width: 100%; justify-content: space-between; }
  .slide { padding: calc(var(--chrome-top) + 8px) 18px calc(var(--chrome-bottom) + 10px); }
  .slide.cover { padding-bottom: calc(var(--chrome-bottom) + 12px); }
  .slide.paper { background: var(--paper); }
  .grid-2, .grid-3, .grid-6, .locs, .menu-grid, .slots { grid-template-columns: minmax(0, 1fr); }
  .path ol li { grid-template-columns: 2.1em 1fr; }
  .flagship-stage { grid-template-columns: minmax(0, 1fr); }
  .browser { display: none; }
  .mobile-detail { display: grid; gap: 12px; }
  .scheduler .row2 { grid-template-columns: minmax(0, 1fr); }
  .owner { grid-template-columns: 76px minmax(0, 1fr); }
  .owner img { width: 76px; height: 76px; }
  .rep-card { grid-template-columns: minmax(0, 1fr); }
  .rep-photo { aspect-ratio: 4 / 4.2; max-width: 360px; }
  .compare { aspect-ratio: 4 / 5; }
  .cover h1 { font-size: clamp(50px, 15vw, 80px); }
  .cover-hint { display: none; }
  .gap-photo { aspect-ratio: 4 / 3; }
  .index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-strip { display: grid; gap: 6px; }
}
@media (max-width: 480px) {
  .lockup .x { font-size: 20px; }
  .client-tile { padding: 2px 6px; }
  .client-tile img { height: 26px; }
  .btn { padding: 0 14px; font-size: 14px; }
  .index-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .progress span, .seam, .slide.boom-in, .slide.step-in, .shake, .scroll-cue svg { animation: none !important; transition: none !important; }
  .slide.is-leaving { transform: none; }
}
