@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #141318;
  --art: #100f18;
  --text: #f3f0eb;
  --muted: #b5afb8;
  --accent: #f071a9;
  --line: #39353e;
  --gutter: clamp(20px, 4.6vw, 80px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Manrope, Arial, sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
::selection { color: var(--bg); background: var(--accent); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; }
em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
.wrap { width: min(100% - var(--gutter) * 2, 1320px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { font-size: 12px; line-height: 1.6; letter-spacing: .095em; text-transform: uppercase; }
.section-anchor { scroll-margin-top: 40px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10; inset: 10px auto auto 20px; padding: 12px 20px; background: var(--text); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 21px; font-weight: 600; letter-spacing: -.06em; white-space: nowrap; }
.wordmark span { color: var(--accent); }
.site-header nav { display: flex; gap: clamp(20px, 3vw, 44px); align-items: center; font-size: 13px; }
.site-header nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.site-header nav a:hover, .site-footer a:hover { color: var(--accent); }
.intro { padding-block: clamp(65px, 7.2vw, 108px) 100px; }
.intro > .eyebrow { color: var(--muted); display: flex; justify-content: space-between; gap: 24px; }
.intro-location { text-align: right; }
.intro-body { display: grid; grid-template-columns: 1.9fr 1fr; gap: 5%; align-items: end; margin-top: 36px; }
.intro h1 { font-size: clamp(56px, 8.2vw, 120px); line-height: 1.03; letter-spacing: -.07em; }
.intro h1 em { font-size: 1.08em; letter-spacing: -.035em; }
.intro-link { margin-top: 38px; }
.intro-note { max-width: 355px; padding-bottom: 8px; font-size: 15px; }
.intro-note p + p { margin-top: 22px; }
.text-link { display: inline-flex; align-items: center; gap: 18px; padding-block: 10px; font-size: 13px; line-height: 1.5; border-bottom: 1px solid var(--line); }
.text-link > span:last-child { color: var(--accent); }
.text-link:hover { border-color: var(--accent); }
.link-detail { color: var(--muted); font-size: 10px; letter-spacing: .07em; }
.section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; padding-top: 24px; border-top: 1px solid var(--line); }
.section-heading h2 { font-size: 13px; font-weight: 600; }
.section-heading > p { color: var(--muted); font-size: 12px; }
.project-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 100px 8%; margin-top: 48px; }
.project { display: block; min-width: 0; }
.project-art { position: relative; overflow: hidden; background: var(--art); display: flex; align-items: center; justify-content: center; }
.project-art img { transition: transform .5s ease; }
.project:hover .project-art img { transform: scale(1.025); }
.art-number { position: absolute; top: 20px; left: 22px; font-size: 11px; color: var(--text); background: var(--art); padding: 3px 6px; }
.macfox-art { aspect-ratio: 1.15; }
.macfox-art img { height: 100%; width: 100%; object-fit: contain; }
.project-town { margin-top: 145px; }
.town-art { aspect-ratio: 1.7; }
.town-art img { width: 100%; }
.project-asiwo { width: 87%; }
.asiwo-art { aspect-ratio: 1; }
.asiwo-art img { width: 100%; }
.project-prince { margin-top: 55px; }
.prince-art { aspect-ratio: 1.05; }
.prince-art img { height: 100%; width: 100%; object-fit: contain; }
.project-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-top: 22px; }
.project-caption h3 { font-size: 22px; letter-spacing: -.04em; }
.project-caption p { margin-top: 4px; font-size: 12px; color: var(--muted); }
.project-arrow { color: var(--accent); font-size: 25px; line-height: 1; transition: transform .2s ease; }
.project:hover .project-arrow { transform: translate(3px, -3px); }
.practice { padding-top: 150px; }
.practice-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; margin-top: 68px; }
.practice-layout h3 { font-size: clamp(42px, 5.3vw, 75px); line-height: 1.1; letter-spacing: -.055em; }
.practice-layout h3 em { font-size: 1.15em; letter-spacing: -.025em; }
.practice-copy { max-width: 570px; }
.practice-copy p + p { margin-top: 22px; }
.practice-copy > p:not(.large-copy) { color: var(--muted); font-size: 15px; }
.large-copy { font-size: clamp(20px, 2vw, 26px); line-height: 1.55; letter-spacing: -.025em; }
.practice-copy .text-link { margin-top: 24px; }
.about { padding-top: 150px; }
.about-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 13%; align-items: start; margin-top: 68px; }
.personal-work { width: min(100%, 355px); margin-left: 8%; }
.personal-work img { width: 100%; }
.personal-work figcaption { margin-top: 16px; font-size: 11px; color: var(--muted); }
.about-copy h3 { font-size: clamp(24px, 3vw, 38px); line-height: 1.35; letter-spacing: -.045em; margin-bottom: 28px; }
.about-copy > p { font-size: 15px; color: var(--muted); }
.about-copy > p + p { margin-top: 20px; }
.background-list { margin: 32px 0 20px; font-size: 12px; }
.background-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 22px; border-top: 1px solid var(--line); padding-block: 14px; }
.background-list dt { color: var(--muted); }
.background-list dd { margin: 0; }
.contact { margin-top: 145px; padding-block: 55px 85px; border-top: 1px solid var(--line); }
.contact > .eyebrow { color: var(--muted); }
.contact h2 { font-size: clamp(56px, 7.4vw, 102px); letter-spacing: -.06em; line-height: 1.06; margin-top: 35px; }
.contact h2 em { font-size: 1.08em; letter-spacing: -.03em; }
.contact-email { display: inline-flex; align-items: center; gap: 26px; margin-top: 42px; padding-bottom: 6px; font-size: clamp(16px, 2.1vw, 25px); letter-spacing: -.025em; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.contact-email span { color: var(--accent); }
.contact-email:hover { border-color: var(--accent); }
.contact-note { margin-top: 20px; font-size: 12px; color: var(--muted); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 25px; color: var(--muted); font-size: 11px; }
.site-footer > div { display: flex; align-items: center; gap: 30px; }
.site-footer a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }

