/* ============================================================
   Athlete's Choice Massage — brand system (shared across pages)
   Vivid Yellow #FFD600 + Flint #716B64 + Montserrat.
   Voice: trusted coach, empowering, not spa.
   Page-specific styles live alongside each page (e.g. tmj/page.css).
   ============================================================ */

/* ------------------ Tokens ------------------ */
:root {
  /* Brand */
  --yellow: #FFD600;
  --yellow-deep: #e6bd00;
  --flint: #716B64;
  --flint-deep: #4a4642;
  --flint-soft: #d6d2cc;

  /* Warm paper neutrals — tinted toward flint hue (warm gray-brown 75°) */
  --paper: oklch(97.5% 0.005 75);
  --paper-tint: oklch(94.5% 0.008 75);
  --paper-deep: oklch(89% 0.012 75);

  /* Ink — warm near-black, never pure */
  --ink: oklch(20% 0.01 75);
  --ink-80: oklch(32% 0.012 75);
  --ink-60: #716B64; /* === flint */
  --ink-40: oklch(62% 0.012 75);
  --ink-20: oklch(78% 0.01 75);

  /* Type */
  --display: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing — 4pt scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radii — modest */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  /* Layout */
  --measure: 66ch;
  --content-max: 1180px;
  --page-pad: clamp(20px, 5vw, 56px);

  /* Shadows — restrained */
  --shadow-1: 0 1px 0 oklch(22% 0.01 75 / 0.04);
  --shadow-2: 0 8px 24px oklch(22% 0.01 75 / 0.08);

  /* Motion */
  --ease-out-q: cubic-bezier(0.19, 1, 0.22, 1);
  --dur-1: 220ms;
  --dur-2: 450ms;
  --dur-3: 700ms;

  /* Brand asset — shared logo path, resolved from page location via url() at class site */
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

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

ul,
ol {
  padding: 0;
  list-style: none;
}

dl dt,
dl dd {
  margin: 0;
}

strong {
  font-weight: 700;
  color: var(--ink);
}

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

/* ------------------ A11y ------------------ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-md);
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ------------------ Layout primitives ------------------ */
.nav,
.section,
.hero,
.footer,
.cta-final-inner {
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

.section {
  padding-top: clamp(var(--s-8), 10vw, var(--s-10));
  padding-bottom: clamp(var(--s-8), 10vw, var(--s-10));
  max-width: var(--content-max);
  margin-inline: auto;
}

/* ------------------ Brand logo (shared WebP, recolored via mask) ------------------ */
/* Each page sets --brand-logo-url to the correct relative path to
   /assets/athletes_choice_rgb-3-copy.webp. On light backgrounds default
   color is --ink; on dark panels set color: var(--yellow). */
.brand-logo {
  display: inline-block;
  width: 170px;
  height: 34px;
  background-color: currentColor;
  -webkit-mask-image: var(--brand-logo-url);
  mask-image: var(--brand-logo-url);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  mask-position: left center;
  -webkit-mask-size: contain;
  mask-size: contain;
  color: var(--ink);
  flex: none;
}

.brand-logo-sm {
  width: 132px;
  height: 26px;
}

.brand-logo-lg {
  width: 220px;
  height: 44px;
}

@media (max-width: 460px) {
  .brand-logo {
    width: 132px;
    height: 26px;
  }
}

/* ------------------ Nav ------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  background: oklch(97.5% 0.005 75 / 0.88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-1) var(--ease-out-q);
}

.nav.is-scrolled {
  border-bottom-color: var(--paper-deep);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.005em;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  transition: background var(--dur-1) var(--ease-out-q),
    transform var(--dur-1) var(--ease-out-q),
    color var(--dur-1) var(--ease-out-q);
}

.nav-cta:hover {
  background: var(--yellow);
  color: var(--ink);
  transform: translateY(-1px);
}

/* ------------------ Buttons ------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  font-family: var(--body);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.005em;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform var(--dur-1) var(--ease-out-q),
    background var(--dur-1) var(--ease-out-q),
    color var(--dur-1) var(--ease-out-q),
    border-color var(--dur-1) var(--ease-out-q),
    box-shadow var(--dur-1) var(--ease-out-q);
  will-change: transform;
}

.btn svg {
  transition: transform var(--dur-1) var(--ease-out-q);
}

/* Primary = yellow on ink. Brand-recognizable. */
.btn-primary {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
  box-shadow: 0 0 0 0 var(--yellow);
}

.btn-primary:hover {
  background: var(--ink);
  color: var(--yellow);
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px oklch(22% 0.01 75 / 0.18);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--paper-deep);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--paper-tint);
  transform: translateY(-2px);
}

.btn-xl {
  padding: 22px 36px;
  font-size: 16px;
}

