/* LODE — print-poster agency sample
   Paper feel + cobalt. Motion: GSAP only. */

:root {
  --paper: #F7F4EF;
  --ink: #111111;
  --cobalt: #1652F0;
  --cobalt-deep: #0E2A8C;
  --ember: #FF6B2C;
  --mute: rgba(17, 17, 17, 0.55);
  --line: rgba(17, 17, 17, 0.12);
  --shadow-1: 0 1px 1px rgba(17,17,17,.04);
  --shadow-2: 0 8px 24px rgba(17,17,17,.08);
  --shadow-3: 0 24px 48px rgba(17,17,17,.12);
  --shadow-4: 0 40px 80px rgba(17,17,17,.14);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--cobalt); }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.back-link {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 90;
  font-size: 0.8125rem;
  padding: 0.45rem 0.75rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 2px;
}
.back-link:hover { background: var(--cobalt); color: var(--paper); }

/* NAV — solid paper/ink, no glass */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem var(--pad);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.nav.is-scrolled { box-shadow: var(--shadow-1); }
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav-links a { text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--cobalt); }
.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 4px;
  transition: transform 0.35s var(--ease-out), background 0.2s;
}
.nav-cta:hover { background: var(--cobalt); color: var(--paper); transform: translateY(-1px); }
.nav-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out);
}
.nav-toggle span:first-child { top: 0.85rem; }
.nav-toggle span:last-child { top: 1.3rem; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(0.22rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-0.22rem) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: var(--pad);
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 700;
}
.mobile-menu a { text-decoration: none; }
.mobile-menu[hidden] { display: none !important; }

@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
}

/* TYPE */
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt);
}
.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.section-note {
  margin: 0.75rem 0 0;
  color: var(--mute);
  font-size: 0.9375rem;
}

/* BUTTONS — slightly squarer (print-poster) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 4px;
  transition: transform 0.4s var(--ease-out), background 0.2s, color 0.2s, box-shadow 0.3s;
}
.btn-primary {
  background: var(--cobalt);
  color: var(--paper);
  box-shadow: var(--shadow-1), var(--shadow-2);
}
.btn-primary:hover {
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: var(--shadow-1), var(--shadow-2), var(--shadow-3);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-lg { padding: 1.1rem 1.75rem; font-size: 1.0625rem; }

/* HERO — brand first; stats live below the fold */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(5.5rem + 2vw) var(--pad) 4rem;
  display: grid;
  align-content: end;
  gap: 1.1rem;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  left: var(--pad);
  top: calc(5.5rem + 1vw);
  width: 2.5rem;
  height: 3px;
  background: var(--ember);
}
.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 11vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--ink);
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 0.08em;
}
.hero-brand-inner { display: inline-block; will-change: transform; }
.hero-brand .ink-dot {
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  margin-top: 0.22em;
  flex-shrink: 0;
  background: var(--cobalt);
  border-radius: 1px;
}
.hero-kicker {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  overflow: hidden;
}
.hero-kicker span { display: inline-block; }
.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.5vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 14ch;
}
.hero-line { display: block; overflow: hidden; }
.hero-line-inner { display: inline-block; will-change: transform; }
.hero-line--accent .hero-line-inner { color: var(--cobalt); }
.hero-sub {
  margin: 0.25rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--mute);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }

.stats-band {
  padding: 0 var(--pad) clamp(3rem, 8vw, 5rem);
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}
.stats {
  list-style: none;
  margin: 0;
  padding: 1.75rem 0 0;
  border-top: 2px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8125rem;
  color: var(--mute);
}
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr 1fr; }
}

