/* ============================================================
   KODONG KLAN — House of Kodong
   Tokens, layout and components. No inline styles anywhere,
   so media queries always win the cascade.
   ============================================================ */

:root {
  /* Surfaces */
  --bg:        #0A0A0A;
  --surface:   #131315;
  --surface-2: #18181A;
  --line:      rgba(245, 241, 234, .10);
  --border:    #2A2A2D;

  /* Type colours — all AA compliant on --bg and --surface */
  --ink:    #F5F1EA;  /* 17.6:1 */
  --body:   #B7B5B0;  /*  9.7:1 */
  --muted:  #8B8985;  /*  5.7:1 */

  /* House red. --accent is for fills and display type only.
     --accent-text is the AA-safe red for anything under 24px. */
  --accent:      #D71920;
  --accent-text: #EF4A50;  /*  5.4:1 */
  --accent-hi:   #FF5A5F;
  --glow:        rgba(215, 25, 32, .16);

  /* Type */
  --display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --serif:   'Cinzel', Georgia, serif;
  --sans:    'Inter', system-ui, -apple-system, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* Rhythm */
  --gutter:    clamp(20px, 6vw, 80px);
  --section-y: clamp(56px, 9vw, 120px);
  --nav-h:     72px;
  --maxw:      1560px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; background: var(--surface); }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-hi); }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--ink); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); }
::-webkit-scrollbar-thumb:hover { background: #3d3d41; }

:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

/* ── Type primitives ─────────────────────────────────────── */
.eyebrow {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 16px;
}

.h1, h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(46px, 9vw, 148px);
  line-height: .86;
  letter-spacing: -.5px;
  color: var(--ink);
}

.h2, h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 62px);
  line-height: .98;
  color: var(--ink);
}

.h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.8vw, 30px);
  letter-spacing: 1.5px;
  line-height: 1.05;
}

.lede {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
  color: var(--body);
  max-width: 60ch;
  text-wrap: pretty;
}

.prose p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  max-width: 60ch;
  text-wrap: pretty;
}
.prose p + p { margin-top: 16px; }

.meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--muted);
}


/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 2.5px;
  color: var(--ink);
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 17px 38px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--accent-hi); border-color: var(--accent-hi); color: var(--ink); }

.btn--ghost { background: transparent; border-color: rgba(245, 241, 234, .35); }
.btn--ghost:hover { background: rgba(245, 241, 234, .06); border-color: var(--ink); color: var(--ink); }

.btn--sm { font-size: 14px; padding: 12px 24px; letter-spacing: 2px; }

.link-arrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 2.5px;
  color: var(--body);
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  transition: color .2s ease, border-color .2s ease;
}
.link-arrow:hover { color: var(--ink); border-color: var(--accent); }

/* ── Skip link ───────────────────────────────────────────── */
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 900;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--display);
  letter-spacing: 2px;
  padding: 12px 20px;
  transition: top .18s ease;
}
.skip:focus { top: 12px; color: var(--ink); }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--nav-h);
  padding: 0 clamp(16px, 4vw, 44px);
  background: rgba(10, 10, 10, .92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, border-color .25s ease;
}