/* Project pages share the same quiet, image-first reading structure. */
.case-main { padding-top: 40px; }
.case-back { display: inline-flex; gap: 16px; align-items: center; font-size: 12px; min-height: 44px; color: var(--muted); }
.case-back:hover { color: var(--accent); }
.case-heading { margin-top: 45px; }
.case-heading > .eyebrow { color: var(--accent); }
.case-heading h1 { font-size: clamp(48px, 7.5vw, 104px); letter-spacing: -.06em; line-height: 1.05; margin-top: 18px; }
.case-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12%; margin-top: 40px; padding-bottom: 65px; }
.case-lede { font-size: clamp(20px, 2.3vw, 28px); line-height: 1.55; letter-spacing: -.025em; max-width: 720px; }
.case-meta { margin: 0; font-size: 12px; }
.case-meta > div { border-top: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding-block: 12px; }
.case-meta dt { color: var(--muted); }
.case-meta dd { margin: 0; }
.case-art { background: var(--art); }
.case-art img { width: auto; max-width: 100%; margin-inline: auto; }
.case-art-link { display: block; }
.case-art-link:focus-visible { outline-offset: -6px; }
.case-cover { padding: 40px; }
.case-cover img { max-height: 650px; object-fit: contain; }
.case-cover-macfox { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: center; padding: 40px 6%; }
.case-cover-macfox .cover-details { display: grid; gap: 60px; }
.case-cover-macfox .cover-character { max-height: 620px; }
.case-cover-asiwo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; background: transparent; }
.case-cover-asiwo img { width: 100%; }
.case-cover-prince { display: grid; grid-template-columns: 1.15fr .85fr; gap: 7%; padding: 45px 7%; align-items: center; }
.case-cover-prince .prince-study { padding-top: 60px; }
.case-cover-prince img { max-height: 600px; }
.case-caption { margin-top: 16px; font-size: 11px; color: var(--muted); }
.case-section { padding-top: 80px; }
.case-section-heading { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12%; border-top: 1px solid var(--line); padding-top: 32px; margin-bottom: 40px; }
.case-section-heading h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.25; letter-spacing: -.045em; }
.case-section-heading p { color: var(--muted); font-size: 15px; max-width: 620px; }
.case-section-heading p + p { margin-top: 18px; }
.image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; align-items: start; }
.image-pair .case-art { min-height: 210px; padding: 25px; display: flex; align-items: center; justify-content: center; }
.image-pair .case-art img { max-height: 650px; object-fit: contain; }
.image-pair .case-caption { max-width: 550px; }
.case-art-wide { padding: 35px; }
.case-art-wide img { max-height: 720px; object-fit: contain; }
.case-contribution { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12%; border-top: 1px solid var(--line); margin-top: 80px; padding-top: 30px; font-size: 13px; }
.case-contribution h2 { font-size: 13px; font-weight: 600; }
.case-contribution p { color: var(--muted); }
.case-next { display: flex; align-items: baseline; justify-content: space-between; gap: 30px; margin-top: 100px; padding-block: 35px 55px; border-top: 1px solid var(--line); }
.case-next > span { color: var(--muted); font-size: 12px; }
.case-next a { font-size: clamp(26px, 4vw, 50px); line-height: 1.25; letter-spacing: -.04em; }
.case-next a > span { color: var(--accent); margin-left: 25px; }
.case-next a:hover { color: var(--accent); }

