/* =========================================================================
   XOKO — styles.css
   Quiet, precise, tactile identity: charcoal ground, soft-gold accent, the
   approved gold emblem, smoked optical glass and real studio photography.
   No HUD, canvas, scanline, marquee, neon or gradient text decoration.

   Scope: presentation only. Markup belongs to index.html and follows
   .planning/brand-refresh/design-contract.md — this sheet styles that shared
   contract and never invents a different DOM.
   No-JS contract: nothing here hides content waiting for a script, so the
   page renders complete and usable without JavaScript.
   ========================================================================= */

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* Palette — contrast verified by parent on charcoal:
     ink 16.05:1, muted 9.11:1, gold 9.82:1. Gold is an accent, never a flood. */
  --bg: #121312;
  --surface: #1b1c19;
  --ink: #f0eee8;
  --muted: #b6b6ac;
  --gold: #d0ba8b;
  --line: #3b3c35;

  /* Rhythm: 1200px cap, ~5vw desktop outer spacing, 22px mobile */
  --maxw: 1200px;
  --gutter: 22px;
  --section-y: clamp(56px, 8vw, 112px);
  --stack: clamp(28px, 4.5vw, 72px);
  /* Sticky-header clearance so anchors never land under the header */
  --scroll-offset: 112px;

  /* Two locally hosted voices: geometric display and precise, readable copy. */
  --display: "Outfit", "Avenir Next", sans-serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --fs-body: 1.0625rem; /* 17px */
  --lh-body: 1.65;
  --measure: 55ch;
}

@media (min-width: 721px) {
  :root {
    --gutter: clamp(22px, 5vw, 84px);
  }
}

/* ---------------------------------------------------------------- reset --- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

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

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

::selection {
  background: rgba(208, 186, 139, 0.3);
  color: var(--ink);
}

/* ------------------------------------------------- accessibilidad / foco --- */

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--surface);
  border: 1px solid var(--gold);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  /* Off-screen without clipping or hiding it from the tab order */
  transform: translateY(calc(-100% - 20px));
  transition: transform 140ms ease;
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* The skip target is a region, not a control: no ring on the whole document */
#main-content:focus {
  outline: none;
}

/* Sticky header must not cover anchor headings */
[id] {
  scroll-margin-top: var(--scroll-offset);
}

/* ------------------------------------------------------------ typography --- */

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
}

