/* Shared styles for every funnel page: brand, background, header, eyebrow, buttons,
   footer and cookie banner. Page-specific styles stay in each page's own <style>. */

/* ---------- Brand ----------
   Colour follows 60-30-10: cool graphite (60) / white + deep neutrals (30) / orange accent (10).
   The greys lean slightly blue, the complement of orange, so the accent reads warm and rich. */
:root {
  --primary: #D35F14;                /* orange: CTA, underline, seconds drain line, hairlines only */
  --secondary: #FFFFFF;              /* white */
  --ink-2: rgba(255, 255, 255, .72); /* secondary text */
  --ink-3: rgba(255, 255, 255, .5);  /* labels */
  --line: rgba(255, 255, 255, .1);   /* hairlines */
  --bg: #1d1e23;                     /* graphite (fallback under the gradient) */

  /* Headlines: Georgia, always bold. Gelasio (a Georgia lookalike) only
     downloads on devices without Georgia, e.g. Android. */
  --font-headline: Georgia, "Gelasio", "Times New Roman", serif;
  /* Everything else: Poppins, never bold. */
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background: var(--bg);
  color: var(--secondary);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 700;
}

/* Body text is never bold, even inside <strong>, <b>, buttons or form fields */
b, strong, th, button, input, select, textarea, label {
  font-family: var(--font-body);
  font-weight: 400;
}

/* ---------- Background: graphite pinstripe with fine grain ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(160deg, #3a3c44 0%, #2a2c32 38%, #1f2025 70%, #18191d 100%);
}

/* pinstripes: fine chalk-white lines, like a tailored suit cloth */
.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, .07) 0 1px,
    transparent 1px 22px);
}

/* fine film grain so the gradient never bands (also softens the stripes like woven cloth) */
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .07;
  mix-blend-mode: overlay;
  background: 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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  padding: 28px 40px;
}

.logo {
  display: block;
  height: 56px;
  width: auto;
}


/* Eyebrow: spaced caps between thin orange rules */
.eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 0;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--primary);
}

/* letter-spacing leaves a trailing gap after the last letter; offset it so the rules sit evenly */
.eyebrow::after { margin-left: -.32em; }


.section-title {
  margin: 22px 0 0;
  color: var(--secondary);
  font-size: 40px;
  line-height: 1.15;
  text-align: center;
  letter-spacing: -.01em;
}


/* Save my seat button */
.cta {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: calc(100% + var(--cta-extra));
  height: 66px;
  margin: 34px 0 0 calc(var(--cta-extra) / -2);
  overflow: hidden;
  border-radius: 12px;
  background: var(--primary);
  box-shadow: 0 14px 30px rgba(211, 95, 20, .32), inset 0 1px 0 rgba(255, 255, 255, .18);
  color: var(--secondary);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .24em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease;
}


/* a soft band of light that sweeps across every few seconds */
.cta::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .25), transparent);
  transform: skewX(-20deg);
  animation: sheen 4.5s ease-in-out 1.5s infinite;
  pointer-events: none;
}

@keyframes sheen {
  0%   { left: -40%; }
  35%  { left: 120%; }
  100% { left: 120%; }
}

.cta-arrow {
  width: 18px;
  height: 18px;
  transition: transform .2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(211, 95, 20, .4), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.cta:hover .cta-arrow { transform: translateX(4px); }
.cta:active { transform: translateY(0); }

.cta:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .cd-colon { animation: none; }
  .flip .drain, .cta, .cta-arrow { transition: none; }
  .cta::after { display: none; }
}


/* ---------- Footer: disclaimers, legal links, business details ---------- */
.site-footer {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 24px 56px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-logo { height: 40px; width: auto; opacity: .9; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--ink-2);
  font-size: 11px;
  letter-spacing: .24em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}

.footer-links a:hover { color: var(--secondary); }

.disclaimers {
  margin-top: 40px;
  text-align: left;
}

.disclaimers p {
  margin: 0 0 16px;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.75;
}

.disclaimers strong { color: var(--ink-2); }

.copyright {
  margin: 32px 0 0;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: .08em;
}

.copyright a { color: inherit; }

/* ---------- Cookie consent (UK / EU visitors only) ---------- */
.consent {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(720px, calc(100% - 32px));
  padding: 18px 20px 18px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(28, 29, 34, .96);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  transform: translate(-50%, 140%);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}

