/* Consult.AiWorld.Institute — palette and type lifted from Jeff's business card:
   near-black field, warm amber glow, gold lead, teal arcs, orange->gold bar, dot grid. */
:root {
  --bg: #0a0907;
  --bg2: #110f0b;
  --panel: rgba(20, 17, 12, .72);
  --gold: #ffc61a;
  --gold-2: #ffd84d;
  --amber: #ff8a1f;
  --teal: #6fcab8;
  --text: #f3eee4;
  --mute: #a69d8c;
  --dim: #5f5849;
  --line: rgba(255, 198, 26, .16);
  --line-2: rgba(255, 198, 26, .34);
  --danger: #ff5b4a;
  --ok: #6fcab8;
  --f-wide: 'Michroma', 'Chakra Petch', sans-serif;
  --f-sans: 'Chakra Petch', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pad: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* Component display rules must never beat the hidden attribute. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 500 16px/1.55 var(--f-sans); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
img, svg, canvas { display: block; }
::selection { background: var(--gold); color: #120d00; }
.mono { font-family: var(--f-mono); letter-spacing: .08em; }
.serif { font-family: var(--f-serif); letter-spacing: 0; }
.gold { color: var(--gold); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- ambient layers ---------- */
body::before { /* dot grid like the card */
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(rgba(255, 198, 26, .12) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 20%, #000 20%, transparent 80%);
}
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .055;
  background-image: 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='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(1%,3%)} }

/* ---------- boot curtain ---------- */
.boot {
  position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 22px;
  background: radial-gradient(circle at 50% 45%, #1b1408, var(--bg) 60%);
  animation: bootFallback 0s 4s forwards; /* if JS dies, never trap the visitor */
}
@keyframes bootFallback { to { opacity: 0; visibility: hidden; } }
.boot__hex {
  width: 96px; height: 110px; display: grid; place-items: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(160deg, #2a2213, #0d0b08); position: relative;
}
.boot__hex::before { content: ''; position: absolute; inset: 0; clip-path: inherit; box-shadow: inset 0 0 0 2px var(--gold); border: 2px solid var(--gold); }
.boot__hex span { font: 26px var(--f-wide); color: var(--text); letter-spacing: .05em; }
.boot__line { width: 220px; height: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.boot__bar { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--amber), var(--gold)); }
.boot__txt { font-size: 11px; color: var(--mute); display: flex; gap: 14px; }
.boot__pct { color: var(--gold); }

/* ---------- custom cursor (fine pointers only) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; mix-blend-mode: screen; display: none; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } body, a, button { cursor: none; } input, textarea { cursor: text; } }
.cursor__dot, .cursor__ring { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.cursor__ring { width: 34px; height: 34px; border: 1px solid rgba(255, 198, 26, .55); transition: width .3s var(--ease), height .3s var(--ease), border-color .3s; }
.cursor.is-hot .cursor__ring { width: 58px; height: 58px; border-color: var(--teal); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; gap: 24px;
  padding: 16px var(--pad); transition: background .4s, backdrop-filter .4s, padding .4s;
}
.nav.is-solid { background: rgba(10, 9, 7, .72); backdrop-filter: blur(14px) saturate(1.3); padding-block: 10px; border-bottom: 1px solid var(--line); }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__hex { width: 26px; height: 30px; fill: #14110b; stroke: var(--gold); stroke-width: 2; }
.nav__name { font: 13px var(--f-wide); letter-spacing: .14em; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { text-decoration: none; padding: 8px 14px; font-size: 14px; color: var(--mute); transition: color .25s; display: inline-block; }
.nav__links a:hover { color: var(--gold); }
.nav__right { display: flex; align-items: center; gap: 14px; }
@media (max-width: 820px) { .nav__links { display: none; } .nav__right { margin-left: auto; } .nav__name { display: none; } }

.snd { position: relative; display: flex; align-items: center; }
.snd__btn { display: flex; align-items: center; gap: 10px; background: none; border: 1px solid var(--line); padding: 7px 12px; border-radius: 2px; transition: border-color .25s; }
.snd__btn:hover { border-color: var(--line-2); }
.snd__lbl { font-size: 10px; color: var(--mute); }
.snd__bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.snd__bars i { width: 2px; height: 3px; background: var(--dim); transition: background .3s; }
.snd.is-on .snd__bars i { background: var(--gold); animation: eq 1s ease-in-out infinite; }
.snd.is-on .snd__bars i:nth-child(2) { animation-delay: -.3s; } .snd.is-on .snd__bars i:nth-child(3) { animation-delay: -.6s; } .snd.is-on .snd__bars i:nth-child(4) { animation-delay: -.15s; }
.snd.is-on .snd__lbl { color: var(--gold); }
@keyframes eq { 0%,100% { height: 3px; } 50% { height: 12px; } }
.snd__vol { position: absolute; top: calc(100% + 8px); right: 0; padding: 12px; background: var(--bg2); border: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(-4px); transition: .25s var(--ease); }
.snd.is-on:hover .snd__vol, .snd.is-on:focus-within .snd__vol { opacity: 1; pointer-events: auto; transform: none; }
.snd__vol input { accent-color: var(--gold); width: 120px; }
@media (max-width: 520px) { .snd__lbl { display: none; } }

/* ---------- buttons ---------- */
.btn {
  --h: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px; border: 0; text-decoration: none; isolation: isolate; overflow: hidden;
  font: 700 15px var(--f-sans); letter-spacing: .06em; text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: linear-gradient(100deg, var(--amber), var(--gold) 55%, var(--gold-2)); color: #140e00; }
.btn--gold::after { /* light sweep */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 12px; }
.btn--block { width: 100%; }
.btn[disabled] { filter: grayscale(.9) brightness(.55); pointer-events: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center; gap: 2vw; padding: 110px var(--pad) 70px; overflow: hidden;
}
.hero__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 72% 46%, rgba(255, 150, 20, .22), transparent 42%),
              radial-gradient(circle at 15% 90%, rgba(111, 202, 184, .08), transparent 40%); }
.hero__grid { position: absolute; inset: auto 0 0; height: 40%; z-index: -1; pointer-events: none; opacity: .5;
  background: linear-gradient(transparent, var(--bg)), repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 80px);
  mask-image: linear-gradient(transparent, #000); }

.eyebrow { font-size: 12px; color: var(--mute); margin: 0 0 18px; }
.eyebrow__num { color: var(--gold); }
.hero__name { font: clamp(30px, 4.3vw, 74px)/1 var(--f-wide); letter-spacing: .02em; margin: 0; white-space: nowrap; }
.hero__name .ch { display: inline-block; will-change: transform; }
.hero__rule { display: block; width: 150px; height: 4px; margin: 26px 0 30px; background: linear-gradient(90deg, var(--amber), var(--gold)); transform-origin: left; }

.roles { display: grid; gap: 10px; margin-bottom: 30px; }
.roles__org { font-size: 13px; color: var(--mute); letter-spacing: .14em; }
.roles__org--2 { margin-top: 10px; font-size: 22px; color: var(--text); letter-spacing: 0; }
.roles__org--2 .eyebrow__num { font-size: 13px; letter-spacing: .08em; }
.roles__org--2 em { color: var(--gold); }
.role { display: flex; align-items: center; gap: 14px; font-size: clamp(16px, 1.5vw, 21px); font-weight: 600; }
.tag { display: inline-grid; place-items: center; min-width: 58px; height: 30px; padding: 0 8px; border: 2px solid var(--gold); color: var(--gold); font: 700 13px var(--f-mono); letter-spacing: .14em; }
.tag--amber { border-color: var(--amber); color: var(--amber); }

.hero__pitch { margin: 0 0 34px; display: grid; gap: 6px; }
.hero__pitch-a { font: clamp(14px, 1.4vw, 19px) var(--f-wide); letter-spacing: .08em; }
.hero__pitch-b { font-weight: 700; font-size: clamp(15px, 1.4vw, 20px); color: var(--gold); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.rate { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: baseline; font-size: 11px; color: var(--mute); }
.rate b { font: 700 26px var(--f-mono); color: var(--text); letter-spacing: 0; }
.rate i { grid-column: 1 / -1; font-style: normal; color: var(--teal); }

.hero__stage { position: relative; aspect-ratio: 1; width: 100%; max-height: 82svh; justify-self: center; }
.reactor { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%); mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%); }
.traces { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.traces .tr { fill: none; stroke: rgba(255, 170, 40, .4); stroke-width: 1.2; }
.traces .tr-dot { fill: none; stroke: rgba(255, 198, 26, .5); stroke-width: 1.2; }
.traces .pulse { fill: var(--gold); filter: drop-shadow(0 0 6px var(--gold)); }
.stage__hud { position: absolute; left: 4%; bottom: 6%; display: grid; gap: 4px; font-size: 10px; color: var(--mute); }
.stage__hud b { color: var(--teal); font-weight: 500; }
.stage__hint { position: absolute; right: 4%; bottom: 6%; font-size: 10px; color: var(--dim); margin: 0; }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 10px; color: var(--mute); text-decoration: none; display: grid; justify-items: center; gap: 8px; }
.hero__scroll span { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 96px; gap: 0; }
  .hero__stage { order: -1; width: min(100%, 460px); margin: -10px auto -30px; }
  .hero__name { white-space: normal; }
  .stage__hint { display: none; }
}

/* ---------- strip ---------- */
.strip { position: relative; padding: 30px 0; border-block: 1px solid var(--line); overflow: hidden; }
.strip__band { position: relative; z-index: 2; display: inline-flex; margin: 0 0 18px var(--pad); padding: 10px 46px 10px 22px; color: #140e00; font-size: 14px; font-weight: 700;
  background: linear-gradient(90deg, var(--gold), var(--amber)); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); letter-spacing: .3em; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; }
.marquee__track span { flex: none; padding: 12px 20px; border: 2px solid rgba(243, 238, 228, .28); font: 700 15px var(--f-sans); letter-spacing: .12em; white-space: nowrap; }
.marquee__track span:nth-child(3n) { border-color: var(--line-2); color: var(--gold); }

/* ---------- sections ---------- */
section { position: relative; }
.expertise, .how, .book, .contact { padding: clamp(80px, 12vw, 150px) var(--pad); }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.sec-title { font: clamp(28px, 4.4vw, 58px)/1.08 var(--f-wide); letter-spacing: .01em; margin: 0; }
.sec-title--sm { font-size: clamp(22px, 3vw, 36px); }
.sec-sub { color: var(--mute); font-size: 18px; max-width: 600px; margin: 22px 0 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; perspective: 1000px; }
.card { position: relative; padding: 30px 28px 26px; background: linear-gradient(160deg, rgba(255, 198, 26, .06), rgba(255, 255, 255, .01) 40%), var(--bg2);
  border: 1px solid var(--line); transform-style: preserve-3d; transition: border-color .4s, box-shadow .4s; overflow: hidden; }
.card::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 198, 26, .14), transparent 45%); }
.card:hover { border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(255, 140, 20, .35); }
.card:hover::before { opacity: 1; }
.card__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--gold); color: var(--gold); font-size: 13px; margin-bottom: 22px; }
.card h3 { font: 700 23px var(--f-sans); margin: 0 0 10px; letter-spacing: .02em; }
.card p { color: var(--mute); margin: 0 0 22px; }
.card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 10px; }
.card li { padding: 5px 9px; border: 1px solid var(--line); color: var(--teal); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 34px 28px 30px 0; border-top: 1px solid var(--line); }
.steps li::before { content: ''; position: absolute; top: -1px; left: 0; height: 2px; width: 46px; background: var(--gold); }
.steps__n { font-size: 13px; color: var(--gold); }
.steps h3 { font: 700 21px var(--f-sans); margin: 12px 0 8px; }
.steps p { color: var(--mute); margin: 0; max-width: 300px; }

