/* =========================================================================
   househouse — site styles
   Breakpoints mirror the Framer build:
     desktop  1440–1689 (base styles below)
     large    ≥ 1690
     tablet   810–1439
     mobile   < 810
   ========================================================================= */

:root {
  --pad: 80px;             /* page side padding */
  --blue: #1b22f2;         /* menu button */
  --label: #8f8f8f;        /* small grey labels */
  --line: #121212;         /* background column lines */
  --divider: #969696;      /* work list dividers */
  --menu-bg: #f0f0f0;
  --ease: cubic-bezier(.44, 0, .56, 1);
  --footer-gap: 152px;     /* space between content and footer block */
  --footer-tail: 174px;    /* space between footer text and ticker / page end */
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: #000; -webkit-text-size-adjust: 100%; }
body {
  position: relative;
  min-height: 100vh;
  background: #000;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, p { margin: 0; font-weight: 400; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; }

.jac24 { font-family: "Jacquard 24", sans-serif; }
.bebas { font-family: "Bebas Neue", sans-serif; }
.bastarda { font-family: "Jacquarda Bastarda 9", sans-serif; }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- custom cursor (white dot, difference blend) ---------- */
.cursor {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
}
@media (hover: hover) and (pointer: fine) {
  html, body, a, button { cursor: none; }
  .cursor { display: block; }
}

/* ---------- background: column lines + grain ---------- */
.grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  padding: 0 var(--pad);
  pointer-events: none;
}
.grid-lines span { flex: 1; border-left: 1px solid var(--line); }
.grid-lines span:last-child { border-right: 1px solid var(--line); }

.grain {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: .068;
  background-repeat: repeat;
  pointer-events: none;
}

/* ---------- shared page chrome ---------- */
.page-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding-top: 32px;
}
.top-logo { display: block; width: 142px; height: 58px; margin: 0 auto; }
.top-logo img { width: 100%; height: 100%; object-fit: contain; }

.page-label {
  margin-top: 80px;
  padding: 0 var(--pad);
  font-size: 20px;
  line-height: 24px;
  color: var(--label);
  text-align: center;
}

