/* =========================================================
   A-LISTER STUDIOS — styles.css
   Sunset Studio brand system. Mobile-first.
   ---------------------------------------------------------
   1.  Tokens
   2.  Reset + base
   3.  Typography
   4.  Layout helpers
   5.  Buttons + links
   6.  Loader
   7.  Nav
   8.  Section frame (index labels + spacing)
   9.  01 Hero
   10. 02 Video
   11. 03 Opportunity (comparison)
   12. 04 How It Works (steps)
   13. 05 Why It Works (stats + speed-to-lead)
   14. 06 Who We Serve (grid)
   15. 07 About
   16. 08 FAQ
   17. 09 Final CTA + form
   18. Footer
   19. Reveal animations + reduced motion
   ========================================================= */


/* 1. TOKENS ------------------------------------------------ */
:root {
  --bone:      #F4ECDD;
  --bone-soft: #ECE0CB;
  --espresso:  #241712;
  --sunset:    #E2552B;
  --amber:     #E0A33E;
  --cognac:    #7A3B22;
  --frame:     #1A100B;

  --rule: 1px solid rgba(36, 23, 18, 0.18);
  --rule-light: 1px solid rgba(244, 236, 221, 0.18);

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'Space Grotesk', system-ui, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, monospace;

  --pad-x: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 11vw, 9rem);
  --max-w: 1400px;
}


/* 2. RESET + BASE ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--sunset); color: var(--bone); }


/* 3. TYPOGRAPHY ------------------------------------------- */
.eyebrow,
.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
}
.eyebrow {
  color: var(--cognac);
  display: inline-block;
}
.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}
.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 0.6em;
  max-width: 18ch;
}
.section-sub {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  color: var(--sunset);
  margin: 0 0 1.5rem;
}
.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  max-width: 60ch;
  line-height: 1.5;
}
.accent { color: var(--sunset); }


/* 4. LAYOUT HELPERS --------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.section {
  position: relative;
  padding-block: var(--section-y);
  border-top: var(--rule);
}
.section.dark {
  background: var(--frame);
  color: var(--bone);
  border-top: 1px solid rgba(244, 236, 221, 0.08);
}
.section.dark .eyebrow { color: var(--amber); }
.section.dark .section-sub { color: var(--amber); }


/* 5. BUTTONS + LINKS -------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  background: var(--sunset);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1.5px solid var(--sunset);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.btn:hover, .btn:focus-visible {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--bone);
}
.btn.dark { background: transparent; color: var(--bone); border-color: var(--sunset); }
.btn.dark:hover, .btn.dark:focus-visible { background: var(--sunset); }
.btn.small { padding: 0.65rem 1.05rem; font-size: 0.72rem; }

.link-arrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--espresso);
  border-bottom: 1.5px solid var(--sunset);
  padding-bottom: 0.2rem;
  transition: color 180ms ease;
}
.link-arrow:hover { color: var(--sunset); }


/* 6. LOADER ----------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bone);
  display: grid;
  place-items: center;
  z-index: 9999;
  transition: opacity 500ms ease, visibility 500ms ease;
}
.loader img { width: 64px; opacity: 0; animation: loader-pop 700ms ease forwards; }
.loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loader-pop {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}


/* 7. NAV --------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: transparent;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(244, 236, 221, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: rgba(36, 23, 18, 0.12);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img { height: 64px; width: auto; transition: height 220ms ease; }
.nav.scrolled .nav__logo img { height: 56px; }
.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding-block: 0.3rem;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--sunset);
  transition: right 220ms ease;
}
.nav__links a:hover::after,
.nav__links a:focus-visible::after { right: 0; }

.nav__cta { display: none; }
.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
  margin-right: -0.6rem;
}
.nav__toggle span {
  width: 24px; height: 1.5px;
  background: var(--espresso);
  transition: transform 220ms ease, opacity 180ms ease;
}
body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bone);
  z-index: 70;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  transform: translateY(-100%);
  transition: transform 380ms cubic-bezier(0.65, 0, 0.35, 1);
}
body.menu-open .mobile-menu { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.mobile-menu a.btn {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}

@media (min-width: 880px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
}


/* 8. SECTION FRAME (index labels) ------------------------- */
.section__index {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.5rem);
  right: var(--pad-x);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--sunset);
}
.section__head {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 70ch;
}
.section__head .eyebrow { margin-bottom: 1rem; }


