:root {
  color-scheme: dark;
  --bg: #0b0907;
  --bg-soft: #15100c;
  --surface: #1d1610;
  --surface-strong: #261c14;
  --text: #fffaf2;
  --muted: #d8c9b4;
  --muted-strong: #b9a486;
  --line: rgba(224, 190, 126, 0.2);
  --gold: #c99a4a;
  --gold-strong: #e0b95f;
  --brown: #5b3924;
  --beige: #eadcc6;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --header: rgba(11, 9, 7, 0.78);
  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3e6d2;
  --bg-soft: #e5d0b4;
  --surface: #fff6e8;
  --surface-strong: #dfc098;
  --text: #1b120c;
  --muted: #5d402b;
  --muted-strong: #7b542f;
  --line: rgba(83, 50, 28, 0.2);
  --gold: #b57923;
  --gold-strong: #845315;
  --brown: #6a4024;
  --beige: #fff1dc;
  --shadow: 0 22px 60px rgba(83, 50, 28, 0.18);
  --header: rgba(243, 230, 210, 0.88);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--gold) var(--bg-soft);
  scrollbar-width: thin;
  overflow-x: clip;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-soft);
  border-left: 1px solid var(--line);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-strong), var(--brown));
  border: 3px solid var(--bg-soft);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gold), var(--gold-strong));
}

body {
  margin: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  background:
    radial-gradient(circle at top left, rgba(201, 154, 74, 0.12), transparent 32rem),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  content: "";
  position: fixed;
  z-index: 40;
  inset: 0;
  background: rgba(8, 6, 4, 0.54);
  backdrop-filter: blur(3px);
}

:root[data-theme="light"] body.menu-open::before {
  background: rgba(83, 50, 28, 0.24);
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: var(--header);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

main,
section,
article,
figure,
.site-footer {
  max-width: 100%;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.brand,
.header-actions,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--gold);
  color: var(--gold-strong);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav {
  gap: clamp(1rem, 3vw, 2.4rem);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav a {
  position: relative;
  transition: color 160ms ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--gold-strong);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.nav a.is-active::after {
  transform: scaleX(1);
}

.nav-close {
  display: none;
}

.header-actions {
  gap: 0.55rem;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  color: var(--text);
  cursor: pointer;
}

.icon-button svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.icon-button .sun,
:root[data-theme="light"] .icon-button .moon {
  display: none;
}

:root[data-theme="light"] .icon-button .sun {
  display: block;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: min(780px, 84vh);
  display: grid;
  align-items: center;
  padding: 7.5rem clamp(1rem, 6vw, 5rem) 4rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 6, 4, 0.94), rgba(8, 6, 4, 0.58) 44%, rgba(8, 6, 4, 0.18)),
    linear-gradient(180deg, rgba(8, 6, 4, 0.2), var(--bg) 96%),
    url("assets/hero-studio.jpg") center / cover;
  transform: scale(1.02);
}

:root[data-theme="light"] .hero-media {
  background:
    linear-gradient(90deg, rgba(243, 230, 210, 0.88), rgba(229, 208, 180, 0.36) 43%, rgba(67, 42, 25, 0.1)),
    linear-gradient(180deg, rgba(243, 230, 210, 0.02), rgba(243, 230, 210, 0.32) 82%, var(--bg) 98%),
    url("assets/hero-studio.jpg") center / cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow,
.section-label {
  margin: 0 0 1rem;
  color: var(--gold-strong);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3.4rem, 10vw, 8.6rem);
}

h2 {
  font-size: clamp(2.15rem, 5vw, 4.6rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.hero-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--line);
  font-weight: 900;
  min-width: 0;
  max-width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
  word-break: normal;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #120c07;
}

.button.ghost {
  background: color-mix(in srgb, var(--surface) 54%, transparent);
  color: var(--text);
}

.hero-note {
  position: absolute;
  z-index: 1;
  right: clamp(1rem, 4vw, 3rem);
  bottom: 2rem;
  display: flex;
  gap: 0.7rem;
  max-width: min(680px, calc(100% - 2rem));
  color: var(--beige);
}

