/* Bull's And Trading Cafe — design system. Midnight trading floor x members' club.
   Fonts are self-hosted (see fonts.css, imported below). */
@import url('/assets/css/fonts.css');

:root {
  --bg: #0a0907; --bg-2: #100e0b; --panel: #16130f; --panel-2: #1d1914; --panel-3: #251f18;
  --line: rgba(214, 179, 112, .18); --line-2: rgba(243, 236, 223, .09);
  --gold: #d6b06a; --gold-hi: #f1d9a0; --gold-lo: #9a7a40;
  --cream: #f4ede0; --text: #e8e1d3; --muted: #aaa190; --dim: #8d8574;
  --bull: #4cc093; --bear: #e7766a;
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --wrap: 1240px; --gut: clamp(16px, 4.2vw, 44px); --r: 20px; --r-s: 12px;
  --ease: cubic-bezier(.2, .75, .1, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 64px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.65 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: #120f0a; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: #120f0a; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.display { font-family: var(--serif); font-weight: 500; line-height: .98; letter-spacing: -.015em; color: var(--cream); font-size: clamp(2.9rem, 9.6vw, 7.4rem); }
.display em, .h2 em, .h3 em { font-style: italic; color: var(--gold-hi); }
.h2 { font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -.01em; color: var(--cream); font-size: clamp(2.3rem, 6.2vw, 4.6rem); }
.h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; color: var(--cream); font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.lede { font-size: clamp(1.06rem, 1.7vw, 1.28rem); line-height: 1.6; color: var(--muted); max-width: 40ch; }
.kicker { display: inline-flex; align-items: center; gap: .7em; font: 500 .74rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.kicker--plain::before { display: none; }
.mono { font-family: var(--mono); }
.fine { font-size: .82rem; color: var(--dim); line-height: 1.55; }
.gold { color: var(--gold); }
.sample { display: inline-flex; align-items: center; gap: .4em; font: 500 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line); border-radius: 99px; padding: .45em .8em; }

/* ---------- buttons ---------- */
.btn {
  --bh: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--bh); padding: 0 1.6em; border-radius: 99px; font: 600 .95rem/1 var(--sans); letter-spacing: .01em;
  transition: transform .5s var(--ease-out), background-color .3s, color .3s, border-color .3s, box-shadow .5s var(--ease-out);
  isolation: isolate; overflow: hidden; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .5s var(--ease-out); }
.btn:hover svg.arr { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--gold { background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, #c49a52); color: #15100a; box-shadow: 0 10px 30px -12px rgba(214, 176, 106, .55), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease-out); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--gold:hover { box-shadow: 0 16px 40px -14px rgba(214, 176, 106, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--ghost { border: 1px solid rgba(243, 236, 223, .26); color: var(--cream); background: rgba(10, 9, 7, .25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn--line { border: 1px solid var(--line); color: var(--gold-hi); }
.btn--line:hover { background: rgba(214, 176, 106, .08); border-color: var(--gold); }
.btn--sm { --bh: 42px; padding: 0 1.15em; font-size: .86rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; color: var(--gold-hi); font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color .3s, gap .4s var(--ease-out); }
.link-arrow:hover { border-color: var(--gold); gap: .8em; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- preview line + header ---------- */
.preview-line { position: relative; z-index: 60; background: #050403; border-bottom: 1px solid var(--line-2); color: var(--muted); font: 500 .7rem/1.4 var(--mono); letter-spacing: .08em; text-align: center; padding: 7px 16px; }
.preview-line b { color: var(--gold); font-weight: 500; }
.header { position: sticky; top: 0; z-index: 50; height: var(--header); transition: background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.header.is-solid, .header--solid { background: rgba(10, 9, 7, .985); border-bottom-color: var(--line-2); }
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); }
.brand__mark { width: 40px; height: 40px; color: var(--gold); flex: none; }
.brand__txt { display: grid; line-height: 1; }
.brand__name { font: 600 1.28rem/1 var(--serif); letter-spacing: .02em; }
.brand__sub { font: 500 .58rem/1 var(--mono); letter-spacing: .3em; color: var(--gold); margin-top: 5px; text-transform: uppercase; }
.nav { display: none; }
.nav a { position: relative; font-size: .92rem; color: var(--text); padding: 8px 2px; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-hi); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header__cta { display: none; }
.burger { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--cream); }
.burger span { position: relative; width: 18px; height: 1.5px; background: currentColor; transition: background-color .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 45; background: rgba(8, 7, 5, .98); padding: calc(var(--header) + 48px) var(--gut) 32px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; overflow-y: auto; }
.mnav.is-open { opacity: 1; visibility: visible; }
.mnav ol { counter-reset: n; display: grid; gap: 4px; }
.mnav li { counter-increment: n; transform: translateY(18px); opacity: 0; transition: transform .7s var(--ease-out), opacity .7s; }
.mnav.is-open li { transform: none; opacity: 1; }
.mnav.is-open li:nth-child(2) { transition-delay: .04s } .mnav.is-open li:nth-child(3) { transition-delay: .08s } .mnav.is-open li:nth-child(4) { transition-delay: .12s }
.mnav.is-open li:nth-child(5) { transition-delay: .16s } .mnav.is-open li:nth-child(6) { transition-delay: .2s } .mnav.is-open li:nth-child(7) { transition-delay: .24s }
.mnav a { display: flex; align-items: baseline; gap: 16px; font: 500 clamp(2.1rem, 9vw, 3rem)/1.15 var(--serif); color: var(--cream); padding: 4px 0; }
.mnav a::before { content: "0" counter(n); font: 500 .72rem/1 var(--mono); color: var(--gold); letter-spacing: .1em; }
.mnav a[aria-current="page"] { color: var(--gold-hi); font-style: italic; }
.mnav__foot { margin-top: 36px; display: grid; gap: 14px; color: var(--muted); font-size: .9rem; }
body.nav-open { overflow: hidden; }
.header.on-hero:not(.is-solid) { background: linear-gradient(rgba(10, 9, 7, .55), rgba(10, 9, 7, 0)); }

@media (min-width: 1040px) {
  .nav { display: flex; gap: 28px; }
  .header__cta { display: inline-flex; }
  .burger, .mnav { display: none; }
}

/* ---------- intro (cinematic opening) ---------- */
.intro { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: radial-gradient(120% 90% at 50% 40%, #16120c 0%, #070605 70%); }
.has-intro .intro { display: grid; }
.intro.is-out { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-out) .05s; }
.intro__stage { position: relative; width: min(78vw, 360px); aspect-ratio: 1; }
.intro__stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.intro .draw { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro__bull { color: var(--bull); animation: bullIn 1.5s var(--ease-out) forwards; }
.intro__bear { color: var(--bear); animation: bearIn 1.5s var(--ease-out) forwards; }
.intro__bull .draw, .intro__bear .draw { stroke: currentColor; stroke-width: 2.2; animation: draw 1s var(--ease) forwards; }
.intro__mark { color: var(--gold); opacity: 0; transform: scale(.86); animation: markIn 1s var(--ease-out) 1.25s forwards; }
.intro__mark .draw { stroke: currentColor; stroke-width: 2.6; animation: draw 1s var(--ease) 1.3s forwards; }
.intro__word { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); width: max-content; text-align: center; margin-top: 10px; }
.intro__word b { display: block; font: 500 clamp(1.6rem, 6vw, 2.4rem)/1.1 var(--serif); color: var(--cream); letter-spacing: .04em; opacity: 0; transform: translateY(10px); animation: up .9s var(--ease-out) 1.75s forwards; }
.intro__word span { display: block; font: 500 .68rem/1 var(--mono); letter-spacing: .38em; color: var(--gold); margin-top: 12px; opacity: 0; animation: up .9s var(--ease-out) 1.95s forwards; }
.intro__skip { position: absolute; right: 18px; bottom: 18px; font: 500 .72rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 12px 16px; }
.intro__skip:hover { color: var(--gold-hi); border-color: var(--gold); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes bullIn { 0% { transform: translateX(-34%); opacity: 0 } 25% { opacity: 1 } 75% { transform: translateX(-8%); opacity: 1 } 100% { transform: translateX(0) scale(.7); opacity: 0 } }
@keyframes bearIn { 0% { transform: translateX(34%); opacity: 0 } 25% { opacity: 1 } 75% { transform: translateX(8%); opacity: 1 } 100% { transform: translateX(0) scale(.7); opacity: 0 } }
@keyframes markIn { to { opacity: 1; transform: none; } }
@keyframes up { to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header) - 30px); display: flex; align-items: flex-end; margin-top: calc(-1 * var(--header)); padding-top: var(--header); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; transform: scale(1.06); animation: heroZoom 9s var(--ease-out) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__veil { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(10, 9, 7, .55) 0%, rgba(10, 9, 7, .15) 30%, rgba(10, 9, 7, .7) 70%, var(--bg) 100%),
  linear-gradient(90deg, rgba(10, 9, 7, .78) 0%, rgba(10, 9, 7, .2) 70%); }
.hero__grid { position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 60%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 60%, transparent 100%); }
.hero__chart { position: absolute; left: 0; right: 0; bottom: 18%; z-index: -1; width: 100%; height: 34%; opacity: .55; pointer-events: none; }
.hero__chart path { fill: none; stroke: url(#hg); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.2s var(--ease) .6s forwards; }
.hero__chart .area { fill: url(#ha); stroke: none; opacity: 0; animation: fadeIn 2s ease 2.4s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.hero__inner { padding: 120px 0 clamp(40px, 8vh, 84px); width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 .72rem/1.3 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 26px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--bull); box-shadow: 0 0 0 0 rgba(76, 192, 147, .6); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(76, 192, 147, 0); } 100% { box-shadow: 0 0 0 0 rgba(76, 192, 147, 0); } }
.hero h1 { max-width: 11.5ch; }
.hero .lede { margin-top: 26px; color: #cfc6b5; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__aside { display: none; }
@media (min-width: 1040px) {
  .hero__inner { display: grid; grid-template-columns: 1fr 320px; align-items: end; gap: 48px; }
  .hero__aside { display: block; }
}
.reveal-line { display: block; overflow: hidden; padding-bottom: .06em; }
.reveal-line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.2s var(--ease-out) forwards; }
.reveal-line:nth-child(2) > span { animation-delay: .12s; } .reveal-line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: none; } }
.has-intro .reveal-line > span { animation-delay: 2.6s; } .has-intro .reveal-line:nth-child(2) > span { animation-delay: 2.72s; } .has-intro .reveal-line:nth-child(3) > span { animation-delay: 2.84s; }

/* session card (market hours widget) */
.session { border: 1px solid var(--line); border-radius: var(--r); background: rgba(16, 14, 11, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 22px; }
.session__top { display: flex; justify-content: space-between; align-items: center; font: 500 .68rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.session__clock { font: 500 2.3rem/1 var(--mono); color: var(--cream); margin: 16px 0 6px; letter-spacing: -.02em; }
.session__clock small { font-size: .8rem; color: var(--gold); margin-left: 6px; letter-spacing: .1em; }
.session__state { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--text); }
.session__state i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.session__state.is-on i { background: var(--bull); box-shadow: 0 0 12px var(--bull); }
.session__bar { position: relative; height: 4px; border-radius: 4px; background: var(--line-2); margin: 18px 0 10px; overflow: hidden; }
.session__bar b { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); border-radius: 4px; transition: width 1s var(--ease-out); }
.session__scale { display: flex; justify-content: space-between; font: 400 .66rem/1 var(--mono); color: var(--dim); }
.session__note { margin-top: 14px; font-size: .76rem; color: var(--dim); line-height: 1.5; }

/* ---------- ticker (decorative) ---------- */
.ticker { position: relative; border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.ticker__label { position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 0 18px 0 var(--gut); background: linear-gradient(90deg, var(--bg-2) 75%, transparent); font: 500 .62rem/1 var(--mono); letter-spacing: .18em; color: var(--gold); text-transform: uppercase; }
.ticker__track { display: flex; width: max-content; animation: tick 48s linear infinite; padding-left: 170px; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; }
.ticker__item { display: inline-flex; align-items: center; gap: 10px; padding: 17px 26px; font: 500 .8rem/1 var(--mono); letter-spacing: .08em; white-space: nowrap; color: var(--text); border-right: 1px solid var(--line-2); }
.ticker__item b { color: var(--cream); font-weight: 500; }
.up { color: var(--bull); } .down { color: var(--bear); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 13vw, 168px) 0; position: relative; }
.section--tight { padding: clamp(56px, 8vw, 104px) 0; }
.section--panel { background: var(--bg-2); border-block: 1px solid var(--line-2); }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .lede { max-width: 46ch; }
@media (min-width: 900px) { .sec-head--split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 64px; } }
.statement { font: 500 clamp(1.9rem, 4.8vw, 3.6rem)/1.14 var(--serif); color: var(--cream); letter-spacing: -.005em; max-width: 24ch; }
.statement em { color: var(--gold-hi); }
.statement .muted { color: #6f685b; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; margin-top: clamp(48px, 7vw, 80px); }
.stat { background: var(--bg); padding: 26px 22px; }
.stat dt { font: 500 .66rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.stat dd { margin: 12px 0 0; font: 500 clamp(1.5rem, 3vw, 2.1rem)/1.1 var(--serif); color: var(--cream); }
@media (min-width: 800px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }

/* highlight cards */
.cards4 { display: grid; gap: 14px; }
@media (min-width: 700px) { .cards4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards4 { grid-template-columns: repeat(4, 1fr); } }
.hcard { position: relative; border: 1px solid var(--line-2); border-radius: var(--r); padding: 28px 24px 26px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); overflow: hidden; transition: border-color .5s, transform .6s var(--ease-out); }
.hcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px 160px at var(--mx, 50%) var(--my, 0%), rgba(214, 176, 106, .13), transparent 70%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.hcard:hover { border-color: var(--line); transform: translateY(-4px); }
.hcard:hover::before { opacity: 1; }
.hcard__n { font: 500 .68rem/1 var(--mono); color: var(--gold); letter-spacing: .14em; }
.hcard svg { width: 36px; height: 36px; color: var(--gold); margin: 28px 0 22px; }
.hcard h3 { font: 500 1.6rem/1.1 var(--serif); color: var(--cream); }
.hcard p { margin-top: 10px; color: var(--muted); font-size: .95rem; }

/* product cards */
.pgrid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
.pcard { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel); overflow: hidden; transition: border-color .5s, transform .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.pcard:hover { border-color: var(--line); transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(214, 176, 106, .06); }
.pcard__img { position: relative; aspect-ratio: 9 / 7; overflow: hidden; background: var(--panel-2); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(22, 19, 15, .85)); }
.pcard__code { position: absolute; left: 14px; top: 14px; z-index: 1; display: inline-flex; gap: 6px; align-items: center; font: 500 .66rem/1 var(--mono); letter-spacing: .12em; color: var(--cream); background: rgba(10, 9, 7, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(243, 236, 223, .14); padding: 7px 10px; border-radius: 99px; }
.pcard__code .up { font-size: .7rem; }
.pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; flex: 1; }
.pcard__top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.pcard h3 { font: 500 1.55rem/1.12 var(--serif); color: var(--cream); }
.price { font: 500 1.02rem/1 var(--mono); color: var(--gold-hi); white-space: nowrap; }
.price small { display: block; text-align: right; font-size: .58rem; letter-spacing: .14em; color: var(--dim); margin-top: 6px; text-transform: uppercase; }
.pcard p { color: var(--muted); font-size: .93rem; line-height: 1.55; }
.pcard__actions { display: flex; gap: 10px; margin-top: auto; padding-top: 14px; }
.pcard__actions .btn { flex: 1; }
.addbtn { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--gold-hi); transition: background-color .3s, border-color .3s, transform .4s var(--ease-out); }
.addbtn svg { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.addbtn:hover { border-color: var(--gold); background: rgba(214, 176, 106, .08); }
.addbtn[aria-pressed="true"] { background: var(--gold); color: #120f0a; border-color: var(--gold); }
.addbtn[aria-pressed="true"] svg { transform: rotate(45deg); }

/* horizontal rail (signature on home) */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 360px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 24px; margin-inline: calc(-1 * var(--gut)); scrollbar-width: thin; scrollbar-color: var(--gold-lo) transparent; overscroll-behavior-x: contain; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; } }
.rail-nav { display: flex; gap: 10px; }
.rail-nav button { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--gold-hi); transition: background-color .3s, border-color .3s; }
.rail-nav button:hover { background: rgba(214, 176, 106, .08); border-color: var(--gold); }
.rail-nav svg { width: 18px; height: 18px; }
@media (min-width: 1100px) { .rail-nav { display: none; } }

/* split feature */
.split { display: grid; gap: clamp(36px, 6vw, 88px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.frame { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame__tag { position: absolute; left: 16px; bottom: 16px; font: 500 .66rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cream); background: rgba(10, 9, 7, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 9px 12px; border-radius: 99px; border: 1px solid rgba(243, 236, 223, .14); }
.parallax img { transform: translate3d(0, var(--py, 0), 0) scale(1.12); will-change: transform; }
.stack { display: grid; gap: 22px; }
.stack .lede { max-width: 44ch; }

/* sessions timeline */
.sessions { display: grid; gap: 0; border-top: 1px solid var(--line-2); margin-top: 8px; }
.sess { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line-2); align-items: baseline; }
.sess time { font: 500 .78rem/1.3 var(--mono); color: var(--gold); letter-spacing: .04em; }
.sess h3 { font: 500 1.35rem/1.15 var(--serif); color: var(--cream); }
.sess p { color: var(--muted); font-size: .93rem; margin-top: 4px; }
@media (min-width: 640px) { .sess { grid-template-columns: 140px 1fr; } }

/* mentions (honest review themes) */
.mentions { display: grid; gap: 14px; }
@media (min-width: 820px) { .mentions { grid-template-columns: repeat(3, 1fr); } }
.mention { border: 1px solid var(--line-2); border-radius: var(--r); padding: 28px 24px; background: var(--panel); }
.mention svg { width: 26px; height: 26px; color: var(--gold); }
.mention h3 { margin-top: 18px; font: 500 1.45rem/1.15 var(--serif); color: var(--cream); }
.mention p { margin-top: 8px; color: var(--muted); font-size: .94rem; }

/* franchise band */
.band { position: relative; border-radius: calc(var(--r) + 8px); overflow: hidden; border: 1px solid var(--line); isolation: isolate; padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px); }
.band__bg { position: absolute; inset: 0; z-index: -2; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 9, 7, .95) 0%, rgba(10, 9, 7, .82) 55%, rgba(10, 9, 7, .45) 100%); }
.band .h2 { max-width: 14ch; }
.band .lede { margin-top: 20px; }
.band .cta-row { margin-top: 30px; }

