/* EVA SONG: THE GAME — site styles. Desktop first; phone layout in the @media blocks. */

:root {
  --es-bg: #0B0D10; --es-panel: #12161B; --es-line: #232832; --es-line2: #262C35; --es-line3: #3A414C;
  --es-text: #E8ECF1; --es-muted: #9AA4B2; --es-soft: #C3CAD4; --es-dim: #A9B2BF; --es-accent: #F15A2B;
  --es-head: 'Unbounded', sans-serif; --es-body: 'Manrope', sans-serif; --es-mono: 'Martian Mono', monospace;
}
html { scroll-behavior: smooth; }
body { margin: 0; }
.es-avatar { --img: none; }
/* ---------- Color themes ----------
   Dark is the default. Light applies when the visitor's device is set to light
   (Auto) or when they pick Light in the header switch. Orange text uses a deeper
   shade in light mode so small labels stay readable; fills keep the brand orange. */
:root { --es-on-accent: #0B0D10; --es-accent-text: #F15A2B; --es-grid: #151920; --es-strong: #FFFFFF; --es-body2: #D5DAE1; --es-faint: #8D97A5; --es-ph: #1F252D; --es-shotbg: #161A20; --es-chipbg: #C3CAD4; --es-glass: rgba(11, 13, 16, 0.94); --es-ring: #FFFFFF; color-scheme: dark; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --es-bg: #F3F4F6; --es-panel: #FFFFFF; --es-line: #E2E5EA; --es-line2: #DADDE3; --es-line3: #B8BFCA; --es-text: #0B0D10; --es-muted: #5A6371; --es-soft: #343B46; --es-dim: #4A5361; --es-accent: #F15A2B; --es-on-accent: #0B0D10; --es-accent-text: #C2410C; --es-grid: #E4E7EC; --es-strong: #0B0D10; --es-body2: #2B313A; --es-faint: #6B7381; --es-ph: #E6E9EE; --es-shotbg: #ECEEF2; --es-chipbg: #DADDE3; --es-glass: rgba(243, 244, 246, 0.94); --es-ring: #0B0D10; color-scheme: light; } }
:root[data-theme="light"] { --es-bg: #F3F4F6; --es-panel: #FFFFFF; --es-line: #E2E5EA; --es-line2: #DADDE3; --es-line3: #B8BFCA; --es-text: #0B0D10; --es-muted: #5A6371; --es-soft: #343B46; --es-dim: #4A5361; --es-accent: #F15A2B; --es-on-accent: #0B0D10; --es-accent-text: #C2410C; --es-grid: #E4E7EC; --es-strong: #0B0D10; --es-body2: #2B313A; --es-faint: #6B7381; --es-ph: #E6E9EE; --es-shotbg: #ECEEF2; --es-chipbg: #DADDE3; --es-glass: rgba(243, 244, 246, 0.94); --es-ring: #0B0D10; color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
.es-q-3d { --c: #5B2BB5; } .es-q-graphic { --c: #0E6B8C; } .es-q-illo { --c: #A0371C; } .es-q-paint { --c: #7A2E5A; }

/* ---------- Base ---------- */
body { background: var(--es-bg); }
.es, .es * { box-sizing: border-box; }
.es {
  background: var(--es-bg);
  color: var(--es-text);
  font-family: var(--es-body);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
.es a { color: inherit; text-decoration: none; border: 0; }
:where(.es) :where(p, h1, h2, h3, ul, ol, dl, dt, dd) { margin: 0; padding: 0; }
:where(.es) :where(ul, ol) { list-style: none; }
.es h1, .es h2, .es h3 { font-weight: 900; }
.es-m { display: none; }

.es-wrap { max-width: 1360px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.es-section { border-top: 1px solid var(--es-line); padding: 88px 0 104px; }
.es-kicker { font-family: var(--es-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--es-accent-text); margin-bottom: 16px; }
.es-label { font-family: var(--es-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--es-muted); }
.es-h2 { font-family: var(--es-head); font-size: clamp(36px, 4.2vw, 58px); line-height: 1; letter-spacing: -0.045em; }
.es-lede { margin-top: 12px; font-size: 17px; color: var(--es-dim); }
.es-count { font-family: var(--es-mono); font-size: 11px; color: var(--es-muted); }
.es-headrow { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; }
.es-panel { background: var(--es-panel); border: 1px solid var(--es-line2); border-radius: 16px; }
.es-chip { display: inline-block; font-family: var(--es-mono); font-size: 9px; line-height: 1.4; color: #fff; background: #0B0D10; padding: 3px 6px; border-radius: 3px; }
.es-chip--accent { color: var(--es-on-accent); background: var(--es-accent); font-weight: 500; }

.es-btn { display: inline-flex; gap: 10px; align-items: center; justify-content: center; background: var(--es-accent); color: var(--es-on-accent) !important; font-weight: 800; font-size: 16px; padding: 14px 22px; border-radius: 6px; transition: transform 0.15s; }
.es-btn:hover { transform: translateY(-2px); }
.es-btn--ghost { background: none; color: var(--es-text) !important; border: 1px solid var(--es-line3); font-weight: 700; }
.es-btn--big { font-size: 18px; padding: 20px 30px; }
.es-btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Header (pinned page) ---------- */
.es-header { border-bottom: 1px solid var(--es-line); }
.es-header__row { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.es-logo { display: flex; padding: 4px 0; }
.es-logo svg { width: 36px; height: 46px; display: block; }
.es-nav { display: flex; gap: 8px; align-items: center; font-family: var(--es-mono); font-size: 14px; }
.es-nav a { padding: 12px 16px; }
.es-nav a span { color: var(--es-accent-text); }
.es-nav a:hover, .es-nav a.active { color: var(--es-strong); box-shadow: inset 0 -2px 0 var(--es-accent); }

/* ---------- Title screen ---------- */
.es-title { position: relative; min-height: 760px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.es-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--es-grid) 1px, transparent 1px), linear-gradient(90deg, var(--es-grid) 1px, transparent 1px); background-size: 64px 64px; }
.es-ghost { position: absolute; right: -80px; top: 40px; height: 720px; width: auto; color: var(--es-accent-text); opacity: 0.07; }
.es-hud { position: relative; width: 100%; display: flex; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; font-family: var(--es-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--es-muted); }
.es-title__main { position: relative; text-align: center; padding: 0 24px; }
.es-title__kicker { font-family: var(--es-mono); font-size: 12px; letter-spacing: 0.24em; color: var(--es-accent-text); margin-bottom: 22px; }
.es-title__name { font-family: var(--es-head); font-size: calc(clamp(72px, 14vw, 216px) * 0.9); line-height: 0.88; letter-spacing: -0.05em; }
.es-title__sub { margin-top: 0; font-size: 22px; font-weight: 700; color: var(--es-soft); }
.es-start { display: inline-flex; gap: 14px; align-items: center; margin-top: 48px; background: var(--es-accent); color: var(--es-on-accent) !important; font-family: var(--es-head); font-weight: 900; font-size: 18px; letter-spacing: 0.02em; padding: 22px 40px; border-radius: 8px; }
.es-start svg { width: 16px; height: 16px; }
.es-scroll { position: relative; text-align: center; padding: 32px 24px; font-family: var(--es-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--es-muted); }
@keyframes es-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.es-blink { animation: es-blink 1.1s steps(1) infinite; }
@media (prefers-reduced-motion: reduce) { .es-blink { animation: none; } }

/* ---------- Main menu + patch notes ---------- */
.es-menu { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 96px; padding-bottom: 96px; border-top: 1px solid var(--es-line); }
.es-menu__list { flex: 999 1 560px; min-width: 0; }
.es-menu__item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--es-line); transition: padding 0.15s; }
.es-menu__num { font-family: var(--es-mono); font-size: 12px; color: var(--es-muted); }
.es-menu__title { display: block; font-family: var(--es-head); font-weight: 900; font-size: calc(clamp(26px, 2.8vw, 38px) * 0.9); line-height: 1.05; letter-spacing: -0.045em; }
.es-menu__desc { display: block; margin-top: 8px; font-size: 15px; color: var(--es-muted); }
.es-menu__arrow { font-size: 18px; color: var(--es-line3); }
.es-menu__item.is-active .es-menu__num, .es-menu__item.is-active .es-menu__title, .es-menu__item.is-active .es-menu__arrow,
.es-menu__item:hover .es-menu__num, .es-menu__item:hover .es-menu__title, .es-menu__item:hover .es-menu__arrow { color: var(--es-accent-text); }
.es-menu__item:hover { padding-left: 16px; }
.es-patch { flex: 1 1 360px; padding: 30px; border-radius: 18px; }
.es-patch .es-kicker { font-size: 11px; margin-bottom: 0; }
.es-patch__title { margin-top: 12px; font-family: var(--es-head); font-weight: 900; font-size: 23px; line-height: 1.1; letter-spacing: -0.045em; }
.es-patch ul { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.es-patch li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--es-body2); }
.es-tag { flex: 0 0 52px; margin-top: 3px; text-align: center; font-family: var(--es-mono); font-size: 10px; font-weight: 500; color: var(--es-on-accent); background: var(--es-accent); padding: 3px 0; border-radius: 3px; }
.es-tag--soft { background: var(--es-chipbg); }

/* ---------- 01 Season pass ---------- */
.es-progress { min-width: 260px; }
.es-progress p { margin-bottom: 8px; font-family: var(--es-mono); font-size: 11px; color: var(--es-muted); text-align: right; }
.es-progress span { display: block; height: 10px; border-radius: 999px; background: var(--es-accent); }
.es-track { margin-top: 40px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px max(40px, calc((100% - 1280px) / 2)) 24px; scroll-padding-inline: max(40px, calc((100% - 1280px) / 2)); scrollbar-width: thin; scrollbar-color: var(--es-line3) transparent; }
.es-track__inner { position: relative; display: flex; gap: 16px; width: max-content; }
.es-track__line { position: absolute; left: 22px; right: 22px; top: 49px; height: 4px; background: var(--es-accent); border-radius: 2px; }
.es-tier { position: relative; flex: 0 0 236px; display: flex; flex-direction: column; align-items: flex-start; scroll-snap-align: start; }
.es-tier__season { display: block; height: 28px; font-family: var(--es-mono); font-size: 10px; letter-spacing: 0.08em; white-space: nowrap; color: var(--es-accent-text); }
.es-tier__num { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 999px; background: var(--es-accent); color: var(--es-on-accent); font-family: var(--es-head); font-weight: 900; font-size: 14px; letter-spacing: -0.04em; box-shadow: 0 0 0 4px var(--es-bg); }
.es-tier__card { display: block; width: 100%; margin-top: 18px; border-radius: 14px; background: var(--es-panel); overflow: hidden; box-shadow: 0 0 0 1px var(--es-line2); transition: transform 0.2s, box-shadow 0.2s; }
.es-tier__art { display: flex; gap: 6px; align-items: flex-start; height: 150px; padding: 10px; background-color: var(--c); background-image: var(--img); background-size: cover; background-position: center; }
.es-tier__body { display: block; padding: 14px 14px 16px; }
.es-tier__title { display: block; font-weight: 800; font-size: 16px; line-height: 1.2; color: var(--es-strong); }
.es-tier__genre { display: block; margin-top: 6px; font-family: var(--es-mono); font-size: 9px; color: var(--es-muted); }
.es-tier__desc { display: block; margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--es-soft); }
.es-tier__cta { display: block; margin-top: 14px; font-family: var(--es-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--es-accent-text); }
.es-tier:hover .es-tier__card, .es-tier:focus-visible .es-tier__card { transform: translateY(-6px); box-shadow: 0 0 0 3px var(--es-accent); }
.es-tier:hover .es-tier__num { box-shadow: 0 0 0 4px var(--es-bg), 0 0 0 7px var(--es-ring); }
.es-tier.is-featured .es-tier__card { box-shadow: 0 0 0 2px var(--es-accent); }

/* ---------- 02 Player profile ---------- */
.es-profile { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 44px; align-items: flex-start; }
.es-card { position: relative; flex: 1 1 360px; padding: 28px; border-radius: 14px; }
.es-card::before, .es-card::after { content: ''; position: absolute; width: 22px; height: 22px; }
.es-card::before { top: -1px; left: -1px; border-top: 2px solid var(--es-accent); border-left: 2px solid var(--es-accent); border-top-left-radius: 14px; }
.es-card::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--es-accent); border-right: 2px solid var(--es-accent); border-bottom-right-radius: 14px; }
.es-card__top { display: flex; gap: 18px; align-items: center; }
.es-avatar { flex: 0 0 96px; height: 96px; border-radius: 12px; background-color: var(--es-ph); background-image: var(--img); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; font-family: var(--es-mono); font-size: 10px; color: var(--es-faint); overflow: hidden; }
.es-card__name { font-family: var(--es-head); font-weight: 900; font-size: 23px; letter-spacing: -0.045em; }
.es-card__say { margin-top: 6px; font-family: var(--es-mono); font-size: 11px; color: var(--es-muted); }
.es-stats { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; font-size: 14px; }
.es-stats dt { font-family: var(--es-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--es-faint); }
.es-stats dd { margin-top: 6px; font-weight: 700; }
.es-profile__text { flex: 999 1 560px; min-width: 0; }
.es-profile__head { font-family: var(--es-head); font-weight: 900; font-size: calc(clamp(30px, 3.4vw, 48px) * 0.9); line-height: 1.08; letter-spacing: -0.045em; }
.es-profile__bio { margin-top: 22px; max-width: 720px; font-size: 18px; line-height: 1.6; color: var(--es-soft); }
.es-profile .es-label { margin: 28px 0 12px; }
.es-matches { border-top: 1px solid var(--es-line2); }
.es-match { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--es-line2); }
.es-match__when { flex: 0 0 150px; font-family: var(--es-mono); font-size: 11px; color: var(--es-muted); }
.es-match__team { flex: 1 1 180px; font-weight: 800; font-size: 16px; }
.es-match__role { flex: 1 1 240px; font-size: 14px; color: var(--es-dim); }