/* Full portfolio and the expanded, source-resolution artwork galleries. */
.work-index { padding-top: 48px; }
.work-index-heading { padding-block: 35px 40px; }
.work-index-heading h1 { font-size: clamp(58px, 7.5vw, 104px); line-height: 1.05; letter-spacing: -.06em; margin-top: 18px; }
.work-index-heading > p:last-child { max-width: 680px; margin-top: 28px; color: var(--muted); font-size: 17px; }
.work-jumps { display: flex; flex-wrap: wrap; gap: 16px 38px; padding-block: 20px; border-block: 1px solid var(--line); }
.work-jumps a { display: inline-flex; gap: 15px; align-items: baseline; min-height: 44px; font-size: 13px; }
.work-jumps a span { color: var(--muted); font-size: 10px; }
.work-jumps a:hover { color: var(--accent); }
.work-group { padding-top: 70px; scroll-margin-top: 28px; }
.work-group-heading { display: flex; justify-content: space-between; gap: 30px; align-items: baseline; margin-bottom: 30px; }
.work-group-heading h2 { font-size: 32px; letter-spacing: -.04em; }
.work-group-heading p { max-width: 400px; color: var(--muted); font-size: 12px; }
.work-index-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 6%; }
.work-index-grid .project-art { aspect-ratio: 1.65; }
.work-index-grid .project-art img { width: 100%; height: 100%; object-fit: contain; }
.work-index-grid .project-caption h3 { font-size: 21px; }
.work-group:last-of-type { padding-bottom: 80px; }
.more-games { padding-top: 65px; }
.more-games > .section-heading { margin-bottom: 30px; }
.more-games-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.more-games-grid .project-art { aspect-ratio: 1.6; }
.more-games-grid .project-art img { width: 100%; height: 100%; object-fit: contain; }
.more-games-grid h3 { font-size: 18px; }
.portfolio-link { margin-top: 38px; }
.art-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 38px 30px; }
.art-gallery.gallery-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.art-gallery .case-art { padding: 20px; display: flex; align-items: center; justify-content: center; min-height: 160px; }
.art-gallery .case-art img { width: auto; max-width: 100%; max-height: 640px; object-fit: contain; }
.art-gallery .gallery-wide { grid-column: 1 / -1; }
.gallery-note { margin-top: 30px; color: var(--muted); font-size: 11px; }
.case-section-links { display: flex; flex-wrap: wrap; gap: 12px 26px; border-top: 1px solid var(--line); padding-block: 14px; margin-bottom: 35px; }
.case-section-links a { display: inline-flex; align-items: center; min-height: 36px; font-size: 11px; color: var(--muted); }
.case-section-links a:hover { color: var(--accent); }
.case-cover + .case-caption { margin-bottom: 0; }
.practice.practice-compact { padding-top: 100px; }
.practice-compact .practice-layout { margin-top: 38px; }
.practice-compact .practice-layout h3 { font-size: clamp(35px, 4.4vw, 58px); }