/* location strip */
.locate { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.locate > div { background: var(--bg-2); padding: 28px 24px; display: grid; gap: 10px; align-content: start; }
.locate .k { font: 500 .66rem/1 var(--mono); letter-spacing: .18em; color: var(--gold); text-transform: uppercase; }
.locate .v { font: 500 1.45rem/1.2 var(--serif); color: var(--cream); }
.locate .v small { display: block; font: 400 .9rem/1.5 var(--sans); color: var(--muted); margin-top: 6px; }
@media (min-width: 900px) { .locate { grid-template-columns: 1.3fr 1fr 1fr; } }

/* ---------- page hero (inner pages) ---------- */
.phero { position: relative; padding: clamp(64px, 11vw, 140px) 0 clamp(40px, 6vw, 72px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line-2); }
.phero--img { min-height: clamp(440px, 70vh, 680px); display: flex; align-items: flex-end; margin-top: calc(-1 * var(--header)); padding-top: calc(var(--header) + 80px); }
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero--img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 9, 7, .5), rgba(10, 9, 7, .35) 40%, var(--bg) 100%), linear-gradient(90deg, rgba(10, 9, 7, .7), transparent 75%); }
.phero .display { font-size: clamp(2.8rem, 8.4vw, 6.2rem); max-width: 13ch; }
.phero .lede { margin-top: 22px; }
.crumbs { display: flex; gap: 10px; font: 500 .68rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 26px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--gold-hi); }

