:root {
  color-scheme: dark light;
  --dark-950: #0b0b0a;
  --dark-900: #10100f;
  --dark-850: #151513;
  --dark-800: #1c1c19;
  --light-100: #f6f2ec;
  --light-200: #e9e1d7;
  --ink: #1a1917;
  --muted-dark: #b9b4aa;
  --muted-light: #625d55;
  --text-dark: #e9e6df;
  --accent: #0F1B2D;
  --accent-2: #e8e6df;
  --accent-3: #f06f55;
  --border-dark: rgba(233, 230, 223, 0.14);
  --border-light: rgba(26, 25, 23, 0.14);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --font-display: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1180px;
  --section-pad: 8rem;
  --header-height: 76px;
}

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

html {
  background: var(--dark-900);
  scroll-behavior: auto;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--dark-900);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.58;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  border: 0;
  font: inherit;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-dark {
  background: var(--dark-900);
  color: var(--text-dark);
}

.section-light {
  background: var(--light-100);
  color: var(--ink);
}

.section-inner {
  width: min(var(--max-width), calc(100% - 2rem));
  margin-inline: auto;
  padding-block: var(--section-pad);
}

/* ---- Header & Nav ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 16px 24px;
  pointer-events: none;
  transition: transform 300ms ease;
}

.site-header.menu-active {
  pointer-events: auto;
}

/* Nav shell — simple flex row, no glass */
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: none;
  margin: 0;
  padding: 0;
  pointer-events: auto;
  position: relative;
  z-index: 9999;
}

/* Brand logo — original styling, outside pill */
.brand-mark {
  display: inline-flex;
  align-items: center;
  min-width: 2.65rem;
  min-height: 2.65rem;
  border: 0;
  border-radius: 0;
  pointer-events: auto;
}

.brand-logo {
  height: 12rem;
  width: auto;
  filter: invert(1);
}

/* ---- Glass pill — nav links only ---- */
.nav-pill {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 10px 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
  pointer-events: auto;
}

/* Prismatic shimmer border */
.nav-pill::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--shimmer-angle, 0deg),
    transparent 0%,
    rgba(255, 255, 255, 0.03) 10%,
    rgba(180, 200, 255, 0.08) 20%,
    rgba(200, 180, 255, 0.06) 30%,
    transparent 40%,
    transparent 60%,
    rgba(255, 200, 220, 0.06) 70%,
    rgba(180, 220, 255, 0.08) 80%,
    rgba(255, 255, 255, 0.03) 90%,
    transparent 100%
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: shimmer-rotate 8s linear infinite;
}

.nav-pill:hover::before {
  opacity: 1;
}

@property --shimmer-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes shimmer-rotate {
  to {
    --shimmer-angle: 360deg;
  }
}

.nav-pill a {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 100px;
  transition: background 0.4s ease, color 0.25s ease;
}

/* Subtle inner glow on individual link hover */
.nav-pill a:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.nav-pill a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}

/* Menu toggle — outside pill */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  pointer-events: auto;
  border-radius: 8px;
  color: var(--text-dark);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(42deg) translateY(5px);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-42deg) translateY(-5px);
}

/* ---- Theme adaptation for light sections ---- */
.site-header[data-theme="light"] .nav-pill {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.06);
}

.site-header[data-theme="light"] .nav-pill a {
  color: rgba(0, 0, 0, 0.7);
}

.site-header[data-theme="light"] .nav-pill a:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #000;
}

.site-header[data-theme="light"] .menu-toggle span {
  background: rgba(0, 0, 0, 0.7);
}

.site-header[data-theme="light"] .brand-logo {
  filter: none;
}

/* ---- Mobile menu — window shade ---- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(ellipse at 85% 80%, rgba(255, 176, 0, 0.06), transparent 28rem),
    var(--dark-900);
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
  will-change: clip-path;
}

.mobile-menu.is-animating,
.mobile-menu.is-open {
  pointer-events: auto;
}

/* ---- Nav links inside menu ---- */
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: calc(12rem + 4rem) 2rem 0;
}

.mobile-menu-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 10vw, 4.25rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-dark);
  padding: 0.3em 0;
  transition: color 0.35s ease;
}

.mobile-menu-nav:hover a {
  color: rgba(233, 230, 223, 0.3);
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:focus-visible {
  color: #fff;
}

/* ---- Footer area inside menu ---- */
.mobile-menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 2rem;
  gap: 1.5rem;
}

.mobile-menu-footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mobile-menu-footer-left span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--muted-dark);
  line-height: 1.5;
}

.mobile-menu-footer-right {
  display: flex;
  gap: 1.25rem;
}