/* 9. 01 HERO ---------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 9vw, 8rem);
  border-top: 0;
}
.hero__eyebrow {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.hero__headline {
  font-family: var(--font-display);
  font-weight: 800;
  /* Smaller + tighter so all five lines read in one viewport */
  font-size: clamp(2.3rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}
.hero__headline span {
  display: block;
  overflow: hidden;
}
.hero__headline span > i {
  display: block;
  font-style: normal;
  transform: translateY(102%);
  opacity: 0;
}
.hero.ready .hero__headline span > i {
  animation: hero-reveal 760ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero.ready .hero__headline span:nth-child(1) > i { animation-delay: 80ms; }
.hero.ready .hero__headline span:nth-child(2) > i { animation-delay: 180ms; }
.hero.ready .hero__headline span:nth-child(3) > i { animation-delay: 280ms; }
.hero.ready .hero__headline span:nth-child(4) > i { animation-delay: 380ms; }
.hero.ready .hero__headline span:nth-child(5) > i { animation-delay: 480ms; }
@keyframes hero-reveal {
  to { transform: translateY(0); opacity: 1; }
}
.hero__sub {
  max-width: 55ch;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  margin: 0 0 2rem;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  margin-bottom: clamp(2.75rem, 6vw, 4.5rem);
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  list-style: none;
  margin: 0; padding: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cognac);
}
.hero__tags li { display: inline-flex; align-items: center; gap: 1.4rem; }
.hero__tags li + li::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--cognac);
  margin-right: 0;
  display: inline-block;
}
.hero__watermark {
  position: absolute;
  right: -8vw;
  bottom: -6vw;
  width: min(60vw, 700px);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }


/* 10. 02 VIDEO --------------------------------------------- */
.video {
  position: relative;
}
.video__head {
  text-align: left;
  max-width: 70ch;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0c0704;
  overflow: hidden;
  cursor: pointer;
}
.video__poster {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 280ms ease;
}
.video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(26, 16, 11, 0.18);
  transition: background 220ms ease;
}
.video__frame:hover .video__play { background: rgba(26, 16, 11, 0.32); }
.video__play-btn {
  width: 84px; height: 84px;
  border: 1.5px solid var(--sunset);
  border-radius: 50%;
  background: rgba(26, 16, 11, 0.4);
  display: grid;
  place-items: center;
  transition: transform 240ms ease, background 220ms ease;
}
.video__frame:hover .video__play-btn { transform: scale(1.06); background: rgba(26, 16, 11, 0.6); }
.video__play-btn svg { width: 26px; height: 26px; transform: translateX(2px); }
.video__frame iframe {
  width: 100%; height: 100%;
  border: 0;
}


/* 11. 03 OPPORTUNITY -------------------------------------- */
.opportunity__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.compare {
  border-top: 2px solid var(--espresso);
  padding-top: 1.5rem;
}
.compare.bad { opacity: 0.78; }
.compare.good { border-top-color: var(--sunset); }
.compare h3 {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  margin: 0 0 1.5rem;
  color: var(--cognac);
}
.compare.good h3 { color: var(--sunset); }
.compare ul {
  list-style: none;
  margin: 0; padding: 0;
}
.compare li {
  padding-block: 1rem;
  border-bottom: 1px dashed rgba(36, 23, 18, 0.22);
  font-size: 1.05rem;
  line-height: 1.45;
}
.compare li:last-child { border-bottom: 0; }
.compare li::before {
  content: '—';
  color: var(--sunset);
  font-family: var(--font-mono);
  margin-right: 0.6rem;
}
.compare.bad li::before { content: '×'; color: var(--cognac); }

