@font-face {
  font-family: Inter;
  src: url('./fonts/inter.woff2') format('woff2');
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: Syne;
  src: url('./fonts/syne.woff2') format('woff2');
  font-weight: 600 800;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('./fonts/cormorant-garamond.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('./fonts/cormorant-garamond-italic.woff2') format('woff2');
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Sans';
  src: url('./fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root[data-theme='studio'] {
  --record-black: #f5f5e9;
  --record-panel: #fcfcf3;
  --record-ivory: #223b28;
  --record-muted: #455640;
  --record-bronze: #365937;
  --record-line: #cdd4bb;
  --record-paper: #e8edd9;
  --record-ink: #223b28;
  --record-copper: #365937;
  --record-forest: #2c4833;
  --record-on-dark: #fffff4;
  --record-tint: #dce7ca;
  --record-control-line: #879a7e;
  --record-shadow: #253e2c35;
  --record-gutter: clamp(16px, 4.5vw, 72px);
  --record-header-height: 72px;
  --record-serif: 'Cormorant Garamond', Georgia, serif;
  --record-sans: 'Instrument Sans', Inter, sans-serif;
  --studio-ink: var(--record-black);
  --studio-paper: var(--record-ivory);
  --studio-panel: var(--record-panel);
  --studio-accent: var(--record-bronze);
  --studio-muted: var(--record-muted);
  --studio-line: var(--record-line);
  color-scheme: light;
  background: var(--record-black);
  scroll-padding-top: var(--record-header-height);
}

body, #root > div { color: var(--record-ivory); background: var(--record-black); }
#root { font-family: var(--record-sans); font-optical-sizing: auto; }
#root :is(h1, h2, h3, h4) { text-wrap: balance; }
#root p { text-wrap: pretty; }
::selection { background: var(--record-bronze); color: var(--record-black); }
#root [hidden] { display: none !important; }
#root :is(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid var(--record-bronze);
  outline-offset: 3px;
}

#root .record-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0;
  background: var(--record-panel);
  border-bottom: 1px solid var(--record-line);
  box-shadow: none;
}

#root .record-header::before { display: none; }
#root .record-header > .record-header-inner {
  min-height: var(--record-header-height);
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: var(--record-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.record-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 44px;
  font: 800 clamp(12px, 1.24vw, 17px)/1 Syne, Inter, sans-serif;
  letter-spacing: .065em;
}

.record-mark {
  display: grid;
  place-items: center;
  color: var(--record-bronze);
  border: 1px solid var(--record-line);
  border-radius: 50%;
  width: 34px;
  height: 34px;
}

#root .record-header .record-nav { display: flex; align-items: center; gap: clamp(14px, 1.55vw, 24px); }
#root .record-header .record-nav a {
  color: var(--record-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
  display: grid;
  align-items: center;
  min-height: 44px;
}

#root .record-header nav a::after { display: none; }
#root .record-header nav a:is(:hover, [aria-current='location']) { color: var(--record-bronze); }

.record-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--record-forest);
  color: var(--record-on-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: background-color .18s, color .18s, border-color .18s;
}

.record-button svg { flex: 0 0 auto; }
.record-button:hover { background: var(--record-bronze); }
.record-button-secondary { border-color: var(--record-line); background: transparent; color: var(--record-ivory); }
.record-button-secondary:hover { background: var(--record-panel); border-color: var(--record-bronze); }
#root #home .record-button-secondary { background: #fcfcf3b8; border-color: var(--record-control-line); }
#root #home .record-button-secondary:hover { background: var(--record-panel); border-color: var(--record-bronze); }
.record-header-quote { flex: 0 0 auto; min-height: 44px; }
.record-menu-toggle, #root #record-mobile-menu { display: none; }

