/* ==========================================================================
   VOXA MEDIA — styles
   Palette: near-black + champagne gold, drawn from the brand mark
   ========================================================================== */

:root {
  --ink: #070708;
  --ink-2: #0b0b0d;
  --panel: #101012;
  --bone: #f2ede3;
  --muted: #97928a;
  --muted-2: #6d6963;
  --gold: #d9c193;
  --gold-2: #f3e3bd;
  --gold-deep: #b79a63;
  --line: rgba(242, 237, 227, 0.1);
  --line-2: rgba(242, 237, 227, 0.18);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --pad: clamp(20px, 4.2vw, 64px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --speed: 0.6s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p { margin: 0; }

::selection { background: var(--gold); color: #0a0a0b; }

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

.wrap {
  width: 100%;
  max-width: 1520px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-200%);
  padding: 12px 18px;
  background: var(--gold);
  color: var(--ink);
  font-size: 13px;
}
.skip:focus { transform: none; }

/* ---------- texture + ambience ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.glow {
  position: fixed;
  z-index: 0;
  top: -20vh;
  right: -10vw;
  width: 70vw;
  height: 70vw;
  pointer-events: none;
  background: radial-gradient(circle, rgba(217, 193, 147, 0.09), transparent 62%);
  filter: blur(20px);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: 2px;
  background: rgba(242, 237, 227, 0.06);
}
.scroll-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-2));
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
}

/* ---------- loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
  background: var(--ink);
  pointer-events: none;
  animation: loader-out 0.9s cubic-bezier(0.76, 0, 0.24, 1) 1.05s forwards;
}
.loader__mark {
  display: flex;
  gap: 0.06em;
  font-family: var(--display);
  font-size: clamp(40px, 8vw, 74px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--bone);
}
.loader__mark span {
  display: block;
  opacity: 0;
  transform: translateY(0.5em);
  animation: loader-letter 0.7s var(--ease) forwards;
}
.loader__mark span:nth-child(1) { animation-delay: 0.05s; }
.loader__mark span:nth-child(2) { animation-delay: 0.12s; }
.loader__mark span:nth-child(3) { animation-delay: 0.19s; }
.loader__mark span:nth-child(4) { animation-delay: 0.26s; color: var(--gold); }

.loader__bar {
  width: 120px;
  height: 1px;
  background: rgba(242, 237, 227, 0.15);
  overflow: hidden;
}
.loader__bar i {
  display: block;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  animation: loader-bar 1.1s cubic-bezier(0.6, 0, 0.2, 1) 0.1s forwards;
}

@keyframes loader-letter { to { opacity: 1; transform: none; } }
@keyframes loader-bar { to { transform: scaleX(1); } }
@keyframes loader-out { to { transform: translateY(-101%); visibility: hidden; } }

/* ---------- type helpers ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(217, 193, 147, 0.12);
  flex: none;
}

.micro {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.h2 {
  margin-top: 22px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.015em;
  font-size: 1.02em;
  color: var(--gold-2);
}
.h2--xl { font-size: clamp(40px, 6.6vw, 96px); max-width: 18ch; }

.body-lg {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.65;
  color: #cec9c0;
}
.body { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.btn svg.ico-play { fill: currentColor; stroke: none; }
.btn--gold {
  background: var(--gold);
  color: #0a0a0b;
}
.btn--gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn--gold svg { transition: transform 0.4s var(--ease); }
.btn--gold:hover svg { transform: translateX(4px); }
.btn--ghost {
  border: 1px solid var(--line-2);
  color: var(--bone);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.btn--wide { width: 100%; padding: 19px 26px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--bone);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-2);
  transition: color 0.3s, border-color 0.3s;
}
.link-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 0.4s var(--ease);
}
.link-arrow:hover { color: var(--gold); border-color: var(--gold); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px var(--pad);
  transition: padding 0.5s var(--ease), background 0.5s var(--ease),
    border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding-block: 14px;
  background: rgba(7, 7, 8, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 40px; width: auto; transition: height 0.5s var(--ease); }
.nav.is-scrolled .brand img { height: 32px; }
.brand__rule { width: 1px; height: 26px; background: var(--line-2); }
.brand__label {
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #cfcac1;
  padding-block: 6px;
  transition: color 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.45s var(--ease);
}
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.is-current { color: var(--gold-2); }
.nav__links a.is-current::after { transform: scaleX(1); }

.nav__cta { padding: 12px 20px; font-size: 12px; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 1px;
  background: var(--bone);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(0) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 110px var(--pad) 40px;
  background: radial-gradient(80% 60% at 80% 0%, #17140f, var(--ink) 60%);
  transform: translateY(-100%);
  transition: transform 0.7s var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open { transform: none; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--display);
  font-size: clamp(34px, 9vw, 54px);
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--bone);
}
.mobile-menu nav a em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.mobile-menu nav a:active { color: var(--gold); }
.mobile-menu__foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: clamp(100px, 12vh, 140px) 0 28px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 55% at 76% 26%, rgba(217, 193, 147, 0.16), transparent 62%),
    radial-gradient(50% 45% at 4% 96%, rgba(183, 154, 99, 0.08), transparent 60%),
    linear-gradient(180deg, #08080a 0%, #0a0a0c 55%, #070708 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(90deg, rgba(242, 237, 227, 0.05) 1px, transparent 1px);
  background-size: 12.5% 100%;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent);
}
.hero__rings {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -14%;
  width: min(980px, 88vw);
  aspect-ratio: 1;
  transform: translateY(-52%);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(217, 193, 147, 0.13) 0 1px, transparent 1px 80px);
  mask-image: radial-gradient(circle, #000 8%, rgba(0, 0, 0, 0.5) 45%, transparent 68%);
  opacity: 0.9;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.hero__copy { max-width: 980px; }

.hero__eyebrow { margin-bottom: clamp(22px, 3vw, 34px); }

.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, min(8.4vw, 11.2vh), 130px);
  line-height: 0.86;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.2s var(--ease) forwards;
}
.hero__title .line:nth-child(1) > span { animation-delay: 0.35s; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.45s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.55s; }
.hero__title .line:nth-child(4) > span { animation-delay: 0.65s; }

.hero__title .line--serif { padding-bottom: 0.2em; margin-bottom: -0.16em; }
.hero__title em {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: 1.06em;
  color: var(--gold-2);
}

@keyframes rise { to { transform: none; } }

.hero__lede {
  max-width: 44ch;
  margin-top: clamp(18px, 2.6vw, 30px);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.65;
  color: #b6b1a8;
  opacity: 0;
  animation: fade-in 1s var(--ease) 0.95s forwards;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 34px);
  opacity: 0;
  animation: fade-in 1s var(--ease) 1.1s forwards;
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: clamp(22px, 3.2vw, 36px);
  opacity: 0;
  animation: fade-in 1s var(--ease) 1.25s forwards;
}
.hero__tags li {
  position: relative;
  padding-left: 15px;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}
@keyframes fade-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero__foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: clamp(22px, 3.6vh, 40px);
}
.hero__foot-line { flex: 1; height: 1px; background: var(--line); }

/* ---------- ticker ---------- */
.ticker {
  position: relative;
  z-index: 2;
  padding: 16px 0;
  border-block: 1px solid var(--line);
  background: rgba(10, 10, 12, 0.6);
  overflow: hidden;
  white-space: nowrap;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span {
  padding-inline: 26px;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticker__track i { color: var(--gold); font-style: normal; font-size: 11px; align-self: center; opacity: 0.7; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- generic section ---------- */
.section { position: relative; padding: clamp(84px, 11vw, 148px) 0; }
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.72fr);
  align-items: end;
  gap: clamp(24px, 4vw, 70px);
  margin-bottom: clamp(38px, 5.5vw, 66px);
}
.section__aside {
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  padding-bottom: 6px;
}

/* ---------- work ---------- */
.work { border-bottom: 1px solid var(--line); }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(26px, 3.6vw, 42px);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.chip span {
  font-size: 9px;
  color: var(--muted-2);
  transition: color 0.3s;
}
.chip:hover { color: var(--bone); border-color: var(--line-2); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: #0a0a0b; font-weight: 500; }
.chip.is-active span { color: rgba(10, 10, 11, 0.55); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  padding-bottom: 46px;
}
.card {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  margin-top: 0;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.card:nth-child(2n) { margin-top: 46px; }
.card.is-hidden { display: none; }
.card.is-filtered-in { animation: card-in 0.55s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; } }

.card__media {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 3px;
  background: #101012;
  border: 1px solid var(--line);
  transition: border-color 0.5s;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.8s var(--ease);
  filter: grayscale(0.18) contrast(1.03);
}
.card:hover .card__media { border-color: rgba(217, 193, 147, 0.45); }
.card:hover .card__media img { transform: scale(1.06); filter: grayscale(0) contrast(1.05); }

.card__open {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(10, 10, 11, 0.45);
  border: 1px solid rgba(242, 237, 227, 0.28);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), background 0.4s, border-color 0.4s;
}
.card__open svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--bone);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card:hover .card__open,
.card:focus-visible .card__open { opacity: 1; transform: scale(1); }
.card:hover .card__open { background: var(--gold); border-color: var(--gold); }
.card:hover .card__open svg { stroke: #0a0a0b; }

.card__badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 9px;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(7, 7, 8, 0.55);
  border: 1px solid rgba(242, 237, 227, 0.22);
  color: rgba(242, 237, 227, 0.86);
  backdrop-filter: blur(8px);
  border-radius: 2px;
}
.card__meta {
  display: grid;
  gap: 3px;
  padding: 14px 2px 0;
}
.card__cat {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.card__name {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--bone);
}
.card__note { font-size: 12px; color: var(--muted-2); }

.work__foot { display: flex; justify-content: flex-end; }

/* ---------- services ---------- */
.services { border-bottom: 1px solid var(--line); }
.svc-list { border-top: 1px solid var(--line); }
.svc {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.05fr) 44px;
  align-items: center;
  gap: clamp(12px, 2vw, 34px);
  padding: clamp(22px, 2.6vw, 34px) 12px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(217, 193, 147, 0.08), rgba(217, 193, 147, 0) 65%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.svc:hover::before { opacity: 1; }
.svc__num {
  position: relative;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  transition: color 0.4s;
}
.svc__title {
  position: relative;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--bone);
  transition: color 0.4s, transform 0.5s var(--ease);
}
.svc__desc {
  position: relative;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 46ch;
}
.svc__arrow {
  position: relative;
  justify-self: end;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.5;
  transition: opacity 0.4s, border-color 0.4s, background 0.4s, transform 0.5s var(--ease);
}
.svc__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.svc:hover .svc__num { color: var(--gold); }
.svc:hover .svc__title { color: var(--gold-2); transform: translateX(6px); }
.svc:hover .svc__arrow {
  opacity: 1;
  border-color: var(--gold);
  background: var(--gold);
  color: #0a0a0b;
  transform: rotate(-45deg);
}

/* ---------- studio ---------- */
.studio {
  background: linear-gradient(180deg, #09090b, #0c0c0e 50%, #09090b);
  border-bottom: 1px solid var(--line);
}
.studio__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(36px, 6vw, 90px);
}
.studio__card {
  position: relative;
  padding: 1px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(80% 60% at 50% 20%, rgba(217, 193, 147, 0.09), transparent 65%),
    #060607;
  position: sticky;
  top: 110px;
}
.studio__card-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
  aspect-ratio: 4 / 5;
  padding: clamp(28px, 4vw, 52px);
}
.studio__card-inner img {
  width: 74%;
  height: auto;
  margin: auto;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.6));
  transition: transform 1s var(--ease);
}
.studio__card:hover img { transform: scale(1.02); }
.studio__card-foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid var(--gold);
  opacity: 0.8;
  pointer-events: none;
}
.corner--tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.corner--br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.studio__copy .h2 { margin-bottom: clamp(22px, 3vw, 34px); }
.studio__copy .body-lg { max-width: 50ch; }
.studio__copy .body { max-width: 48ch; margin-top: 16px; }