/* CLIENTS / TRAIL */
.clients {
  padding: clamp(4rem, 10vw, 7rem) var(--pad);
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}
.client-wall {
  position: relative;
  min-height: clamp(22rem, 55vh, 34rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 3.5rem,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 3.5rem 100%,
    #fff;
  overflow: hidden;
  cursor: crosshair;
  box-shadow: var(--shadow-1), var(--shadow-2);
}
.client-names {
  list-style: none;
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  gap: 1rem 1.5rem;
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.client-names li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  letter-spacing: -0.03em;
  opacity: 0.28;
}
.trail {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.trail img {
  position: absolute;
  width: min(220px, 42vw);
  height: auto;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow-2), var(--shadow-3), var(--shadow-4);
  will-change: transform, opacity, clip-path;
  clip-path: inset(100% 0 0 0);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

/* Touch / coarse: static strip or tap-cycled poster */
.client-wall.is-touch {
  cursor: pointer;
  display: grid;
  grid-template-rows: 1fr auto;
}
.client-wall.is-touch .trail {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0 clamp(1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.5rem);
  z-index: 2;
  min-height: 9rem;
}
.client-wall.is-touch .trail img {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 11rem;
  opacity: 1;
  visibility: visible;
  clip-path: none;
  transform: none;
  box-shadow: var(--shadow-1);
  border: 1px solid var(--line);
}
.client-wall.is-touch:not(.is-reduced-trail) .trail img {
  opacity: 0;
  grid-column: 1 / -1;
  max-height: 14rem;
  justify-self: center;
  width: min(280px, 70%);
}
.client-wall.is-touch:not(.is-reduced-trail) .trail img.is-active {
  opacity: 1;
}
body.is-reduced .client-wall.is-touch .trail img:nth-child(n+5) {
  display: none;
}

/* WORK */
.work {
  padding: clamp(4rem, 10vw, 7rem) var(--pad);
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
@media (max-width: 720px) {
  .work-grid { grid-template-columns: 1fr; }
}
.work-card {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 0.85rem;
}
.work-media {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
  box-shadow: var(--shadow-1), var(--shadow-2);
}
.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.work-mask {
  position: absolute;
  inset: 0;
  background: var(--cobalt);
  transform: scaleY(0);
  transform-origin: bottom;
  mix-blend-mode: multiply;
  opacity: 0.35;
  transition: transform 0.55s var(--ease-out);
  pointer-events: none;
}
.work-card:hover .work-media img { transform: scale(1.04); }
.work-card:hover .work-mask { transform: scaleY(1); transform-origin: top; }
.work-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work-meta h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.work-meta p { margin: 0.25rem 0 0; color: var(--mute); font-size: 0.9375rem; }

/* SERVICES */
.services {
  padding: clamp(4rem, 10vw, 7rem) var(--pad);
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}
.service-list { display: grid; gap: 0; }
.service {
  display: grid;
  grid-template-columns: minmax(4rem, 7rem) 1fr;
  gap: 1.5rem;
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
  border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--cobalt);
}
.service-body h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}
.service-body p { margin: 0; max-width: 38rem; color: var(--mute); }
.service-stat {
  margin-top: 1rem !important;
  color: var(--ink) !important;
  font-size: 0.9375rem;
}
.service-stat strong { color: var(--cobalt); }

/* MARQUEE — PATTERNS.md true-loop rules */
.capabilities {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.marquee { display: flex; width: max-content; }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-x 28s linear infinite;
}
.marquee-row {
  display: flex;
  flex-shrink: 0;
  gap: 2.5rem;
  padding-right: 2.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee-row span::after {
  content: "·";
  margin-left: 2.5rem;
  color: var(--ember);
}
@keyframes marquee-x {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* QUOTES */
.quotes {
  padding: clamp(4rem, 10vw, 7rem) var(--pad);
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; }
}
blockquote {
  margin: 0;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1), var(--shadow-2);
}
blockquote p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.45;
}
blockquote footer {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--mute);
}

/* CTA */
.cta {
  padding: clamp(5rem, 12vw, 8rem) var(--pad);
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(22, 82, 240, 0.12), transparent 70%),
    var(--paper);
}
.cta-title {
  margin: 0 auto;
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.cta-sub {
  margin: 1.25rem auto 2rem;
  max-width: 34rem;
  color: var(--mute);
}

/* FOOT */
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  padding: 1.5rem var(--pad) 5rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--mute);
}
.foot-brand {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.foot nav { display: flex; gap: 1.25rem; margin-left: auto; }
.foot a { text-decoration: none; }

/* EXPERTISE page extras */
.page-hero {
  padding: calc(6rem + 2vw) var(--pad) 3rem;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}
.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.expertise-block {
  padding: 3rem var(--pad) 5rem;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}
.expertise-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
}
.principle {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.principle h3 { margin: 0 0 0.4rem; font-family: var(--font-display); }
.principle p { margin: 0; color: var(--mute); max-width: 40rem; }

/* Contact page */
.contact-page {
  padding: calc(6rem + 2vw) var(--pad) 4rem;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 900px) {
  .contact-page {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.contact-intro .contact-brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.contact-intro h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.contact-intro .contact-pitch {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  color: var(--mute);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--cobalt);
  border-bottom: 2px solid transparent;
}
.contact-email:hover {
  color: var(--cobalt-deep);
  border-bottom-color: var(--cobalt);
}
.contact-form {
  display: grid;
  gap: 1.1rem;
  padding: 1.75rem;
  background: #fff;
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-2);
}
.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 2px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--cobalt);
  outline-offset: 1px;
  border-color: var(--cobalt);
}
.contact-form textarea { min-height: 8rem; resize: vertical; }
.contact-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.25rem;
}
.contact-form .form-note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--mute);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.contact-form .form-success {
  display: none;
  margin: 0;
  padding: 1rem 1.1rem;
  background: rgba(22, 82, 240, 0.08);
  border-left: 3px solid var(--cobalt);
  color: var(--ink);
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.contact-form.is-sent .form-success { display: block; }
.contact-form.is-sent .form-fields { display: none; }

/* GSAP initial states — only while hero timeline is actively running */
body.hero-animating:not(.is-reduced) .hero-line-inner,
body.hero-animating:not(.is-reduced) .hero-brand-inner {
  transform: translateY(110%);
}
body.hero-animating:not(.is-reduced) .reveal-line span,
body.hero-animating:not(.is-reduced) .reveal-fade {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; }
  .client-wall:not(.is-touch) .trail,
  .news-float { display: none !important; }
  .work-media img, .work-mask, .btn, .nav-cta { transition: none !important; }
  .client-wall { cursor: default; }
  .studio-video,
  .work-media video { display: none !important; }
}

