/* ============================================================
   Kaspersky Club — лента истории
   Брендовая система: тёмный фон, мятно-зелёный акцент,
   сине-зелёное свечение, гексагональная сетка, гео-гротеск.
   ============================================================ */

@font-face {
  font-family: "Kaspersky Sans Text";
  src: url("fonts/KasperskySansText-Medium.woff2") format("woff2");
  font-weight: 400 500; font-style: normal; font-display: block;
}
@font-face {
  font-family: "Kaspersky Sans Text";
  src: url("fonts/KasperskySansText-DemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: block;
}
@font-face {
  font-family: "Kaspersky Sans Text";
  src: url("fonts/KasperskySansText-ExtraBold.woff2") format("woff2");
  font-weight: 700 800; font-style: normal; font-display: block;
}
@font-face {
  font-family: "Kaspersky Sans Display";
  src: url("fonts/KasperskySansDisplay-Rg.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: block;
}
@font-face {
  font-family: "Kaspersky Sans Display";
  src: url("fonts/KasperskySansDisplay-Md.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: block;
}
@font-face {
  font-family: "Kaspersky Sans Display";
  src: url("fonts/KasperskySansDisplay-SmBd.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: block;
}
@font-face {
  font-family: "Kaspersky Sans Display";
  src: url("fonts/KasperskySansDisplay-Bold.woff2") format("woff2");
  font-weight: 700 800; font-style: normal; font-display: block;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-variable-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-variable-cyrillic.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: optional;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --bg:        #0b0e12;
  --bg-2:      #11151b;
  --panel:     #151b22;
  --panel-2:   #1a212a;
  --line:      rgba(255,255,255,.10);
  --line-2:    rgba(255,255,255,.06);

  --green:     #1ee9a4;
  --green-hi:  #5cffc2;
  --green-dim: #0f9c6e;
  --blue:      #3b5bff;
  --blue-2:    #6b46ff;

  --ink:       #ffffff;
  --muted:     rgba(255,255,255,.62);
  --faint:     rgba(255,255,255,.38);

  --maxw:      1240px;
  --font: "Kaspersky Sans Text", "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Kaspersky Sans Display", "Kaspersky Sans Text", "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

img { display: block; max-width: 100%; }

::selection { background: #1ee9a4; color: #06231b; }
::-moz-selection { background: #1ee9a4; color: #06231b; }
.photo-modal-inner::-webkit-scrollbar { width: 8px; }
.photo-modal-inner::-webkit-scrollbar-track { background: transparent; }
.photo-modal-inner::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 8px; }
.photo-modal-inner::-webkit-scrollbar-thumb:hover { background: rgba(30,233,164,.5); }
.photo-modal-inner { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

/* ---------- atmospheric background layers ---------- */
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-grad {
  position: absolute; inset: -20% -10% auto -10%; height: 120vh;
  background:
    radial-gradient(60% 50% at 12% 8%, rgba(30,233,164,.22), transparent 60%),
    radial-gradient(55% 45% at 78% 22%, rgba(59,91,255,.20), transparent 62%),
    radial-gradient(40% 40% at 50% 60%, rgba(107,70,255,.10), transparent 70%);
  filter: blur(8px);
}
.bg-hex {
  display: none;
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cg fill='none' stroke='%231ee9a4' stroke-opacity='0.10' stroke-width='1'%3E%3Cpath d='M28 0l24 14v28L28 56 4 42V14z'/%3E%3Cpath d='M28 48l24 14v28L28 104 4 90V62z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 96px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 70%);
  opacity: .8;
}
.bg-grain { position:absolute; inset:0; opacity:.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); }

/* ---------- header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  transition: background .4s ease, border-color .4s ease, padding .3s ease;
  border-bottom: 1px solid transparent;
}
.hdr.scrolled {
  background: rgba(11,14,18,.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-2);
  padding: 12px 40px;
}
.hdr-logo { height: 26px; width: auto; }
.hdr-right { display: flex; align-items: center; gap: 28px; }
.hdr-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 500; }
.hdr-meta b { color: var(--green); font-weight: 700; }
.hdr-cta {
  font-family: var(--font); font-size: 14px; font-weight: 600; cursor: pointer;
  color: #052018; background: var(--green); border: none;
  padding: 11px 20px; border-radius: 4px; letter-spacing: -0.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.hdr-cta:hover { background: var(--green-hi); box-shadow: 0 8px 24px rgba(30,233,164,.22); }

/* ---------- hero ---------- */
.hero { position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: center; padding-top: 90px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; width: 100%; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--green); margin-bottom: 26px;
}
.hero-eyebrow::before { content:""; width: 26px; height: 1px; background: var(--green); display:inline-block; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(46px, 6.6vw, 104px); line-height: .94; font-weight: 700;
  letter-spacing: -0.035em; margin-bottom: 26px; text-wrap: balance;
}
.hero h1 .em { color: var(--green); display:inline-block; }
.hero-sub { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--muted); max-width: 460px; margin-bottom: 38px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn-primary {
  font-family: var(--font); font-size: 16px; font-weight: 600; cursor: pointer;
  color: #052018; background: var(--green); border: none;
  padding: 16px 30px; border-radius: 5px; display:inline-flex; align-items:center; gap:10px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.btn-primary:hover { background: var(--green-hi); box-shadow: 0 8px 22px rgba(30,233,164,.18); }
.btn-ghost {
  font-family: var(--font); font-size: 16px; font-weight: 500; cursor: pointer;
  color: var(--ink); background: transparent; border: 1px solid var(--line);
  padding: 16px 26px; border-radius: 5px; transition: border-color .2s, background .2s;
  text-decoration: none;
}
.btn-ghost:hover { border-color: var(--green); background: rgba(30,233,164,.06); }

.hero-stats { display: flex; gap: 40px; margin-top: 56px; }
.hero-stat .num { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.hero-stat .num span { color: var(--green); }
.hero-stat .lbl { font-size: 13px; color: var(--faint); margin-top: 4px; }

/* balloon */
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }
.balloon-glow {
  position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,233,164,.4), rgba(59,91,255,.12) 55%, transparent 72%);
  filter: blur(30px);
}
.balloon {
  position: relative; width: 78%; max-width: 440px; z-index: 2;
  filter: drop-shadow(0 40px 70px rgba(0,0,0,.55)) drop-shadow(0 0 60px rgba(30,233,164,.18));
  animation: float 7s ease-in-out infinite;
  will-change: transform;
}
@keyframes float {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50%     { transform: translateY(-26px) rotate(2deg); }
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--faint); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; z-index: 3;
}
.scroll-cue .mouse { width: 22px; height: 34px; border: 1.5px solid var(--line); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after { content:""; position:absolute; top:6px; left:50%; transform:translateX(-50%); width:3px; height:6px; border-radius:2px; background: var(--green); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0%{opacity:0; transform: translate(-50%,0);} 30%{opacity:1;} 100%{opacity:0; transform: translate(-50%,10px);} }

/* ---------- section heading ---------- */
.timeline-section { position: relative; z-index: 1; padding: 30px 0 120px; }
.sec-head { text-align: center; margin-bottom: 30px; }
.sec-kicker { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.sec-title { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 50px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; }
.sec-desc { color: var(--muted); max-width: 560px; margin: 16px auto 0; font-size: 16px; line-height: 1.5; }

/* ---------- year ribbon (the "лента") ---------- */
.ribbon-stick { position: sticky; top: 12px; z-index: 50; padding-top: 16px; }
.ribbon {
  position: relative; background: rgba(13,17,22,.82);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line-2); border-radius: 16px;
  padding: 18px 14px 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,.4);
}
.ribbon-track { position: relative; overflow-x: auto; overflow-y: visible; scrollbar-width: none; padding: 28px 8px 18px; cursor: grab; touch-action: pan-x; }
.ribbon-track:active { cursor: grabbing; }
.ribbon-arrow {
  position: absolute; top: 50%; transform: translateY(-6px); z-index: 5;
  width: 20px; height: 20px; border-radius: 0;
  background: none; border: none;
  color: var(--faint); display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: .5; transition: color .15s, opacity .15s;
}
.ribbon-arrow:hover { color: var(--green); opacity: 1; }
.ribbon-arrow-left { left: -18px; }
.ribbon-arrow-right { right: -18px; }
.ribbon { position: relative; }
.ribbon-track::-webkit-scrollbar { display: none; }
.ribbon-rail { position: relative; display: flex; align-items: flex-start; gap: 0; min-width: max-content; }
/* connecting line */
.ribbon-rail::before {
  content:""; position: absolute; left: 28px; right: 28px; top: 8px; height: 2px;
  background: linear-gradient(90deg, var(--line), var(--line));
}
.ribbon-rail::after {
  content:""; position: absolute; left: 28px; top: 8px; height: 2px;
  width: var(--progress, 0%);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green-dim), var(--green));
  box-shadow: 0 0 8px rgba(30,233,164,.5);
  transition: width .5s cubic-bezier(.5,0,.1,1);
}
.yr {
  position: relative; z-index: 2; flex: 0 0 auto; width: 72px;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  background: none; border: none; cursor: pointer; padding: 0; font-family: var(--font);
  color: var(--faint); transition: color .25s;
}
.yr .dot {
  width: 16px; height: 16px; border-radius: 50%; background: var(--bg-2);
  border: 2px solid var(--line); transition: all .3s cubic-bezier(.5,0,.1,1); position: relative;
  z-index: 2;
}
.yr .num { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; transition: color .25s; min-height: 18px; display: flex; align-items: center; }
.yr.prologue .num { font-size: 15px; }
.year-big .prologue-mark { color: var(--green); }
.prologue-mark-img { width: 250px; height: 176px; max-width: 100%; display: block; }
.yr .cal { font-size: 10.5px; color: var(--faint); letter-spacing: .01em; transition: color .25s; }
.yr.filled { color: var(--ink); cursor: pointer; }
.yr.filled .dot { border-color: var(--green-dim); background: var(--bg-2); box-shadow: inset 0 0 0 20px rgba(30,233,164,.14); }
@media (hover: hover) and (pointer: fine) {
  .yr.filled:hover .dot { border-color: var(--green); box-shadow: 0 0 0 5px rgba(30,233,164,.10); }
  .yr.filled:hover .num { color: var(--green-hi); }
}
.yr.active .num { color: var(--green); }
.yr.active .cal { color: var(--muted); }
.yr.active .dot {
  background: var(--green); border-color: var(--green);
  box-shadow: 0 0 0 5px rgba(30,233,164,.18), 0 0 22px rgba(30,233,164,.7);
  transform: scale(1.18);
}
.yr.soon { cursor: not-allowed; opacity: .55; }
.yr.soon .dot { border-style: dashed; }
.yr-hint { display:flex; align-items:center; justify-content:center; gap: 18px; margin-top: 14px; font-size: 12px; color: var(--faint); }
.yr-hint span { display:inline-flex; align-items:center; gap: 7px; }
.yr-hint i { width:9px; height:9px; border-radius:50%; display:inline-block; }
.dot-live { background: var(--green); box-shadow:0 0 8px var(--green); }
.dot-soon { border:1.5px dashed var(--line); }

/* ---------- year header ---------- */
.year-head { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: end; margin: 60px 0 18px; }
.year-big {
  font-size: clamp(64px, 11vw, 168px); font-weight: 700; line-height: .8; letter-spacing: -0.05em;
  background: linear-gradient(135deg, #fff 20%, var(--green) 120%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  position: relative;
}
.year-big sup { font-size: .26em; vertical-align: super; -webkit-text-fill-color: var(--green); margin-left: 12px; letter-spacing: 0.04em; word-spacing: 0.04em; }
.year-meta { padding-bottom: 12px; }
.year-range { display:inline-flex; align-items:center; gap:10px; font-size: 14px; font-weight:600; color: var(--green);
  border: 1px solid rgba(30,233,164,.3); background: rgba(30,233,164,.07); padding: 7px 14px; border-radius: 100px; margin-bottom: 16px; }
.year-title { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 12px; max-width: 620px; }
.year-summary { color: var(--muted); font-size: 15.5px; line-height: 1.55; max-width: 640px; }

.year-nav { display: flex; gap: 12px; margin: 8px 0 40px; }
.year-nav button {
  font-family: var(--font); font-size: 14px; font-weight: 500; cursor: pointer; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 11px 18px;
  display: inline-flex; align-items: center; gap: 9px; transition: all .2s;
}
.year-nav button:hover:not(:disabled) { border-color: var(--green); color: var(--green); background: rgba(30,233,164,.05); }
.year-nav button:disabled { opacity: .35; cursor: not-allowed; }
.year-nav .arr { font-size: 16px; }

/* ---------- timeline spine ---------- */
.tl { position: relative; padding: 16px 0 0; }
.tl::before {
  content:""; position: absolute; left: 50%; top: 0; height: var(--tl-end, 100%); width: 2px; transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--line) 40px, var(--line) calc(100% - 40px), transparent);
}
.tl-fill {
  position: absolute; left: 50%; top: 0; width: 2px; transform: translateX(-50%) scaleY(0);
  transform-origin: top; will-change: transform;
  background: linear-gradient(180deg, var(--green), var(--green-dim));
}
.tl-fill-tail {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-dim) calc(100% - 140px), transparent);
  box-shadow: 0 0 16px rgba(30,233,164,.55); height: 0; z-index: 1;
}
.tl-row { position: relative; margin-bottom: 30px; }
.tl-node {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: 18px; height: 18px; border-radius: 50%; background: var(--bg);
  border: 2px solid var(--line-2);
}
.tl-row.lit .tl-node { border-color: var(--green); background: var(--green); box-shadow: 0 0 0 5px rgba(30,233,164,.14), 0 0 20px rgba(30,233,164,.6); }
.tl-card {
  position: relative; background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px;
  opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease, border-color .3s, box-shadow .3s;
}
.tl-row.in .tl-card { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .tl-card:hover { border-color: rgba(30,233,164,.45); box-shadow: 0 22px 50px rgba(0,0,0,.45), 0 0 0 1px rgba(30,233,164,.12); transform: translateY(-3px); }
}
.tl-row.left  .tl-card { width: calc(50% - 48px); margin-right: auto; }
.tl-row.right .tl-card { width: calc(50% - 48px); margin-left: auto; }
/* connector emanates from the node center — guarantees vertical alignment */
.tl-node::after {
  content:""; position: absolute; top: 50%; transform: translateY(-50%);
  height: 2px; width: 42px; background: var(--line);
}
.tl-row.left  .tl-node::after { right: 100%; }
.tl-row.right .tl-node::after { left: 100%; }
.tl-row.lit .tl-node::after { background: linear-gradient(90deg, var(--green), var(--green-dim)); box-shadow: 0 0 10px rgba(30,233,164,.45); }
.tl-row.left.lit .tl-node::after { background: linear-gradient(270deg, var(--green), var(--green-dim)); }

