/* Multiverse Media — site styles (dark studio design) */
@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;500;700;800&display=swap");

:root {
  /* colours — the only colours used anywhere on the site */
  --bg: #0d0d0d;            /* page */
  --panel: #171717;         /* cards, panels, inputs */
  --line: rgba(255, 255, 255, .12);
  --text: #ffffff;          /* headings, primary text */
  --soft: rgba(255, 255, 255, .78);   /* body copy */
  --muted: rgba(255, 255, 255, .55);  /* labels, captions */
  --ink: #0d0d0d;           /* text on light buttons */
  --accent: #ff9800;        /* brand orange */
  --shade: rgba(0, 0, 0, .55);        /* overlay on photos/video */
  --error: #ff6b6b;
  /* type scale */
  --font: "Red Hat Display", system-ui, sans-serif;
  --fs-title: clamp(20px, 1.8vw, 26px);   /* card and item titles */
  --fs-body: 18px;
  --fs-lead: clamp(22px, 2.6vw, 36px);
  --fs-caps: 12px;
  --radius: 24px;
  --gutter: 16px;
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--accent); color: var(--ink); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 140px 0; }
.section-tight { padding: 40px 0; }

.display {
  font-weight: 800;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -.035em;
}
.h-xl { font-size: clamp(44px, 7.4vw, 112px); }
.h-lg { font-size: clamp(36px, 5.6vw, 84px); }
.h-md { font-size: clamp(26px, 3.2vw, 44px); }
.caps {
  font-size: var(--fs-caps);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}
.accent { color: var(--accent); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 13, .92);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.nav .wrap {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.logo sup { font-size: .55em; font-weight: 700; margin-left: 1px; }
.menu-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
}
.menu-btn .dots {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  gap: 3px;
}
.menu-btn .dots i {
  width: 4px;
  height: 4px;
  background: currentColor;
  transition: transform .4s var(--ease);
}
.menu-open .menu-btn .dots { transform: rotate(45deg); transition: transform .4s var(--ease); }

.menu {
  position: fixed;
  inset: 64px 0 0 0;
  z-index: 49;
  background: var(--bg);
  padding: 40px var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.menu-open .menu { opacity: 1; visibility: visible; transform: none; }
.menu-open { overflow: hidden; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.035em;
  font-size: clamp(48px, 10vw, 120px);
  line-height: 1;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  transition: color .3s, padding .3s var(--ease);
}
.menu nav a:hover, .menu nav a[aria-current] { color: var(--accent); padding-left: 12px; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 12px 40px; }

/* ---------- hero ---------- */
.hero { padding: 0 0 var(--gutter); }
.hero-card {
  position: relative;
  height: calc(100svh - 64px - var(--gutter));
  min-height: 520px;
  max-height: 980px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg) url(../video/reel-poster.webp) center / cover no-repeat;
  isolation: isolate;
}
@media (orientation: portrait) {
  .hero-card { background-image: url(../video/reel-poster-portrait.webp); }
}
.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -2;
  pointer-events: none;
}
.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .3), var(--shade));
}
.hero-title {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 24px;
}
.hero-line {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  height: 10px;
  display: flex;
  align-items: center;
}
.hero-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, .45);
}
.hero-line i {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--text);
}
.hero-line i:first-child { left: 0; }
.hero-line i:last-child { right: 0; }
.hero-line .playhead {
  background: var(--accent);
  left: 0;
  animation: playhead 30.25s linear infinite;
}
@keyframes playhead { from { left: 0; } to { left: calc(100% - 10px); } }

/* ---------- intro ---------- */
.intro p.lead {
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -.01em;
  max-width: 1180px;
}
.intro .caps { margin-top: 36px; max-width: 420px; }

/* ---------- media card + statement ---------- */
.media-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--panel);
}
.media-card video, .media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.statement {
  margin-top: var(--gutter);
  border-radius: var(--radius);
  background: var(--panel);
  padding: clamp(80px, 12vw, 180px) 24px;
  text-align: center;
}
.statement .caps { margin-top: 16px; }