@media (min-width: 820px) {
  .opportunity__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}


/* 12. 04 STEPS --------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  row-gap: 0.5rem;
  align-items: baseline;
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: var(--rule);
}
.step:last-child { border-bottom: var(--rule); }
.step__num {
  font-family: var(--font-mono);
  color: var(--sunset);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  letter-spacing: 0.14em;
  align-self: start;
}
.step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.8vw, 2.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin: 0;
}
.step__body {
  grid-column: 2;
  max-width: 60ch;
  margin: 0.75rem 0 0;
  font-size: 1.05rem;
}


/* 13. 05 WHY (stats + speed-to-lead) ---------------------- */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.stat {
  border-top: 2px solid var(--sunset);
  padding-top: 1.25rem;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.92;
  color: var(--sunset);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}
.stat__claim {
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0 0 1rem;
  max-width: 32ch;
}
.stat__source {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--cognac);
  text-transform: uppercase;
}
@media (min-width: 820px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
}

.speed {
  margin-top: clamp(3.5rem, 6vw, 5rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--bone-soft);
  border: var(--rule);
}
.speed h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.8vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  max-width: 22ch;
}
.speed p {
  margin: 0;
  max-width: 65ch;
  font-size: 1.08rem;
}
.disclaimer {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--cognac);
  text-transform: uppercase;
  max-width: 70ch;
}


/* 14. 06 WHO WE SERVE ------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  border-top: var(--rule);
}
.card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.5rem;
  align-items: baseline;
  padding-block: 1.5rem;
  border-bottom: var(--rule);
  transition: background 220ms ease;
}
.card:hover { background: var(--bone-soft); }
.card__num {
  font-family: var(--font-mono);
  color: var(--sunset);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
}
.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin: 0;
}
.card__detail {
  grid-column: 2;
  margin: 0.4rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cognac);
}
.cards-foot {
  margin-top: 2.5rem;
  max-width: 60ch;
}
@media (min-width: 700px) {
  .cards { grid-template-columns: 1fr 1fr; column-gap: 3rem; border-top: 0; }
  .card { border-top: var(--rule); border-bottom: 0; }
  .card:nth-last-child(-n+2) { border-bottom: var(--rule); }
}


/* 15. 07 ABOUT -------------------------------------------- */
.about__body {
  max-width: 62ch;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.5;
}


/* 16. 08 FAQ ---------------------------------------------- */
.faq {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  border-top: var(--rule);
}
.faq details {
  border-bottom: var(--rule);
  padding-block: 1.5rem;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.75rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--font-mono);
  color: var(--sunset);
  font-size: 1.6rem;
  line-height: 1;
  transition: transform 220ms ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: 1rem 0 0;
  max-width: 70ch;
  font-size: 1.05rem;
  color: var(--cognac);
}


/* 17. 09 FINAL CTA + FORM --------------------------------- */
.final {
  position: relative;
}
.final__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}
.final h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  max-width: 18ch;
}
.final__body {
  max-width: 55ch;
  margin: 0;
  color: rgba(244, 236, 221, 0.82);
}

.form {
  display: grid;
  gap: 1.25rem;
}
.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.field input,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid rgba(244, 236, 221, 0.3);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 0.65rem 0;
  outline: none;
  transition: border-color 220ms ease;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--sunset); }
.honey { display: none; }
.form__foot {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

@media (min-width: 900px) {
  .final__grid { grid-template-columns: 1.05fr 1fr; gap: 6rem; align-items: start; }
}


/* 18. FOOTER ---------------------------------------------- */
.footer {
  background: var(--frame);
  color: var(--bone);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.footer__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.footer__logo img {
  height: 40px;
  filter: brightness(0) invert(1);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.footer__links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 0.2rem;
  transition: border-color 200ms ease;
}
.footer__links a:hover { border-bottom-color: var(--sunset); }
.footer__meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 236, 221, 0.6);
}
@media (min-width: 820px) {
  .footer__inner {
    grid-template-columns: auto 1fr auto;
    gap: 3rem;
  }
}

