/* ============================================================
   WHISKRS — style.css
   whiskrs.dev
   ============================================================ */

/* ===========================
   RESET & BASE
   =========================== */

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

:root {
  --bg:         #08080f;
  --bg-2:       #0d0d1c;
  --bg-card:    rgba(255, 255, 255, 0.03);
  --accent:     #ff8c42;
  --accent-dim: rgba(255, 140, 66, 0.12);
  --secondary:  #9b8cff;
  --sec-dim:    rgba(155, 140, 255, 0.12);
  --text:       #f0ede8;
  --text-muted: #8b8b9e;
  --border:     rgba(255, 255, 255, 0.06);
  --border-md:  rgba(255, 255, 255, 0.1);
  --radius:     18px;
  --radius-sm:  10px;
  --nav-h:      72px;
  --max-w:      1100px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --t:          0.3s;
}

/* ===========================
   LIGHT THEME OVERRIDES
   =========================== */

[data-theme="light"] {
  --bg:         #faf9f6;
  --bg-2:       #f2f0eb;
  --bg-card:    rgba(0, 0, 0, 0.028);
  --accent:     #d96b1a;
  --accent-dim: rgba(217, 107, 26, 0.1);
  --secondary:  #6651e6;
  --sec-dim:    rgba(102, 81, 230, 0.1);
  --text:       #1a1828;
  --text-muted: #6b6880;
  --border:     rgba(0, 0, 0, 0.07);
  --border-md:  rgba(0, 0, 0, 0.14);
}

[data-theme="light"] body {
  background-color: var(--bg);
}

[data-theme="light"] .bg-orb-1 {
  background: radial-gradient(circle, rgba(217, 107, 26, 0.1) 0%, transparent 70%);
}

[data-theme="light"] .bg-orb-2 {
  background: radial-gradient(circle, rgba(102, 81, 230, 0.08) 0%, transparent 70%);
}

[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle, rgba(217, 107, 26, 0.1) 0%, transparent 65%);
}

[data-theme="light"] .nav.scrolled {
  background: rgba(250, 249, 246, 0.82);
  box-shadow: 0 4px 48px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nav-links a {
  color: var(--text-muted);
}

[data-theme="light"] .hero-wordmark {
  background: linear-gradient(150deg, var(--text) 30%, rgba(26, 24, 40, 0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

[data-theme="light"] .phone-frame {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.07),
    0 0 0 8px rgba(0, 0, 0, 0.02),
    0 32px 80px rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .more-dots span {
  background: rgba(0,0,0,0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; }

a { color: inherit; }

/* ===========================
   CURSOR GLOW
   =========================== */

.cursor-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.055) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  will-change: left, top;
}

/* ===========================
   BACKGROUND ORBS
   =========================== */

.bg-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
}

.bg-orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.06) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation: orbPulse 9s var(--ease) infinite;
}

.bg-orb-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(155, 140, 255, 0.06) 0%, transparent 70%);
  bottom: 10%;
  left: -150px;
  animation: orbPulse 9s var(--ease) infinite -4.5s;
}

@keyframes orbPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.18); }
}

/* ===========================
   LAYOUT UTILITY
   =========================== */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition:
    background   var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow   var(--t) var(--ease),
    height       var(--t) var(--ease);
}

.nav.scrolled {
  background: rgba(8, 8, 15, 0.78);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 48px rgba(0, 0, 0, 0.45);
  height: 60px;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo-mark {
  width: 50px;
  height: auto;
  flex-shrink: 0;
}

.logo-wordmark {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.035em;
  font-variation-settings: "wght" 750;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: color var(--t) var(--ease);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-right: -6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Theme toggle button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--t) var(--ease);
  flex-shrink: 0;
  padding: 0;
}

.theme-toggle:hover {
  color: var(--text);
}

/* Dark mode: show sun, hide moon */
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun  { display: block; }

/* Light mode: show moon, hide sun */
[data-theme="light"] .theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun  { display: none; }

/* ===========================
   NAV WHISKER DRAW (load)
   =========================== */

