:root {
  --bg: #333333;
  --bg-deep: #252525;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f5f4f0;
  --muted: #b8b8b4;
  --blue: #66ccff;
  --green: #85c441;
  --shell: min(1180px, calc(100% - 44px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Poppins", Arial, sans-serif;
  background:
    radial-gradient(circle at 50% -20%, rgba(102, 204, 255, 0.08), transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}


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

.site-header {
  width: min(1420px, calc(100% - 64px));
  max-width: none;
  min-height: 150px;
  margin: 0 auto;
  padding: 22px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  z-index: 20;
}

.site-header-compact {
  width: min(1180px, calc(100% - 44px));
}

.brand {
  display: inline-flex;
  align-items: flex-start;
  text-decoration: none;
}

.brand .full-logo {
  width: clamp(250px, 26vw, 400px);
  height: auto;
  max-height: none;
  object-fit: contain;
}

.stack-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  line-height: 1;
}

.stack-nav a {
  text-decoration: none;
  font-weight: 800;
  transition: color 0.18s ease, transform 0.18s ease;
}

.stack-nav a:hover,
.stack-nav a:focus,
.stack-nav a[aria-current="page"] {
  color: var(--blue);
  transform: translateX(-3px);
}

.stack-nav .nav-contact,
.stack-nav .nav-about {
  margin-bottom: 7px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.stack-nav .nav-work {
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -0.035em;
}


/* ==========================================================
   HOME: REEL HERO
   ========================================================== */

.hero {
  padding: 20px 0 78px;
}

.hero-night {
  position: relative;
  min-height: 0;
  padding-top: 14px;
  padding-bottom: 34px;
  overflow: visible;
}

.hero-shell {
  width: min(1500px, calc(100% - 28px));
  max-width: none;
  margin: 0 auto;
  padding-top: 18px;
  position: relative;
  z-index: 2;
}

.candy-stage {
  width: min(1480px, 97vw);
  aspect-ratio: 1580 / 700;
  margin: 10px auto 18px;
  position: relative;
}

.candy-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;

  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.22));

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, filter;

  transition: filter 0.35s ease, transform 0.35s ease;
}

.candy-stage.is-playing .candy-art {
  filter:
    brightness(1.08) drop-shadow(0 24px 38px rgba(0, 0, 0, 0.22)) drop-shadow(0 0 8px rgba(102, 204, 255, 0.22)) drop-shadow(0 0 24px rgba(102, 204, 255, 0.18));
}

/* Exact 16:9 alpha opening in the 1580x700 candy frame. */
.candy-screen {
  position: absolute;
  z-index: 2;
  left: calc(18.291% - 1px);
  top: calc(10.143% - 1px);
  width: calc(63.418% + 2px);
  height: calc(80.571% + 2px);
  overflow: hidden;
  background: #272727;
  border: 0;
  box-shadow: none;
}

.candy-screen iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.reel-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 0;
  background:
    radial-gradient(circle at 50% 47%, rgba(102, 204, 255, 0.06), transparent 33%),
    #272727;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}

.reel-cover-inner {
  text-align: center;
}

.reel-cover .press {
  display: block;
  color: var(--blue);
  font-size: clamp(25px, 4.5vw, 50px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.015em;
}

.reel-cover .watch {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-size: clamp(13px, 1.8vw, 20px);
  font-weight: 800;
}

.reel-cover:hover .press,
.reel-cover:focus .press {
  color: #dff4ff;
}


/* ==========================================================
   HOME CONTENT
   ========================================================== */

.home-intro {
  padding: 84px 0 72px;
  background: var(--bg-deep);
}

#meet-the-snacks {
  scroll-margin-top: 0;
}

