/* ============================================================
   WINGINGSTONES — standalone site
   Palette, type and components
   ============================================================ */

:root {
  --bg: #0b0b0f;
  --bg-2: #0d0d13;
  --surface: #14141b;
  --surface-2: #191922;
  --line: rgba(245, 243, 238, 0.09);
  --line-strong: rgba(245, 243, 238, 0.17);
  --text: #f5f3ee;
  --muted: #aaa7b3;
  --muted-2: #8a8794;
  --accent: #ff5a36;
  --accent-2: #ffb03a;
  --accent-soft: rgba(255, 90, 54, 0.14);
  --success: #8fe3a8;
  --danger: #ff8a76;
  --radius: 26px;
  --radius-sm: 16px;
  --container: 1240px;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 78px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  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='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.modal-open {
  overflow: hidden;
}

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

svg {
  display: block;
}

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

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--accent);
  color: #120b08;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #120b08;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left center;
}

/* ============================== TYPE ============================== */

.display {
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 6.3vw, 6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.display em,
.h2 em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.015em;
  color: var(--accent);
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.h2--xl {
  font-size: clamp(2.8rem, 5.2vw, 4.65rem);
}

.display--page {
  max-width: 1060px;
  font-size: clamp(3rem, 7.2vw, 6.7rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow__line {
  width: 28px;
  height: 1px;
  flex: none;
  background: var(--accent);
}

.tag {
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #120b08;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ============================== BUTTONS ============================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

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

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.btn--primary {
  background: var(--accent);
  color: #120b08;
  box-shadow: 0 8px 30px rgba(255, 90, 54, 0.22);
}

.btn--primary:hover {
  background: #ff704f;
  box-shadow: 0 14px 36px rgba(255, 90, 54, 0.34);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--sm {
  padding: 13px 20px;
  font-size: 11px;
}

.btn__icon {
  margin-left: -2px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.link-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================== HEADER ============================== */

.topbar {
  position: relative;
  z-index: 90;
  border-bottom: 1px solid var(--line);
  background: #08080b;
  font-size: 12px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}

.topbar__note {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d8d5dc;
  letter-spacing: 0.01em;
}

.topbar__dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 90, 54, 0.5);
  animation: pulse-dot 2.4s ease-out infinite;
}

.topbar__more {
  color: var(--accent);
  font-weight: 600;
}

.topbar__note:hover .topbar__more {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topbar__meta {
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(11, 11, 15, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 15, 0.92);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-h);
}

.brand {
  display: block;
  flex: none;
}

.brand img {
  display: block;
  width: auto;
  height: 42px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav > a:not(.btn) {
  position: relative;
  padding: 4px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  transition: color 0.2s ease;
}

.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav > a:not(.btn):hover,
.nav > a:not(.btn).is-active {
  color: var(--text);
}

.nav > a:not(.btn):hover::after,
.nav > a:not(.btn).is-active::after {
  width: 100%;
}

.nav > a[aria-current="page"] {
  color: var(--accent);
}

.nav__cta {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle__bar {
  position: absolute;
  left: 13px;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.menu-toggle__bar:nth-of-type(2) {
  top: 18px;
}

.menu-toggle__bar:nth-of-type(3) {
  top: 24px;
}

body.menu-open .menu-toggle__bar:nth-of-type(2) {
  top: 21px;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle__bar:nth-of-type(3) {
  top: 21px;
  transform: rotate(-45deg);
}

body.menu-open {
  overflow: hidden;
}

/* ============================== HERO ============================== */

.hero {
  position: relative;
  padding: clamp(54px, 7vw, 104px) 0 clamp(58px, 8vw, 112px);
  overflow: hidden;
  background: radial-gradient(1100px 640px at 78% -12%, rgba(255, 90, 54, 0.12), transparent 62%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(480px circle at var(--mx, 65%) var(--my, 30%), rgba(255, 90, 54, 0.12), transparent 65%);
  opacity: 0.85;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(40px, 6vw, 76px);
}

.hero__lead {
  max-width: 545px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 44px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column-reverse;
}

.stat dd {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat dt {
  margin-top: 7px;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__media {
  position: relative;
  width: 100%;
}

.reel {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 243, 238, 0.1);
  border-radius: 30px;
  background: #09090d;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  cursor: pointer;
}

.reel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.reel:hover img {
  transform: scale(1.04);
}

.reel__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 10, 0.04) 42%, rgba(6, 6, 10, 0.72) 100%);
}

.reel__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(11, 11, 15, 0.48);
  color: var(--text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background 0.35s ease, color 0.35s ease;
}

.reel__play svg {
  margin-left: 4px;
}

.reel:hover .reel__play {
  background: var(--accent);
  color: #120b08;
  transform: translate(-50%, -50%) scale(1.08);
}

.reel__label {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(9, 9, 13, 0.52);
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.reel__caption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(245, 243, 238, 0.9);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-align: left;
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(20, 20, 27, 0.82);
  color: #dedbe2;
  font-size: 11px;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.float-chip strong {
  color: var(--text);
}

.float-chip--one {
  top: -20px;
  right: -14px;
}

.float-chip--two {
  bottom: -18px;
  left: -20px;
}

.float-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================== MARQUEE ============================== */

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0d0d12;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee__track > span,
.marquee__track > i {
  margin-right: 28px;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__track span {
  color: #c9c6d0;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.marquee__track i {
  color: var(--accent);
  font-size: 12px;
  font-style: normal;
}

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

/* ============================== SECTIONS ============================== */

.section {
  position: relative;
  z-index: 2;
  padding: clamp(74px, 9vw, 126px) 0;
  scroll-margin-top: 94px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.section-head__aside {
  max-width: 390px;
  padding-bottom: 4px;
}

.section-head__aside p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.section-head__aside .link-arrow {
  margin-top: 16px;
}

/* ============================== WORK ============================== */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
}

.project:hover {
  border-color: rgba(255, 90, 54, 0.46);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  transform: translateY(-5px);
}

.project--feature {
  grid-column: 1 / -1;
}

.project__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project--feature .project__link {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr);
  align-items: stretch;
}

.project--reverse .project__link {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.45fr);
}

.project--reverse .project__body {
  order: -1;
}

.project__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #09090d;
}

.project--feature .project__media {
  aspect-ratio: 16 / 9;
}

.project__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 5, 8, 0.5) 100%);
}

.project__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.5s ease;
}

.project:hover .project__media img {
  transform: scale(1.05);
  filter: saturate(1.08);
}

.project__num {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(8, 8, 12, 0.55);
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  backdrop-filter: blur(10px);
}

.project__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(10, 10, 14, 0.55);
  color: var(--text);
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background 0.35s ease, color 0.35s ease;
}

.project__play svg {
  margin-left: 3px;
}

.project:hover .project__play {
  background: var(--accent);
  color: #120b08;
  transform: translate(-50%, -50%) scale(1.08);
}

.project__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 25px 27px 28px;
}

