/* Layout and components first; the theme (colours, type, character) is at the end of the file. */
:root {
  --bg: #fff; --surface: #fff; --surface-2: #f3f3f3; --line: #e2e2e2; --line-strong: #c9c9c9;
  --text: #111; --text-2: #333; --muted: #666;
  --accent: #e4572e; --accent-ink: #fff; --accent-soft: rgba(228,87,46,.12); --highlight: #e4572e;
  --award-bg: var(--accent-soft); --award-ink: var(--accent);
  --display: Georgia, serif; --sans: system-ui, sans-serif; --mono: ui-monospace, monospace;
  --display-weight: 600; --display-tracking: -0.02em; --h1: clamp(40px, 6.2vw, 80px); --h2: clamp(30px, 4vw, 48px);
  --radius: 12px; --radius-sm: 8px; --btn-radius: 999px;
  --shadow: none; --shadow-hover: 0 12px 30px rgba(0,0,0,.08); --lift: -3px;
  --nav-bg: rgba(255,255,255,.85);
  --wrap: 1200px; --gutter: 32px; --section: 120px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .2em; }
a:hover { text-decoration-color: currentColor; }
img { max-width: 100%; display: block; height: auto; }
button { font: inherit; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: var(--h2); }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip:focus { top: 12px; }
.eyebrow { font: 600 13px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 20px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: var(--nav-bg); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--text); color: var(--bg); font: 700 14px/1 var(--display); letter-spacing: 0; }
.brand-name { font-size: 15px; }
.nav nav { margin-left: auto; }
.links { display: flex; gap: 4px; }
.links a { display: block; padding: 8px 12px; border-radius: var(--btn-radius); font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .15s, background .15s; }
.links a:hover { color: var(--text); background: var(--surface-2); }
.links a[aria-current] { color: var(--text); background: var(--surface-2); }
.menu-only { display: none; }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); cursor: pointer; position: relative; }
.bars, .bars::before, .bars::after { position: absolute; left: 11px; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; content: ""; }
.bars { top: 19px; } .bars::before { left: 0; top: -6px; } .bars::after { left: 0; top: 6px; }
.menu-open .bars { background: transparent; }
.menu-open .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-open .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--btn-radius); background: var(--accent); color: var(--accent-ink); border: 1.5px solid var(--accent); font: 600 15.5px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--text); }
.btn.small { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn.big { min-height: 60px; padding: 16px 28px; font-size: clamp(16px, 2vw, 20px); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.cta.stack { flex-direction: column; }
.cta.stack .btn { width: 100%; }
.text-link { font-weight: 600; color: var(--accent); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: 40px 72px; align-items: center; padding-top: clamp(48px, 9vw, 112px); }
.hero h1 { font-size: var(--h1); margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--highlight); }
.sub { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--text-2); max-width: 620px; margin: 0; }
.worked { margin: 36px 0 0; font-size: 14px; color: var(--muted); }
.worked span { display: block; font: 600 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.hero-portrait { margin: 0; position: relative; }
.hero-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--surface-2); }
.stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); margin: 24px 0 0; border-top: 1px solid var(--line); }
.stats div { padding: 24px 24px 0 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats dt { font: var(--display-weight) clamp(30px, 3.4vw, 44px)/1 var(--display); letter-spacing: var(--display-tracking); margin-bottom: 8px; }
.stats dd { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.4; }

/* ---------- sections ---------- */
.section { padding-top: var(--section); }
.sec-head { display: grid; grid-template-columns: 1fr; gap: 0; margin-bottom: 48px; max-width: 760px; }
.sec-num { font: 600 13px/1 var(--mono); color: var(--accent); letter-spacing: .08em; margin: 0 0 16px; }
.sec-head h2 { margin: 0; }
.sec-intro { color: var(--text-2); font-size: 18px; margin: 16px 0 0; }
.sub-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 64px 0 20px; }
.sub-head h3, .minor { font-size: 22px; margin: 0; }
.minor { margin: 56px 0 20px; }
.sec-head + .minor { margin-top: 0; }