h1 {
  max-width: 18ch;
  font-size: clamp(2.5rem, 4.45vw, 4rem); /* cap 64px */
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.headline-lead {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.headline-main {
  display: block;
}

h2 {
  max-width: 28ch;
  font-size: clamp(1.625rem, 3.2vw, 2.75rem); /* cap 44px */
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.375rem, 1.8vw, 1.625rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  max-width: var(--measure);
}

.eyebrow,
.fact-label {
  display: block;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 16px;
}

.fact-label {
  margin-bottom: 10px;
  color: var(--muted);
}

/* --------------------------------------------------------------- layout --- */

.section-wrap {
  width: min(var(--maxw), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  /* Half on each side: two adjacent sections add up to one clean rhythm
     (80-112px desktop, 56-72px mobile) instead of doubling it. */
  padding-block: calc(var(--section-y) / 2);
}

main {
  display: block;
}

.section-head {
  margin-bottom: clamp(24px, 3.2vw, 44px);
}

/* Nested grid/flex children must be allowed to shrink (no overflow) */
.hero-copy,
.hero-image,
.intro > *,
.studio-copy,
.studio-media,
.contact-copy,
.contact-details,
.team-grid > *,
.service-list > * {
  min-width: 0;
}

/* ---------------------------------------------------------------- header --- */

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px clamp(16px, 3vw, 40px);
  width: min(1320px, calc(100% - 32px));
  margin: 12px auto 0;
  padding-block: 12px;
  padding-inline: clamp(18px, 3vw, 40px);
  background: rgba(18, 19, 18, 0.96);
  border: 1px solid transparent;
  border-radius: 24px;
  transition: background-color 320ms ease, border-color 320ms ease,
    box-shadow 320ms ease, border-radius 320ms ease;
}

.site-header.is-scrolled {
  background: #1b1c19; /* Legible fallback when backdrop blur is unavailable. */
  border-color: rgba(208, 186, 139, 0.23);
  border-radius: 28px;
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(208, 186, 139, 0.06);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header.is-scrolled {
    background: rgba(24, 25, 23, 0.8);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    backdrop-filter: blur(24px) saturate(140%);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

/* Approved gold emblem: natural ratio, contained, never filtered or recoloured */
.brand img {
  width: clamp(140px, 12vw, 170px);
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px clamp(16px, 2.4vw, 34px);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(208, 186, 139, 0.07);
  border-color: rgba(208, 186, 139, 0.16);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(208, 186, 139, 0.3);
  border-radius: 999px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(208, 186, 139, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 140ms ease, border-color 140ms ease;
}

.nav-cta:hover {
  color: var(--ink);
  border-color: var(--gold);
}

/* ------------------------------------------------- controls and links --- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  border-color: rgba(208, 186, 139, 0.5);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(208, 186, 139, 0.18), rgba(208, 186, 139, 0.045));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(208, 186, 139, 0.05), 0 8px 24px rgba(0, 0, 0, 0.12);
  color: var(--gold);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--gold);
  color: var(--bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 28px rgba(208, 186, 139, 0.12);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 2px;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  transition: color 140ms ease, border-color 140ms ease;
}

.text-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* Prose links (contact address, footer mail): quiet hairline underline */
main a:not(.button):not(.text-link),
.site-footer a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(208, 186, 139, 0.5);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 140ms ease, text-decoration-color 140ms ease;
}

main a:not(.button):not(.text-link):hover,
.site-footer a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

/* ------------------------------------------------------------------ hero --- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: var(--stack);
  align-items: stretch;
  padding-block: clamp(40px, 6vw, 80px) calc(var(--section-y) / 2);
}

/* A quiet wash of reflected gold, confined to the hero rather than an
   animated full-screen overlay. It never changes the logo or text. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 80% 38%, rgba(208, 186, 139, 0.075), transparent 62%);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(24px, 2.4vw, 32px);
}

.hero-brand {
  display: grid;
  width: 100%;
  justify-items: center;
  text-align: center;
  gap: 18px;
}

/* Show the supplied PNG unchanged. This viewport removes only transparent
   margins, retaining 12 source pixels of clear space around all gold artwork. */
.hero-mark {
  position: relative;
  width: clamp(148px, 13vw, 184px);
  aspect-ratio: 1974 / 1872;
  overflow: hidden;
}

.hero-logo {
  position: absolute;
  left: -26.190476%;
  top: -29.540598%;
  width: 151.975684%;
  max-width: none;
  height: auto;
}

.status-line {
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.025em;
}

.status-line span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}

.hero-intro {
  display: grid;
  gap: 10px;
  max-width: 47ch;
}

.hero-description {
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.65;
}

.hero-detail {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(16px, 2.4vw, 28px);
  margin-top: 0;
}

.hero-image {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: stretch;
}

.hero-image img {
  width: 100%;
  /* Fills the column beside the copy so both sides share one baseline;
     in the stacked layout it simply keeps its natural ratio. */
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
  border: 1px solid rgba(208, 186, 139, 0.23);
  border-radius: 28px;
  box-shadow: 0 24px 70px -28px rgba(0, 0, 0, 0.65);
}

/* ----------------------------------------------------------------- intro --- */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--stack);
  align-items: center;
  border-top: 1px solid var(--line);
}

.intro p {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 47ch;
}

/* -------------------------------------------------------------- services --- */

.services {
  display: grid;
  border-top: 1px solid var(--line);
}

.services .section-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(28px, 3.6vw, 44px);
}

/* Open 2x2 layout with hairline separators — not boxed cards */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--stack);
}

.service-list > article {
  padding: clamp(24px, 3.2vw, 38px) 0;
  border-bottom: 1px solid var(--line);
}

.service-list h3 {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.service-symbol {
  display: block;
  width: 28px;
  height: 28px;
  background-color: var(--gold);
  -webkit-mask: var(--service-symbol) center / contain no-repeat;
  mask: var(--service-symbol) center / contain no-repeat;
}

.symbol-music-2 {
  --service-symbol: url("assets/icons/music-2.svg");
}

.symbol-audio-lines {
  --service-symbol: url("assets/icons/audio-lines.svg");
}

.symbol-clapperboard {
  --service-symbol: url("assets/icons/clapperboard.svg");
}

.symbol-sliders-horizontal {
  --service-symbol: url("assets/icons/sliders-horizontal.svg");
}

.service-list p {
  color: var(--muted);
  max-width: 43ch;
}

/* ------------------------------------------------------------------ tech --- */

.tech {
  display: grid;
  gap: clamp(24px, 3.4vw, 44px);
  border-top: 1px solid var(--line);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  border: 1px solid rgba(208, 186, 139, 0.18);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(208, 186, 139, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding-inline: clamp(18px, 2vw, 28px);
}

.tech-grid > * {
  padding-block: clamp(18px, 2vw, 24px);
  padding-inline-start: clamp(16px, 1.8vw, 26px);
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  text-align: left;
}

.tech-grid > :first-child {
  border-left: 0;
  padding-inline-start: 0;
}

/* ---------------------------------------------------------------- studio --- */

.studio {
  display: grid;
  gap: clamp(32px, 4.5vw, 64px);
  border-top: 1px solid var(--line);
}

.studio-media {
  display: grid;
  /* Equal columns + equal ratio = a precise pair with no dead space */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  align-items: start;
}

.studio-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(208, 186, 139, 0.2);
  border-radius: 24px;
  box-shadow: 0 18px 48px -28px rgba(0, 0, 0, 0.7);
}

.hero-image img.has-depth,
.studio-media img.has-depth {
  transform: perspective(1400px) translate3d(0, var(--depth-y, 0px), 0)
    rotateX(var(--depth-rx, 0deg)) rotateY(var(--depth-ry, 0deg))
    scale(var(--depth-scale, 1));
  border-radius: var(--depth-radius, 28px);
  transform-origin: center;
}

.studio-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--stack);
  row-gap: clamp(12px, 1.6vw, 18px);
  /* Full-width hairline above the heading: the copy block reads as its own
     register under the photographs, in step with the other sections. */
  border-top: 1px solid var(--line);
  padding-top: clamp(20px, 2.6vw, 32px);
}