:root[data-theme="light"] .hero-note {
  color: var(--text);
}

.hero-note span {
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(224, 185, 95, 0.42);
  background: rgba(11, 9, 7, 0.38);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  backdrop-filter: blur(12px);
}

:root[data-theme="light"] .hero-note span {
  background: rgba(255, 246, 232, 0.7);
}

main > section:not(.hero) {
  padding-inline: clamp(1rem, 6vw, 5rem);
  scroll-margin-top: 4.85rem;
}

.intro-band,
.process {
  display: grid;
  grid-template-columns: minmax(10rem, 0.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 6vw, 5rem);
  padding-block: clamp(3.75rem, 7vw, 5rem) clamp(4rem, 9vw, 7rem);
  border-top: 1px solid var(--line);
}

.intro-copy {
  max-width: 1040px;
}

.intro-copy p,
.showcase-copy p,
.contact-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

.services article,
.process article {
  background: var(--surface);
  border: 1px solid var(--line);
}

.services article {
  min-height: 19rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.service-number,
.process span {
  display: inline-block;
  margin-bottom: 4rem;
  color: var(--gold-strong);
  font-family: var(--font-display);
  font-weight: 700;
}

.services p,
.process p {
  color: var(--muted);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding-block: clamp(3.75rem, 7vw, 5rem) clamp(4rem, 9vw, 7rem);
  border-top: 1px solid var(--line);
}

.showcase-copy {
  position: sticky;
  top: 7rem;
}

.image-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.feature-image {
  position: relative;
  min-height: 18rem;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-image.tall {
  grid-row: span 2;
  min-height: 38rem;
}

.feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.62));
}

.feature-image figcaption {
  position: absolute;
  z-index: 1;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  color: #fffaf2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.process article {
  min-height: 17rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(16rem, 0.6fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
  padding-block: clamp(3.75rem, 6vw, 4.75rem) clamp(2.5rem, 4.5vw, 4rem);
  border-top: 1px solid var(--line);
}

.contact-label {
  grid-column: 1 / -1;
  margin-bottom: clamp(-1.75rem, -2vw, -1rem);
}

.contact-image {
  min-height: 20rem;
  max-height: 52vh;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-copy {
  max-width: 820px;
}

.contact-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3.45rem);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
}