/* ------------------ Hero ------------------ */
.hero {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-top: clamp(var(--s-7), 8vw, var(--s-9));
  padding-bottom: clamp(var(--s-8), 10vw, var(--s-10));
  display: grid;
  gap: var(--s-7);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.3fr 1fr;
    gap: var(--s-8);
  }
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flint);
  align-self: flex-start;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--yellow);
  display: inline-block;
  flex: none;
}

.eyebrow-on-accent {
  color: var(--ink);
}

.hero-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.hero-emph {
  display: block;
}

.hero-highlight {
  position: relative;
  display: inline;
  padding: 0 0.06em;
  background-image: linear-gradient(
    transparent 60%,
    var(--yellow) 60%,
    var(--yellow) 96%,
    transparent 96%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  /* draw-on animation */
  background-size: 0% 100%;
  animation: drawHighlight 900ms 350ms var(--ease-out-q) forwards;
}

@keyframes drawHighlight {
  to {
    background-size: 100% 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-highlight {
    animation: none;
    background-size: 100% 100%;
  }
}

.lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.6;
  color: var(--ink-80);
  max-width: 56ch;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-2);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--paper-deep);
  max-width: 480px;
}

.hero-trust li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}

.trust-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--flint);
  line-height: 1.3;
}

/* Hero diagram — generic aside wrapper for a figure/image. */
.hero-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ------------------ Slogan strip ------------------ */
.slogan-strip {
  background: var(--yellow);
  color: var(--ink);
  padding: 14px 0;
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.slogan-track {
  display: inline-flex;
  align-items: center;
  gap: var(--s-5);
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  animation: marquee 40s linear infinite;
  padding-left: 100%;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .slogan-track {
    animation: none;
    padding-left: 0;
    overflow-x: auto;
  }
}

/* ------------------ Section heads ------------------ */
.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  max-width: 44ch;
  margin-bottom: var(--s-8);
}

.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.section-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-80);
  max-width: var(--measure);
}

/* ------------------ Failures list (generic "what doesn't work" editorial dl) ------------------ */
.failures {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--paper-deep);
}

.failure {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--paper-deep);
  transition: padding-left var(--dur-2) var(--ease-out-q);
}

@media (min-width: 720px) {
  .failure {
    grid-template-columns: 1fr 2fr;
    gap: var(--s-6);
    align-items: baseline;
  }
}

.failure dt {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.15;
}

.failure dd {
  font-size: 16px;
  color: var(--ink-80);
  line-height: 1.6;
  max-width: var(--measure);
}

/* ------------------ Method steps (generic numbered walkthrough) ------------------ */
.method-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--paper-deep);
}

.step {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-6) 0;
  border-bottom: 1px solid var(--paper-deep);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .step {
    grid-template-columns: minmax(140px, 180px) 1fr;
    gap: var(--s-7);
    align-items: start;
  }
}

.step-meta {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-3);
  flex-wrap: wrap;
}

@media (min-width: 720px) {
  .step-meta {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--s-2);
  }
}

.step-num {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  padding: 4px 10px;
  border-radius: 999px;
}

.step-time {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--flint);
}

.step-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 2px;
}

.step-title .optional {
  font-family: var(--body);
  font-weight: 500;
  font-size: 13px;
  color: var(--flint);
  letter-spacing: 0.005em;
  text-transform: none;
  margin-left: 6px;
}

.step-desc {
  font-size: 16px;
  color: var(--ink-80);
  line-height: 1.65;
  max-width: var(--measure);
}

/* ------------------ Fit panel + checklist (dark emphasis section) ------------------ */
.fit {
  padding-top: 0;
  padding-bottom: 0;
  max-width: none;
}

.fit-panel {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: clamp(var(--s-7), 8vw, var(--s-9)) clamp(var(--s-5), 5vw, var(--s-8));
  margin-top: clamp(var(--s-8), 10vw, var(--s-10));
  margin-bottom: clamp(var(--s-8), 10vw, var(--s-10));
  background: var(--flint);
  color: var(--paper);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}

.fit-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--yellow);
}

.fit-panel .section-head {
  margin-bottom: var(--s-7);
}

.fit-panel .section-title {
  color: var(--paper);
  /* light-on-dark: more leading per typography reference */
  line-height: 1.05;
}

.fit-panel .eyebrow {
  color: oklch(82% 0.01 75);
}

.checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid oklch(48% 0.01 75);
}

@media (min-width: 720px) {
  .checklist {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--s-7);
  }
}

.checklist li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--s-3);
  align-items: start;
  padding: var(--s-4) 0;
  border-bottom: 1px solid oklch(48% 0.01 75);
  font-size: 15.5px;
  color: oklch(92% 0.008 75);
  line-height: 1.5;
  cursor: default;
}

.checklist li:last-child {
  border-bottom: none;
}

@media (min-width: 720px) {
  .checklist li:nth-last-child(1),
  .checklist li:nth-last-child(2) {
    border-bottom: none;
  }
}

