body.site {
  --bg: #06070a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef0f4;
  --text-2: #b3b9c6;
  --text-3: #7d8492;
  --red-soft: rgba(255, 43, 43, 0.1);
  --ok: #34d399;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --g: clamp(16px, 4vw, 64px);
  --head: 68px;
  background:
    radial-gradient(1100px 760px at 78% 18%, rgba(120, 14, 22, 0.35), transparent 62%),
    radial-gradient(900px 700px at 8% 92%, rgba(24, 36, 84, 0.35), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font);
}

html { scroll-behavior: smooth; }

body.site ::selection { background: rgba(255, 43, 43, 0.35); color: #fff; }

.h-skip {
  position: fixed; left: 16px; top: -64px; z-index: 90;
  padding: 10px 16px;
  background: #fff; color: #000; font-weight: 600; text-decoration: none;
  transition: top 0.2s ease;
}
.h-skip:focus { top: 12px; }

#scene {
  position: fixed; inset: 0 auto auto 0;
  width: 100vw; height: 100vh; height: 100lvh;
  display: block; z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity 1.4s ease;
}
.scene-ready #scene { opacity: 1; }

@keyframes h-blink { 50% { opacity: 0.35; } }

.hb {
  --cut: 12px; --edge: var(--line-2); --fill: #101218;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 26px; border: 0; border-radius: 0;
  background: var(--edge); color: var(--text);
  font: 600 15px/1 var(--display); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: --edge 0.2s ease, --fill 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.hb::before {
  content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--fill);
  clip-path: polygon(calc(var(--cut) - 0.59px) 0, 100% 0, 100% calc(100% - var(--cut) + 0.59px), calc(100% - var(--cut) + 0.59px) 100%, 0 100%, 0 calc(var(--cut) - 0.59px));
}
.hb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.3) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hb:hover { transform: translateY(-2px); }
.hb:hover::after { transform: translateX(120%); }
.hb:active { transform: translateY(0) scale(0.98); }
.hb:focus-visible { outline: none; --edge: #fff; }
.hb:focus-visible::before { inset: 2px; }
.hb svg { flex-shrink: 0; transition: transform 0.25s ease; }
.hb:hover svg { transform: translateX(3px); }
.hb-primary { --edge: #ff4d5c; --fill: #e0192d; color: #fff; }
.hb-primary:hover { --edge: #ff7480; --fill: #ff2b3d; }
.hb-ghost { --edge: rgba(255, 255, 255, 0.24); --fill: #0d0f14; }
.hb-ghost::after { background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.1) 50%, transparent 65%); }
.hb-ghost:hover { --edge: rgba(255, 255, 255, 0.5); --fill: #14171e; }
.hb-sm { --cut: 9px; height: 42px; padding: 0 18px; font-size: 14px; gap: 9px; }

.h-main { position: relative; z-index: 1; flex: 1 0 auto; }

.s-sec {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; align-items: center;
  min-height: 100vh; min-height: 100svh;
  padding: clamp(96px, 14vh, 170px) var(--g) clamp(80px, 12vh, 140px);
  text-align: center;
}
.s-sec::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 8%;
  width: min(1200px, 100%); height: 70%;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, var(--glow, rgba(224, 25, 45, 0.16)), transparent);
}
.s-sec.s-fit { min-height: 0; }
.s-top { min-height: 0; padding-top: calc(var(--head) + clamp(48px, 10vh, 120px)); padding-bottom: clamp(36px, 6vh, 64px); }
.s-blue { --glow: rgba(91, 141, 255, 0.13); }
.s-dim { --glow: rgba(224, 25, 45, 0.08); }

.s-eyebrow {
  display: inline-flex; align-items: center; gap: 0.9em; margin: 0;
  font: 600 clamp(15px, 1.35vw, 20px)/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text);
}
.s-eyebrow span {
  padding: 0.42em 0.55em 0.42em 0.62em; color: var(--chip-ink, #fff); background: var(--chip, var(--red)); box-shadow: 0 0 24px var(--chip-glow, rgba(255, 40, 40, 0.35));
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.s-eyebrow::before, .s-eyebrow::after { content: ""; width: 4.5em; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent); }
.s-eyebrow::before { background: linear-gradient(270deg, rgba(255, 255, 255, 0.35), transparent); }

.s-title {
  max-width: 14ch; margin: 24px 0 22px; padding-bottom: 0.06em;
  font: 600 clamp(46px, 8vw, 128px)/0.94 var(--display); letter-spacing: -0.05em;
  background: linear-gradient(180deg, #fff 40%, #a4abba);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.s-title b { font-weight: inherit; }
.s-title em {
  font-style: normal;
  background: linear-gradient(95deg, #ff3b3b 10%, #ff8a5c 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.s-title-sm { max-width: none; font-size: clamp(34px, 4.6vw, 64px); }
.s-title-md { max-width: 16ch; font-size: clamp(44px, 6.6vw, 104px); }

.s-lede { max-width: 54ch; margin: 0 0 clamp(36px, 6vh, 56px); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--text-2); }
.s-top .s-lede { margin-bottom: 0; }

.s-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.s-big { --cut: 15px; height: 64px; padding: 0 38px; font-size: 18px; }

.s-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; row-gap: 8px; margin: 22px 0 0; padding: 0; }
.s-chips li { padding: 2px 16px; border-left: 1px solid var(--line-2); font: 500 12px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.s-chips li:first-child { border-left: 0; }

.s-small { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 24px 0 0; }
.s-small a { font: 500 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); text-decoration: none; transition: color 0.2s ease; }
.s-small a:hover, .s-small a:focus-visible { color: #fff; }

.s-end { min-height: 0; padding-top: clamp(64px, 11vh, 130px); padding-bottom: clamp(64px, 10vh, 120px); }
.s-center { justify-content: center; }

body.site .eyebrow, body.site .roster-grid { animation: none; }

.r-cat {
  --chip: var(--cat); --chip-glow: var(--cat-glow); --chip-ink: #0b0d14;
  --glow: color-mix(in srgb, var(--cat) 11%, transparent);
  min-height: 0; padding-top: clamp(40px, 7vh, 84px); padding-bottom: clamp(40px, 7vh, 84px);
}
.r-cat::before { top: 0; height: 100%; }
.r-cat .s-eyebrow { margin-bottom: clamp(30px, 5vh, 48px); }
body.site .profile-card { background: linear-gradient(180deg, rgba(20, 22, 30, 0.9), rgba(10, 11, 15, 0.94)); }

body.site .memories-flow { z-index: auto; }
body.site .mem-year {
  position: relative; isolation: isolate;
  padding: clamp(64px, 12vh, 140px) var(--g) 0;
}
body.site .mem-year::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 0;
  width: min(1200px, 100%); height: min(900px, 100%);
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--year-accent) 12%, transparent), transparent);
}
body.site .memories-flow .mem-year:first-child { padding-top: clamp(24px, 5vh, 56px); }
body.site .year-badge { display: flex; clip-path: none; background: none; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.site .ghost-year {
  padding-bottom: 0.05em;
  font: 600 clamp(88px, 16vw, 232px)/0.86 var(--display); letter-spacing: -0.06em;
  background: linear-gradient(180deg, #fff 30%, color-mix(in srgb, var(--year-accent) 55%, #8d93a1));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.site .mem-count {
  justify-content: center; margin: 20px 0 0;
  font: 600 clamp(13px, 1.1vw, 16px)/1 var(--mono); letter-spacing: 0.2em;
}
body.site .rule-glow { margin-top: 26px; }
body.site .mem-year .gallery-grid { --gap: 1.2rem; --cols: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
body.site .mem-year .gallery-item { width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
@media (min-width: 901px) { body.site .mem-year { padding-left: max(var(--g), 112px); padding-right: max(var(--g), 112px); } }
@media (max-width: 1180px) { body.site .mem-year .gallery-grid { --cols: 3; } }
@media (max-width: 760px) { body.site .mem-year .gallery-grid { --cols: 2; --gap: 0.6rem; } }

.c-play { max-width: 100%; }
.c-play svg { order: -1; }

.h-psst { margin: 6px 0 0; font: 500 11.5px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.22); }

.h-foot { z-index: 1; margin-top: 24px; border-top: 1px solid var(--line); background: rgba(6, 7, 10, 0.8); }

.h-js .s-rise {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.h-js .s-title.s-rise { transform: translateY(44px) scale(0.93); }
.h-js .s-rise.is-above { transform: translateY(-34px); }
.h-js .s-title.s-rise.is-above { transform: translateY(-44px) scale(0.93); }
.h-js .s-rise.is-in { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 90ms); }
.h-js .s-rise.is-in.is-drop { transition-delay: 0s; }

@media (max-width: 520px) {
  body.site .mem-year { padding-left: 14px; padding-right: 14px; }
  .s-eyebrow { gap: 0.75em; letter-spacing: 0.14em; }
  .s-eyebrow::before, .s-eyebrow::after { width: 2.2em; }
  .s-actions .hb { flex: 1 1 auto; }
  .c-play { height: auto; min-height: 60px; padding: 14px 22px; white-space: normal; line-height: 1.25; font-size: 16px; }
}

@media (hover: none) {
  .hb:hover { transform: none; }
  .hb:hover::after { transform: translateX(-120%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .h-js .s-rise, .h-js .s-title.s-rise, .h-js .s-rise.is-above, .h-js .s-title.s-rise.is-above { opacity: 1; transform: none; transition: none; }
  .hb, .hb:hover { transform: none; }
}
