:root {
  --ink: #11100f;
  --charcoal: #1b1a18;
  --panel: #252320;
  --cream: #f1eee6;
  --muted: #c9c0ad;
  --red: #b23a2f;
  --brass: #c59b58;
  --teal: #5f8f8b;
  --line: rgba(241, 238, 230, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--cream);
}

body.drawer-open {
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(17, 16, 15, 0.84), rgba(17, 16, 15, 0.12));
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(197, 155, 88, 0.7);
  background: rgba(178, 58, 47, 0.24);
  color: var(--brass);
  font-size: 0.78rem;
  border-radius: 6px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 30px);
}

.main-nav a {
  color: rgba(241, 238, 230, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: var(--brass);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 140px clamp(20px, 6vw, 80px) 78px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 16, 15, 0.9) 0%, rgba(17, 16, 15, 0.78) 42%, rgba(17, 16, 15, 0.2) 100%),
    linear-gradient(0deg, rgba(17, 16, 15, 0.95) 0%, rgba(17, 16, 15, 0.2) 45%),
    image-set(
      url("resources/hero-studio.webp") type("image/webp"),
      url("resources/hero-studio.jpg") type("image/jpeg")
    ) center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--red), var(--brass), var(--teal));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brass);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(4rem, 11vw, 8.6rem);
  line-height: 0.88;
}

.hero-lede {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(241, 238, 230, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(197, 155, 88, 0.42);
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #c34438;
}

.button-secondary {
  background: rgba(241, 238, 230, 0.1);
  color: var(--cream);
  border-color: rgba(241, 238, 230, 0.28);
}

.button-secondary:hover {
  background: rgba(241, 238, 230, 0.17);
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 6vw, 80px);
}

.section-heading {
  max-width: 820px;
}

.section-heading h2,
.contact-section h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.studio-overview {
  background: var(--cream);
  color: var(--ink);
}

.studio-overview .eyebrow,
.gear-section-intro .eyebrow {
  color: var(--red);
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 70px);
  max-width: 1080px;
  margin-top: 44px;
}

.studio-grid p,
.gear-section-intro > p {
  margin: 0;
  color: rgba(17, 16, 15, 0.74);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

.services-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--charcoal);
  border-block: 1px solid var(--line);
}

.services-band article {
  min-height: 280px;
  padding: clamp(28px, 5vw, 56px);
  border-right: 1px solid var(--line);
}

.services-band article:last-child {
  border-right: 0;
}

.services-band span {
  display: block;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 54px;
}

.services-band h3 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.services-band p {
  max-width: 360px;
  margin: 22px 0 0;
  color: rgba(241, 238, 230, 0.7);
  line-height: 1.65;
}

.credits-section {
  background: var(--charcoal);
  border-bottom: 1px solid var(--line);
  color: var(--cream);
}

.credits-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.credits-header .eyebrow {
  margin: 0;
  color: var(--teal);
}

.credits-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.credit-card {
  display: grid;
  min-height: 280px;
  padding: clamp(28px, 5vw, 56px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credit-card:nth-child(3n) {
  border-right: 0;
}

.credit-card.is-extra {
  display: none;
}

.credits-section.is-expanded .credit-card.is-extra {
  display: grid;
}

.credit-card img {
  width: 118px;
  height: 118px;
  margin-bottom: 54px;
  border: 1px solid rgba(241, 238, 230, 0.2);
  border-radius: 999px;
  object-fit: cover;
}

.credit-card div {
  align-self: end;
}

.credit-artist {
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  font-weight: 900;
  line-height: 1;
}

.credits-toggle {
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-top: 1px solid var(--line);
  background: #11100f;
  color: var(--brass);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.credits-toggle:hover {
  background: #191816;
}

.gear-section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: end;
  gap: clamp(28px, 6vw, 80px);
  background:
    linear-gradient(135deg, rgba(197, 155, 88, 0.1), transparent 48%),
    var(--cream);
  color: var(--ink);
}

.gear-section-intro .button {
  justify-self: start;
  margin-top: 28px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1fr);
  align-items: start;
  gap: clamp(34px, 7vw, 92px);
  padding: clamp(70px, 10vw, 124px) clamp(20px, 6vw, 80px);
  background: var(--red);
  color: #fff;
}

.contact-section .eyebrow {
  color: #fff;
}

.contact-intro {
  position: sticky;
  top: 120px;
}

.contact-intro p:not(.eyebrow) {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.7;
}

.contact-intro a {
  color: #fff;
  font-weight: 900;
}

.contact-sheet {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(17, 16, 15, 0.22);
  box-shadow: var(--shadow);
}

.website-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field-group label {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.field-group input,
.field-group select {
  min-height: 48px;
  padding: 0 14px;
}

.field-group textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: rgba(17, 16, 15, 0.48);
}

.contact-submit {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 4px;
  border-color: rgba(255, 255, 255, 0.38);
  background: var(--ink);
}

.contact-submit:hover {
  background: #252320;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 1.4em;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-note.is-visible {
  color: #fff;
}

.form-note a {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.gear-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.gear-backdrop.is-visible {
  opacity: 1;
}

.gear-panel {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 80;
  width: min(520px, 100vw);
  display: flex;
  flex-direction: column;
  background: #151412;
  color: var(--cream);
  box-shadow: var(--shadow);
  transform: translateX(-102%);
  transition: transform 0.26s ease;
}

.gear-panel.open {
  transform: translateX(0);
}

.gear-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.gear-header .eyebrow {
  margin-bottom: 8px;
}

.gear-header h2 {
  font-size: 1.65rem;
}

.gear-close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
}

.gear-close:hover {
  border-color: var(--brass);
  color: var(--brass);
}

.gear-nav {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.gear-nav a {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(241, 238, 230, 0.12);
  border-radius: 6px;
  color: rgba(241, 238, 230, 0.74);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.gear-nav a:hover {
  border-color: var(--brass);
  color: var(--brass);
}

.gear-content {
  flex: 1;
  padding: 26px 24px 34px;
  overflow-y: auto;
}

.gear-list-section {
  scroll-margin-top: 20px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.gear-list-section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.gear-list-section h3 {
  margin-bottom: 14px;
  color: var(--brass);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gear-list-section ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.gear-list-section li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: rgba(241, 238, 230, 0.78);
  line-height: 1.45;
}

.gear-list-section li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  margin-top: 0.55em;
  border-radius: 999px;
  background: var(--teal);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 6vw, 80px);
  background: #0b0a09;
  color: rgba(241, 238, 230, 0.62);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--brass);
  font-weight: 800;
  text-decoration: none;
}

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

#studio,
#services,
#credits,
#gear,
#contact {
  scroll-margin-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 16px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .main-nav a {
    font-size: 0.72rem;
  }

  .hero {
    min-height: 94vh;
    padding-top: 172px;
    background-position: 58% center;
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 6rem);
  }

  .studio-grid,
  .services-band,
  .credits-grid,
  .gear-section-intro,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .services-band article,
  .credit-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .services-band article:last-child {
    border-bottom: 0;
  }

  .services-band span,
  .credit-card img {
    margin-bottom: 26px;
  }

  .credits-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-intro {
    position: static;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 0.8rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .main-nav a {
    font-size: 0.68rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .contact-sheet {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .contact-section h2 {
    font-size: clamp(2rem, 12vw, 3.25rem);
  }

  .gear-header,
  .gear-content {
    padding-inline: 18px;
  }
}