.consent.show { transform: translate(-50%, 0); }

.consent p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.6;
}

.consent a { color: var(--secondary); text-decoration-color: var(--primary); text-underline-offset: 3px; }

.consent-actions { display: flex; gap: 10px; flex: none; }

.consent button {
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
}

.consent .accept { border: 0; background: var(--primary); color: var(--secondary); }
.consent .decline { border: 1px solid rgba(255, 255, 255, .3); background: none; color: var(--ink-2); }
.consent .decline:hover { border-color: rgba(255, 255, 255, .7); color: var(--secondary); }

.footer-links button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  cursor: pointer;
}
.footer-links button:hover { color: var(--secondary); }

@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }


/* ---------- Results: framed "exhibits" that open full size ---------- */
.results {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 130px;
}

.exhibits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}

.exhibit {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: center;
  cursor: zoom-in;
}

/* the print, with a thin white frame line set just outside it */
.exhibit-frame {
  position: relative;
  display: block;
  margin: 8px;
  aspect-ratio: 4 / 5;
  transition: transform .35s ease;
}

.exhibit-frame::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(255, 255, 255, .35);
  transition: border-color .35s ease;
  pointer-events: none;
}

.exhibit-frame img,
.exhibit-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
}

/* stand-in until the real screenshots arrive */
.exhibit-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, #2c2e34, #1b1c20);
  color: var(--ink-3);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.exhibit-placeholder svg { width: 34px; height: 34px; opacity: .6; }

.exhibit:hover .exhibit-frame,
.exhibit:focus-visible .exhibit-frame { transform: translateY(-4px); }
.exhibit:hover .exhibit-frame::after,
.exhibit:focus-visible .exhibit-frame::after { border-color: rgba(255, 255, 255, .8); }
.exhibit:focus-visible { outline: none; }

.exhibit-label {
  display: block;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.exhibit-label b {
  color: var(--primary);
  font-weight: 400;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 64px 72px;
  background: rgba(14, 15, 18, .9);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}

.lightbox.open { opacity: 1; visibility: visible; }

.lightbox-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 100%;
  max-height: 100%;
}

.lightbox-media {
  width: min(560px, 80vw);
  aspect-ratio: 4 / 5;
  max-height: calc(100vh - 180px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.lightbox-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-media.is-img { aspect-ratio: auto; width: auto; }
.lightbox-media.is-img img { width: auto; max-width: 80vw; height: auto; max-height: calc(100vh - 180px); }

.lightbox-caption {
  color: var(--ink-2);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: var(--secondary);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.lightbox button:hover { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); }
.lightbox button svg { width: 18px; height: 18px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* gentle staggered rise-in (only when JS is running) */
.js .exhibits li { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .exhibits li.seen { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .exhibits li { opacity: 1; transform: none; transition: none; }
  .exhibit-frame, .lightbox { transition: none; }
}

/* ---------- Student story: framed video, loads YouTube only when played ---------- */
.student {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 24px 130px;
}

.video-frame {
  position: relative;
  margin: 72px 0 0;
}

/* thin white frame line sitting right on the video's edge, so the video fills its outline */
.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .45);
  pointer-events: none;
}

.video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #111214;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
  cursor: pointer;
}

.video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .6s ease;
  filter: brightness(.82);
}

.video:hover img { transform: scale(1.02); filter: brightness(.95); }

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* play button: orange disc with a fine white inner ring, like the CTA */
.play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45), 0 0 0 10px rgba(211, 95, 20, .18);
  transform: translate(-50%, -50%);
  transition: transform .25s ease, box-shadow .25s ease;
}


.play svg { width: 26px; height: 26px; margin-left: 4px; color: #fff; }

.video:hover .play {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5), 0 0 0 14px rgba(211, 95, 20, .2);
}

.video:focus-visible { outline: 2px solid var(--secondary); outline-offset: 14px; }

.student-caption {
  max-width: 620px;
  margin: 48px auto 0;
  text-align: center;
}

