/* Ankit Enterprises — shared styles
   Type: Manrope only. Sizes follow the Tailwind scale.
   Spacing tokens: 0 2 4 8 12 16 24 32 40 48 64 80 96 (px). */

:root {
  --bg: #FAF8F4;
  --surface: #FFFFFF;
  --surface-2: #F3EEE6;
  --ink: #17150F;
  --ink-2: #3F3B33;
  --muted: #6B665C;
  --line: #E6DFD3;
  --accent: #C2410C;
  --accent-hover: #9A3412;
  --accent-soft: #FDEBDD;
  --amber: #F2B233;
  --leaf: #2F7D4F;
  --dark: #131209;
  --dark-2: #1F1F1F;
  --dark-3: #272727;
  --dark-line: #313131;
  --danger: #B42318;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --focus: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent);
  --shadow: 0 1px 2px rgba(23, 21, 15, 0.04), 0 8px 24px rgba(23, 21, 15, 0.06);
  --shadow-lift: 0 2px 4px rgba(23, 21, 15, 0.06), 0 16px 40px rgba(23, 21, 15, 0.1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  interpolate-size: allow-keywords;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul[role="list"], ol[role="list"] { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; text-wrap: balance; letter-spacing: -0.02em; }
p, li, dd { text-wrap: pretty; }
em, i, cite { font-style: normal; }

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

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { box-shadow: none; outline: none; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 8px 12px;
  border-radius: 9999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  transform: translateY(-150%);
  transition: transform 0.7s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 640px) { .container { padding-inline: 24px; } }
@media (min-width: 1024px) { .container { padding-inline: 32px; } }

main { display: block; padding-top: 96px; }

.section { padding-block: 64px; }
@media (min-width: 1024px) { .section { padding-block: 96px; } }
.section--tight { padding-block: 48px; }
.section--surface { background: var(--surface-2); }

.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
@media (min-width: 1024px) { .section-head { margin-bottom: 48px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.h2 {
  font-size: 30px;
  line-height: 36px;
}
@media (min-width: 768px) { .h2 { font-size: 36px; line-height: 40px; } }

.h3 { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; }

.lead {
  margin-top: 16px;
  font-size: 18px;
  line-height: 28px;
  color: var(--ink-2);
  font-weight: 500;
}

.muted { color: var(--muted); }

.grad-text {
  background: linear-gradient(90deg, #000000, #666666);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 8px;
  margin-bottom: -8px;
}
.grad-text--dark { background-image: linear-gradient(90deg, #FFFFFF, #9B9B9B); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.7s var(--ease), color 0.7s var(--ease), border-color 0.7s var(--ease), transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.btn i { font-size: 20px; transition: transform 0.7s var(--ease); }
.btn:hover i.ph-arrow-right { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { border-radius: 9999px; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(194, 65, 12, 0.28); }
.btn-primary:active { transform: scale(0.98); box-shadow: none; }

.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: rgba(23, 21, 15, 0.06); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); transform: translateY(-2px); }

.btn-sm { min-height: 36px; font-size: 14px; line-height: 20px; padding: 8px 12px; }
.btn-sm i { font-size: 16px; }
.btn-block { width: 100%; }

.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--accent);
  border-radius: 4px;
  transition: color 0.7s var(--ease), gap 0.7s var(--ease);
}
.text-link:hover { color: var(--accent-hover); gap: 8px; }

/* ---------- Header: fluid island nav ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-inline: 16px;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  margin-top: 24px;
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 8px 8px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 1px 2px rgba(23, 21, 15, 0.06), 0 12px 32px rgba(23, 21, 15, 0.08);
  transition: box-shadow 0.7s var(--ease), background-color 0.7s var(--ease);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border-radius: 9999px;
}
.brand-mark { width: 32px; height: 32px; flex: none; }

.nav-links { display: none; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 9999px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color 0.7s var(--ease), color 0.7s var(--ease);
}
.nav-links a:hover { background: rgba(23, 21, 15, 0.06); color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--ink); color: #fff; }

.nav-actions { display: none; align-items: center; gap: 8px; }
.auth-slot { display: inline-flex; align-items: center; gap: 8px; }
.nav-hello { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-2); padding-inline: 8px; }

.menu-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 9999px;
  background: var(--ink);
  transition: transform 0.7s var(--ease), background-color 0.7s var(--ease);
}
.menu-toggle:active { transform: scale(0.94); }
.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.7s var(--ease), top 0.7s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

@media (min-width: 1100px) {
  .nav-links, .nav-actions { display: flex; }
  .menu-toggle { display: none; }
  .nav-pill { gap: 24px; }
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 96px 24px 40px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(64px);
  backdrop-filter: blur(64px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0s linear 0.7s;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; transition: opacity 0.7s var(--ease), visibility 0s; }
.menu-overlay ul { list-style: none; display: grid; gap: 8px; margin-top: 24px; }
.menu-overlay li {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.menu-overlay.is-open li { opacity: 1; transform: translateY(0); }
.menu-overlay.is-open li:nth-child(1) { transition-delay: 100ms; }
.menu-overlay.is-open li:nth-child(2) { transition-delay: 150ms; }
.menu-overlay.is-open li:nth-child(3) { transition-delay: 200ms; }
.menu-overlay.is-open li:nth-child(4) { transition-delay: 250ms; }
.menu-overlay.is-open li:nth-child(5) { transition-delay: 300ms; }
.menu-overlay.is-open li:nth-child(6) { transition-delay: 350ms; }
.menu-overlay ul a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.menu-overlay ul a[aria-current="page"] { color: var(--accent); }
.menu-overlay ul a[aria-current="page"]::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: currentColor;
}
.menu-foot {
  display: grid;
  gap: 16px;
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.7s var(--ease) 0.4s, transform 0.7s var(--ease) 0.4s;
}
.menu-overlay.is-open .menu-foot { opacity: 1; transform: translateY(0); }
.menu-foot .auth-slot { justify-content: flex-start; }
.menu-foot p { font-size: 14px; line-height: 20px; color: var(--muted); }
@media (min-width: 1100px) { .menu-overlay { display: none; } }

/* ---------- Scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(64px);
  filter: blur(12px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; filter: blur(0); }

/* ---------- Home hero ---------- */

.hero { padding-top: 48px; }
.hero-copy { max-width: 680px; margin-inline: auto; text-align: center; }
.hero h1 {
  font-size: 36px;
  line-height: 40px;
}
@media (min-width: 640px) { .hero h1 { font-size: 48px; line-height: 1; } }

.hero .lead { max-width: 680px; margin-inline: auto; margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.hero-call { font-size: 14px; line-height: 20px; color: var(--muted); }
.hero-call a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); transition: border-color 0.7s var(--ease); }
.hero-call a:hover { border-color: var(--ink); }

.proof-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  list-style: none;
}
.proof-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--ink-2);
}
.proof-row i { color: var(--accent); font-size: 16px; }