.mobile-menu-footer-right a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted-dark);
  transition: color 0.25s ease;
}

.mobile-menu-footer-right a:hover {
  color: var(--text-dark);
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-gl {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gl canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 25%, rgba(10,10,10,0.75) 80%, rgba(10,10,10,0.9) 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-title,
.pitch-title,
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 2rem;
  margin-top: -4rem;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-title {
  position: relative;
  margin: 0 0 2.5rem;
  color: #f7f5ee;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 1.05;
  text-shadow: none;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-cta-primary,
.hero-cta-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: all 250ms ease;
}

.hero-cta-primary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.hero-cta-primary:hover,
.hero-cta-primary:focus-visible {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
  transform: translateY(-1px);
}

.hero-cta-glass {
  background: transparent;
  color: #f7f5ee;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-cta-glass:hover,
.hero-cta-glass:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 24px rgba(200, 200, 200, 0.15);
  transform: translateY(-1px);
}

.hero-title-line {
  display: block;
}

.hero-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.hero-sans {
  font-family: var(--font-display);
  font-weight: 300;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin: 2rem auto 0;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding: 0.9rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: var(--accent);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-cta:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
 
@media (max-width: 768px) {
  .hero-canvas {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero-noise { opacity: 0.05; }
  .hero-vignette {
    background: radial-gradient(ellipse at center, transparent 20%, rgba(10,10,10,0.8) 100%);
  }
}

.button {
  position: relative;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  margin-top: 2rem;
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 16px 42px rgba(255, 176, 0, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
  background: var(--accent-2);
  box-shadow: 0 18px 46px rgba(233, 230, 223, 0.16);
}

.scroll-cue-wrapper {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: -0.5rem;
}

.scroll-cue-text {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #ffffff;
  opacity: 0.8;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.scroll-cue {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
  transform: scale(0.65);
}

.scroll-cue span {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  margin-inline: 0;
  background: none;
  animation: scrollPulse 1.5s ease-in-out infinite;
}

.scroll-cue span::before,
.scroll-cue span::after {
  content: "";
  position: absolute;
  background: #f7f5ee;
}

.scroll-cue span::before {
  left: 50%;
  top: 0.1rem;
  width: 0.38rem;
  height: 4.65rem;
  transform: translateX(-50%);
}

.scroll-cue span::after {
  left: 50%;
  bottom: 0.12rem;
  width: 2.6rem;
  height: 2.6rem;
  border-right: 0.38rem solid #f7f5ee;
  border-bottom: 0.38rem solid #f7f5ee;
  background: transparent;
  transform: translateX(-50%) rotate(45deg);
}

@keyframes scrollPulse {
  0%, 100% { transform: translateY(-0.35rem); opacity: 0.45; }
  50% { transform: translateY(0.35rem); opacity: 1; }
}

/* ── Showreel Section ──────────────────── */
.showreel-section {
  position: relative;
  height: 200vh;
  background: #0a0a0a;
  overflow: visible;
}

/* ── Springy Section Edges ─────────────── */
.section-edge {
  position: absolute;
  bottom: -1px;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 150px;
  overflow: visible;
  pointer-events: none;
}

.showreel-stage {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.showreel-video-container {
  position: relative;
  z-index: 10;
  width: min(80vw, 900px);
  aspect-ratio: 16 / 9;
  border-radius: 50%;
  overflow: hidden;
  transform: scale(0.03);
  will-change: transform, border-radius;
}

.showreel-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.showreel-thumbnails {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.showreel-thumb {
  position: absolute;
  top: 50%;
  left: 50%;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  opacity: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%) scale(0);
}

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

.showreel-thumb-1 { width: clamp(140px, 18vw, 280px); aspect-ratio: 4/3; }
.showreel-thumb-2 { width: clamp(110px, 14vw, 220px); aspect-ratio: 3/4; }
.showreel-thumb-3 { width: clamp(140px, 18vw, 280px); aspect-ratio: 4/3; }
.showreel-thumb-4 { width: clamp(110px, 14vw, 220px); aspect-ratio: 3/4; }
.showreel-thumb-5 { width: clamp(130px, 16vw, 260px); aspect-ratio: 4/3; }
.showreel-thumb-6 { width: clamp(130px, 16vw, 260px); aspect-ratio: 4/3; }



.manifesto {
  position: relative;
  overflow: visible;
  isolation: isolate;
  background: var(--light-100);
}

.top-bubble-wrap {
  position: absolute;
  top: -14vw;
  left: 50%;
  z-index: -1;
  width: 125vw;
  height: 30vw;
  transform: translateX(-50%);
  pointer-events: none;
}

.top-bubble {
  width: 100%;
  height: 100%;
  border-radius: 0 0 50% 50%;
  background: var(--light-100);
  transform-origin: 50% 0;
}

.manifesto-panel {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 1.2rem;
}

.manifesto-panel-combined {
  display: grid;
  align-content: start;
  min-height: auto;
  padding-block: clamp(2rem, 5vw, 4rem) 4rem;
}

.manifesto-panel-three {
  min-height: auto;
  display: grid;
  align-content: center;
  padding-block: 4rem 8rem;
}

.manifesto-title {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

.manifesto-row {
  display: block;
  width: max-content;
  max-width: 108vw;
  line-height: 0.82;
  white-space: nowrap;
  will-change: transform;
}

.manifesto-serif {
  font-family: var(--font-serif);
  font-size: clamp(4.6rem, 8.5vw, 11rem);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
}

.manifesto-sans {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 6.8vw, 9rem);
  font-weight: 300;
  text-transform: uppercase;
}

.manifesto-row.is-center {
  margin-inline: auto;
}

.manifesto-row.is-right {
  margin-left: auto;
  margin-right: 5vw;
}

.manifesto-row.is-left {
  margin-left: 4vw;
}

.manifesto-row.is-tight {
  margin-left: 4vw;
}

.manifesto-row.is-small {
  font-size: clamp(2.8rem, 5.5vw, 7.2rem);
}

/* ══════════════════════════════════════════════
   PARAGRAPH RAIL — ShrinkingText + Slideshow
   ══════════════════════════════════════════════ */

/* Override .manifesto-panel-three base styles */
.paragraph-rail {
  position: relative !important;
  display: block !important;
  height: calc(3 * 60vh) !important;
  min-height: auto !important;
  padding: 0 !important;
  z-index: 10;
  background: var(--light-100);
  overflow: visible !important;
}

.paragraph-rail-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.paragraph-rail-container {
  position: relative;
  z-index: 2;
  width: min(60rem, calc(100% - 4rem));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: visible;
}

/* Frosted glass panel — pseudo-element behind text, activated during slideshow */
.paragraph-rail-container::before {
  content: '';
  position: absolute;
  inset: -1.5rem -2rem;
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  background: rgba(10, 10, 10, 0.18);
  border-radius: 1rem;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.rail-text-block {
  width: 100%;
}

.rail-text-block p {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 4.2vw, 4rem);
  font-weight: 300;
  line-height: 1.17;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-align: justify;
  text-align-last: center;
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

/* ShrinkingText lines (created by JS) */
.shrink-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.25em;
  margin-inline: auto;
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 4.2vw, 4rem);
  font-weight: 300;
  line-height: 1.17;
  letter-spacing: 0.01em;
  color: var(--ink);
  transition: color 0.4s ease, text-shadow 0.4s ease;
  white-space: nowrap;
  overflow: visible;
}

.shrink-word {
  display: inline-block;
  flex-shrink: 0;
}

.shrink-line.is-last {
  justify-content: center;
}

/* CTA */
.rail-cta-wrap {
  position: relative;
  margin: 1rem 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.rail-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  text-decoration: none;
  cursor: none;
  transition: opacity 0.3s ease;
}

.rail-cta-link:hover {
  opacity: 0.65;
}

.rail-arrow {
  font-size: clamp(1.8rem, 4.2vw, 4rem);
  line-height: 1;
  color: var(--ink);
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

.rail-cta-headline {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 4.2vw, 4rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.17;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

/* Slideshow */
.rail-slideshow {
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.rail-slideshow.is-active {
  opacity: 1;
  visibility: visible;
}

.rail-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: opacity;
  backface-visibility: hidden;
}

.rail-slide.is-current {
  opacity: 1;
}

.rail-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rail-slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center,
      rgba(0,0,0,0.05) 0%,
      rgba(0,0,0,0.22) 100%),
    linear-gradient(to bottom,
      rgba(0,0,0,0.08) 0%,
      rgba(0,0,0,0.02) 35%,
      rgba(0,0,0,0.02) 65%,
      rgba(0,0,0,0.08) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Slideshow active — text treatment */
.paragraph-rail.slideshow-active .shrink-line,
.paragraph-rail.slideshow-active .rail-text-block p {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 30px rgba(0,0,0,0.18), 0 0 60px rgba(0,0,0,0.08);
}

.paragraph-rail.slideshow-active .rail-cta-headline,
.paragraph-rail.slideshow-active .rail-arrow {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 30px rgba(0,0,0,0.18), 0 0 60px rgba(0,0,0,0.08);
}

.paragraph-rail.slideshow-active .rail-cta-link:hover {
  opacity: 1;
}

.paragraph-rail.slideshow-active .paragraph-rail-container {
  z-index: 9999;
}

.paragraph-rail.slideshow-active .paragraph-rail-container::before {
  opacity: 1;
}

/* Responsive */
@media (max-width: 860px) {
  .paragraph-rail {
    height: calc(2.5 * 60vh) !important;
  }
  .shrink-line,
  .rail-text-block p,
  .rail-cta-headline,
  .rail-arrow {
    font-size: clamp(1.2rem, 5.5vw, 2rem);
  }
  .rail-cta-headline {
    white-space: normal;
    text-align: center;
  }
  .rail-cta-link {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .paragraph-rail {
    height: calc(2 * 60vh) !important;
  }
  .paragraph-rail-container {
    width: calc(100% - 2rem);
  }
}

/* ---- Light section background variants ---- */
.section-light-alt {
  background: #efece7;
}

.section-light-warm {
  background: #f0ede8;
}

/* ---- Services ---- */
.services {
  position: relative;
  padding: clamp(3.5rem, 6vw, 6rem) clamp(0.75rem, 2vw, 1.5rem) clamp(4rem, 7vw, 6rem);
  overflow: hidden;
  background: var(--light-100);
  color: var(--ink);
}

.services-title {
  margin: 0 auto clamp(1.6rem, 3.5vw, 3rem);
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 6.8vw, 9rem);
  font-style: normal;
  font-weight: 700;
  line-height: 0.9;
  text-align: center;
  text-transform: none;
}

.services-inner {
  width: min(100%, 126rem);
  margin-inline: auto;
}

.service {
  display: grid;
  grid-template-columns: minmax(20rem, 34%) minmax(0, 1fr);
  min-height: clamp(5.6rem, 7.6vw, 8.1rem);
  overflow: hidden;
  background: rgba(26, 25, 23, 0.045);
  outline: none;
  transition: min-height 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              background 0.35s ease;
}

.service + .service {
  border-top: 1px solid rgba(26, 25, 23, 0.08);
}

.service.active,
.service:focus-visible {
  min-height: clamp(18rem, 27vw, 24rem);
  background: rgba(255, 255, 255, 0.34);
}

.service-visual {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  filter: saturate(0.92);
  transform: scale(1.02);
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.35s ease;
}

.service.active .service-visual img,
.service:focus-visible .service-visual img {
  filter: saturate(1);
  transform: scale(1);
}

.service-content {
  display: grid;
  align-content: start;
  padding: clamp(1.2rem, 2.25vw, 2rem) clamp(1.25rem, 3vw, 3rem);
}

.service-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.service-number {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 2.65vw, 3.5rem);
  font-style: italic;
  line-height: 0.95;
}

.service-title {
  margin: 0;
  max-width: 24ch;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 2.55vw, 3.25rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: lowercase;
}

.service-text {
  max-width: 46rem;
  max-height: 0;
  margin: clamp(1rem, 1.5vw, 1.45rem) 0 0;
  overflow: hidden;
  color: var(--muted-light);
  font-size: clamp(0.92rem, 1vw, 1.08rem);
  line-height: 1.48;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease;
}

.service.active .service-text,
.service:focus-visible .service-text {
  max-height: 12rem;
  opacity: 1;
}

.service-cta {
  grid-template-columns: 1fr;
  min-height: clamp(6.5rem, 8vw, 9rem);
  background: rgba(26, 25, 23, 0.08);
}

.service-cta.active,
.service-cta:focus-visible {
  min-height: clamp(8rem, 10vw, 11rem);
}

.service-cta .service-title {
  max-width: 26ch;
}

.service-cta .project-link {
  width: max-content;
  margin-top: 1.35rem;
  color: var(--accent);
}

/* ---- Parallax CTA stacking — sections cover fixed CTA ---- */
.section_parallax ~ section,
.section_parallax ~ div {
  position: relative;
  z-index: 101;
}

/* Sections ABOVE parallax must also cover the fixed CTA */
.services {
  position: relative;
  z-index: 101;
}

/* ---- Parallax CTA Section ---- */
.section_parallax {
  position: relative;
  background-color: #000;
  overflow: hidden;
}

.padding-global {
  padding: 0;
}

.container-full {
  width: 100%;
}

.parallax_component {
  position: relative;
  display: flex;
  min-height: 300vh;
}

.parallax_image-col {
  flex: 1;
  position: relative;
  overflow: visible;
}

/* Gradient dividers — two layers for crossfade */
.gradient-line-divide {
  width: 1px;
  flex-shrink: 0;
  position: relative;
}

.gradient-line-divide::before,
.gradient-line-divide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.gradient-line-divide::before {
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.1) 3%, rgba(255,255,255,0.1) 95%, transparent 100%);
  opacity: var(--white-opacity, 1);
}

.gradient-line-divide::after {
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.12) 3%, rgba(0,0,0,0.12) 95%, transparent 100%);
  opacity: var(--dark-opacity, 0);
}

/* Image wraps — varied sizes and positions */
.parallax_image-wrap {
  position: absolute;
  overflow: hidden;
  border-radius: 6px;
  will-change: transform;
}

.parallax_image-wrap.is-1 { top: 35%; height: 30%; width: 90%; left: 5%; }
.parallax_image-wrap.is-2 { top: 48%; height: 18%; width: 75%; left: 12%; }
.parallax_image-wrap.is-3 { top: 42%; height: 12%; width: 70%; left: 15%; }
.parallax_image-wrap.is-4 { top: 38%; height: 10%; width: 65%; left: 18%; }
.parallax_image-wrap.is-5 { top: 44%; height: 28%; width: 85%; left: 8%; }
.parallax_image-wrap.is-6 { top: 50%; height: 15%; width: 78%; left: 11%; }

.parallax_image-wrap img,
.parallax_image-wrap video {
  width: 100%;
  height: 130%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

/* Fixed CTA */
.parallax_cta-fixed {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
}

.cta-text {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #a2a2a9;
  margin-bottom: 16px;
}

.cta-link {
  text-decoration: none;
  display: block;
  text-align: center;
  pointer-events: none;
  cursor: pointer;
}

.parallax_cta-fixed.is-interactive .cta-link {
  pointer-events: auto;
}

.cta-link::after {
  content: '→';
  display: block;
  margin-top: 1.2rem;
  font-size: 18px;
  letter-spacing: 0;
  color: rgba(255,255,255,0.4);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.4s ease;
}

.cta-link:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.cta-heading {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0;
  transition: opacity 0.3s ease;
}

.cta-link:hover .cta-heading {
  opacity: 0.75;
}

/* Responsive — hide outer columns on smaller screens */
@media (max-width: 767px) {
  .parallax_image-col:nth-child(n+9),
  .gradient-line-divide:nth-child(n+10) {
    display: none;
  }

  .parallax_component {
    min-height: 200vh;
  }
}

@media (max-width: 479px) {
  .parallax_image-col:nth-child(n+7),
  .gradient-line-divide:nth-child(n+8) {
    display: none;
  }
}

/* ═══════════════════════════════════════
   FAQ — Card Grid
   ═══════════════════════════════════════ */

.faq-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.faq-kicker {
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-display-title {
  margin: 0;
}

.faq-title-line {
  display: block;
  line-height: 1.05;
}

.faq-title-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.2rem, 7vw, 6rem);
  color: var(--ink);
}

.faq-title-sans {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.faq-card {
  position: relative;
  background: var(--dark-900, #10100f);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: none;
  outline: none;
  transition: background 0.35s ease, transform 0.3s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.faq-card:hover {
  background: #1e1e1c;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
}

.faq-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.faq-card-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 2rem;
  min-height: clamp(16rem, 22vw, 21rem);
}

/* Corner "+" marks — top pair on .faq-card, bottom pair on .faq-card-inner */
.faq-card::before,
.faq-card::after {
  content: '+';
  position: absolute;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  z-index: 2;
  top: 1rem;
  pointer-events: none;
}

.faq-card::before { left: 1.25rem; }
.faq-card::after  { right: 1.25rem; }

.faq-card-inner::before,
.faq-card-inner::after {
  content: '+';
  position: absolute;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  z-index: 2;
  bottom: 1rem;
  pointer-events: none;
}

.faq-card-inner::before { left: 1.25rem; }
.faq-card-inner::after  { right: 1.25rem; }

.faq-card-question {
  margin: 0;
  padding: 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.15vw, 1.15rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #d4d2d0;
}

.faq-card-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.4s ease 0.05s,
              margin-top 0.5s ease;
}

.faq-card.is-open .faq-card-answer {
  max-height: 30rem;
  opacity: 1;
  margin-top: 1.25rem;
}

.faq-card-answer p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(212, 210, 208, 0.65);
  text-transform: none;
  letter-spacing: 0;
}

.faq-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(212, 210, 208, 0.4);
  transition: color 0.3s ease;
}

.faq-action-text {
  display: inline-block;
  min-width: 5.5em;
}

.faq-card:hover .faq-card-action {
  color: rgba(212, 210, 208, 0.8);
}

.faq-card.is-open .faq-card-action {
  color: rgba(212, 210, 208, 0.55);
}

/* FAQ CTA button */
.faq-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.5rem, 4vw, 4rem);
}

