/* ==========================================================================
   One Man Army — site styles
   Dark, cinematic, teal & orange. No frameworks, no external requests.
   ========================================================================== */

/* ---- Fonts (self-hosted, SIL Open Font License) -------------------------- */
@font-face { font-family: "Barlow Condensed"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/inter-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

/* ---- Tokens --------------------------------------------------------------- */
:root {
  color-scheme: dark;
  --bg: #0a0a0c;
  --bg-1: #111114;
  --bg-2: #18181d;
  --bg-3: #212127;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #ece8e1;
  --text-2: #bdb8ae;
  --muted: #8a867e;
  --orange: #ff9a2e;
  --orange-2: #ffb766;
  --orange-dim: rgba(255, 154, 46, 0.14);
  --cyan: #38d3ea;
  --cyan-dim: rgba(56, 211, 234, 0.14);
  --green: #9bd88a;

  --f-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---- Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
::selection { background: var(--orange); color: #111; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--orange); color: #111; padding: 8px 14px; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---- Type ----------------------------------------------------------------- */
.display-1, .display-2, .display-3 {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-wrap: balance;
}
.display-1 { font-size: clamp(2.75rem, 7.2vw, 6.25rem); }
.display-2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
.display-3 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1; }
.kicker { color: var(--orange); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--text-2); max-width: 60ch; text-wrap: pretty; }

.prose { max-width: 68ch; color: var(--text-2); font-size: 1.0625rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose p { text-wrap: pretty; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s; }
.prose a:hover { color: var(--orange-2); }
.prose strong { color: var(--text); font-weight: 600; }
.prose em { color: var(--text); }
.prose h2, .prose h3 { color: var(--text); font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05; margin-top: 1.8em; }
.prose h2 { font-size: 2rem; }
.prose h3 { font-size: 1.5rem; }
.prose blockquote { margin: 1.6em 0; padding: 0.2em 0 0.2em 1.2em; border-left: 2px solid var(--orange); color: var(--text); font-size: 1.15em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.35em; }
.prose code { font-family: var(--f-mono); font-size: 0.85em; background: var(--bg-2); padding: 0.1em 0.35em; border-radius: 3px; }
.prose hr { border: 0; height: 1px; background: var(--line-2); margin: 2.4em 0; }
.prose--lead > p:first-child { font-size: 1.2rem; line-height: 1.65; color: var(--text); }

/* ---- Buttons & links ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: var(--orange); color: #141008;
  font-family: var(--f-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--orange); border-radius: var(--radius);
  transition: background 0.25s var(--ease), color 0.25s, transform 0.25s var(--ease);
}
.btn:hover { background: var(--orange-2); transform: translateY(-1px); }
.btn span { transition: transform 0.25s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--text-2); }
.link-arrow { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); transition: color 0.2s; white-space: nowrap; }
.link-arrow:hover { color: var(--orange); }

/* ---- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(10, 10, 12, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; letter-spacing: 0.04em; line-height: 1; }
.wordmark__logo { height: 28px; width: auto; flex: none; }
.wordmark span { transition: color 0.2s; }
.wordmark:hover span { color: var(--orange-2); }
.site-nav { display: flex; gap: 6px; }
.site-nav a {
  position: relative; padding: 8px 14px;
  font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-2); transition: color 0.2s;
}
.site-nav a:hover, .site-nav a[aria-current] { color: var(--text); }
.site-nav a[aria-current]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px; background: var(--orange); }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--radius); background: transparent; position: relative; cursor: pointer; }
.nav-toggle span:first-child, .nav-toggle span:first-child::before { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); content: ""; transition: transform 0.25s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:first-child::before { left: 0; right: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:first-child::before { transform: translateY(-6px) rotate(-90deg); }

/* ---- Hero (home) — styled like a VFX viewer -------------------------------- */
.hero { border-bottom: 1px solid var(--line); }
.hero__content .display-1 { max-width: 12ch; }
.viewer {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(580px, calc(100svh - var(--header-h) - 74px), 920px);
  display: flex; align-items: flex-end;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 40%; z-index: -2; transform: scale(1.04); animation: drift 30s var(--ease) infinite alternate; }
.viewer__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,10,12,0.96) 0%, rgba(10,10,12,0.82) 38%, rgba(10,10,12,0.35) 72%, rgba(10,10,12,0.55) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10,10,12,0) 40%);
}
.viewer__marks i { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(255,255,255,0.45); }
.viewer__marks i:nth-child(1) { top: 20px; left: 20px; border-top-width: 1px; border-left-width: 1px; }
.viewer__marks i:nth-child(2) { top: 20px; right: 20px; border-top-width: 1px; border-right-width: 1px; }
.viewer__marks i:nth-child(3) { bottom: 20px; left: 20px; border-bottom-width: 1px; border-left-width: 1px; }
.viewer__marks i:nth-child(4) { bottom: 20px; right: 20px; border-bottom-width: 1px; border-right-width: 1px; }
.viewer__tag { position: absolute; font-size: 0.6875rem; color: var(--muted); z-index: 2; }
.viewer__tag--tl { top: 28px; left: 52px; }
.viewer__tag--tr { top: 28px; right: 52px; color: var(--cyan); font-variant-numeric: tabular-nums; }
.viewer__tag--bl { bottom: 28px; right: 52px; display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); transition: color 0.2s; }
.viewer__tag--bl:hover { color: var(--orange); }
.viewer__tag--bl i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255,154,46,0.6); animation: pulse 2.2s infinite; }
.hero__content { position: relative; padding-top: 120px; padding-bottom: clamp(72px, 10vh, 112px); }
.hero__content .display-1 { max-width: 11ch; }
.hero__intro { margin-top: 26px; max-width: 54ch; color: var(--text-2); font-size: clamp(1.0625rem, 1.35vw, 1.2rem); line-height: 1.65; }
.hero__intro p + p { margin-top: 0.9em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.viewer--panel { background: radial-gradient(60% 90% at 85% 10%, rgba(56,211,234,0.16), transparent 70%), var(--bg); }
.viewer--panel .hero__bg, .jhero--panel .jhero__bg {
  left: auto; right: 0; width: min(60%, 860px); object-position: center top;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
}
.viewer--panel .viewer__shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(10,10,12,0) 42%), linear-gradient(90deg, rgba(10,10,12,0.6), rgba(10,10,12,0) 60%); }
.jhero--panel { background: radial-gradient(60% 90% at 85% 10%, rgba(56,211,234,0.14), transparent 70%), var(--bg); }
.jhero--panel .jhero__bg { width: min(52%, 760px); }
.jhero--panel .jhero__shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(10,10,12,0) 50%); }