.tl-date {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600;
  color: var(--green); margin-bottom: 12px; letter-spacing: .01em;
}
.tl-tag {
  font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em;
  border: 1px solid var(--line); border-radius: 100px; padding: 4px 10px;
  white-space: nowrap;
}
.tl-row.left .tl-head { flex-direction: row-reverse; }
.tl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tl-row.left .tl-card { text-align: right; }
.tl-row.left .tl-date { flex-direction: row-reverse; }
.tl-title { font-family: var(--font-display); font-size: 19.3px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.18; margin-bottom: 10px; }
.tl-text { font-size: 14.5px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.tl-text + .tl-text { margin-top: 12px; }
.tl-quote {
  margin: 14px 0 0; padding: 6px 0 4px 4px;
  position: relative;
}
.tl-quote-mark { position: static; display: block; font-size: 30px; line-height: 1; color: var(--green); font-family: Georgia, serif; opacity: .8; margin-bottom: 2px; }
.tl-quote {
  margin: 14px 0 0; padding: 4px 0 4px 4px;
  display: flex; gap: 12px; align-items: flex-start;
}
.tl-quote-mark { flex-shrink: 0; font-size: 40px; line-height: .6; color: var(--green); font-family: Georgia, serif; opacity: .85; }
.tl-quote-body { min-width: 0; }
.tl-quote p { font-size: 14.5px; line-height: 1.55; color: var(--ink); font-style: italic; text-wrap: pretty; margin: 0; }
.tl-quote cite { display: block; margin-top: 8px; font-size: 12.5px; font-style: normal; color: var(--faint); font-weight: 600; }

/* stats card variant — stacked like milestone badge */
.tl-stats-card { background: linear-gradient(160deg, rgba(30,233,164,.14), var(--bg-2) 70%); border-color: rgba(30,233,164,.3); }
.tl-stats-grid { display: flex; flex-direction: column; gap: 14px; margin: 14px 0 12px; }
.tl-stat-item { text-align: inherit; }
.tl-stat-num { font-size: 34px; font-weight: 700; letter-spacing: -.03em; color: var(--green); line-height: 1.1; }
.tl-stat-lbl { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.3; }

.tl-highlight-line { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: var(--green); line-height: 1.25; margin-bottom: 10px; }

/* Юбилейный итог — образ торта на месте большой цифры */
.finale-mark-img { width: 179px; height: 179px; }
.finale-spacer { height: 20vh; }
.finale-video-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 48px auto 70px; }
.finale-video-hex { position: relative; width: min(900px, 96%); aspect-ratio: 924/536; cursor: pointer; background: #265951; -webkit-mask-image: url(assets/hex-mask.svg); mask-image: url(assets/hex-mask.svg); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.finale-video-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finale-video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease, transform .45s ease, filter .45s ease; transform: scale(1); filter: blur(0); }
.finale-video-poster.hidden { opacity: 0; pointer-events: none; transform: scale(1.06); filter: blur(6px); }
.finale-video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; background: #23D1AE; border: none; display: flex; align-items: center; justify-content: center; pointer-events: none; transition: background .3s ease; }
.finale-video-hex:hover .finale-video-play { background: #4ee0c4; }
.finale-video-caption { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) {
  .finale-video-play { width: 52px; height: 52px; }
}
.finale-caption { font-family: var(--font-display); font-size: 19.3px; font-weight: 600; letter-spacing: -0.02em; text-align: center; color: var(--ink); margin: 90px 0 0; }

/* Photo link + modal */
.tl-photo-link {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font); font-size: 13px; font-weight: 600;
  color: var(--green); background: rgba(30,233,164,.08);
  border: 1px solid rgba(30,233,164,.3); border-radius: 8px;
  padding: 8px 14px; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.tl-photo-link:hover { background: rgba(30,233,164,.16); border-color: var(--green); }
.photo-modal-inner[data-tall] { max-height: 90vh; overflow-y: hidden; overflow-x: hidden; width: auto; max-width: min(680px, 94vw); }
.photo-modal-inner[data-tall][data-zoomed] { overflow-y: auto; }
.photo-modal-inner[data-tall].loaded { width: auto; display: inline-block; }
.photo-modal-inner[data-tall] .photo-modal-frame { display: block; }
.photo-modal-inner[data-tall] img { max-height: 90vh; max-width: 100%; width: auto; height: auto; object-fit: contain; margin: 0 auto; }
.photo-modal-inner[data-tall][data-zoomed] img { max-height: none; width: 100%; }
.photo-modal-inner[data-tall] .photo-modal-x { top: 10px; right: 10px; width: 30px; height: 30px; font-size: 14px; }
.photo-modal-inner:has(img[src*="k-site-2006"]) .photo-modal-x { top: 10px; right: 10px; color: var(--ink); background: rgba(0,0,0,.35); width: 30px; height: 30px; font-size: 14px; }
.photo-modal-inner:has(img[src*="k-site-2006"]) .photo-modal-x:hover { color: var(--ink); background: rgba(0,0,0,.5); }
.photo-modal-inner[data-tall] .photo-modal-x { top: 10px; right: 10px; width: 30px; height: 30px; font-size: 14px; background: rgba(255,255,255,.08); }
.photo-modal-inner:has(img[src*="k-site-2006"]) .photo-modal-zoom { bottom: 24px; }
.photo-modal-inner:has(img[src*="k-site-2006"])[data-zoomed] .photo-modal-zoom { bottom: 52px; }
.photo-modal-zoom {
  position: absolute; bottom: 38px; right: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(10,14,18,.75); border: 1px solid rgba(255,255,255,.2);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(6px);
}
.photo-modal-inner[data-tall][data-zoomed] .photo-modal-zoom { bottom: 70px; }
.photo-modal-inner:has(img[src*="k-site-2006"])[data-zoomed] .photo-modal-zoom { bottom: 52px; }
@media (hover: hover) {
  .photo-modal-zoom:hover { background: rgba(30,233,164,.25); border-color: var(--green); }
}
.photo-modal-inner { position: relative; width: min(500px, 92vw); max-width: min(900px, 92vw); max-height: 90vh; }
.photo-modal-inner.loaded { width: auto; }
.photo-modal-inner img { max-width: 100%; max-height: 90vh; border-radius: 12px; display: block; margin: 0 auto; box-shadow: 0 30px 80px rgba(0,0,0,.6); color: transparent; object-fit: contain; opacity: 0; transition: opacity .2s; }
.photo-modal-inner img.loaded { opacity: 1; }
.photo-modal-frame { position: relative; display: flex; align-items: center; justify-content: center; }
.photo-modal-inner.loaded:has(video) { width: auto; max-width: min(500px, 92vw); }
.photo-modal-inner.loaded:has(video[data-big]) { max-width: min(680px, 94vw); }
.photo-modal-inner:has(video) .photo-modal-caption, .photo-modal-inner:has(video) .photo-modal-count { position: static; margin-top: 10px; text-align: center; }
.photo-modal-inner video { max-width: 100%; max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 12px; display: block; margin: 0 auto; background: #000; }
.photo-modal-x { position: absolute; top: -16px; right: -16px; z-index: 5; width: 34px; height: 34px; font-size: 16px; background: var(--panel, #151b22); border: 1px solid rgba(255,255,255,.15); }
.video-modal-inner .photo-modal-x { top: -16px; right: -16px; }
.photo-modal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.15);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s;
}
@media (hover: hover) and (pointer: fine) {
  .photo-modal-nav:hover { background: rgba(0,0,0,.75); }
}
.photo-modal-prev { left: -14px; }
.photo-modal-next { right: -14px; }
.photo-modal-count {
  position: static; margin-top: 8px; text-align: center;
  font-size: 12px; color: var(--faint); font-family: var(--font);
}
.photo-modal-caption {
  position: static; margin-top: 6px; text-align: center;
  font-size: 13px; color: var(--faint); font-family: var(--font);
}
@media (max-width: 640px) { .photo-modal-prev { left: 6px; } .photo-modal-next { right: 6px; } .photo-modal-inner[data-tall][data-zoomed] .photo-modal-zoom { bottom: 58px; } .photo-modal-inner:has(img[src*="k-site-2006"])[data-zoomed] .photo-modal-zoom { bottom: 52px; } .photo-modal-inner[data-tall] .photo-modal-x { right: 6px; } .photo-modal-inner[data-tall] .photo-modal-zoom { right: 6px; } }

/* Journal list \u2014 clickable rows inside a tl-card */
.tl-journal-list { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.tl-journal-item {
  display: flex; align-items: center; gap: 10px;
  background: rgba(30,233,164,.06); border: 1px solid rgba(30,233,164,.18);
  border-radius: 8px; padding: 9px 12px; cursor: pointer;
  font-family: var(--font); text-align: left; width: 100%;
  transition: background .15s, border-color .15s;
}
.tl-journal-item:hover { background: rgba(30,233,164,.13); border-color: rgba(30,233,164,.4); }
.tl-journal-date { font-size: 12px; font-weight: 700; color: var(--green); flex-shrink: 0; min-width: 68px; }
.tl-journal-name { font-size: 13px; color: var(--ink); flex: 1; line-height: 1.3; }
.tl-journal-arrow { color: var(--green); flex-shrink: 0; opacity: .7; }
.tl-row.left .tl-journal-item { text-align: right; flex-direction: row-reverse; }
.tl-row.left .tl-link-row { justify-content: flex-end; }

/* PDF viewer modal */
.pdf-modal {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(5,8,10,.8); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; animation: mpc-in .2s ease;
  overscroll-behavior: contain;
}
.pdf-modal-inner {
  width: min(820px, 100%); height: min(90vh, 1000px);
  background: var(--panel, #151b22); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.pdf-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--line-2, rgba(255,255,255,.08));
  font-size: 14px; font-weight: 700; color: var(--ink);
}
.pdf-modal-x {
  background: none; border: none; color: var(--faint); cursor: pointer;
  width: 30px; height: 30px; border-radius: 6px; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
@supports (-webkit-touch-callout: none) { .pdf-modal-x { line-height: 1; font-size: 15px; display: flex; align-items: center; justify-content: center; } }
.pdf-modal-x:hover { background: rgba(255,255,255,.08); color: var(--ink); }
.pdf-modal-mobile {
  padding: 32px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.pdf-modal-mobile p { color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 320px; }
.pdf-modal-frame { flex: 1; border: none; width: 100%; background: #fff; }
.pdf-canvas-wrap { flex: 1; overflow-y: auto; background: #fff; display: flex; flex-direction: column; align-items: center; padding: 16px; -webkit-overflow-scrolling: touch; }
.pdf-canvas-pages { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.pdf-page-canvas { max-width: 100%; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.pdf-canvas-loading { color: #666; font-size: 14px; padding: 40px 0; }
@media (max-width: 640px) {
  .pdf-modal { padding: 10px; align-items: flex-start; padding-top: max(70px, env(safe-area-inset-top)); }
  .pdf-modal:has(.photo-modal-inner) { align-items: center; padding-top: 10px; }
  .tl-row.left .tl-journal-item { text-align: left; flex-direction: row; }
  .symbols-modal-inner { max-height: calc(100vh - 90px); }
}

/* Club symbols modal */
.symbols-modal-inner {
  width: min(760px, 100%); max-height: 90vh; overflow-y: auto;
  -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y;
  background: var(--panel, #151b22); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.symbols-modal-head {
  display: flex; align-items: flex-start; justify-content: center; gap: 12px;
  padding: 18px 20px; border-bottom: 1px solid var(--line-2, rgba(255,255,255,.08));
  position: relative; text-align: center;
}
.symbols-modal-head .pdf-modal-x { position: absolute; right: 20px; top: 14px; }
.symbols-modal-title { font-size: 17px; font-weight: 700; color: var(--ink); }
.symbols-modal-sub { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.symbols-modal-body {
  padding: 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.symbols-crest { grid-row: span 2; }
.symbols-crest img { width: 100%; border-radius: 10px; display: block; }
.symbols-card img { width: 100%; max-width: 300px; border-radius: 10px; display: block; margin: 0 auto; }
.symbols-caption { font-size: 12.5px; color: var(--faint); margin-top: 8px; text-align: center; }
.symbols-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; text-align: center; }
.symbols-motto { display: flex; flex-direction: column; justify-content: center; background: rgba(30,233,164,.06); border-radius: 10px; padding: 16px; }
.symbols-motto-text { font-size: 18px; font-weight: 700; color: var(--ink); font-style: italic; line-height: 1.3; text-align: center; }
.symbols-anthem { grid-column: 1 / -1; background: rgba(255,255,255,.03); border-radius: 10px; padding: 16px; text-align: center; }
.anthem-line { font-size: 13.5px; color: var(--ink); line-height: 1.6; white-space: pre-line; margin-bottom: 12px; font-weight: 600; text-align: center; }
.anthem-line.chorus { color: var(--ink); font-weight: 600; }
.anthem-toggle { margin-top: 4px; }
@media (max-width: 640px) {
  .symbols-modal-body { grid-template-columns: 1fr; }
  .symbols-crest { grid-row: auto; }
}

/* milestone flavour */
.tl-row.milestone .tl-card { background: linear-gradient(160deg, rgba(30,233,164,.14), var(--bg-2) 70%); border-color: rgba(30,233,164,.3); }
.tl-milestone-badge { font-size: 40px; font-weight: 700; letter-spacing: -0.04em; color: var(--green); line-height: 1; margin-bottom: 8px;}
.tl-milestone-badge small { font-size: 14px; color: var(--muted); font-weight: 500; display:block; margin-top:6px; letter-spacing: 0;}

.tl-link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; padding: 8px 14px;
  background: rgba(30,233,164,.08); border: 1px solid rgba(30,233,164,.3);
  border-radius: 8px; color: var(--green); font-family: var(--font);
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: background .15s, border-color .15s;
}
.tl-link-btn:hover { background: rgba(30,233,164,.16); border-color: var(--green); }
.tl-link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.tl-link-row .tl-link-btn { margin-top: 0; }
.trees-label { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--faint); }
.trees-list { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.trees-list li { margin-bottom: 4px; }
.trees-list b { color: var(--ink); }
.tl-link-wrap { position: relative; display: inline-block; }
.tl-link-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tl-link-row .tl-photo-link { margin-top: 0; }
.tl-cursor-hint {
  position: absolute; width: 64px; height: 64px;
  right: -34px; bottom: -58px; pointer-events: none;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.5));
  animation: float2 6s ease-in-out infinite;
}

/* floating illustration accent on card */
.tl-ill { position: absolute; width: 64px; height: 64px; top: -26px; pointer-events: none;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.5)); animation: float2 6s ease-in-out infinite; }
.tl-row.right .tl-ill { right: 18px; }
.tl-row.left  .tl-ill { left: 18px; }
@keyframes float2 { 0%,100%{transform: translateY(0) rotate(-6deg);} 50%{transform: translateY(-10px) rotate(6deg);} }
.tl-stats-card .tl-ill, .milestone .tl-ill { top: -40px; }
.tl-ill[src*="sparkler"] { width: 78px; height: 78px; left: auto !important; right: 20px !important; top: auto !important; bottom: -2px !important; }
.tl-ill[src*="koala-toggle"] { width: 90px; height: auto; top: -30px; }
.tl-ill-std[src*="sparkler"] { width: 64px; height: 64px; right: auto !important; bottom: auto !important; top: -40px !important; }
.tl-row.right .tl-ill-std { right: 18px !important; left: auto !important; }
.tl-row.left .tl-ill-std { left: 18px !important; right: auto !important; }
@media (max-width: 640px) {
  .tl-ill[src*="sparkler"] { right: 12px !important; bottom: -2px !important; width: 62px !important; height: 62px !important; }
}
.tl-ill[src*="icon-sparkler2"] { top: 200px !important; }
.tl-ill[src*="icon-happy"] { top: -63px; width: 65px; height: 75px; }
.tl-ill[src*="icon-award"] { width: 51px; height: 98px; top: -70px; }
.tl-ill[src*="icon-gift"] { top: -54px; left: 30px !important; right: auto !important; }
.tl-ill[src*="icon-shield"] { top: -40px; }
.tl-ill[src*="icon-plane"] { width: 106px; height: 59px; top: -44px; }
.tl-ill[src*="icon-volcano"] { width: 92px; height: auto; top: -68px; }
.tl-ill[src*="icon-airballoon"] { width: 90px; height: 90px; top: -70px; }
@media (max-width: 640px) {
  .tl-ill[src*="icon-airballoon"] { top: -56px; }
  .tl-ill[src*="icon-volcano"] { top: -54px; }
}
.tl-ill[src*="icon-umbrella"] { width: 76px; height: 76px; top: -50px; }
.tl-ill[src*="icon-balloon-20"] { width: 77px; height: 77px; top: -62px; }
.tl-ill[src*="cake-20-years"] { width: 108px; height: auto; top: -84px; }
.tl-ill[src*="icon-star-logo"] { width: 48px; height: 48px; top: -26px; }
.tl-ill[src*="icon-star-oldtimers"] { width: 52px; height: auto; top: -34px; }
.tl-ill[src*="icon-shield-council"] { width: 66px; height: auto; top: -50px; }
@media (max-width: 640px) {
  .tl-ill[src*="icon-shield-council"] { top: -46px; }
}
.tl-ill[src*="icon-sunglasses"] { width: 118px; height: auto; top: -38px; }
.tl-ill[src*="icon-lighthouse"] { width: 44px; height: auto; top: -52px; }
.tl-ill[src*="icon-raft"] { width: 74px; height: auto; top: -36px; }
.tl-ill[src*="icon-globe"] { width: 68px; height: auto; top: -48px; }
.tl-ill[src*="icon-badge"] { width: 70px; height: auto; top: -48px; }
.tl-ill[src="assets/icon-camera.png"] { width: 70px; height: auto; top: -38px; }
.tl-ill[src*="icon-camera2"] { width: 70px; height: auto; top: -38px; right: 30px; }
.tl-ill[src*="icon-10"] { width: 78px; height: auto; top: -44px; }
.tl-ill[src*="icon-star-alley"] { width: 68px; height: auto; top: -52px; }
.tl-ill[src*="icon-balloon-11"] { width: 74px; height: auto; top: -56px; }
.tl-ill[src*="icon-ring"] { width: 70px; height: auto; top: -50px; }
.tl-ill[src*="icon-plane2"] { width: 96px; height: auto; top: -38px; }
.tl-ill[src*="icon-car2"] { width: 96px; height: auto; top: -8px; }
.tl-ill[src*="icon-bulb"] { width: 51px; height: auto; top: -52px; }

/* year outcome card */
.outcome {
  position: relative; z-index: 3; max-width: 760px; margin: 26px auto 0;
  background: linear-gradient(135deg, rgba(30,233,164,.10), rgba(59,91,255,.08));
  border: 1px solid rgba(30,233,164,.28); border-radius: 18px; padding: 30px 34px;
  opacity: 0; transform: translateY(26px); transition: opacity .6s, transform .6s;
}
.outcome.in { opacity: 1; transform: none; }
.outcome .o-k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.outcome .o-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 12px; color: var(--ink); }
.outcome .o-t { font-size: 18px; line-height: 1.5; font-weight: 500; }

/* finale thanks block */
.finale-thanks { position: relative; z-index: 3; max-width: 560px; margin: 160px auto 0; text-align: center; }
.finale-thanks .ft-title { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 38px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 14px; color: var(--ink); }
.finale-thanks .ft-sub { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 20px; }
.finale-thanks .ft-text { font-size: 16px; line-height: 1.6; font-weight: 500; color: var(--muted); margin: 0 0 14px; }
.finale-thanks .ft-lead { color: var(--ink); }
.finale-thanks .ft-text:last-child { margin-bottom: 0; }
.finale-thanks .ft-divider { width: 32px; height: 1px; background: var(--line); margin: 30px auto; }
.finale-thanks .ft-strong { color: var(--ink); font-weight: 600; font-size: 17px; line-height: 1.55; }
.finale-thanks .ft-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.finale-thanks.in .ft-reveal { opacity: 1; transform: none; }
.finale-thanks { margin: 220px auto 140px; position: relative; }
.finale-thanks .ft-glow {
  position: absolute; left: 50%; top: 30%; transform: translate(-50%,-50%);
  width: 900px; height: 380px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse, rgba(59,91,255,.09) 0%, rgba(59,91,255,.03) 45%, transparent 75%);
  filter: blur(60px);
  opacity: 0; transition: opacity 2s ease;
}
.finale-thanks .ft-glow-2 {
  position: absolute; left: -6%; bottom: -18%; width: 420px; height: 320px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse, rgba(30,233,164,.10) 0%, transparent 72%);
  filter: blur(50px);
  opacity: 0; transition: opacity 2s ease .1s;
}
.finale-thanks.in .ft-glow-2 { opacity: 1; }
.finale-thanks.in .ft-glow { opacity: 1; }
.finale-thanks .ft-hex {
  position: absolute; left: 62%; top: 38%; transform: translate(-50%,-50%) scale(1.5) rotate(-8deg);
  width: 480px; height: auto; z-index: -1; pointer-events: none;
  opacity: 0; filter: blur(2px) saturate(.7); mix-blend-mode: screen;
  transition: opacity 1.8s ease;
}
.finale-thanks.in .ft-hex { opacity: .16; }
.finale-thanks .ft-final { font-size: 17px; font-weight: 600; color: var(--ink); margin: 30px 0 20px; }
.finale-thanks .ft-link, .finale-thanks .ft-link:visited { color: inherit; text-decoration: underline; }
.finale-thanks .ft-link:hover { color: var(--green); }
@media (max-width: 640px) {
  .finale-thanks .ft-hex { display: none; }
}

/* about overlay */
.about-overlay {
  position: fixed; inset: 0; z-index: 55; background: var(--bg);
  overflow-y: auto; -webkit-overflow-scrolling: touch;  animation: aboutIn .35s ease;
}
@keyframes aboutIn { from { opacity: 0; } to { opacity: 1; } }
.about-glow-fx { position: fixed; }
.about-close {
  position: fixed; top: 96px; right: 40px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--panel); color: var(--muted); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.about-close:hover { border-color: var(--green); color: var(--green); }
.about-page-open .hdr:not(.about-page-hdr) { display: none; }
.about-wrap {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 160px 40px 100px;
  min-height: 100vh; display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center;
}
.about-copy h2 {
  font-family: var(--font-display); font-size: clamp(38px, 4.8vw, 58px); font-weight: 600;
  letter-spacing: -0.03em; line-height: 1.05; margin: 18px 0 26px;
}
.about-copy p { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0 0 18px; max-width: 560px; }
.about-copy .btn-primary { margin-top: 16px; text-decoration: none; }
.about-note { font-size: 13px; color: var(--faint); margin-top: 14px; }
.about-art { display: flex; justify-content: center; align-items: center; }
.about-art img { width: min(240px, 55%); height: auto; filter: drop-shadow(0 30px 60px rgba(30,233,164,.18)); }
@media (max-width: 900px) {
  .about-wrap { grid-template-columns: 1fr; padding: 120px 22px 70px; gap: 30px; text-align: left; }
  .about-art { order: -1; justify-content: center; }
  .about-art img { width: 200px; }
  .about-copy p { margin-left: 0; margin-right: 0; }
  .about-close { top: 74px; right: 18px; }
}
@media (max-width: 640px) {
  .about-page, .about-overlay, body { overflow-x: hidden; }
  .finale-thanks { margin-top: 64px; }
  .finale-thanks .ft-text { font-size: 15.5px; }
  .finale-thanks .ft-glow { width: 100vw; max-width: 480px; }
  .finale-thanks .ft-hex { width: 220px; left: 68%; }
}

/* ---------- footer ---------- */
.foot { position: relative; z-index: 1; border-top: 1px solid var(--line-2); padding: 50px 0; text-align: center; }
.foot-logo { height: 24px; margin: 0 auto 18px; opacity: .9; }
.foot p { color: var(--faint); font-size: 13px; line-height: 1.6; }
.foot-credit { margin-top: 14px; font-size: 12px; opacity: .7; }
.foot-credit-link { color: inherit; text-decoration: none; }
.foot-credit-link:hover { color: var(--ink); }
@media (max-width: 640px) {
  .foot-credit-line1, .foot-credit-line2 { display: block; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .wrap { padding: 0 22px; }
  .hdr, .hdr.scrolled { padding: 14px 22px; }
  .hdr-meta { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 10px; }
  .hero-art { min-height: 320px; order: -1; }
  .balloon { max-width: 250px; }
  .hero { flex-direction: column; min-height: auto; padding-bottom: 36px; }
  .hero-stats { gap: 26px; flex-wrap: wrap; }
  .scroll-cue { position: static; transform: none; margin: 48px auto 0; }
  .year-head { grid-template-columns: 1fr; gap: 14px; }
  .tl::before, .tl-fill { left: 21px; }
  .tl-node { left: 21px; }
  .tl-row.left .tl-card, .tl-row.right .tl-card { width: auto; margin: 0 0 0 52px; text-align: left; }
  .tl-row.left .tl-head, .tl-row.left .tl-date { flex-direction: row; }
  .tl-node::after { left: 100% !important; right: auto !important; width: 22px !important; background: var(--line-2) !important; box-shadow: none !important; }
  .tl-row.lit .tl-node::after { background: linear-gradient(90deg, var(--green), var(--green-dim)) !important; box-shadow: 0 0 10px rgba(30,233,164,.45) !important; }
  .tl-row.left .tl-ill, .tl-row.right .tl-ill { right: 14px; left: auto; }
}
@supports not (-webkit-touch-callout: none) {
  @media (max-width: 900px) {
    .hdr-cta { white-space: nowrap; font-size: 12.5px; padding: 9px 14px; }
    .hdr-logo { max-width: 42vw; height: auto; }
  }
}