.eyebrow,
.page-eyebrow-title {
  color: var(--blue);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.display {
  max-width: 1180px;
  margin: 12px 0 30px;
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-align: center;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}

.display span,
.page-title span {
  color: var(--blue);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  align-items: start;
}

.lead {
  text-align: center;
  max-width: 720px;
  align-content: center;
  margin-left: auto;
  margin-right: auto;
  color: #efeee9;
  font-size: clamp(18px, 2vw, 23px);
}

.body-copy {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.section {
  padding: 82px 0;
}

.section-dark {
  background: var(--bg);
}

.section-deeper {
  background: var(--bg-deep);
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.logo-heading {
  margin-bottom: 24px;
}

.logo-heading h2 {
  font-size: clamp(34px, 4vw, 50px);
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: center;
}

.logo-cell {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.018);
}

.logo-cell img {
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.66;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

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

.about-strip {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
  align-items: start;
}

.about-strip>div:first-child {
  padding-top: 0px;
}

.about-strip h2 {
  margin: 0;
  font-size: clamp(44px, 4vw, 66px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.about-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.tool-note {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.tool-note a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}


/* ==========================================================
   SHARED PAGE INTRO
   ========================================================== */

.page-hero {
  padding: 40px 0 40px;
}

.page-title {
  margin: 8px 0 30px;
  font-size: clamp(60px, 10vw, 130px);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.065em;
}

.page-intro {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}


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

.work-page-hero {
  padding-bottom: 22px;
}

.page-eyebrow-title {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1;
}



.work-private-intro strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.25;
}

.work-contact-link {
  display: inline;
  width: fit-content;
  margin-top: 10px;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.18s ease;
}

.work-contact-link:hover,
.work-contact-link:focus {
  color: var(--green);
}

.work-library {
  padding-bottom: 92px;
}

.work-data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 34px;
  align-items: start;
}

.work-data-card {
  min-width: 0;
}

.work-card-button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #292929;
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease;
}

.work-card-button:hover,
.work-card-button:focus {
  transform: translateY(-3px);
  border-color: rgba(102, 204, 255, 0.88);
  background: #2d2d2d;
}


.collection-mosaic {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #181818;
}

.mosaic-cell {
  position: absolute;
  overflow: hidden;
}

/* ==========================================================
   TWO IMAGES
   Each source stays full-height at its natural 16:9 ratio.
   The half-width cell simply crops the left/right sides.
   ========================================================== */

.collection-mosaic.mosaic-2 .mosaic-cell {
  top: 0;
  width: 50%;
  height: 100%;
}

.collection-mosaic.mosaic-2 .mosaic-cell:nth-child(1) {
  left: 0;
}

.collection-mosaic.mosaic-2 .mosaic-cell:nth-child(2) {
  left: 50%;
}

.collection-mosaic.mosaic-2 .mosaic-cell img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  transform: translate(-50%, -50%);
}


/* ==========================================================
   FOUR IMAGES
   Normal 2 × 2 grid. Each cell is exactly 16:9.
   ========================================================== */

.collection-mosaic.mosaic-4 .mosaic-cell {
  width: 50%;
  height: 50%;
}

.collection-mosaic.mosaic-4 .mosaic-cell:nth-child(1) {
  top: 0;
  left: 0;
}

.collection-mosaic.mosaic-4 .mosaic-cell:nth-child(2) {
  top: 0;
  left: 50%;
}

.collection-mosaic.mosaic-4 .mosaic-cell:nth-child(3) {
  top: 50%;
  left: 0;
}

.collection-mosaic.mosaic-4 .mosaic-cell:nth-child(4) {
  top: 50%;
  left: 50%;
}

.collection-mosaic.mosaic-4 .mosaic-cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.collection-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(24, 24, 24, 0.80);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  backdrop-filter: blur(5px);
}

.single-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #181818;
}

.single-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.work-card-copy .eyebrow {
  display: block;
  margin-bottom: 6px;
}

.work-card-copy h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.work-card-meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}


/* Expanded project */

.work-detail[hidden] {
  display: none;
}

.work-detail {
  margin-top: 0;
  overflow: visible;
  scroll-margin-top: 0;
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow-anchor: none;
}

/* Full-bleed reveal layer. The project content stays aligned to the normal
   work shell, while this darker panel extends to the browser edges. */
.work-detail::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: -20px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  border-top: 0;
  border-bottom: 1px solid rgba(102, 204, 255, 0.66);
  background: #222;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
  opacity: 1;
  transition: opacity 0.28s ease;
}

/* JS moves this panel immediately after the clicked card row. */
.work-data-grid>.work-detail {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  margin: 0;
  margin-top: -24px;
}

/* This inner wrapper is what actually grows/shrinks. Keeping the animation
   on the wrapper lets the full-width background behave like a layer being
   revealed underneath the card rows. */
.work-detail-motion {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: auto;
  min-height: 0;
  overflow: visible;
  opacity: 1;
  will-change: opacity;
  transition:
    height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease;
}