/* ---- Sections ------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding-top: clamp(32px, 4vw, 56px); }
.section + .section { border-top: 1px solid var(--line); }
.section--tight + .section--tight { border-top: 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.page-head { padding: clamp(80px, 11vw, 150px) 0 clamp(24px, 3vw, 40px); }
.page-head .lead { margin-top: 22px; }
.page-head--center { text-align: center; min-height: 60vh; display: flex; align-items: center; }
.page-head--center .kicker { justify-content: center; }
.page-head--center .lead { margin: 22px auto 34px; }

/* Band hero: the full render on top (never cropped), opening text below it on black */
.viewer--band { display: block; min-height: 0; background: #000; }
.viewer--band .hero__bg { position: relative; inset: auto; z-index: 0; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; transform: none; animation: none;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.viewer--band .viewer__shade { background: linear-gradient(180deg, transparent 55%, var(--bg) 100%); }
.viewer--band .hero__content { position: relative; z-index: 1; margin-top: clamp(-180px, -12vw, -40px); padding-top: 0; }
.viewer--band .viewer__marks i:nth-child(3), .viewer--band .viewer__marks i:nth-child(4) { display: none; }

/* Live tagline on top of the band render: PIXELS —//— PASSION —//— PIECES */
.hero__band { position: relative; }
.ppp {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 2;
  display: flex; align-items: center; gap: 0.7em; margin: 0; padding: 0 2%;
  font-family: var(--f-display); font-weight: 300; text-transform: uppercase;
  font-size: clamp(15px, 2.15vw, 46px); letter-spacing: 0.14em; line-height: 1; color: #f4f2ee;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.55);
  pointer-events: none; user-select: none;
}
.ppp__line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(244, 242, 238, 0.75)); }
.ppp__line--r { background: linear-gradient(270deg, transparent, rgba(244, 242, 238, 0.75)); }
.ppp__word { flex: none; margin-right: -0.14em; }
.ppp__sep { flex: none; display: inline-flex; align-items: center; gap: 0.32em; letter-spacing: -0.04em; font-size: 0.92em; }
.ppp__sep i { display: block; width: 0.95em; height: 1px; background: rgba(244, 242, 238, 0.85); }