@media (max-width: 900px) {
  .more-games-grid { gap: 20px; }
  .more-games-grid h3 { font-size: 16px; }
  .work-index-grid { gap: 36px 5%; }
}
@media (max-width: 700px) {
  .work-index { padding-top: 25px; }
  .work-index-heading { padding-block: 25px 30px; }
  .work-index-heading h1 { font-size: 58px; }
  .work-index-heading > p:last-child { font-size: 14px; margin-top: 22px; }
  .work-jumps { gap: 10px 26px; }
  .work-jumps a { font-size: 12px; gap: 10px; }
  .work-group { padding-top: 48px; }
  .work-group-heading { display: block; margin-bottom: 25px; }
  .work-group-heading h2 { font-size: 29px; }
  .work-group-heading p { margin-top: 12px; }
  .work-index-grid, .more-games-grid { grid-template-columns: 1fr; gap: 32px; }
  .work-index-grid .project-caption h3, .more-games-grid h3 { font-size: 21px; }
  .more-games { padding-top: 45px; }
  .art-gallery, .art-gallery.gallery-three { grid-template-columns: 1fr; gap: 28px; }
  .art-gallery .case-art { padding: 12px; min-height: 0; }
  .case-section-links { gap: 5px 22px; }
  .practice.practice-compact { padding-top: 75px; }
  .practice-compact .practice-layout h3 { font-size: 42px; }
}