#root #home {
  min-height: auto;
  padding: clamp(48px, 6vw, 108px) var(--record-gutter) 0;
  background:
    radial-gradient(ellipse at 4% 0%, #fafbf0 0%, #f0f3d9ad 32%, transparent 62%),
    radial-gradient(ellipse at 98% 110%, #294a32 0%, #47643dba 24%, transparent 56%),
    linear-gradient(143deg, #f0f2d9 9%, #d9e4b9 49%, #a5b568 81%, #78904e);
}

#root #home::before, #root #home::after { display: none; }
.record-hero-wrap { max-width: 1360px; margin-inline: auto; }
.record-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, .83fr);
  align-items: center;
  gap: clamp(32px, 7vw, 112px);
}

.record-kicker {
  margin-bottom: 24px;
  color: var(--record-bronze);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .15em;
  text-transform: uppercase;
}

#root #home h1 {
  margin: 0 0 24px;
  color: var(--record-ivory);
  font: 500 clamp(64px, 7.7vw, 118px)/.98 var(--record-serif);
  letter-spacing: -.045em;
  white-space: normal;
}

#root #home h1 em { display: block; color: var(--record-bronze); font-weight: 500; }
.record-intro { max-width: 43ch; color: var(--record-muted); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.75; letter-spacing: -.01em; }
.record-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.record-profiles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.record-profiles a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--record-line);
  border-radius: 50%;
  color: var(--record-muted);
}

.record-profiles a:hover { border-color: var(--record-bronze); color: var(--record-ivory); }
.record-portrait {
  margin: 0;
  position: relative;
  isolation: isolate;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  border: 1px solid var(--record-line);
  border-radius: 8px;
  background: var(--record-panel);
}

.record-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 41%;
}

.record-portrait figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 4px 12px;
  padding: 42px 20px 18px;
  color: var(--record-on-dark);
  background: linear-gradient(transparent, #192e21f5);
}

.record-portrait figcaption span { font: 800 12px Syne, Inter, sans-serif; letter-spacing: .08em; }
.record-portrait figcaption small { color: #e1ead3; font-size: 12px; }
.record-credits {
  margin-top: clamp(30px, 5vw, 70px);
  padding: 20px 0 22px;
  display: flex;
  align-items: baseline;
  gap: 14px 35px;
  border-top: 1px solid var(--record-line);
}

.record-credits a { flex: 0 0 auto; color: var(--record-bronze); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.record-credits ul { display: flex; flex-wrap: wrap; gap: 6px 25px; }
.record-credits li { color: var(--record-muted); font-size: 13px; }

#root section[id]:not(#home) { padding-block: clamp(55px, 7vw, 108px); scroll-margin-top: 0; }
#root :is(#audio, #process, #contact) { padding-inline: var(--record-gutter); }
#root :is(#about, #services, #credits, #achievements, #shop, #process, #contact) { background: var(--record-black); }
#root :is(#credits, #process) { background: var(--record-paper); }
#root section h2, #root #shop h2, #root .mbz-section-head h2 {
  color: var(--record-ivory);
  font: 500 clamp(46px, 5.7vw, 82px)/1.04 var(--record-serif);
  letter-spacing: -.035em;
  text-transform: none;
  overflow-wrap: normal;
}

#root section h2 :is(em, span), #root section h2 .gold-gradient-text {
  color: var(--record-bronze);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-style: italic;
}

#root :is(#about, #services, #credits, #achievements, footer) [class*='text-gold-'] { color: var(--record-bronze); }
#root :is(#about, #services, #credits, #achievements, footer) :is([class*='text-zinc-300'],[class*='text-zinc-400'],[class*='text-zinc-500']) { color: var(--record-muted); }
#root :is(#about, #services) [class*='bg-zinc-'] { background-color: var(--record-panel); }
#root :is(#services article, #about .glass-panel, #credits .studio-tile, #achievements .studio-tile) {
  background: var(--record-panel);
  border: 1px solid var(--record-line);
  border-radius: 10px;
  box-shadow: none;
}

#root #services article:last-child { background: #f0f4e1; border-color: var(--record-line); }
#root #services article a { min-height: 48px; border-radius: 6px; white-space: normal; }
#root #services article:last-child a { background: var(--record-bronze); color: var(--record-black); }
#root #credits .grid > div > span:last-child { color: var(--record-muted); }
#root footer { background: var(--record-paper); padding-block: 56px 28px; }