/* ---------- case studies ---------- */
.cases { display: grid; gap: clamp(56px, 7vw, 96px); }
.case { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; position: relative; }
.case:nth-child(even) .case-media { order: 2; }
.case-media { display: block; text-decoration: none; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.case-media .img, .case-media .art { aspect-ratio: 4 / 3; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case:hover .case-media img { transform: scale(1.03); }
.case-meta { display: flex; gap: 12px; flex-wrap: wrap; font: 600 13px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.case-meta span + span::before { content: "·"; margin-right: 12px; }
.case h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; }
.case h3 a { text-decoration: none; }
.case h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.case h3 a:hover { color: var(--accent); }
.case-blurb { font-size: 18px; color: var(--text-2); margin: 0 0 24px; }
.facts { display: grid; gap: 0; margin: 0 0 24px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { font: 600 12px/1.9 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; }
.go { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--accent); text-decoration: none; font-size: 15px; }
.go span { transition: transform .2s var(--ease); }
.case:hover .go span, .card:hover .go span { transform: translateX(3px); }
.more-pro { margin-top: 72px; }
.wide { display: grid; grid-template-columns: 200px 1fr auto; gap: 24px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.wide:hover { border-color: var(--line-strong); transform: translateY(var(--lift)); box-shadow: var(--shadow-hover); }
.wide .thumb .img, .wide .thumb .art { aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; }
.wide .thumb img { width: 100%; height: 100%; object-fit: cover; }
.wide-text { display: grid; gap: 4px; }
.wide-text small { font: 600 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.wide-text b { font: var(--display-weight) 22px/1.2 var(--display); letter-spacing: var(--display-tracking); }
.wide-text span { color: var(--text-2); font-size: 15.5px; }
.wide .go { padding-right: 8px; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 24px; }
.three { grid-template-columns: repeat(3, 1fr); }
.four { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
a.card:hover { transform: translateY(var(--lift)); border-color: var(--line-strong); box-shadow: var(--shadow-hover); }
.card .img, .card .art, .card .yt, .card .yt-frame { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.card:hover .img img { transform: scale(1.04); }
.card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 21px; margin-bottom: 8px; line-height: 1.2; }
.card p { color: var(--text-2); font-size: 15px; line-height: 1.55; margin: 0 0 16px; }
.card .go { margin-top: auto; padding-top: 4px; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.meta { font: 600 12.5px/1 var(--mono); color: var(--muted); letter-spacing: .04em; }
.award, .status { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600; line-height: 1.2; padding: 4px 10px; border-radius: 999px; }
.award { background: var(--award-bg); color: var(--award-ink); }
.status { color: var(--muted); border: 1px dashed var(--line-strong); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.tag { font-size: 12.5px; color: var(--muted); background: var(--surface-2); padding: 3px 10px; border-radius: 999px; }

/* compact list: more games */
.mini-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; border-top: 1px solid var(--line); }
.mini { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.mini .thumb .img, .mini .thumb .art { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; }
.mini .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini .thumb .art span { font-size: 11px; }
.mini-text { display: grid; min-width: 0; }
.mini-text b { font-size: 16px; }
.mini-text small { color: var(--muted); font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-meta { font: 600 12.5px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.mini:hover b { color: var(--accent); }

/* generated art tile */
.art { display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; background: var(--art-bg, linear-gradient(135deg, var(--accent-soft), var(--surface-2))); color: var(--text); }
.art span { font: var(--display-weight) 24px/1.15 var(--display); letter-spacing: var(--display-tracking); }

/* youtube */
.yt { position: relative; display: block; width: 100%; border: 0; padding: 0; cursor: pointer; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.yt .play { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 18px; padding-left: 3px; transition: transform .2s var(--ease); box-shadow: 0 6px 24px rgba(0,0,0,.3); }
.yt:hover .play { transform: scale(1.08); }
.yt-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- jamference ---------- */
.jam { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); padding: clamp(28px, 4vw, 56px); border-radius: var(--radius); background: var(--jam-bg, var(--surface-2)); color: var(--jam-text, var(--text)); }
.jam-text p { margin: 0 0 16px; color: inherit; opacity: .9; }
.jam-text .cta { margin-top: 28px; }
.jam .btn.ghost { color: inherit; border-color: currentColor; }
.jam-list { display: grid; gap: 0; align-content: center; }
.jam-list li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--jam-line, var(--line)); }
.jam-list li:last-child { border-bottom: 1px solid var(--jam-line, var(--line)); }
.jam-no { font: var(--display-weight) 28px/1 var(--display); color: var(--jam-accent, var(--accent)); }
.jam-list b { display: block; font: var(--display-weight) 20px/1.2 var(--display); letter-spacing: var(--display-tracking); }
.jam-list i { display: block; font-style: normal; font-size: 14px; opacity: .75; margin-top: 2px; }
.jam-list a { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--jam-accent, var(--accent)); }

/* ---------- recognition ---------- */
.rec-list { border-top: 1px solid var(--line); }
.rec-list li > a, .rec-list li > div { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.1fr) 24px; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s, padding .2s; }
.rec-list li > a:hover { background: var(--surface-2); padding-left: 12px; padding-right: 12px; }
.rec-list b { font: var(--display-weight) 20px/1.25 var(--display); letter-spacing: var(--display-tracking); }
.rec-list .by { font-size: 14px; color: var(--muted); }
.rec-list .note { font-size: 15px; color: var(--text-2); }
.rec-list .arr { color: var(--accent); text-align: right; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); }
.about-text p { color: var(--text-2); margin: 0 0 18px; }
.about-text .lede { font-size: clamp(20px, 2vw, 24px); line-height: 1.5; color: var(--text); }
.about-side h3 { font-size: 20px; margin-bottom: 16px; }
.timeline li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.timeline span { font: 600 13px/1.7 var(--mono); color: var(--accent); }
.timeline p { margin: 0; font-size: 15.5px; color: var(--text-2); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px 72px; align-items: end; padding: clamp(32px, 5vw, 72px); border-radius: var(--radius); background: var(--contact-bg, var(--text)); color: var(--contact-text, var(--bg)); }
.contact h2 { font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 20px; }
.contact .sub { color: inherit; opacity: .8; }
.contact .eyebrow { color: var(--contact-accent, var(--accent)); }
.email-row { display: flex; gap: 10px; flex-wrap: wrap; }
.email-row .btn.big { flex: 1 1 auto; }
.contact .btn.ghost { color: inherit; border-color: currentColor; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; }
.socials a { font-weight: 600; text-decoration: none; opacity: .85; }
.socials a:hover { opacity: 1; text-decoration: underline; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 48px; padding-bottom: 48px; font-size: 14px; color: var(--muted); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }

/* ---------- project page ---------- */
.project { padding-top: 40px; }
.back { display: inline-block; font-size: 14.5px; font-weight: 600; color: var(--muted); text-decoration: none; margin-bottom: 40px; }
.back:hover { color: var(--accent); }
.proj-head { max-width: 860px; }
.project h1 { font-size: clamp(38px, 5.6vw, 72px); margin-bottom: 20px; }
.proj-head .badges { margin-top: 20px; }
.hero-media { display: block; width: 100%; border-radius: var(--radius); overflow: hidden; margin: 48px 0 64px; aspect-ratio: 16 / 9; background: var(--surface-2); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.art.hero-media { display: flex; }
.art.hero-media span { font-size: clamp(32px, 5vw, 64px); }
.proj-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.proj-facts { position: sticky; top: 100px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.proj-facts .facts { border-top: 0; }
.proj-facts .facts div { grid-template-columns: 1fr; gap: 2px; }
.proj-facts .facts div:first-child { padding-top: 0; }
.proj-facts .cta { margin-top: 8px; }
.prose { font-size: 18px; line-height: 1.75; color: var(--text-2); max-width: 680px; }
.prose > :first-child { margin-top: 0; }
.prose .lede { font-size: clamp(20px, 2vw, 23px); line-height: 1.55; color: var(--text); }
.prose h3 { font-size: 26px; margin: 48px 0 12px; color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin: 8px 0; padding-left: 4px; }
.prose li::marker { color: var(--accent); }
.prose b { color: var(--text); }
.prose a { color: var(--accent); }
.prose .note { font-size: 15px; color: var(--muted); border-left: 3px solid var(--line-strong); padding-left: 16px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 96px; }
.pager a { display: grid; gap: 4px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.pager a:hover { border-color: var(--accent); transform: translateY(var(--lift)); }
.pager .next { text-align: right; }
.pager small { font: 600 12.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pager b { font: var(--display-weight) 22px/1.2 var(--display); letter-spacing: var(--display-tracking); }
.project .minor { margin-top: 80px; }
.notfound { padding: 120px var(--gutter); }


/* ---------- what I bring ---------- */
.fit { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.fit-card { position: relative; padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.fit-card:hover { border-color: var(--accent); transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--accent); }
.fit-card:nth-child(even):hover { border-color: var(--pink); box-shadow: 6px 6px 0 var(--pink); }
.fit-k { font: 700 13px/1 var(--mono); color: var(--pink); margin: 0 0 18px; }
.fit-card:nth-child(even) .fit-k { color: var(--accent); }
.fit-card h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 12px; }
.fit-claim { font-size: 17px; color: var(--text); margin: 0 0 20px; }
.fit-card ul { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.fit-card li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
.fit-card li::before { content: "▸"; position: absolute; left: 0; top: 0; color: var(--accent); }
.fit-card a { color: var(--text); font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.fit-card a:hover { color: var(--accent); }
.two { grid-template-columns: repeat(2, 1fr); }
.hero .worked + .worked { margin-top: 16px; }
@media (max-width: 900px) { .fit { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .links a { padding: 8px 9px; font-size: 14px; }
  .brand-name { display: none; }
  .four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; --section: 88px; }
  .menu-btn { display: block; }
  .nav nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .menu-open .nav nav { display: block; }
  .links { flex-direction: column; padding: 8px var(--gutter) 20px; gap: 0; }
  .links a { font-size: 18px; padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); background: none !important; }
  .menu-only { display: block; }
  .nav-cta { margin-left: auto; }
  .brand-name { display: inline; }
  .hide-sm { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; width: 112px; }
  .hero-portrait img { aspect-ratio: 1; border-radius: 50%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div, .stats div + div { padding: 20px 16px 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .stats div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .case, .jam, .about-grid, .contact, .proj-grid { grid-template-columns: 1fr; }
  .case:nth-child(even) .case-media { order: 0; }
  .three { grid-template-columns: repeat(2, 1fr); }
  .mini-list { grid-template-columns: 1fr; }
  .rec-list li > a, .rec-list li > div { grid-template-columns: 1fr 24px; gap: 4px 16px; }
  .rec-list .by, .rec-list .note { grid-column: 1; }
  .rec-list .arr { grid-row: 1; grid-column: 2; }
  .proj-facts { position: static; order: -1; }
  .wide { grid-template-columns: 140px 1fr; }
  .wide .go { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .three, .four { grid-template-columns: 1fr; }
  .nav-cta .btn.small { padding: 8px 14px; }
  .brand-name { display: none; }
  .wide { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { text-align: left; }
  .sec-head { margin-bottom: 32px; }
  .facts div { grid-template-columns: 84px 1fr; }
  .contact { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ================= Theme: deep ink, electric lime, hot pink, chunky type and hard shadows ================= */
:root {
  --bg: #0e0c1d; --surface: #17142d; --surface-2: #211d3d; --line: #2e2954; --line-strong: #4a4380;
  --text: #f6f3ff; --text-2: #c9c3e6; --muted: #948dbb;
  --accent: #c8ff3c; --accent-ink: #0e0c1d; --accent-soft: rgba(200,255,60,.12); --highlight: #c8ff3c;
  --pink: #ff5cd6; --award-bg: #ff5cd6; --award-ink: #0e0c1d;
  --display: "Bricolage Grotesque", system-ui, sans-serif; --sans: "Inter", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --display-weight: 800; --display-tracking: -0.035em; --h1: clamp(44px, 6.8vw, 92px);
  --radius: 18px; --radius-sm: 10px; --btn-radius: 12px;
  --shadow: none; --shadow-hover: 6px 6px 0 var(--accent); --lift: -4px;
  --nav-bg: rgba(14,12,29,.82);
  --jam-bg: #c8ff3c; --jam-text: #0e0c1d; --jam-line: rgba(14,12,29,.2); --jam-accent: #0e0c1d;
  --contact-bg: #ff5cd6; --contact-text: #0e0c1d; --contact-accent: #0e0c1d;
  --art-bg: radial-gradient(circle at 30% 30%, rgba(255,92,214,.45), transparent 50%), radial-gradient(circle at 70% 70%, rgba(200,255,60,.35), transparent 50%), #211d3d;
}
body { background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; }
.brand-mark { background: var(--accent); color: var(--accent-ink); transform: rotate(-6deg); }
.hero h1 em { color: var(--accent); }
.hero-portrait img { border: 3px solid var(--text); box-shadow: 10px 10px 0 var(--pink); border-radius: 22px; }
.eyebrow, .sec-num { color: var(--pink); }
.sec-num { display: inline-block; justify-self: start; padding: 6px 10px; border: 1.5px solid var(--pink); border-radius: 8px; }
.btn { border-width: 2px; }
.btn:not(.ghost):hover { box-shadow: 4px 4px 0 var(--pink); transform: translate(-2px, -2px); }
.btn.ghost:hover { box-shadow: 4px 4px 0 var(--accent); transform: translate(-2px, -2px); border-color: var(--text); }
.card, .wide, .pager a, .proj-facts { border-width: 2px; }
a.card:hover, .wide:hover, .pager a:hover { border-color: var(--accent); transform: translate(-3px, -3px); }
.case-media { border: 2px solid var(--line-strong); transition: box-shadow .25s, transform .25s; }
.case:hover .case-media { box-shadow: 8px 8px 0 var(--accent); transform: translate(-4px, -4px); }
.case h3 a:hover { color: var(--accent); }
.go { color: var(--accent); }
.stats dt { color: var(--accent); }
.stats div:nth-child(2) dt { color: var(--pink); }
.timeline span, .text-link { color: var(--accent); }
.tag { background: transparent; border: 1px solid var(--line-strong); color: var(--text-2); }
.jam .btn:not(.ghost) { background: #0e0c1d; color: #c8ff3c; border-color: #0e0c1d; }
.jam .btn:hover { box-shadow: 4px 4px 0 #ff5cd6; }
.contact .btn.big { background: #0e0c1d; color: #fff; border-color: #0e0c1d; }
.contact .btn:hover { box-shadow: 4px 4px 0 #c8ff3c; }
.rec-list b { color: var(--text); }
.rec-list li > a:hover b { color: var(--accent); }
.mini:hover b { color: var(--accent); }
.yt .play { border-radius: 14px; }
.links a[aria-current] { color: var(--accent-ink); background: var(--accent); }
@media (max-width: 900px) { .hero-portrait img { box-shadow: 5px 5px 0 var(--pink); border-radius: 50%; } .links a[aria-current] { color: var(--accent); } }