.scene-wrap {
  position: relative;
  margin-top: 48px;
  border-radius: 24px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #FCEBD2;
  height: 300px;
}
@media (min-width: 640px) { .scene-wrap { height: 360px; } }
@media (min-width: 1024px) { .scene-wrap { height: 440px; margin-top: 64px; } }
.scene-wrap > svg { width: 100%; height: 100%; }
.scene-hint {
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--ink-2);
  pointer-events: none;
  transition: opacity 0.7s var(--ease);
}
.scene-hint i { font-size: 16px; color: var(--accent); }
.scene-wrap.has-honked .scene-hint { opacity: 0; }

/* Scene motion. Continuous travel uses linear timing so the road speed stays constant. */
.sc-loop-clouds { animation: slide 110s linear infinite; }
.sc-loop-far { animation: slide 140s linear infinite; }
.sc-loop-mid { animation: slide 60s linear infinite; }
.sc-loop-side { animation: slide 6.5s linear infinite; }
.sc-loop-front { animation: slide 3.2s linear infinite; }
.sc-dash { animation: dash 0.45s linear infinite; }
@keyframes slide { to { transform: translateX(-1440px); } }
@keyframes dash { to { stroke-dashoffset: 100; } }

.sc-rotor { transform-box: fill-box; transform-origin: center; animation: spin 6s linear infinite; }
.sc-rotor.slow { animation-duration: 9s; }
.sc-wheel { transform-box: fill-box; transform-origin: center; animation: spin 0.5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.sc-bob { animation: bob 0.7s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate; }
@keyframes bob { to { transform: translateY(-2px); } }

.sc-swing { transform-box: fill-box; transform-origin: 50% 0; animation: swing 1.4s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate; }
@keyframes swing { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }

.sc-sun-halo { transform-box: fill-box; transform-origin: center; animation: halo 4s var(--ease) infinite; }
.sc-sun-halo.two { animation-delay: 2s; }
@keyframes halo { from { transform: scale(1); opacity: 0.55; } to { transform: scale(2); opacity: 0; } }

.sc-puff { transform-box: fill-box; transform-origin: center; opacity: 0; animation: puff 1.8s var(--ease) infinite; }
.sc-puff:nth-of-type(2) { animation-delay: 0.6s; }
.sc-puff:nth-of-type(3) { animation-delay: 1.2s; }
@keyframes puff {
  0% { transform: translate(0, 0) scale(0.6); opacity: 0.55; }
  100% { transform: translate(-56px, -28px) scale(3.2); opacity: 0; }
}

.sc-marker { animation: blink 1.6s steps(2, jump-none) infinite; }
.sc-marker:nth-of-type(even) { animation-delay: 0.8s; }
@keyframes blink { 0% { opacity: 1; } 100% { opacity: 0.35; } }

.sc-birds { animation: birds 38s linear infinite; }
@keyframes birds { from { transform: translateX(1500px); } to { transform: translateX(-200px); } }
.sc-wing { transform-box: fill-box; transform-origin: center; animation: flap 0.5s ease-in-out infinite alternate; }
@keyframes flap { to { transform: scaleY(0.4); } }

.sc-auto { animation: auto 12s linear infinite; }
@keyframes auto {
  0% { transform: translateX(1700px); }
  38% { transform: translateX(-300px); }
  100% { transform: translateX(-300px); }
}

.sc-truck { cursor: pointer; outline: none; }
.sc-truck .sc-jump { transition: transform 0.7s var(--ease); }
.sc-truck:focus-visible .sc-body-outline { stroke: var(--accent); stroke-width: 4; }
.sc-bubble { transform-box: fill-box; transform-origin: 20% 100%; transform: scale(0.4); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.4s var(--ease); }
.sc-wave { opacity: 0; }
.sc-glow { opacity: 0.25; transition: opacity 0.3s var(--ease); }
.is-honking .sc-bubble { transform: scale(1); opacity: 1; }
.is-honking .sc-jump { transform: translateY(-6px); }
.is-honking .sc-glow { opacity: 0.9; }
.is-honking .sc-wave { animation: wave 0.9s var(--ease) 2; }
.is-honking .sc-wave:nth-of-type(2) { animation-delay: 0.15s; }
.is-honking .sc-wave:nth-of-type(3) { animation-delay: 0.3s; }
@keyframes wave { from { opacity: 0.9; transform: translateX(0); } to { opacity: 0; transform: translateX(24px); } }

/* ---------- Inner page hero ---------- */

.page-hero { padding-top: 48px; padding-bottom: 32px; }
.page-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.page-hero h1 { font-size: 36px; line-height: 40px; max-width: 680px; }
@media (min-width: 640px) { .page-hero h1 { font-size: 48px; line-height: 1; } }
@media (min-width: 960px) { .page-hero-grid h1 { font-size: 36px; line-height: 40px; } }
.page-hero .lead { max-width: 680px; }
.page-hero .hero-cta { justify-content: flex-start; }
.crumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  list-style: none;
}
.crumbs a { color: var(--ink-2); font-weight: 600; border-radius: 4px; }
.crumbs a:hover { color: var(--accent); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }

.art-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #FCEBD2;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.art-card > svg { width: 100%; height: 100%; }

/* ---------- Cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease), border-color 0.7s var(--ease);
}
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: #D8CFBF; }
a.card:active { transform: translateY(-2px) scale(0.99); }
a.card:focus-visible { border-radius: 24px; }

.grid-3 { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.grid-4 { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

/* Service cards with animated icons */
.service-card { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.service-card .icon-art {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
}
.service-card .icon-art svg { width: 48px; height: 48px; overflow: visible; }
.service-card p { color: var(--muted); }
.service-card .text-link { margin-top: auto; }

/* Mini icon animations */
.ia-wheel { transform-box: fill-box; transform-origin: center; animation: spin 0.9s linear infinite; }
.ia-road { animation: dash-s 0.6s linear infinite; }
@keyframes dash-s { to { stroke-dashoffset: 12; } }
.ia-drop { animation: ia-drop 2.4s var(--ease) infinite; }
@keyframes ia-drop { 0% { transform: translateY(-20px); opacity: 0; } 30% { opacity: 1; } 45%, 85% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }
.ia-needle { transform-box: view-box; transform-origin: 24px 32px; animation: ia-needle 2.6s var(--ease) infinite alternate; }
@keyframes ia-needle { from { transform: rotate(-60deg); } to { transform: rotate(50deg); } }
.ia-shutter { animation: ia-shutter 3s var(--ease) infinite alternate; }
@keyframes ia-shutter { from { transform: scaleY(1); } to { transform: scaleY(0.2); } }
.ia-shutter { transform-box: fill-box; transform-origin: 50% 0; }
.ia-hook { animation: ia-hook 2.8s var(--ease) infinite alternate; }
@keyframes ia-hook { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.ia-cable { transform-box: fill-box; transform-origin: 50% 0; animation: ia-cable 2.8s var(--ease) infinite alternate; }
@keyframes ia-cable { from { transform: scaleY(1); } to { transform: scaleY(0.5); } }
.ia-ring { transform-box: fill-box; transform-origin: center; animation: halo 2.4s var(--ease) infinite; }

/* Split: text and image */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--flip > :first-child { order: 2; } }

.media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
}
.media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.5) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: shimmer 1.6s var(--ease) infinite;
}
.media.is-loaded::before, .media.is-error::before { display: none; }
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s var(--ease), transform 1.6s var(--ease);
}
.media.is-loaded img { opacity: 1; transform: scale(1); }
.media.is-error { display: grid; place-items: center; }
.media.is-error::after { content: attr(data-fallback); padding: 24px; text-align: center; font-size: 14px; line-height: 20px; color: var(--muted); }
@keyframes shimmer { to { transform: translateX(100%); } }