/* Home page only: transparent until scrolled past the fold */
.nav--float { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
body.is-scrolled .nav--float {
  background: rgba(10, 10, 10, .92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.nav__brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav__brand:hover { color: var(--ink); }
.nav__wordmark {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
  letter-spacing: 3px;
  color: var(--ink);
  white-space: nowrap;
}
.nav__wordmark span { color: var(--accent-text); }

.nav__right { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }

.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.nav__links a {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 2.5px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

.nav__cta { padding: 11px 20px; font-size: 14px; letter-spacing: 2px; }

.nav__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s ease;
}
.nav__burger:hover { border-color: var(--accent); }
.nav__burger svg { width: 18px; height: 18px; }
.nav__burger .icon-close { display: none; }
.nav__burger[aria-expanded="true"] .icon-open { display: none; }
.nav__burger[aria-expanded="true"] .icon-close { display: block; }

.mobilemenu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 399;
  background: rgba(10, 10, 10, .98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 14px clamp(16px, 4vw, 44px) 24px;
  flex-direction: column;
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
}
.mobilemenu[data-open="true"] { display: flex; }
.mobilemenu a {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 2.5px;
  color: var(--muted);
  padding: 14px 0;
  border-bottom: 1px solid rgba(245, 241, 234, .08);
}
.mobilemenu a[aria-current="page"] { color: var(--ink); }
.mobilemenu .btn { margin-top: 18px; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta   { display: none; }
  .nav__burger { display: inline-flex; }
}

/* ── Page scaffold ───────────────────────────────────────── */
.page { padding-top: var(--nav-h); }
.section { padding: var(--section-y) var(--gutter); max-width: var(--maxw); margin-inline: auto; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--flush-top { padding-top: 0; }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }

.pagehead { padding: clamp(48px, 7vw, 100px) var(--gutter) clamp(28px, 4vw, 48px); max-width: var(--maxw); margin-inline: auto; }
.pagehead h1 { margin-bottom: 20px; }

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split--top { align-items: start; }

/* ── Hero ─────────────────────────────────────────────────
   Split: type on black, photography in a white panel. The
   shoot is on white seamless, so laying type over it is not
   an option; the panel makes that a feature instead. */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: stretch;
  min-height: clamp(560px, 90vh, 940px);
  overflow: hidden;
}
.hero__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(96px, 14vh, 150px) clamp(24px, 4vw, 64px) clamp(44px, 6vw, 72px) var(--gutter);
}
.hero__body h1 { font-size: clamp(52px, 7.4vw, 132px); line-height: .84; letter-spacing: -1px; }
.hero__lede { margin: 22px 0 0; font-size: clamp(15px, 1.3vw, 19px); line-height: 1.6; color: #D8D5D0; max-width: 460px; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__panel { position: relative; background: #fff; overflow: hidden; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; background: #fff; }
/* A soft wash of house red where the panel meets the black column. */
.hero__panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--accent);
  z-index: 2;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__panel { order: -1; aspect-ratio: 1 / 1; }
  .hero__panel::before { inset: auto 0 0 0; width: auto; height: 4px; }
  .hero__img { object-position: 50% 38%; }
  .hero__body { padding: clamp(88px, 12vh, 110px) var(--gutter) clamp(40px, 8vw, 60px); }
  .hero__body h1 { font-size: clamp(48px, 13vw, 96px); }
}

/* ── Marquee ─────────────────────────────────────────────── */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 20px 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee span {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 42px);
  letter-spacing: 3px;
  padding: 0 26px;
  white-space: nowrap;
}
.marquee .star { color: var(--accent-text); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Stats ───────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border-block: 1px solid var(--line);
}
.stats__cell { padding: clamp(30px, 4vw, 52px) 24px; text-align: center; border-right: 1px solid var(--line); }
.stats__cell:last-child { border-right: 0; }
.stats__value { font-family: var(--display); font-size: clamp(34px, 4.4vw, 58px); line-height: 1; color: var(--ink); }
.stats__label { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--muted); margin-top: 12px; text-transform: uppercase; }
.stats__note { max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter) 22px; }

/* ── Cards / roster ──────────────────────────────────────── */
.cardgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px; }
.cardgrid--wide { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .38s cubic-bezier(.16,.68,.28,1), box-shadow .38s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0,0,0,.55), 0 0 0 2px var(--accent); }
.card:focus-visible { box-shadow: 0 24px 48px rgba(0,0,0,.55), 0 0 0 2px var(--accent); }

/* The photography is shot on a light studio background, so the frame is
   white and the caption sits on black beneath it rather than over it. */
.card__frame { position: relative; aspect-ratio: 3 / 4; background: #fff; overflow: hidden; }
.cardgrid--wide .card__frame { aspect-ratio: 3 / 4; }
.card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  background: #fff;
  transition: transform .55s cubic-bezier(.16,.68,.28,1);
}
.card:hover .card__img { transform: scale(1.035); }

.card__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 78%, var(--glow), transparent 70%); }
.card__body { padding: 16px 18px 20px; border-top: 2px solid transparent; transition: border-color .25s ease; }
.card:hover .card__body { border-top-color: var(--accent); }
.card__name { font-family: var(--display); font-size: clamp(21px, 2.4vw, 30px); letter-spacing: 1.5px; color: var(--ink); line-height: 1.05; }
.card__role { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; color: var(--accent-text); margin-bottom: 6px; }
.card__tag { font-size: 13px; line-height: 1.6; color: var(--body); margin-top: 10px; }

