:root {
  --black: #050505;
  --ink: #111111;
  --white: #ffffff;
  --paper: #f7f7f7;
  --mist: #d7d7d7;
  --muted: #767676;
  --purple: #6f318b;
  --purple-deep: #3f1854;
  --line: rgba(5, 5, 5, 0.12);
  --line-light: rgba(255, 255, 255, 0.18);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

main {
  perspective: 1600px;
}

body.intro-lock {
  overflow: hidden;
}

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

section {
  scroll-margin-top: 118px;
}

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

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: clip;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.035) 1px, transparent 1px) 0 0 / 7.5vw 7.5vw,
    var(--paper);
}

.countdown-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 48%, rgba(111, 49, 139, 0.34), transparent 28%),
    linear-gradient(135deg, #020202 0%, #101010 54%, #050505 100%);
  overflow: hidden;
  animation: intro-exit 520ms ease 3.35s forwards;
}

.countdown-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 96px 96px;
  opacity: 0.48;
}

.countdown-intro::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--purple);
  transform-origin: left;
  animation: countdown-progress 3.2s linear forwards;
}

.countdown-frame {
  position: absolute;
  inset: clamp(18px, 4vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
}

.countdown-logo {
  position: absolute;
  top: clamp(34px, 6vw, 78px);
  left: clamp(24px, 6vw, 86px);
  width: min(230px, 54vw);
  opacity: 0.86;
}

.silver-salt-logo {
  filter: invert(1) grayscale(1) contrast(1.05);
}

.countdown-numbers {
  position: relative;
  width: min(520px, 82vw);
  height: min(420px, 58vh);
  display: grid;
  place-items: center;
  font-family: "Archivo", Arial, sans-serif;
  font-size: clamp(9rem, 27vw, 24rem);
  font-weight: 800;
  line-height: 0.8;
}

.countdown-numbers span {
  position: absolute;
  opacity: 0;
  transform: scale(0.62);
  animation: countdown-number 900ms cubic-bezier(0.2, 0, 0, 1) both;
  text-shadow: 0 0 54px rgba(111, 49, 139, 0.45);
}

.countdown-numbers span:nth-child(2) {
  animation-delay: 1s;
}

.countdown-numbers span:nth-child(3) {
  animation-delay: 2s;
}

.countdown-intro p {
  position: absolute;
  bottom: clamp(54px, 8vw, 94px);
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.countdown-skip {
  position: absolute;
  right: clamp(24px, 6vw, 86px);
  bottom: clamp(24px, 5vw, 54px);
  min-height: 38px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.countdown-intro.is-done {
  display: none;
}

@keyframes countdown-number {
  0% {
    opacity: 0;
    transform: scale(0.62);
    filter: blur(14px);
  }
  22%,
  68% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: scale(1.28);
    filter: blur(8px);
  }
}

@keyframes countdown-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes intro-exit {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.topbar {
  position: fixed;
  inset: 18px 24px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(5, 5, 5, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(156px, 14vw, 210px);
  opacity: 0.92;
}

.brand-logo {
  width: 100%;
  height: auto;
}

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

.nav-item {
  position: relative;
  padding-block: 8px;
}

.nav-item::after {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 18px;
  content: "";
}

.main-nav .nav-link {
  padding: 9px 11px;
  color: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 700;
}

.main-nav .nav-link:hover,
.nav-item:focus-within .nav-link,
.nav-item:hover .nav-link {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 30;
  display: grid;
  width: max-content;
  min-width: 250px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(112, 46, 139, 0.18), transparent 48%),
    rgba(15, 15, 15, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 2px solid var(--purple);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.66);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  color: var(--white);
  background: rgba(112, 46, 139, 0.28);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.section-dark {
  color: var(--white);
  background: var(--black);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 142px clamp(22px, 6vw, 86px) 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 24%, rgba(111, 49, 139, 0.35), transparent 30%),
    radial-gradient(circle at 18% 74%, rgba(142, 106, 174, 0.2), transparent 34%),
    linear-gradient(135deg, #050505 0%, #111111 48%, #070707 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.42), rgba(5, 5, 5, 0.12) 52%, rgba(5, 5, 5, 0.34)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.76), transparent 42%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cinema-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.92;
  pointer-events: none;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -18% -10% -8% auto;
  z-index: 1;
  width: min(62vw, 780px);
  background: url("assets/silver-salt-logo.png") center / contain no-repeat;
  opacity: 0.1;
  filter: invert(1) grayscale(1);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(115deg, transparent 0 47%, rgba(255, 255, 255, 0.08) 47.1% 47.35%, transparent 47.45%),
    linear-gradient(160deg, transparent 0 61%, rgba(111, 49, 139, 0.28) 61.1% 61.45%, transparent 61.55%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 96px);
}

.hero-still {
  position: absolute;
  z-index: 1;
  display: none;
  object-fit: cover;
  filter: grayscale(0.28) contrast(1.08);
  box-shadow: var(--shadow);
}

.hero-still-one {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.52;
}

.hero-still-two {
  right: clamp(18px, 6vw, 90px);
  top: 16vh;
  width: min(34vw, 460px);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-still-three {
  right: clamp(44px, 14vw, 220px);
  bottom: 9vh;
  width: min(28vw, 360px);
  aspect-ratio: 5 / 3.5;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.hero-logo-card {
  position: absolute;
  top: clamp(118px, 13vh, 150px);
  left: clamp(22px, 6vw, 86px);
  z-index: 3;
  width: min(118px, 26vw);
  opacity: 0.88;
}

.hero-logo-card img {
  width: 100%;
  height: auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: #cfb0de;
}

h1,
h2,
h3 {
  font-family: "Archivo", Arial, sans-serif;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(3.15rem, 7.2vw, 6.8rem);
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(2.55rem, 6vw, 6.4rem);
  text-transform: uppercase;
}

h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
}

p {
  line-height: 1.7;
}

.hero-lede {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.55vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--purple);
  border-color: var(--purple);
}

.btn span {
  margin-left: 6px;
}

.btn-primary:hover {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.hero-strip {
  position: absolute;
  left: clamp(22px, 6vw, 86px);
  right: clamp(22px, 6vw, 86px);
  bottom: 22px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
}

.hero-strip span {
  padding: 16px 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.intro-section,
.work-section,
.ai-section,
.contact-section {
  padding: clamp(76px, 10vw, 132px) clamp(22px, 6vw, 86px);
}

.intro-section {
  padding-top: clamp(46px, 6vw, 78px);
  padding-bottom: clamp(52px, 7vw, 86px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(24px, 5vw, 66px);
  align-items: start;
}

.intro-section h2 {
  max-width: 720px;
  font-size: clamp(2rem, 4.1vw, 4.15rem);
}

.intro-copy {
  max-width: 640px;
  color: #333333;
  font-size: 1.02rem;
}

.intro-copy p:first-child {
  margin-top: 0;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(24px, 3.2vw, 38px);
  background: var(--line);
  border: 1px solid var(--line);
}

.metric-row div {
  min-height: 96px;
  padding: 18px;
  background: var(--paper);
}

.metric-row strong {
  display: block;
  margin-bottom: 12px;
  color: var(--purple);
  font-family: "Archivo", Arial, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2.7rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.metric-row span {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.services,
.client-section,
.process-section {
  padding: clamp(76px, 10vw, 132px) clamp(22px, 6vw, 86px);
}

.services {
  padding-top: clamp(34px, 4.4vw, 58px);
  padding-bottom: clamp(44px, 5.6vw, 74px);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: clamp(36px, 6vw, 72px);
}

.section-head h2 {
  max-width: 920px;
}

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

.services .section-head h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4.1vw, 4.05rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.service-card {
  min-height: 315px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 3vw, 34px);
  background: #0c0c0c;
  transform-style: preserve-3d;
  transition: transform 220ms ease, background 220ms ease;
}

.service-card:hover,
.process-list li:hover,
.brief-form:hover {
  transform: translate3d(0, -6px, 18px) rotateX(1deg);
}

.service-card span,
.process-list span {
  color: #cfb0de;
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.service-card p {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.service-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.45;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 18px;
}

.service-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
  content: "";
}

.work-head {
  align-items: start;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 430px;
}

.filter-btn {
  min-height: 38px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.filter-btn.is-active,
.filter-btn:hover {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

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

.work-card {
  position: relative;
  min-height: 360px;
  background: var(--black);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 200ms ease, opacity 200ms ease;
}

.work-card.is-hidden {
  display: none;
}

.work-card:hover {
  transform: translateY(-4px);
}

.work-card a,
.work-card img {
  width: 100%;
  height: 100%;
}

.work-card a {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}

.work-card img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.74;
  transition: transform 500ms ease, opacity 200ms ease;
}

.work-card:hover img {
  transform: scale(1.045);
  opacity: 0.58;
}

.work-card a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.18) 70%);
}

.work-card div,
.work-tag {
  position: relative;
  z-index: 2;
}

.work-card div {
  padding: 0 18px 20px;
}

.work-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.work-tag {
  align-self: flex-start;
  margin: 18px;
  padding: 8px 10px;
  color: var(--white);
  background: rgba(111, 49, 139, 0.86);
  border-radius: var(--radius);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-work {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 736px;
}

.feature-work h3 {
  font-size: clamp(2.1rem, 4vw, 4.9rem);
}

.ai-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(112, 46, 139, 0.34), transparent 30%),
    radial-gradient(circle at 8% 88%, rgba(74, 32, 93, 0.2), transparent 34%),
    #070707;
}

.ai-head {
  align-items: end;
}

.ai-head h2 {
  max-width: 820px;
  font-size: clamp(2.4rem, 5.2vw, 5.8rem);
}

.ai-intro {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
}

.ai-film-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 38px);
  max-width: 1120px;
  margin: 0 auto;
}

.ai-film-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(190px, 0.56fr);
  min-height: 560px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.ai-film-card:hover {
  border-color: rgba(207, 176, 222, 0.48);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  transform: translateY(-6px);
}

.ai-video-frame {
  position: relative;
  min-height: 560px;
  background: #020202;
  overflow: hidden;
}

.ai-video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ai-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 8px 10px;
  color: var(--white);
  background: rgba(17, 17, 17, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-film-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 3vw, 34px);
}

.ai-film-copy > span {
  margin-bottom: 20px;
  color: #cfb0de;
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ai-film-copy h3 {
  font-size: clamp(1.55rem, 2.3vw, 2.6rem);
  text-transform: uppercase;
}

.ai-film-copy p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
}

.client-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(112, 46, 139, 0.18), transparent 32%),
    linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
}

