:root {
  --bg: #f8ef64;
  --paper: #fffdf6;
  --ink: #111111;
  --red: #ff5b4d;
  --blue: #5f7bff;
  --green: #c7ff58;
  --pink: #ff8fd8;
  --shadow: 8px 8px 0 var(--ink);
  --border: 4px solid var(--ink);
  --content-width: min(1180px, calc(100vw - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", "Avenir Next", sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  isolation: isolate;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border: var(--border);
}

body::before {
  width: 240px;
  height: 240px;
  top: 28px;
  right: -48px;
  background: var(--red);
  transform: rotate(12deg);
}

body::after {
  width: 320px;
  height: 160px;
  left: -60px;
  bottom: 32px;
  background: var(--blue);
  transform: rotate(-9deg);
}

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

p {
  margin: 0;
}

.page-shell {
  position: relative;
  width: 100%;
  padding-bottom: 34px;
}

.site-header,
.hero,
.metrics,
.section,
.site-footer {
  width: var(--content-width);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 18px 22px;
  background: var(--paper);
  border: var(--border);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-transform: lowercase;
}

.brand-rec,
h1,
h2,
h3,
.button,
.metric-value,
.site-nav,
.poster-tag,
.poster-time,
.hero-chip,
.site-footer {
  font-family: "Arial Black", "Impact", sans-serif;
}

.brand-rec {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  letter-spacing: -0.08em;
  line-height: 1;
}

.brand-text {
  transform: translateY(-1px);
}

.brand-dot {
  margin-right: 2px;
  color: var(--red);
  font-size: 1.2em;
  line-height: 0.8;
  animation: rec-pulse 1.6s steps(2, end) infinite;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-nav a {
  padding: 10px 14px;
  border: var(--border);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.site-nav a:nth-child(1) {
  background: var(--green);
}

.site-nav a:nth-child(2) {
  background: var(--paper);
}

.site-nav a:nth-child(3) {
  background: var(--blue);
  color: var(--paper);
}

.site-nav a:nth-child(4) {
  background: var(--pink);
}

.site-nav a:nth-child(5) {
  background: var(--red);
  color: var(--paper);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: start;
  gap: 22px;
  padding-top: 24px;
}

.hero-copy,
.hero-card,
.metrics article,
.gallery-card,
.service-card,
.journal-grid article,
.contact-card {
  border: var(--border);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  padding: 28px;
  background: var(--paper);
}

.hero-copy::after {
  content: "BRAND FILMS / LIVE / DIGITAL";
  position: absolute;
  right: 20px;
  bottom: 18px;
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 12px;
  background: var(--green);
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: "Arial Black", "Impact", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  overflow-wrap: anywhere;
  hyphens: auto;
}

h2 {
  max-width: 17ch;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  overflow-wrap: anywhere;
  hyphens: auto;
}

h3 {
  font-size: 1.38rem;
}

.hero-text,
.gallery-copy p,
.service-card p,
.journal-grid p,
.contact-list,
.metric-label {
  font-size: 1rem;
  line-height: 1.52;
}

.hero-text {
  max-width: 42ch;
  margin-top: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: var(--border);
  box-shadow: 6px 6px 0 var(--ink);
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button-primary {
  background: var(--red);
  color: var(--paper);
}

.button-secondary {
  background: var(--blue);
  color: var(--paper);
}

.hero-card {
  padding: 16px;
  background: var(--pink);
  transform: rotate(-2deg);
}

.hero-screen {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--paper);
  border: var(--border);
}

.hero-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ink) 0 0),
    linear-gradient(var(--ink) 0 0);
  background-size: 100% 4px, 4px 100%;
  background-repeat: no-repeat;
  background-position: center 46%, 54% center;
  opacity: 0.14;
}

.hero-hud {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chip {
  padding: 8px 10px;
  border: 3px solid var(--ink);
  background: var(--paper);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-chip-rec {
  background: var(--red);
  color: var(--paper);
}

.hero-frame-lines {
  position: absolute;
  inset: 16px;
  border: 3px solid var(--ink);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  top: 18%;
  right: 14%;
  width: 190px;
  height: 190px;
  background: var(--green);
  border: var(--border);
  box-shadow: 8px 8px 0 var(--ink);
  border-radius: 50%;
}

.hero-wave {
  position: absolute;
  left: 10%;
  right: 10%;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.hero-wave-primary {
  bottom: 34%;
  height: 16px;
  background: var(--blue);
  transform: rotate(-10deg);
}

.hero-wave-secondary {
  bottom: 24%;
  height: 22px;
  background: var(--red);
  transform: rotate(6deg);
}

.hero-timeline {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.timeline-mark {
  height: 18px;
  border: 3px solid var(--ink);
  background: var(--paper);
}

.timeline-mark-active {
  background: var(--green);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 20px;
}

.metrics article {
  padding: 22px;
}

.metrics article:nth-child(1) {
  background: var(--red);
  color: var(--paper);
}

.metrics article:nth-child(2) {
  background: var(--blue);
  color: var(--paper);
}

.metrics article:nth-child(3) {
  background: var(--green);
}

.metrics article:nth-child(1) .metric-label,
.metrics article:nth-child(2) .metric-label {
  color: rgba(255, 253, 246, 0.92);
}

.metric-value {
  display: block;
  margin-bottom: 8px;
  font-size: 2.5rem;
  line-height: 1;
}

.section {
  padding-top: 24px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.gallery-card {
  overflow: hidden;
  background: var(--paper);
}

.gallery-card-large {
  grid-row: span 2;
}

.poster {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-bottom: var(--border);
}

.poster::before,
.poster::after {
  content: "";
  position: absolute;
  border: var(--border);
}

.poster-brand {
  background: var(--blue);
}

.poster-brand::before {
  top: 24px;
  left: 28px;
  width: 180px;
  height: 180px;
  background: var(--green);
  transform: rotate(12deg);
}

.poster-brand::after {
  right: -18px;
  bottom: 52px;
  width: 72%;
  height: 24px;
  background: var(--paper);
  transform: rotate(-12deg);
}

.poster-live {
  background: var(--green);
}

.poster-live::before {
  top: 32px;
  right: 24px;
  width: 140px;
  height: 140px;
  background: var(--red);
  border-radius: 50%;
}

.poster-live::after {
  left: 18px;
  bottom: 28px;
  width: 68%;
  height: 64px;
  background: var(--paper);
}

.poster-social {
  background: var(--paper);
}

.poster-social::before {
  top: 26px;
  left: 20px;
  width: 72%;
  height: 34px;
  background: var(--ink);
}

.poster-social::after {
  right: 24px;
  bottom: 24px;
  width: 110px;
  height: 110px;
  background: var(--red);
  transform: rotate(18deg);
}

.gallery-card-large .poster {
  min-height: 420px;
}

.poster-tag,
.poster-time {
  position: absolute;
  z-index: 1;
  padding: 8px 10px;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.poster-tag {
  top: 18px;
  left: 18px;
}

.poster-time {
  right: 18px;
  bottom: 18px;
}

.gallery-copy {
  padding: 18px 20px 22px;
}

.gallery-copy p,
.service-card p,
.journal-grid p {
  margin-top: 10px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  align-items: start;
}

.split-section > .section-heading {
  margin: 0;
  padding: 22px;
  background: var(--green);
  border: var(--border);
  box-shadow: var(--shadow);
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-card {
  padding: 22px;
}

.service-card:nth-child(1) {
  background: var(--paper);
}

.service-card:nth-child(2) {
  background: var(--blue);
  color: var(--paper);
}

.service-card:nth-child(2) p {
  color: rgba(255, 253, 246, 0.92);
}

.service-card:nth-child(3) {
  background: var(--pink);
}

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

.journal-grid article {
  padding: 22px;
  background: var(--paper);
}

.journal-grid article:nth-child(2) {
  background: var(--red);
  color: var(--paper);
}

.journal-grid article:nth-child(2) p {
  color: rgba(255, 253, 246, 0.92);
}

.journal-grid article:nth-child(3) {
  background: var(--blue);
  color: var(--paper);
}

.journal-grid article:nth-child(3) p {
  color: rgba(255, 253, 246, 0.92);
}

.status-section {
  padding-bottom: 8px;
}

.status-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 20px;
  padding: 24px;
  background: var(--blue);
  border: var(--border);
  box-shadow: var(--shadow);
  color: var(--paper);
}

.status-card .eyebrow {
  background: var(--paper);
  color: var(--ink);
}

.status-copy h2 {
  max-width: 12ch;
}

.status-text {
  max-width: 40ch;
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.52;
}

.status-form {
  display: grid;
  align-content: start;
  gap: 12px;
}

.status-label {
  font-family: "Arial Black", "Impact", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-input,
.status-message {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: var(--border);
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: "Courier New", monospace;
  font-size: 1rem;
  font-weight: 700;
}

.status-input::placeholder {
  color: rgba(17, 17, 17, 0.6);
}

.status-input:focus {
  outline: none;
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.status-button {
  width: 100%;
  justify-content: center;
  background: var(--green);
  color: var(--ink);
}

.status-message {
  display: none;
  align-items: center;
}

.status-message[data-state="error"],
.status-message[data-state="empty"] {
  display: flex;
}

.status-message[data-state="error"] {
  background: var(--red);
  color: var(--paper);
}

.status-message[data-state="empty"] {
  background: var(--pink);
}

.contact-section {
  padding-bottom: 8px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 20px;
  padding: 24px;
  background: var(--red);
  color: var(--paper);
}

.contact-card .eyebrow {
  background: var(--paper);
  color: var(--ink);
}

.contact-card h2 {
  max-width: 12ch;
}

.contact-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.contact-list span,
.contact-list a {
  display: block;
  padding: 12px 14px;
  background: var(--paper);
  color: var(--ink);
  border: var(--border);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: "Courier New", monospace;
  font-size: 0.96rem;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 18px 22px;
  background: var(--green);
  border: var(--border);
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-up 500ms ease forwards;
}

.hero.reveal {
  animation-delay: 100ms;
}

.metrics.reveal {
  animation-delay: 180ms;
}

#collection.reveal {
  animation-delay: 240ms;
}

#services.reveal {
  animation-delay: 320ms;
}

#journal.reveal {
  animation-delay: 400ms;
}

#contact.reveal {
  animation-delay: 460ms;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rec-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.35;
    transform: scale(0.84);
  }
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .status-card,
  .contact-card,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .metrics,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card-large {
    grid-row: auto;
  }

  .gallery-card-large .poster {
    min-height: 320px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --content-width: min(100vw - 28px, 1180px);
    --shadow: 6px 6px 0 var(--ink);
  }

  body::before {
    width: 160px;
    height: 160px;
    top: 18px;
    right: -52px;
  }

  body::after {
    width: 220px;
    height: 120px;
    left: -72px;
    bottom: 24px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  h2 {
    max-width: none;
  }

  .hero-card {
    transform: none;
  }

  .hero-screen {
    min-height: 380px;
  }

  .hero-orb {
    width: 140px;
    height: 140px;
  }

  .button {
    width: 100%;
  }

  .metrics article,
  .hero-copy,
  .service-card,
  .journal-grid article,
  .contact-card,
  .gallery-copy,
  .split-section > .section-heading {
    padding-left: 18px;
    padding-right: 18px;
  }
}

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

  .reveal,
  .brand-dot {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .site-nav a,
  .button {
    transition: none;
  }
}
