/* presentation — same token system as the site */
@import url("../fonts/fonts.css");

:root {
  --paper: #fcfcfa; --ink: #191d21; --muted: #5a6167; --accent: #e4570a;
  --line: #e5e3de; --label: #fff;
  --disp: "Overpass", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "Overpass Mono", "IBM Plex Mono", monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  background: var(--paper); color: var(--ink); font-family: var(--body);
  overflow: hidden; -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.deck { position: fixed; inset: 0 0 64px 0; }
.slide {
  position: absolute; inset: 0; display: none;
  flex-direction: column; justify-content: center;
  padding: 6vh 8vw; max-width: 1150px; margin: 0 auto;
  overflow-y: auto;
}
.slide.on { display: flex; }
@media (prefers-reduced-motion: no-preference) {
  .slide.on { animation: slidein 280ms ease-out; }
  @keyframes slidein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* slide code stamp — top-left, like a sheet label */
.slide::before {
  content: attr(data-code);
  position: absolute; top: 4vh; left: 8vw;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; color: var(--accent);
  border-bottom: 2px solid var(--ink); padding-bottom: 8px; padding-right: 40px;
}

.eyebrow { font-family: var(--mono); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 20px; }
h1 { font-family: var(--disp); font-weight: 800; font-size: clamp(2.6rem, 7.5vw, 5.2rem); line-height: 1.02; letter-spacing: -0.025em; }
h1.smaller { font-size: clamp(2.2rem, 6vw, 4rem); }
h1 .dot { color: var(--accent); }
h2 { font-family: var(--disp); font-weight: 800; font-size: clamp(1.9rem, 4.5vw, 3rem); letter-spacing: -0.02em; margin-bottom: 20px; }
.slide p { max-width: 62ch; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.slide p + p { margin-top: 14px; }
.sub { font-size: 1.25rem; margin-top: 22px; }
.hint { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; margin-top: 38px; }
.big { font-family: var(--disp); font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.15; letter-spacing: -0.015em; color: var(--ink) !important; margin-bottom: 18px; }
.mail { font-family: var(--mono); }

.quad { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.q { background: var(--label); border: 1px solid var(--line); border-radius: 4px; padding: 20px 22px; box-shadow: 0 1px 2px rgba(25,29,33,.07), 0 4px 14px rgba(25,29,33,.05); }
.q h3 { font-family: var(--mono); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 10px; }
.q ul { list-style: none; }
.q li { padding: 4px 0; font-size: 0.98rem; color: var(--muted); }
.q li::before { content: "— "; color: var(--ink); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split figure { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; box-shadow: 0 4px 20px rgba(25,29,33,.1); }
.split img { width: 100%; max-height: 58vh; object-fit: cover; display: block; }

.receipt { background: var(--label); border: 1px solid var(--line); border-radius: 4px; font-family: var(--mono); font-size: 0.88rem; padding: 22px 24px; box-shadow: 0 4px 20px rgba(25,29,33,.08); }
.receipt .rhead { font-weight: 600; letter-spacing: 0.14em; font-size: 0.7rem; color: var(--muted); border-bottom: 1px dashed var(--line); padding-bottom: 10px; margin-bottom: 6px; }
.receipt ul { list-style: none; }
.receipt li { padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--ink); }
.receipt li:last-child { border-bottom: none; }
.receipt li::before { content: "✓ "; color: var(--accent); font-weight: 600; }

.peek { margin: 18px 0 24px; max-width: 640px; }
.peek a {
  display: grid; grid-template-columns: 105px 1fr; gap: 14px; align-items: baseline;
  background: var(--label); border: 1px solid var(--line); border-radius: 4px;
  padding: 12px 16px; margin-bottom: 8px; text-decoration: none;
  box-shadow: 0 1px 2px rgba(25,29,33,.07);
}
.peek a:hover { border-color: var(--accent); }
.peek .d { font-family: var(--mono); font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.peek .t { font-family: var(--disp); font-weight: 700; font-size: 0.98rem; line-height: 1.35; }

.btn {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.07em;
  border: 1.5px solid var(--ink); color: var(--ink); padding: 9px 16px; border-radius: 3px;
  text-decoration: none; display: inline-block;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }

.schem { margin-top: 26px; }
.schem img { width: 100%; max-height: 54vh; object-fit: contain; border: 1px solid var(--line); border-radius: 4px; background: #fcfcfa; }

/* HUD */
.hud {
  position: fixed; left: 0; right: 0; bottom: 0; height: 64px;
  display: flex; align-items: center; gap: 20px; padding: 0 24px;
  border-top: 1px solid var(--line); background: var(--paper);
}
.nav {
  font-family: var(--mono); font-size: 1rem; font-weight: 600;
  background: none; border: 1.5px solid var(--ink); color: var(--ink);
  border-radius: 3px; width: 42px; height: 34px; cursor: pointer;
}
.nav:hover { border-color: var(--accent); color: var(--accent); }
.hud .home {
  font-family: var(--disp, sans-serif); font-weight: 800; font-size: 0.92rem;
  letter-spacing: 0.02em; text-decoration: none; color: var(--ink); white-space: nowrap;
}
.hud .home em { font-style: normal; color: var(--accent); }
.hud .home:hover { color: var(--accent); }
.hud .exit {
  font-family: var(--mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-decoration: none; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 3px;
  padding: 8px 12px; white-space: nowrap;
}
.hud .exit:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 600px) { .hud .home { display: none; } }
.progress { flex: 1; display: flex; gap: 6px; align-items: flex-end; height: 16px; }
.progress i { flex: 1; background: var(--line); height: 5px; border-radius: 1px; }
.progress i.done { background: var(--ink); height: 9px; }
.progress i.cur { background: var(--accent); height: 16px; }

@media (max-width: 760px) {
  .quad, .split { grid-template-columns: 1fr; gap: 18px; }
  .split img { max-height: 32vh; }
  .slide { padding: 10vh 7vw 4vh; justify-content: flex-start; }
}