/* Same-row project changes keep the panel open and use a quicker content fade. */
.work-detail.is-swapping .work-detail-motion {
  transition:
    height 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.12s ease;
}

/* The animated wrapper is full-bleed from the first frame so the sticky
   toolbar never gets clipped to the 1180px work grid while opening.
   Project content itself remains aligned to the normal site shell. */
.work-detail-motion> :not(.work-detail-toolbar) {
  width: var(--shell);
  margin-left: auto;
  margin-right: auto;
}

.work-detail.is-collapsing::before {
  opacity: 0;
}

.work-detail-toolbar {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100vw;
  min-height: 56px;
  margin-left: calc(50% - 50vw);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 9px;
  padding-bottom: 9px;
  padding-left: max(12px, calc((100vw - 1180px) / 2 + 12px));
  padding-right: max(12px, calc((100vw - 1180px) / 2 + 12px));
  border-top: 1px solid rgba(102, 204, 255, 0.66);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: rgba(30, 30, 30, 0.985);
}

.detail-close {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 7px 13px 7px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #d2d2ce;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.detail-close-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-close-icon {
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

.detail-close:hover,
.detail-close:focus {
  border-color: rgba(102, 204, 255, 0.62);
  background: rgba(102, 204, 255, 0.08);
  color: var(--blue);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {

  .work-detail-motion,
  .work-detail::before {
    transition: none;
  }
}

.collection-project-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  gap: 48px;
  padding: 34px 38px 38px;
  border-bottom: 1px solid var(--line);
}

.collection-project-title h2 {
  margin: 7px 0 13px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.collection-summary {
  max-width: 720px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  white-space: pre-line;
}

.collection-project-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}

.collection-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.02);
}

/* A normal collection has one stat, so let it span the full metadata width.
   Grouped collections (BrainFacts) have two stats and stay 50/50. */
.collection-project-meta:not(:has(> .collection-stat + .collection-stat))>.collection-stat {
  grid-column: 1 / -1;
}

.collection-stat strong {
  display: block;
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.collection-stat span {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.project-details-list {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  border-top: 1px solid var(--line);
}

.project-details-list>div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.project-details-list dt {
  color: #cfcfcb;
  font-size: 11px;
  font-weight: 700;
}

.project-details-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.project-details-list a {
  color: var(--blue);
  text-decoration: none;
}


/* Collection player */

.collection-player-wrap {
  padding: 38px;
  border-bottom: 1px solid var(--line);
}

.collection-player {
  position: relative;
  width: min(100%, 1100px);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: #111;
}

.collection-player iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Lightweight local poster used before loading any YouTube/Vimeo player. */
.collection-player-poster>img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-player-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.12);
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: background 0.18s ease;
}

.collection-player-play:hover,
.collection-player-play:focus-visible {
  background: rgba(0, 0, 0, 0.44);
}

.collection-player-play-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding-left: 4px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  background: rgba(24, 24, 24, 0.88);
  font-size: 20px;
  line-height: 1;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.collection-player-play-label {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.33);
  border-radius: 999px;
  background: rgba(24, 24, 24, 0.88);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.collection-player-play:hover .collection-player-play-icon,
.collection-player-play:focus-visible .collection-player-play-icon,
.collection-player-play:hover .collection-player-play-label,
.collection-player-play:focus-visible .collection-player-play-label {
  border-color: var(--blue);
  box-shadow: 0 0 7px 4px rgba(102, 204, 255, 0.22);
}

.collection-player-missing img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.missing-video-message {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 7px;
  padding: 30px;
  text-align: center;
}

.missing-video-message strong {
  font-size: 20px;
}

.missing-video-message span {
  color: var(--muted);
  font-size: 12px;
}

.missing-video-message code {
  color: var(--blue);
}

.active-video-caption {
  width: min(100%, 1100px);
  margin: 13px auto 0;
}

.active-video-caption h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.active-video-note {
  margin-top: 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}


/* Collection browser */

.collection-browser-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 38px 22px;
}

.collection-browser-head h3 {
  margin: 5px 0 0;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.collection-series-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 0 38px 42px;
}

.collection-series h4 {
  margin: 0 0 11px;
  color: #d7d7d2;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.collection-video-grid {
  display: grid;
  gap: 9px;
}