/* ---------- console ---------- */
.console {
  position: relative; background: linear-gradient(180deg, rgba(255, 198, 26, .045), transparent 30%), var(--panel);
  border: 1px solid var(--line); backdrop-filter: blur(6px);
  box-shadow: 0 60px 120px -60px rgba(255, 140, 20, .35), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.console__corner { position: absolute; width: 18px; height: 18px; border: 2px solid var(--gold); }
.console__corner--tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.console__corner--tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.console__corner--bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.console__corner--br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.console__bar { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--mute); flex-wrap: wrap; }
.console__sep { color: var(--dim); }
.console__bar [data-console-status] { color: var(--teal); }
.console__tz { margin-left: auto; color: var(--dim); }
.led { width: 7px; height: 7px; border-radius: 50%; background: #2b261c; }
.led--on { background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: led 2.4s infinite; }
.led--on + .led--on { animation-delay: -1.2s; background: var(--teal); box-shadow: 0 0 8px var(--teal); }
@keyframes led { 50% { opacity: .35; } }

.console__body { display: grid; grid-template-columns: 300px minmax(0, 1fr) 260px; }
.console__body > .col { padding: 26px 24px; }
.console__body > .col + .col { border-left: 1px solid var(--line); }
@media (max-width: 1100px) { .console__body { grid-template-columns: 1fr 1fr; } .col--setup { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; } .col--cal { border-left: 0 !important; border-top: 1px solid var(--line); } .col--time { border-top: 1px solid var(--line); } }
@media (max-width: 760px) { .console__body { grid-template-columns: 1fr; } .col--setup { grid-template-columns: 1fr; } .col--time { border-left: 0 !important; } }

.block { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.block__lbl { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--mute); padding: 0; margin-bottom: 14px; }
.block__lbl span { color: #140e00; background: var(--gold); padding: 2px 6px; font-weight: 700; }
.block__lbl em { margin-left: auto; font-style: normal; color: var(--dim); }

.seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--line-2); }
.seg__opt { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; background: none; border: 0; font-weight: 700; letter-spacing: .04em; color: var(--mute); transition: color .3s; }
.seg__opt.is-on { color: #140e00; }
.seg__opt svg { width: 16px; height: 16px; fill: currentColor; }
.seg__opt[disabled] { color: var(--dim); }
.seg__glider { position: absolute; z-index: 0; top: 2px; bottom: 2px; left: 2px; width: calc(50% - 4px); background: linear-gradient(100deg, var(--amber), var(--gold)); transition: transform .45s var(--ease); }
.seg[data-pos="1"] .seg__glider { transform: translateX(calc(100% + 4px)); }
.lock { font-size: 9px; padding: 2px 5px; border: 1px solid var(--dim); color: var(--dim); margin-left: 4px; transition: .3s; }
.seg__opt:not([disabled]) .lock { border-color: var(--teal); color: var(--teal); }
.seg__opt.is-on .lock { border-color: #140e00; color: #140e00; }

.dial { position: relative; width: 100%; max-width: 250px; margin: 0 auto; aspect-ratio: 1; touch-action: none; user-select: none; }
.dial__svg { width: 100%; height: 100%; overflow: visible; }
.dial__track { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 14; stroke-linecap: round; }
.dial__fill { fill: none; stroke-width: 14; stroke-linecap: round; filter: drop-shadow(0 0 10px rgba(255, 160, 30, .55)); }
.dial__tick { stroke: var(--dim); stroke-width: 2; transition: stroke .3s; }
.dial__tick.is-on { stroke: var(--gold); }
.dial__tick-lbl { fill: var(--dim); font: 9px var(--f-mono); transition: fill .3s; }
.dial__tick-lbl.is-on { fill: var(--text); }
.dial__tick.is-dead, .dial__tick-lbl.is-dead { opacity: .3; }
.dial__knob { cursor: grab; }
.dial__knob circle { fill: #15110a; stroke: var(--gold-2); stroke-width: 3; }
.dial__knob .dial__knob-core { fill: var(--gold); stroke: none; }
.dial:focus-within .dial__knob circle:first-child { stroke: var(--teal); }
.dial__read { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; pointer-events: none; }
.dial__len { font: 52px/1 var(--f-wide); }
.dial__unit { font-size: 11px; color: var(--mute); margin-top: 4px; }
.dial__price { margin-top: 10px; font-size: 17px; color: var(--gold); font-weight: 700; letter-spacing: .04em; }
.dial__note { text-align: center; font-size: 9px; color: var(--dim); margin: 8px 0 0; }

.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal__title { font: 14px var(--f-wide); letter-spacing: .1em; }
.cal__nav { width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 1px solid var(--line); transition: border-color .25s, opacity .25s; }
.cal__nav svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 2.2; }
.cal__nav:hover { border-color: var(--gold); }
.cal__nav[disabled] { opacity: .25; pointer-events: none; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal__dow { font-size: 10px; color: var(--dim); text-align: center; margin-bottom: 8px; }
.day {
  position: relative; aspect-ratio: 1 / .78; display: grid; align-content: space-between; padding: 7px 7px 6px;
  background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .05); text-align: left;
  transition: border-color .25s, background .25s, transform .25s var(--ease); overflow: hidden;
}
.day__n { font: 600 15px var(--f-mono); letter-spacing: 0; }
.day__meta { font: 9px var(--f-mono); color: var(--teal); letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.day__bar { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--teal); transform-origin: left; transition: transform .5s var(--ease); }
.day.is-open { border-color: rgba(111, 202, 184, .28); }
.day.is-open:hover { border-color: var(--gold); transform: translateY(-2px); background: rgba(255, 198, 26, .06); }
.day.is-tight .day__meta { color: var(--amber); } .day.is-tight .day__bar { background: var(--amber); }
.day.is-off { color: var(--dim); pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 6px, transparent 6px 12px); }
.day.is-off .day__meta { color: var(--dim); }
.day.is-blank { visibility: hidden; }
.day.is-past { opacity: .35; }
.day__mo { position: absolute; top: 6px; right: 7px; font: 8px var(--f-mono); color: var(--gold); letter-spacing: .1em; }
.day.is-sel { border-color: var(--gold); background: linear-gradient(160deg, rgba(255, 198, 26, .22), rgba(255, 138, 31, .08)); box-shadow: 0 0 0 1px var(--gold), 0 10px 30px -10px rgba(255, 170, 30, .6); }
.day.is-sel .day__meta { color: var(--gold); }
.cal__legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 9px; color: var(--dim); margin-top: 14px; }
.lg { display: inline-block; width: 10px; height: 2px; margin-right: 6px; vertical-align: middle; background: var(--teal); }
.lg--tight { background: var(--amber); } .lg--off { background: var(--dim); }
@media (max-width: 480px) { .day__meta { display: none; } .day { aspect-ratio: 1; padding: 5px; } .cal__dow, .cal__grid { gap: 4px; } }