/* ---- Featured (one per category, with category tabs) ------------------- */
.featured { border-bottom: 1px solid var(--line); }
.featured__bar { border-bottom: 1px solid var(--line); }
.disciplines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.disciplines li + li { border-left: 1px solid var(--line); }
.disciplines a {
  position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 22px 20px; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s, background 0.2s;
}
.disciplines li:first-child a { padding-left: 0; }
.disciplines a::after { content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 1px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.disciplines li:first-child a::after { left: 0; }
.disciplines a:hover { color: var(--text-2); }
.disciplines a[aria-selected="true"] { color: var(--text); }
.disciplines a[aria-selected="true"]::after { transform: scaleX(1); }
.disciplines a[aria-selected="true"] .mono { color: var(--orange); }
.disciplines .mono { color: var(--muted); transition: color 0.2s; }

.featured__slides { display: grid; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.featured__slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.js .featured__slide { opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), visibility 0s linear 0.5s; }
.js .featured__slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s var(--ease) 0.08s, transform 0.6s var(--ease) 0.08s, visibility 0s; }
html:not(.js) .featured__slide + .featured__slide { grid-area: auto; margin-top: 96px; }
.featured__media { display: block; position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8), 0 0 0 1px var(--line); background: var(--bg-2); }
.featured__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
a.featured__media:hover img { transform: scale(1.03); }
.featured__ph, .featured__ph .card__media { position: absolute; inset: 0; aspect-ratio: auto; }
.featured__ph .placeholder__label { font-size: 0.75rem; padding: 9px 14px; }
.featured__ph i { width: 22px !important; height: 22px !important; }
.featured__count { color: var(--muted); margin-left: 4px; }
.featured__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 20px; color: var(--text-2); }
.featured__body .lead { margin-top: 20px; }
.featured__chapters { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 520px; }
.featured__chapters li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 0.95rem; }
.featured__chapters .mono { color: var(--cyan); padding-top: 3px; }
.featured__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 34px; max-width: 520px; }
.featured__next { display: inline-grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center; padding: 6px 0; background: none; border: 0; cursor: pointer; text-align: left; color: var(--text-2); }
.featured__next .mono { grid-column: 1; font-size: 0.625rem; color: var(--muted); }
.featured__next-name { grid-column: 1; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; transition: color 0.2s; }
.featured__next-arrow { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; transition: border-color 0.2s, transform 0.3s var(--ease), color 0.2s; }
.featured__next:hover .featured__next-name { color: var(--text); }
.featured__next:hover .featured__next-arrow { border-color: var(--orange); color: var(--orange); transform: translateX(3px); }
html:not(.js) .featured__next { display: none; }
.btn--disabled { background: transparent; color: var(--muted); border-color: var(--line-2); cursor: default; }
.btn--disabled:hover { background: transparent; transform: none; }

