/* ============================================================
   ASPTECH — landing page
   Mobile-first. Base styles target ~360–430px viewports;
   layout scales up via min-width media queries.
   ============================================================ */

:root {
  --ink: #0b0c0e;
  --ink-soft: #131519;
  --ink-card: #16181d;
  --line: rgba(255, 255, 255, 0.09);
  --paper: #f4f2ec;
  --fog: rgba(244, 242, 236, 0.62);
  --fog-dim: rgba(244, 242, 236, 0.42);
  /* Brand red (logo) — small text on dark uses the brightened tint for contrast */
  --brand: #da1e34;
  --accent: #ef2d43;

  --font-sans: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --space-gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 20px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
}

/* Grain overlay for depth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  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.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4, p, ul, ol { margin: 0; }

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

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

::selection { background: var(--brand); color: #fff; }

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 74rem;
  margin-inline: auto;
  padding-inline: var(--space-gutter);
}

.section { padding-block: clamp(4.5rem, 12vw, 8.5rem); }

[id] { scroll-margin-top: 5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:active { transform: scale(0.97); }

.btn-solid { background: var(--brand); color: #fff; }
.btn-solid:hover { background: var(--paper); color: var(--ink); }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--paper);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #23262c; }

.btn-outline-dark {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn-outline-dark:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

.btn-sm { padding: 0.65rem 1.15rem; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 12, 14, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 74rem;
  margin-inline: auto;
  padding: 0.9rem var(--space-gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--paper); /* logo "asp" + tagline render via currentColor */
}
.brand-logo {
  height: 38px;
  width: auto;
  transition: opacity 0.25s;
}
.brand:hover .brand-logo { opacity: 0.82; }
.brand-logo-lg { height: 48px; }

.nav-desktop { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.menu-line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
/* Author display:flex would override the UA [hidden] rule, leaving an
   invisible click-eating overlay — restate it explicitly */
.mobile-menu[hidden] { display: none; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  padding: 6rem var(--space-gutter) 3rem;
  background: rgba(11, 12, 14, 0.96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-menu.is-open { opacity: 1; }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, padding-left 0.3s var(--ease-out);
}
.mobile-menu nav a:hover { color: var(--accent); padding-left: 0.5rem; }
.menu-num {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
}

.mobile-menu-foot {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--fog);
}
.mobile-menu-foot a:hover { color: var(--accent); }

body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7.5rem var(--space-gutter) 5.5rem;
  overflow: hidden;
}

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

.hero-glow {
  position: absolute;
  top: -20%;
  right: -30%;
  width: 80vw;
  height: 80vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218, 30, 52, 0.22) 0%, rgba(218, 30, 52, 0.07) 40%, transparent 70%);
  filter: blur(20px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 30%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 30%, black 0%, transparent 70%);
}

.hero-inner {
  width: 100%;
  max-width: 74rem;
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fog);
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-title {
  margin-top: 1.75rem;
  font-size: clamp(2.9rem, 12.5vw, 7.25rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hero-title .line { display: block; }
.hero-title em { color: var(--accent); }

.hero-sub {
  margin-top: 1.75rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--fog);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.75rem;
  padding: 0;
  list-style: none;
}
.hero-chips li {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--fog);
}

