:root {
  --paper: #f4f0e7;
  --ink: #111111;
  --orange: #ee5b24;
  --line: rgba(17, 17, 17, .22);
  --muted: #625e56;
  --max: 1240px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
button, a { font: inherit; }
a { color: inherit; }
button { color: inherit; }
::selection { background: var(--orange); color: #fff; }

.paper-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .075;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 500;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 300;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  padding: 0 clamp(20px, 4vw, 58px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 38px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 231, .93);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.08em;
  text-decoration: none;
}
.brand i {
  width: 10px;
  height: 28px;
  background: var(--orange);
  transform: skew(-18deg);
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
}
.site-nav a {
  position: relative;
  padding: 25px 0 22px;
  color: #3c3933;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .22s ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.site-nav a.active { color: var(--ink); }

.header-cta {
  padding: 12px 16px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.header-cta:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.header-cta span { color: var(--orange); }

.menu-toggle { display: none; }

.hero {
  min-height: calc(100vh - var(--header-h));
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 110px) clamp(20px, 4vw, 58px) clamp(70px, 9vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .72fr);
  gap: clamp(45px, 7vw, 100px);
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 42px; height: 3px; background: var(--orange); }

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(78px, 13vw, 176px);
  line-height: .78;
  letter-spacing: -.085em;
  font-weight: 950;
}
.hero-intro {
  max-width: 620px;
  margin: 0 0 34px;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.22;
  letter-spacing: -.025em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 190px;
  gap: 20px;
  padding: 15px 17px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.button-primary:hover { background: var(--ink); border-color: var(--ink); }
.button-secondary:hover { background: var(--ink); color: #fff; }

.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-services li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-art { position: relative; width: min(100%, 460px); justify-self: end; }
.art-label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}
.art-frame {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 14px 14px 0 var(--orange);
  transform: rotate(1deg);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}
.hero-art:hover .art-frame { transform: rotate(-1deg) translateY(-5px); box-shadow: 19px 19px 0 var(--orange); }
.art-frame svg { display: block; width: 100%; height: auto; }
.art-stamp {
  position: absolute;
  right: 15px;
  bottom: 11px;
  font-size: clamp(62px, 8vw, 102px);
  font-weight: 900;
  color: rgba(244, 240, 231, .92);
  line-height: 1;
}
.art-line {
  position: absolute;
  top: -25%;
  left: 53%;
  width: 3px;
  height: 150%;
  background: var(--orange);
  transform: rotate(34deg);
  opacity: .75;
}

.section {
  padding: clamp(78px, 10vw, 135px) clamp(20px, 4vw, 58px);
  border-top: 1px solid var(--line);
}
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(280px, .55fr);
  justify-content: space-between;
  gap: 50px;
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 72px);
}
.section-heading h2,
.about-title h2,
.contact h2 {
  margin: 0;
  font-size: clamp(58px, 8.2vw, 112px);
  line-height: .85;
  letter-spacing: -.065em;
  text-transform: uppercase;
}
.section-heading > p {
  max-width: 510px;
  margin: 0 0 4px auto;
  color: var(--muted);
  font-size: 17px;
}