/* ---- Cards ---------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.card { position: relative; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s; }
.card[hidden] { display: none; }
.card__link { display: flex; flex-direction: column; height: 100%; }
.card:not(.card--draft):hover { border-color: rgba(255,154,46,0.45); transform: translateY(-3px); background: var(--bg-2); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media--placeholder {
  --hue: var(--orange);
  background:
    radial-gradient(90% 80% at 80% 0%, color-mix(in srgb, var(--hue) 16%, transparent), transparent 65%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.028) 0 1px, transparent 1px 12px),
    var(--bg-2);
}
.card__media--placeholder[data-discipline="Displays"], .card__media--placeholder[data-discipline="VFX"] { --hue: var(--cyan); }
.card__media--placeholder[data-discipline="Games"] { --hue: #b48cff; }
.card__media--placeholder i { position: absolute; width: 14px; height: 14px; border: 0 solid rgba(255,255,255,0.28); }
.card__media--placeholder i:nth-child(1) { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.card__media--placeholder i:nth-child(2) { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.card__media--placeholder i:nth-child(3) { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.card__media--placeholder i:nth-child(4) { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.placeholder__label { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 3px; background: rgba(10,10,12,0.6); color: var(--text-2); font-size: 0.6875rem; white-space: nowrap; }
.placeholder__label b { width: 7px; height: 7px; border-radius: 50%; background: var(--hue); box-shadow: 0 0 10px var(--hue); }
.placeholder__tc { position: absolute; left: 22px; bottom: 20px; color: color-mix(in srgb, var(--hue) 70%, var(--text)); font-size: 0.625rem; opacity: 0.8; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 18px; flex: 1; }
.card__meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.card__meta .mono { font-size: 0.6875rem; }
.card__title { font-family: var(--f-display); font-weight: 700; font-size: 1.65rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; text-wrap: balance; }
.card__summary { color: var(--text-2); font-size: 0.9375rem; line-height: 1.55; }
.card__foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card__soon, .card__count { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.card--draft .card__title { color: var(--text-2); }
.card__media--wip { --hue: var(--orange); }
.card__media--wip[data-discipline="Displays"], .card__media--wip[data-discipline="VFX"] { --hue: var(--cyan); }
.card__media--wip[data-discipline="Games"] { --hue: #b48cff; }
.card__media--wip img { filter: saturate(0.85) brightness(0.72); }
.card__media--wip .placeholder__label { background: rgba(10,10,12,0.75); color: var(--text); }

/* ---- Status --------------------------------------------------------------- */
.status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 9px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.status--in-progress i { background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.status--ongoing i { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.status--completed i { background: var(--green); }
.status--concept i { background: transparent; border: 1px solid var(--text-2); }

/* ---- Chips (filters) ------------------------------------------------------ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chip { padding: 9px 14px; background: transparent; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); cursor: pointer; transition: all 0.2s; }
.chip:hover { color: var(--text); border-color: var(--text-2); }
.chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #141008; }

/* ---- Log ------------------------------------------------------------------ */
.log { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.log-item a { display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 32px; row-gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--line); transition: background 0.2s; }
.log-item__date { color: var(--cyan); grid-row: span 3; padding-top: 4px; }
.log-item__journey { color: var(--muted); font-size: 0.6875rem; }
.log-item__title { font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em; transition: color 0.2s; }
.log-item__excerpt { color: var(--text-2); font-size: 0.95rem; max-width: 72ch; }
.log-item a:hover .log-item__title { color: var(--orange); }
.log-year + .log-year { margin-top: 56px; }
.log-year__label { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2); margin-bottom: 14px; }

/* ---- Journey page --------------------------------------------------------- */
.jhero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(460px, 68vh, 760px); display: flex; align-items: flex-end; border-bottom: 1px solid var(--line); }
.jhero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: -2; }
.jhero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 2%, rgba(10,10,12,0.72) 38%, rgba(10,10,12,0.25) 75%, rgba(10,10,12,0.5) 100%), linear-gradient(90deg, rgba(10,10,12,0.7), transparent 70%); }
.jhero__content { padding-top: 120px; padding-bottom: clamp(40px, 6vw, 72px); }
.jhero__content .display-1 { max-width: 16ch; }
.jhero__sub { margin-top: 18px; font-size: clamp(1.0625rem, 1.5vw, 1.3rem); color: var(--text-2); max-width: 52ch; }
.jhero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; color: var(--text-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); margin-bottom: 22px; font-size: 0.6875rem; }
.crumbs a { color: var(--text-2); transition: color 0.2s; }
.crumbs a:hover { color: var(--orange); }

.section--intro { padding-bottom: clamp(32px, 5vw, 64px); }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro .media--video { margin-top: 2rem; }
.facts { margin: 0; border-top: 1px solid var(--line-2); }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 0.6875rem; margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--text); font-size: 0.95rem; line-height: 1.5; }
.facts a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color 0.2s, color 0.2s; }
.facts a:hover { color: var(--orange-2); text-decoration-color: var(--orange); }

/* Timeline */
.timeline { position: relative; }
.chapter { position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.chapter:last-child { border-bottom: 1px solid var(--line); }
.chapter__marker { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; display: flex; flex-direction: column; gap: 6px; }
.chapter__num { color: var(--orange); font-size: 0.6875rem; }
.chapter__year { text-transform: uppercase; font-family: var(--f-display); font-weight: 700; font-size: clamp(3.25rem, 6vw, 5rem); line-height: 0.9; letter-spacing: 0.01em; color: var(--text); }
.chapter__date { color: var(--muted); font-size: 0.6875rem; }
.chapter__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.02; text-transform: uppercase; letter-spacing: 0.01em; color: var(--text); margin-bottom: 0.2em; }
.chapter:target .chapter__year { color: var(--orange); }

/* Pieces */
.pieces { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: clamp(14px, 2vw, 22px); }
.piece { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 12px; align-items: baseline; }
.piece__media { grid-column: 1 / -1; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); background: var(--bg-2); }
.piece__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.4s; filter: saturate(0.9); }
.piece:hover .piece__media img { transform: scale(1.05); filter: saturate(1.1); }
.piece__num { color: var(--orange); }
.piece__title { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05; transition: color 0.2s; }
.piece:hover .piece__title { color: var(--orange-2); }