.times { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 420px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.times__empty { grid-column: 1 / -1; font-size: 11px; color: var(--dim); padding: 30px 0; text-align: center; border: 1px dashed var(--line); margin: 0; }
.times__grp { grid-column: 1 / -1; font: 9px var(--f-mono); letter-spacing: .14em; color: var(--dim); margin: 6px 0 0; }
.slot { position: relative; height: 54px; display: grid; place-content: center; text-align: center; background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
  transition: border-color .2s, background .2s, transform .2s var(--ease); }
.slot b { font: 600 15px var(--f-mono); letter-spacing: 0; }
.slot small { font: 9px var(--f-mono); color: var(--mute); letter-spacing: .04em; }
.slot:hover { border-color: var(--gold); transform: translateY(-1px); }
.slot.is-sel { background: linear-gradient(100deg, var(--amber), var(--gold)); color: #140e00; border-color: transparent; }
.slot.is-sel small { color: #3a2a00; }

.console__details { display: grid; grid-template-columns: minmax(0, 1fr) 360px; border-top: 1px solid var(--line); }
.console__details > * { padding: 26px 24px; }
@media (max-width: 900px) { .console__details { grid-template-columns: 1fr; } .readout { border-left: 0 !important; border-top: 1px solid var(--line); } }
.form { display: grid; gap: 14px; align-content: start; }
.field { position: relative; }
.field input, .field textarea { width: 100%; padding: 22px 14px 8px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 0; outline: none; resize: vertical; transition: border-color .25s, background .25s; }
.field label { position: absolute; left: 14px; top: 15px; color: var(--mute); pointer-events: none; transition: .25s var(--ease); font-size: 15px; }
.field input:focus, .field textarea:focus { border-color: var(--gold); background: rgba(255, 198, 26, .04); }
.field input:not(:placeholder-shown) + label, .field input:focus + label,
.field textarea:not(:placeholder-shown) + label, .field textarea:focus + label { top: 6px; font: 10px var(--f-mono); letter-spacing: .08em; color: var(--gold); }
.field.is-bad input, .field.is-bad textarea { border-color: var(--danger); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 12px; background: none; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--mute); transition: .25s; }
.chip:hover { border-color: var(--line-2); color: var(--text); }
.chip.is-on { border-color: var(--teal); color: var(--teal); background: rgba(111, 202, 184, .08); }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--mute); cursor: pointer; }
.agree input { position: absolute; opacity: 0; }
.agree__box { flex: none; width: 20px; height: 20px; border: 1px solid var(--line-2); display: grid; place-items: center; margin-top: 1px; transition: .2s; }
.agree input:checked + .agree__box { background: var(--gold); border-color: var(--gold); }
.agree input:checked + .agree__box::after { content: ''; width: 9px; height: 5px; border: 2px solid #140e00; border-top: 0; border-right: 0; transform: rotate(-45deg) translateY(-1px); }
.agree input:focus-visible + .agree__box { outline: 2px solid var(--teal); outline-offset: 2px; }
.agree a { color: var(--gold); }

.readout { border-left: 1px solid var(--line); background: linear-gradient(180deg, rgba(111, 202, 184, .04), transparent); display: grid; align-content: start; gap: 16px; }
.readout__hd { font-size: 11px; color: var(--teal); }
.readout__dl { margin: 0; display: grid; gap: 0; font-size: 12px; }
.readout__dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.readout__dl dt { color: var(--dim); }
.readout__dl dd { margin: 0; text-align: right; color: var(--text); }
.readout__local dd { color: var(--teal); }
.readout__total { display: flex; align-items: baseline; justify-content: space-between; padding: 6px 0 4px; }
.readout__total span { font-size: 11px; color: var(--mute); }
.readout__total b { font: 700 38px var(--f-mono); color: var(--gold); letter-spacing: -.01em; text-shadow: 0 0 24px rgba(255, 170, 30, .35); }
.readout__fine { font-size: 9px; color: var(--dim); margin: 0; text-align: center; }

/* result screens */
.console__result { padding: clamp(28px, 5vw, 60px); border-top: 1px solid var(--line); }
.res { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
@media (max-width: 860px) { .res { grid-template-columns: 1fr; } }
.res h3 { font: clamp(22px, 2.6vw, 34px)/1.15 var(--f-wide); margin: 10px 0 16px; }
.res p { color: var(--mute); margin: 0 0 14px; }
.res__code { display: inline-flex; gap: 10px; align-items: center; padding: 10px 14px; border: 1px dashed var(--gold); font: 700 20px var(--f-mono); color: var(--gold); letter-spacing: .12em; }
.res__code button { background: none; border: 1px solid var(--line-2); font: 10px var(--f-mono); padding: 4px 8px; color: var(--mute); }
.pay { display: grid; gap: 12px; }
.pay__opt { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
.pay__opt:hover { border-color: var(--gold); transform: translateX(4px); }
.pay__ic { width: 44px; height: 44px; display: grid; place-items: center; font: 700 18px var(--f-mono); color: #140e00; background: var(--gold); }
.pay__ic--cash { background: var(--teal); }
.pay__opt b { display: block; font-size: 17px; }
.pay__opt small { font: 11px var(--f-mono); color: var(--mute); }
.pay__qr { width: 120px; height: 120px; background: #f3eee4; padding: 8px; }
.timer { display: inline-flex; gap: 8px; align-items: center; font: 12px var(--f-mono); color: var(--amber); }
.timer b { font-size: 18px; color: var(--text); }

/* contact */
.contact__inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding-top: 40px; border-top: 1px solid var(--line); }
@media (max-width: 820px) { .contact__inner { grid-template-columns: 1fr; } }
.lines { margin: 0; display: grid; gap: 12px; font-size: 15px; min-width: min(100%, 460px); }
.lines > div { display: flex; align-items: center; gap: 14px; }
.lines dt { color: var(--gold); width: 40px; font-weight: 700; }
.lines i { flex: 1; border-bottom: 2px dotted rgba(243, 238, 228, .25); }
.lines dd { margin: 0; }
.lines a { text-decoration: none; transition: color .2s; }
.lines a:hover { color: var(--gold); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 26px var(--pad) 34px; font-size: 11px; color: var(--dim); border-top: 1px solid var(--line); position: relative; }
.foot::before { content: ''; position: absolute; inset: -1px 0 auto; height: 3px; background: linear-gradient(90deg, var(--teal), var(--amber) 55%, var(--gold)); }
.foot a { color: var(--mute); text-decoration: none; } .foot a:hover { color: var(--gold); }

/* right-click modal */
.rc { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(5, 4, 3, .6); backdrop-filter: blur(6px); }
.rc[hidden] { display: none; }
.rc__box { position: relative; min-width: min(90vw, 360px); padding: 38px 34px 30px; text-align: center; background: var(--bg2); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(255, 150, 20, .45); animation: rcIn .45s var(--ease); }
@keyframes rcIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.rc__hex { width: 50px; height: 58px; margin: 0 auto 16px; fill: #15110a; stroke: var(--gold); stroke-width: 2; }
.rc__hex text { fill: var(--text); stroke: none; font: 12px var(--f-wide); }
.rc__t { font: 15px var(--f-wide); letter-spacing: .06em; margin: 0; }
.rc__x { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; background: none; border: 0; font-size: 24px; color: var(--mute); }
.rc__x:hover { color: var(--gold); }
.rc__timer { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--amber), var(--gold)); transform-origin: left; animation: rcT 6s linear forwards; }
@keyframes rcT { to { transform: scaleX(0); } }

.noscript { position: fixed; inset: auto 0 0; z-index: 400; margin: 0; padding: 14px; background: var(--gold); color: #140e00; text-align: center; font-weight: 700; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 250; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; background: var(--bg2); border: 1px solid var(--amber); font: 12px var(--f-mono); color: var(--text); transition: .35s var(--ease); max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* reveal defaults (JS animates in; without JS everything is visible) */
.js [data-rv] { opacity: 0; transform: translateY(26px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-rv] { opacity: 1; transform: none; }
  .grain { display: none; }
}
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.cal__nav[hidden] { display: none; }
.cal__head { justify-content: center; }
@media (max-width: 900px) { .stage__hud { display: none; } }
.btn--ghost { clip-path: none; }
.res > * { min-width: 0; }
.res h3, .res p { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .console__result { padding: 22px 16px; }
  .pay__opt { grid-template-columns: auto 1fr; }
  .pay__opt > svg { display: none; }
  .pay__qr { grid-column: 1 / -1; justify-self: center; width: 150px; height: 150px; }
  .readout__dl > div { flex-wrap: wrap; }
}