/* Font playground — swap display stacks live */
body.font-syne {
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
}
body.font-fraunces {
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}
body.font-unbounded {
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

.font-switch {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.4rem 0.35rem 0.65rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  border-radius: 4px;
}
.font-switch-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}
.font-switch button {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.65rem;
  border-radius: 3px;
  color: var(--mute);
}
.font-switch button.is-on {
  background: var(--ink);
  color: var(--paper);
}
@media (max-width: 640px) {
  .font-switch {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 3.75rem;
  }
  .font-switch-label { display: none; }
}

/* NEWS — list + cursor-follow preview (Paper Tiger news pattern) */
.news-hero {
  padding: calc(6rem + 2vw) var(--pad) 2rem;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}
.news-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 12ch;
}
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0 0;
}
.news-filters button {
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
}
.news-filters button.is-on {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: var(--paper);
}
.news-list {
  list-style: none;
  margin: 0 auto;
  padding: 2rem var(--pad) 5rem;
  max-width: calc(var(--max) + 2 * var(--pad));
}
.news-item {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  position: relative;
}
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news-item time {
  font-size: 0.8125rem;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.news-item h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  transition: color 0.25s var(--ease-out), transform 0.35s var(--ease-out);
}
.news-item:hover h2 { color: var(--cobalt); transform: translateX(6px); }
.news-item .tag-pill {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember);
}
.news-float {
  position: fixed;
  width: min(320px, 40vw);
  aspect-ratio: 4 / 3;
  pointer-events: none;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-2), var(--shadow-3), var(--shadow-4);
  will-change: transform, opacity;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.news-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-float.is-on {
  opacity: 1;
  visibility: visible;
}

/* Case / article stubs */
.stub {
  padding: calc(6rem + 2vw) var(--pad) 4rem;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}
.stub-cover {
  margin: 0 0 2rem;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-1), var(--shadow-2);
}
.stub-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  color: var(--mute);
}
.stub-meta .tag-pill { color: var(--ember); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.stub h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stub-body {
  margin: 0;
  max-width: 40rem;
  font-size: 1.125rem;
  color: var(--mute);
  line-height: 1.6;
}
.stub-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--cobalt);
}

/* STUDIO */
.studio-hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  padding: calc(6rem + 2vw) var(--pad) 3rem;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}
.studio-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.studio-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: opacity 0.6s var(--ease-out);
}
.studio-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.85) 10%, rgba(17,17,17,0.25) 60%, rgba(22,82,240,0.25));
  pointer-events: none;
}
.studio-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 18ch;
}
.studio-hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.studio-hero-copy p {
  margin: 1rem 0 0;
  max-width: 28rem;
  color: rgba(247,244,239,0.75);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1rem;
  padding: 0 var(--pad) 5rem;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.25rem;
  box-shadow: var(--shadow-1), var(--shadow-2);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  will-change: transform;
}
.team-card:hover {
  box-shadow: var(--shadow-2), var(--shadow-3);
}
.team-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.team-card p {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--mute);
}

/* WORK page media */
.work-page .work-media img { object-fit: cover; }
.work-page .work-card.is-video .work-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