/* ---------- 03 Achievements ---------- */
.es-trophies { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; margin-top: 40px; }
.es-trophy { padding: 24px; border-radius: 14px; display: flex; flex-direction: column; gap: 14px; }
.es-trophy__meta { display: flex; justify-content: space-between; align-items: center; font-family: var(--es-mono); font-size: 10px; color: var(--es-muted); }
.es-trophy__meta::before { content: ''; width: 26px; height: 26px; background: var(--es-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h8v5a4 4 0 0 1-8 0V4z'/%3E%3Cpath d='M8 6H5a3 3 0 0 0 3 4M16 6h3a3 3 0 0 1-3 4M12 13v4M9 20h6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h8v5a4 4 0 0 1-8 0V4z'/%3E%3Cpath d='M8 6H5a3 3 0 0 0 3 4M16 6h3a3 3 0 0 1-3 4M12 13v4M9 20h6'/%3E%3C/svg%3E") center / contain no-repeat; }
.es-trophy__value { font-family: var(--es-head); font-weight: 900; font-size: 29px; line-height: 1; letter-spacing: -0.045em; }
.es-trophy__label { font-size: 15px; line-height: 1.5; color: var(--es-soft); }

/* ---------- 04 Side quests ---------- */
.es-quests { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 40px; }
.es-quest { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; aspect-ratio: 4 / 3; padding: 20px; border-radius: 14px; overflow: hidden; background-color: var(--c); background-image: var(--img); background-size: cover; background-position: center; transition: transform 0.2s; }
.es-quest:hover { transform: translateY(-4px); }
.es-quest .es-chip { font-size: 10px; padding: 4px 8px; }
.es-quest__title { font-family: var(--es-head); font-weight: 900; font-size: 23px; line-height: 1.05; letter-spacing: -0.045em; color: #fff; }

/* ---------- 05 Multiplayer + footer ---------- */
.es-contact { padding: 96px 0 40px; }
.es-contact__row { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.es-contact__head { font-family: var(--es-head); font-size: calc(clamp(56px, 8vw, 128px) * 0.9); line-height: 0.92; letter-spacing: -0.05em; }
.es-contact__text { margin-top: 12px; max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--es-soft); }
.es-foot { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; margin-top: 96px; padding-top: 24px; border-top: 1px solid var(--es-line); font-family: var(--es-mono); font-size: 12px; color: var(--es-muted); }
.es-foot nav { display: flex; flex-wrap: wrap; gap: 24px; }
.es-foot a:hover { color: var(--es-strong); }

/* =========================================================
   PHONE LAYOUT (matches the "mobile" boards on the canvas)
   ========================================================= */
@media (max-width: 767px) {
  .es-d { display: none; }
  .es-m { display: inline; }
  .es-wrap { padding-left: 16px; padding-right: 16px; }
  .es-section { padding: 56px 0; }
  .es-kicker { font-size: 11px; margin-bottom: 10px; }
  .es-h2 { font-size: 32px; }
  .es-lede { font-size: 15px; margin-top: 10px; }
  .es-btn { width: 100%; padding: 15px; font-size: 15px; }
  .es-btnrow { flex-direction: column; gap: 10px; margin-top: 22px; }

  /* header */
  .es-header__row { padding-top: 10px; padding-bottom: 10px; gap: 8px; }
  .es-logo svg { width: 26px; height: 33px; }
  .es-nav { gap: 0; font-size: 12px; }
  .es-nav a { padding: 12px 8px; }
  .es-nav a:last-child { padding-right: 0; }

  /* title screen */
  .es-title { min-height: 640px; }
  .es-grid { background-size: 40px 40px; }
  .es-ghost { right: -90px; top: 60px; height: 460px; }
  .es-hud { padding-top: 18px; padding-bottom: 18px; font-size: 9px; letter-spacing: 0.08em; }
  .es-title__main { text-align: left; padding: 0 16px; }
  .es-title__kicker { font-size: 10px; letter-spacing: 0.2em; margin-bottom: 14px; }
  .es-title__name { font-size: min(80px, 22vw); line-height: 0.86; }
  .es-title__name span { display: block; }
  .es-title__sub { margin-top: 10px; font-size: 17px; max-width: 220px; line-height: 1.4; }
  .es-start { display: flex; justify-content: center; margin-top: 32px; padding: 20px; font-size: 16px; gap: 12px; }
  .es-scroll { padding: 24px 16px; font-size: 10px; }

  /* menu */
  .es-menu { padding-top: 56px; padding-bottom: 48px; gap: 32px; }
  .es-menu__list, .es-patch { flex-basis: 100%; }
  .es-menu__item { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; padding: 16px 0; }
  .es-menu__item:hover { padding-left: 0; }
  .es-menu__num { font-size: 11px; }
  .es-menu__title { font-size: 22px; }
  .es-menu__desc { font-size: 13px; margin-top: 9px; }
  .es-menu__arrow { font-size: 14px; }
  .es-patch { padding: 22px; border-radius: 14px; }
  .es-patch .es-kicker { font-size: 10px; }
  .es-patch__title { font-size: 20px; }
  .es-patch li { font-size: 14px; gap: 10px; }
  .es-tag { flex-basis: 44px; font-size: 9px; }

  /* season pass */
  .es-headrow { flex-direction: column; align-items: stretch; }
  .es-progress { min-width: 0; display: flex; flex-direction: row-reverse; gap: 12px; align-items: center; }
  .es-progress p { margin: 0; font-size: 10px; white-space: nowrap; }
  .es-progress span { flex: 1 1 auto; height: 8px; }
  .es-track { margin-top: 24px; padding: 4px 16px 16px; scroll-padding-inline: 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .es-track::-webkit-scrollbar { display: none; }
  .es-track__inner { gap: 12px; }
  .es-track__line { top: 41px; left: 20px; right: 20px; height: 3px; }
  .es-tier { flex-basis: 220px; }
  .es-tier__season { height: 22px; font-size: 9px; }
  .es-tier__num { width: 40px; height: 40px; font-size: 12px; box-shadow: 0 0 0 3px var(--es-bg); }
  .es-tier__card { margin-top: 14px; border-radius: 12px; }
  .es-tier__art { height: 120px; }
  .es-tier__body { padding: 12px 12px 14px; }
  .es-tier__title { font-size: 15px; }
  .es-tier:hover .es-tier__card { transform: none; }

  /* profile */
  .es-profile { margin-top: 28px; gap: 32px; }
  .es-card { flex-basis: 100%; padding: 20px; }
  .es-card::before, .es-card::after { width: 18px; height: 18px; }
  .es-card__top { gap: 14px; }
  .es-avatar { flex-basis: 72px; height: 72px; border-radius: 10px; font-size: 9px; }
  .es-card__name { font-size: 22px; }
  .es-card__say { font-size: 10px; margin-top: 4px; }
  .es-stats { margin-top: 20px; gap: 14px 12px; font-size: 13px; }
  .es-stats dt { font-size: 9px; }
  .es-stats dd { margin-top: 4px; }
  .es-profile__text { flex-basis: 100%; }
  .es-profile__head { font-size: 26px; line-height: 1.1; }
  .es-profile__bio { margin-top: 16px; font-size: 16px; }
  .es-profile .es-label { margin: 28px 0 8px; font-size: 10px; }
  .es-match { display: block; }
  .es-match__when, .es-match__team, .es-match__role { display: block; }
  .es-match__when { font-size: 10px; }
  .es-match__team { margin-top: 4px; }
  .es-match__role { margin-top: 2px; }

  /* achievements */
  .es-count { font-size: 10px; }
  .es-trophies { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
  .es-trophy { padding: 16px; gap: 10px; border-radius: 12px; }
  .es-trophy__meta { font-size: 9px; }
  .es-trophy__meta::before { width: 20px; height: 20px; }
  .es-trophy__value { font-size: 19px; line-height: 1.05; }
  .es-trophy__label { font-size: 13px; line-height: 1.45; }

  /* side quests */
  .es-quests { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
  .es-quest { aspect-ratio: 1 / 1; padding: 14px; border-radius: 12px; }
  .es-quest .es-chip { font-size: 8px; padding: 3px 6px; }
  .es-quest__title { font-size: 17px; }

  /* contact + footer */
  .es-contact { padding: 64px 0 28px; }
  .es-contact__row { flex-direction: column; align-items: stretch; gap: 24px; }
  .es-contact__head { font-size: 56px; }
  .es-contact__text { margin-top: 10px; font-size: 16px; }
  .es-btn--big { font-size: 17px; padding: 18px; }
  .es-foot { flex-direction: column-reverse; align-items: stretch; gap: 28px; margin-top: 48px; padding-top: 0; border-top: 0; font-size: 10px; }
  .es-foot nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; font-size: 12px; }
  .es-foot nav a { padding: 12px 0; border-top: 1px solid var(--es-line); }
}

/* =========================================================
   ADDITIONS FOR THE STANDALONE SITE
   ========================================================= */
.es-header { position: sticky; top: 0; z-index: 20; background: var(--es-bg); }
.es-nav a[aria-current="page"] { color: var(--es-strong); box-shadow: inset 0 -2px 0 var(--es-accent); }
.es-skip { position: absolute; left: -9999px; top: 8px; z-index: 30; background: var(--es-accent); color: var(--es-on-accent); padding: 10px 14px; border-radius: 6px; font-weight: 800; }
.es-skip:focus { left: 8px; }
.es a:focus-visible, .es button:focus-visible, .es summary:focus-visible { outline: 2px solid var(--es-accent); outline-offset: 3px; border-radius: 4px; }
:where(.es) button { font: inherit; color: inherit; }
.es-h1 { font-family: var(--es-head); font-size: calc(clamp(56px, 8vw, 120px) * 0.9); line-height: 0.92; letter-spacing: -0.05em; }
.es-intro { margin-top: 8px; max-width: 640px; font-size: 20px; line-height: 1.6; color: var(--es-soft); }
.es-pagehero { position: relative; overflow: hidden; border-bottom: 1px solid var(--es-line); }
.es-pagehero .es-wrap { position: relative; padding-top: 88px; padding-bottom: 88px; }
.es-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.es-pill { font-family: var(--es-mono); font-size: 11px; color: var(--es-text); border: 1px solid var(--es-line3); padding: 7px 10px; border-radius: 4px; }

/* Season pass, interactive (Home) */
.es-pass .es-tier { flex: 0 0 132px; padding: 0; margin: 0; border: 0; background: none; text-align: left; cursor: pointer; transition: flex-basis 0.2s; }
.es-pass .es-tier__art { height: 110px; transition: height 0.2s; }
.es-pass .es-tier__desc, .es-pass .es-tier__cta { display: none; }
.es-pass .es-tier__title { font-size: 14px; }
.es-pass .es-tier.is-selected { flex-basis: 204px; }
.es-pass .es-tier.is-selected .es-tier__art { height: 150px; }
.es-pass .es-tier.is-selected .es-tier__card { transform: translateY(-6px); box-shadow: 0 0 0 3px var(--es-accent); }
.es-pass .es-tier.is-selected .es-tier__num { box-shadow: 0 0 0 4px var(--es-bg), 0 0 0 7px var(--es-ring); }
.es-detail { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; margin-top: 16px; padding: 32px; border-radius: 20px; }
.es-detail__main { flex: 1 1 520px; min-width: 0; }
.es-detail__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-family: var(--es-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--es-accent-text); }
.es-detail__title { margin-top: 16px; font-family: var(--es-head); font-weight: 900; font-size: calc(clamp(30px, 3.4vw, 46px) * 0.9); line-height: 1.02; letter-spacing: -0.045em; }
.es-detail__role { margin-top: 10px; font-family: var(--es-mono); font-size: 11px; color: var(--es-muted); }
.es-detail__desc { margin-top: 14px; max-width: 680px; font-size: 17px; line-height: 1.55; color: var(--es-body2); }
.es-detail__actions { display: flex; gap: 10px; }
.es-iconbtn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid var(--es-line3); border-radius: 6px; cursor: pointer; font-size: 18px; }
.es-iconbtn:hover { border-color: var(--es-accent); color: var(--es-accent-text); }

/* Project page */
.es-subbar { border-bottom: 1px solid var(--es-line); }
.es-subbar .es-wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; font-family: var(--es-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--es-muted); }
.es-subbar a.es-back { padding: 8px 0; color: var(--es-soft); }
.es-dots { display: flex; gap: 6px; align-items: center; }
.es-dots a { display: block; width: 10px; height: 10px; border-radius: 999px; background: var(--es-line3); transition: width 0.2s; }
.es-dots a.is-current { width: 32px; background: var(--es-accent); }
.es-phero { position: relative; overflow: hidden; background-color: var(--c, #333); }
.es-phero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px); background-size: 64px 64px; }
.es-phero__num { position: absolute; right: -40px; bottom: -110px; font-family: var(--es-head); font-weight: 900; font-size: 520px; line-height: 1; letter-spacing: -0.06em; color: rgba(255,255,255,0.08); pointer-events: none; }
.es-phero .es-wrap { position: relative; min-height: 520px; padding-top: 72px; padding-bottom: 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.es-phero h1 { margin-top: 28px; max-width: 1000px; font-family: var(--es-head); font-size: calc(clamp(56px, 8vw, 120px) * 0.9); line-height: 0.92; letter-spacing: -0.05em; color: #fff; }
.es-phero__desc { margin-top: 6px; max-width: 680px; font-size: 21px; line-height: 1.5; font-weight: 500; color: rgba(255,255,255,0.88); }
.es-phero .es-chip { font-size: 11px; padding: 6px 10px; border-radius: 4px; }
.es-phero .es-chip--light { background: #fff; color: var(--es-on-accent); font-weight: 500; }
.es-phero dl { display: flex; flex-wrap: wrap; gap: 20px 56px; }
.es-phero dt { font-family: var(--es-mono); font-size: 10px; letter-spacing: 0.12em; color: rgba(255,255,255,0.7); }
.es-phero dd { margin-top: 8px; font-weight: 800; font-size: 16px; color: #fff; }
.es-brief { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 96px; padding-bottom: 96px; }
.es-brief__main { flex: 999 1 560px; min-width: 0; }
.es-brief__text { margin-top: 22px; max-width: 720px; font-size: 19px; line-height: 1.65; color: var(--es-soft); }
.es-brief .es-label { margin: 48px 0 14px; }
.es-did { border-top: 1px solid var(--es-line2); }
.es-did li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--es-line2); font-size: 17px; line-height: 1.55; }
.es-check { flex: 0 0 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: var(--es-accent); color: var(--es-on-accent); font-weight: 900; font-size: 13px; margin-top: 1px; }
.es-details { flex: 1 1 340px; }
.es-details__title { margin-top: 10px; font-family: var(--es-head); font-weight: 900; font-size: 22px; letter-spacing: -0.045em; }
.es-details .es-pills { margin-top: 20px; }
.es-details dl { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; font-size: 15px; }
.es-details dl > div { padding-top: 18px; border-top: 1px solid var(--es-line2); }
.es-details dt { font-family: var(--es-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--es-faint); }
.es-details dd { margin-top: 6px; font-weight: 700; }
.es-details dd.is-accent { color: var(--es-accent-text); }
.es-video { position: relative; margin-top: 40px; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background-color: var(--c, #333); display: flex; align-items: center; justify-content: center; }
.es-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.es-video__ph { display: inline-flex; gap: 14px; align-items: center; background: #0B0D10; color: #fff; font-family: var(--es-head); font-weight: 900; font-size: 16px; padding: 20px 30px; border-radius: 999px; }
.es-video .es-chip { position: absolute; top: 20px; left: 20px; font-size: 11px; }
.es-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 16px; }
.es-shot { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; background: var(--es-shotbg); border: 1px solid var(--es-line2); overflow: hidden; display: flex; align-items: flex-end; padding: 18px; }
.es-shot::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--c, #333) 0%, transparent 70%); opacity: 0.35; }
.es-shot span { position: relative; font-family: var(--es-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--es-muted); }
.es-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.es-shot.has-img::before { display: none; }
.es-continue { display: flex; flex-wrap: wrap; gap: 16px; }
.es-cont { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 30px; border-radius: 18px; position: relative; overflow: hidden; }
.es-cont--prev { flex: 1 1 320px; background: var(--es-panel); border: 1px solid var(--es-line2); }
.es-cont--next { flex: 2 1 480px; background-color: var(--c, #333); color: #fff; }
.es-cont__label { font-family: var(--es-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--es-muted); }
.es-cont--next .es-cont__label { color: #fff; background: #0B0D10; padding: 5px 9px; border-radius: 4px; position: relative; }
.es-cont__title { position: relative; font-family: var(--es-head); font-weight: 900; font-size: 28px; line-height: 1.05; letter-spacing: -0.045em; }
.es-cont--next .es-cont__title { font-size: 44px; }
.es-cont__genre { position: relative; font-family: var(--es-mono); font-size: 10px; color: var(--es-muted); }
.es-cont--next .es-cont__genre { color: rgba(255,255,255,0.8); }
.es-cont__num { position: absolute; right: -10px; bottom: -70px; font-family: var(--es-head); font-weight: 900; font-size: 240px; line-height: 1; letter-spacing: -0.06em; color: rgba(255,255,255,0.1); }
.es-cont:hover .es-cont__title { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.es-minifoot { border-top: 1px solid var(--es-line); }
.es-minifoot .es-foot { margin-top: 0; padding: 28px 0; border-top: 0; }

/* History page */
.es-hhero .es-wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.es-hhero__main { flex: 999 1 560px; min-width: 0; }
.es-hhero .es-card { flex: 1 1 380px; }
.es-lfs { display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; font-family: var(--es-mono); font-size: 10px; color: var(--es-on-accent); background: var(--es-accent); padding: 4px 8px; border-radius: 3px; }
.es-lfs::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--es-on-accent); }
.es-story { display: flex; flex-wrap: wrap; gap: 48px; }
.es-story__head { flex: 1 1 300px; }
.es-story__text { flex: 2 1 560px; max-width: 760px; display: flex; flex-direction: column; gap: 20px; font-size: 19px; line-height: 1.65; color: var(--es-soft); }
.es-chapters { position: relative; margin-top: 48px; }
.es-chapters::before { content: ''; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--es-line2); }
.es-chapter { position: relative; display: flex; gap: 32px; padding-bottom: 28px; }
.es-chapter__dot { position: relative; flex: 0 0 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--es-panel); font-family: var(--es-head); font-weight: 900; font-size: 14px; box-shadow: 0 0 0 6px var(--es-bg), 0 0 0 7px var(--es-line3); }
.es-chapter.is-latest .es-chapter__dot { background: var(--es-accent); color: var(--es-on-accent); box-shadow: 0 0 0 6px var(--es-bg), 0 0 0 7px var(--es-accent); }
.es-chapter details { flex: 1 1 auto; min-width: 0; background: var(--es-panel); border: 1px solid var(--es-line2); border-radius: 16px; }
.es-chapter details[open] { border-color: var(--es-line3); }
.es-chapter.is-latest details { border-color: var(--es-accent); }
.es-chapter summary { list-style: none; cursor: pointer; padding: 28px 30px 0; display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; }
.es-chapter summary::-webkit-details-marker { display: none; }
.es-chapter__meta { font-family: var(--es-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--es-muted); }
.es-chapter__team { display: block; margin-top: 14px; font-family: var(--es-head); font-weight: 900; font-size: calc(clamp(26px, 2.6vw, 36px) * 0.9); line-height: 1.05; letter-spacing: -0.045em; }
.es-chapter__role { display: block; margin-top: 8px; font-weight: 700; font-size: 16px; color: var(--es-accent-text); }
.es-chapter__tag { flex: 0 0 auto; font-family: var(--es-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.06em; color: var(--es-muted); border: 1px solid var(--es-line3); padding: 3px 8px; border-radius: 3px; }
.es-chapter.is-latest .es-chapter__tag { color: var(--es-on-accent); background: var(--es-accent); border-color: var(--es-accent); }
.es-chapter__chev { display: none; }
.es-chapter ul { padding: 20px 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.es-chapter li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.55; color: var(--es-soft); }
.es-chapter li::before { content: ''; flex: 0 0 8px; height: 8px; margin-top: 8px; background: var(--es-accent); transform: rotate(45deg); }
.es-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 40px; }
.es-slot { padding: 26px; }
.es-slot__top { display: flex; gap: 12px; align-items: center; }
.es-key { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--es-chipbg); color: var(--es-on-accent); font-family: var(--es-mono); font-size: 13px; font-weight: 500; }
.es-key--ult { background: var(--es-accent); }
.es-slot__slot { display: block; font-family: var(--es-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--es-muted); }
.es-slot__name { display: block; margin-top: 3px; font-weight: 800; font-size: 17px; }
.es-slot .es-pills { margin-top: 18px; }
.es-passives { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.es-passives > div { padding: 26px; }
.es-passives > div:first-child { flex: 2 1 520px; }
.es-passives > div:last-child { flex: 1 1 300px; }
.es-passives p + p { margin-top: 12px; font-size: 17px; line-height: 1.6; }
.es-room { margin-top: 40px; border-top: 1px solid var(--es-line2); }
.es-room > div { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--es-line2); }
.es-room__when { flex: 0 0 170px; font-family: var(--es-mono); font-size: 11px; color: var(--es-muted); }
.es-room__title { flex: 1 1 260px; font-weight: 800; font-size: 18px; }
.es-room__detail { flex: 1 1 280px; font-size: 15px; color: var(--es-dim); }

/* Play page */
.es-playhero .es-wrap { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; padding-bottom: 72px; }
.es-bigstats { display: flex; gap: 32px; }
.es-bigstats dt { font-family: var(--es-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--es-muted); }
.es-bigstats dd { margin-top: 6px; font-family: var(--es-head); font-weight: 900; font-size: 40px; letter-spacing: -0.05em; }
.es-featured { display: flex; flex-wrap: wrap; border-radius: 20px; overflow: hidden; margin-top: 64px; }
.es-featured__art { position: relative; flex: 1 1 520px; min-height: 420px; background-color: #7A2E5A; background-size: cover; background-position: center; overflow: hidden; }
.es-featured__art::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,0.06) 0 18px, transparent 18px 44px); }
.es-featured__art .es-chip { position: absolute; top: 20px; left: 20px; font-size: 11px; }
.es-featured__ko { position: absolute; left: 24px; bottom: 18px; font-family: var(--es-head); font-weight: 900; font-size: 128px; line-height: 0.9; color: rgba(255,255,255,0.14); }
.es-featured__body { flex: 1 1 420px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 36px; }
.es-featured__title { margin-top: 14px; font-family: var(--es-head); font-weight: 900; font-size: calc(clamp(40px, 4.4vw, 60px) * 0.9); line-height: 1; letter-spacing: -0.05em; }
.es-featured__text { margin-top: 18px; font-size: 17px; line-height: 1.6; color: var(--es-soft); }
.es-featured__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.es-board__head { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.es-board__title { font-family: var(--es-head); font-weight: 900; font-size: calc(clamp(30px, 3.2vw, 44px) * 0.9); line-height: 1.04; letter-spacing: -0.045em; }
.es-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.es-filter { display: inline-flex; gap: 8px; align-items: center; font-family: var(--es-mono); font-size: 11px; letter-spacing: 0.06em; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--es-line3); background: none; cursor: pointer; white-space: nowrap; }
.es-filter span { opacity: 0.7; }
.es-filter[aria-pressed="true"] { background: var(--es-accent); border-color: var(--es-accent); color: var(--es-on-accent); }
.es-masonry { margin-top: 36px; columns: 3 300px; column-gap: 16px; }
.es-qcard { display: block; break-inside: avoid; margin-bottom: 16px; border-radius: 16px; overflow: hidden; }
.es-qcard__art { position: relative; display: block; background-color: var(--c, #333); background-size: cover; background-position: center; }
.es-qcard__art .es-chip { position: absolute; top: 14px; left: 14px; font-size: 10px; }
.es-qcard__status { position: absolute; top: 14px; right: 14px; font-family: var(--es-mono); font-size: 10px; font-weight: 500; color: var(--es-on-accent); background: var(--es-accent); padding: 4px 8px; border-radius: 3px; }
.es-qcard.is-open .es-qcard__status { background: var(--es-chipbg); }
.es-qcard__body { display: block; padding: 18px 20px 20px; }
.es-qcard__title { display: block; font-family: var(--es-head); font-weight: 900; font-size: 20px; line-height: 1.1; letter-spacing: -0.045em; color: var(--es-strong); }
.es-qcard.is-open .es-qcard__title { color: var(--es-faint); }
.es-qcard__sub { display: block; margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--es-dim); }

/* 404 */
.es-over { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 64px 16px; }
.es-over .es-btn { margin-top: 36px; }

@media (max-width: 767px) {
  .es-h1 { font-size: min(52px, 13.5vw); }
  .es-intro { margin-top: 10px; font-size: 16px; }
  .es-pagehero .es-wrap { padding-top: 48px; padding-bottom: 44px; }
  .es-pass .es-tier { flex-basis: 112px; }
  .es-pass .es-tier.is-selected { flex-basis: 150px; }
  .es-pass .es-tier__art { height: 84px; }
  .es-pass .es-tier.is-selected .es-tier__art { height: 110px; }
  .es-pass .es-tier__title { font-size: 13px; }
  .es-pass .es-tier__genre { display: none; }
  .es-detail { margin: 8px 0 0; padding: 22px; border-radius: 16px; }
  .es-detail__main { flex-basis: 100%; }
  .es-detail__title { font-size: 28px; }
  .es-detail__desc { font-size: 15px; }
  .es-detail__actions { width: 100%; }
  .es-detail__actions .es-btn { flex: 1 1 auto; width: auto; }
  .es-iconbtn { flex: 0 0 48px; }
  .es-subbar .es-wrap { flex-wrap: nowrap; gap: 12px; padding-top: 10px; padding-bottom: 10px; font-size: 10px; }
  .es-dots { gap: 4px; }
  .es-dots a { width: 8px; height: 8px; }
  .es-dots a.is-current { width: 20px; }
  .es-phero::before { background-size: 40px 40px; }
  .es-phero__num { font-size: 240px; right: -24px; bottom: -50px; }
  .es-phero .es-wrap { min-height: 460px; padding-top: 36px; padding-bottom: 32px; gap: 36px; }
  .es-phero h1 { margin-top: 22px; font-size: min(44px, 10.5vw); line-height: 0.95; }
  .es-phero__desc { margin-top: 8px; font-size: 17px; }
  .es-phero .es-chip { font-size: 9px; padding: 5px 8px; }
  .es-phero dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .es-phero dl > div:first-child { grid-column: 1 / -1; }
  .es-phero dd { font-size: 14px; margin-top: 5px; }
  .es-brief { padding-top: 48px; padding-bottom: 48px; gap: 32px; }
  .es-brief__main, .es-details { flex-basis: 100%; }
  .es-brief__text { margin-top: 16px; font-size: 16px; }
  .es-brief .es-label { margin: 36px 0 10px; font-size: 10px; }
  .es-did li { gap: 12px; padding: 14px 0; font-size: 15px; }
  .es-check { flex-basis: 20px; height: 20px; font-size: 11px; border-radius: 5px; }
  .es-details__title { font-size: 20px; }
  .es-video { margin-top: 24px; border-radius: 12px; }
  .es-video__ph { font-size: 12px; padding: 13px 18px; }
  .es-video .es-chip { top: 10px; left: 10px; font-size: 9px; }
  .es-shots { grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
  .es-shot { border-radius: 12px; }
  .es-continue { flex-direction: column-reverse; gap: 10px; }
  .es-cont { padding: 22px; border-radius: 14px; }
  .es-cont--next .es-cont__title { font-size: 30px; }
  .es-cont--prev .es-cont__title { font-size: 18px; }
  .es-cont__num { font-size: 150px; bottom: -40px; }
  .es-minifoot .es-foot { flex-direction: column-reverse; gap: 12px; padding: 20px 0 28px; }
  .es-hhero .es-wrap { gap: 28px; }
  .es-hhero__main, .es-hhero .es-card { flex-basis: 100%; }
  .es-hhero .es-btnrow { margin-top: 0; }
  .es-story { gap: 16px; }
  .es-story__head, .es-story__text { flex-basis: 100%; }
  .es-story__text { font-size: 16px; gap: 14px; }
  .es-chapters { margin-top: 24px; }
  .es-chapters::before { left: 17px; }
  .es-chapter { gap: 14px; padding-bottom: 12px; }
  .es-chapter__dot { flex-basis: 36px; height: 36px; font-size: 11px; box-shadow: 0 0 0 4px var(--es-bg), 0 0 0 5px var(--es-line3); }
  .es-chapter.is-latest .es-chapter__dot { box-shadow: 0 0 0 4px var(--es-bg), 0 0 0 5px var(--es-accent); }
  .es-chapter details { border-radius: 12px; }
  .es-chapter summary { padding: 14px 16px; align-items: center; }
  .es-chapter__meta { font-size: 9px; }
  .es-chapter__team { margin-top: 9px; font-size: 18px; }
  .es-chapter__role { margin-top: 11px; font-size: 13px; }
  .es-chapter__tag { display: none; }
  .es-chapter__chev { display: block; flex: 0 0 auto; font-size: 14px; transition: transform 0.2s; }
  .es-chapter details[open] .es-chapter__chev { transform: rotate(180deg); }
  .es-chapter details[open] { border-color: var(--es-accent); }
  .es-chapter ul { padding: 4px 16px 16px; gap: 10px; border-top: 1px solid var(--es-line2); }
  .es-chapter li { font-size: 14px; gap: 10px; padding-top: 10px; }
  .es-chapter li::before { flex-basis: 6px; height: 6px; }
  .es-slots { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .es-slot, .es-passives > div { padding: 18px; }
  .es-passives { gap: 10px; margin-top: 10px; }
  .es-passives > div { flex-basis: 100% !important; }
  .es-room { margin-top: 20px; }
  .es-room > div { display: block; padding: 16px 0; }
  .es-room__when, .es-room__title, .es-room__detail { display: block; }
  .es-room__title { margin-top: 4px; font-size: 16px; }
  .es-room__detail { margin-top: 4px; font-size: 13px; }
  .es-playhero .es-wrap { padding-bottom: 40px; }
  .es-bigstats dd { font-size: 28px; }
  .es-featured { margin-top: 32px; border-radius: 16px; }
  .es-featured__art { flex-basis: 100%; min-height: 0; aspect-ratio: 4 / 3; }
  .es-featured__ko { font-size: 84px; left: 16px; bottom: 10px; }
  .es-featured__body { flex-basis: 100%; padding: 20px; gap: 18px; }
  .es-featured__title { font-size: 30px; margin-top: 8px; }
  .es-featured__text { font-size: 15px; margin-top: 12px; }
  .es-featured__foot .es-pills { display: none; }
  .es-board__title { font-size: 26px; }
  .es-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; width: calc(100% + 32px); scrollbar-width: none; }
  .es-filters::-webkit-scrollbar { display: none; }
  .es-filter { flex: 0 0 auto; font-size: 10px; padding: 10px 12px; }
  .es-masonry { columns: 2; column-gap: 10px; margin-top: 20px; }
  .es-qcard { margin-bottom: 10px; border-radius: 12px; }
  .es-qcard__art .es-chip { display: none; }
  .es-qcard__status { top: 8px; right: 8px; font-size: 8px; padding: 3px 5px; }
  .es-qcard__body { padding: 10px 12px 12px; }
  .es-qcard__title { font-size: 14px; line-height: 1.15; }
  .es-qcard__sub { font-family: var(--es-mono); font-size: 8px; margin-top: 4px; color: var(--es-muted); }
}

/* =========================================================
   DISPLAY TYPE SPACING
   Unbounded's tall caps and long descenders (y, p, g, q) reach past a
   tight line-height. Each big headline gets that room back as padding
   measured in em, so the breathing room grows with the type size and
   small text above or below never touches it.
   ========================================================= */
.es-title__name, .es-h1, .es-phero h1, .es-contact__head { padding-top: 0.04em; padding-bottom: 0.26em; }
.es-h2, .es-detail__title, .es-featured__title, .es-board__title, .es-profile__head, .es-patch__title { padding-bottom: 0.17em; }
.es-menu__title, .es-chapter__team, .es-card__name, .es-trophy__value, .es-cont__title, .es-quest__title, .es-qcard__title, .es-details__title, .es-tier__title { padding-bottom: 0.06em; }
.es-menu__title { padding-bottom: 0.18em; }
.es-pagehero .es-kicker { margin-bottom: 22px; }
.es-trophy__value, .es-cont__title, .es-chapter__team { padding-bottom: 0.12em; }
/* =========================================================
   PROJECT NAVIGATION + TAP TARGETS
   Every control is at least 40px (desktop) / 44px (phone) so it is
   easy to hit. Phones get a Previous / Next bar fixed to the bottom,
   within reach of the thumb.
   ========================================================= */
.es-subbar .es-back { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; }
.es-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.es-chips a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--es-line3); font-family: var(--es-mono); font-size: 12px; color: var(--es-soft); transition: border-color 0.15s, color 0.15s, background 0.15s; }
.es-chips a:hover { border-color: var(--es-accent); color: var(--es-strong); }
.es-chips a.is-current { background: var(--es-accent); border-color: var(--es-accent); color: var(--es-on-accent); font-weight: 500; }
.es-stepper { display: flex; gap: 8px; }
.es-stepper a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 8px; border: 1px solid var(--es-line3); font-family: var(--es-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--es-text); transition: border-color 0.15s, color 0.15s; }
.es-stepper a:hover { border-color: var(--es-accent); color: var(--es-accent-text); }
.es-pbar { display: none; }

@media (max-width: 767px) {
  .es-chips, .es-stepper { display: none; }
  .es-subbar .es-wrap { justify-content: space-between; }
  .es-subbar .es-back { min-height: 44px; font-size: 11px; }
  .es-subbar .es-count { font-size: 11px; }
  .es-pbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: var(--es-glass); border-top: 1px solid var(--es-line);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .es-pbar a { min-height: 56px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 14px; border-radius: 10px; background: var(--es-panel); border: 1px solid var(--es-line3); }
  .es-pbar a.is-next { background: var(--es-accent); border-color: var(--es-accent); color: var(--es-on-accent); align-items: flex-end; text-align: right; }
  .es-pbar small { font-family: var(--es-mono); font-size: 9px; letter-spacing: 0.08em; opacity: 0.85; }
  .es-pbar b { max-width: 100%; font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  main.has-pbar { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }

  /* comfortable tap targets everywhere on phones */
  .es-nav a { min-height: 44px; display: inline-flex; align-items: center; gap: 0.6ch; }
  .es-filter { min-height: 44px; }
  .es-foot nav a { min-height: 44px; display: flex; align-items: center; }
  .es-chapter summary { min-height: 56px; }
}
/* =========================================================
   THEME SWITCH (Auto / Light / Dark)
   ========================================================= */
.es-header__right { display: flex; align-items: center; gap: 12px; }
.es-theme { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--es-line3); border-radius: 8px; background: none; cursor: pointer; font-family: var(--es-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--es-text); transition: border-color 0.15s, color 0.15s; }
.es-theme:hover { border-color: var(--es-accent); color: var(--es-accent-text); }
.es-theme svg { width: 16px; height: 16px; display: none; }
:root[data-theme-pref="auto"] .es-ti--auto, :root:not([data-theme-pref]) .es-ti--auto,
:root[data-theme-pref="light"] .es-ti--light, :root[data-theme-pref="dark"] .es-ti--dark { display: block; }
.es-theme__label { min-width: 5ch; text-align: left; }
.es-theme__label::before { content: 'AUTO'; }
:root[data-theme-pref="light"] .es-theme__label::before { content: 'LIGHT'; }
:root[data-theme-pref="dark"] .es-theme__label::before { content: 'DARK'; }
@media (max-width: 767px) {
  .es-header__right { gap: 4px; }
  .es-theme { min-height: 44px; min-width: 44px; padding: 0; justify-content: center; }
  .es-theme__label { display: none; }
}
@media (max-width: 359px) {
  .es-nav a { padding-left: 7px; padding-right: 7px; }
  .es-nav a span { display: none; }
}
/* =========================================================
   REAL MEDIA: gallery, long email previews, video clips
   ========================================================= */
.es-showcase { margin-top: 40px; }
.es-showcase .es-video { margin-top: 0; }
.es-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.es-video--empty { aspect-ratio: 21 / 9; }
.es-media-label { margin: 40px 0 14px; }
.es-showcase > .es-media-label:first-child { margin-top: 0; }
.es-gallery { columns: 2 420px; column-gap: 16px; }
.es-g { display: block; break-inside: avoid; margin-bottom: 16px; border-radius: 14px; overflow: hidden; background: var(--es-shotbg); border: 1px solid var(--es-line2); transition: border-color 0.15s, transform 0.2s; }
.es-g:hover { border-color: var(--es-accent); }
.es-g img { display: block; width: 100%; height: auto; }
.es-longs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.es-long { display: block; height: 640px; overflow-y: auto; border-radius: 14px; border: 1px solid var(--es-line2); background: var(--es-shotbg); scrollbar-width: thin; scrollbar-color: var(--es-line3) transparent; }
.es-long:hover { border-color: var(--es-accent); }
.es-long img { display: block; width: 100%; height: auto; }
.es-clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; align-items: start; }
.es-clips video { display: block; width: 100%; max-height: 520px; border-radius: 14px; background: #000; border: 1px solid var(--es-line2); }
.es-q-3d { --img: url('../images/covers/voyage.jpg'); }
.es-q-graphic { --img: url('../images/akkurat/04.png'); }
.es-q-illo { --img: url('../images/college/01.jpg'); }
.es-q-paint { --img: url('../images/ig-paintings/01.jpg'); }
.es-quest { background-blend-mode: normal; }
.es-quest::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.55)); pointer-events: none; }
.es-quest > * { position: relative; }
.es-avatar { --img: url('../images/covers/eva-portrait-square.jpg'); color: transparent; font-size: 0; }
@media (max-width: 767px) {
  .es-showcase { margin-top: 24px; }
  .es-media-label { margin: 28px 0 10px; }
  .es-gallery { columns: 1; }
  .es-g { margin-bottom: 10px; border-radius: 12px; }
  .es-longs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .es-long { height: 420px; border-radius: 12px; }
  .es-clips { grid-template-columns: 1fr 1fr; gap: 10px; }
  .es-clips video { border-radius: 12px; max-height: 360px; }
}
.es-featured__art { background-size: cover; background-position: center; }
.es-featured__art[style*='background-image']::before, .es-featured__art[style*='background-image'] .es-featured__ko { display: none; }