.student-name {
  display: block;
  color: var(--secondary);
  font-size: 13px;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.student-caption p {
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.75;
}

@media (prefers-reduced-motion: reduce) {
  .video img, .play { transition: none; }
}

/* ---------- Date line, countdown and first CTA ---------- */
/* Event date line: day, date and time in Eastern */
.event-date {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 48px 0 0;
  color: var(--secondary);
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.event-date .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
}

/* Groups the countdown and first CTA so the button can size off the countdown's width */
.timer-cta {
  --cta-extra: 56px; /* how much wider the button is than the countdown */
  width: max-content;
  margin: 0 auto;
}

/* Flip-card countdown: dark cards with white numerals */
.countdown {
  --w: 88px;
  --h: 100px;
  --fs: 54px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cd-unit small {
  color: var(--secondary);
  opacity: .85;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.flip {
  position: relative;
  width: var(--w);
  height: var(--h);
  perspective: 400px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .55), /* thin white border */
              0 12px 28px rgba(0, 0, 0, .28), 0 2px 4px rgba(0, 0, 0, .2);
  color: var(--secondary);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: var(--fs);
  font-variant-numeric: tabular-nums;
}

.flip .half {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  overflow: hidden;
  backface-visibility: hidden;
}

.flip .half span {
  position: absolute;
  left: 0;
  right: 0;
  height: var(--h);
  line-height: var(--h);
  text-align: center;
}

.flip .top, .flip .flap-top {
  top: 0;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(#30323a, #25272d);
}
.flip .top span, .flip .flap-top span { top: 0; }

.flip .bottom, .flip .flap-bottom {
  bottom: 0;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(#1f2025, #17181c);
}
.flip .bottom span, .flip .flap-bottom span { bottom: 0; }

/* hinge line across the middle of each card */
.flip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% - 1px);
  height: 2px;
  background: rgba(0, 0, 0, .55);
  z-index: 5;
}

/* the flaps only exist while a number is turning over */
.flip .flap-top, .flip .flap-bottom { display: none; z-index: 3; }
.flip.go .flap-top, .flip.go .flap-bottom { display: block; }
.flip .flap-top { transform-origin: bottom; }
.flip .flap-bottom { transform-origin: top; transform: rotateX(90deg); }
.flip.go .flap-top { animation: flip-top .28s ease-in forwards; }
.flip.go .flap-bottom { animation: flip-bottom .28s ease-out .28s forwards; }

@keyframes flip-top { to { transform: rotateX(-90deg); } }
@keyframes flip-bottom { to { transform: rotateX(0); } }

/* seconds card: a thin orange line that drains every minute */
.flip .drain {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform-origin: left;
  transition: transform 1s linear;
  z-index: 6;
}

/* colons that tick with the seconds */
.cd-colon {
  display: flex;
  align-items: center;
  height: var(--h);
  color: rgba(255, 255, 255, .55);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: calc(var(--fs) * .7);
  animation: tick 1s steps(1) infinite;
}

@keyframes tick { 50% { opacity: .3; } }

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .bg::before { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 16px); }
  .site-header { padding: 18px 20px; }
  .logo { height: 40px; }
  .eyebrow { font-size: 11px; gap: 12px; }
  .eyebrow::before, .eyebrow::after { width: 24px; }
  .section-title { font-size: 28px; }
  .cta { height: 56px; font-size: 14px; letter-spacing: .2em; border-radius: 10px; }
  .site-footer { padding: 56px 16px 44px; }
  .footer-links { gap: 20px; flex-wrap: wrap; }
  .disclaimers p { font-size: 11px; }
  .consent { flex-direction: column; align-items: stretch; gap: 14px; bottom: 12px; padding: 18px; }
  .consent-actions { justify-content: stretch; }
  .consent button { flex: 1; }
  .event-date { margin-top: 36px; font-size: 11px; letter-spacing: .14em; }
  .countdown { --w: 62px; --h: 72px; --fs: 38px; gap: 6px; }
  .flip { border-radius: 8px; }
  .cd-unit small { font-size: 9px; letter-spacing: .16em; }
  .timer-cta { --cta-extra: 24px; }
  .results { padding: 24px 16px 96px; }
  .exhibits { grid-template-columns: repeat(2, 1fr); gap: 32px 18px; margin-top: 44px; }
  .exhibit-label { margin-top: 16px; font-size: 10px; letter-spacing: .2em; }
  .lightbox { padding: 72px 16px 88px; }
  .lightbox-media { width: 100%; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
  .student { padding: 24px 16px 96px; }
  .video-frame { margin-top: 48px; }
  .play { width: 64px; height: 64px; box-shadow: 0 10px 24px rgba(0, 0, 0, .45), 0 0 0 7px rgba(211, 95, 20, .18); }
  .play svg { width: 20px; height: 20px; }
  .student-caption { margin-top: 36px; }
  .student-caption p { font-size: 15px; }
}

/* the smallest phones (iPhone SE 1st gen and similar, 320px): shrink the flip countdown so the page never runs wider than the screen */
@media (max-width: 360px) {
  .countdown { --w: 54px; --h: 64px; --fs: 32px; gap: 4px; }
  .cd-unit small { font-size: 8px; letter-spacing: .12em; }
  .timer-cta { --cta-extra: 16px; }
  .cta { letter-spacing: .14em; }
}


/* ---------- The receipts as real bank statements: each month's statement on paper ---------- */
.ledger .lg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 36px; margin-top: 56px; align-items: start; }
.ledger .exhibit { text-align: left; }
.lg-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.lg-head b { color: var(--secondary); font-family: var(--font-headline); font-weight: 700; font-size: 20px; }
.lg-head em { color: #EE8A47; font-style: normal; font-size: 15px; font-variant-numeric: tabular-nums; }
/* each statement sits like a printout on the desk, straightening as you point at it */
.ledger .exhibit-frame { aspect-ratio: auto; margin: 0; overflow: hidden; border-radius: 4px; background: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .3); transform: rotate(-.6deg); transition: transform .3s ease, box-shadow .3s ease; }
.ledger li:nth-child(even) .exhibit-frame { transform: rotate(.5deg); }
.ledger .exhibit-frame::after { display: none; }
.ledger .exhibit-frame img { height: auto; object-fit: contain; }
.ledger .exhibit:hover .exhibit-frame, .ledger .exhibit:focus-visible .exhibit-frame { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(0, 0, 0, .5), 0 0 0 2px var(--primary); }
.ledger .exhibit-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* read out, and shown as the caption when opened full size */
.lg-note { margin: 28px 0 0; color: var(--ink-3); font-size: 12px; letter-spacing: .14em; text-align: center; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) {
  .ledger .exhibit-frame { transition: none; }
}
@media (max-width: 860px) {
  .ledger .lg-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
  .lightbox-media.is-img img { max-width: 94vw; }
}