/* ---------- studio slider ---------- */
.studio h2 { margin-bottom: 48px; }
.slider {
  display: flex;
  gap: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius);
}
.slider::-webkit-scrollbar { display: none; }
.slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption {
  position: absolute;
  left: 28px;
  bottom: 24px;
  right: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
  font-size: clamp(18px, 2.2vw, 30px);
  line-height: 1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .5);
}
.slide::after {
  content: "";
  position: absolute;
  inset: 50% 0 0 0;
  background: linear-gradient(transparent, var(--shade));
  pointer-events: none;
}
.slide figcaption { z-index: 1; }
.slider-nav { display: flex; gap: 12px; margin-top: 24px; }
.circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--text);
  background: transparent;
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.circle-btn:hover { background: var(--text); color: var(--ink); }
.circle-btn svg { width: 18px; height: 18px; }
.circle-btn.small { width: 40px; height: 40px; font-size: var(--fs-caps); font-weight: 800; letter-spacing: .04em; }

/* ---------- services ---------- */
.services { background: var(--panel); border-radius: var(--radius); }
.services h2 { margin-bottom: 64px; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.split .caps { max-width: 300px; }
.service-list { display: grid; gap: 0; }
.service {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 8px;
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service .num { font-size: var(--fs-caps); font-weight: 700; color: var(--accent); padding-top: 6px; }
.service h3 { font-size: var(--fs-title); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; }
.service p { grid-column: 2; color: var(--soft); margin-top: 6px; font-size: var(--fs-body); font-weight: 300; }

/* ---------- section headings ---------- */
.center-head { text-align: center; padding: 0 0 60px; }
.center-head .caps { margin-top: 18px; }

/* ---------- clients ---------- */
.logo-grid {
  /* compact grid: any number of logos; lines drawn per cell so an unfinished last row still looks right */
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.logo-cell {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  padding: 18px 22px;
  box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line);
}
.logo-cell img {
  max-width: 120px;
  max-height: 44px;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: .6;
  transition: opacity .3s;
}
.logo-cell:hover img { opacity: 1; }

/* ---------- team cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}
.card {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius);
  background: var(--panel);
  padding: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
}
.card h3 {
  font-size: var(--fs-title);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: 1;
}
.card .caps { color: var(--text); }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; }
.card::after {
  /* the quarter-circle in the bottom corner */
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--panel);
  z-index: -2;
  transition: transform .6s var(--ease), background .6s;
}
.card:hover::after { transform: scale(1.25); background: var(--accent); }
.card .face {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70%;
  max-width: 240px;
  z-index: -1;
  filter: grayscale(1);
  transition: filter .6s;
}
.card:hover .face { filter: none; }
.card .circle-btn { position: relative; z-index: 1; background: rgba(13, 13, 13, .6); }
.card:hover .circle-btn { background: var(--text); color: var(--ink); }
.more-row { display: flex; justify-content: center; margin-top: 40px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 26px;
  border-radius: 40px;
  background: var(--text);
  color: var(--ink);
  font-size: var(--fs-caps);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .3s;
}
.pill:hover { background: var(--accent); }
.pill .circle-btn { border-color: var(--ink); color: var(--ink); width: 34px; height: 34px; }
.pill:hover .circle-btn { background: var(--ink); color: var(--text); }