.site-footer a {
  color: var(--gold-strong);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

@media (max-width: 920px) {
  .menu-button {
    display: grid;
  }

  .nav {
    position: fixed;
    z-index: 45;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    width: min(20rem, calc(100vw - 3rem));
    height: 100svh;
    padding: 5.5rem 1rem 1rem;
    border: 1px solid var(--line);
    border-right: 0;
    background: var(--surface);
    box-shadow: var(--shadow);
    transform: translateX(0);
    clip-path: inset(0 0 0 100%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, clip-path 220ms ease, visibility 0s linear 220ms;
  }

  .nav.is-open {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 180ms ease, clip-path 220ms ease;
  }

  .nav a {
    padding: 1rem 0.8rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
  }

  .nav a::after {
    left: 0.8rem;
    right: auto;
    bottom: 0.55rem;
    width: 2.4rem;
  }

  .nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface-strong) 78%, transparent);
    color: var(--text);
    cursor: pointer;
  }

  .nav-close svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: currentColor;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-note {
    position: relative;
    right: auto;
    bottom: auto;
    flex-wrap: wrap;
    margin-top: 2rem;
  }

  .intro-band,
  .process,
  .showcase,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .showcase-copy {
    position: static;
  }

  .services,
  .process-list {
    grid-template-columns: 1fr;
  }

  .services article,
  .process article {
    min-height: auto;
  }

  .service-number,
  .process span {
    margin-bottom: 2rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.35rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 0.55rem;
    padding: 0.65rem 0.8rem;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand-mark {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 0.86rem;
  }

  .brand strong {
    max-width: 10.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.88rem;
  }

  .brand small {
    display: none;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .icon-button {
    width: 2.35rem;
    height: 2.35rem;
  }

  .icon-button svg {
    width: 1rem;
    height: 1rem;
  }

  .nav {
    width: min(18rem, calc(100vw - 1.5rem));
    padding: 4.8rem 0.85rem 0.85rem;
  }

  .nav-close {
    top: 0.75rem;
    right: 0.85rem;
    width: 2.35rem;
    height: 2.35rem;
  }

  .nav a {
    padding: 0.9rem 0.7rem;
  }

  .hero {
    min-height: auto;
    padding: 5.8rem 1rem 2.4rem;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(8, 6, 4, 0.82), rgba(8, 6, 4, 0.72)),
      linear-gradient(180deg, transparent, var(--bg) 96%),
      url("assets/hero-studio.jpg") 62% center / cover;
  }

  :root[data-theme="light"] .hero-media {
    background:
      linear-gradient(180deg, rgba(243, 230, 210, 0.82), rgba(229, 208, 180, 0.58)),
      linear-gradient(180deg, transparent, var(--bg) 96%),
      url("assets/hero-studio.jpg") 62% center / cover;
  }

  h1 {
    margin-bottom: 1rem;
    font-size: clamp(3rem, 17vw, 4rem);
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 2.75rem);
  }

  h3 {
    font-size: 1.12rem;
  }

  .eyebrow,
  .section-label {
    margin-bottom: 0.75rem;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .hero-copy,
  .intro-copy p,
  .showcase-copy p,
  .contact-copy p {
    font-size: 0.96rem;
  }

  .hero-actions,
  .contact-actions {
    gap: 0.65rem;
    margin-top: 1.4rem;
  }

  .button {
    width: 100%;
    min-height: 2.85rem;
    padding: 0.72rem 0.9rem;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
  }

  .hero-note {
    display: none;
  }

  main > section:not(.hero) {
    padding-inline: 0.95rem;
    scroll-margin-top: 3.45rem;
  }

  .intro-band,
  .showcase,
  .process,
  .contact-section {
    gap: 1.4rem;
    padding-block: 2.55rem 2.6rem;
  }

  .services {
    padding-bottom: 2.6rem;
  }

  .services article,
  .process article {
    padding: 1.15rem;
  }

  .service-number,
  .process span {
    margin-bottom: 1.25rem;
  }

  .image-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .feature-image,
  .feature-image.tall,
  .contact-image {
    min-height: 18rem;
    max-height: none;
  }

  .contact-image {
    aspect-ratio: 4 / 3;
  }

  .site-footer {
    gap: 0.55rem;
    padding: 1.2rem 0.95rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 390px) and (max-height: 700px) {
  .site-header {
    padding-block: 0.55rem;
  }

  .brand-mark,
  .icon-button {
    width: 2.2rem;
    height: 2.2rem;
  }

  .brand strong {
    max-width: 9.4rem;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 100svh;
    align-items: end;
    padding: 4.85rem 0.85rem 1.65rem;
  }

  h1 {
    max-width: 8.7ch;
    margin-bottom: 0.8rem;
    font-size: clamp(2.65rem, 15.5vw, 3.62rem);
    line-height: 0.94;
  }

  .hero-copy {
    max-width: 18.5rem;
    margin-bottom: 0;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 1.05rem;
  }

  .button {
    min-height: 2.7rem;
    padding-inline: 0.75rem;
    font-size: 0.78rem;
  }

  .intro-band,
  .showcase,
  .process,
  .contact-section {
    padding-block: 2.35rem 2.25rem;
  }

  .contact-label {
    margin-bottom: -0.85rem;
  }

  .services {
    padding-bottom: 2.25rem;
  }

  .feature-image,
  .feature-image.tall,
  .contact-image {
    min-height: 15.5rem;
  }

  .contact-copy h2 {
    font-size: clamp(1.8rem, 9.5vw, 2.45rem);
  }
}