/* ---------- menu page ---------- */
.mbar { position: sticky; top: var(--header); z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line-2); }
.mbar__in { display: flex; align-items: center; gap: 12px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; flex: 1; min-width: 0; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-2); font-size: .88rem; color: var(--muted); transition: color .3s, border-color .3s, background-color .3s; }
.tab:hover { color: var(--cream); border-color: var(--line); }
.tab[aria-pressed="true"] { background: var(--cream); color: #120f0a; border-color: var(--cream); font-weight: 600; }
.selchip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 99px; background: var(--panel-2); border: 1px solid var(--line); color: var(--gold-hi); font: 500 .8rem/1 var(--mono); }
.selchip b { min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 99px; background: var(--gold); color: #120f0a; font-weight: 600; transition: transform .4s var(--ease-out); }
.selchip.bump b { transform: scale(1.3); }
.mlayout { display: grid; gap: 40px; }
@media (min-width: 1100px) { .mlayout { grid-template-columns: 1fr 340px; align-items: start; } .mlayout .pgrid { grid-template-columns: repeat(2, 1fr); } .selchip { display: none; } }
@media (min-width: 1300px) { .mlayout .pgrid { grid-template-columns: repeat(3, 1fr); } .mlayout { grid-template-columns: 1fr 360px; } }
.mcat { scroll-margin-top: calc(var(--header) + 80px); }
.mcat + .mcat { margin-top: 72px; }
.mcat__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; border-bottom: 1px solid var(--line-2); padding-bottom: 18px; margin-bottom: 26px; }
.mcat__head p { color: var(--muted); margin-top: 6px; }
.mcat__count { font: 500 .7rem/1 var(--mono); color: var(--dim); letter-spacing: .14em; white-space: nowrap; }
.mcat[hidden] { display: none; }
.veg { display: inline-grid; place-items: center; width: 14px; height: 14px; border: 1.5px solid var(--bull); border-radius: 3px; flex: none; }
.veg::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--bull); }

