/* ============================================================
   ATELIER — Cinematic One-Page Studio Template  v1.0
   ------------------------------------------------------------
   1. Design tokens        ← EDIT HERE to make it yours
   2. Reset & base
   3. Utilities (container, eyebrow, buttons, reveal)
   4. Grain overlay
   5. Navigation & mobile menu
   6. Hero
   7. Showreel
   8. Marquee
   9. Work list & hover preview
   10. Services
   11. Studio / stats
   12. Process (sticky stack)
   13. Quotes
   14. Pricing
   15. FAQ
   16. CTA
   17. Footer
   18. Responsive
   19. Reduced motion & Lenis
   ============================================================ */

/* ---------- 1. DESIGN TOKENS ------------------------------- */
:root {
  /* Colors */
  --bg:        #F3EFE7;   /* page background (ivory) */
  --bg-soft:   #ECE6DA;   /* soft panels */
  --ink:       #16140F;   /* primary text */
  --ink-soft:  #5B564B;   /* secondary text */
  --accent:    #C8512A;   /* brand accent (terracotta) */
  --accent-ink:#A33E1D;   /* accent, darker (hover) */
  --deep:      #1C2A22;   /* dark sections (forest) */
  --deep-soft: #24362B;
  --paper:     #F3EFE7;   /* text on dark */
  --line:      rgba(22, 20, 15, 0.14);
  --line-light:rgba(243, 239, 231, 0.18);

  /* Typography */
  --font-display: "Outfit", sans-serif;
  --font-body:    "Geist", sans-serif;
  --font-mono:    "Geist Mono", monospace;
  --font-serif:   "Instrument Serif", serif;

  /* Scale */
  --size-hero:  clamp(3rem, 8.5vw, 7.75rem);
  --size-h2:    clamp(2.2rem, 5vw, 4.25rem);
  --size-h3:    clamp(1.35rem, 2.2vw, 1.75rem);
  --size-body:  clamp(1rem, 1.15vw, 1.125rem);

  /* Layout */
  --container:  1320px;
  --gutter:     clamp(20px, 4vw, 48px);
  --section-y:  clamp(96px, 14vh, 176px);
  --radius:     20px;
  --radius-lg:  28px;

  /* Motion */
  --ease: cubic-bezier(0.625, 0.05, 0, 1);
  --speed: 0.35s;
}

/* ---------- 2. RESET & BASE -------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); }

.accent-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 3000;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 3. UTILITIES ------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section--deep {
  background: var(--deep);
  color: var(--paper);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.eyebrow--light { color: var(--accent); }

.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { max-width: 14ch; }

/* Buttons — pill, tactile, fast-out easing */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95em 1.7em;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background var(--speed) var(--ease),
              color var(--speed) var(--ease),
              transform var(--speed) var(--ease),
              border-color var(--speed) var(--ease);
  will-change: transform;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--deep); }
.btn-light:hover { background: var(--accent); color: var(--paper); }
.btn-accent { background: var(--accent); color: var(--paper); }
.btn-accent:hover { background: var(--accent-ink); }
.btn-big {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  padding: 1.15em 2.1em;
}

