/* Hiraeth: black and gold, title-screen portfolio. Plain CSS, no framework. */

:root {
  --ink: #050403;
  --panel: #0e0c08;
  --gold: #d4af37;
  --gold-soft: #ecd690;
  --gold-deep: #8d6e1f;
  --ivory: #f6f1e4;
  --muted: #ada594;
  --line: rgba(212, 175, 55, .24);
  --gut: clamp(16px, 4.6vw, 72px);
  --gap: clamp(12px, 1.5vw, 22px);
  --serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --logo: "Cinzel", "Trajan Pro", "Bodoni Moda", serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --intro: 1.9s;
  --gold-sheet: linear-gradient(100deg, #8a6a1c 0%, #ecd690 20%, #b48f2e 40%, #f8ecb9 56%, #a8842a 76%, #ecd690 100%);
}
.skip-intro { --intro: .1s; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; background: var(--ink); }
html.lb-open { overflow: hidden; }
body { margin: 0; background: var(--ink); color: var(--ivory); font: 400 1rem/1.65 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
body::after { /* paper grain, echoing the textured black in the Hiraeth identity */
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .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='.85' 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 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
em { font-style: italic; color: var(--gold); }

.dia { display: inline-block; width: .5em; height: .5em; background: var(--gold); transform: rotate(45deg); flex: none; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 90; background: var(--gold); color: #000; padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow { display: flex; align-items: center; gap: .85em; font: 500 .8rem/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); }

/* ---------- Opening ---------- */
.intro { position: fixed; inset: 0; z-index: 80; display: grid; place-content: center; justify-items: center; gap: 22px; background: #000; pointer-events: none; animation: intro-out .8s ease 1.5s forwards; }
.intro img { width: min(46vw, 230px); animation: intro-crest 1.5s var(--ease) both; }
.intro p { font: 400 .78rem/1 var(--logo); letter-spacing: .34em; color: var(--gold-soft); animation: intro-line 1.2s ease .35s both; text-align: center; }
.skip-intro .intro { display: none; }
@keyframes intro-crest { from { opacity: 0; transform: translateY(10px) scale(.96); filter: brightness(.4); } to { opacity: 1; transform: none; filter: brightness(1.08); } }
@keyframes intro-line { from { opacity: 0; letter-spacing: .5em; } to { opacity: 1; letter-spacing: .34em; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }

/* ---------- Top bar ---------- */
.hud { position: fixed; inset: 0 0 auto; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px var(--gut); transition: background .35s, backdrop-filter .35s; }
.hud.is-scrolled { background: linear-gradient(180deg, rgba(0,0,0,.82), rgba(0,0,0,.35)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hud__crest { justify-self: start; display: block; width: 42px; filter: drop-shadow(0 1px 6px rgba(0,0,0,.7)); }
.hud__crest img { width: 100%; }
.hud__year { justify-self: end; font: 500 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.pills { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pills a { display: flex; align-items: center; min-height: 36px; padding: 0 clamp(13px, 1.5vw, 20px); border-radius: 999px; font: 500 .76rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ivory); transition: background .25s, color .25s; }
.pills a:hover { color: var(--gold-soft); }
.pills a.is-on { background: var(--gold); color: #000; }

/* ---------- Title screen ---------- */
.title { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: 96px var(--gut) 72px; overflow: hidden; background: radial-gradient(58% 72% at 12% 62%, rgba(212,175,55,.13), transparent 72%), #000; }
.title__media { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 66%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36%); mask-image: linear-gradient(90deg, transparent 0, #000 36%); will-change: transform; }
.title__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #000 0, rgba(0,0,0,0) 26%), linear-gradient(180deg, rgba(0,0,0,.42) 0, rgba(0,0,0,0) 22%); }
.title__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 66%; transform-origin: 56% 70%; animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.title__dust { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

.title__copy { position: relative; max-width: min(780px, 62vw); will-change: transform, opacity; }
.js .title__copy > * { animation: rise 1s var(--ease) both; animation-delay: calc(var(--intro) + var(--i, 0) * .09s); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.wordmark { width: max-content; max-width: none; padding-right: .06em; margin: .14em 0 .08em -.03em; font: 500 clamp(3.4rem, 9.3vw, 10.5rem)/1 var(--logo); letter-spacing: .05em; text-transform: uppercase; color: var(--gold); background: var(--gold-sheet); background-size: 220% 100%; background-position: 0 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.js .wordmark { animation: rise 1s var(--ease) both, sheen 2.8s ease both; animation-delay: calc(var(--intro) + .09s), calc(var(--intro) + .3s); }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }

.title__by { font: italic 400 clamp(1.25rem, 2.1vw, 1.9rem)/1.25 var(--serif); color: var(--ivory); }
.title__by strong { font-weight: 500; color: var(--gold-soft); }
.title__lede { max-width: 33em; margin-top: 1em; color: #d6cfbf; font-size: clamp(.98rem, 1.15vw, 1.08rem); }

.menu { margin-top: clamp(20px, 3.4vh, 38px); }
.menu a { position: relative; display: flex; align-items: center; min-height: 44px; padding-left: 28px; font: 500 clamp(1rem, 1.4vw, 1.2rem)/1 var(--logo); letter-spacing: .26em; text-transform: uppercase; text-decoration: none; color: rgba(246,241,228,.66); transition: color .25s, transform .35s var(--ease), letter-spacing .35s var(--ease); }
.menu a::before { content: ""; position: absolute; left: 3px; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: var(--gold); transform: rotate(45deg) scale(.3); opacity: 0; box-shadow: 0 0 14px rgba(212,175,55,.9); transition: opacity .25s, transform .35s var(--ease); }
.menu a.is-active { color: var(--gold-soft); letter-spacing: .32em; transform: translateX(4px); }
.menu a.is-active::before { opacity: 1; transform: rotate(45deg) scale(1); }

.title__hint { display: none; margin-top: 12px; font-size: .74rem; letter-spacing: .08em; color: var(--muted); }
.title__hint kbd { display: inline-block; min-width: 1.9em; margin-right: .35em; padding: .12em .45em; border: 1px solid var(--line); border-radius: 3px; font: inherit; text-align: center; color: var(--gold-soft); }
.title__hint kbd + kbd { margin-left: -.1em; }
@media (hover: hover) and (pointer: fine) { .title__hint { display: block; } }

.title__credit { position: absolute; right: var(--gut); bottom: 26px; display: flex; align-items: center; gap: .7em; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .84rem; transition: border-color .25s, color .25s; }
.title__credit span { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }
.title__credit i { font-style: normal; color: var(--gold); }
.title__credit:hover { border-color: var(--gold); color: var(--gold-soft); }
.js .title__credit { animation: rise 1s var(--ease) both; animation-delay: calc(var(--intro) + .6s); }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: #000; padding: 14px 0; }
.ticker__track { display: flex; align-items: center; gap: 2.2rem; width: max-content; font: italic 400 clamp(1.05rem, 1.7vw, 1.5rem)/1.2 var(--serif); color: var(--gold-soft); animation: ticker 46s linear infinite; }
.ticker .dia { width: 7px; height: 7px; }
@keyframes ticker { to { transform: translateX(calc(-50% - 1.1rem)); } }

/* ---------- Shared section bits ---------- */
.section { position: relative; padding: clamp(76px, 10vw, 156px) var(--gut); }
.section > *, .kit > * { max-width: 1480px; margin-inline: auto; }
.sec-head { display: grid; grid-template-columns: 1fr minmax(240px, 400px); gap: 20px clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(34px, 5vw, 72px); }
.sec-head h2 { font: 400 clamp(3rem, 8.4vw, 8.2rem)/.96 var(--serif); letter-spacing: -.012em; }
.sec-head p { color: #d6cfbf; padding-bottom: .4em; }

.chapter { display: flex; align-items: baseline; gap: clamp(12px, 1.6vw, 24px); margin-top: clamp(44px, 6vw, 92px); margin-bottom: clamp(16px, 2vw, 28px); }
.sec-head + .chapter { margin-top: 0; }
.chapter span { font: 500 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.chapter h3 { font: 400 clamp(1.35rem, 2.4vw, 2.1rem)/1.15 var(--serif); }
.chapter i { flex: 1; height: 1px; align-self: center; min-width: 20px; background: linear-gradient(90deg, var(--gold-deep), transparent); }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

.leaf { position: absolute; z-index: 0; width: clamp(130px, 20vw, 300px); max-width: none; pointer-events: none; opacity: .9; }
.leaf--tr { top: 0; right: 0; margin: 0 !important; }
.leaf--bl { bottom: 0; left: 0; margin: 0 !important; transform: rotate(180deg); }

/* ---------- Work ---------- */
.work-sec { background: radial-gradient(50% 40% at 0 12%, rgba(212,175,55,.09), transparent 70%), radial-gradient(44% 30% at 100% 60%, rgba(212,175,55,.07), transparent 70%); }
.work-sec > *:not(.leaf) { position: relative; z-index: 1; }
.row { display: flex; gap: var(--gap); margin-bottom: clamp(20px, 2.4vw, 34px); }
.work { flex: var(--a, 1) 1 0; min-width: 0; }
.work__link { display: block; text-decoration: none; }
.work__frame { position: relative; display: block; overflow: hidden; aspect-ratio: var(--a, auto); background: #0b0a07; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .35s; }
.work__frame--black { background: #000; }
.work__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,226,140,.26), transparent 62%); transition: opacity .35s; }
.work__plus { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border: 1px solid var(--gold); border-radius: 50%; background: rgba(0,0,0,.6); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .35s var(--ease); }
.work__plus::before, .work__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; margin: -.5px 0 0 -7px; background: var(--gold-soft); }
.work__plus::after { transform: rotate(90deg); }
.shot .work__plus { display: none; }
.work__link:hover .work__frame, .work__link:focus-visible .work__frame { box-shadow: 0 0 0 1px var(--gold), 0 18px 60px rgba(212,175,55,.2); }
.work__link:hover img { transform: scale(1.022); }
.work__link:hover .work__frame::after { opacity: 1; }
.work__link:hover .work__plus, .work__link:focus-visible .work__plus { opacity: 1; transform: none; }
@media (hover: none) { .work__plus { opacity: 1; transform: none; width: 34px; height: 34px; right: 8px; top: 8px; } }

.work figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px .75em; padding-top: 12px; }
.work figcaption b { font: 500 .74rem/1 var(--sans); letter-spacing: .1em; color: var(--gold); }
.work figcaption span { font: 400 clamp(1.08rem, 1.45vw, 1.32rem)/1.25 var(--serif); }
.work figcaption small { flex-basis: 100%; font-size: .82rem; color: var(--muted); }
@media (min-width: 760px) { .work figcaption small { flex-basis: auto; margin-left: auto; } }

.notes, .brand { min-width: 0; align-self: stretch; padding: clamp(24px, 3.4vw, 54px); box-shadow: 0 0 0 1px var(--line); background: radial-gradient(90% 60% at 0 0, rgba(212,175,55,.13), transparent 70%), var(--panel); margin-bottom: calc(1.3em + 26px); }
.notes { flex: 1.2 1 0; display: flex; flex-direction: column; }
.notes__pull { margin: .7em 0 auto; padding-bottom: 1em; font: 400 clamp(1.6rem, 3.1vw, 3rem)/1.14 var(--serif); }
.notes dl > div { padding: 16px 0; border-top: 1px solid var(--line); }
.notes dt { font: 500 1.02rem/1.3 var(--serif); color: var(--gold-soft); }
.notes dd { margin-top: 4px; font-size: .94rem; color: #d6cfbf; }

.brand { flex: 1.15 1 0; display: flex; flex-direction: column; gap: 1em; }
.brand__name { font: 500 clamp(2rem, 4.4vw, 4.4rem)/1 var(--logo); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); background: var(--gold-sheet); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand__def { font: 400 clamp(1.1rem, 1.6vw, 1.4rem)/1.35 var(--serif); }
.brand > p:not([class]) { color: #d6cfbf; max-width: 38em; }
.swatches { display: flex; gap: 22px; margin-top: auto; padding-top: 10px; }
.swatches li { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--muted); }
.swatches i { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold-deep); }
.brand__tag { font: 400 .84rem/1.2 var(--logo); letter-spacing: .24em; color: var(--gold-soft); }

.row--card .work { flex: 1 1 100%; }
.sublabel { display: flex; align-items: center; gap: .85em; margin: clamp(20px, 2.6vw, 40px) auto clamp(12px, 1.4vw, 20px); font: 500 .74rem/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }
.work__frame--fit img { object-fit: contain; }
.row--models figcaption span, .row--props figcaption span { font-size: clamp(.98rem, 1.15vw, 1.1rem); }

/* ---------- Profile ---------- */
.profile { background: radial-gradient(46% 34% at 8% 10%, rgba(212,175,55,.14), transparent 72%), radial-gradient(40% 28% at 100% 42%, rgba(212,175,55,.06), transparent 70%), #000; border-top: 1px solid var(--line); }
.profile__grid { display: grid; grid-template-columns: minmax(280px, 5fr) 7fr; gap: clamp(36px, 6vw, 110px); align-items: center; }
.profile__art { --a: .966; max-width: 480px; width: 100%; justify-self: center; align-self: start; position: sticky; top: 90px; }
.profile__art .work__frame { box-shadow: 0 0 0 1px var(--gold-deep), 0 30px 120px rgba(212,175,55,.26); }
.profile__text h2 { margin-top: .22em; font: 400 clamp(3rem, 7.2vw, 7rem)/.98 var(--serif); letter-spacing: -.012em; }
.profile__aka { margin-top: .9em; font: italic 400 1.14rem/1.3 var(--serif); color: var(--gold-soft); }
.profile__place { margin-top: .3em; font-size: .9rem; color: var(--muted); }
.profile__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.1em; }
.profile__tags li { padding: 6px 14px; border: 1px solid var(--gold-deep); border-radius: 99px; font-size: .84rem; line-height: 1.2; color: var(--gold-soft); }
.profile__about { max-width: 42em; margin-top: 1.5em; color: #e3dccb; }
.profile__about h3 { margin: 1.5em 0 .5em; font: 500 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.profile__about h3:first-child { margin-top: 0; }
.profile__about p + p { margin-top: .9em; }

.facts { display: grid; grid-template-columns: 1.5fr 1.1fr .7fr; gap: clamp(20px, 2.6vw, 40px); margin-top: clamp(26px, 3.2vw, 44px); padding-top: clamp(20px, 2.2vw, 28px); border-top: 1px solid var(--line); }
.facts h3 { margin-bottom: .75em; font: 500 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.facts li { font-size: .93rem; line-height: 1.5; color: #e3dccb; }
.facts li + li { margin-top: .75em; }
.facts b { display: block; font-weight: 500; font-size: .8rem; letter-spacing: .06em; color: var(--gold-soft); }

.profile__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3vw, 38px); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 1px solid var(--gold); font: 500 .84rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--gold-soft); transition: background .25s, color .25s, box-shadow .25s; }
.btn:hover { background: rgba(212,175,55,.14); }
.btn--gold { background: var(--gold); color: #000; }
.btn--gold:hover { background: var(--gold-soft); box-shadow: 0 8px 34px rgba(212,175,55,.35); }

/* ---------- Toolkit ---------- */
.kit { margin-top: clamp(84px, 11vw, 170px) !important; }
.kit__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(18px, 3vw, 44px); align-items: stretch; }
.slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(6px, .8vw, 12px); align-content: start; }
.slot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3em; aspect-ratio: 1; min-width: 0; padding: 4px; background: linear-gradient(160deg, rgba(212,175,55,.07), rgba(0,0,0,0) 60%), #0b0a07; box-shadow: inset 0 0 0 1px var(--line); text-align: center; transition: box-shadow .25s, background .25s, transform .25s var(--ease); }
button.slot:hover { box-shadow: inset 0 0 0 1px var(--gold); transform: translateY(-2px); }
.slot[aria-selected="true"] { box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 34px rgba(212,175,55,.26); background: linear-gradient(160deg, rgba(212,175,55,.2), rgba(0,0,0,0) 72%), #0b0a07; }
.slot[aria-selected="true"]::after { content: ""; position: absolute; right: 9px; top: 9px; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.slot__mono { font: 500 clamp(1.3rem, 2.6vw, 2.3rem)/1 var(--serif); color: var(--gold-soft); }
.slot__name { font-size: clamp(.68rem, .82vw, .78rem); line-height: 1.2; color: var(--muted); }
.slot--main { grid-column: span 2; grid-row: span 2; }
.slot--main .slot__mono { font-size: clamp(4.4rem, 11vw, 10rem); font-weight: 700; font-optical-sizing: none; font-variation-settings: "opsz" 6; letter-spacing: -.02em; line-height: .95; background-size: cover; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1px rgba(236,214,144,.55); color: var(--gold-soft); }
.slot--ps .slot__mono { background-image: url("../karya/wana-900.jpg"); background-position: 50% 30%; }
.slot--ai .slot__mono { background-image: url("../karya/strawberry-1200.jpg"); background-position: 50% 40%; }
.slot__logo { width: auto; height: clamp(28px, 3.6vw, 54px); max-width: 76%; object-fit: contain; }
.slot--un .slot__logo { height: auto; width: 66%; max-width: none; }
.slot__corner { position: absolute; left: 10px; top: 10px; width: clamp(22px, 2.2vw, 32px); height: auto; }
.slot--main .slot__name { font-size: clamp(.82rem, 1.05vw, 1rem); color: var(--ivory); }
.slot--empty { background: #070604; box-shadow: inset 0 0 0 1px rgba(212,175,55,.1); }

.panels { min-width: 0; padding: clamp(22px, 2.8vw, 42px); box-shadow: 0 0 0 1px var(--line); background: radial-gradient(90% 70% at 100% 0, rgba(212,175,55,.11), transparent 70%), var(--panel); }
.panel { display: flex; flex-direction: column; height: 100%; }
.panel + .panel { margin-top: 32px; }
.js .panel + .panel { margin-top: 0; }
.panel[hidden] { display: none; }
.js .panel { animation: panel-in .45s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel__tag { align-self: flex-start; margin-bottom: 14px; padding: 5px 12px; border: 1px solid var(--gold); border-radius: 99px; font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }
.panel h3 { font: 400 clamp(1.8rem, 3.1vw, 3rem)/1.05 var(--serif); }
.panel > p:not(.panel__tag) { margin-top: .75em; color: #e3dccb; }
.seen { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-top: auto; padding-top: 22px; }
.seen > span { flex-basis: 100%; font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.seen button { display: flex; flex-direction: column; gap: 6px; flex: 1 1 94px; max-width: 170px; min-width: 0; font-size: .8rem; line-height: 1.25; text-align: left; color: #e3dccb; transition: color .2s; }
.seen button img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .25s; }
.seen button:hover { color: var(--gold-soft); }
.seen button:hover img { box-shadow: 0 0 0 1px var(--gold); }

.chips { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: clamp(18px, 3vw, 44px); margin-top: clamp(26px, 3.4vw, 48px); }
.chips h3 { margin-bottom: 14px; font: 500 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.chips ul { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 15px; border: 1px solid var(--line); border-radius: 99px; font-size: .9rem; line-height: 1.2; }

/* ---------- Statement ---------- */
.manifesto { position: relative; display: flex; align-items: center; min-height: min(78vh, 720px); padding: clamp(64px, 8vw, 110px) var(--gut); overflow: hidden; background: #000; }
.manifesto__media { position: absolute; inset: 0 0 0 auto; width: 52%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%); mask-image: linear-gradient(90deg, transparent 0, #000 42%); }
.manifesto__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.manifesto__copy { position: relative; max-width: 760px; }
.manifesto h2 { font: 400 clamp(3rem, 7.4vw, 7.4rem)/.98 var(--serif); letter-spacing: -.012em; }
.manifesto em { display: block; }
.manifesto p { max-width: 34em; margin-top: 1.1em; color: #e3dccb; font-size: clamp(1rem, 1.3vw, 1.2rem); }

/* ---------- Game projects ---------- */
.game { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3.4vw, 56px); align-items: start; padding: clamp(30px, 4vw, 64px) 0; border-top: 1px solid var(--line); }
.game:nth-of-type(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.game:nth-of-type(even) .game__media { order: 2; }
.game:nth-of-type(even) .game__cover .work__frame { margin-left: auto; }
.game__cover .work__frame { max-width: var(--mw, 100%); }
.game__shots { display: flex; gap: clamp(6px, .7vw, 10px); margin-top: clamp(6px, .7vw, 10px); }
.shot { flex: var(--a, 1.78) 1 0; min-width: 0; }
.game__no { font: 500 .78rem/1 var(--sans); letter-spacing: .1em; color: var(--gold); }
.game__body h3 { margin-top: .4em; font: 400 clamp(1.8rem, 3.2vw, 3.2rem)/1.05 var(--serif); }
.game__meta { margin-top: .7em; font-size: .86rem; color: var(--gold-soft); }
.game__body > p:not(.game__no):not(.game__meta) { margin-top: 1em; color: #d6cfbf; }
.game__link { margin-top: 1.4em; }
.game__spec { margin-top: 1.4em; border-top: 1px solid var(--line); }
.game__spec > div { display: grid; grid-template-columns: minmax(110px, 2fr) 3fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.game__spec dt { color: var(--gold-soft); }
.game__spec dd { color: #e3dccb; }

/* ---------- Video editing ---------- */
.vid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(20px, 3.4vw, 56px); align-items: start; }
.vid video { display: block; width: 100%; height: auto; background: #000; box-shadow: 0 0 0 1px var(--gold-deep), 0 26px 100px rgba(212,175,55,.16); }
.vid__text h3 { font: 400 clamp(1.8rem, 3vw, 3rem)/1.05 var(--serif); }
.vid__text > p:not(.game__meta) { margin-top: 1em; color: #d6cfbf; }

/* ---------- Contact ---------- */
.end { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: clamp(76px, 10vw, 140px) var(--gut) 0; text-align: center; border-top: 1px solid var(--gold-deep); background: radial-gradient(60% 56% at 50% 28%, rgba(212,175,55,.17), transparent 72%), #000; }
.end > *:not(.leaf) { position: relative; z-index: 1; }
.end__crest { width: clamp(110px, 13vw, 170px); mix-blend-mode: lighten; }
.end h2 { margin-top: .26em; font: 400 clamp(3.1rem, 10vw, 10rem)/.98 var(--serif); letter-spacing: -.014em; }
.end__lede { margin-top: 1em; font-size: clamp(1.02rem, 1.4vw, 1.25rem); color: #e3dccb; }
.end__mail { display: inline-block; margin-top: .4em; padding: .55em 0 .5em; font: italic 400 clamp(1.18rem, 4.9vw, 4.2rem)/1.2 var(--serif); color: var(--gold-soft); text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; transition: background-size .45s var(--ease), color .25s; }
.end__mail:hover { color: #fff; background-size: 0 1px; background-position: 100% 100%; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(24px, 3vw, 40px); }
.socials a { display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 18px 0 13px; border: 1px solid var(--line); border-radius: 99px; font-size: .88rem; text-decoration: none; transition: border-color .25s, color .25s, background .25s; }
.socials a:hover { border-color: var(--gold); color: var(--gold-soft); background: rgba(212,175,55,.09); }
.socials svg { width: 22px; height: 22px; color: var(--gold); }
.end__back { display: inline-flex; align-items: center; gap: .9em; min-height: 44px; margin-top: clamp(26px, 3.4vw, 44px); font: 500 .92rem/1 var(--logo); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--gold-soft); }
.end__back:hover { color: #fff; }
.foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 28px; width: 100%; max-width: 1480px; margin-top: clamp(48px, 7vw, 96px); padding: 20px 0 24px; font-size: .8rem; color: var(--muted); }

/* ---------- Viewer ---------- */
.lb { position: fixed; inset: 0; width: 100vw; width: 100dvw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: var(--ivory); background: rgba(0,0,0,.96); overflow: hidden; }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: lb-in .28s ease both; }
.lb::backdrop { background: #000; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb__top { display: flex; align-items: center; justify-content: space-between; padding: 10px clamp(12px, 2vw, 24px); }
.lb__count { font-size: .78rem; letter-spacing: .2em; color: var(--gold-soft); }
.lb__btn { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; color: var(--gold-soft); background: rgba(0,0,0,.65); transition: border-color .2s, background .2s; }
.lb__btn:hover { border-color: var(--gold); background: rgba(212,175,55,.16); }
.lb__btn svg { width: 22px; height: 22px; }
.lb__stage { display: flex; min-height: 0; overflow: hidden; touch-action: pinch-zoom; }
.lb__stage.is-zoomed { overflow: auto; touch-action: auto; cursor: zoom-out; }
.lb__stage.can-zoom:not(.is-zoomed) .lb__img { cursor: zoom-in; }
.lb__img { margin: auto; max-width: none; flex: none; user-select: none; -webkit-user-drag: none; transition: opacity .25s; }
.lb__img.is-loading { opacity: .25; }
.lb__btn[hidden] { display: none; }
.lb__prev, .lb__next { position: absolute; top: 50%; margin-top: -23px; z-index: 2; }
.lb__prev { left: clamp(8px, 1.6vw, 24px); }
.lb__next { right: clamp(8px, 1.6vw, 24px); }
.lb__cap { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 2px 18px; align-items: baseline; padding: 12px clamp(16px, 4vw, 72px) 16px; border-top: 1px solid var(--line); }
.lb__title { font: 400 clamp(1.15rem, 1.8vw, 1.55rem)/1.2 var(--serif); }
.lb__type { font-size: .8rem; letter-spacing: .05em; color: var(--gold-soft); white-space: nowrap; }
.lb__desc { font-size: .88rem; line-height: 1.45; color: #d6cfbf; }

/* ---------- Tablet and below ---------- */
@media (max-width: 1040px) {
  .kit__body, .chips { grid-template-columns: minmax(0, 1fr); }
  .game { grid-template-columns: minmax(0, 1fr); }
  .game:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); }
  .game:nth-of-type(even) .game__media { order: 0; }
  .game:nth-of-type(even) .game__cover .work__frame { margin-left: 0; }
  .vid { grid-template-columns: minmax(0, 1fr); }
  .profile__art { position: static; }
  .lb__cap { grid-template-columns: auto minmax(0, 1fr); }
  .lb__desc { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .title { align-items: flex-end; padding: 0 var(--gut) 26px; }
  .title__media { inset: 0 0 auto; width: 100%; height: 58svh; -webkit-mask-image: linear-gradient(180deg, #000 54%, transparent 100%); mask-image: linear-gradient(180deg, #000 54%, transparent 100%); }
  .title__copy .eyebrow { font-size: .72rem; letter-spacing: .15em; text-shadow: 0 1px 10px rgba(0,0,0,.95), 0 0 2px rgba(0,0,0,.8); }
  .wordmark { filter: drop-shadow(0 2px 12px rgba(0,0,0,.65)); }
  .title__media::after { background: linear-gradient(0deg, #000 0, rgba(0,0,0,0) 26%), linear-gradient(180deg, rgba(0,0,0,.72) 0, rgba(0,0,0,0) 20%); }
  .title__media img { object-position: 42% 60%; }
  .title__copy { max-width: 100%; width: 100%; }
  .wordmark { font-size: 15.4vw; letter-spacing: .045em; }
  .title__lede { font-size: .95rem; margin-top: .7em; }
  .title__credit { top: 74px; right: var(--gut); bottom: auto; min-height: 40px; padding: 0 12px; font-size: .76rem; }
  .title__credit span { display: none; }
  .menu { margin-top: 14px; }

  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .manifesto { flex-direction: column; align-items: flex-start; justify-content: flex-end; min-height: 0; padding-top: 58vw; }
  .manifesto__media { inset: 0 0 auto; width: 100%; height: 76vw; -webkit-mask-image: linear-gradient(180deg, #000 42%, transparent 100%); mask-image: linear-gradient(180deg, #000 42%, transparent 100%); }
  .profile__grid { grid-template-columns: minmax(0, 1fr); }
  .profile__art { max-width: 400px; }
  .facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 759px) {
  .hud { grid-template-columns: auto 1fr; padding: 10px var(--gut); gap: 10px; }
  .hud__crest { width: 36px; }
  .hud__year { display: none; }
  .pills { justify-self: end; }
  .pills a { min-height: 40px; font-size: .7rem; padding: 0 12px; letter-spacing: .1em; }
  .row { flex-direction: column; }
  .work, .row--card .work { flex: none; width: 100%; }
  .row--models, .row--props { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model--wide { grid-column: 1 / -1; }
  .notes, .brand { flex: none; margin-bottom: 0; }
  .notes { order: 1; }
  .slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .slot__mono { font-size: 1.5rem; }
  .slot--main .slot__mono { font-size: 5rem; }
  .foot { justify-content: center; text-align: center; }
  .leaf--bl { display: none; }
  .game__shots { flex-wrap: wrap; }
  .shot { flex: 1 1 calc(50% - 6px); }
  .shot .work__frame { aspect-ratio: 16 / 9; }
  .shot .work__frame img { object-fit: contain; background: #000; }
  .lb__prev, .lb__next { top: auto; bottom: 8px; margin: 0; width: 42px; height: 42px; }
  .lb__cap { padding-right: 112px; }
  .lb__prev { left: auto; right: 58px; }
  .lb__next { right: 10px; }
  .lb__desc { display: none; }
  .lb__cap { grid-template-columns: minmax(0, 1fr); min-height: 60px; }
  .lb__type { white-space: normal; }
}

/* Short landscape phones: keep the menu reachable */
@media (max-height: 560px) and (min-width: 760px) {
  .title { padding-top: 76px; }
  .title__lede, .title__hint { display: none; }
  .wordmark { font-size: 16vh; }
  .menu a { min-height: 40px; }
}
@media (max-width: 900px) and (max-height: 700px) {
  .title__lede { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .intro { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
  .title__media img { animation: none; }
}