.project--feature .project__body {
  padding: clamp(28px, 3.5vw, 44px);
}

.project__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.project--feature .project__body h3 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.project__body p {
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.5;
}

.project__cue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.project:hover .project__cue {
  color: var(--accent);
}

/* ============================== AI ============================== */

.ai {
  padding-top: 0;
}

.ai__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(38px, 6vw, 76px);
  overflow: hidden;
  padding: clamp(30px, 5vw, 66px);
  border: 1px solid rgba(255, 90, 54, 0.26);
  border-radius: 34px;
  background:
    radial-gradient(900px 520px at 4% -8%, rgba(255, 90, 54, 0.2), transparent 58%),
    radial-gradient(700px 480px at 100% 110%, rgba(255, 176, 58, 0.08), transparent 60%),
    linear-gradient(145deg, #16161e 0%, #0f0f15 62%, #0c0c11 100%);
}

.ai__panel::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 90, 54, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.ai__lead {
  max-width: 490px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.ai__intro .btn {
  margin-top: 30px;
}

.ai__list {
  display: flex;
  flex-direction: column;
  align-self: center;
  border-top: 1px solid var(--line);
}

.ai__list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease);
}

.ai__list li:hover {
  padding-left: 6px;
}

.ai__num {
  padding-top: 3px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.ai__list h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.ai__list p {
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 13.5px;
  line-height: 1.55;
}

.ai__process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.ai__step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
}

