/* The gallery reads like a printed portfolio; the hero keeps a studio-dark frame. */
:root {
  color-scheme: light;
  --bg: #f5f2ed;
  --surface: #fffdf9;
  --text: #262322;
  --muted: #625b57;
  --line: #ded7cf;
  --accent: #8b2d4d;
  --accent-ink: #fffaf7;
  --studio: #1b1919;
  --studio-text: #fbf7ef;
  --studio-muted: #d4cbc3;
  --studio-line: #ffffff2b;
}

html { scroll-padding-top: 90px; }
body { line-height: 1.65; }
.brand { font-weight: 750; }
.brand small, .eyebrow { letter-spacing: .11em; }
.eyebrow, .project-type, .service-number { color: var(--accent); font-weight: 700; }
.section-heading h2, .contact h2 {
  font-weight: 650;
  letter-spacing: normal;
  word-spacing: normal;
  line-height: 1.19;
}
.section-heading h2 { font-size: clamp(36px, 4vw, 57px); }
.section-heading > p { max-width: 365px; }
.section-heading h2 span, .contact h2 span { color: inherit; }

.site-header, .site-footer, .studio-hero {
  color-scheme: dark;
  color: var(--studio-text);
  --muted: var(--studio-muted);
  --line: var(--studio-line);
}
.site-header { background: #1b1919f5; }
.brand small { color: #c8b9af; }
.site-footer { background: var(--studio); color: var(--studio-muted); }
.site-footer .brand { color: var(--studio-text); }
.nav-cta { border-color: #ffffff40; background: transparent; font-weight: 650; }
.nav-cta span, .nav nav a:hover, .site-footer a:hover { color: #e6b1c0; }
.nav-cta:hover { border-color: #e6b1c0; }

.button { font-weight: 650; }
.button-primary:hover { background: #6f203c; border-color: #6f203c; }
.button-ghost { border-color: #ffffff63; background: #211b1bb8; color: var(--studio-text); }
.button-ghost:hover { border-color: var(--studio-text); }

.portfolio .filter {
  color: var(--text);
  border-radius: 6px;
  font-weight: 650;
}
.portfolio .filter[aria-pressed=true] {
  color: var(--accent);
  background: #f0e5e8;
  border-color: #d1afb9;
}
.portfolio .filter:hover:not([aria-pressed=true]) { border-color: #a89d95; }
.search { border-radius: 6px; }
.project { border-radius: 8px; }
.project:hover { border-color: #b3919c; }
.project-title { font-weight: 700; }
.project-type { letter-spacing: .085em; }
.project-subtitle { font-size: 13px; }
.play { background: #211b1be5; }
.project:hover .play { background: var(--accent); }
.duration { background: #211b1be5; color: #fffaf7; font-weight: 700; }

.services { background: #ebe6df; }
.service-grid article { border-top-color: #c8beb5; }
.service-grid h3 { font-weight: 700; }
.contact {
  background: #eee7e0;
  border-color: #ded2c8;
  border-radius: 10px;
}
.contact-actions { color: var(--muted); }
.contact-phone { font-weight: 700; }

.studio-hero { min-height: 575px; background: var(--studio); }
.studio-hero-images, .studio-hero-slide { position: absolute; inset: 0; overflow: hidden; }
.studio-hero-images { z-index: -2; }
.studio-hero-slide { opacity: 0; transition: opacity .48s ease; }
.studio-hero-slide.is-active { opacity: 1; }
.studio-hero-slide img {
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 47%;
}
.studio-hero-slide--editor img { width: 65%; object-position: center 51%; }
.studio-hero::after {
  background:
    linear-gradient(90deg, #1b1919 1%, #1b1919f0 24%, #1b191982 48%, #1b19190d 76%),
    linear-gradient(0deg, #1b1919 0%, transparent 25%);
}
.studio-hero .hero-content { padding-block: 68px 53px; }
.studio-hero .eyebrow { color: #e6c5cd; }
.studio-hero .eyebrow span { background: #b4778a; }
.studio-hero h1 {
  color: var(--studio-text);
  font-size: clamp(48px, 5.05vw, 73px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: normal;
  word-spacing: normal;
}
.studio-hero h1 em { color: inherit; }
.studio-hero .hero-description {
  color: var(--studio-muted);
  max-width: 460px;
  font-weight: 400;
}
.studio-hero-footer { min-height: 65px; padding-block: 10px; letter-spacing: .08em; }
.hero-label { color: var(--studio-muted); font-weight: 650; }
.hero-divider { margin-inline: 5px; color: #c38c9d; }
.hero-footer i { background: #c38c9d; }
.hero-controls { display: flex; align-items: center; gap: 6px; }
.hero-controls button {
  display: grid;
  place-items: center;
  min-width: 37px;
  height: 37px;
  border-radius: 6px;
  border: 1px solid #ffffff35;
  background: #211d1de8;
  color: var(--studio-text);
  font: 650 12px Manrope, sans-serif;
  padding: 0;
}
.hero-controls button:hover { border-color: #d8a3b2; }
.hero-controls button[aria-pressed=true] {
  background: var(--studio-text);
  color: var(--studio);
  border-color: var(--studio-text);
}
.hero-controls .hero-arrow { font-size: 22px; line-height: 1; }
.hero-controls .hero-play { margin-left: 4px; color: #e5b6c3; font-size: 14px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.player { border-color: #bdacb2; }
.player::backdrop { background: #151010df; }
.close { background: #f0e9e6; }

@media (max-width: 960px) {
  .studio-hero { min-height: 540px; }
  .studio-hero::after {
    background:
      linear-gradient(90deg, #1b1919 0%, #1b1919de 34%, #1b191949 83%),
      linear-gradient(0deg, #1b1919 0%, transparent 33%);
  }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 105px; }
  .studio-hero { min-height: 555px; }
  .studio-hero-slide img { width: 100%; object-position: 66% 30%; }
  .studio-hero-slide--editor img { object-position: 42% center; }
  .studio-hero::after {
    background:
      linear-gradient(90deg, #1b1919e5 0%, #1b191979 91%),
      linear-gradient(0deg, #1b1919 0%, #1b1919bf 27%, #1b19192e 79%);
  }
  .studio-hero .hero-content { padding-block: 78px 44px; }
  .studio-hero h1 { font-size: clamp(34px, 9.25vw, 49px); }
  .studio-hero-footer { flex-wrap: wrap; gap: 8px; padding-block: 11px; }
  .hero-label { font-size: 9px; letter-spacing: .06em; }
  .hero-controls button { min-width: 39px; height: 38px; }
  .section-heading h2 { font-size: 36px; }
  .project-subtitle { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .studio-hero-slide { transition: none; }
}