/* ---------- menu button + overlay ---------- */
.menu-btn {
  position: fixed;
  left: 50%;
  bottom: 48px;
  z-index: 21;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 34px 8px;
  border: 0;
  border-radius: 32px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: padding .3s var(--ease), background-color .3s var(--ease);
}
.menu-btn:hover { padding: 12px 40px; }
.menu-btn__label { position: relative; display: block; width: 42px; height: 29px; }
.menu-btn__label > span {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  line-height: 28.8px;
  white-space: pre;
}
.menu-btn__close { display: none; }
.is-menu-open .menu-btn { background: #000; }
.is-menu-open .menu-btn__open { display: none; }
.is-menu-open .menu-btn__close { display: block; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--menu-bg);
  user-select: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.is-menu-open .menu { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.menu__list { display: flex; flex-direction: column; width: min(786px, 100%); }
.menu__link {
  display: flex;
  justify-content: center;
  height: 108px;
  padding-top: 16px;
  font-family: "Jacquard 24", sans-serif;
  font-size: 88px;
  line-height: 105.6px;
  color: #000;
  text-decoration: none;
  transition: opacity .3s var(--ease);
}
.menu__link:hover { opacity: .5; }
body[data-page="home"] .menu__link[data-nav="home"],
body[data-page="work"] .menu__link[data-nav="work"],
body[data-page="about"] .menu__link[data-nav="about"],
body[data-page="contact"] .menu__link[data-nav="contact"] { color: #d1d1d1; }

/* ---------- footer ---------- */
.site-footer { margin-top: var(--footer-gap); padding-top: 48px; }
/* Text columns are fixed fractions of the 8-column grid (2 cols left, 1 col right),
   so long lines wrap on narrower screens exactly like the Framer build. */
.footer-info {
  display: grid;
  grid-template-columns: 62.5% 12.5%;
  height: 55px;            /* fixed like Framer's footer: wrapped text doesn't push the ticker */
  padding: 0 var(--pad);
}
.footer-info__col { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-info__col:first-child { width: 26.667%; }
.footer-info p, .footer-info a { font-size: 16px; line-height: 19.2px; overflow-wrap: anywhere; }
.footer-info a { text-decoration: underline; }
.site-footer .ticker { margin-top: var(--footer-tail); }

/* ---------- tickers / marquees ---------- */
.ticker { position: relative; overflow: hidden; width: 100%; }
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__item { flex: none; white-space: pre; }

.ticker--studio,
.ticker--case {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 10px;
  background: #fff;
}
.ticker--studio .ticker__item {
  font-family: "Jacquard 12", sans-serif;
  font-size: 24px;
  line-height: 28.8px;
  color: #000;
}
.ticker--case .ticker__item {
  font-family: "Jacquard 24", sans-serif;
  font-size: 16px;
  line-height: 32px;
  color: #333;
}
.ticker__space { font-family: sans-serif; }

/* =========================================================================
   HOME — 3D video room
   ========================================================================= */
.page--home { overflow: hidden; }
.home { position: relative; height: 100vh; }

.intro {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  height: 99.75vh;
  background-color: rgb(0, 0, 0);
  pointer-events: none;
  transition: background-color .8s var(--ease);
}
.intro__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fff 0%, rgb(36, 61, 255) 100%);
  transition: opacity .8s var(--ease);
}
.intro__logo {
  position: absolute;
  top: calc(50% - 115px);
  left: calc(50% - 280px);
  width: 560px;
  height: 230px;
  overflow: hidden;
}
.intro__logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 427px;
  height: 175px;
  transform: translate(-50%, -50%);
  object-fit: contain;
}
.intro.is-done { background-color: rgba(0, 0, 0, 0); }
.intro.is-done .intro__gradient { opacity: 0; }
.intro.is-done .intro__logo { display: none; }
.intro--page { display: none; }            /* work page: mobile only */
.intro--page .intro__gradient { background: #fff; }

.stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  height: 100vh;
  background: #000;
  overflow: hidden;
}
.stage__grain { position: absolute; inset: 0; opacity: .8; overflow: hidden; pointer-events: none; }
.stage__grain > div {
  position: absolute;
  inset: -200%;
  width: 400%;
  height: 400%;
  opacity: .1;
  background-repeat: repeat;
}
.stage__grid {
  position: absolute;
  top: calc(50% - 467px);
  left: calc(50% - 850.5px);
  width: 1701px;
  height: 934px;
  opacity: .5;
  image-rendering: pixelated;
}

.room { position: absolute; inset: -4195px -8000px -4180px -8007px; overflow: hidden; }
.wall { position: absolute; z-index: 1; overflow: hidden; }
.wall--right {
  width: 1172px; height: 366px;
  top: calc(50.0708% - 183px); left: calc(51.7797% - 586px);
  transform: perspective(500px) rotateY(-55deg);
}
.wall--left {
  width: 1172px; height: 366px;
  top: calc(49.9183% - 183px); left: calc(48.2203% - 586px);
  transform: perspective(500px) rotateY(55deg);
}
.wall--floor {
  width: 545px; height: 1000px;
  top: calc(51.564% - 500px); left: calc(50.0143% - 272.5px);
  transform: perspective(500px) rotateX(73deg);
}
.wall--sky {
  width: 545px; height: 1000px;
  top: calc(48.654% - 500px); left: calc(50.0029% - 272.5px);
  transform: perspective(500px) rotateX(-73deg);
}

/* Panels fly in from off-wall (delay .8s, per-panel duration --d) */
.panel {
  --fs: .4;
  --fo: 1;
  position: absolute;
  animation: panel-in var(--d, 1s) var(--ease) .8s both;
}
.wall--right .panel { --fx: -1000px; --fy: 0px; }
.wall--left .panel { --fx: 1000px; --fy: 0px; }
.wall--floor .panel { --fx: 0px; --fy: -1000px; }
.wall--sky .panel { --fx: 0px; --fy: 1000px; }
@keyframes panel-in {
  from { opacity: var(--fo); transform: translate(var(--fx), var(--fy)) scale(var(--fs)); }
  to { opacity: 1; transform: none; }
}
.panel video { width: 100%; height: 100%; object-fit: cover; }

.p-r1 { width: 242px; height: 134px; top: 31px; left: 660px; }
.p-r2 { width: 165px; height: 101px; bottom: 80px; left: 628px; }
.p-r3 { width: 250px; height: 150px; top: 65px; left: 396px; }
.p-r4 { width: 165px; height: 91px; bottom: 36px; left: 766px; }

.p-l1 { width: 165px; height: 81px; top: 100px; left: 623px; }
.p-l2 { width: 165px; height: 91px; top: 44px; left: 330px; }
.p-l3 { width: 165px; height: 91px; top: calc(46.1749% - 45.5px); left: 385px; }
.p-l4 { width: 165px; height: 91px; bottom: 36px; left: 268px; }
.p-l5 { width: 165px; height: 91px; top: 85px; left: 147px; }

.p-f1 { width: 149px; height: 76px; bottom: 162px; left: 73px; }
.p-f2 { width: 115px; height: 112px; bottom: 146px; left: 342px; }
.p-f3 { width: 250px; height: 150px; bottom: 299px; left: 36px; }
.p-f4 { width: 122px; height: 170px; bottom: 357px; left: 300px; }

.p-s1 { width: 105px; height: 134px; top: calc(46.5% - 67px); left: 305px; }
.p-s2 { width: 107px; height: 58px; top: 178px; left: 354px; }
.p-s3 { width: 123px; height: 90px; top: 329px; left: 136px; }
.p-s4 { width: 132px; height: 74px; top: 222px; left: 263px; }
.p-s5 { width: 95px; height: 54px; top: 208px; left: 76px; }

.home-logo {
  position: absolute;
  z-index: 4;
  top: calc(50% - 87.5px);
  left: calc(50% - 213.5px);
  width: 427px;
  height: 175px;
}
.home-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 99%;
  aspect-ratio: 2.44288;
  width: auto;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: contain;
}