.check {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--yellow);
  border-radius: var(--r-sm);
  display: inline-block;
  position: relative;
  margin-top: 3px;
  transition: background var(--dur-1) var(--ease-out-q);
}

.check::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--yellow);
  border-radius: 2px;
  opacity: 0;
  transition: opacity var(--dur-1) var(--ease-out-q);
}

.checklist li:hover .check::after {
  opacity: 1;
}

/* ------------------ FAQ ------------------ */
.faq-list {
  border-top: 1px solid var(--paper-deep);
}

.faq-item {
  border-bottom: 1px solid var(--paper-deep);
  transition: background var(--dur-1) var(--ease-out-q);
}

.faq-item[open] {
  background: oklch(98% 0.005 75);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
  transition: color var(--dur-1) var(--ease-out-q);
}

.faq-item summary:hover {
  color: var(--ink);
}

.faq-item summary:hover .faq-icon {
  border-color: var(--ink);
  background: var(--yellow);
}

.faq-item summary:hover .faq-icon::before,
.faq-item summary:hover .faq-icon::after {
  background: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: transparent;
  border: 1.5px solid var(--paper-deep);
  position: relative;
  transition: background var(--dur-1) var(--ease-out-q),
    border-color var(--dur-1) var(--ease-out-q),
    transform var(--dur-2) var(--ease-out-q);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform var(--dur-2) var(--ease-out-q),
    background var(--dur-1) var(--ease-out-q);
}

.faq-icon::before {
  top: 50%;
  left: 25%;
  width: 50%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-icon::after {
  left: 50%;
  top: 25%;
  width: 1.5px;
  height: 50%;
  transform: translateX(-50%);
}

.faq-item[open] .faq-icon {
  background: var(--yellow);
  border-color: var(--ink);
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 0 var(--s-5);
  max-width: var(--measure);
}

.faq-body p {
  font-size: 16px;
  color: var(--ink-80);
  line-height: 1.65;
}

/* ------------------ Final CTA ------------------ */
.cta-final {
  padding-top: clamp(var(--s-9), 12vw, var(--s-10));
  padding-bottom: clamp(var(--s-9), 12vw, var(--s-10));
  text-align: center;
  background:
    radial-gradient(
      70% 90% at 50% 100%,
      oklch(96% 0.08 95) 0%,
      transparent 70%
    ),
    var(--paper);
  max-width: none;
  position: relative;
  overflow: hidden;
}

.cta-final::before,
.cta-final::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: var(--yellow);
  opacity: 0.18;
  filter: blur(40px);
  pointer-events: none;
}

.cta-final::before {
  top: -60px;
  left: -60px;
}

.cta-final::after {
  bottom: -60px;
  right: -60px;
}

.cta-final-inner {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-5);
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.cta-final .btn-primary {
  margin-top: var(--s-3);
}

.cta-fine {
  font-size: 13px;
  color: var(--flint);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ------------------ Footer ------------------ */
.footer {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-top: var(--s-7);
  padding-bottom: var(--s-6);
  border-top: 1px solid var(--paper-deep);
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: start;
}

@media (min-width: 720px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--s-8);
  }
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  flex-direction: column;
}

.footer-words {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--flint);
  line-height: 1.5;
}

.footer-words strong {
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.hashtag {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.005em;
}

.footer-locations {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.footer-loc-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flint);
}

.footer-locations ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px var(--s-4);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.footer-bot {
  padding-top: var(--s-4);
  border-top: 1px solid var(--paper-deep);
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-size: 12.5px;
  color: var(--flint);
}

.footer-bot a {
  color: var(--ink);
  font-weight: 700;
  transition: color var(--dur-1) var(--ease-out-q);
}

.footer-bot a:hover {
  color: var(--ink);
  background: var(--yellow);
  padding: 0 4px;
  border-radius: 2px;
}

/* ------------------ Floating mobile CTA ------------------ */
.float-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(140%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-2);
  z-index: 40;
  transition: transform var(--dur-3) var(--ease-out-q),
    background var(--dur-1) var(--ease-out-q);
  white-space: nowrap;
  border: 2px solid var(--ink);
}

.float-cta.is-visible {
  transform: translateX(-50%) translateY(0);
}

.float-cta:hover {
  background: var(--ink);
  color: var(--yellow);
}

@media (min-width: 720px) {
  .float-cta {
    display: none;
  }
}

/* ------------------ Reveal animation ------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-3) var(--ease-out-q),
    transform var(--dur-3) var(--ease-out-q);
}

[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hero [data-reveal]:nth-child(1) {
  transition-delay: 0ms;
}
.hero [data-reveal]:nth-child(2) {
  transition-delay: 80ms;
}
.hero [data-reveal]:nth-child(3) {
  transition-delay: 160ms;
}
.hero [data-reveal]:nth-child(4) {
  transition-delay: 240ms;
}
.hero [data-reveal]:nth-child(5) {
  transition-delay: 320ms;
}