@media (min-width: 1600px) {
  .intro h1 { font-size: 122px; }
}
@media (max-width: 1000px) {
  .intro-body { grid-template-columns: 1fr; gap: 34px; }
  .intro h1 { font-size: clamp(64px, 10.5vw, 100px); }
  .intro-note { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; max-width: none; }
  .intro-note p + p { margin-top: 0; }
  .intro { padding-bottom: 75px; }
  .project-grid { gap: 65px 6%; }
  .project-town { margin-top: 100px; }
  .practice, .about { padding-top: 100px; }
  .about-layout { gap: 9%; }
  .personal-work { margin-left: 0; }
  .background-list > div { grid-template-columns: 90px 1fr; gap: 12px; }
  .case-intro { gap: 7%; }
}
@media (max-width: 700px) {
  .site-header { padding-block: 18px; gap: 14px; }
  .wordmark { font-size: 18px; }
  .site-header nav { gap: 17px; font-size: 11px; }
  .site-header nav a { gap: 4px; }
  .intro { padding-top: 55px; padding-bottom: 65px; }
  .intro > .eyebrow { font-size: 10px; gap: 20px; }
  .intro-location { max-width: 86px; }
  .intro-body { margin-top: 28px; }
  .intro h1 { font-size: clamp(50px, 12vw, 82px); }
  .intro-link { margin-top: 27px; }
  .intro-note { display: block; max-width: 425px; font-size: 14px; }
  .intro-note p + p { margin-top: 18px; }
  .section-heading { gap: 20px; padding-top: 19px; }
  .section-heading > p { font-size: 10px; text-align: right; }
  .section-heading h2 { font-size: 12px; }
  .project-grid { grid-template-columns: 1fr; gap: 45px; margin-top: 30px; }
  .project-town, .project-prince { margin-top: 0; }
  .project-asiwo { width: 100%; }
  .macfox-art { aspect-ratio: 1.12; }
  .town-art { aspect-ratio: 1.6; }
  .prince-art { aspect-ratio: 1.12; }
  .project-caption { padding-top: 16px; }
  .project-caption h3 { font-size: 21px; }
  .project-caption p { font-size: 11px; }
  .practice-layout, .about-layout { grid-template-columns: 1fr; gap: 32px; margin-top: 35px; }
  .practice-layout h3 { font-size: 52px; }
  .practice-copy > p:not(.large-copy), .about-copy > p { font-size: 14px; }
  .practice-copy .text-link { font-size: 12px; }
  .personal-work { width: 57%; max-width: 250px; margin-bottom: 10px; }
  .about-copy h3 { font-size: 30px; }
  .background-list > div { grid-template-columns: 95px 1fr; gap: 16px; }
  .contact { margin-top: 90px; padding-block: 35px 55px; }
  .contact > .eyebrow { font-size: 10px; max-width: 290px; }
  .contact h2 { font-size: clamp(47px, 10.7vw, 72px); margin-top: 28px; }
  .contact-email { margin-top: 30px; gap: 12px; font-size: clamp(15px, 4.3vw, 21px); }
  .contact-note { font-size: 11px; }
  .site-footer { padding-block: 18px; font-size: 10px; }
  .site-footer > div { gap: 20px; }
  .case-main { padding-top: 22px; }
  .case-heading { margin-top: 30px; }
  .case-heading > .eyebrow { font-size: 10px; }
  .case-heading h1 { font-size: clamp(44px, 11.5vw, 76px); overflow-wrap: anywhere; }
  .case-intro { grid-template-columns: 1fr; gap: 28px; margin-top: 26px; padding-bottom: 35px; }
  .case-lede { font-size: 20px; }
  .case-meta { font-size: 11px; }
  .case-meta > div { grid-template-columns: 75px 1fr; gap: 15px; }
  .case-cover { padding: 16px; }
  .case-cover-macfox { grid-template-columns: 1fr 1.1fr; padding: 18px 12px; gap: 6%; }
  .case-cover-macfox .cover-details { gap: 25px; }
  .case-cover-asiwo { grid-template-columns: 1fr; gap: 20px; }
  .case-cover-prince { padding: 20px; gap: 15px; }
  .case-cover-prince .prince-study { padding-top: 25px; }
  .case-caption { font-size: 10px; margin-top: 12px; }
  .case-section { padding-top: 55px; }
  .case-section-heading { grid-template-columns: 1fr; gap: 20px; padding-top: 25px; margin-bottom: 28px; }
  .case-section-heading h2 { font-size: 28px; }
  .case-section-heading p { font-size: 14px; }
  .image-pair { grid-template-columns: 1fr; gap: 28px; }
  .image-pair .case-art { min-height: 0; padding: 18px; }
  .case-art-wide { padding: 16px; }
  .case-contribution { grid-template-columns: 1fr; gap: 18px; margin-top: 55px; font-size: 12px; }
  .case-next { margin-top: 60px; padding-block: 28px 40px; flex-wrap: wrap; gap: 18px; }
  .case-next a { font-size: 30px; }
  .case-next a > span { margin-left: 15px; }
}
@media (max-width: 380px) {
  .site-header { flex-wrap: wrap; gap: 5px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 12px; }
  .intro h1 { font-size: 46px; }
  .intro-location { max-width: 75px; }
  .contact h2 { font-size: 44px; }
  .site-footer { align-items: flex-start; }
  .site-footer > div { flex-direction: column; align-items: flex-end; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .project:hover .project-art img, .project:hover .project-arrow { transform: none; }
}