.studio-copy h2 {
  grid-column: 1 / -1;
  max-width: 38ch;
}

.studio-copy > .section-title {
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

.studio-fact {
  padding: 18px 0 12px;
  border-top: 1px solid var(--line);
}

.studio-copy p {
  color: var(--ink);
}

.studio-copy .studio-access {
  color: var(--ink);
}

/* ----------------------------------------------------------------- about --- */

.about {
  display: grid;
  border-top: 1px solid var(--line);
}

.about .section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--stack);
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(20px, 2.6vw, 34px);
}

.about .section-head p {
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 38px);
}

/* Real portraits stay still; only their edges pick up the optical finish. */
.team-grid article {
  display: grid;
  align-content: start;
}

.team-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: clamp(14px, 1.8vw, 20px);
  border: 1px solid rgba(208, 186, 139, 0.14);
  border-radius: 20px;
}

.team-grid span {
  color: var(--gold);
  min-height: 3em;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-grid h3 {
  margin: 8px 0 14px;
  font-size: 1.375rem;
}

.team-grid p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.collaborator-note {
  display: grid;
  gap: 10px;
  max-width: 74ch;
  margin-top: clamp(36px, 4.5vw, 64px);
  padding-top: clamp(22px, 2.8vw, 36px);
  border-top: 1px solid var(--line);
}

.collaborator-note p {
  color: var(--muted);
}

/* --------------------------------------------------------------- contact --- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--stack);
  align-items: start;
  border-top: 1px solid var(--line);
}

.contact-copy h2 {
  margin-bottom: clamp(12px, 1.6vw, 18px);
}

.contact-copy > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 40ch;
}

.contact-details {
  display: grid;
  justify-items: start;
  gap: clamp(16px, 2vw, 24px);
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid rgba(208, 186, 139, 0.18);
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.055), rgba(208, 186, 139, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.contact-details .contact-email {
  font-size: 1.0625rem;
}

.contact-details ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.contact-details li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 1rem;
}

.contact-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* ---------------------------------------------------------------- footer --- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px clamp(20px, 4vw, 44px);
  padding-block: clamp(32px, 4.5vw, 56px);
  padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer img {
  width: clamp(112px, 11vw, 140px);
  height: auto;
  object-fit: contain;
}

.site-footer span {
  color: var(--muted);
}

.site-footer a {
  margin-inline-start: auto;
}

/* =========================================================================
   Responsive — validated at 375 / 768 / 1440 with no horizontal overflow.
   Navigation stays visible at every width: below 701px it wraps to a second
   header row instead of collapsing behind a new hamburger.
   ========================================================================= */

@media (max-width: 1023px) {
  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-grid > * {
    padding-inline: 0;
    text-align: left;
    border-left: 0;
  }

  .tech-grid > :nth-child(even) {
    border-left: 1px solid var(--line);
    padding-inline-start: clamp(16px, 3vw, 28px);
  }

  .tech-grid > :nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 1000px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero,
  .intro,
  .about .section-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .about .section-head {
    align-items: start;
  }
}

@media (max-width: 860px) {
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  /* Second header row: brand + CTA, then the full navigation beneath */
  .site-header {
    top: 8px;
    width: calc(100% - 20px);
    margin-top: 8px;
    padding-block: 10px;
    padding-inline: 12px;
    gap: 4px 12px;
  }

  .brand img {
    width: 120px;
  }

  .brand {
    order: 1;
  }

  .nav-cta {
    order: 2;
    margin-inline-start: auto;
    padding-inline: 12px;
    font-size: 0.875rem;
  }

  .nav-links {
    order: 3;
    flex: 1 0 100%;
    justify-content: flex-start;
    gap: 4px;
  }
}

@media (max-width: 640px) {
  :root {
    --scroll-offset: 144px;
  }

  .service-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .studio-media {
    grid-template-columns: minmax(0, 1fr);
  }

  .studio-copy {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tech-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tech-grid > :nth-child(even) {
    border-left: 0;
    padding-inline-start: 0;
  }

  .hero-actions > * {
    width: 100%;
  }
}

/* =========================================================================
   Motion: optional, subtle and functional only. Content never depends on it.
   ========================================================================= */

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

  .hero-image img.has-depth,
  .studio-media img.has-depth {
    transform: none;
    border-radius: 24px;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .site-header,
  .site-header.is-scrolled {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-color: var(--line);
  }

  .button,
  .nav-cta,
  .tech-grid,
  .contact-details {
    background: var(--surface);
  }

  .hero::before {
    display: none;
  }
}