.ai__step > span {
  padding-top: 2px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.ai__step h3 {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}

.ai__step p {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.5;
}

/* ============================== CRAFT ============================== */

.craft {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gallery {
  columns: 3;
  column-gap: 20px;
}

.gallery__item {
  position: relative;
  display: block;
  margin: 0 0 20px;
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  cursor: zoom-in;
}

.gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.85s var(--ease), filter 0.4s ease;
}

.gallery__item:hover img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.gallery__item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  gap: 10px;
  padding: 46px 18px 15px;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 9, 0.82));
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.gallery__item figcaption span {
  color: var(--accent);
  font-weight: 600;
}

/* ============================== SERVICES ============================== */

.service-list {
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) minmax(0, 1.15fr) 48px;
  grid-template-areas:
    "num title desc arrow"
    ". tags tags arrow";
  align-items: center;
  gap: 8px 24px;
  padding: 29px 12px;
  border-bottom: 1px solid var(--line);
  border-radius: 12px;
  transition: background 0.35s ease, padding-left 0.35s var(--ease), border-color 0.35s ease;
}

.service:hover {
  padding-left: 22px;
  border-bottom-color: rgba(255, 90, 54, 0.35);
  background: linear-gradient(90deg, rgba(255, 90, 54, 0.075), transparent 72%);
}