/* Chosen layout: a ledger. One column, a timeline of months and amounts down the left, each statement large beside it,
   with an orange highlighter drawn over its deposits line as it scrolls into view */
.ledger .lg-grid { position: relative; grid-template-columns: minmax(0, 1fr); gap: 34px; max-width: 1040px; margin-left: auto; margin-right: auto; }
.ledger .lg-grid::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(rgba(255, 255, 255, .12), var(--primary)); }
.ledger .exhibit { position: relative; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 32px; align-items: center; padding-left: 40px; }
.ledger .exhibit::before { content: ""; position: absolute; left: 2px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #1e1f24; border: 2px solid var(--primary); }
.ledger li:last-child .exhibit::before { background: var(--primary); box-shadow: 0 0 0 6px rgba(211, 95, 20, .2); }
.ledger .lg-head { flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; padding: 0; border: 0; }
.ledger .lg-head b { font-size: 28px; }
.ledger .lg-head em { font-family: var(--font-headline); font-weight: 700; font-size: 22px; }
.ledger .exhibit-frame, .ledger li:nth-child(even) .exhibit-frame { position: relative; transform: none; }
.hl-mark { position: absolute; z-index: 1; left: calc(var(--hx) - .6%); top: calc(var(--hy) - 1.5%); width: calc(var(--hw) + 1.2%); height: calc(var(--hh) + 3%); border-radius: 3px 8px 4px 9px; background: rgba(238, 138, 71, .45); mix-blend-mode: multiply; transform: scaleX(0); transform-origin: left; transition: transform .8s cubic-bezier(.5, 0, .2, 1) .35s; pointer-events: none; }
.ledger li.seen .hl-mark { transform: none; }
@media (prefers-reduced-motion: reduce) { .hl-mark { transform: none; transition: none; } }
@media (max-width: 860px) {
  .ledger .exhibit { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-left: 34px; }
  .ledger .exhibit::before { top: 12px; margin-top: 0; }
  .ledger .lg-head { flex-direction: row; align-items: baseline; justify-content: space-between; }
  .ledger .lg-head b { font-size: 22px; }
  .ledger .lg-head em { font-size: 17px; }
}