.client-section .section-head h2 {
  max-width: 780px;
  font-size: clamp(1.9rem, 3.2vw, 3.35rem);
  line-height: 1;
}

.client-name-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.client-name-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 18px;
  color: rgba(255, 255, 255, 0.8);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  font-family: "Archivo", Arial, sans-serif;
  font-size: clamp(0.92rem, 1.3vw, 1.18rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  transform-style: preserve-3d;
  transition: transform 220ms ease, border-color 220ms ease, color 220ms ease, background 220ms ease;
}

.client-name-row span:hover {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(112, 46, 139, 0.24), rgba(255, 255, 255, 0.04));
  border-color: rgba(142, 106, 174, 0.45);
  transform: translate3d(0, -5px, 16px);
}


.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.process-list li {
  min-height: 360px;
  padding: 28px;
  background: #0c0c0c;
  transform-style: preserve-3d;
  transition: transform 220ms ease, background 220ms ease;
}

.process-list h3 {
  margin-top: 88px;
}

.process-list p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 7vw, 86px);
  align-items: stretch;
}

.contact-copy p:not(.eyebrow) {
  max-width: 620px;
  color: #333333;
  font-size: 1.06rem;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-details a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.contact-details a:hover {
  color: var(--white);
  background: var(--purple);
  border-color: var(--purple);
}

.brief-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-self: stretch;
  padding: clamp(22px, 3vw, 34px);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(112, 46, 139, 0.2), transparent 44%),
    var(--black);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.16);
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row-full,
.brief-form .form-row:nth-of-type(3),
.brief-form .btn,
.form-note {
  grid-column: 1 / -1;
}