.service__num {
  grid-area: num;
  align-self: start;
  padding-top: 5px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.service h3 {
  grid-area: title;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  transition: transform 0.35s var(--ease);
}

.service:hover h3 {
  transform: translateX(4px);
}

.service p {
  grid-area: desc;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.service__tags {
  grid-area: tags;
  color: var(--muted-2);
  font-size: 10.5px;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.service__arrow {
  grid-area: arrow;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  font-size: 15px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.service:hover .service__arrow {
  border-color: var(--accent);
  background: var(--accent);
  color: #120b08;
  transform: rotate(45deg);
}

/* ============================== SERIES ============================== */

.series-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.series-card {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}

.series-card:hover {
  border-color: rgba(255, 90, 54, 0.4);
  transform: translateY(-4px);
}

.series-card__poster {
  width: 42%;
  flex: none;
  overflow: hidden;
  background: #09090d;
}

.series-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.series-card:hover .series-card__poster img {
  transform: scale(1.04);
}

.series-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
  padding: 28px;
}

.series-card__body h3 {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.series-card__body p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ============================== STUDIO ============================== */

.studio {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.studio__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 7vw, 92px);
}

.studio__intro > p:last-child {
  max-width: 440px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.72;
}

.studio__text {
  padding-top: 7px;
}

.studio__text > p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}

.studio__text > p + p {
  margin-top: 18px;
}

.studio blockquote {
  margin-top: 34px;
  padding: 2px 0 2px 24px;
  border-left: 2px solid var(--accent);
}

.studio blockquote p {
  color: var(--text);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(48px, 6vw, 76px);
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.stats-grid > div {
  display: flex;
  flex-direction: column-reverse;
}

.stats-grid dd {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stats-grid dt {
  margin-top: 9px;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================== PARTNERS ============================== */

.partners {
  padding: clamp(54px, 6vw, 78px) 0;
  overflow: hidden;
}

.partners__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.partners__head .eyebrow {
  margin-bottom: 0;
}

.partners__note {
  color: var(--muted-2);
  font-size: 13px;
}

.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  animation: logo-marquee 44s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-group {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}

.logo-chip {
  display: grid;
  place-items: center;
  width: 176px;
  height: 82px;
  padding: 0 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  background: #fff;
  transition: transform 0.3s var(--ease);
}

.logo-chip:hover {
  transform: translateY(-3px);
}

.logo-chip img {
  width: auto;
  max-width: 200px;
  height: auto;
  max-height: 38px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.82;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-chip:hover img {
  filter: grayscale(0);
  opacity: 1;
}

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

/* ============================== CONTACT ============================== */

.contact {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 76px);
  align-items: start;
}

.contact__lead {
  max-width: 440px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.contact-list {
  display: flex;
  flex-direction: column;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.contact-list li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list__label {
  color: var(--muted-2);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list a,
.contact-list span:last-child {
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
}

.contact-list a:hover {
  color: var(--accent);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 34px;
}

.socials a {
  display: inline-flex;
  gap: 5px;
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.socials a:hover {
  color: var(--accent);
}

/* ============================== FORMS ============================== */

.form {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.form__head {
  margin-bottom: 5px;
}

.form__head .eyebrow {
  margin-bottom: 10px;
}

.form__head h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field > span {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field > span em {
  color: var(--muted-2);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #0c0c11;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.4;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  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='%23aaa7b3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  cursor: pointer;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #66636e;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(245, 243, 238, 0.26);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #0e0e14;
  box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.15);
}

.form__submit {
  align-self: flex-start;
  margin-top: 5px;
}

.form__note {
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.5;
}

.form__status {
  display: none;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.form__status.is-visible {
  display: block;
}

.form__status.is-success {
  border-color: rgba(143, 227, 168, 0.25);
  background: rgba(143, 227, 168, 0.08);
  color: var(--success);
}

.form__status.is-error {
  border-color: rgba(255, 138, 118, 0.28);
  background: rgba(255, 138, 118, 0.08);
  color: var(--danger);
}

/* ============================== FOOTER ============================== */

.footer {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding-top: 66px;
  border-top: 1px solid var(--line);
  background: #08080b;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 60px;
  padding-bottom: 48px;
}

.footer__brand .brand img {
  height: 44px;
}

.footer__brand > p {
  max-width: 340px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 13.5px;
  line-height: 1.7;
}

.footer__brand .footer__loc {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 10.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.footer__col h2 {
  margin-bottom: 16px;
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__col a {
  color: #d6d3dc;
  font-size: 13.5px;
  transition: color 0.2s ease;
}

.footer__col a span {
  display: inline-block;
  color: var(--muted-2);
  font-size: 10px;
  transform: translateY(-1px);
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 12px;
}

.footer__bottom a {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.footer__bottom a:hover {
  color: var(--accent);
}

.footer__word {
  margin: 8px 0 -0.16em;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 14.8vw, 14rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.065em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  -webkit-text-stroke: 1px rgba(245, 243, 238, 0.09);
}

/* ============================== MODALS ============================== */

dialog {
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}

dialog::backdrop {
  background: rgba(4, 4, 7, 0.88);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.modal {
  width: min(94vw, 1100px, calc((100dvh - 150px) * 16 / 9));
}

.modal__inner,
.lightbox__inner {
  position: relative;
}

.modal__close {
  position: absolute;
  top: -52px;
  right: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.modal__close:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #120b08;
}

.modal__video {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #000;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.modal__video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.modal__caption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  text-align: center;
}

.lightbox {
  width: min(94vw, 1200px);
}

.lightbox__inner {
  text-align: center;
}

.lightbox img {
  display: block;
  max-width: 100%;
  max-height: min(78vh, calc(100dvh - 140px));
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.lightbox__caption {
  margin-top: 13px;
  color: var(--muted);
  font-size: 12.5px;
}

/* ============================== REVEAL ============================== */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 90, 54, 0.45);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(255, 90, 54, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 90, 54, 0);
  }
}

/* ============================== CAREERS ============================== */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 118px) 0 clamp(46px, 6vw, 74px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 520px at 78% -20%, rgba(255, 90, 54, 0.16), transparent 60%),
    linear-gradient(180deg, #0c0c11, var(--bg));
}

.page-hero__lead {
  max-width: 620px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.72;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(20, 20, 27, 0.55);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.meta-pill strong {
  color: var(--accent);
  font-weight: 700;
}

.jobs {
  padding: clamp(60px, 8vw, 100px) 0;
  scroll-margin-top: 94px;
}

.jobs__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.jobs__head p {
  max-width: 380px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.job-list {
  border-top: 1px solid var(--line);
}

.job {
  border-bottom: 1px solid var(--line);
}

.job summary {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 42px;
  gap: 20px;
  align-items: center;
  padding: 26px 10px;
  cursor: pointer;
  list-style: none;
  transition: padding-left 0.35s var(--ease), background 0.35s ease;
}

.job summary::-webkit-details-marker {
  display: none;
}

.job summary:hover {
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(255, 90, 54, 0.06), transparent 75%);
}

.job[open] summary {
  padding-left: 18px;
}

.job__num {
  align-self: start;
  padding-top: 5px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.job__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.job__meta {
  display: block;
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.job__toggle {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 0.35s var(--ease), background 0.3s ease, border-color 0.3s ease;
}

.job__toggle::before,
.job__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: background 0.3s ease;
}

.job__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.job[open] .job__toggle {
  border-color: var(--accent);
  background: var(--accent);
  transform: rotate(45deg);
}

.job[open] .job__toggle::before,
.job[open] .job__toggle::after {
  background: #120b08;
}

.job__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 48px;
  padding: 4px 10px 34px 76px;
  animation: job-in 0.35s var(--ease);
}

@keyframes job-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.job__col h3 {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.job__col h3 + h3 {
  margin-top: 22px;
}

.job__col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.job__col li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.job__col li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.75;
}

.job__col p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.job__apply {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.job__apply p {
  color: var(--muted-2);
  font-size: 12px;
}

.apply {
  padding: clamp(64px, 8vw, 100px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  scroll-margin-top: 94px;
}

.apply__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 78px);
  align-items: start;
}

.apply__intro > p:last-of-type {
  max-width: 420px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.apply__note {
  max-width: 420px;
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(20, 20, 27, 0.55);
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.6;
}

.apply__note a {
  color: var(--accent);
  border-bottom: 1px solid rgba(255, 90, 54, 0.35);
}

/* ============================== 404 ============================== */

.error-page {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 72vh;
  padding: clamp(60px, 9vw, 120px) 0;
  background: radial-gradient(800px 460px at 50% -10%, rgba(255, 90, 54, 0.15), transparent 65%);
  text-align: center;
}

.error-page__code {
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(7rem, 22vw, 18rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.07em;
  -webkit-text-stroke: 1px rgba(245, 243, 238, 0.18);
}

.error-page h1 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.error-page h1 em {
  color: var(--accent);
  font-family: var(--font-serif);
  font-weight: 400;
}

.error-page p {
  max-width: 440px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 15px;
}

.error-page .btn {
  margin-top: 30px;
}

/* ============================== RESPONSIVE ============================== */

@media (max-width: 1080px) {
  .hero__inner {
    gap: 44px;
  }

  .float-chip--one {
    right: 0;
  }

  .float-chip--two {
    left: 0;
  }

  .service {
    grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.15fr) 44px;
    gap: 8px 18px;
  }

  .footer__top {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  /* backdrop-filter would make the fixed nav position itself against the header */
  .site-header,
  .site-header.is-scrolled {
    background: rgba(11, 11, 15, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.menu-open .site-header {
    background: transparent;
  }

  .topbar__meta {
    display: none;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 75;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 100px 28px 40px;
    background: radial-gradient(800px 500px at 80% 0%, rgba(255, 90, 54, 0.15), transparent 60%), #0a0a0e;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-14px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s var(--ease);
  }

  body.menu-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav > a:not(.btn) {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -0.03em;
  }

  .nav > a:not(.btn)::after {
    display: none;
  }

  .nav__cta {
    display: inline-flex;
    margin-top: 26px;
  }

  .menu-toggle {
    display: block;
    z-index: 85;
  }

  .header__cta {
    display: none;
  }

  .header__inner {
    min-height: 70px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero__media {
    max-width: 650px;
    margin: 0 auto;
  }

  .hero__lead {
    max-width: 620px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .section-head__aside {
    max-width: 560px;
  }

  .project--feature .project__link,
  .project--reverse .project__link {
    grid-template-columns: 1fr;
  }

  .project--reverse .project__body {
    order: 0;
  }

  .project--feature .project__media {
    aspect-ratio: 16 / 9;
  }

  .ai__panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ai__process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  .studio__grid {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .apply__grid {
    grid-template-columns: 1fr;
  }

  .job__body {
    padding-left: 76px;
  }
}

@media (max-width: 900px) and (max-height: 640px) {
  .nav {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .display {
    font-size: clamp(2.9rem, 9vw, 4.3rem);
  }

  .h2 {
    font-size: clamp(2.1rem, 6.6vw, 2.9rem);
  }

  .h2--xl {
    font-size: clamp(2.5rem, 8vw, 3.4rem);
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .project--feature {
    grid-column: auto;
  }

  .series-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    columns: 2;
    column-gap: 14px;
  }

  .gallery__item {
    margin-bottom: 14px;
  }

  .service {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    grid-template-areas:
      "num title arrow"
      ". desc arrow"
      ". tags arrow";
    gap: 8px 14px;
    padding: 24px 8px;
  }

  .service:hover {
    padding-left: 12px;
  }

  .service p {
    margin-top: 2px;
  }

  .service__arrow {
    width: 38px;
    height: 38px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .stats-grid > div {
    display: flex;
    flex-direction: row-reverse;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }

  .stats-grid dd {
    font-size: 2rem;
  }

  .stats-grid dt {
    margin-top: 0;
  }

  .partners__head {
    flex-direction: column;
    gap: 10px;
  }

  .footer__cols {
    gap: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .job__body {
    grid-template-columns: 1fr;
    padding: 4px 10px 32px;
  }

  .job__apply {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 580px) {
  .container {
    padding: 0 18px;
  }

  .topbar__note {
    font-size: 11px;
    gap: 7px;
  }

  .topbar__more {
    display: none;
  }

  .brand img {
    height: 36px;
  }

  .header__inner {
    min-height: 64px;
  }

  .display {
    font-size: clamp(2.55rem, 11vw, 3.5rem);
  }

  .hero {
    padding-top: 44px;
  }

  .hero__lead {
    font-size: 15px;
  }

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

  .hero__cta .btn {
    width: 100%;
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .stats .stat:last-child {
    grid-column: 1 / -1;
  }

  .float-chip {
    display: none;
  }

  .reel {
    border-radius: 22px;
  }

  .reel__play {
    width: 66px;
    height: 66px;
  }

  .reel__caption {
    right: 16px;
    bottom: 16px;
    left: 16px;
    font-size: 10.5px;
  }

  .reel__label {
    top: 14px;
    left: 14px;
    font-size: 9px;
  }

  .marquee__track span {
    font-size: 10.5px;
  }

  .ai__process {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery {
    columns: 1;
  }

  .form__row,
  .form__row--three {
    grid-template-columns: 1fr;
  }

  .form__submit {
    width: 100%;
  }

  .footer__cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__word {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  .page-hero__lead {
    font-size: 15px;
  }

  .job summary {
    grid-template-columns: 34px minmax(0, 1fr) 38px;
    gap: 12px;
    padding: 22px 4px;
  }

  .job summary:hover,
  .job[open] summary {
    padding-left: 8px;
  }

  .job__title {
    font-size: 1.3rem;
  }

  .job__toggle {
    width: 36px;
    height: 36px;
  }

  .modal__close {
    top: -48px;
    right: 50%;
    transform: translateX(50%);
  }

  .modal__caption,
  .lightbox__caption {
    padding: 0 12px;
  }
}

/* ============================== MOTION PREFERENCES ============================== */

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee__track,
  .logo-track {
    animation: none;
  }
}
