:root {
  --paper: #f4f1ea;
  --paper-soft: #ebe6dc;
  --ink: #050505;
  --muted: #6f6b64;
  --line: rgba(5, 5, 5, 0.14);
  --charcoal: #111;
  --font-body: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  overflow-x: hidden;
}

a { color: inherit; }

[hidden] { display: none !important; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(244,241,234,0.9), rgba(244,241,234,0));
}

.brand,
.site-nav a {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 22px;
}

.hero-section {
  min-height: 70svh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 108px clamp(16px, 4.8vw, 70px) 50px;
}

.studio-label,
.section-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 1060px;
  width: 100%;
  margin: 0 auto;
  font-size: clamp(46px, 6vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.hero-line {
  display: block;
  overflow: hidden;
}

.line-two span {
  display: inline-block;
}

.impossible-word {
  opacity: 0.12;
  animation: impossiblePulse 5.8s cubic-bezier(0.45, 0, 0.25, 1) 1.2s infinite;
}

.hero-subtitle {
  width: 100%;
  max-width: 720px;
  margin: 28px auto 0;
  color: #1f1f1f;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.45;
}

.work-section,
.contact-section {
  padding: 72px clamp(16px, 4.8vw, 70px);
}

.section-header {
  display: block;
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.section-header .section-kicker {
  margin-bottom: 16px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4.8vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.contact-copy h2 span {
  display: block;
}

.reel-carousel {
  position: relative;
}

.reel-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reel-grid::-webkit-scrollbar {
  display: none;
}

.reel-card {
  flex: 0 0 calc((100% - 48px) / 4);
  min-width: 0;
  scroll-snap-align: start;
}

.reel-arrow {
  position: absolute;
  top: 38%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(5, 5, 5, 0.16);
  border-radius: 50%;
  background: rgba(244, 241, 234, 0.9);
  color: var(--ink);
  font: inherit;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(5, 5, 5, 0.12);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.reel-arrow:hover {
  background: rgba(255, 255, 255, 0.96);
  transform: translateY(-1px);
}

.reel-arrow:disabled {
  cursor: default;
  opacity: 0;
  pointer-events: none;
}

.reel-arrow--prev {
  left: -18px;
}

.reel-arrow--next {
  right: -18px;
}

.phone-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 30px;
  background: #111;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    0 24px 48px rgba(5,5,5,0.16);
}

.phone-frame::before {
  position: absolute;
  content: "";
  inset: 12px 34% auto;
  z-index: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  pointer-events: none;
}

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

.reel-meta {
  padding: 16px 2px 0;
}

.reel-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.reel-meta h3 {
  margin: 7px 0 8px;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.reel-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-section--ready .contact-copy,
.contact-section--ready .lead-form {
  opacity: 0;
  transform: translateY(18px);
}

.contact-section--ready.is-visible .contact-copy,
.contact-section--ready.is-visible .lead-form {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.22, 1);
}

.contact-section--ready.is-visible .lead-form {
  transition-delay: 110ms;
}

.contact-intro,
.audience-line,
.direction-note {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-intro {
  margin: 22px 0 0;
  font-size: 18px;
}

.audience-line {
  margin: 18px 0 0;
  color: #2b2a27;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.8;
  text-transform: uppercase;
}

.pricing-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 28px 0 0;
}

.pricing-row div {
  padding: 18px;
  border: 1px solid rgba(5, 5, 5, 0.18);
  background: rgba(255,255,255,0.28);
}

.pricing-row span,
.pricing-row strong {
  display: block;
  text-transform: uppercase;
}

.pricing-row span {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.pricing-row strong {
  color: var(--ink);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.pricing-row em {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.45;
}

.direction-note {
  margin: 24px 0 0;
  font-size: 16px;
}

.direction-note strong {
  color: var(--ink);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,0.35);
  transform-origin: center;
}

.lead-form.form-attention-tilt {
  animation: formAttentionTilt 660ms ease-in-out 1;
}

.lead-form[hidden],
.success-card[hidden] {
  display: none;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  transition: transform 180ms ease;
}

.lead-form span {
  color: #232323;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.lead-form label:hover,
.lead-form label:focus-within {
  transform: translateY(-1px);
}

.lead-form label:hover > span,
.lead-form label:focus-within > span,
.lead-form label:hover .label-row > span:first-child,
.lead-form label:focus-within .label-row > span:first-child {
  color: var(--ink);
}

.lead-form .label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.lead-form .optional-tag {
  color: rgba(35, 35, 35, 0.42);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(5,5,5,0.18);
  border-radius: 16px;
  background: rgba(244,241,234,0.72);
  color: var(--ink);
  font: inherit;
  padding: 15px 16px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.lead-form textarea {
  resize: vertical;
  min-height: 140px;
}

.lead-form input:hover,
.lead-form select:hover,
.lead-form textarea:hover {
  border-color: rgba(5,5,5,0.34);
  background: rgba(244,241,234,0.88);
  box-shadow: 0 10px 24px rgba(122, 86, 38, 0.08);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: rgba(5,5,5,0.54);
  background: rgba(244,241,234,0.94);
  box-shadow:
    0 0 0 4px rgba(205, 166, 99, 0.18),
    0 14px 30px rgba(122, 86, 38, 0.11);
}

.form-submit {
  position: relative;
  isolation: isolate;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(5, 5, 5, 0.18);
  transition:
    box-shadow 220ms ease,
    transform 220ms ease,
    background-color 220ms ease;
}

.form-submit::before {
  position: absolute;
  content: "";
  inset: -13px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(218, 181, 110, 0.24), rgba(218, 181, 110, 0));
  opacity: 0;
  transform: scale(0.92);
  animation: buttonHalo 3.8s ease-in-out infinite;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 34px rgba(5, 5, 5, 0.22),
    0 0 34px rgba(218, 181, 110, 0.2);
}

.form-submit:hover::before {
  opacity: 0.65;
  transform: scale(1.03);
}

.form-submit:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 10px 22px rgba(5, 5, 5, 0.2);
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.form-status {
  min-height: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.form-status.is-error {
  color: #9e2f22;
}

.form-status.is-success {
  padding: 16px;
  border: 1px solid rgba(5,5,5,0.14);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255,255,255,0.42);
}

.success-card {
  min-height: 100%;
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid rgba(5, 5, 5, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.58), rgba(255,255,255,0.22)),
    rgba(244,241,234,0.76);
  box-shadow:
    0 24px 60px rgba(5, 5, 5, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.72);
  opacity: 0;
  transform: translateY(12px);
  outline: none;
}

.success-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 540ms ease,
    transform 540ms cubic-bezier(0.2, 0.8, 0.22, 1);
}

.success-card > p:first-child {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.success-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 5.2vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.success-card h3 span {
  display: block;
}

.success-card > p:last-child {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(16px, 4.8vw, 70px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

@keyframes impossiblePulse {
  0%,
  60%,
  100% {
    opacity: 0.12;
  }

  18%,
  42% {
    opacity: 1;
  }
}

@keyframes buttonHalo {
  0%,
  68%,
  100% {
    opacity: 0;
    transform: scale(0.92);
  }

  78% {
    opacity: 0.55;
    transform: scale(1.03);
  }

  90% {
    opacity: 0;
    transform: scale(1.14);
  }
}

@keyframes formAttentionTilt {
  0%,
  100% {
    transform: rotate(0deg);
  }

  48% {
    transform: rotate(12deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .impossible-word {
    opacity: 1;
  }

  .form-submit::before {
    animation: none;
    opacity: 0;
  }

  .lead-form.form-attention-tilt {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .reel-card {
    flex-basis: calc((100% - 32px) / 3);
  }
}

@media (max-width: 780px) {
  .site-nav {
    display: none;
  }

  .hero-section {
    min-height: 68svh;
    padding-top: 104px;
  }

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

  .contact-copy {
    position: static;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .pricing-row {
    grid-template-columns: 1fr;
  }

  .reel-card {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 11px;
  }

  .hero-title {
    font-size: clamp(42px, 13.8vw, 66px);
    line-height: 0.9;
    letter-spacing: -0.07em;
  }

  .hero-subtitle {
    margin-top: 26px;
    font-size: 18px;
  }

  .work-section,
  .contact-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .reel-grid {
    gap: 14px;
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .reel-card {
    flex: 0 0 78%;
  }

  .reel-arrow {
    top: 34%;
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .reel-arrow--prev {
    left: 2px;
  }

  .reel-arrow--next {
    right: 2px;
  }

  .site-footer {
    flex-direction: column;
  }
}