.media-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.media-caption i { color: var(--accent); font-size: 20px; }

/* Problem to solution */
.pain-list { display: grid; gap: 16px; margin-top: 32px; list-style: none; }
.pain-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.pain-list .pi {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 20px;
}
.pain-list strong { display: block; font-weight: 700; }
.pain-list span { color: var(--muted); }

/* Benefits */
.benefit { display: grid; gap: 12px; align-content: start; }
.benefit .bi {
  width: 48px; height: 48px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 24px;
  transition: transform 0.7s var(--ease), background-color 0.7s var(--ease);
}
.benefit:hover .bi { transform: rotate(-8deg) scale(1.06); background: var(--accent); }
.benefit p { color: var(--muted); }

/* ---------- Tagline reveal ---------- */

.tagline {
  background: var(--dark);
  color: #fff;
  padding-block: 96px;
  overflow: hidden;
  position: relative;
}
@media (min-width: 1024px) { .tagline { padding-block: 96px; } }
.tagline .eyebrow { color: var(--amber); }
.tagline-text {
  max-width: 680px;
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
@media (min-width: 1024px) { .tagline-text { font-size: 48px; line-height: 1; } }
.tagline-text .w {
  color: rgba(255, 255, 255, 0.28);
  transition: color 0.9s var(--ease);
}
.tagline-text .w.on { color: #fff; }
.tagline-text .w.hl.on { color: var(--amber); }
.tagline-row { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .tagline-row { grid-template-columns: 1fr 240px; gap: 64px; } }
.tagline-clock { display: none; width: 240px; height: 240px; }
@media (min-width: 1024px) { .tagline-clock { display: block; } }
.clock-hour, .clock-min { transform-box: view-box; transform-origin: 120px 120px; }
.clock-min { animation: spin 6s linear infinite; }
.clock-hour { animation: spin 72s linear infinite; }
.clock-arc { transform-box: view-box; transform-origin: 120px 120px; transform: rotate(-90deg); stroke-dashoffset: 100; animation: clock-arc 6s linear infinite; }
@keyframes clock-arc { to { stroke-dashoffset: 0; } }
.road-strip { position: relative; height: 48px; margin-top: 48px; overflow: hidden; border-bottom: 4px solid var(--dark-line); }
.road-strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; border-top: 2px dashed var(--amber); opacity: 0.7; }
.road-truck { position: absolute; bottom: 4px; left: -80px; width: 64px; height: 36px; animation: road-drive 14s linear infinite; }
@keyframes road-drive { from { left: -80px; } to { left: 100%; } }
.road-strip--cta { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; }

/* ---------- Route map ---------- */

.map-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .map-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; } }
.map-card {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 8px;
}
.map-card svg { width: 100%; height: auto; border-radius: 16px; background: #FBF6EE; }
.route { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease); }
.route-flow { fill: none; stroke: #fff; stroke-width: 1.5; stroke-dasharray: 4 10; stroke-linecap: round; opacity: 0; animation: dash-flow 1.2s linear infinite; transition: opacity 0.7s var(--ease) 2s; }
@keyframes dash-flow { to { stroke-dashoffset: -14; } }
.is-in .route { stroke-dashoffset: 0; }
.is-in .route-flow { opacity: 0.9; }
.city-dot { fill: var(--accent); }
.city-ring { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: halo 2.6s var(--ease) infinite; }
.city-label { font-size: 14px; font-weight: 700; fill: var(--ink); }
.city-sub { font-size: 11px; font-weight: 600; fill: var(--muted); }
.map-truck { opacity: 0; transition: opacity 0.7s var(--ease) 2.2s; }
.is-in .map-truck { opacity: 1; }

.city-list { list-style: none; display: grid; gap: 8px; margin-top: 32px; }
.city-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600;
  transition: transform 0.7s var(--ease), border-color 0.7s var(--ease);
}
.city-list li:hover { transform: translateX(4px); border-color: var(--accent); }
.city-list span { font-size: 14px; line-height: 20px; color: var(--muted); font-weight: 500; }