.collection-video-button {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 5px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.collection-video-button:hover,
.collection-video-button:focus {
  border-color: rgba(102, 204, 255, 0.25);
  background: rgba(255, 255, 255, 0.035);
}

.collection-video-button.is-active {
  border-color: rgba(102, 204, 255, 0.46);
  background: rgba(102, 204, 255, 0.06);
}

.collection-video-thumb {
  position: relative;
  display: block;
  width: 88px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 5px;
  background: #111;
}

.collection-video-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding-left: 2px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(24, 24, 24, 0.78);
  color: #fff;
  font-size: 9px;
}

.collection-video-label {
  color: #d8d8d4;
  font-size: 11px;
  line-height: 1.3;
}

.collection-video-note {
  grid-column: 2;
  margin-top: -6px;
  color: var(--green);
  font-size: 9px;
  line-height: 1.25;
}




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

.contact-night-title {
  max-width: 1180px;
  margin-top: 0px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 100px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-transform: none;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}

.contact-intro {
  max-width: 800px;
  margin-top: 0;
  line-height: 1.8;
}

.contact-copy-link {
  color: inherit;
  text-decoration: none;
  user-select: text;
  -webkit-user-select: text;
}

/* ==========================================================
   CONTACT — DIRECT CONTACT
   ========================================================== */

.contact-direct-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 22px;
  padding-bottom: 82px;
}

.contact-direct-primary,
.contact-direct-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #292929;
  color: var(--text);
  text-decoration: none;
}

.contact-direct-primary {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 48px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.contact-direct-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 18%, rgba(102, 204, 255, 0.10), transparent 34%);
  pointer-events: none;
}

.contact-direct-primary:hover,
.contact-direct-primary:focus-within {
  border-color: rgba(102, 204, 255, 0.48);
  background: #2b2b2b;
  transform: translateY(-2px);
}