.nav-whisker {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: drawLine 0.5s var(--ease) forwards;
}

.nav-whisker:nth-child(2) { animation-delay: 0.1s; }
.nav-whisker:nth-child(3) { animation-delay: 0.18s; }
.nav-whisker:nth-child(4) { animation-delay: 0.26s; }
.nav-whisker:nth-child(5) { animation-delay: 0.34s; }
.nav-whisker:nth-child(6) { animation-delay: 0.42s; }
.nav-whisker:nth-child(7) { animation-delay: 0.5s; }

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* ===========================
   HERO
   =========================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 28px 80px;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-logo-wrap {
  margin-bottom: 4px;
}

.hero-logo-mark {
  width: 240px;
  height: auto;
  margin: 0 auto;
}

/* Hero whisker draw animation */
.hero-dot {
  opacity: 0;
  animation: dotPop 0.4s var(--ease) forwards 0.2s;
}

@keyframes dotPop {
  from { opacity: 0; transform: scale(0.5); transform-origin: 100px 40px; }
  to   { opacity: 1; transform: scale(1);   transform-origin: 100px 40px; }
}

.hero-whisker {
  stroke-dasharray: 110;
  stroke-dashoffset: 110;
  animation-play-state: paused;
}

.hw-1 { animation: drawLine 0.6s var(--ease) forwards 0.1s; }
.hw-2 { animation: drawLine 0.6s var(--ease) forwards 0.2s; }
.hw-3 { animation: drawLine 0.6s var(--ease) forwards 0.3s; }
.hw-4 { animation: drawLine 0.6s var(--ease) forwards 0.1s; }
.hw-5 { animation: drawLine 0.6s var(--ease) forwards 0.2s; }
.hw-6 { animation: drawLine 0.6s var(--ease) forwards 0.3s; }

/* Hero text */
.hero-wordmark {
  font-size: clamp(60px, 12vw, 120px);
  font-weight: 900;
  letter-spacing: -0.04em;
  padding-right: 0.06em;
  line-height: 0.95;
  background: linear-gradient(150deg, var(--text) 30%, rgba(240, 237, 232, 0.55) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards 0.55s;
}

.hero-tagline {
  font-size: clamp(19px, 2.8vw, 26px);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards 0.72s;
}

.hero-tagline em.accent {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.scroll-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 12px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards 0.9s;
  transition: color var(--t) var(--ease);
}

.scroll-cta:hover {
  color: var(--accent);
}

.scroll-cta svg {
  animation: arrowBounce 2.4s var(--ease) infinite 1.6s;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ===========================
   SHARED SECTION STYLES
   =========================== */

.section {
  position: relative;
  padding: 128px 0;
  z-index: 1;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 64px;
  line-height: 1.75;
}

/* Scroll-triggered fade + slide up */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity   0.65s var(--ease) var(--delay, 0s),
    transform 0.65s var(--ease) var(--delay, 0s);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(155, 140, 255, 0.025) 50%,
    transparent 100%
  );
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition:
    transform   var(--t) var(--ease),
    border-color var(--t) var(--ease),
    background  var(--t) var(--ease);
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-md);
  background: rgba(255, 255, 255, 0.05);
}

.about-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--icon-color, var(--accent-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.about-card h3 {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===========================
   PRODUCTS SECTION
   =========================== */

.products {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255, 140, 66, 0.02) 50%,
    transparent 100%
  );
}

/* ===========================
   SKIPPR PRODUCT CARD
   =========================== */

.skippr-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 56px 56px 56px 64px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: center;
  margin-bottom: 20px;
}

.skippr-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skippr-carousel {
  display: flex;
  justify-content: center;
}

/* ===========================
   SCREENSHOT CAROUSEL
   =========================== */

.screenshot-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

/* The clipping window — this stays still */
.carousel-window {
  width: 280px;
  overflow: hidden;
  /* no border-radius — screenshots have their own baked-in corners */
}

/* The sliding track — this moves */
.screenshot-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.screenshot-slide {
  flex: 0 0 280px;
}