/* ---------- 4. GRAIN OVERLAY -------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2500;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 5. NAVIGATION ----------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.nav-logo sup { font-size: 0.5em; color: var(--accent); }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 0.7em 1.4em; font-size: 0.88rem; }

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  position: relative;
  z-index: 1200;
}
.nav-burger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease);
}
.nav-burger span:nth-child(1) { top: 18px; }
.nav-burger span:nth-child(2) { top: 26px; }
.menu-open .nav-burger span { background: var(--paper); }
.menu-open .nav-burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .nav-burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Mobile overlay menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: var(--deep);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.menu-open .menu-overlay { opacity: 1; visibility: visible; }
.menu-links { display: flex; flex-direction: column; gap: 6px; }
.menu-links a {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.25s;
}
.menu-links a:hover { color: var(--accent); }
.menu-open .menu-links a { opacity: 1; transform: none; }
.menu-open .menu-links a:nth-child(1) { transition-delay: 0.08s; }
.menu-open .menu-links a:nth-child(2) { transition-delay: 0.13s; }
.menu-open .menu-links a:nth-child(3) { transition-delay: 0.18s; }
.menu-open .menu-links a:nth-child(4) { transition-delay: 0.23s; }
.menu-open .menu-links a:nth-child(5) { transition-delay: 0.28s; }
.menu-open .menu-links a:nth-child(6) { transition-delay: 0.33s; }
.menu-meta {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: rgba(243, 239, 231, 0.6);
}
.menu-open { overflow: hidden; }

/* ---------- 6. HERO ------------------------------------------ */
.hero { padding-top: clamp(140px, 22vh, 220px); padding-bottom: clamp(48px, 7vh, 96px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}
.hero-title {
  font-size: var(--size-hero);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 2rem;
}
.hero-title .accent-serif { font-size: 1.04em; color: var(--accent); }
.line { display: block; overflow: hidden; padding-block: 0.04em; }
.line-inner { display: block; will-change: transform; }
.hero-sub {
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  margin-bottom: 2.4rem;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 8px;
  min-width: 220px;
}
.hero-signet {
  font-size: 2rem;
  color: var(--accent);
  animation: spin 14s linear infinite;
  width: max-content;
  line-height: 1;
}
@keyframes spin { to { transform: rotate(360deg); } }
.meta-item {
  font-size: 0.92rem;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.meta-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- 7. SHOWREEL -------------------------------------- */
.showreel { padding-bottom: clamp(48px, 8vh, 110px); }
.showreel-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 7;
}
.showreel-frame svg {
  width: 100%;
  height: 112%;          /* overscan for parallax */
  object-fit: cover;
  will-change: transform;
}
.showreel-label {
  position: absolute;
  bottom: 16px; right: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 239, 231, 0.75);
}

/* ---------- 8. MARQUEE --------------------------------------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 18px;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.m-dot { color: var(--accent); font-size: 1rem !important; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 9. WORK LIST & HOVER PREVIEW ---------------------- */
.work-list { border-bottom: 1px solid var(--line); }
.work-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto 5rem 3rem;
  align-items: center;
  gap: 24px;
  padding-block: 30px;
  padding-inline: 8px;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: background var(--speed) var(--ease), padding var(--speed) var(--ease);
}
.work-row:hover { background: rgba(200, 81, 42, 0.06); padding-inline: 20px; }
.work-index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
}
.work-title {
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  letter-spacing: -0.025em;
}
.work-tags {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.work-year {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: right;
}
.work-arrow {
  font-size: 1.3rem;
  transition: transform var(--speed) var(--ease);
  text-align: right;
}
.work-row:hover .work-arrow { transform: translateX(6px) rotate(-45deg); }

.work-preview {
  position: fixed;
  top: 0; left: 0;
  z-index: 900;
  width: 330px;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.9);
  box-shadow: 0 24px 60px rgba(22, 20, 15, 0.25);
}
.work-preview svg { width: 100%; height: 100%; }

/* ---------- 10. SERVICES -------------------------------------- */
.services { padding-top: 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(22, 20, 15, 0.1);
}
.service-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
}
.service-card p { color: var(--ink-soft); font-size: 0.98rem; }
.service-card ul {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card li {
  font-size: 0.92rem;
  padding-left: 1.2em;
  position: relative;
}
.service-card li::before {
  content: "✺";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7em;
  top: 0.35em;
}

/* ---------- 11. STUDIO / STATS --------------------------------- */
.studio-statement {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 24ch;
  margin-bottom: clamp(56px, 8vw, 96px);
}
.studio-statement .accent-serif { color: var(--accent); }
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line-light);
  padding-top: 40px;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243, 239, 231, 0.6);
}