/* selected items summary (in page, sticky on desktop) */
.summary { border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, var(--panel-2), var(--panel)); padding: 24px; scroll-margin-top: calc(var(--header) + 80px); }
@media (min-width: 1100px) { .summary { position: sticky; top: calc(var(--header) + 88px); } }
.summary h2 { font: 500 1.8rem/1.1 var(--serif); color: var(--cream); }
.summary__empty { color: var(--muted); font-size: .93rem; margin-top: 12px; }
.summary__list { margin-top: 18px; display: grid; gap: 2px; max-height: 360px; overflow-y: auto; }
.sline { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); align-items: center; }
.sline__name { color: var(--cream); font-size: .95rem; }
.sline__sub { grid-column: 1; font: 400 .74rem/1 var(--mono); color: var(--dim); }
.qty { grid-row: 1 / span 2; grid-column: 2; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; }
.qty button { width: 34px; height: 34px; display: grid; place-items: center; color: var(--gold-hi); border-radius: 50%; }
.qty button:hover { background: rgba(214, 176, 106, .1); }
.qty svg { width: 14px; height: 14px; }
.qty span { min-width: 22px; text-align: center; font: 500 .85rem/1 var(--mono); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 6px; }
.summary__total span { font: 500 .7rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.summary__total b { font: 500 1.6rem/1 var(--mono); color: var(--gold-hi); font-weight: 500; }
.summary .fine { margin: 6px 0 18px; }
.summary__clear { margin-top: 12px; width: 100%; text-align: center; font-size: .82rem; color: var(--muted); padding: 8px; }
.summary__clear:hover { color: var(--bear); }

/* ---------- experience ---------- */
.feature-list { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
@media (min-width: 760px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
.feature { background: var(--bg); padding: clamp(26px, 4vw, 40px); display: grid; gap: 12px; align-content: start; }
.feature svg { width: 32px; height: 32px; color: var(--gold); margin-bottom: 8px; }
.feature h3 { font: 500 1.7rem/1.1 var(--serif); color: var(--cream); }
.feature p { color: var(--muted); }
.events { display: grid; gap: 16px; }
@media (min-width: 900px) { .events { grid-template-columns: repeat(3, 1fr); } }
.event { border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; background: var(--panel); display: flex; flex-direction: column; }
.event .frame { border: 0; border-radius: 0; aspect-ratio: 4 / 3; }
.event__body { padding: 22px; display: grid; gap: 8px; }
.event__when { font: 500 .68rem/1 var(--mono); letter-spacing: .16em; color: var(--gold); text-transform: uppercase; }
.event h3 { font: 500 1.5rem/1.15 var(--serif); color: var(--cream); }
.event p { color: var(--muted); font-size: .94rem; }
.chartcard { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 24px; }
.chartcard svg { width: 100%; height: auto; }
.chartcard__head { display: flex; justify-content: space-between; font: 500 .7rem/1 var(--mono); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-bottom: 16px; }

/* ---------- franchise ---------- */
.why { display: grid; gap: 14px; }
@media (min-width: 760px) { .why { grid-template-columns: repeat(3, 1fr); } }
.form { display: grid; gap: 18px; border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); background: linear-gradient(180deg, var(--panel-2), var(--panel)); padding: clamp(24px, 4vw, 44px); }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font: 500 .7rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 15px 16px; color: var(--cream); font-size: 1rem; transition: border-color .3s, box-shadow .3s; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(214, 176, 106, .12); }
.field input[aria-invalid="true"] { border-color: var(--bear); }
.field .err { font-size: .8rem; color: var(--bear); min-height: 1em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { margin-bottom: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 99px; font-size: .9rem; color: var(--muted); transition: all .3s; }
.chip input:checked + span { border-color: var(--gold); color: #120f0a; background: var(--gold); }
.chip input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; accent-color: var(--gold); flex: none; margin-top: 2px; }
.ondemand { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.ondemand > div { background: var(--bg-2); padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.ondemand span { color: var(--text); }
.ondemand em { font: 500 .66rem/1 var(--mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
@media (min-width: 760px) { .ondemand { grid-template-columns: repeat(2, 1fr); } }

/* ---------- gallery ---------- */
.gfilters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.masonry { columns: 2 160px; column-gap: 12px; }
@media (min-width: 900px) { .masonry { columns: 3; column-gap: 16px; } }
@media (min-width: 1300px) { .masonry { columns: 4; } }
.gitem { display: block; width: 100%; margin-bottom: 12px; break-inside: avoid; position: relative; border-radius: var(--r-s); overflow: hidden; background: var(--panel); border: 1px solid var(--line-2); }
@media (min-width: 900px) { .gitem { margin-bottom: 16px; } }
.gitem img { width: 100%; transition: transform 1.1s var(--ease-out), filter .6s; }
.gitem:hover img { transform: scale(1.05); }
.gitem figcaption { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(10, 9, 7, .85)); font: 500 .66rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cream); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .6s var(--ease-out); text-align: left; }
.gitem:hover figcaption, .gitem:focus-visible figcaption { opacity: 1; transform: none; }
.gitem[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5, 4, 3, .96); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gut); font: 500 .72rem/1 var(--mono); letter-spacing: .14em; color: var(--muted); }
.lightbox__img { display: grid; place-items: center; padding: 0 var(--gut); min-height: 0; }
.lightbox__img img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; border-radius: 10px; }
.lightbox__nav { display: flex; justify-content: center; gap: 12px; padding: 16px; }
.iconbtn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--cream); transition: border-color .3s, background-color .3s; }
.iconbtn:hover { border-color: var(--gold); background: rgba(214, 176, 106, .08); }
.iconbtn svg { width: 18px; height: 18px; }