.phone-frame {
  width: 280px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Nav controls */
.carousel-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease), background var(--t) var(--ease);
  flex-shrink: 0;
}

.carousel-btn:hover {
  color: var(--text);
  border-color: var(--border-md);
  background: rgba(255,255,255,0.06);
}

.carousel-dots {
  display: flex;
  gap: 6px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-md);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease), width var(--t) var(--ease);
}

.carousel-dot.active {
  background: var(--accent);
  width: 18px;
  border-radius: 3px;
}

/* App info */
.app-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  background: var(--sec-dim);
  color: var(--secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(155, 140, 255, 0.2);
  width: fit-content;
}

.app-name {
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
}

.app-description {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 420px;
}

.app-tagline {
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.005em;
  margin-top: -6px;
}

.app-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 4px;
}

.app-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.app-features svg {
  flex-shrink: 0;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  width: fit-content;
  text-decoration: none;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}

.app-store-badge:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* More-coming card */
.more-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1.5px dashed rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.more-inner {
  text-align: center;
  color: var(--text-muted);
}

.more-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 14px;
}

.more-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  animation: dotPulse 1.8s var(--ease) infinite;
}
.more-dots span:nth-child(2) { animation-delay: 0.25s; }
.more-dots span:nth-child(3) { animation-delay: 0.5s; }

@keyframes dotPulse {
  0%, 100% { opacity: 0.3; background: var(--border); }
  50%       { opacity: 1;   background: var(--accent); }
}

.more-inner p {
  font-size: 14.5px;
  line-height: 1.65;
}

/* ===========================
   PHILOSOPHY SECTION
   =========================== */

.philosophy {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(155, 140, 255, 0.025) 50%,
    transparent 100%
  );
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.philosophy-item {
  padding: 44px 40px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--t) var(--ease);
}

.philosophy-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Kill right border on even children */
.philosophy-item:nth-child(even) {
  border-right: none;
}

/* Kill bottom border on last row */
.philosophy-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.philosophy-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.philosophy-item h3 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.25;
}

.philosophy-item p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.72;
}

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

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand {
  max-width: 260px;
}

.footer-logo {
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 72px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t) var(--ease);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: rgba(139, 139, 158, 0.55);
}

.footer-domain {
  font-weight: 500;
}

/* ===========================
   LEGAL PAGES (terms / privacy)
   =========================== */

.legal-page {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 72px) 0 96px;
  z-index: 1;
  position: relative;
}

.legal-header {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.legal-header .section-label {
  margin-bottom: 12px;
}

.legal-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.legal-header p {
  font-size: 14px;
  color: var(--text-muted);
}

.legal-body {
  max-width: 720px;
}

.legal-body h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 40px 0 12px;
  color: var(--text);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-body ul {
  margin: 0 0 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-body li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-body a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 140, 66, 0.3);
  transition: border-color var(--t) var(--ease);
}

.legal-body a:hover {
  border-color: var(--accent);
}

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

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .skippr-card {
    grid-template-columns: 1fr;
    padding: 36px 32px;
    gap: 40px;
  }

  .skippr-carousel {
    order: -1; /* screenshots first on mobile */
  }

  .footer-links {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 62px;
  }

  .section {
    padding: 80px 0;
  }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(8, 8, 15, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform var(--t) var(--ease),
      opacity   var(--t) var(--ease);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 17px;
  }

  /* Philosophy grid: single column on mobile */
  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-item:nth-child(even) {
    border-right: 1px solid var(--border);
  }

  .philosophy-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .philosophy-item:last-child {
    border-bottom: none;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .skippr-card {
    padding: 28px 20px;
    gap: 32px;
  }

  .philosophy-item {
    padding: 32px 24px;
  }

  .footer-links {
    flex-direction: column;
    gap: 28px;
  }
}

/* ===========================
   REDUCED MOTION
   =========================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }

  .hero-wordmark,
  .hero-tagline,
  .scroll-cta {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-dot {
    opacity: 1;
  }

  .hero-whisker,
  .nav-whisker {
    stroke-dashoffset: 0;
    animation: none;
  }
}