/* ---------- 12. PROCESS (sticky stack) -------------------------- */
.process-stack { display: flex; flex-direction: column; gap: 20px; }
.process-card {
  position: sticky;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 340px;
  border: 1px solid var(--line);
}
.pc-1 { top: 96px;  background: var(--bg-soft); }
.pc-2 { top: 120px; background: #E5DDCC; }
.pc-3 { top: 144px; background: var(--deep); color: var(--paper); border-color: transparent; }
.pc-4 { top: 168px; background: var(--accent); color: var(--paper); border-color: transparent; }
.pc-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.pc-1 .pc-top, .pc-2 .pc-top { color: var(--accent); }
.pc-3 .pc-top, .pc-4 .pc-top { color: rgba(243, 239, 231, 0.8); }
.process-card h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.process-card p { max-width: 52ch; font-size: 1.02rem; }
.pc-1 p, .pc-2 p { color: var(--ink-soft); }
.pc-3 p { color: rgba(243, 239, 231, 0.82); }
.pc-4 p { color: rgba(243, 239, 231, 0.92); }

/* ---------- 13. QUOTES ------------------------------------------ */
.quotes { padding-top: 0; }
.quotes-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}
.quotes blockquote {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.quotes blockquote:nth-child(2) { margin-top: 48px; }
.quotes p {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.3;
  font-style: italic;
}
.quotes cite {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- 14. PRICING ------------------------------------------ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 3.6vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.price-card--feature {
  background: var(--deep);
  color: var(--paper);
  border-color: transparent;
}
.price-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.price-card ul { display: flex; flex-direction: column; gap: 10px; }
.price-card li {
  padding-left: 1.4em;
  position: relative;
  font-size: 0.98rem;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}
.price-card--feature li { color: rgba(243, 239, 231, 0.88); }
.price-card .btn { margin-top: 10px; align-self: flex-start; }
.pricing-foot {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* ---------- 15. FAQ ----------------------------------------------- */
.faq { padding-top: 0; }
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.faq-list { border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 24px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-icon {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform var(--speed) var(--ease);
  flex: 0 0 auto;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.faq-panel-inner { overflow: hidden; }
.faq-panel-inner p {
  padding-bottom: 24px;
  color: var(--ink-soft);
  max-width: 60ch;
}
.faq-item.open .faq-panel { grid-template-rows: 1fr; }

/* ---------- 16. CTA ------------------------------------------------ */
.cta-final { text-align: left; }
.cta-title {
  font-size: clamp(3rem, 9vw, 8rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: clamp(32px, 5vw, 56px);
  max-width: 12ch;
}
.cta-title .accent-serif { color: var(--accent); }
.cta-row { margin-bottom: 24px; }
.cta-sub {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: rgba(243, 239, 231, 0.6);
}

/* ---------- 17. FOOTER ---------------------------------------------- */
.footer {
  background: var(--deep);
  color: var(--paper);
  border-top: 1px solid var(--line-light);
  padding-top: clamp(56px, 8vw, 96px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: clamp(48px, 6vw, 80px);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  display: block;
  margin-bottom: 14px;
}
.footer-logo sup { font-size: 0.5em; color: var(--accent); }
.footer-brand p { color: rgba(243, 239, 231, 0.6); font-size: 0.95rem; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-head {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.footer-col a, .footer-col span { font-size: 0.95rem; color: rgba(243, 239, 231, 0.78); }
.footer-col a { transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 24px;
  border-top: 1px solid var(--line-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(243, 239, 231, 0.5);
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--paper); }

/* ---------- 18. RESPONSIVE ------------------------------------------- */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }

  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
  }
  .hero-signet { font-size: 1.5rem; }

  .services-grid { grid-template-columns: 1fr; }
  .quotes-grid { grid-template-columns: 1fr; }
  .quotes blockquote:nth-child(2) { margin-top: 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .work-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title year"
      "tags  arrow";
    row-gap: 8px;
  }
  .work-index { display: none; }
  .work-title { grid-area: title; }
  .work-tags { grid-area: tags; white-space: normal; }
  .work-year { grid-area: year; }
  .work-arrow { grid-area: arrow; }

  .stats-row { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .process-card { min-height: 0; }
  .pc-1 { top: 84px; } .pc-2 { top: 100px; } .pc-3 { top: 116px; } .pc-4 { top: 132px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .btn-big { font-size: 0.95rem; padding: 1em 1.5em; }
}

/* ---------- 19. REDUCED MOTION & LENIS -------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero-signet { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

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