/* ---------- story ---------- */
.values { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.value { display: grid; gap: 10px; padding: 32px 0; border-bottom: 1px solid var(--line-2); }
@media (min-width: 860px) { .value { grid-template-columns: 120px 1fr 1.3fr; gap: 40px; align-items: baseline; } }
.value__n { font: 500 .72rem/1 var(--mono); color: var(--gold); letter-spacing: .14em; }
.value h3 { font: 500 2rem/1.1 var(--serif); color: var(--cream); }
.value p { color: var(--muted); }
.quote { font: italic 500 clamp(1.8rem, 4.4vw, 3.2rem)/1.18 var(--serif); color: var(--cream); max-width: 22ch; }
.quote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--gold); margin-bottom: 10px; font-style: normal; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 18px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.cinfo { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; align-content: start; }
.cinfo > div { background: var(--bg-2); padding: 24px; display: grid; gap: 8px; }
.cinfo .k { font: 500 .66rem/1 var(--mono); letter-spacing: .18em; color: var(--gold); text-transform: uppercase; }
.cinfo .v { font: 500 1.4rem/1.25 var(--serif); color: var(--cream); }
.cinfo .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.mapbox { position: relative; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-height: 420px; background: var(--panel); isolation: isolate; }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.mapbox__art { position: absolute; inset: 0; z-index: -1; }
.mapbox__art svg { width: 100%; height: 100%; }
.mapbox__card { position: absolute; left: 18px; right: 18px; bottom: 18px; border: 1px solid var(--line); border-radius: var(--r-s); background: rgba(10, 9, 7, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 18px; display: grid; gap: 12px; }
.mapbox__card p { color: var(--muted); font-size: .88rem; }
.mapbox__card .cta-row { margin-top: 0; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 22px 0; font: 500 1.35rem/1.25 var(--serif); color: var(--cream); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--mono); color: var(--gold); transition: transform .4s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 64ch; }