/* ---------- Play: flip cards (plain art front, title + tools back) ---------- */
.es-qboard { padding-top: 48px; padding-bottom: 104px; }
.es-qboard__tip { margin-top: 10px; font-family: var(--es-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--es-muted); }
.es-qgrid { margin-top: 32px; display: flex; gap: 16px; align-items: flex-start; }
.es-qgrid__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.es-flip { position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 0; border-radius: 14px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; perspective: 1600px; -webkit-tap-highlight-color: transparent; }
.es-flip:focus-visible { outline: 3px solid var(--es-ring); outline-offset: 3px; }
.es-flip__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.es-flip[aria-pressed="true"] .es-flip__inner { transform: rotateY(180deg); }
.es-flip__front, .es-flip__back { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.es-flip__front { background-color: var(--c, #333); }
.es-flip__front img, .es-flip__front video { display: block; width: 100%; height: 100%; object-fit: cover; }
.es-flip__plain { display: flex; align-items: flex-end; height: 100%; padding: 20px; font-family: var(--es-head); font-weight: 900; font-size: 20px; line-height: 1.1; letter-spacing: -0.045em; color: #FFFFFF; }
.es-flip__hint { position: absolute; left: 12px; bottom: 12px; font-family: var(--es-mono); font-size: 10px; letter-spacing: 0.06em; color: #FFFFFF; background: rgba(11, 13, 16, 0.78); padding: 6px 8px; border-radius: 4px; opacity: 0; transform: translateY(4px); transition: opacity 0.2s, transform 0.2s; pointer-events: none; }
@media (hover: hover) { .es-flip:hover .es-flip__hint, .es-flip:focus-visible .es-flip__hint { opacity: 1; transform: none; } }
.es-flip__back { transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px; padding: 20px; background: var(--es-panel); border: 1px solid var(--es-line3); box-shadow: inset 0 5px 0 var(--c, var(--es-accent)); }
.es-flip__back-hint { position: absolute; top: 18px; right: 16px; font-family: var(--es-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--es-muted); }
.es-flip__meta { font-family: var(--es-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--es-accent-text); }
.es-flip__title { font-family: var(--es-head); font-weight: 900; font-size: 20px; line-height: 1.1; letter-spacing: -0.045em; color: var(--es-strong); padding-bottom: 0.06em; margin-bottom: 4px; }
.es-flip__label { font-family: var(--es-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--es-muted); }
.es-flip__tools { display: flex; flex-wrap: wrap; gap: 6px; }
.es-flip__tools .es-pill { font-size: 10px; padding: 5px 8px; }
.es-flip__sub { font-size: 14px; line-height: 1.45; color: var(--es-dim); }
@media (prefers-reduced-motion: reduce) { .es-flip__inner { transition: none; } }
@media (max-width: 767px) {
  .es-qboard { padding-top: 24px; padding-bottom: 64px; }
  .es-qboard__tip { font-size: 9px; margin-top: 6px; }
  .es-qgrid { margin-top: 20px; gap: 10px; }
  .es-qgrid__col { gap: 10px; }
  .es-flip, .es-flip__front, .es-flip__back { border-radius: 12px; }
  .es-flip__plain { padding: 12px; font-size: 14px; }
  .es-flip__back { padding: 12px; gap: 6px; box-shadow: inset 0 4px 0 var(--c, var(--es-accent)); }
  .es-flip__back-hint { top: 10px; right: 10px; font-size: 8px; }
  .es-flip__meta, .es-flip__label { font-size: 8px; }
  .es-flip__title { font-size: 14px; line-height: 1.12; margin-bottom: 2px; }
  .es-flip__tools { gap: 4px; }
  .es-flip__tools .es-pill { font-size: 9px; padding: 4px 6px; }
  .es-flip__sub { font-size: 11px; line-height: 1.4; }
}

/* ---------- Project pages: Final work -> brief -> Process -> Moodboard + references ---------- */
.es-brief--mid { border-top: 1px solid var(--es-line); }
.es-group__head { margin-bottom: 56px; }
.es-sec + .es-sec { margin-top: 96px; }
.es-sec__head { max-width: 760px; margin-bottom: 24px; }
.es-sec__title { font-family: var(--es-head); font-weight: 900; font-size: calc(clamp(22px, 2.2vw, 30px) * 0.9); line-height: 1.1; letter-spacing: -0.04em; color: var(--es-strong); padding-bottom: 0.08em; }
.es-sec__text { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--es-body2); }
.es-sec__media { display: flex; flex-direction: column; gap: 16px; }
.es-sec__media > .es-video { margin-top: 0; }
.es-set { display: grid; gap: 16px; align-items: start; }
.es-set--full { grid-template-columns: minmax(0, 1fr); }
.es-set--one { grid-template-columns: minmax(0, 560px); }
.es-set--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.es-set--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.es-set--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.es-pic { display: block; border-radius: 14px; overflow: hidden; background: var(--es-shotbg); border: 1px solid var(--es-line2); transition: border-color 0.15s; }
.es-pic:hover { border-color: var(--es-accent); }
.es-pic img { display: block; width: 100%; height: auto; }
.es-group--process .es-sec__title, .es-group--ref .es-sec__title { font-size: calc(clamp(20px, 1.8vw, 26px) * 0.9); }
@media (max-width: 767px) {
  .es-group__head { margin-bottom: 32px; }
  .es-sec + .es-sec { margin-top: 56px; }
  .es-sec__head { margin-bottom: 16px; }
  .es-sec__title, .es-group--process .es-sec__title, .es-group--ref .es-sec__title { font-size: 20px; }
  .es-sec__text { margin-top: 10px; font-size: 15px; }
  .es-sec__media, .es-set { gap: 10px; }
  .es-set--2, .es-set--one { grid-template-columns: minmax(0, 1fr); }
  .es-set--3, .es-set--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .es-set--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 5px); }
  .es-pic { border-radius: 12px; }
}
/* =====================================================================
   Design pass, Nov 2026 (design review #1-#5)
   ===================================================================== */

/* #1 Title screen shows the work: reel of the newest projects under PRESS START */
.es-title { min-height: 0; }
.es-title__main { padding-top: 40px; }
.es-start { margin-top: 40px; }
.es-reel { position: relative; display: flex; gap: 16px; margin-top: 64px; padding: 0 max(40px, calc((100% - 1280px) / 2)) 48px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: max(40px, calc((100% - 1280px) / 2)); scrollbar-width: none; }
.es-reel::-webkit-scrollbar { display: none; }
.es-reel__card { position: relative; flex: 1 0 210px; height: 220px; border-radius: 14px; overflow: hidden; background-color: var(--c, var(--es-panel)); border: 1px solid var(--es-line2); scroll-snap-align: start; }
.es-reel__card:first-child { flex-grow: 1.6; }
.es-reel__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.es-reel__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 13, 16, 0) 45%, rgba(11, 13, 16, 0.82)); }
.es-reel__tag { position: absolute; z-index: 1; top: 12px; left: 12px; font-family: var(--es-mono); font-size: 10px; letter-spacing: 0.08em; color: #FFFFFF; background: rgba(11, 13, 16, 0.82); padding: 4px 7px; border-radius: 3px; }
.es-reel__name { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; font-family: var(--es-head); font-weight: 900; font-size: 18px; line-height: 1.1; letter-spacing: -0.035em; color: #FFFFFF; padding-bottom: 0.06em; }
.es-reel__card:hover, .es-reel__card:focus-visible { border-color: var(--es-accent); }

/* #1 Quick select row (replaces the full-screen main menu) */
.es-quick { border-top: 1px solid var(--es-line); border-bottom: 1px solid var(--es-line); }
.es-quick__row { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.es-quick__links { display: flex; flex-wrap: wrap; gap: 8px; }
.es-quick__links a { font-family: var(--es-mono); font-size: 12px; letter-spacing: 0.04em; padding: 10px 14px; border: 1px solid var(--es-line3); border-radius: 999px; color: var(--es-text); white-space: nowrap; }
.es-quick__links a:hover { border-color: var(--es-strong); color: var(--es-strong); }
.es-quick__patch { font-family: var(--es-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--es-muted); }
.es-quick__patch span { color: var(--es-accent-text); margin-right: 6px; }

/* #2 Season pass: image tiles, newest season biggest */
.es-passnums { display: flex; flex-wrap: wrap; gap: 6px; }
.es-passnums a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--es-line3); font-family: var(--es-mono); font-size: 11px; color: var(--es-muted); }
.es-passnums a:hover { border-color: var(--es-strong); color: var(--es-strong); }
.es-bento { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 16px; }
.es-tile { position: relative; display: block; border-radius: 16px; overflow: hidden; background-color: var(--c, var(--es-panel)); border: 1px solid var(--es-line2); }
.es-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.es-tile:hover, .es-tile:focus-visible { border-color: var(--es-strong); }
.es-tile--feat { grid-column: span 2; grid-row: span 2; }
.es-tile__cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 64px 18px 16px; background: linear-gradient(180deg, rgba(11, 13, 16, 0), rgba(11, 13, 16, 0.9) 70%); }
.es-tile__text { min-width: 0; display: flex; flex-direction: column; }
.es-tile__meta { font-family: var(--es-mono); font-size: 10px; letter-spacing: 0.08em; color: #C3CAD4; }
.es-tile__meta b { font-weight: 500; color: #0B0D10; background: var(--es-accent); padding: 2px 6px; border-radius: 3px; margin-left: 6px; }
.es-tile__title { margin-top: 6px; font-family: var(--es-head); font-weight: 900; font-size: 22px; line-height: 1.08; letter-spacing: -0.035em; color: #FFFFFF; padding-bottom: 0.06em; }
.es-tile__genre { margin-top: 4px; font-size: 13px; line-height: 1.4; color: #D5DAE1; }
.es-tile--feat .es-tile__cap { padding: 120px 28px 26px; }
.es-tile--feat .es-tile__title { font-size: calc(clamp(40px, 4.4vw, 64px) * 0.9); }
.es-tile--feat .es-tile__genre { margin-top: 8px; max-width: 44ch; font-size: 16px; }
.es-tile--feat .es-btn { flex: 0 0 auto; }
@media (prefers-reduced-motion: no-preference) {
  .es-reel__card, .es-tile { transition: transform 0.2s, border-color 0.2s; }
  .es-tile img { transition: transform 0.4s; }
  .es-reel__card:hover, .es-tile:hover { transform: translateY(-4px); }
  .es-tile:hover img { transform: scale(1.03); }
}
@media (max-width: 1100px) { .es-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; } }

/* #3 Project hero shows the result + jump bar */
.es-phero__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.es-phero--art .es-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 56px; min-height: 0; padding-top: 64px; padding-bottom: 64px; }
.es-phero--art .es-phero__text { gap: 40px; }
.es-phero--art h1 { font-size: calc(clamp(44px, 5.2vw, 88px) * 0.9); }
.es-phero--art .es-phero__desc { font-size: 19px; }
.es-phero--art dl { gap: 18px 40px; }
.es-phero__art { position: relative; display: block; width: 100%; max-height: 560px; border-radius: 18px; overflow: hidden; background: rgba(0, 0, 0, 0.2); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.es-phero__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.es-jump { position: sticky; top: var(--es-headh, 71px); z-index: 15; background: var(--es-glass); border-bottom: 1px solid var(--es-line); }
.es-jump__row { display: flex; gap: 8px; padding-top: 12px; padding-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.es-jump__row::-webkit-scrollbar { display: none; }
.es-jump a { flex: 0 0 auto; font-family: var(--es-mono); font-size: 12px; letter-spacing: 0.04em; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--es-line3); color: var(--es-text); }
.es-jump a:hover { border-color: var(--es-strong); color: var(--es-strong); }
.es-jump a[aria-current="true"] { background: var(--es-accent); border-color: var(--es-accent); color: var(--es-on-accent); }
#part-final, #brief, #part-process, #part-ref { scroll-margin-top: calc(var(--es-headh, 71px) + 60px); }

/* #4 Orange = buttons, "you are here" and one highlight. Small labels go gray. */
.es-kicker, .es-title__kicker, .es-nav a span, .es-flip__meta { color: var(--es-muted); }
.es-card::before, .es-card::after { border-color: var(--es-line3); }
.es-trophy__meta::before { background: var(--es-muted); }
.es-chapter__role { color: var(--es-soft); }
.es-chapter li::before { background: var(--es-line3); }
.es-check { background: transparent; border: 1px solid var(--es-line3); color: var(--es-strong); }
.es-nav a[aria-current="page"] span { color: var(--es-accent-text); }

@media (max-width: 767px) {
  .es-title__main { padding-top: 24px; }
  .es-start { margin-top: 28px; }
  .es-reel { margin-top: 40px; gap: 10px; padding: 0 16px 32px; scroll-padding-inline: 16px; scroll-snap-type: x mandatory; }
  .es-reel__card, .es-reel__card:first-child { flex: 0 0 64%; height: 180px; border-radius: 12px; }
  .es-reel__name { font-size: 16px; }
  .es-quick__row { padding-top: 14px; padding-bottom: 14px; gap: 10px; }
  .es-quick__links { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; width: calc(100% + 32px); scrollbar-width: none; }
  .es-quick__links::-webkit-scrollbar { display: none; }
  .es-quick__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; }
  .es-quick__patch { font-size: 10px; }
  .es-passnums { gap: 4px; }
  .es-passnums a { width: 32px; height: 32px; font-size: 10px; }
  .es-bento { margin-top: 24px; gap: 10px; grid-auto-rows: 170px; }
  .es-tile { border-radius: 12px; }
  .es-tile__cap { padding: 40px 10px 10px; }
  .es-tile__meta { font-size: 8px; }
  .es-tile__title { font-size: 15px; margin-top: 4px; }
  .es-tile__genre { display: none; }
  .es-tile--feat .es-tile__cap { flex-direction: column; align-items: stretch; padding: 80px 16px 16px; gap: 12px; }
  .es-tile--feat .es-tile__title { font-size: 30px; }
  .es-tile--feat .es-tile__genre { display: block; font-size: 14px; }
  .es-phero--art .es-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 32px; padding-bottom: 32px; }
  .es-phero--art .es-phero__text { gap: 28px; }
  .es-phero--art h1 { font-size: min(44px, 10.5vw); }
  .es-phero--art .es-phero__desc { font-size: 16px; }
  .es-phero__art { border-radius: 12px; }
  .es-phero dl > .es-phero__tools { grid-column: 1 / -1; }
  .es-jump__row { padding-top: 8px; padding-bottom: 8px; gap: 6px; }
  .es-jump a { display: inline-flex; align-items: center; min-height: 40px; font-size: 11px; padding: 0 12px; }
}
/* Season pass for 10: ranked bento. Biggest first: 01 featured with 02 + 03 stacked beside it,
   04-06 in thirds, 07-10 in quarters. Tablet + phone: 01 full, 02-03 halves, 04-06 thirds, 07-10 halves. */
.es-bento { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 220px; }
.es-tile--r1 { grid-column: span 8; grid-row: span 2; }
.es-tile--r2 { grid-column: span 4; }
.es-tile--r3 { grid-column: span 4; }
.es-tile--r4 { grid-column: span 3; }
.es-tile--r1 img { object-position: 50% 40%; }
.es-tile__num { position: absolute; top: 12px; left: 12px; z-index: 1; font-family: var(--es-mono); font-size: 11px; letter-spacing: 0.06em; color: #FFFFFF; background: rgba(11, 13, 16, 0.55); border: 1px solid rgba(255, 255, 255, 0.18); padding: 5px 8px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.es-tile--r1 .es-tile__num { top: 18px; left: 18px; font-size: 13px; padding: 6px 11px; }
.es-tile--r4 .es-tile__title { font-size: 19px; }
@media (max-width: 1100px) {
  .es-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 210px; }
  .es-tile--r1 { grid-column: span 6; grid-row: span 2; }
  .es-tile--r2 { grid-column: span 3; }
  .es-tile--r3 { grid-column: span 2; }
  .es-tile--r4 { grid-column: span 3; }
}
@media (max-width: 767px) {
  .es-bento { grid-auto-rows: 150px; }
  .es-tile--r1 { grid-row: span 2; }
  .es-tile__num { top: 8px; left: 8px; font-size: 9px; padding: 3px 6px; }
  .es-tile--r1 .es-tile__num { top: 12px; left: 12px; font-size: 11px; padding: 4px 8px; }
  .es-tile--r3 .es-tile__title, .es-tile--r4 .es-tile__title { font-size: 14px; }
  .es-tile--r3 .es-tile__meta { display: none; }
}
/* Play: Story mode slideshows */
.es-stories { padding-top: 56px; }
.es-stories__grid { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
/* scoped to the Play grid: History's Backstory also uses .es-story / .es-story__text */
.es-stories__grid .es-story { display: block; gap: 0; min-width: 0; background: var(--es-panel); border: 1px solid var(--es-line2); border-radius: 18px; overflow: hidden; }
.es-story__view { position: relative; overflow: hidden; background: #0B0D10; touch-action: pan-y; outline: none; }
.es-story__view:focus-visible { box-shadow: inset 0 0 0 3px var(--es-accent); }
.es-story__track { display: flex; height: 100%; transition: transform 0.55s cubic-bezier(.2,.7,.2,1); }
.es-story__slide { flex: 0 0 100%; margin: 0; height: 100%; }
.es-story__slide img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.es-story__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(11,13,16,.6); color: #fff; font-size: 18px; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0.85; }
.es-story__arrow:hover, .es-story__arrow:focus-visible { opacity: 1; border-color: #fff; }
.es-story__arrow--prev { left: 12px; }
.es-story__arrow--next { right: 12px; }
.es-story__count { position: absolute; right: 12px; bottom: 12px; font-family: var(--es-mono); font-size: 11px; color: #fff; background: rgba(11,13,16,.6); padding: 4px 8px; border-radius: 999px; }
.es-story__info { padding: 18px 22px 22px; }
.es-story__dots { display: flex; gap: 6px; margin-bottom: 14px; }
.es-story__dots button { width: 22px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: var(--es-line3); cursor: pointer; }
.es-story__dots button[aria-selected="true"] { background: var(--es-accent); }
.es-story__meta { margin: 0; font-family: var(--es-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--es-muted); }
.es-story__title { margin: 6px 0 0; font-family: var(--es-head); font-weight: 900; font-size: 24px; line-height: 1.1; letter-spacing: -0.035em; color: var(--es-strong); padding-bottom: 0.06em; }
.es-stories__grid .es-story__text { display: block; max-width: none; margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--es-soft); }
.es-story__tools { margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.es-story__tools .es-flip__label { margin-right: 4px; }
@media (prefers-reduced-motion: reduce) { .es-story__track { transition: none; } }
@media (max-width: 900px) { .es-stories__grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .es-stories { padding-top: 36px; }
  .es-stories__grid { gap: 18px; }
  .es-story__arrow { width: 40px; height: 40px; font-size: 16px; }
  .es-story__dots button { width: 18px; height: 6px; }
  .es-story__info { padding: 14px 16px 18px; }
  .es-story__title { font-size: 20px; }
}
/* Play: Cutscenes (video players with sound) */
.es-cut__view { aspect-ratio: 16 / 9; background: #000; }
.es-cut__view video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.es-stories + .es-stories { padding-top: 40px; }
/* Season pass: 01-10 buttons pick the featured project */
.es-passnums button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: 999px; border: 1px solid var(--es-line3); background: transparent; font-family: var(--es-mono); font-size: 11px; color: var(--es-muted); cursor: pointer; }
.es-passnums button:hover, .es-passnums button:focus-visible { border-color: var(--es-strong); color: var(--es-strong); }
.es-passnums button[aria-pressed="true"] { background: var(--es-accent); border-color: var(--es-accent); color: var(--es-on-accent); }
@media (prefers-reduced-motion: no-preference) {
  .es-tile--feat { animation: es-feat-in 0.35s ease-out; }
  @keyframes es-feat-in { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: none; } }
}
@media (max-width: 767px) { .es-passnums button { width: 44px; height: 44px; font-size: 11px; } }
/* =====================================================================
   Spacing + readability pass (2026-11-18). Fluid spacing from phone to
   large monitors, and a readable floor for small mono labels.
   ===================================================================== */
.es-wrap { max-width: 1440px; padding-left: clamp(16px, 4vw, 56px); padding-right: clamp(16px, 4vw, 56px); }
.es-section { padding-top: clamp(56px, 7vw, 112px); padding-bottom: clamp(64px, 8vw, 128px); }
.es-kicker { margin-bottom: clamp(10px, 1.2vw, 18px); }
.es-lede { margin-top: clamp(10px, 1.2vw, 16px); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.55; }

/* Title screen: fills most of the first screen, with room under PRESS START */
.es-title { min-height: clamp(560px, 86vh, 980px); }
.es-title__main { padding-top: clamp(24px, 5vh, 72px); padding-bottom: clamp(56px, 10vh, 120px); }
.es-start { margin-top: clamp(28px, 4.5vh, 56px); }

/* Quick links: centered, larger, wrap instead of scrolling off the edge */
.es-quick__row { justify-content: center; padding-top: clamp(18px, 2.4vw, 30px); padding-bottom: clamp(18px, 2.4vw, 30px); }
.es-quick__links { justify-content: center; gap: clamp(8px, 1vw, 12px); }
.es-quick__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 clamp(14px, 1.4vw, 20px); font-size: clamp(12px, 0.95vw, 14px); }
@media (max-width: 767px) {
  .es-quick__links { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; width: auto; }
  .es-quick__links a { font-size: 12px; }
}

/* Readable floor: small mono labels never drop below 11px (desktop) / 10px (phone) */
.es-chip, .es-tag, .es-tier__season, .es-tier__genre, .es-tier__cta, .es-stats dt, .es-trophy__meta, .es-quest .es-chip,
.es-phero dt, .es-details dt, .es-chapter__tag, .es-slot__slot, .es-bigstats dt, .es-flip__meta, .es-flip__label,
.es-tile__meta, .es-tile__num, .es-match__when, .es-count, .es-chapter__meta, .es-filter, .es-passnums button,
.es-story__meta, .es-lfs, .es-pill { font-size: 11px; }
.es-tile--r1 .es-tile__num { font-size: 12px; }
.es-flip__tools .es-pill { font-size: 11px; }
@media (max-width: 767px) {
  .es-chip, .es-tag, .es-tier__season, .es-tier__genre, .es-stats dt, .es-trophy__meta, .es-quest .es-chip, .es-phero dt,
  .es-details dt, .es-chapter__tag, .es-bigstats dt, .es-flip__meta, .es-flip__label, .es-tile__meta, .es-tile__num,
  .es-match__when, .es-count, .es-chapter__meta, .es-hud, .es-title__kicker, .es-foot, .es-subbar .es-wrap, .es-story__meta,
  .es-pill, .es-flip__tools .es-pill, .es-profile .es-label, .es-brief .es-label, .es-card__say { font-size: 10.5px; }
  .es-filter { font-size: 11px; }
  .es-tile--r3 .es-tile__meta { display: none; }
}@media (max-width: 767px) {
  .es-pbar small, .es-phero .es-chip, .es-video .es-chip { font-size: 10.5px; }
}@media (max-width: 767px) {
  .es-title { min-height: 0; }
  .es-title__main { padding-top: 48px; padding-bottom: 56px; }
}
/* Home: sticky section bar (stays under the header, marks the current section) */
.es-quick { position: sticky; top: var(--es-headh, 71px); z-index: 15; background: var(--es-bg); transition: background-color 0.2s; }
.es-quick__row { padding-top: 12px; padding-bottom: 12px; }
.es-quick.is-stuck { background: var(--es-glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.es-quick__links a { transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.es-quick__links a[aria-current="true"] { background: var(--es-accent); border-color: var(--es-accent); color: var(--es-on-accent); }
#work, #profile, #achievements, #play, #contact { scroll-margin-top: calc(var(--es-headh, 71px) + 68px); }
@media (max-width: 767px) {
  /* one swipeable row so the bar stays short; a fade hints there's more */
  .es-quick__row { padding-top: 10px; padding-bottom: 10px; }
  .es-quick__links { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; width: calc(100% + 32px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%); }
  .es-quick__links::-webkit-scrollbar { display: none; }
  .es-quick__links a { flex: 0 0 auto; min-height: 40px; }
  #work, #profile, #achievements, #play, #contact { scroll-margin-top: calc(var(--es-headh, 60px) + 62px); }
}

/* Every page: back-to-top button */
.es-totop { position: fixed; z-index: 30; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--es-line3); background: var(--es-glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--es-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--es-strong); cursor: pointer;
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 0.2s, transform 0.2s, border-color 0.15s; }
.es-totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.es-totop:hover, .es-totop:focus-visible { border-color: var(--es-accent); }
.es-totop span { font-size: 15px; line-height: 1; }
@media (prefers-reduced-motion: reduce) { .es-totop { transition: none; } }
@media (max-width: 767px) {
  .es-totop { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  body:has(main.has-pbar) .es-totop { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}
/* Title screen: content-height again (no forced 86vh), modest top space */
.es-title { min-height: 0; justify-content: flex-start; }
.es-title__main { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 88px); }
@media (max-width: 767px) { .es-title__main { padding-top: 36px; padding-bottom: 48px; } }
/* Story mode: every slideshow the same 16:10 frame; slides fill it (small edge crops) */
#stories .es-story__view { aspect-ratio: 16 / 10; }
#stories .es-story__slide img { object-fit: cover; object-position: center; }
#stories.es-stories__grid { grid-auto-rows: 1fr; }

/* looping mp4s that replaced GIFs sit exactly like images */
.es-g video, .es-long video, .es-pic video { display: block; width: 100%; height: auto; }

/* Home: availability status under the title */
.es-status { display: inline-flex; align-items: center; gap: 10px; margin: clamp(14px, 1.6vw, 20px) 0 0; padding: 8px 14px; border: 1px solid var(--es-line3); border-radius: 999px;
  font-family: var(--es-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--es-text); }
.es-status__dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
@media (prefers-reduced-motion: no-preference) {
  .es-status__dot { animation: es-live 2.2s ease-out infinite; }
  @keyframes es-live { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); } 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
}
.es-title__main .es-status + .es-start { margin-top: clamp(22px, 3.5vh, 40px); }
@media (max-width: 767px) { .es-status { font-size: 11px; padding: 7px 12px; } }
.es-status { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
@media (max-width: 767px) { .es-status { margin-left: 0; margin-right: 0; } }

/* Light mode: Play cards wait on a light placeholder instead of dark grey */
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .es-flip__front { background-color: var(--es-line); } }
:root[data-theme="light"] .es-flip__front { background-color: var(--es-line); }