.form-row label {
  color: #cfb0de;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  outline: none;
  font: inherit;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.form-row textarea {
  min-height: 220px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(207, 176, 222, 0.82);
  box-shadow: 0 0 0 3px rgba(112, 46, 139, 0.22);
}

.form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.88rem;
}

.contact-panel {
  align-self: end;
  padding: 28px;
  color: var(--white);
  background: var(--black);
  border-radius: var(--radius);
}

.contact-panel span {
  color: #cfb0de;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-panel h3 {
  margin-top: 18px;
  font-size: clamp(1.8rem, 3.7vw, 4.2rem);
  text-transform: uppercase;
}

.panel-logo {
  width: min(220px, 100%);
  height: auto;
  margin-top: 18px;
  opacity: 0.92;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-panel .btn {
  margin-top: 18px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-clapper {
  --clapper-y: 0px;
  --clapper-tilt: -3deg;
  position: fixed;
  right: -24px;
  top: 62vh;
  z-index: 45;
  display: grid;
  place-items: center;
  width: clamp(68px, 6.2vw, 88px);
  height: clamp(68px, 6.2vw, 88px);
  color: var(--white);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(10, 10, 10, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px 0 0 999px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(112, 46, 139, 0.18);
  backdrop-filter: blur(16px);
  transform: translate3d(0, calc(-50% + var(--clapper-y)), 0) rotate(var(--clapper-tilt));
  transform-origin: 78% 50%;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  animation: clapper-float 4.8s ease-in-out infinite;
}

.floating-clapper img {
  width: 74%;
  height: 74%;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.floating-clapper span {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  padding: 9px 12px;
  color: var(--white);
  background: rgba(12, 12, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.floating-clapper:hover,
.floating-clapper:focus-visible {
  border-color: rgba(142, 106, 174, 0.62);
  box-shadow: 0 26px 66px rgba(112, 46, 139, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.floating-clapper:hover span,
.floating-clapper:focus-visible span {
  opacity: 1;
  transform: translate(0, -50%);
}

@keyframes clapper-float {
  0%,
  100% {
    margin-top: -8px;
  }

  50% {
    margin-top: 8px;
  }
}

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

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

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

  .client-name-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ai-film-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .hero-still-two {
    width: 42vw;
    opacity: 0.72;
  }

  .hero-still-three {
    display: none;
  }
}

@media (max-width: 760px) {
  section {
    scroll-margin-top: 152px;
  }

  .countdown-logo {
    width: 176px;
  }

  .topbar {
    inset: 10px 10px auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 10px;
  }

  .brand-mark {
    width: 148px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  .floating-clapper {
    right: -16px;
    top: auto;
    bottom: 96px;
    width: 58px;
    height: 58px;
  }

  .floating-clapper span {
    display: none;
  }

  .nav-item {
    padding-block: 0;
  }

  .main-nav .nav-link {
    padding-inline: 6px;
    font-size: 0.75rem;
  }

  .nav-dropdown,
  .nav-item::after {
    display: none;
  }

  .hero {
    min-height: 94vh;
    padding: 188px 18px 108px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.58)),
      linear-gradient(0deg, rgba(5, 5, 5, 0.9), transparent 42%);
  }

  .hero-still-two {
    right: -18vw;
    top: 18vh;
    width: 76vw;
    opacity: 0.45;
  }

  h1 {
    font-size: clamp(2.55rem, 10.6vw, 3.05rem);
    line-height: 1;
  }

  .hero-logo-card {
    top: 178px;
    left: 18px;
    width: 104px;
  }

  h2 {
    font-size: clamp(2.3rem, 12vw, 4.1rem);
  }

  .hero-strip {
    left: 18px;
    right: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-strip span {
    padding-top: 10px;
  }

  .hero-strip span:nth-child(n + 5) {
    display: none;
  }

  .hero-lede {
    max-width: 34ch;
    font-size: 1rem;
  }

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

  .brief-form {
    grid-template-columns: 1fr;
  }

  .metric-row,
  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .client-name-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .client-name-row span {
    min-height: 62px;
    padding: 14px 12px;
    font-size: 0.7rem;
  }

  .section-head,
  .work-head {
    display: block;
  }

  .filter-bar {
    justify-content: flex-start;
    margin-top: 24px;
  }

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

  .ai-film-card {
    grid-template-columns: 1fr;
  }

  .ai-video-frame {
    min-height: 0;
    aspect-ratio: 9 / 16;
  }

  .ai-film-copy {
    min-height: 230px;
  }

  .feature-work {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 460px;
  }

  .work-card {
    min-height: 420px;
  }

  .process-list h3 {
    margin-top: 50px;
  }
}

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

  .countdown-intro {
    animation-delay: 450ms;
  }

  .countdown-numbers span {
    animation-duration: 1ms !important;
  }

  .floating-clapper {
    animation: none;
  }

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