/* ---------- Steps ---------- */

.steps { position: relative; display: grid; gap: 16px; list-style: none; counter-reset: step; }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 64px; } }
.step { position: relative; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 9999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}
.step p { color: var(--muted); margin-top: 8px; }
.steps-track { display: none; }
@media (min-width: 960px) {
  .steps-track { display: block; position: absolute; left: 0; right: 0; top: 0; height: 48px; }
  .steps-road { position: absolute; left: 0; right: 0; top: 36px; height: 8px; border-radius: 9999px; background: var(--surface-2); overflow: hidden; }
  .steps-road::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 2.8s var(--ease) 0.2s;
  }
  .steps-truck {
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 36px;
    transition: left 2.8s var(--ease) 0.2s;
  }
  .is-in .steps-road::after { transform: scaleX(1); }
  .is-in .steps-truck { left: calc(100% - 64px); }
}
.steps-truck .ia-wheel { animation-duration: 0.4s; }

/* ---------- Stats ---------- */

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 1024px) { .stats--row { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.stat { padding: 24px; }
.stat i { font-size: 24px; color: var(--accent); }
.stat-num {
  display: block;
  margin-top: 12px;
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 14px; line-height: 20px; color: var(--muted); }

/* ---------- Testimonials ---------- */

.quote-card { display: flex; flex-direction: column; gap: 24px; height: 100%; }
.quote-card blockquote { font-size: 18px; line-height: 28px; font-weight: 500; color: var(--ink); }
.quote-card .ph-quotes { font-size: 32px; color: var(--accent); }
.person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 48px; height: 48px; border-radius: 9999px; flex: none; }
.person strong { display: block; font-weight: 700; }
.person span { font-size: 14px; line-height: 20px; color: var(--muted); }
.stars { display: flex; gap: 2px; color: var(--amber); font-size: 16px; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; max-width: 800px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.faq details[open] { border-color: #D8CFBF; box-shadow: var(--shadow); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  border-radius: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary i {
  flex: none;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 9999px;
  background: var(--surface-2);
  font-size: 16px;
  transition: transform 0.7s var(--ease), background-color 0.7s var(--ease), color 0.7s var(--ease);
}
.faq details[open] summary i { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.7s var(--ease), content-visibility 0.7s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
.faq .answer { padding: 0 24px 24px; color: var(--ink-2); }

/* ---------- Pricing ---------- */

.price-card { display: flex; flex-direction: column; gap: 24px; height: 100%; position: relative; }
.price-card--featured { background: var(--dark); color: #fff; border-color: var(--dark); }
.price-card--featured .muted, .price-card--featured .per { color: #B5AFA3; }
.price-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: var(--amber);
  color: var(--ink);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
}
.price { font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; }
.price .per { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.check-list i { font-size: 20px; color: var(--leaf); }
.price-card--featured .check-list i { color: var(--amber); }
.price-card .btn { margin-top: auto; }

/* ---------- Service detail rows ---------- */

.service-rows { display: grid; gap: 64px; }
@media (min-width: 1024px) { .service-rows { gap: 96px; } }
.service-rows h2 { margin-top: 8px; }
.service-rows .check-list { margin-top: 24px; }
.service-num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: var(--accent);
}
.service-num i { font-size: 20px; }

/* Fleet lineup */
.fleet { display: grid; gap: 16px; }
@media (min-width: 640px) { .fleet { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fleet { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.fleet-card { display: flex; flex-direction: column; gap: 16px; }
.fleet-art {
  height: 128px;
  border-radius: 16px;
  background: var(--surface-2);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.fleet-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 16px; height: 2px; background: rgba(23, 21, 15, 0.1); }
.fleet-art svg { height: auto; position: relative; z-index: 1; margin-bottom: 12px; transition: transform 0.9s var(--ease); }
.fleet-card:hover .fleet-art svg { transform: translateX(16px); }
.fleet-card:hover .fleet-art .ia-wheel { animation-duration: 0.3s; }
.fleet-art .ia-wheel { animation-play-state: paused; }
.fleet-card:hover .fleet-art .ia-wheel { animation-play-state: running; }
.cap-bar { height: 8px; border-radius: 9999px; background: var(--surface-2); overflow: hidden; }
.cap-bar span { display: block; height: 100%; width: var(--cap); background: var(--accent); border-radius: 9999px; transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) 0.3s; }
.is-in .cap-bar span { transform: scaleX(1); }
.fleet-meta { display: flex; justify-content: space-between; font-size: 14px; line-height: 20px; color: var(--muted); }
.fleet-meta strong { color: var(--ink); }

/* ---------- About ---------- */

.fleet-grow {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 4px;
  margin-top: 24px;
}
@media (min-width: 640px) { .fleet-grow { grid-template-columns: repeat(25, 1fr); } }
.fleet-grow svg { width: 100%; height: auto; color: var(--line); transition: color 0.4s var(--ease); }
.fleet-grow svg.on { color: var(--accent); }
.fleet-grow svg.first { color: var(--ink); }

.mv-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .mv-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.mv-card { padding: 32px; }
.mv-card i { font-size: 32px; color: var(--accent); }
.mv-card h3 { margin-top: 16px; }
.mv-card p { margin-top: 8px; color: var(--ink-2); font-size: 18px; line-height: 28px; }
.mv-card--dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.mv-card--dark p { color: #CFC9BD; }
.mv-card--dark i { color: var(--amber); }

.team-card { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.team-card .avatar-lg { width: 100%; aspect-ratio: 1; border-radius: 16px; }
.team-card span { font-size: 14px; line-height: 20px; color: var(--muted); }
.team-card .text-link { font-size: 14px; line-height: 20px; }

.timeline-wrap { position: relative; max-width: 800px; margin-inline: auto; padding-left: 64px; }
.timeline { list-style: none; display: grid; gap: 32px; }
.timeline-line { position: absolute; left: 20px; top: 8px; bottom: 8px; width: 4px; border-radius: 9999px; background: var(--line); }
.timeline-progress { position: absolute; left: 0; top: 0; width: 100%; height: 0%; background: var(--accent); border-radius: 9999px; transition: height 1.2s var(--ease); }
.timeline-truck {
  position: absolute;
  left: 4px;
  top: calc(8px + var(--p, 0%));
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border-radius: 9999px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 0 0 4px var(--surface-2);
  transition: top 1.2s var(--ease);
  z-index: 1;
}
.milestone { padding: 24px; }
.milestone .year {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  background: var(--surface-2);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  transition: background-color 0.7s var(--ease), color 0.7s var(--ease);
}
.milestone.active .year { background: var(--accent); color: #fff; }
.milestone h3 { margin-top: 12px; }
.milestone p { color: var(--muted); margin-top: 4px; }

/* Art card motion */
.dock-box { animation: dock 3.6s linear infinite; }
@keyframes dock {
  0% { transform: translateX(0); opacity: 0; }
  8% { opacity: 1; }
  78% { transform: translateX(150px); opacity: 1; }
  92%, 100% { transform: translateX(176px); opacity: 0; }
}
.dock-progress { transform-box: fill-box; transform-origin: left; animation: fill-bar 3.6s var(--ease) infinite; }
@keyframes fill-bar { from { transform: scaleX(0.05); } to { transform: scaleX(1); } }
.about-truck { animation: about-drive 9s linear infinite; }
@keyframes about-drive { from { transform: translateX(-140px); } to { transform: translateX(520px); } }
.drift { animation: drift 14s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate; }
@keyframes drift { to { transform: translateX(-60px); } }
.cr-flow { animation: dash-flow-l 1s linear infinite; }
@keyframes dash-flow-l { to { stroke-dashoffset: -18; } }
.pin-bounce { animation: pin 1.6s var(--ease) infinite; }
@keyframes pin { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } }
.pin-ring { transform-box: fill-box; transform-origin: center; animation: halo 1.6s var(--ease) infinite; }
.ring-phone { animation: ring 2.4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ring { 0%, 60%, 100% { transform: translate(16px, 16px) rotate(0); } 65% { transform: translate(16px, 16px) rotate(-14deg); } 70% { transform: translate(16px, 16px) rotate(14deg); } 75% { transform: translate(16px, 16px) rotate(-10deg); } 80% { transform: translate(16px, 16px) rotate(8deg); } }

/* ---------- Contact ---------- */

.contact-cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-cards { grid-template-columns: 1fr 1.45fr 1.3fr 1fr; gap: 24px; } }
.contact-card { display: flex; flex-direction: column; gap: 8px; }
.contact-card i { font-size: 24px; color: var(--accent); margin-bottom: 8px; }
.contact-card a, .contact-card strong { font-weight: 700; word-break: break-word; }
.contact-card a { border-radius: 4px; transition: color 0.7s var(--ease); }
.contact-card a:hover { color: var(--accent); }
.contact-card p { font-size: 14px; line-height: 20px; color: var(--muted); }

.contact-layout { display: grid; gap: 24px; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; } }

.form-card { padding: 24px; }
@media (min-width: 640px) { .form-card { padding: 32px; } }
.form-grid { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; line-height: 20px; font-weight: 700; }
.field .opt { font-weight: 500; color: var(--muted); }
.input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  transition: border-color 0.7s var(--ease), box-shadow 0.7s var(--ease), background-color 0.7s var(--ease);
}
.input:hover { border-color: #CFC5B4; }
.input:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.14); }
.input[aria-invalid="true"] { border-color: var(--danger); background: #FEF3F2; }
textarea.input { min-height: 128px; resize: vertical; }
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 256 256'%3E%3Cpath fill='%2317150F' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field-error { display: none; align-items: center; gap: 4px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--danger); }
.field-error.show { display: flex; }
.check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-2);
}
.check input { width: 20px; height: 20px; margin-top: 0; accent-color: var(--accent); }
.check a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.form-error {
  display: none;
  gap: 8px;
  align-items: flex-start;
  padding: 12px 16px;
  border-radius: 12px;
  background: #FEF3F2;
  color: var(--danger);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.form-error.show { display: flex; }
.form-note { font-size: 14px; line-height: 20px; color: var(--muted); }

.success-panel { display: none; text-align: center; padding-block: 24px; }
.success-panel.show { display: block; animation: rise 0.9s var(--ease); }
.success-panel svg { width: 100%; max-width: 320px; margin: 0 auto 24px; }
.success-panel p { color: var(--ink-2); margin-top: 8px; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.sp-truck { animation: sp-drive 3.2s var(--ease) infinite; }
@keyframes sp-drive { 0% { transform: translateX(-80px); } 60%, 100% { transform: translateX(260px); } }

.map-embed { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); aspect-ratio: 4 / 3; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.hours { list-style: none; display: grid; gap: 4px; margin-top: 16px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 20px; }
.hours li.today { background: var(--accent-soft); font-weight: 700; }
.hours li span:last-child { font-variant-numeric: tabular-nums; }

/* ---------- Final CTA ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--dark);
  color: #fff;
  padding: 48px 24px;
  text-align: center;
}
@media (min-width: 768px) { .cta-band { padding: 80px 48px; } }
.cta-band h2 { max-width: 680px; margin-inline: auto; }
.cta-band .lead { color: #CFC9BD; max-width: 680px; margin-inline: auto; }
.cta-band .hero-cta { position: relative; z-index: 1; }
.cta-band .hero-call { color: #B5AFA3; }
.cta-band .hero-call a { color: #fff; border-color: var(--dark-line); }
.risk-list { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 32px; list-style: none; font-size: 14px; line-height: 20px; color: #CFC9BD; }
.risk-list li { display: inline-flex; align-items: center; gap: 8px; }
.risk-list i { color: var(--amber); font-size: 20px; }
.cta-band { padding-bottom: 96px; }
@media (min-width: 768px) { .cta-band { padding-bottom: 96px; } }

/* ---------- Footer ---------- */

.footer { background: var(--dark); color: #CFC9BD; margin-top: 64px; padding-top: 64px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr 1.4fr; gap: 48px; } }
.footer .brand { color: #fff; }
.footer h2 { font-size: 14px; line-height: 20px; font-weight: 700; color: #fff; letter-spacing: 0; margin-bottom: 16px; }
.footer p { font-size: 14px; line-height: 20px; margin-top: 16px; }
.footer ul { list-style: none; display: grid; gap: 12px; font-size: 14px; line-height: 20px; }
.footer a { border-radius: 4px; transition: color 0.7s var(--ease); }
.footer a:hover { color: #fff; }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.footer-contact i { font-size: 20px; color: var(--amber); }
.footer-contact a, .footer-contact span { word-break: break-word; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-block: 24px;
  align-items: center;
  border-top: 1px solid var(--dark-line);
  font-size: 14px;
  line-height: 20px;
  color: #8F897D;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-bottom p { margin-top: 0; }

.back-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 20px;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  transform: translateY(24px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), background-color 0.7s var(--ease);
}
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { background: var(--accent); transform: translateY(-4px); }
.back-top:active { transform: scale(0.94); }
.back-top:focus-visible { border-radius: 9999px; }
@media (min-width: 768px) { .back-top { right: 24px; bottom: 24px; } }

/* ---------- Auth dialogs ---------- */

dialog.modal {
  margin: auto;
  width: calc(100% - 32px);
  max-width: 440px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
  padding: 32px 24px 24px;
  box-shadow: 0 24px 64px rgba(23, 21, 15, 0.24);
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), overlay 0.7s allow-discrete, display 0.7s allow-discrete;
}
dialog.modal[open] { opacity: 1; transform: none; }
@starting-style { dialog.modal[open] { opacity: 0; transform: translateY(32px) scale(0.98); } }
dialog.modal::backdrop {
  background: rgba(19, 18, 9, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
@media (min-width: 640px) { dialog.modal { padding: 40px 32px 32px; } }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--muted);
  transition: background-color 0.7s var(--ease), color 0.7s var(--ease);
}
.modal-close:hover { background: var(--surface-2); color: var(--ink); }
.modal-close:focus-visible { border-radius: 9999px; }
.modal h2 { font-size: 24px; line-height: 32px; }
.modal .form-grid { margin-top: 24px; }
.modal-switch { margin-top: 16px; text-align: center; font-size: 14px; line-height: 20px; color: var(--muted); }
.modal-switch button { color: var(--accent); font-weight: 700; border-radius: 4px; }
.modal-switch button:hover { text-decoration: underline; }

/* ---------- Legal ---------- */

.legal { max-width: 800px; margin-inline: auto; }
.legal-body { padding: 24px; }
@media (min-width: 640px) { .legal-body { padding: 48px; } }
.legal-body h2 { font-size: 20px; line-height: 28px; margin-top: 40px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body ul { margin-top: 12px; color: var(--ink-2); }
.legal-body ul { padding-left: 24px; display: grid; gap: 8px; }
.legal-body a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 24px; }
.legal-toc a {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  transition: border-color 0.7s var(--ease), color 0.7s var(--ease);
}
.legal-toc a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 404 ---------- */

.lost { text-align: center; padding-block: 48px 96px; }
.lost .art-card { max-width: 680px; margin: 0 auto 48px; aspect-ratio: 16 / 9; }
.lost h1 { font-size: 36px; line-height: 40px; }
@media (min-width: 640px) { .lost h1 { font-size: 48px; line-height: 1; } }
.lost .lead { max-width: 680px; margin-inline: auto; }
.lost .hero-cta { justify-content: center; }
.sign-arm { transform-box: fill-box; transform-origin: 0% 50%; animation: sign 3.4s var(--ease) infinite alternate; }
.sign-arm.b { transform-origin: 100% 50%; animation-delay: 0.6s; }
@keyframes sign { from { transform: rotate(-6deg); } to { transform: rotate(8deg); } }
.q-pop { transform-box: fill-box; transform-origin: 50% 100%; animation: qpop 2.4s var(--ease) infinite; }
@keyframes qpop { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-8px) scale(1.08); } }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .tagline-text .w { color: #fff; }
}