.card--house {
  aspect-ratio: 3 / 4;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--surface);
  padding: 24px;
  text-align: center;
}
.card--house:hover { background: var(--surface-2); }
.card--house img { width: 100%; max-width: 190px; object-fit: contain; opacity: .9; background: none; }

/* ── Countdown ───────────────────────────────────────────── */
.countdown { display: flex; gap: 10px; flex-wrap: wrap; }
.countdown__unit { min-width: 86px; padding: 16px 12px; background: var(--bg); border: 1px solid var(--border); text-align: center; }
.countdown__value { font-family: var(--mono); font-weight: 700; font-size: clamp(24px, 3vw, 36px); color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__label { font-family: var(--display); font-size: 11px; letter-spacing: 3px; color: var(--accent-text); margin-top: 8px; }
.countdown__over {
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: 2px;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding-left: 18px;
}

/* ── Horizontal rails ────────────────────────────────────── */
.rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
  overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: 0 0 clamp(260px, 30vw, 360px); }
.rail--tight { gap: 2px; background: var(--line); }
.rail--tight > * { flex: 0 0 clamp(240px, 28vw, 360px); }

.railnav { display: flex; gap: 8px; }
.railnav button {
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  font-family: var(--mono);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, opacity .2s ease;
}
.railnav button:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); }
.railnav button:disabled { opacity: .35; cursor: default; }