/* Piece page */
.piece-page { padding: clamp(40px, 6vw, 88px) 0; }
.piece-page__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.piece-page__media { position: sticky; top: calc(var(--header-h) + 32px); }
.piece-page__media img { width: 100%; border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.85), 0 0 0 1px var(--line); }
.piece-page__body .display-1 { font-size: clamp(2.75rem, 6vw, 5rem); margin-bottom: 28px; }
.piece-page__body .facts { margin-bottom: 32px; }
.piece-page__body .yt { margin: 0 0 36px; }

/* Pager */
.pager-wrap { padding: 0 0 clamp(64px, 8vw, 104px); }
.section + .pager-wrap, .piece-page + .pager-wrap { border-top: 0; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pager__item { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); transition: border-color 0.25s, background 0.25s; }
.pager__item:hover { border-color: rgba(255,154,46,0.45); background: var(--bg-2); }
.pager__item .mono { color: var(--muted); font-size: 0.6875rem; }
.pager__item--next { text-align: right; grid-column: 2; }
.pager__title { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em; }

/* About */
.about .prose { max-width: 62ch; }

/* ---- Media components ----------------------------------------------------- */
.media { margin: 2.2em 0; }
.prose > .media { margin: 2.2em 0; }
.media img, .media video { width: 100%; border-radius: var(--radius); }
.media figcaption { margin-top: 10px; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.media--video video { background: #000; aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px var(--line); }

.gallery { display: grid; gap: 10px; }
.gallery--2 { grid-template-columns: repeat(2, 1fr); }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery--4 { grid-template-columns: repeat(4, 1fr); }
.gallery figcaption { grid-column: 1 / -1; }
.gallery__item { display: block; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.gallery__item img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; transition: transform 0.8s var(--ease), opacity 0.3s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery--2 .gallery__item img { aspect-ratio: 4 / 5; }

.compare-grid { display: grid; gap: 14px; }
.compare-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compare-grid .compare { margin: 0; }
.compare-grid > figcaption { grid-column: 1 / -1; margin-top: 0; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.compare-grid--2 .compare__handle span { width: 30px; height: 30px; }
.compare__frame { position: relative; overflow: hidden; border-radius: var(--radius); --pos: 50%; user-select: none; -webkit-user-select: none; touch-action: pan-y; box-shadow: 0 0 0 1px var(--line); }
.compare__frame img { border-radius: 0; pointer-events: none; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__before img { width: 100%; height: 100%; object-fit: cover; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--orange); box-shadow: 0 0 12px rgba(255,154,46,0.6); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--orange); box-shadow: 0 6px 18px rgba(0,0,0,0.5); }
.compare__handle span::before, .compare__handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 5px solid transparent; transform: translateY(-50%); }
.compare__handle span::before { left: 7px; border-right-color: #141008; }
.compare__handle span::after { right: 7px; border-left-color: #141008; }
.compare__label { position: absolute; top: 12px; padding: 4px 8px; background: rgba(10,10,12,0.7); border-radius: 3px; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); pointer-events: none; }
.compare__label--l { left: 12px; }
.compare__label--r { right: 12px; }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare input[type="range"]:focus-visible + * { outline: none; }
.compare__frame:focus-within { box-shadow: 0 0 0 2px var(--cyan); }

.yt__button { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: radial-gradient(80% 120% at 50% 50%, #1b1b21, #08080a); box-shadow: 0 0 0 1px var(--line); }
.yt__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 0; transition: transform 0.8s var(--ease), filter 0.3s; }
.yt__poster--thumb { object-fit: cover; }
.yt__button:hover .yt__poster { transform: scale(1.03); filter: brightness(0.8); }
.yt__play { position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--orange); box-shadow: 0 10px 30px rgba(0,0,0,0.55), 0 0 0 8px rgba(255,154,46,0.18); transition: transform 0.3s var(--ease); }
.yt__play::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #141008; }
.yt__button:hover .yt__play { transform: translate(-50%, -50%) scale(1.07); }
.yt__label { position: absolute; left: 14px; bottom: 12px; padding: 4px 8px; background: rgba(10,10,12,0.75); border-radius: 3px; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
.yt--art { margin: 0; }
.yt--art .yt__button { aspect-ratio: 1; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.85), 0 0 0 1px var(--line); }
.yt--art .yt__poster { object-fit: cover; }
.yt--art .yt__play { width: 88px; height: 88px; }
.yt iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: #000; }
.yt__note { text-transform: none !important; letter-spacing: 0.02em !important; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 4vmin; background: rgba(5,5,7,0.94); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 92vh; width: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(10,10,12,0.6); cursor: pointer; font-size: 1.4rem; line-height: 1; }
.lightbox__nav { top: 50% !important; transform: translateY(-50%); }
.lightbox__prev { left: 16px; right: auto !important; }
.lightbox__next { right: 16px; }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 44px; background: var(--bg); }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: end; }
.site-footer__tag { margin-top: 12px; color: var(--muted); font-size: 0.9rem; }
.footer__social { display: flex; gap: 20px; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer__social a { color: var(--text-2); }
.footer__social a:hover { color: var(--orange); }
.site-footer__meta { grid-column: 1 / -1; color: var(--muted); font-size: 0.6875rem; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---- Film grain ----------------------------------------------------------- */
.grain {
  position: fixed; inset: -100%; z-index: 100; pointer-events: none; opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -0.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(6) infinite;
}

/* ---- Motion --------------------------------------------------------------- */
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-3%, 2%); } 33% { transform: translate(2%, -4%); }
  50% { transform: translate(-4%, -1%); } 67% { transform: translate(3%, 3%); } 83% { transform: translate(-1%, 4%); } 100% { transform: translate(0, 0); }
}
@keyframes drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, 1%, 0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,154,46,0.55); } 70% { box-shadow: 0 0 0 9px rgba(255,154,46,0); } 100% { box-shadow: 0 0 0 0 rgba(255,154,46,0); } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .intro { grid-template-columns: 1fr; }
  .facts { max-width: 560px; }
  .chapter { grid-template-columns: 150px minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .piece-page__grid { grid-template-columns: 1fr; }
  .piece-page__media { position: static; max-width: 460px; }
  .disciplines { grid-template-columns: repeat(5, max-content); overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); }
  .featured__slide { grid-template-columns: 1fr; align-items: start; align-content: start; gap: 32px; }
  .featured__media { max-width: 520px; }
  .disciplines::-webkit-scrollbar { display: none; }
  .disciplines a { padding: 18px 22px; gap: 18px; }
}
@media (max-width: 720px) {
  :root { --header-h: 60px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: rgba(10,10,12,0.97); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.25s var(--ease); }
  .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.85rem; }
  .site-nav a[aria-current]::after { display: none; }
  .site-nav a[aria-current] { color: var(--orange); }
  .wordmark { font-size: 1.25rem; gap: 10px; }
  .wordmark__logo { height: 24px; }
  .viewer__tag--tl, .viewer__marks { display: none; }
  .viewer__tag--tr { top: 18px; right: var(--gutter); }
  .viewer__tag--bl { bottom: 18px; right: auto; left: var(--gutter); }
  .hero__bg { object-position: 75% 20%; }
  .viewer--band .hero__bg { aspect-ratio: 16 / 9; }
  .viewer--band .hero__content { margin-top: -24px; }
  .viewer--panel .hero__bg, .jhero--panel .jhero__bg { width: 100%; opacity: 0.55; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 90%); mask-image: linear-gradient(180deg, #000 30%, transparent 90%); }
  .viewer__shade { background: linear-gradient(0deg, var(--bg) 8%, rgba(10,10,12,0.86) 55%, rgba(10,10,12,0.5) 100%); }
  .hero__content { padding-top: 96px; padding-bottom: 72px; }
  .chapter { grid-template-columns: 1fr; gap: 14px; }
  .chapter__marker { position: static; flex-direction: row; align-items: baseline; gap: 14px; flex-wrap: wrap; }
  .chapter__year { font-size: 3rem; }
  .log-item a { grid-template-columns: 1fr; }
  .log-item__date { grid-row: auto; }
  .gallery--3, .gallery--4 { grid-template-columns: repeat(2, 1fr); }
  .compare-grid--2 { grid-template-columns: 1fr; }
  .gallery--3 .gallery__item:first-child { grid-column: 1 / -1; }
  .pager { grid-template-columns: 1fr; }
  .pager__item--next { grid-column: 1; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .section__head { flex-wrap: wrap; }
}

/* Chapter text keeps a readable measure; wide media, videos and compare grids use the full column */
.chapter__body.prose { max-width: none; }
.chapter__body > * { max-width: 68ch; }
.chapter__body > .media--wide, .chapter__body > .media--video, .chapter__body > .compare-grid { max-width: none; }
.chapter__body > .media--video-narrow { max-width: 560px; }