.releases { background: #ece7dc; }
.release-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.release-card {
  position: relative;
  min-height: 255px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 142px 1fr;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--ink);
  background: var(--paper);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.release-card:hover,
.release-card:focus-visible { transform: translateY(-5px); box-shadow: 8px 8px 0 var(--ink); }
.release-art {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background: var(--ink);
}
.release-art::before {
  content: "";
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  left: -10%;
  top: 15%;
  border-radius: var(--shape);
  background: var(--accent);
  transition: border-radius .45s ease, transform .45s ease;
}
.release-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 16px, rgba(244,240,231,.12) 16px 17px);
}
.release-card:hover .release-art::before { transform: scale(1.14) rotate(9deg); border-radius: 50%; }
.release-art span {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}
.release-content { display: flex; flex-direction: column; min-width: 0; }
.release-meta {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.release-content h3 {
  margin: 0 0 10px;
  font-size: clamp(27px, 3vw, 43px);
  line-height: .93;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.release-role { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.release-listen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.release-listen span:last-child { color: var(--orange); font-size: 20px; }

.sound-lab { margin-top: 24px; border: 1px solid var(--ink); background: var(--paper); }
.sound-lab-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.sound-lab-toggle small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.sound-lab-toggle strong { font-size: clamp(20px, 2.5vw, 31px); letter-spacing: -.03em; }
.sound-lab-toggle i {
  font-style: normal;
  color: var(--orange);
  font-size: 34px;
  line-height: 1;
  transition: transform .2s ease;
}
.sound-lab-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
.sound-lab-panel { padding: 0 24px 24px; }
.lab-intro {
  display: grid;
  grid-template-columns: 1fr minmax(240px, .65fr);
  align-items: end;
  gap: 30px;
  padding: 30px 0 24px;
  border-top: 1px solid var(--line);
}
.lab-intro h3 { margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: .9; letter-spacing: -.05em; text-transform: uppercase; }
.lab-intro > p { margin: 0; color: var(--muted); }

.beat-machine { border: 1px solid var(--ink); background: #171717; color: #fff; }
.machine-toolbar,
.machine-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
}
.machine-toolbar { justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.18); }
.machine-status { font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.machine-status span { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 14px var(--orange); }
.tempo-control { display: flex; align-items: center; border: 1px solid rgba(255,255,255,.25); }
.tempo-control button,
.tempo-control output { min-width: 38px; height: 35px; display: grid; place-items: center; border: 0; background: transparent; color: #fff; }
.tempo-control button { cursor: pointer; font-size: 20px; }
.tempo-control button:hover { background: rgba(255,255,255,.1); }
.tempo-control output { min-width: 86px; border-left: 1px solid rgba(255,255,255,.2); border-right: 1px solid rgba(255,255,255,.2); font-size: 11px; font-weight: 900; }
.sequencer-wrap { overflow-x: auto; padding: 18px 14px; }
.sequencer { min-width: 700px; display: grid; gap: 10px; }
.track-row { display: grid; grid-template-columns: 75px repeat(8, 1fr); gap: 7px; align-items: center; }
.track-label { font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.step {
  aspect-ratio: 1.45;
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.23);
  background: rgba(255,255,255,.055);
  cursor: pointer;
  transition: background .12s ease, transform .12s ease, border-color .12s ease;
}
.step:hover { border-color: rgba(255,255,255,.6); }
.step.active { background: var(--orange); border-color: var(--orange); }
.step.playing { transform: translateY(-4px); box-shadow: 0 4px 0 #fff; }
.machine-controls { flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.18); }
.machine-controls button {
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.machine-controls button:hover { border-color: #fff; }
.transport-button { background: var(--orange) !important; border-color: var(--orange) !important; }
.step-readout { margin-left: auto; font-size: 11px; font-weight: 900; letter-spacing: .1em; }

.services { background: var(--paper); }
.service-list { border-top: 1px solid var(--ink); }
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(180px, .6fr) minmax(280px, 1fr) 70px;
  gap: 24px;
  align-items: center;
  min-height: 155px;
  padding: 25px 0;
  border-bottom: 1px solid var(--ink);
  transition: padding .24s ease, background .24s ease;
}
.service-row:hover { padding-left: 18px; padding-right: 18px; background: #ece7dc; }
.service-number { color: var(--orange); font-size: 12px; font-weight: 900; }
.service-row h3 { margin: 0; font-size: clamp(30px, 4.3vw, 60px); line-height: .9; letter-spacing: -.045em; text-transform: uppercase; }
.service-row p { max-width: 600px; margin: 0; color: var(--muted); font-size: 16px; }
.service-mark { justify-self: end; font-size: 48px; font-weight: 900; opacity: .2; transition: opacity .2s ease, transform .2s ease; }
.service-row:hover .service-mark { opacity: 1; transform: rotate(-8deg); }

.about { background: var(--ink); color: #fff; }
.about-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(45px, 8vw, 120px); }
.about-title .section-kicker { color: var(--orange); }
.about-content { padding-top: 29px; }
.about-lead { margin: 0 0 28px; font-size: clamp(29px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -.04em; }
.about-content > p:not(.about-lead) { max-width: 670px; margin: 0 0 45px; color: rgba(255,255,255,.68); font-size: 18px; }
.about-content dl { margin: 0; border-top: 1px solid rgba(255,255,255,.25); }
.about-content dl div { display: grid; grid-template-columns: 140px 1fr; gap: 25px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.about-content dt { color: rgba(255,255,255,.5); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.about-content dd { margin: 0; font-size: 14px; font-weight: 800; }

.contact {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  display: grid;
  align-items: center;
  background: var(--orange);
  color: #fff;
}
.contact-inner { position: relative; z-index: 2; }
.contact h2 { margin-bottom: 30px; font-size: clamp(84px, 14vw, 188px); }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 7px;
  border-bottom: 3px solid #fff;
  font-size: clamp(24px, 4.5vw, 62px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.04em;
  text-decoration: none;
}
.contact-email span { transition: transform .2s ease; }
.contact-email:hover span { transform: translate(7px, -7px); }
.contact-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 50px; }
.contact-links a { font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.contact-art { position: absolute; inset: 0; pointer-events: none; }
.contact-art span { position: absolute; width: 500px; height: 500px; right: -120px; top: -90px; border: 2px solid rgba(255,255,255,.48); border-radius: 50%; }
.contact-art i { position: absolute; width: 420px; height: 30px; right: -40px; bottom: 90px; background: var(--ink); transform: rotate(-23deg); }
.contact-art b { position: absolute; right: 6vw; bottom: -35px; color: rgba(255,255,255,.18); font-size: 240px; line-height: 1; }

footer {
  min-height: 94px;
  padding: 20px clamp(20px, 4vw, 58px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  background: var(--ink);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.2);
}
footer p, footer > a:last-child { font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
footer p { margin: 0; }
footer > a:last-child { justify-self: end; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .site-header { grid-template-columns: auto 1fr auto; gap: 20px; }
  .header-cta { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(290px, .7fr); gap: 42px; }
  .hero h1 { font-size: clamp(72px, 14vw, 128px); }
  .release-card { grid-template-columns: 120px 1fr; }
  .service-row { grid-template-columns: 55px minmax(170px, .65fr) 1fr 55px; }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 0 8px 12px;
    border: 0;
    background: transparent;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .menu-icon { width: 24px; display: grid; gap: 6px; }
  .menu-icon i { display: block; height: 2px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    padding: 12px 20px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
  }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-nav a::after { display: none; }
  body.menu-open { overflow: hidden; }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 65px;
  }
  .hero-copy { order: 1; }
  .hero-art { order: 2; width: min(88vw, 430px); justify-self: center; margin-top: 12px; }
  .hero h1 { font-size: clamp(82px, 24vw, 144px); }
  .hero-intro { font-size: 22px; }

  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > p { margin: 0; }
  .release-grid { grid-template-columns: 1fr; }
  .release-card { min-height: 235px; }
  .lab-intro { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 45px 1fr 48px; gap: 16px; }
  .service-row h3 { grid-column: 2; }
  .service-row p { grid-column: 2 / 4; }
  .service-number { grid-row: 1; }
  .service-mark { grid-column: 3; grid-row: 1; }
  .about-panel { grid-template-columns: 1fr; gap: 25px; }
  .about-content { padding-top: 0; }
  .contact { min-height: 520px; }
  .contact h2 { font-size: clamp(82px, 23vw, 150px); }
  .contact-art span { width: 360px; height: 360px; }
  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
}

@media (max-width: 520px) {
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .release-card { grid-template-columns: 96px 1fr; gap: 17px; padding: 16px; }
  .release-art { min-height: 190px; }
  .release-content h3 { font-size: 28px; }
  .sound-lab-panel { padding: 0 15px 15px; }
  .sound-lab-toggle { padding: 18px 15px; }
  .machine-toolbar { align-items: flex-start; flex-direction: column; }
  .machine-controls { align-items: stretch; }
  .machine-controls button { flex: 1; }
  .step-readout { width: 100%; margin: 4px 0 0; }
  .service-row { padding: 23px 0; }
  .service-row:hover { padding-left: 8px; padding-right: 8px; }
  .about-content dl div { grid-template-columns: 105px 1fr; }
  .contact-email { font-size: clamp(23px, 7.8vw, 38px); }
}

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