.contact-direct-label {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.contact-direct-email {
  position: relative;
  z-index: 1;
  max-width: 100%;
  font-size: clamp(25px, 3.35vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.contact-direct-note {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.contact-direct-arrow {
  position: absolute;
  top: 30px;
  left: 48px;
  z-index: 1;
  color: var(--green);
  font-size: clamp(30px, 4vw, 60px);
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s ease;
}

.contact-direct-primary:hover .contact-direct-arrow,
.contact-direct-primary:focus .contact-direct-arrow {
  transform: translateY(12px);
}

.contact-direct-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 22px;
}

.contact-direct-card {
  min-height: 164px;
  padding: 28px;
}

a.contact-direct-card {
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

a.contact-direct-card:hover,
a.contact-direct-card:focus {
  border-color: rgba(133, 196, 65, 0.52);
  background: #2b2b2b;
  transform: translateY(-2px);
}

.contact-direct-card strong {
  display: block;
  margin-top: 3px;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.contact-direct-link-note {
  display: block;
  margin-top: 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.contact-direct-samples p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .contact-direct-layout {
    grid-template-columns: 1fr;
  }

  .contact-direct-primary {
    min-height: 300px;
  }

  .contact-direct-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
}

@media (max-width: 620px) {
  .contact-direct-layout {
    gap: 16px;
    padding-bottom: 62px;
  }

  .contact-direct-primary {
    min-height: 280px;
    padding: 26px 22px;
  }

  .contact-direct-arrow {
    top: 22px;
    left: 22px;
  }

  .contact-direct-email {
    padding-right: 16px;
  }

  .contact-direct-side {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-direct-card {
    min-height: 0;
    padding: 24px 22px;
  }
}

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

.site-footer {
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  background: #242424;
  text-align: center;
}

.site-footer::before {
  content: "";
  width: 34px;
  height: 34px;
  display: block;
  margin: -51px auto 18px;
  background: url("assets/MS-bite-moon.png") center / contain no-repeat;
  opacity: 1;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #8f8f8b;
  font-size: 11px;
  text-align: center;
}

.footer-inner a {
  color: var(--blue);
  text-decoration: none;
}


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

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

  .collection-project-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

@media (max-width: 900px) {
  .site-header {
    width: min(100% - 36px, 1420px);
    min-height: 130px;
  }

  .site-header-compact {
    width: min(1180px, calc(100% - 44px));
  }

  .brand .full-logo {
    width: clamp(220px, 34vw, 320px);
  }

  .hero-shell {
    width: min(100% - 12px, 1500px);
  }

  .intro-grid,
  .about-strip {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .logo-wall {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 650px) {
  .work-data-grid {
    grid-template-columns: 1fr;
  }

  .work-detail-toolbar {
    top: 0;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .collection-project-head,
  .collection-player-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .collection-browser-head {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 18px;
    padding-right: 18px;
  }

  .collection-series-grid {
    grid-template-columns: 1fr;
    padding-left: 18px;
    padding-right: 18px;
  }

  .collection-project-meta {
    grid-template-columns: 1fr 1fr;
  }
}

/* Keep real phones in the mobile Work layout when rotated. */
@media (orientation: landscape) and (max-width: 950px) and (max-height: 500px) {
  :root {
    --shell: min(100% - 28px, 1180px);
  }

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

  .work-detail-toolbar {
    top: 0;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .collection-project-head,
  .collection-player-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .collection-browser-head {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 18px;
    padding-right: 18px;
  }

  .collection-series-grid {
    grid-template-columns: 1fr;
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header {
    width: calc(100% - 24px);
    min-height: 104px;
    padding-top: 18px;
    gap: 14px;
  }

  .site-header-compact {
    width: calc(100% - 28px);
  }

  .brand .full-logo {
    width: 175px;
  }

  .stack-nav .nav-contact,
  .stack-nav .nav-about {
    margin-bottom: 4px;
    font-size: 10px;
  }

  .stack-nav .nav-work {
    font-size: 21px;
  }

  .collection-project-title h2 {
    font-size: 34px;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: min(100% - 28px, 1180px);
  }

  .site-header {
    width: calc(100% - 24px);
    min-height: 104px;
    padding-top: 18px;
    gap: 14px;
  }

  .site-header-compact {
    width: calc(100% - 28px);
  }

  .brand .full-logo {
    width: 175px;
  }

  .stack-nav .nav-contact,
  .stack-nav .nav-about {
    margin-bottom: 4px;
    font-size: 10px;
  }

  .stack-nav .nav-work {
    font-size: 21px;
  }

  .hero {
    padding-bottom: 42px;
  }

  .hero-night {
    padding-bottom: 28px;
  }

  .hero-shell {
    padding-top: 24px;
  }

  .candy-stage {
    width: 100%;
  }

  .reel-cover .press {
    font-size: 20px;
  }

  .reel-cover .watch {
    margin-top: 4px;
    font-size: 11px;
  }

  .home-intro {
    padding: 56px 0 62px;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .logo-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-night-title {
    font-size: clamp(44px, 13vw, 72px);
    line-height: 1.02;
  }

  .contact-intro {
    line-height: 1.75;
  }
}

/* ==========================================================
   HEADER CLOUDS
   Centered decorative cloud strip supplied in assets/clouds.png.
   Kept intentionally narrower than the viewport rather than stretched wide.
   ========================================================== */

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(900px, 72vw);
  aspect-ratio: 2000 / 300;
  transform: translateX(-50%);
  background: url("assets/clouds.png") center top / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}

.site-header .brand,
.site-header .stack-nav {
  position: relative;
  z-index: 1;
}

/* Single projects now use the same top-info / full-width-player rhythm
   as collection projects. */
.single-project-head .collection-project-meta {
  grid-template-columns: 1fr;
}

.single-project-meta .project-details-list {
  margin-top: 0;
}

.single-player-wrap {
  border-bottom: 0;
}

.single-player-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 620px) {
  .site-header::before {
    width: min(650px, 92vw);
  }
}

/* ==========================================================
   STANDARD MULTI-VIDEO COLLECTIONS
   Flat collections use videos: [ ... ] and scroll as large players.
   BrainFacts-style series collections keep the chooser/browser above.
   ========================================================== */

.collection-scroll {
  display: grid;
  gap: 58px;
  padding: 38px 38px 50px;
}

.collection-scroll-item {
  width: 100%;
}

.collection-scroll-item .collection-player {
  width: min(100%, 1100px);
}

.collection-scroll-caption {
  width: min(100%, 1100px);
  margin: 14px auto 0;
}

.collection-scroll-caption h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.collection-scroll-description {
  max-width: 760px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* With the extra headline removed, "Choose a video" stands on its own. */
.collection-browser-head>.eyebrow {
  display: block;
}

@media (max-width: 650px) {
  .collection-scroll {
    gap: 42px;
    padding: 28px 18px 38px;
  }
}