.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  right: var(--space-gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fog-dim);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -50%;
  width: 100%;
  height: 50%;
  background: var(--accent);
  animation: scrollhint 2s var(--ease-out) infinite;
}
@keyframes scrollhint {
  0% { top: -50%; }
  100% { top: 110%; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 1.1rem;
  overflow: hidden;
  background: var(--ink-soft);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fog);
}
.marquee-group i {
  font-style: normal;
  color: var(--accent);
  margin-inline: 1.25rem;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Statement ---------- */
.statement { padding-block: clamp(5rem, 14vw, 9rem); }
.statement-text {
  max-width: 56rem;
  font-size: clamp(1.5rem, 5vw, 2.9rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.statement-text em { color: var(--accent); }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: clamp(2.5rem, 7vw, 4.5rem); }

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 1.25rem;
}
.section-label span { color: var(--accent); }
.section-label::after {
  content: "";
  flex: 0 0 48px;
  height: 1px;
  background: var(--line);
}

.section-title {
  font-size: clamp(2.1rem, 7.5vw, 4.25rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.section-title em { color: var(--accent); }

.section-sub {
  margin-top: 1.25rem;
  max-width: 36rem;
  color: var(--fog);
  font-size: 1.05rem;
}

/* ---------- Services bento ---------- */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.75rem;
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.35s var(--ease-out);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(239, 45, 67, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.card:hover { border-color: rgba(239, 45, 67, 0.45); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--accent);
}
.card-icon svg { width: 22px; height: 22px; }
.card-index {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--fog-dim);
}

.card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.card p {
  color: var(--fog);
  font-size: 0.95rem;
  flex-grow: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  list-style: none;
}
.card-tags li {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fog);
}

/* ---------- Stats ---------- */
.stats {
  border-block: 1px solid var(--line);
  background: var(--ink-soft);
  padding-block: clamp(3rem, 8vw, 5rem);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem 1.5rem;
}
.stat { display: flex; flex-direction: column; gap: 0.4rem; }
.stat-value {
  font-size: clamp(2.6rem, 9vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--fog);
  max-width: 12rem;
}

/* ---------- Products ---------- */
.section-head-row {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.scroller-controls {
  display: flex;
  gap: 0.6rem;
}
.scroller-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  color: var(--paper);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, opacity 0.25s, transform 0.25s var(--ease-out);
}
.scroller-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); transform: scale(1.06); }
.scroller-btn:active:not(:disabled) { transform: scale(0.96); }
.scroller-btn:disabled { opacity: 0.3; cursor: default; }

.product-scroller {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-inline: var(--space-gutter);
  scroll-padding-inline: var(--space-gutter);
}
.product-scroller::-webkit-scrollbar { display: none; }

/* Edge fades hint that more cards sit off-screen; toggled from JS */
.product-scroller.fade-right {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 4.5rem), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 4.5rem), transparent);
}
.product-scroller.fade-left {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4.5rem);
  mask-image: linear-gradient(90deg, transparent, #000 4.5rem);
}
.product-scroller.fade-left.fade-right {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4.5rem, #000 calc(100% - 4.5rem), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4.5rem, #000 calc(100% - 4.5rem), transparent);
}

.product-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding-bottom: 0.5rem;
}

.product-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: min(78vw, 21rem);
  padding: 1.9rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--ink-card) 0%, var(--ink-soft) 100%);
  transition: border-color 0.3s, transform 0.35s var(--ease-out);
}
.product-card:hover { border-color: rgba(239, 45, 67, 0.45); transform: translateY(-3px); }

.product-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent);
}
.product-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.product-card p { color: var(--fog); font-size: 0.95rem; }