/* Dark logo swap */
.section.dark .nav__logo img,
.section.dark img.logo { filter: brightness(0) invert(1); }


/* 19. REVEAL ANIMATIONS + REDUCED MOTION ------------------ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 720ms cubic-bezier(0.2, 0.7, 0.2, 1),
                transform 720ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .reveal.is-in {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal.delay-1 { transition-delay: 80ms; }
  .reveal.delay-2 { transition-delay: 160ms; }
  .reveal.delay-3 { transition-delay: 240ms; }
  .reveal.delay-4 { transition-delay: 320ms; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero__headline span > i { transform: none; opacity: 1; }
  .loader { display: none; }
}


/* 20. STAT COUNT-UP NUMBERS ---------------------------------- */
.stat__num {
  font-variant-numeric: tabular-nums;   /* no width jitter while counting */
}


/* 21. FLIP BOARD (split-flap industries) --------------------- */
.flipboard-wrap {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.flipboard-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cognac);
}
.flipboard {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.flip-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0.86em;
  padding: 0.55rem 0.3rem;
  background: var(--frame);
  color: var(--bone);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1rem, 3.4vw, 1.9rem);
  line-height: 1;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(244, 236, 221, 0.1);
}
.flip-cell.space {
  background: transparent;
  border-bottom-color: transparent;
}
.flip-cell.tick { animation: flip-tick 90ms ease; }
@keyframes flip-tick {
  0%   { transform: scaleY(1); }
  45%  { transform: scaleY(0.5); filter: brightness(1.5); }
  100% { transform: scaleY(1); }
}


/* 22. OPPORTUNITY INTRO + PHONE MOCKUP ----------------------- */
.opportunity__intro {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}
@media (min-width: 860px) {
  .opportunity__intro {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2.5rem, 5vw, 5rem);
  }
}
.opportunity__intro .section__head { margin: 0; }

.phone-shot {
  margin: 0 auto;
  max-width: 290px;
  perspective: 1600px;
}
@media (min-width: 860px) { .phone-shot { max-width: 330px; } }

/* inner wrapper carries the gentle float so it never clashes with the
   entrance reveal (figure) or the static tilt (img) */
.phone-shot__inner { display: block; }
.phone-shot img {
  display: block;
  width: 100%;
  height: auto;
  transform: rotateY(-12deg) rotateX(4deg) rotate(-2deg);
  transform-origin: center;
  /* one of the few shadows on the site, to sell the 3D tilt */
  filter: drop-shadow(0 32px 45px rgba(26, 16, 11, 0.42));
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.phone-shot:hover img,
.phone-shot:focus-within img { transform: rotateY(0) rotateX(0) rotate(0); }

@media (prefers-reduced-motion: no-preference) {
  .phone-shot__inner { animation: phone-float 7s ease-in-out infinite; }
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}


/* 23. FORM ROW + BUTTON SHEEN (nods to the reference form) ---- */
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 560px) {
  .form__row { grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
}
.form .btn { position: relative; overflow: hidden; }
.form .btn::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0;
  transition: opacity 400ms ease;
}
.form .btn:hover::after,
.form .btn:focus-visible::after { opacity: 1; }


/* 24. STAGGERED LIST REVEALS (comparison columns) ------------ */
@media (prefers-reduced-motion: no-preference) {
  .compare li {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .compare.is-in li { opacity: 1; transform: none; }
  .compare.is-in li:nth-child(1) { transition-delay: 120ms; }
  .compare.is-in li:nth-child(2) { transition-delay: 230ms; }
  .compare.is-in li:nth-child(3) { transition-delay: 340ms; }
  .compare.is-in li:nth-child(4) { transition-delay: 450ms; }
}