/* ---------- prose (privacy) ---------- */
.prose { max-width: 70ch; }
.prose h2 { font: 500 1.9rem/1.15 var(--serif); color: var(--cream); margin: 44px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 8px; margin-top: 10px; }
.prose a { color: var(--gold-hi); border-bottom: 1px solid var(--line); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-2); background: #070605; padding: clamp(64px, 9vw, 112px) 0 28px; overflow: hidden; }
.footer__big { font: 500 clamp(3.2rem, 13vw, 11rem)/.9 var(--serif); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(214, 176, 106, .35); white-space: nowrap; margin-bottom: clamp(40px, 6vw, 72px); user-select: none; }
.footer__big em { -webkit-text-stroke: 0; color: var(--gold); font-style: italic; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h2 { font: 500 .68rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer li + li { margin-top: 10px; }
.footer a { color: var(--text); transition: color .3s; }
.footer a:hover { color: var(--gold-hi); }
.footer p { color: var(--muted); }
.footer__base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: .8rem; color: var(--dim); }
.footer__base a { color: var(--muted); }

/* ---------- Bull Bot (the only floating element) ---------- */
.bot { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80; }
.bot__fab { position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #2b241a, #0f0d0a 70%); border: 1px solid rgba(214, 176, 106, .55); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8), 0 0 0 6px rgba(214, 176, 106, .06); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.bot__fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 24px 48px -14px rgba(0, 0, 0, .85), 0 0 0 8px rgba(214, 176, 106, .1); }
.bot__fab svg { width: 38px; height: 38px; }
.bot__fab::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(214, 176, 106, .5); animation: ring 3.2s var(--ease-out) infinite; pointer-events: none; }
.bot.is-open .bot__fab::after { animation: none; opacity: 0; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
.bot__hint { position: absolute; right: 74px; bottom: 14px; white-space: nowrap; font-size: .82rem; color: var(--cream); background: var(--panel-2); border: 1px solid var(--line); padding: 9px 14px; border-radius: 99px; opacity: 0; transform: translateX(8px); transition: opacity .5s, transform .6s var(--ease-out); pointer-events: none; }
.bot.hint .bot__hint { opacity: 1; transform: none; }
.bot.is-open .bot__hint { opacity: 0; }
.bot__panel { position: fixed; right: max(12px, env(safe-area-inset-right)); bottom: calc(max(16px, env(safe-area-inset-bottom)) + 76px); width: min(400px, calc(100vw - 24px)); height: min(620px, calc(100svh - 120px)); display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, #17140f, #0d0b09); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .9); overflow: hidden; transform-origin: bottom right; transform: translateY(14px) scale(.96); opacity: 0; visibility: hidden; transition: transform .5s var(--ease-out), opacity .35s, visibility .35s; }
.bot.is-open .bot__panel { transform: none; opacity: 1; visibility: visible; }
.bot__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; border-bottom: 1px solid var(--line-2); }
.bot__avatar { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #0f0d0a; border: 1px solid var(--line); }
.bot__avatar svg { width: 28px; height: 28px; }
.bot__head h2 { font: 500 1.35rem/1 var(--serif); color: var(--cream); }
.bot__head p { font: 500 .62rem/1.2 var(--mono); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-top: 5px; display: flex; align-items: center; gap: 6px; }
.bot__head p i { width: 6px; height: 6px; border-radius: 50%; background: var(--bull); }
.bot__close { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line-2); }
.bot__close:hover { color: var(--cream); border-color: var(--line); }
.bot__close svg { width: 16px; height: 16px; }
.bot__log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; overscroll-behavior: contain; }
.msg { max-width: 86%; animation: msgIn .5s var(--ease-out); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg p { padding: 12px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg--bot p { background: var(--panel-2); border: 1px solid var(--line-2); border-bottom-left-radius: 6px; color: var(--text); }
.msg--user { align-self: flex-end; }
.msg--user p { background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: #15100a; border-bottom-right-radius: 6px; }
.msg__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg__actions a { font-size: .8rem; padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--gold-hi); transition: background-color .3s; }
.msg__actions a:hover { background: rgba(214, 176, 106, .1); }
.msg--typing p { display: inline-flex; gap: 4px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: dots 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.bot__quick { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; }
.bot__quick::-webkit-scrollbar { display: none; }
.bot__quick button { flex: none; font-size: .8rem; padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--text); transition: border-color .3s, color .3s; }
.bot__quick button:hover { border-color: var(--gold); color: var(--gold-hi); }
.bot__form { display: flex; gap: 8px; padding: 10px 12px 8px; border-top: 1px solid var(--line-2); }
.bot__form input { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line-2); border-radius: 99px; padding: 12px 16px; color: var(--cream); font-size: 16px; }
.bot__form input:focus { outline: none; border-color: var(--gold); }
.bot__send { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #15100a; transition: transform .4s var(--ease-out); }
.bot__send:hover { transform: scale(1.06); }
.bot__send svg { width: 18px; height: 18px; }
.bot__note { padding: 0 16px 12px; font-size: .7rem; color: var(--dim); text-align: center; }
@media (max-width: 480px) { .bot__panel { right: 8px; left: 8px; width: auto; bottom: calc(max(12px, env(safe-area-inset-bottom)) + 76px); height: calc(100svh - 110px); } }

/* ---------- scroll reveal ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-img { clip-path: inset(12% 0 0 0 round var(--r)); transition: clip-path 1.4s var(--ease-out); }
.js .rv-img.in { clip-path: inset(0 0 0 0 round var(--r)); }

/* ---------- 404 ---------- */
.nf { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf__code { font: 500 clamp(6rem, 26vw, 15rem)/.8 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--gold); }
.nf .lede { margin: 18px auto 30px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none; }
  .ticker { overflow-x: auto; }
  .reveal-line > span { transform: none; }
  .hero__chart path { stroke-dashoffset: 0; }
  .hero__media img { transform: none; }
  .parallax img { transform: scale(1.02); }
}

.sprite { position: absolute; }
.footer__about { margin-top: 18px; max-width: 34ch; }
[hidden] { display: none !important; }
@media (max-width: 600px) { .hero__media img { object-position: 60% 62%; } .hero .eyebrow { letter-spacing: .12em; font-size: .66rem; } }
@media (max-width: 619px) { .pcard__img { aspect-ratio: 16 / 11; } .pcard__body { padding: 18px 18px 20px; } }
@media (max-width: 480px) { .bot__panel { height: calc(100svh - 150px); } }
figure { margin: 0; }
.gitem { padding: 0; cursor: zoom-in; }