/* ---------- contact ---------- */
.contact-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 560px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
  isolation: isolate;
}
.contact-card video, .contact-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--shade);
  z-index: -1;
}
.contact-card .spaced {
  font-size: var(--fs-caps);
  font-weight: 500;
  letter-spacing: .4em;
  text-transform: uppercase;
}
.contact-card h2 { margin: 22px 0 30px; }
.contact-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.wordmark {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.045em;
  line-height: .9;
  font-size: 9.6vw;
  white-space: nowrap;
  text-align: center;
  padding: 48px 0 32px;
}
@media (min-width: 1440px) { .wordmark { font-size: 138px; } }
.wordmark sup { font-size: .35em; vertical-align: top; position: relative; top: .25em; }
.footer-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 24px;
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  margin-bottom: var(--gutter);
}
.footer-links { display: flex; gap: 12px 28px; flex-wrap: wrap; justify-content: center; }
.footer-links a, .footer-box .caps a { font-size: var(--fs-caps); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.footer-links a:hover { color: var(--accent); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-line .playhead { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .section { padding: 100px 0; }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .section { padding: 80px 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .slide { aspect-ratio: 4 / 5; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 320px; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-cell { padding: 14px 16px; }
  .logo-cell img { max-width: 84px; max-height: 32px; }
  .hero-line { left: 20px; right: 20px; bottom: 20px; }
  .menu-foot { flex-direction: column; }
}

/* ---------- page head (inner pages) ---------- */
.page-head { padding: 100px 0 60px; }
.page-head h1 { margin: 18px 0 28px; }
.page-head .lead { font-size: var(--fs-lead); font-weight: 300; line-height: 1.2; max-width: 900px; color: var(--soft); }

/* ---------- work grid ---------- */
.work-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.work-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  isolation: isolate;
  display: block;
}
.work-card-wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.work-card img, .work-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--ease), opacity .6s;
}
.work-card video { opacity: 0; }
.work-card.playing video { opacity: 1; }
.work-card:hover img, .work-card:hover video { transform: scale(1.05); }
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 50%, var(--shade) 100%);
}
.work-meta {
  position: absolute;
  top: 24px;
  left: 26px;
  right: 26px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--soft);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}
.work-meta .accent { color: var(--text); font-weight: 800; }
.work-foot {
  position: absolute;
  left: 26px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.work-foot h3 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: 1;
  font-size: var(--fs-title);
  max-width: 16ch;
}
.work-card-wide .work-foot h3 { font-size: clamp(28px, 3.6vw, 56px); max-width: 20ch; }
.work-foot .circle-btn { flex: none; }
.work-card:hover .circle-btn { background: var(--text); color: var(--ink); }
.work-foot .soon { color: var(--muted); font-size: var(--fs-caps); flex: none; white-space: nowrap; }

@media (max-width: 991px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card-wide { aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card-wide { aspect-ratio: 4 / 5; }
  .work-card-wide .work-foot h3 { font-size: clamp(20px, 6vw, 28px); }
  .page-head { padding: 64px 0 40px; }
}

/* ---------- project pages ---------- */
.facts { margin: 0; display: grid; gap: 0; align-content: start; }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { padding-top: 3px; }
.facts dd { margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; font-size: var(--fs-title); line-height: 1.1; }
.prose h2 { margin-bottom: 24px; }
.prose p { font-size: var(--fs-body); font-weight: 300; line-height: 1.6; color: var(--soft); max-width: 60ch; }
.prose p + p { margin-top: 18px; }
.gallery { columns: 3; column-gap: var(--gutter); }
.gallery-item { margin: 0 0 var(--gutter); break-inside: avoid; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.gallery-item img, .gallery-item video { width: 100%; height: auto; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.work-card-mini { aspect-ratio: 16 / 10; }

/* ---------- contact ---------- */
.contact-info { display: grid; gap: 36px; align-content: start; }
.contact-info .caps { margin-bottom: 8px; }
.big-link, .big-text { font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.big-link:hover { color: var(--accent); }
.contact-links.left { justify-content: flex-start; }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: var(--fs-caps); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--text);
  font: 400 17px/1.4 var(--font);
  letter-spacing: 0;
  text-transform: none;
  transition: border-color .3s;
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form .hp { display: none; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form button.pill { border: 0; cursor: pointer; font-family: inherit; }
.form button.pill:disabled { opacity: .6; cursor: wait; }
.form-status { min-height: 1.5em; font-weight: 500; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--error); }
.map-card { border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; background: var(--panel); }
.map-card iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100svh - 64px - 300px); display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound-code { font-size: clamp(120px, 26vw, 360px); line-height: .8; color: var(--accent); }
.notfound h1 { margin: 24px 0 14px; }

@media (max-width: 991px) {
  .gallery { columns: 2; }
}
@media (max-width: 767px) {
  .gallery { columns: 1; }
  .pager { grid-template-columns: 1fr; }
  .map-card { aspect-ratio: 4 / 5; }
  .facts div { grid-template-columns: 90px 1fr; }
}

/* ---------- social buttons ---------- */
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-box .social { justify-content: center; }
.circle-btn.small:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