/* ---------- Approach ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.step {
  display: flex;
  gap: 1.5rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }

.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: var(--accent);
  line-height: 1.1;
  flex: 0 0 3rem;
}
.step-body h3 {
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
.step-body p { color: var(--fog); max-width: 34rem; }

/* ---------- CTA ---------- */
.cta-panel {
  position: relative;
  padding: clamp(2.5rem, 8vw, 5.5rem) clamp(1.75rem, 6vw, 5rem);
  border-radius: calc(var(--radius) * 1.4);
  background: linear-gradient(135deg, var(--brand) 0%, #b3122a 100%);
  color: #fff;
  overflow: hidden;
}
.cta-panel::after {
  content: "✦";
  position: absolute;
  right: -0.15em;
  bottom: -0.35em;
  font-size: clamp(8rem, 30vw, 16rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.cta-panel ::selection { background: var(--ink); color: #fff; }

.cta-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}
.cta-title {
  margin-top: 1rem;
  font-size: clamp(2.1rem, 7.5vw, 4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  max-width: 18ch;
}
.cta-sub {
  margin-top: 1.25rem;
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.82);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(3.5rem, 8vw, 5.5rem);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer-about p {
  margin-top: 1rem;
  color: var(--fog);
  max-width: 20rem;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog-dim);
  margin-bottom: 1rem;
}
.footer-col a,
.footer-col address {
  display: block;
  font-style: normal;
  color: var(--fog);
  font-size: 0.95rem;
  line-height: 1.7;
}
.footer-col a { padding-block: 0.15rem; }
.footer-col a:hover { color: var(--accent); }

.footer-word {
  display: flex;
  justify-content: center;
  margin-top: clamp(3rem, 8vw, 5rem);
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
  user-select: none;
}
/* Outlined rendering of the brand logo: the custom properties inherit
   into the <use> shadow tree and override the paths' inline fills */
.footer-word-logo {
  width: min(100%, 44rem);
  height: auto;
  --logo-red: none;
  --logo-ink: none;
  --logo-stroke: rgba(244, 242, 236, 0.22);
  --logo-sw: 0.75;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--fog-dim);
}
.footer-legal a:hover { color: var(--accent); }

/* ---------- Sub-pages ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 8.5rem var(--space-gutter) 4rem;
  border-bottom: 1px solid var(--line);
}
.page-hero .hero-glow {
  top: -55%;
  right: -35%;
}
.page-hero-inner {
  position: relative;
  max-width: 74rem;
  margin-inline: auto;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fog-dim);
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.6rem;
  color: var(--fog-dim);
}
.breadcrumbs a { color: var(--fog); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--accent); }

.page-title {
  font-size: clamp(2.4rem, 8.5vw, 5rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 20ch;
}
.page-title em { color: var(--accent); }
.page-lede {
  margin-top: 1.5rem;
  max-width: 40rem;
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  color: var(--fog);
}
.page-hero .hero-cta { margin-top: 2rem; }

.prose { max-width: 46rem; color: var(--fog); }
.prose p + p { margin-top: 1.1rem; }
.prose strong { color: var(--paper); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.card-more {
  margin-top: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}
.card-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.card h3 a, .product-card h3 a { color: inherit; }
.card h3 a:hover, .product-card h3 a:hover { color: var(--accent); }

/* Subscription strip */
.sub-strip {
  border-block: 1px solid var(--line);
  background: var(--ink-soft);
}
.sub-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.sub-points h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.sub-points .sub-num {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.sub-points p { color: var(--fog); font-size: 0.95rem; }

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p {
  padding: 0 0 1.4rem;
  color: var(--fog);
  max-width: 44rem;
}

@media (min-width: 40em) {
  .sub-points { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
@media (min-width: 64em) {
  .page-hero { padding-top: 10rem; padding-bottom: 5.5rem; }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ============================================================
   Breakpoint: ≥ 640px (large phones / small tablets)
   ============================================================ */
@media (min-width: 40em) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 2rem; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Breakpoint: ≥ 768px (tablets)
   ============================================================ */
@media (min-width: 48em) {
  .nav-desktop {
    display: flex;
    gap: 2rem;
  }
  .nav-desktop a {
    position: relative;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--fog);
    transition: color 0.2s;
  }
  .nav-desktop a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s var(--ease-out);
  }
  .nav-desktop a:hover { color: var(--paper); }
  .nav-desktop a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
  .nav-desktop a[aria-current="page"] { color: var(--paper); }
  .nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }

  .menu-toggle, .mobile-menu { display: none; }

  .section-head-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .scroller-controls { flex-shrink: 0; padding-bottom: 0.35rem; }

  .steps { max-width: 56rem; }
  .step { gap: 3rem; padding-block: 2.75rem; }
  .step-num { flex: 0 0 5rem; }
}

/* ============================================================
   Breakpoint: ≥ 1024px (desktop)
   ============================================================ */
@media (min-width: 64em) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .card-wide { grid-column: span 2; }

  .hero-title { line-height: 0.98; }

  .product-track { padding-inline: 0; }
  .product-scroller {
    max-width: 74rem;
    margin-inline: auto;
  }
  .product-card { width: 20.5rem; }

  .product-scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; }
  .product-scroller.is-dragging .product-card { pointer-events: none; }

  .step { align-items: baseline; }

  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 0.8fr; gap: 2rem; }
}

/* ============================================================
   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;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
