@font-face {
  font-family: Barlow Condensed;
  src: url("assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Barlow Condensed;
  src: url("assets/fonts/barlow-condensed-latin-ext-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-02FF, U+1E00-1EFF;
}
@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02FF, U+1E00-1EFF;
}
:root {
  color-scheme: light;
  --paper: #f6f3eb;
  --ink: #20201d;
  --muted: #55534e;
  --line: #c9c2b6;
  --accent: #ad3513;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --gutter: clamp(18px, 5vw, 78px);
  --space: clamp(66px, 9vw, 140px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-color: #8e8476 var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 15px/1.65 Inter, sans-serif; }
::selection { background: var(--accent); color: white; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
section[id], footer[id] { scroll-margin-top: 24px; }
.wrap { max-width: 1536px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; top: 12px; left: 12px; z-index: 4; transform: translateY(-150%); padding: 10px 16px; background: var(--ink); color: white; }
.skip:focus { transform: none; }

.masthead { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.brand, .masthead nav, .contact-nav { display: flex; align-items: center; }
.brand { gap: 11px; font-size: 14px; font-weight: 750; white-space: nowrap; }
.brand-mark { display: block; width: 19px; aspect-ratio: 1; border: 1px solid var(--accent); border-radius: 50%; position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--accent); }
.masthead nav { gap: clamp(13px, 3.1vw, 48px); font-size: 13px; font-weight: 600; }
.masthead nav a { display: flex; align-items: center; min-height: 44px; }
.masthead nav a:hover, .text-link:hover, .project:hover h3, .footer-links a:hover { color: var(--accent); }
.contact-nav { gap: 9px; }
.arrow, .down-arrow { display: inline-block; width: 12px; height: 12px; position: relative; flex: none; }
.arrow::before { content: ""; position: absolute; inset: 0; border-top: 1px solid currentColor; border-right: 1px solid currentColor; }
.arrow::after { content: ""; position: absolute; left: -2px; top: 5px; width: 16px; height: 1px; background: currentColor; transform: rotate(-45deg); }
.down-arrow { border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-2px) rotate(45deg); width: 8px; height: 8px; }

.hero { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(22px, 5vw, 80px); padding-block: clamp(48px, 6vw, 94px) clamp(62px, 8vw, 120px); }
.hero-copy { min-width: 0; }
h1 { font: 700 clamp(60px, 10vw, 154px)/.81 var(--display); letter-spacing: -.025em; }
.name-line { display: block; }
.name-dot, .section-head h2 span, .footer-main h2 span { color: var(--accent); }
.intro { max-width: 25ch; margin-top: clamp(24px, 3.4vw, 43px); font-size: clamp(17px, 1.55vw, 23px); line-height: 1.38; font-weight: 450; }
.hero-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 25px; padding: 11px 15px; min-height: 44px; border: 1px solid var(--ink); font-weight: 650; font-size: 13px; transition: background-color .2s, color .2s; }
.hero-link:hover { background: var(--ink); color: var(--paper); }
.cover-art { position: relative; overflow: hidden; isolation: isolate; background: #e1d5c3; aspect-ratio: 1.37; }
.cover-art img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.cover figcaption { display: flex; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 9px; color: var(--muted); font-size: clamp(10px, 1vw, 12px); font-weight: 650; }

h2 { font: 700 clamp(44px, 6.15vw, 94px)/.92 var(--display); letter-spacing: -.015em; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; padding: 17px 0 25px; border-top: 1px solid var(--ink); }
.section-head > a { margin-bottom: 4px; flex: none; }
.text-link { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; font-weight: 600; }
.text-link:hover { text-decoration-color: currentColor; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 4vw, 56px) clamp(18px, 2.8vw, 42px); }
.project { position: relative; min-width: 0; display: block; border-bottom: 1px solid var(--line); }
.project-link::after { content: ""; position: absolute; inset: 0; }
.project .rich-copy a { position: relative; z-index: 1; }
.rich-copy a, .about-copy a, .artist-credits dd a { text-decoration: underline; text-underline-offset: 3px; }
.rich-copy > * + *, .about-copy > * + * { margin-top: .7em; }
.rich-copy pre, .about-copy pre { overflow: auto; }
.rich-copy, .about-copy { min-width: 0; overflow-wrap: anywhere; }
.rich-copy table, .about-copy table { display: block; overflow-x: auto; }
.project.lead { grid-column: 1/-1; }
.art { overflow: hidden; aspect-ratio: 1.62; background: #d8d0c1; }
.lead .art { aspect-ratio: 2.65; }
.art img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.project:hover img { transform: scale(1.035); }
.contain img { object-fit: contain; }
.amber { background: #201818; }
.rum { background: #24222a; }
.music { background: #221c23; }
.info { display: grid; grid-template-columns: minmax(0, 1fr) 26px; align-items: center; gap: 4px 16px; min-height: 128px; padding: 15px 0 19px; }
.info .arrow { grid-column: 2; grid-row: 1/4; justify-self: center; transition: transform .25s; }
.project:hover .arrow { transform: translate(3px,-3px); color: var(--accent); }
.category { color: var(--accent); font-size: 12px; font-weight: 700; }
h3 { font: 700 clamp(29px, 3.45vw, 48px)/1 var(--display); }
.info p, .studio-intro { color: var(--muted); }
.lead .info { grid-template-columns: minmax(0, 1fr) 26px; }

.music-projects, .about, footer { margin-top: var(--space); }
.music-projects .section-head { padding-bottom: 20px; }
.music-projects > ul { list-style: none; margin: 0; padding: 0; }
.music-projects > ul > li { display: grid; grid-template-columns: minmax(160px, .7fr) 1.3fr minmax(130px, .62fr); align-items: baseline; gap: 7px 26px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.music-projects > ul > li > .rich-copy { color: var(--muted); }
.music-projects > ul > li > a { justify-self: start; font-size: 13px; }
.music-projects > ul > li > a + a { grid-column: 3; }
.game-studios > ul > li { grid-template-columns: minmax(160px, .7fr) 2fr; }
.about { display: grid; grid-template-columns: .72fr 1.28fr; gap: 26px clamp(22px, 5vw, 72px); padding-top: 20px; border-top: 1px solid var(--ink); }
.about p { max-width: 68ch; font-size: clamp(15px, 1.38vw, 19px); }
.about p + p { margin-top: 15px; }
.artist-credits, .studio-more { border-top: 1px solid var(--line); }
.about-copy + .artist-credits, .studio-more { margin-top: 24px; }
.artist-credits + .artist-credits { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; padding: 12px 0; font-weight: 700; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); margin-left: 12px; font-size: 20px; }
details[open] > summary::after { content: "−"; }
.artist-credits dl { display: grid; grid-template-columns: minmax(130px,.65fr) 1.35fr; gap: 10px 16px; margin: 0 0 18px; font-size: 14px; }
.artist-credits dt { font-weight: 650; }
.artist-credits dd { margin: 0; color: var(--muted); }
.links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 20px; }
.music-projects .studio-logos { display: grid; grid-template-columns: repeat(9,minmax(0,1fr)); gap: clamp(13px,2vw,29px); padding-block: 20px; margin-top: 19px; border-block: 1px solid var(--line); }
.music-projects .studio-logos li { display: grid; place-items: center; padding: 0; border: 0; }
.studio-logos img { width: 100%; height: 45px; object-fit: contain; }
.studio-logos .masomo { filter: brightness(0) opacity(.86); }
.music-projects .studio-directory { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(150px,100%),1fr)); gap: 5px 16px; padding: 0 0 14px; }
.music-projects .studio-directory li { display: block; padding: 0; border: 0; color: var(--muted); font-size: 13px; }
.studio-link { display: inline-block; margin-top: 12px; }

footer { border-top: 1px solid var(--ink); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: clamp(26px, 5vw, 65px); }
.footer-main h2 { font-size: clamp(66px, 12vw, 155px); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 25px; }
.footer-links a { min-height: 44px; display: flex; align-items: center; gap: 12px; font-weight: 700; }
.footer-base { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 1px solid var(--line); padding: 13px 0 23px; color: var(--muted); font-size: 13px; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

@media (max-width: 900px) {
  .music-projects .studio-logos { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
@media (max-width: 740px) {
  .masthead { min-height: 64px; }
  .hero { grid-template-columns: 1fr; gap: 29px; padding-top: 42px; }
  h1 { font-size: clamp(62px, 18vw, 124px); }
  .intro { margin-top: 22px; font-size: 18px; }
  .hero-link { margin-top: 17px; }
  .cover-art { aspect-ratio: 1.55; }
  .about { grid-template-columns: 1fr; }
  .about br { display: none; }
  .about br::after { content: " "; }
  .music-projects > ul > li { grid-template-columns: 1fr; gap: 6px; }
  .music-projects > ul > li > a + a { grid-column: 1; }
  .music-projects .studio-logos { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .lead .art { aspect-ratio: 1.69; }
}
@media (max-width: 480px) {
  .masthead nav { gap: 11px; font-size: 11px; }
  .brand { font-size: 11px; gap: 5px; letter-spacing: -.02em; }
  .brand-mark { width: 15px; }
  .brand-mark::after { inset: 4px; }
  .contact-nav .arrow { display: none; }
  .section-head { align-items: start; flex-direction: column; }
  .section-head > a { font-size: 12px; }
  .grid { grid-template-columns: 1fr; }
  .info { min-height: 0; }
  .artist-credits dl { grid-template-columns: 1fr; gap: 4px; }
  .artist-credits dd + dt { margin-top: 9px; }
  .footer-main { align-items: start; flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.video-project .project-link::after { content: none; }
.video-project .video-art { position: relative; aspect-ratio: 16/9; background: var(--ink); }
.video-art iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-launch {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  background: rgb(0 0 0 / 28%);
  font-weight: 700;
}
.video-launch::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 120px;
  height: 48px;
  background: var(--ink);
  border: 1px solid white;
  z-index: -1;
}
.video-launch { isolation: isolate; }
.video-launch:hover::before { background: var(--accent); }
.video-launch:focus-visible { outline-offset: -4px; outline-color: white; }
.video-fallback { display: inline-block; margin-top: .6rem; }