.faq-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--ink, #1a1a18);
  background: transparent;
  border: 1.5px solid var(--ink, #1a1a18);
  text-decoration: none;
  padding: 1.1rem 2.5rem;
  border-radius: 100px;
  cursor: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.faq-cta:hover {
  background: var(--ink, #1a1a18);
  color: var(--light-100, #f6f2ec);
  transform: translateY(-2px);
}

.faq-cta-icon {
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.section-heading.compact {
  width: min(42rem, 100%);
}

.section-title {
  font-size: 5.75rem;
}

/* ═══════════════════════════════════════
   WORK — 14islands Grid + Character Morph
   ═══════════════════════════════════════ */

.work {
  padding: clamp(4rem, 8vw, 8rem) 0;
  overflow: visible;
}

.work-inner {
  width: min(1400px, calc(100% - clamp(2rem, 5vw, 6rem)));
  margin-inline: auto;
}

/* ── Morph text intro ── */
.work-intro {
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.morph-text-block {
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.morph-line {
  display: grid;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.morph-line--muted {
  font-weight: 300;
  color: #a2a2a9;
}

.morph-line--bold {
  font-weight: 700;
  color: var(--ink);
}

.morph-layer {
  grid-area: 1 / 1;
  white-space: nowrap;
}

.morph-char {
  display: inline;
  opacity: 1;
  transition: opacity 0.32s ease;
}

.work-intro-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: auto;
  max-width: 360px;
}

.work-intro-aside p {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.aside-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: opacity 0.3s ease;
}

.aside-link:hover {
  opacity: 0.5;
}

/* ── 2-column project grid ── */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 2.5vw, 2.5rem);
}

.work-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-visual {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 6px;
  overflow: hidden;
  background: var(--light-200);
}

.card-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.card-visual canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

.card-info {
  margin-top: clamp(0.8rem, 1.2vw, 1.25rem);
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.3;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-card:hover .card-info {
  transform: translateY(-3px);
}

.card-name {
  font-weight: 600;
  color: var(--ink);
}

.card-sep {
  color: #a2a2a9;
  font-weight: 300;
}

.card-category {
  font-weight: 400;
  color: #a2a2a9;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .morph-layer {
    white-space: normal;
  }
  .work-intro-aside {
    margin-left: 0;
    max-width: none;
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .work-grid {
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 6vw, 4rem);
  }
}

.project-link::after,
.email-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.project-link:hover::after,
.project-link:focus-visible::after,
.email-link:hover::after,
.email-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  min-height: 100svh;
  background: var(--dark-950, #0b0b0a);
}

.contact-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(5rem, 10vw, 8rem) 1.5rem clamp(1.5rem, 3vw, 2.5rem);
}

.contact-title {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.2rem, 7.5vw, 7rem);
  line-height: 1.05;
  color: #f7f5ee;
  text-wrap: balance;
}

.contact-subtitle {
  margin: 1.5rem 0 0;
  color: rgba(233, 230, 223, 0.72);
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  max-width: 38rem;
}

.contact-subtitle strong {
  color: #f7f5ee;
  font-weight: 700;
}

.contact-subtitle a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.contact-subtitle strong a:hover,
.contact-subtitle strong a:focus-visible {
  color: var(--accent);
}

.contact-btn-wrap {
  margin-top: 2rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  padding: 0.9rem 2.2rem;
  background: transparent;
  border: 1.5px solid rgba(233, 230, 223, 0.35);
  border-radius: 999px;
  color: #f7f5ee;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 180ms ease;
}

.contact-btn:hover,
.contact-btn:focus-visible {
  background: #f7f5ee;
  color: var(--dark-950, #0b0b0a);
  border-color: #f7f5ee;
  transform: translateY(-2px);
}

/* ---- Inquiry form (dark theme) ---- */
.inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 2rem;
  width: 100%;
  max-width: 900px;
  margin: 3rem auto 0;
  text-align: left;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group--center {
  text-align: center;
  margin-top: 0.5rem;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8a8885;
  margin-bottom: 0.75rem;
}

.form-input {
  font-family: var(--font-body);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 300;
  color: #ffffff;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 0.5rem 0 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  border-bottom-color: rgba(255,255,255,0.5);
}

.form-input::placeholder {
  color: rgba(255,255,255,0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

/* Submit button uses existing .contact-btn styles */
.inquiry-form .contact-btn {
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  padding: 1.1rem 2.5rem;
}

@media (max-width: 768px) {
  .inquiry-form {
    grid-template-columns: 1fr;
  }
}

.wordmark-physics {
  position: relative;
  flex: 1 1 auto;
  min-height: 18vw;
  overflow: hidden;
  cursor: default;
  width: 100%;
}

#wordmark-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.site-footer {
  border-top: 1px solid var(--border-dark);
  background: #0f0f0e;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max-width), calc(100% - 2rem));
  margin-inline: auto;
  padding-block: 1.3rem;
  color: rgba(233, 230, 223, 0.72);
  font-size: 0.92rem;
}

.footer-inner div:first-child {
  display: grid;
  gap: 0.1rem;
}

.footer-inner strong {
  color: var(--text-dark);
}

.footer-inner p {
  margin: 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
}

.social-links a {
  transition: color 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--accent);
}

.js [data-reveal],
.js [data-project-card],
.js [data-faq-card] {
  opacity: 0;
}

.js .line,
.js .word {
  overflow: hidden;
}

.js [data-split] .word {
  display: inline-block;
  transform-origin: 50% 100%;
}


@media (max-width: 1120px) {
  :root {
    --section-pad: 6.5rem;
  }

  .hero-title {
    font-size: clamp(3rem, 5.6vw, 7rem);
  }

  .pitch-title,
  .section-title {
    font-size: 4.7rem;
  }

  .manifesto-serif {
    font-size: clamp(4.2rem, 9.5vw, 9rem);
  }

  .manifesto-sans {
    font-size: clamp(3.4rem, 7.5vw, 7.5rem);
  }

  .manifesto-panel {
    padding-inline: 1rem;
  }

  .project-copy h3 {
    font-size: 3.8rem;
  }

  .mosaic-card-1 {
    --w: 12.1rem;
    top: 8.2%;
    left: 8.6%;
  }

  .mosaic-card-2 {
    --w: 12.5rem;
    top: 31%;
    left: 48%;
  }

  .mosaic-card-3 {
    --w: 12.4rem;
    top: 51%;
    left: 2%;
  }

  .mosaic-card-10 {
    display: none;
  }
}

@media (max-width: 860px) {
  html {
    overflow-x: clip;
  }

  body {
    font-size: 16px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .nav-pill {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 5.5rem;
  }

  .hero-mosaic {
    display: block;
    inset: 0;
    height: auto;
    opacity: 0.82;
  }

  .mosaic-card {
    position: absolute;
    display: block;
    width: var(--mobile-w, var(--w));
    min-height: 0;
    aspect-ratio: var(--ar, 4 / 3);
  }

  .mosaic-card-1 { --mobile-w: 39vw; top: 12%; left: 9%; }
  .mosaic-card-2 { --mobile-w: 36vw; top: 34%; left: 55%; }
  .mosaic-card-3 { --mobile-w: 40vw; top: 50%; left: -8%; }
  .mosaic-card-4,
  .mosaic-card-6,
  .mosaic-card-7,
  .mosaic-card-8,
  .mosaic-card-9,
  .hero-mosaic .mosaic-card-10 { display: none; }

  .hero-content {
    padding-bottom: 0;
  }

  .hero-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: clamp(2.4rem, 7vw, 3.2rem);
  }

  .hero-title-left,
  .hero-title-right {
    max-width: 100%;
  }

  .hero-title-right {
    align-self: flex-end;
    text-align: right;
  }

  .showreel-section {
    height: 150vh;
  }

  .showreel-thumb {
    display: none;
  }

  .showreel-video-container {
    width: 85vw;
  }



  .pitch-inner {
    margin-inline: auto;
    width: min(var(--max-width), calc(100% - 2rem));
  }

  .pitch-title,
  .section-title {
    font-size: 3.45rem;
  }

  .manifesto {
    min-height: auto;
  }

  .top-bubble-wrap {
    top: -19vw;
    width: 150vw;
    height: 42vw;
  }

  .manifesto-panel {
    padding: 5rem 0.85rem;
    height: auto;
  }

  .manifesto-panel-combined {
    min-height: auto;
    padding-block: 5rem 3rem;
  }

  .manifesto-panel-three,
  .manifesto-panel,
  .manifesto {
    overflow: visible !important;
  }

  .manifesto-panel-three {
    padding-block: 3rem 5rem;
    padding-bottom: 60px;
    height: auto;
  }

  .manifesto-title {
    gap: 0.15rem;
  }

  .manifesto-serif {
    font-size: clamp(2.8rem, 12vw, 5rem);
  }

  .manifesto-sans {
    font-size: clamp(2rem, 8.5vw, 3.6rem);
  }

  .manifesto-row {
    max-width: 130vw;
  }

  .manifesto-row.is-right {
    margin-right: 0;
  }

  .manifesto-row.is-left,
  .manifesto-row.is-tight {
    margin-left: 0;
  }

  .manifesto-row.is-small {
    font-size: clamp(1.7rem, 7.2vw, 3rem);
  }

  .section-edge {
    height: 80px;
  }

  .services {
    padding: 4.5rem 0.85rem;
  }

  .services-title {
    margin-bottom: 2.25rem;
    font-size: clamp(3rem, 16vw, 5.8rem);
  }

  .service,
  .service.active,
  .service:focus-visible {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .service-visual {
    height: 14rem;
  }

  .service-content {
    padding: 1.2rem;
  }

  .service-title {
    font-size: clamp(2rem, 9vw, 3.4rem);
  }

  .service-text,
  .service.active .service-text,
  .service:focus-visible .service-text {
    max-height: none;
    opacity: 1;
  }

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

  .faq-title-serif {
    font-size: clamp(2.5rem, 9vw, 4rem);
  }

  .faq-title-sans {
    font-size: clamp(2rem, 7vw, 3.2rem);
  }

  .faq-card-inner {
    min-height: 15rem;
    padding: 2.5rem 1.5rem;
  }

  .faq-card {
    cursor: pointer;
  }

  .faq-cta {
    cursor: pointer;
  }

  .footer-inner {
    display: grid;
    justify-items: start;
  }

  .social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  :root {
    --section-pad: 5rem;
  }

  .hero {
    padding-inline: 0.8rem;
  }

  .hero-mosaic {
    height: auto;
  }

  .hero-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .pitch-title,
  .section-title {
    font-size: 2.85rem;
  }

  .project-copy h3 {
    font-size: 1.45rem;
  }

  .project-copy p {
    font-size: 0.88rem;
  }

  .mobile-menu-nav a {
    font-size: clamp(2rem, 8.5vw, 2.8rem);
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .faq-card-inner {
    min-height: 14rem;
    padding: 2rem 1.25rem;
  }
}

/* ── Custom Cursor ─────────────────────── */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: #f0ece6;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
 
.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(240, 236, 230, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
  mix-blend-mode: difference;
}
 
.cursor-ring.is-hovering {
  width: 60px;
  height: 60px;
  border-color: #0F1B2D;
}
 
/* Hide default cursor everywhere */
body, a, button, summary, .project-visual, .project-link,
.contact-btn, .brand-mark, .nav-pill a, .menu-toggle {
  cursor: none;
}
 
/* Restore on touch devices */
@media (hover: none) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
  body, a, button, summary, .project-visual, .project-link,
  .contact-btn, .brand-mark, .nav-pill a, .menu-toggle {
    cursor: auto;
  }
}

/* ── Global hover transitions ──────────── */
a, button, summary,
.project-card, .project-visual, .service-card,
.faq-card, .nav-pill a, .brand-mark, .contact-btn {
  transition: color 0.3s ease,
              background-color 0.3s ease,
              border-color 0.3s ease,
              transform 0.3s ease,
              box-shadow 0.3s ease,
              opacity 0.3s ease;
}
 
/* Nav link hover handled by glass-nav pill styles */
 
/* Project links: arrow nudge on hover */
.project-link:hover span {
  display: inline-block;
  transform: translateX(4px);
  transition: transform 0.3s ease;
}
 
/* Service cards: subtle lift on hover */
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
 
/* FAQ card: hover handled in card grid styles above */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ════════════════════════════════════════
   Cookie Consent Toast
   ════════════════════════════════════════ */
.cookie-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9997;
  max-width: 380px;
  width: calc(100% - 3rem);
  padding: 1.5rem 1.75rem;
  background: var(--dark-800);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.cookie-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-toast.is-dismissed {
  opacity: 0;
  transform: translateY(0.5rem);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-toast-text {
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted-dark);
  margin: 0;
}

.cookie-toast-text a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cookie-toast-text a:hover {
  color: #fff;
}

.cookie-toast-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.15rem;
}

.cookie-toast-btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.2s ease;
}

.cookie-toast-btn--reject {
  color: var(--muted-dark);
}

.cookie-toast-btn--reject:hover {
  color: var(--text-dark);
}

.cookie-toast-btn--accept {
  color: var(--text-dark);
}

.cookie-toast-btn--accept:hover {
  color: #fff;
}

@media (max-width: 520px) {
  .cookie-toast {
    bottom: 1rem;
    right: 1rem;
    width: calc(100% - 2rem);
    max-width: none;
    padding: 1.25rem 1.5rem;
  }
}

/* ── Form Success State ── */

.form-success {
  text-align: center;
  padding: 3rem 1rem;
}

.form-success-heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.form-success-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted-dark);
}

.inquiry-form--light + .form-success .form-success-text {
  color: var(--muted-light);
}