/* =========================================================================
   WORK — project list
   ========================================================================= */
.work-list { margin: 64px var(--pad) 0; }
.work-row {
  position: relative;
  display: block;
  height: 86px;
  color: #fff;
  text-decoration: none;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.work-row__line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--divider); }
.work-row__inner {
  position: absolute;
  top: 11px;
  bottom: 11px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  padding: 0 24px;
}
.work-row__titles { display: flex; align-items: flex-end; gap: 14px; }
.roll { display: block; height: 38.4px; overflow: hidden; }
.roll__track {
  display: flex;
  flex-direction: column;
  gap: 24.6px;
  transition: transform .45s var(--ease);
}
.work-row__client {
  display: block;
  font-family: "Jacquard 24", sans-serif;
  font-size: 32px;
  line-height: 38.4px;
  white-space: nowrap;
}
.work-row__name { font-size: 32px; line-height: 32px; white-space: nowrap; }
.work-row__thumb {
  position: absolute;
  top: 50%;
  left: 803px;
  width: 328px;
  height: 158px;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.work-row__thumb img { width: 100%; height: 100%; object-fit: contain; }
.work-row__arrow { flex: none; margin-left: auto; color: #9a9a9a; transition: color .3s var(--ease); }

@media (hover: hover) {
  .work-row:hover { background: #fff; color: #000; }
  .work-row:hover .roll__track { transform: translateY(-63px); }
  .work-row:hover .work-row__thumb { opacity: 1; }
  .work-row:hover .work-row__arrow { color: #000; }
}

/* =========================================================================
   ABOUT
   ========================================================================= */
/* GIF strip: 8 equal slots, scales with the page width like the Framer build */
.about-gifs {
  display: flex;
  align-items: center;
  aspect-ratio: 1440 / 88;
  margin-top: 64px;
  padding: 0 var(--pad);
  overflow: hidden;
}
.about-gifs__half { display: contents; }
.about-gifs__slot { position: relative; flex: 1 0 0; height: 88px; overflow: hidden; }
.about-gifs__slot img {
  position: absolute;
  top: 49%;
  left: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1.6437;
  object-fit: cover;
  transform: translateY(-50%);
  opacity: 0;
  animation: fade-in .6s var(--ease) .7s forwards;
}
.about-gifs__slot:first-child img { top: calc(48.98% - 49.75px); height: 100px; aspect-ratio: auto; transform: none; }
@keyframes fade-in { to { opacity: 1; } }

.about-marquees { position: relative; height: 186px; margin-top: 40px; overflow: hidden; }
.about-marquees .ticker { position: absolute; left: 0; right: 0; display: flex; align-items: center; height: 100px; overflow: visible; }
.about-marquees__a { top: 1px; z-index: 2; }
.about-marquees__b { bottom: 0; z-index: 2; }
.ticker--big .ticker__item { font-size: 88px; line-height: 105.6px; color: #fff; }

/* text + 3D scene, centred in a 1000px band on desktop */
.about-middle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 64px;
  height: 1000px;
  margin-top: 120px;
}
.about-text {
  width: 50%;
  font-family: "Jacquard 24", sans-serif;
  font-size: 45px;
  line-height: 54px;
  color: #ececec;
  text-align: center;
}
.about-text .w { opacity: .2; transition: opacity .35s var(--ease); }
.about-text .w.is-lit { opacity: 1; }

.about-3d { width: 100%; height: 50%; padding: 0 var(--pad); }
.about-3d spline-viewer { display: block; width: 100%; height: 100%; }

.site-footer--no-ticker { height: 309px; margin-top: 120px; padding-top: 80px; }

/* =========================================================================
   CONTACT
   ========================================================================= */
.page-main--contact { min-height: 900px; }   /* Framer's contact page is a fixed 900px frame */
.contact-email {
  margin-top: 64px;
  padding: 0 var(--pad);
  font-family: "Jacquard 24", sans-serif;
  font-size: 32px;
  line-height: 38.4px;
  text-align: center;
}
.contact-email a { text-decoration: underline; }
.site-footer--contact { --footer-tail: 142px; margin-top: auto; }

/* =========================================================================
   CASE STUDY
   Mirrors the Framer template: Hero (top, summary, middle) gap 100,
   Content (hero, bottom) gap 120, all inside an 80px side gutter.
   ========================================================================= */
.cs { padding-top: 40px; }
.cs-content { display: flex; flex-direction: column; gap: 120px; }
.cs-hero { display: flex; flex-direction: column; gap: 100px; padding: 0 var(--pad); }
.cs-top { display: flex; flex-direction: column; gap: 32px; }

.cs-toprow { display: flex; flex-direction: column; justify-content: center; gap: 16px; height: 91px; }
.cs-back {
  align-self: flex-start;
  font-size: 16px;
  line-height: 19.2px;
  color: var(--label);
  text-decoration: none;
}
.cs-head { display: flex; justify-content: space-between; align-items: center; }
.cs-head__titles { display: flex; align-items: center; gap: 16px; }
.cs-head__title { font-family: "Jacquard 24", sans-serif; font-size: 56px; line-height: 56px; white-space: nowrap; }
.cs-head__client-wrap { padding-top: 5px; }
.cs-head__client { font-size: 56px; line-height: 56px; white-space: nowrap; }
.cs-head__year { height: 44px; font-size: 32px; line-height: 32px; }

.cs-hero__media { display: flex; flex-direction: column; }
.cs-hero__media video { width: 100%; height: auto; }
.cs-hero__caption {
  margin: 40px 0 1px;
  font-family: "Jacquard 24", sans-serif;
  font-size: 32px;
  line-height: 38.4px;
}

.cs-summary { display: flex; align-items: center; gap: 16px; }
.cs-summary__spacer { flex: none; width: 50%; height: 67px; }
.cs-summary__text {
  flex: 1 0 0;
  min-width: 0;
  font-family: "Jacquard 24", sans-serif;
  font-size: 32px;
  line-height: 38.4px;
}

.cs-middle { display: flex; flex-direction: column; gap: 162px; }
.cs-grids { display: flex; flex-direction: column; gap: 32px; padding: 117px 0; }

.cs-images { display: flex; align-items: center; gap: 32px; height: 300px; overflow: hidden; }
.cs-images__gif { flex: 1 0 0; min-width: 0; height: 300px; }
.cs-images__gif img { width: 100%; height: 100%; object-fit: contain; }
.cs-images__col { display: flex; flex: 1 0 0; flex-direction: column; align-items: flex-start; min-width: 0; }
.cs-images__row { display: flex; align-items: flex-start; width: 100%; height: 300px; overflow: hidden; }
.cs-images__side {
  display: flex;
  flex: 1 0 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}
.cs-images__side img { flex: 1 0 0; min-width: 0; width: 1px; height: auto; object-fit: cover; }
.cs-images__spacer { flex: none; width: 50%; height: 100%; }

.cs-body { display: flex; align-items: flex-end; gap: 32px; }
.cs-body__text { display: flex; flex: 1 0 0; flex-direction: column; justify-content: flex-end; min-width: 0; }
.cs-body__rich p { font-size: 26px; line-height: 31.2px; letter-spacing: -.02em; }
.cs-body__rich p + p { margin-top: 20px; }
.cs-body__image { flex: 1 0 0; min-width: 0; height: 297px; }
.cs-body__image img { width: 100%; height: 100%; object-fit: cover; }

.cs-stats { display: flex; align-items: center; }
.cs-stat { display: flex; flex: none; flex-direction: column; align-items: flex-start; gap: 12px; width: 33%; }
.cs-stat:nth-child(3) { gap: 6px; padding-left: 16px; }   /* the Framer build's third stat is set this way */
.cs-stat__value {
  font-family: "Jacquard 24", sans-serif;
  font-size: 62px;
  line-height: 86.8px;
  letter-spacing: .03em;
  white-space: nowrap;
}
.cs-stat__label { font-size: 26px; line-height: 31.2px; letter-spacing: -.02em; white-space: nowrap; }

.cs-bottom { display: flex; flex-direction: column; gap: 120px; padding: 0 var(--pad); }
.cs-videos { display: flex; flex-direction: column; }
.cs-videos video { width: 100%; height: auto; }

.cs-live-wrap { position: relative; height: 200px; }
.cs-live {
  position: absolute;
  top: 75px;
  left: 0;
  padding: 11px 32px;
  border-radius: 32px;
  background: #fff;
  color: #000;
  font-size: 24px;
  line-height: 28.8px;
  text-decoration: none;
  white-space: nowrap;
}

.back-pill {
  position: fixed;
  left: 50%;
  bottom: 56px;
  z-index: 21;
  transform: translateX(-50%);
  padding: 8px 32px;
  border-radius: 32px;
  background: #fff;
  color: #000;
  font-size: 24px;
  line-height: 28.8px;
  text-decoration: none;
  white-space: nowrap;
}

/* wide desktop: the case-study template has its own ≥1500 variant */
@media (min-width: 1500px) {
  .cs-images { align-items: flex-start; height: 418px; }
  .cs-images__gif { height: 100%; }
  .cs-images__row { height: 450px; }
  .cs-images__side { align-items: flex-start; justify-content: flex-start; }
  .cs-body__rich { width: 662px; }
  .cs-body__image { height: 401px; }
}

/* =========================================================================
   LARGE ≥ 1690
   ========================================================================= */
@media (min-width: 1690px) {
  .stage__grid { width: 2019px; height: 1109px; top: calc(50% - 554.5px); left: calc(50% - 1009.5px); }
}

/* =========================================================================
   TABLET 810–1439
   ========================================================================= */
@media (min-width: 810px) and (max-width: 1439.98px) {
  .stage__grid { width: 1585px; height: 870px; top: calc(50% - 435px); left: calc(50% - 792.5px); }
  .about-middle { height: auto; }
  .about-3d { height: 483px; }

  .cs-head__titles { padding: 5px 0; }
  .cs-images__spacer { width: 33%; }
  .cs-body__rich { padding-right: 16px; }
  .cs-stats { flex-direction: column; gap: 100px; }
  .cs-stat { width: 100%; align-items: center; text-align: center; }
  .cs-live-wrap { height: 88px; }
  .cs-live { top: 0; }
}

/* =========================================================================
   MOBILE < 810
   ========================================================================= */
@media (max-width: 809.98px) {
  :root { --pad: 16px; --footer-gap: 44px; --footer-tail: 30px; }

  .grid-lines span:nth-child(n + 7) { display: none; }
  .grid-lines span:nth-child(6) { border-right: 1px solid var(--line); }

  .page-label { margin-top: 40px; }

  /* footer stacks */
  .footer-info { grid-template-columns: 1fr; row-gap: 40px; height: auto; }
  .footer-info__col:first-child { width: auto; padding-right: 32px; }
  .footer-info p, .footer-info a { font-size: 14px; line-height: 16.8px; }

  /* home */
  .stage__grid { width: 1576px; height: 865px; top: calc(50% - 432.5px); left: calc(50% - 788px); }
  .p-f1 { bottom: 184px; left: 86px; }
  .p-f2 { bottom: 234px; left: 322px; }
  .p-f4 { top: 225px; bottom: auto; left: 276px; }
  .p-s2 { top: auto; bottom: 354px; left: 137px; }
  .p-s3 { top: 139px; left: 283px; }
  .p-s4 { top: 326px; left: 159px; }
  .p-s5 { top: 212px; left: 139px; }
  .home-logo { width: 283px; height: 116px; top: calc(50% - 58px); left: calc(50% - 141.5px); }
  .intro__logo img { width: 283px; height: 116px; }
  .intro--page { display: block; }

  /* work */
  .work-list { margin-top: 32px; }
  .work-row__titles { align-items: center; }
  .roll { height: 19.2px; }
  .work-row__client { font-size: 16px; line-height: 19.2px; }
  .roll__track { gap: 0; }
  .work-row__name { font-size: 22px; line-height: 33px; }
  .work-row__inner { padding: 0; }
  .work-row__thumb {
    position: static;
    width: 87px;
    height: 48px;
    margin-left: auto;
    transform: none;
    opacity: 1;
  }
  .work-row__thumb img { object-fit: cover; }
  .work-row__arrow { display: none; }

  /* about: GIFs become a 2×2 grid, text goes full width */
  .about-gifs { aspect-ratio: auto; margin-top: 32px; align-items: flex-start; }
  .about-gifs__half { display: flex; flex: 1 0 0; flex-direction: column; gap: 24px; }
  .about-gifs__slot { flex: none; width: 100%; height: 96px; }
  .about-gifs__slot--spacer { display: none; }
  .about-gifs__slot img { height: 109px; aspect-ratio: auto; }
  .about-gifs__slot:first-child img { top: -5px; right: -18px; bottom: -10px; left: -19px; width: auto; height: auto; }
  .about-middle { height: 850px; gap: 32px; margin-top: 60px; padding: 0 var(--pad); }
  .about-text { width: 100%; font-size: 16px; line-height: 16px; text-align: left; }
  .about-3d { padding: 0; }
  .site-footer--no-ticker { margin-top: 60px; padding-top: 32px; }

  /* case study */
  .cs-content, .cs-hero, .cs-middle, .cs-bottom { gap: 60px; }
  .cs-toprow { height: auto; justify-content: flex-start; }
  .cs-head { flex-direction: column; align-items: flex-start; }
  .cs-head__titles { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .cs-head__title { font-size: 16px; line-height: 19.2px; white-space: normal; }
  .cs-head__year { height: auto; }
  .cs-summary__spacer { display: none; }
  .cs-grids { gap: 24px; }
  .cs-images { flex-direction: column; align-items: center; gap: 24px; height: 474px; }
  .cs-images__gif, .cs-images__col { flex: none; width: 100%; height: auto; }
  .cs-images__gif img { height: auto; }
  .cs-images__row, .cs-images__side { height: auto; }
  .cs-images__side img { height: 232px; }
  .cs-images__spacer { display: none; }
  .cs-body { flex-direction: column; align-items: stretch; gap: 24px; }
  .cs-body__text, .cs-body__image { flex: none; width: 100%; }
  .cs-body__rich { padding-right: 16px; }
  .cs-stats { flex-direction: column; gap: 50px; }
  .cs-stat { width: 100%; align-items: center; text-align: center; }
  .cs-stat__label { white-space: normal; }
  .cs-live-wrap { height: 146px; }
  .site-footer--case { --footer-tail: 138px; }

  /* contact */
  .page-main--contact { min-height: 100vh; }
  .contact-email { margin-top: 32px; }
  .site-footer--contact { --footer-gap: 101px; --footer-tail: 106px; margin-top: var(--footer-gap); }

  /* menu — row heights copied from the Framer build (About's row is taller there too) */
  .menu__link { height: 62px; padding-top: 16px; font-size: 40px; line-height: 48px; }
  .menu__link[data-nav="about"] { height: 108px; padding-top: 39px; }
}

@media (prefers-reduced-motion: reduce) {
  .panel, .about-gifs__slot img { animation: none; opacity: 1; }
  .roll__track, .intro, .intro__gradient { transition: none; }
}