.shot { position: relative; aspect-ratio: 3 / 4; background: var(--surface); overflow: hidden; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 58%, rgba(10,10,10,.88)); }
.shot__cap { position: absolute; inset: auto 0 0 0; padding: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; color: #D8D5D0; }

.playcard {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .38s cubic-bezier(.16,.68,.28,1), box-shadow .38s ease;
}
.playcard:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0,0,0,.55), 0 0 0 2px var(--accent); }
.playcard__frame { position: relative; aspect-ratio: 3 / 4; background: #fff; overflow: hidden; }
.playcard__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; background: #fff; transition: transform .55s cubic-bezier(.16,.68,.28,1); }
.playcard:hover .playcard__frame img { transform: scale(1.035); }
.playcard__body { padding: 16px 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.playcard__badge { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: background .2s ease; }
.playcard:hover .playcard__badge { background: var(--accent-hi); }
.playcard__badge svg { width: 15px; height: 15px; fill: var(--ink); margin-left: 2px; }

/* ── Empty media slot (awaiting real photography) ────────── */
.slot {
  position: relative;
  display: grid;
  place-items: center;
  gap: 10px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 24px;
  text-align: center;
}
.slot__mark { width: 34px; height: 34px; opacity: .4; }
.slot__label { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; color: var(--muted); }

/* ── Releases table ──────────────────────────────────────── */
.releases { border-top: 1px solid var(--line); }
.release {
  display: grid;
  grid-template-columns: 70px minmax(0, 2.2fr) minmax(0, 1fr) 40px;
  align-items: center;
  gap: 18px;
  padding: clamp(16px, 2vw, 24px) 6px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.release:hover { background: var(--surface); }
.release__year { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.release__title { font-family: var(--display); font-size: clamp(20px, 2.6vw, 34px); letter-spacing: 1px; color: var(--ink); line-height: 1.05; }
.release__kind { font-size: 13px; color: var(--body); }
.release__go { font-family: var(--mono); font-size: 14px; color: var(--accent-text); text-align: right; }
@media (max-width: 640px) {
  .release { grid-template-columns: 56px minmax(0, 1fr) 30px; }
  .release__kind { display: none; }
}

/* ── Link tiles (socials, press kit, artist channels) ────── */
.tiles { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.tile {
  flex: 1 1 220px;
  background: var(--bg);
  padding: clamp(24px, 3vw, 38px) clamp(18px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background .2s ease;
}
.tile:hover { background: var(--surface); color: var(--ink); }
.tile__label { font-family: var(--display); font-size: 20px; letter-spacing: 2.5px; color: var(--ink); }
.tile__meta { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.tile--row { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 14px; }

.stack { display: flex; flex-direction: column; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.stack a {
  background: var(--bg);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background .2s ease;
}
.stack a:hover { background: var(--surface); color: var(--ink); }
.stack__label { font-weight: 500; font-size: 14px; color: var(--ink); }
.stack__meta { font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* ── Steps / tiers ───────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-block: 1px solid var(--line); }
.step { padding: clamp(24px, 3vw, 38px) clamp(18px, 2.5vw, 28px); border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step__num { font-family: var(--mono); font-size: 11px; color: var(--accent-text); margin-bottom: 12px; }
.step__title { font-family: var(--display); font-size: 19px; letter-spacing: 1.5px; color: var(--ink); margin-bottom: 8px; }
.step__detail { font-size: 13px; line-height: 1.6; color: var(--body); }

.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.tier { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--border); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 12px; }
.tier--lead { border-top-color: var(--accent); }
.tier__name { font-family: var(--display); font-size: 24px; letter-spacing: 2px; color: var(--ink); }
.tier__detail { font-size: 14px; line-height: 1.7; color: var(--body); }

/* ── Merch ───────────────────────────────────────────────── */
.product { background: var(--bg); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.product__media { position: relative; aspect-ratio: 1 / 1; background: var(--surface); overflow: hidden; }
.product__media .card__glow { background: radial-gradient(ellipse at 50% 55%, var(--glow), transparent 72%); }
.product__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__name { font-family: var(--display); font-size: 21px; letter-spacing: 1.5px; color: var(--ink); }
.product__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product__detail { font-size: 13px; color: var(--muted); }
.product__price { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.product .btn { margin-top: auto; width: 100%; }

/* ── Editorial artist page ───────────────────────────────── */
.artisthero { position: relative; min-height: clamp(420px, 58vh, 620px); display: flex; align-items: flex-end; overflow: hidden; }
.artisthero__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, var(--glow), transparent 68%); }
.artisthero__crest {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, 64vw);
  opacity: .15;
  pointer-events: none;
  background: none;
}
.artisthero__body { position: relative; z-index: 2; width: 100%; padding: clamp(100px, 13vh, 150px) var(--gutter) clamp(36px, 5vw, 60px); }
.artisthero__body h1 { font-size: clamp(50px, 11vw, 180px); line-height: .84; letter-spacing: -1px; }
.artisthero__tag { margin-top: 22px; font-size: clamp(16px, 1.8vw, 22px); line-height: 1.6; color: var(--body); max-width: 520px; }
.backlink { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--body); margin-bottom: 22px; }

.portrait {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  aspect-ratio: 3 / 4;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; background: #fff; }

.pullquote { border-left: 2px solid var(--accent); padding: 6px 0 6px 22px; margin-top: 34px; }
.pullquote p { font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 2.2vw, 26px); line-height: 1.4; color: var(--ink); max-width: none; }

.showrow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.showrow:last-of-type { border-bottom: 1px solid var(--line); }
.showrow__date { font-family: var(--mono); font-size: 13px; color: var(--accent-text); letter-spacing: 1px; }
.showrow__title { font-family: var(--display); font-size: clamp(22px, 2.6vw, 32px); color: var(--ink); letter-spacing: 1px; }
.showrow__venue { font-size: 14px; color: var(--body); }
.showrow .btn { justify-self: start; }

/* ── Forms ───────────────────────────────────────────────── */
.form { max-width: 860px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field > span { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 15px 16px;
  outline: none;
  transition: border-color .2s ease;
  color-scheme: dark;
}
.field textarea { font-weight: 300; line-height: 1.6; resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--accent-hi); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  padding: 13px 18px;
  background: transparent;
  color: var(--body);
  border: 1px solid var(--border);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover { border-color: var(--muted); color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--accent); color: var(--ink); border-color: var(--accent); }

.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__note { font-size: 13px; color: var(--muted); }
.form__note a { color: var(--body); border-bottom: 1px solid var(--border); }

.formstate { max-width: 640px; border: 1px solid var(--accent); background: var(--surface); padding: clamp(28px, 4vw, 48px); }
.formstate h3 { font-family: var(--display); font-size: clamp(28px, 3.6vw, 44px); color: var(--ink); margin-bottom: 12px; letter-spacing: 1px; }
.formstate p { font-size: 15px; line-height: 1.7; color: var(--body); }
.formstate--error { border-color: var(--accent-hi); }
[hidden] { display: none !important; }

.btn[data-busy="true"] { opacity: .6; pointer-events: none; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer__grid {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 80px) var(--gutter) 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(28px, 4vw, 48px);
}
.footer__wordmark { height: 52px; width: auto; object-fit: contain; margin-bottom: 12px; background: none; }
.footer__klan { font-family: var(--display); font-size: 26px; line-height: 1; letter-spacing: 6px; color: var(--accent-text); margin-bottom: 18px; }
.footer__blurb { font-size: 13px; line-height: 1.7; color: var(--muted); max-width: 250px; }
.footer__head { font-family: var(--serif); font-weight: 600; font-size: 10px; letter-spacing: 4px; color: var(--muted); margin-bottom: 16px; text-transform: uppercase; }
.footer__list { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__list a { font-size: 13px; color: var(--body); }
.footer__mark { display: flex; justify-content: center; padding: 4px var(--gutter) clamp(34px, 5vw, 56px); }
.footer__mark img { height: clamp(104px, 12vw, 148px); width: auto; object-fit: contain; opacity: .8; background: none; }
.footer__legal {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 18px var(--gutter) 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}
.footer__legal a { color: var(--muted); }
.footer__legal a:hover { color: var(--ink); }

/* ── Legal / long-form pages ─────────────────────────────── */
.doc { max-width: 70ch; }
.doc h2 { font-size: clamp(24px, 3vw, 34px); margin: 40px 0 14px; }
.doc h2:first-of-type { margin-top: 28px; }
.doc p, .doc li { font-size: 15px; line-height: 1.8; color: var(--body); }
.doc p + p { margin-top: 14px; }
.doc ul { margin: 14px 0 0 20px; display: flex; flex-direction: column; gap: 8px; }

/* ── Scroll reveal (JS adds .js-anim to <html>) ───────────── */
.js-anim [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.16,.68,.28,1), transform .8s cubic-bezier(.16,.68,.28,1);
}
.js-anim [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.js-anim .hero__body > * { opacity: 0; animation: rise .9s cubic-bezier(.16,.68,.28,1) both; }
.js-anim .hero__body > *:nth-child(1) { animation-delay: .06s; }
.js-anim .hero__body > *:nth-child(2) { animation-delay: .16s; }
.js-anim .hero__body > *:nth-child(3) { animation-delay: .30s; }
.js-anim .hero__body > *:nth-child(4) { animation-delay: .44s; }

/* ── Cross-document view transitions (progressive) ───────── */
@view-transition { navigation: auto; }

/* ── Motion preferences ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js-anim [data-reveal] { opacity: 1; transform: none; }
}

/* ── Print ───────────────────────────────────────────────── */
@media print {
  .nav, .mobilemenu, .marquee, .railnav, .skip { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ── Utility classes used by the generator ───────────────── */
.stack-gap { margin: 28px 0 32px; }
.playrow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.caption { margin-top: 12px; }
.chips--static .chip { cursor: default; opacity: 1; }
.chips--static .chip:hover { border-color: var(--border); color: var(--body); }
.section--surface .split { align-items: center; }
.portrait .card__glow { z-index: 1; }
.portrait img { z-index: 2; }
.artisthero__crest { z-index: 0; }
iframe { border: 0; max-width: 100%; background: var(--surface); }
.chip--static { cursor: default; color: var(--ink); background: var(--bg); }

/* ── Video wall ──────────────────────────────────────────── */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2px; background: var(--line); }
.video { background: var(--bg); display: flex; flex-direction: column; }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.video__frame img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s ease, transform .55s cubic-bezier(.16,.68,.28,1); }
.video:hover .video__frame img { opacity: 1; transform: scale(1.03); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__btn {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(10,10,10,.15), rgba(10,10,10,.55));
  border: 0; cursor: pointer; padding: 0;
}
.video__play {
  width: clamp(54px, 7vw, 70px); height: clamp(54px, 7vw, 70px);
  border-radius: 50%; background: var(--accent);
  display: grid; place-items: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .55);
  transition: transform .3s cubic-bezier(.16,.68,.28,1), background .2s ease;
}
.video:hover .video__play { transform: scale(1.09); background: var(--accent-hi); }
.video__play svg { width: 22px; height: 22px; fill: var(--ink); margin-left: 3px; }
.video__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.video__title { font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); letter-spacing: 1.5px; color: var(--ink); line-height: 1.05; }
.video__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--muted); }
.video__link { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--accent-text); margin-top: 4px; }

/* White photo panel for group shots shot on seamless. */
.framed { background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.framed img { width: 100%; height: auto; display: block; background: #fff; }
.framed--wide { max-width: 1100px; margin-inline: auto; }