/* The listening room uses paper tones to make the controls stand out. */
#root #audio {
  --studio-accent: var(--record-copper);
  --studio-muted: var(--record-muted);
  background: var(--record-paper);
  color: var(--record-ink);
}

#root xzeus-audio, #root #audio h2 { color: var(--record-ink); }
#root #audio h2 span, #root #audio .xa-eyebrow { color: var(--record-copper); }
#root #audio :is(.xa-heading > p:last-child, .xa-status, .xa-note, .xa-demo small, .xa-number) { color: var(--record-muted); }
.xa-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.38fr); gap: 22px; }
.xa-demo { min-height: 64px; gap: 14px; padding: 15px 16px; border-radius: 8px; border-color: var(--record-line); background: var(--record-panel); }
.xa-demo small { margin-bottom: 5px; letter-spacing: .1em; }
.xa-demo strong { font-size: 15px; line-height: 1.4; }
.xa-demo[aria-pressed='true'] { background: var(--record-tint); border-color: var(--record-control-line); }
.xa-demo > span:last-child { color: var(--record-copper); }
.xa-player { background: var(--record-panel); border: 1px solid var(--record-line); box-shadow: none; border-radius: 10px; }
.xa-title { margin: 16px 0; }
.xa-switch button { min-width: 0; min-height: 44px; padding: 8px; font-size: 12px; color: var(--record-ink); border-color: var(--record-control-line); }
.xa-switch button[aria-pressed='true'] { background: var(--record-forest); color: var(--record-on-dark); border-color: var(--record-forest); }
.xa-bars { height: 56px; gap: 3px; margin: 14px 0; }
.xa-bars i { min-width: 0; flex: 1 1 5px; max-width: 6px; background: linear-gradient(#829958, #365937); }
.xa-player audio { display: block; min-width: 0; color-scheme: light; }
#root #audio :is(a, button):focus-visible { outline-color: var(--record-copper); }

xzeus-store { --xs-gold: var(--record-bronze); --xs-white: var(--record-ivory); --xs-muted: var(--record-muted); }
.xs-feature { background: radial-gradient(ellipse at 80% 45%, #64492e75, transparent 70%), #201912; border-color: var(--record-line); }
.xs-feature-copy p, .xs-facts span, .xs-card p, .xs-questions p { color: var(--record-muted); }
.xs-pack-back { background: linear-gradient(145deg, #5a4b37, #292119); }
.xs-pack-front { background: linear-gradient(140deg, #ead6b9, #ad8055); color: var(--record-ink); }
.xs-wave i { background: var(--record-ink); }
.xs-card, .xs-shortlist, .xs-toolbar [role='group'], .xs-dialog { background: var(--record-panel); border-color: var(--record-line); }
.xs-toolbar button { color: var(--record-muted); }
.xs-toolbar button[aria-pressed='true'], .xs-shortlist [data-count] { background: var(--record-bronze); color: var(--record-black); }
.xs-primary { min-height: 44px; background: var(--record-bronze); border-color: transparent; color: var(--record-black) !important; }
.xs-save { flex: 0 0 44px; width: 44px; min-height: 44px; }
.xs-cover-drums { background: radial-gradient(ellipse at 85% 15%, #88623d, #261d15 76%); }
.xs-cover-melodies { background: radial-gradient(ellipse at 85% 15%, #686852, #25261f 76%); }
.xs-cover-projects { background: radial-gradient(ellipse at 85% 15%, #6b5d54, #2a231d 76%); }
.xs-cover-presets { background: radial-gradient(ellipse at 85% 15%, #754e41, #2d1e19 76%); }
.xs-bespoke { background: #251d16; border-color: var(--record-line); }
.xs-dialog { overscroll-behavior: contain; }
.xs-close { width: 44px; height: 44px; }
.xs-field :is(select, textarea), .xs-draft { background: #141210; border-color: var(--record-line); }

.mbz-steps article, .mbz-form { background: var(--record-panel); border-color: var(--record-line); border-radius: 10px; }
.mbz-steps :is(p, article > span), .mbz-faq p, .mbz-note, .mbz-contact-aside > a small, .mbz-location p { color: var(--record-muted); }
.mbz-form label { min-width: 0; }
.mbz-form :is(input, select, textarea) { background: var(--record-panel); color: var(--record-ivory); border-color: var(--record-control-line); min-height: 46px; }
.mbz-form :is(input, textarea)::placeholder { color: var(--record-muted); }
.mbz-primary { min-height: 48px; background: var(--record-forest); color: var(--record-on-dark); }
:is(.mbz-kicker, .mbz-contact-aside > a span, .mbz-location > span, .mbz-draft-actions > button) { color: var(--record-bronze); }
:is(.mbz-form label, .mbz-contact-aside > a) { color: var(--record-ivory); }
:is(.mbz-form label small, .mbz-section-head > p:last-child) { color: var(--record-muted); }
:is(.mbz-contact-aside > a, .mbz-draft-panel) { border-color: var(--record-line); }
.mbz-form-grid, .mbz-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mbz-contact-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.mbz-draft-actions > button { min-height: 44px; }

@media (max-width: 1040px) {
  :root[data-theme='studio'] { --record-header-height: 62px; }
  #root .record-header .record-nav, .record-header-quote { display: none; }
  .record-menu-toggle {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--record-line);
    border-radius: 6px;
    color: var(--record-ivory);
  }
  #root #record-mobile-menu {
    position: absolute;
    inset: 100% 0 auto;
    max-height: calc(100dvh - var(--record-header-height));
    overflow: auto;
    overscroll-behavior: contain;
    display: grid;
    gap: 2px 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px var(--record-gutter) 16px;
    background: var(--record-black);
    border-bottom: 1px solid var(--record-line);
    box-shadow: 0 12px 24px #0005;
  }
  #root #record-mobile-menu a { display: flex; align-items: center; min-height: 46px; padding: 6px 8px; border-bottom: 1px solid var(--record-line); }
}

@media (max-width: 760px) {
  #root #home { padding-top: 30px; }
  .record-hero { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .record-kicker { margin-bottom: 16px; font-size: 10px; letter-spacing: .1em; }
  #root #home h1 { font-size: clamp(48px, 13.2vw, 92px); margin-bottom: 18px; }
  .record-intro { font-size: 16px; line-height: 1.7; }
  .record-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
  .record-actions .record-button { padding-inline: 8px; font-size: 12px; gap: 7px; }
  .record-profiles { margin-top: 12px; }
  .record-portrait { aspect-ratio: 1.47; }
  .record-portrait img { object-position: center 18%; }
  .record-portrait figcaption { padding: 32px 12px 12px; }
  .record-portrait figcaption small { font-size: 11px; }
  .record-credits { display: block; margin-top: 23px; padding: 13px 0 18px; }
  .record-credits a { display: inline-flex; align-items: center; min-height: 44px; }
  .record-credits ul { gap: 5px 15px; }
  .record-credits li { font-size: 12px; }
  #root section[id]:not(#home) { padding-block: 52px; }
  #root section h2, #root #shop h2, #root .mbz-section-head h2 { font-size: clamp(41px, 10vw, 62px); }
  #root :is(#about, #services, #credits, #achievements) > div:last-child, #root footer > div, .xs-wrap { padding-inline: var(--record-gutter); }
  #root :is(#about, #services, #credits, #achievements) .mb-16 { margin-bottom: 28px; }
  #root #services article { padding: 20px; }
  #root #credits .grid > div { padding: 18px 12px; }
  #root #credits .grid > div > div { font-size: 16px; letter-spacing: .035em; }
  #root #achievements .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #root #achievements .studio-tile { padding: 15px 8px; }
  #root #achievements .studio-tile > div:first-child { font-size: 32px; }
  #root #achievements .studio-tile > div:first-child span:last-child { font-size: 25px; }
  #root #achievements .studio-tile h3 { font-size: 11px; }
  #root footer { padding-block: 42px 22px; }
  #root footer .grid { gap: 26px; padding-bottom: 24px; }
  #root footer :is(a, button) { display: inline-flex; align-items: center; min-height: 44px; }
  #root footer ul { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 15px; }
  #root footer ul li { margin-top: 0; }
  .xa-heading { margin-bottom: 20px; }
  .xa-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .xa-list { gap: 6px; }
  .xa-demo { min-height: 56px; gap: 10px; padding: 8px 11px; }
  .xa-demo strong { font-size: 13px; }
  .xa-demo small { font-size: 9px; margin-bottom: 3px; }
  .xa-player { padding: 15px 12px; }
  .xa-title { font-size: 19px; margin-block: 12px; }
  .xa-bars { height: 34px; margin-block: 8px; }
  .xs-feature { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .xs-feature-copy { padding: 24px 17px 0; }
  .xs-feature-art { min-height: 230px; }
  .xs-wave { height: 48px; }
  .xs-toolbar { gap: 10px; }
  .xs-toolbar [role='group'] { min-width: 0; width: 100%; }
  .xs-toolbar button { min-width: 0; min-height: 44px; font-size: 11px; padding: 5px; }
  .xs-search { min-width: 0; }
  .xs-card-body { padding: 17px; }
  .xs-card p { font-size: 14px; line-height: 1.55; min-height: 0; }
  .xs-shortlist, .xs-feature-copy a, .xs-bespoke a, .xs-email-fallback button { min-height: 44px; }
  .xs-dialog { padding: 21px 16px 16px; max-height: calc(100dvh - 20px); }
  .xs-dialog h3 { font-size: 24px; margin-top: 12px; }
  .xs-dialog .xs-kicker { display: block; padding-right: 46px; }
  .xs-close { top: 4px; right: 5px; }
  .mbz-contact-grid, .mbz-form-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .mbz-section-head { margin-bottom: 22px; }
  .mbz-form { padding: 15px; }
  .mbz-form > label { margin-top: 16px; }
  .mbz-form :is(input, textarea, select), .xs-search input, .xs-field :is(select, textarea), .xs-draft { font-size: 16px; }
  .mbz-form input[type='date'] { min-inline-size: 0; max-inline-size: 100%; }
  .mbz-faq { gap: 20px; padding-top: 27px; }
}

@media (max-width: 360px) {
  .record-portrait figcaption { display: grid; }
  .record-actions .record-button { font-size: 11px; }
  .xs-cover-bottom strong { font-size: 28px; }
  .xs-feature-art { min-height: 208px; }
}

@media (min-width: 375px) and (max-width: 639px) {
  #root #credits .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #root #credits .studio-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  :root[data-theme='studio'] { scroll-behavior: auto; }
}

/* One display face, one reading face, and the existing brand wordmark. */
#root :is(xzeus-store, xzeus-audio, .mbz-form input, .mbz-form select, .mbz-form textarea) {
  font-family: var(--record-sans);
}

#root :is(.record-kicker, .xa-eyebrow, .xa-demo small, .mbz-kicker, .xs-eyebrow, .xs-kicker, .mbz-steps article > span) {
  font-family: var(--record-sans);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .15em;
  text-transform: uppercase;
}

#root :is(#about, #services, #credits, #achievements) .tracking-\[0\.25em\] {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
}

#root :is(#services article h3, #about h4, .xs-card h3, .xa-title) {
  font-family: var(--record-sans);
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.025em;
}

#root #services article h3 { font-size: 18px; letter-spacing: .035em; }
#root #about .glass-panel h3 {
  font: 500 clamp(28px, 2.8vw, 38px)/1.1 var(--record-serif);
  letter-spacing: -.025em;
}

#root :is(.mbz-steps h3, .mbz-contact-aside h3, .xs-bespoke h3, .xs-dialog h3) {
  font: 500 clamp(30px, 2.7vw, 40px)/1.1 var(--record-serif);
  letter-spacing: -.025em;
}

#root :is(.mbz-faq h3, .xs-faq h3, .xs-feature h3) {
  font: 500 clamp(38px, 3.8vw, 56px)/1.08 var(--record-serif);
  letter-spacing: -.035em;
}

#root :is(#about .glass-panel > p, #services article > p, .mbz-steps p, .mbz-faq p, .xs-card p, .xs-feature-copy p, .xs-questions p) {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -.005em;
}

#root :is(#about .glass-panel p, #services article li) { font-family: var(--record-sans); }
#root #about .glass-panel > p { max-width: 60ch; }
#root #about .glass-panel h4 + p { font-size: 14px; line-height: 1.75; }
#root #services article li { font-size: 13px; line-height: 1.7; }
#root :is(.mbz-section-head > p:last-child, .xa-heading > p:last-child, .xs-heading p) { font-size: 16px; line-height: 1.75; }
#root :is(.mbz-faq summary, .xs-questions summary) { font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
#root :is(.mbz-note, .xa-note, .xs-email-note) { font-size: 12px; line-height: 1.7; }

#root #credits .grid > div > div {
  font-family: var(--record-sans);
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 600;
  letter-spacing: .025em;
  line-height: 1.35;
}
#root #credits .grid > div > span { font-family: var(--record-sans); letter-spacing: .1em; line-height: 1.7; }
#root #credits .grid > div > span:last-child { font-size: 10px; }
#root #achievements .studio-tile > div:first-child {
  font-family: var(--record-serif);
  font-weight: 500;
  letter-spacing: -.04em;
  font-variant-numeric: lining-nums;
}
#root #achievements .studio-tile h3 { font-family: var(--record-sans); font-weight: 500; letter-spacing: .03em; }
#root .xa-title { font-size: clamp(20px, 2vw, 28px); }
#root .xa-demo strong { font-weight: 600; letter-spacing: -.015em; }
#root .xs-cover-bottom strong { font: 500 clamp(31px, 2.8vw, 43px)/1.02 var(--record-serif); letter-spacing: -.035em; max-width: 11ch; }
#root .xs-price strong { font-size: 15px; font-weight: 500; }
#root :is(.xs-price small, .xs-tags span) { font-size: 10px; line-height: 1.5; }
#root .xs-card p { min-height: 0; }

@media (max-width: 760px) {
  #root .record-kicker { font-size: 9px; letter-spacing: .12em; }
  #root :is(.xa-eyebrow, .xa-demo small) { font-size: 9px; letter-spacing: .1em; }
  #root #credits .grid > div > div { font-size: 16px; letter-spacing: .01em; }
  #root #credits .grid > div > span { letter-spacing: .06em; }
  #root #achievements .studio-tile > div:first-child { font-size: 40px; }
  #root .xs-card h3 { font-size: 22px; }
  #root .xs-dialog h3 { font-size: 32px; }
}

/* Compact portfolio: keep listening, services, and enquiries close together. */
#root section[id]:not(#home) { padding-block: 56px; }
#root #home { padding-block: 44px 52px; }
.compact-wrap { max-width: 1360px; margin-inline: auto; padding-inline: var(--record-gutter); }
#root section h2, #root #shop h2, #root .mbz-section-head h2 { font-size: clamp(42px, 4.6vw, 64px); }
#root .record-portrait { max-width: 420px; justify-self: end; width: calc(100% - clamp(15px, 3vw, 48px)); }
.xa-heading, .xs-heading, .mbz-section-head { margin-bottom: 24px; }
.xa-heading h2 { margin-block: 10px; }
.compact-credit-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
#root #credits .compact-credit-grid > div { padding: 20px 12px; display: flex; flex-direction: column; justify-content: center; text-align: center; gap: 8px; }
#root #credits .compact-credit-grid > div > div { font-size: 17px; }
.compact-services-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-bottom: 28px; }
.compact-services-intro .record-kicker { margin-bottom: 10px; }
.compact-services-intro > p { font-size: 16px; line-height: 1.7; color: var(--record-muted); max-width: 55ch; scroll-margin-top: 110px; }
.compact-services-intro > #about { background: transparent; }
.compact-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
#root .compact-service-grid article { padding: 24px; }
.compact-service-icon { color: var(--record-bronze); width: 24px; height: 24px; margin-bottom: 16px; }
#root .compact-service-grid h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
#root .compact-service-grid p { color: var(--record-muted); font-size: 15px; line-height: 1.65; }
.compact-text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; color: var(--record-bronze); font-size: 14px; }
#root .xs-eyebrow { margin-bottom: 12px; }
#root #shop h2 { margin-bottom: 12px; }
#root .xs-catalog-meta { margin-block: 16px 12px; }
#root .xs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#root .xs-card { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: stretch; }
#root .xs-cover { aspect-ratio: auto; padding: 0; min-height: 0; }
#root .xs-sculpture { width: 140%; height: 45%; right: -30%; top: 28%; }
#root .xs-card-body { padding: 18px; }
#root .xs-card h3 { font-size: 22px; margin-block: 5px 10px; }
#root .xs-price { border: 0; padding: 0; }
#root .xs-price strong { font-size: 13px; color: var(--record-muted); }
#root .xs-card-actions { margin-top: 14px; max-width: 310px; }
#root .xs-card-actions .xs-primary { min-width: 0; gap: 10px; }
.compact-store-info { margin-top: 20px; border-top: 1px solid var(--record-line); padding-top: 12px; color: var(--record-muted); font-size: 14px; }
.compact-store-info summary { min-height: 44px; display: list-item; align-content: center; cursor: pointer; color: var(--record-ivory); }
.compact-store-info p { max-width: 70ch; margin-top: 8px; line-height: 1.7; }
#root .mbz-section-head { max-width: 100%; }
#root .mbz-section-head h2 { margin-bottom: 12px; }
#root .mbz-kicker { margin-bottom: 12px; }
#root .mbz-form { padding: 22px; }
#root .mbz-form-grid { gap: 14px; }
#root .mbz-form > label { margin-top: 14px; }
#root .mbz-form :is(input, select, textarea) { padding: 10px 12px; margin-top: 6px; }
#root .mbz-form > button { margin-top: 18px; }
.mbz-optional-details { margin-top: 14px; }
.mbz-optional-details summary { min-height: 44px; cursor: pointer; font-size: 13px; color: var(--record-muted); align-content: center; }
.mbz-optional-details > .mbz-form-grid { margin-top: 12px; }
#root .mbz-contact-aside h3 { margin-block: 0 18px; }
#root .mbz-location { margin-top: 18px; padding-top: 18px; }
#root .compact-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 24px var(--record-gutter); border-top: 1px solid var(--record-line); }
.compact-footer > div:first-child { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.compact-footer small { font-size: 11px; color: var(--record-muted); }
.compact-footer-links { display: flex; gap: 18px; font-size: 13px; color: var(--record-muted); }
.compact-footer-links a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 760px) {
  #root #home { padding-block: 28px 36px; }
  #root section[id]:not(#home) { padding-block: 36px; }
  #root .record-portrait { max-width: none; width: calc(100% - clamp(12px, 5vw, 28px)); }
  .compact-services-intro { grid-template-columns: 1fr; gap: 14px; margin-bottom: 20px; }
  .compact-service-grid { grid-template-columns: 1fr; gap: 12px; }
  #root .compact-service-grid article { padding: 18px; display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 14px; }
  .compact-service-icon { grid-row: 1 / 3; margin: 3px 0 0; }
  #root .compact-service-grid h3 { font-size: 20px; margin-bottom: 5px; }
  #root .compact-service-grid p { grid-column: 2; font-size: 14px; }
  #root #credits .compact-credit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #root #credits .compact-credit-grid > div { padding: 14px 8px; }
  #root #credits .compact-credit-grid > div > div { font-size: 15px; }
  #root #credits .compact-credit-grid > div:last-child { grid-column: 1 / -1; }
  #root .xs-grid { grid-template-columns: 1fr; gap: 12px; }
  #root .xs-card { grid-template-columns: 64px minmax(0, 1fr); }
  #root .xs-card-body { padding: 14px; }
  #root .xs-card h3 { font-size: 21px; }
  #root .mbz-form { padding: 16px; }
  #root .compact-footer { padding-block: 20px; }
  .compact-footer > div:first-child { gap: 4px; flex-direction: column; align-items: start; }
}