.principles {
  margin: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
}
.principles li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.principles__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
  line-height: 1.4;
}
.principles h3 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--bone);
  margin-bottom: 3px;
}
.principles p { font-size: 13px; line-height: 1.65; color: var(--muted); }

/* ---------- process ---------- */
.process { border-bottom: 1px solid var(--line); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 34px);
}
.step {
  position: relative;
  padding: 26px 0 0 24px;
  border-top: 1px solid var(--line-2);
}
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.7s var(--ease);
}
.step:hover::before { width: 100%; }
.step__num {
  display: block;
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(217, 193, 147, 0.45);
  transition: color 0.5s, -webkit-text-stroke-color 0.5s;
}
.step:hover .step__num { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.step h3 {
  margin: 18px 0 8px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.step p { font-size: 13px; line-height: 1.7; color: var(--muted); }
.step__time {
  display: inline-block;
  margin-top: 16px;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- contact ---------- */
.contact { position: relative; }
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 82% 20%, rgba(217, 193, 147, 0.1), transparent 65%);
  pointer-events: none;
}
.contact__head { position: relative; margin-bottom: clamp(38px, 5vw, 64px); }
.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.contact__info .body-lg { max-width: 38ch; }

.details { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 22px; }
.details > div { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.details dt {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.details dd {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.3;
  color: var(--bone);
}
.details dd a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.details dd a:hover { color: var(--gold-2); }
.details dd a svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.details dd > span { font-family: var(--serif); font-style: italic; }
.details dd.details__note {
  display: block;
  margin-top: 6px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.copy {
  font-family: var(--sans);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--muted);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.copy:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.copy.is-copied { color: var(--gold); border-color: var(--gold); }

.contact__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 9px 15px;
  border: 1px solid rgba(217, 193, 147, 0.28);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(217, 193, 147, 0.05);
}
.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(217, 193, 147, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 7px rgba(217, 193, 147, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 193, 147, 0); }
}

/* form */
.form {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  background: rgba(12, 12, 14, 0.7);
  backdrop-filter: blur(10px);
}
.field { display: grid; gap: 4px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--bone);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  outline: none;
  transition: border-color 0.4s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 88px; line-height: 1.6; }
.field input::placeholder,
.field textarea::placeholder { color: #5b5852; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-bottom-color: var(--gold); }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2397928a' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 22px;
  cursor: pointer;
}
.field select option { background: #0d0d0f; color: var(--bone); }
.field.is-invalid input { border-bottom-color: #d9705f; }
.field.is-invalid label { color: #d9705f; }
.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--bone);
  -webkit-box-shadow: 0 0 0 1000px #0c0c0e inset;
  transition: background-color 9999s;
}
.form .btn { margin-top: 10px; }
.form__note {
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted-2);
  text-align: center;
}
.form__note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.form__note a:hover { color: var(--gold); }
.form__note.is-sent { color: var(--gold); }
.form__note.is-error { color: #e0907f; }
.form__note.is-error a { color: var(--gold); }

.honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form__success {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: clamp(8px, 2vw, 20px) 0;
  animation: card-in 0.5s var(--ease) both;
}
.form__success[hidden] { display: none; }
.form__success h3 {
  margin-top: 6px;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.form__success p { color: var(--muted); font-size: 14px; max-width: 42ch; }
.form__success-mail { color: var(--gold) !important; font-size: 13px !important; letter-spacing: 0.04em; }
.form__success .link-arrow { margin-top: 6px; }
.form__check {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(217, 193, 147, 0.5);
  background: rgba(217, 193, 147, 0.08);
}
.form__check svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn[disabled] { opacity: 0.6; cursor: wait; pointer-events: none; }

/* ---------- frame viewer ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 40px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0s;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 5, 0.94);
  backdrop-filter: blur(14px);
}
.lightbox__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 300px);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  max-width: 1120px;
  max-height: 100%;
}
.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
}
.lightbox__stage img {
  width: auto;
  max-width: 100%;
  max-height: min(80vh, 860px);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: #0d0d0f;
}
.lightbox__meta { max-width: 300px; align-self: end; padding-bottom: 6px; }
.lightbox__meta h3 {
  margin: 8px 0 8px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}
.lightbox__meta p { color: var(--muted); font-size: 13.5px; }
.lightbox__count { display: block; margin-top: 18px; color: var(--muted-2); }
.lightbox__close {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(10, 10, 11, 0.6);
  transition: background 0.35s, border-color 0.35s;
}
.lightbox__close svg,
.lightbox__nav svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--bone);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--gold); border-color: var(--gold); }
.lightbox__close:hover svg,
.lightbox__nav:hover svg { stroke: #0a0a0b; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(10, 10, 11, 0.55);
  backdrop-filter: blur(8px);
  transition: background 0.35s, border-color 0.35s, opacity 0.35s;
}
.lightbox__nav--prev { left: -14px; }
.lightbox__nav--next { right: -14px; }
.lightbox__nav[hidden] { display: none; }
@media (hover: none) {
  .card__open { opacity: 1; transform: none; }
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  padding-top: clamp(50px, 6vw, 76px);
  background: #050506;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}
.footer__brand img { height: 54px; width: auto; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.footer__cols h3 {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer__cols a,
.footer__cols p {
  display: block;
  font-size: 13px;
  line-height: 1.9;
  color: #b3aea5;
  transition: color 0.3s;
}
.footer__cols a { overflow-wrap: anywhere; }
.footer__cols a:hover { color: var(--gold); }
.footer__cols p + p { margin-top: 12px; }

.footer__word {
  margin-top: clamp(30px, 5vw, 60px);
  font-family: var(--display);
  font-size: clamp(96px, 36vw, 420px);
  line-height: 0.72;
  letter-spacing: 0.01em;
  text-align: center;
  color: transparent;
  background: linear-gradient(180deg, rgba(242, 237, 227, 0.1), rgba(242, 237, 227, 0.015));
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  pointer-events: none;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.footer__bottom p { margin: 0; }
.footer__sign {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
}
.to-top {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--bone);
  transition: background 0.4s, color 0.4s, border-color 0.4s;
  flex: none;
}
.to-top svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.to-top:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ---------- scroll-driven reveals ---------- */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 760px) {
    .section__head,
    .filters,
    .card,
    .svc,
    .step,
    .studio__copy > *,
    .contact__head,
    .contact__info,
    .form {
      animation: reveal-up 1s linear both;
      animation-timeline: view();
      animation-range: entry 2% cover 26%;
    }
    .card:nth-child(2),
    .svc:nth-child(2),
    .step:nth-child(2) { animation-range: entry 6% cover 30%; }
    .card:nth-child(3),
    .svc:nth-child(3),
    .step:nth-child(3) { animation-range: entry 10% cover 34%; }
    .card:nth-child(4),
    .svc:nth-child(4),
    .step:nth-child(4) { animation-range: entry 14% cover 38%; }
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { gap: 24px; }
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card:nth-child(2n) { margin-top: 0; }
  .card:nth-child(3n + 2) { margin-top: 34px; }
}

@media (max-width: 980px) {
  .svc {
    grid-template-columns: 40px minmax(0, 1fr) 36px;
    gap: 10px 18px;
    padding: 24px 6px;
  }
  .svc__title { font-size: clamp(21px, 3.4vw, 27px); }
  .svc__desc { grid-column: 2 / 3; grid-row: 2; }
  .svc__arrow { grid-column: 3; grid-row: 1; width: 34px; height: 34px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }

  .hero { padding-top: 110px; }
  .hero__foot { margin-top: 44px; }
  .section__head { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .studio__grid { grid-template-columns: 1fr; }
  .studio__card { position: static; max-width: 420px; }
  .studio__card-inner { aspect-ratio: 16 / 12; }
  .studio__card-inner img { width: 62%; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .nav__links,
  .nav__cta { display: none; }
  .burger { display: block; }
  .brand__label { display: none; }
  .brand__rule { display: none; }
}

@media (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 28px; }
  .card:nth-child(3n + 2) { margin-top: 0; }
  .card:nth-child(2n) { margin-top: 28px; }
}

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 24px 0; border-top: 1px solid var(--line); }
  .step__num { font-size: 34px; }
  .step h3 { margin-top: 10px; }
  .svc {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 10px 14px;
    padding: 20px 4px;
  }
  .svc__title { font-size: 22px; }
  .svc__desc { grid-column: 2 / 3; font-size: 12.5px; }
  .svc__arrow { grid-column: 3; grid-row: 1; width: 32px; height: 32px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .footer__bottom { flex-wrap: wrap; }
  .footer__sign { order: 3; flex-basis: 100%; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .work__foot { justify-content: flex-start; }
  .lightbox__panel { grid-template-columns: minmax(0, 1fr); gap: 16px; width: 100%; }
  .lightbox__stage img { max-height: 60vh; }
  .lightbox__meta { max-width: none; padding: 0 4px; }
  .lightbox__nav--prev { left: 6px; }
  .lightbox__nav--next { right: 6px; }
  .hero__tags { gap: 8px 18px; }
  .hero__tags li { font-size: 10px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 100px; }
  .hero__actions { gap: 8px; }
  .hero__actions .btn { padding: 13px 16px; font-size: 11.5px; }
  .hero__actions .btn svg { width: 14px; height: 14px; }
  .hero__title { font-size: clamp(38px, 11.6vw, 52px); }
  .ticker__track span { font-size: 15px; padding-inline: 18px; }
  .card__name { font-size: 13.5px; }
  .card__note { font-size: 11px; }
  .details dd { font-size: 20px; }
  .footer__brand img { height: 40px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loader { display: none; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero__title .line > span,
  .hero__lede,
  .hero__actions,
  .hero__tags { opacity: 1; transform: none; }
}
