/*
Theme Name: poppop ai
Theme URI: https://poppop-ai.net/
Author: poppop ai
Description: Neon-tropical landing theme for poppop ai — AI girlfriend chat.
Version: 1.4.0
License: GNU General Public License v2 or later
Text Domain: poppop-ai
*/

/* ---------- tokens ---------- */
:root {
  --ink: #0b0713;
  --ink-2: #130c20;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4eefb;
  --muted: #b6a9c9;
  --pink: #ff3d8b;
  --violet: #a259ff;
  --cyan: #35e6f0;
  --gold: #ffcf6b;
  --grad: linear-gradient(100deg, #ff3d8b 0%, #a259ff 52%, #35e6f0 100%);
  --grad-soft: linear-gradient(160deg, rgba(255, 61, 139, 0.18), rgba(162, 89, 255, 0.1) 60%, rgba(53, 230, 240, 0.12));
  --glow-pink: 0 0 60px rgba(255, 61, 139, 0.45);
  --radius: 22px;
  --radius-lg: 34px;
  --shell: 1180px;
  --font: "Outfit", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Sora", "Outfit", system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 90vh;
  background:
    radial-gradient(45% 45% at 18% 12%, rgba(255, 61, 139, 0.28), transparent 70%),
    radial-gradient(40% 40% at 82% 8%, rgba(162, 89, 255, 0.26), transparent 70%),
    radial-gradient(38% 38% at 50% 40%, rgba(53, 230, 240, 0.14), transparent 72%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

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

h1,
h2 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.6rem);
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
}

p {
  margin: 0 0 1.1em;
  color: var(--muted);
}

strong {
  color: var(--text);
  font-weight: 600;
}

.shell {
  width: min(var(--shell), 92vw);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

section {
  padding: clamp(64px, 8vw, 120px) 0;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(10px);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
    transform: scale(0.7);
  }
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  max-width: 62ch;
}

.center {
  text-align: center;
}

.center .lead {
  margin-inline: auto;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 0;
  position: relative;
  transition: transform 0.25s, box-shadow 0.3s, background 0.3s;
}

.btn-primary {
  background: var(--grad);
  color: #14071a;
  box-shadow: 0 16px 40px rgba(255, 61, 139, 0.35);
}



@keyframes sheen {
  60%,
  100% {
    transform: translateX(120%);
  }
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 60px rgba(255, 61, 139, 0.5);
}

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: var(--surface-2);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 19px 44px;
  font-size: 1.06rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.center .btn-row {
  justify-content: center;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 16px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.site-header.is-stuck {
  background: rgba(11, 7, 19, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line), 0 18px 50px rgba(0, 0, 0, 0.4);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #170a1e;
  font-size: 1.15rem;
  box-shadow: var(--glow-pink);
}

.site-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--muted);
  position: relative;
  transition: color 0.2s;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background: var(--grad);
  transition: width 0.25s;
}

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

.site-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transform: translateX(-50%);
  content: "";
}

.nav-toggle span {
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* ---------- hero ---------- */
.hero {
  padding-top: clamp(30px, 5vw, 60px);
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transform: scale(1.06);
  animation: drift 22s ease-in-out infinite alternate;
}

@keyframes drift {
  to {
    transform: scale(1.14) translate3d(-2%, -1%, 0);
  }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 7, 19, 0.55) 0%, rgba(11, 7, 19, 0.8) 55%, var(--ink) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.hero h1 span {
  display: inline-block;
}

.hero .lead {
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  font-size: 0.88rem;
  color: var(--muted);
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row b {
  color: var(--text);
}

/* phone mock */
.phone {
  position: relative;
  margin-inline: auto;
  width: min(340px, 82vw);
  border-radius: 42px;
  padding: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), var(--glow-pink);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  50% {
    transform: translateY(-14px);
  }
}

.phone-screen {
  border-radius: 32px;
  overflow: hidden;
  background: #170e22;
  position: relative;
}

.phone-screen > img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.phone-chat {
  padding: 14px;
  display: grid;
  gap: 9px;
  background: linear-gradient(180deg, rgba(23, 14, 34, 0.4), #170e22);
}

.bubble {
  max-width: 84%;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  background: var(--surface-2);
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s, transform 0.45s;
}

.bubble.is-in {
  opacity: 1;
  transform: none;
}

.bubble.her {
  border-bottom-left-radius: 6px;
}

.bubble.me {
  margin-left: auto;
  background: var(--grad);
  color: #180a20;
  font-weight: 600;
  border: 0;
  border-bottom-right-radius: 6px;
}

.phone-badge {
  position: absolute;
  left: -22px;
  bottom: -14px;
  padding: 11px 16px;
  border-radius: 16px;
  background: rgba(11, 7, 19, 0.9);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
  animation: float 5s 0.6s ease-in-out infinite;
}

/* ---------- marquee ---------- */
.marquee {
  padding: 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 44px;
  width: max-content;
  padding: 16px 0;
  animation: slide 26s linear infinite;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  color: var(--muted);
  text-transform: uppercase;
}

.marquee-track em {
  color: var(--pink);
  font-style: normal;
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- cards ---------- */
.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--grad-soft), rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 61, 139, 0.25), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  border-color: rgba(255, 61, 139, 0.5);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}

.card:hover::before {
  opacity: 1;
}

.card > * {
  position: relative;
}

.card h2 {
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 0.97rem;
  margin: 0;
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: var(--grad);
  color: #180a20;
  margin-bottom: 18px;
  box-shadow: 0 12px 30px rgba(162, 89, 255, 0.35);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(34px, 4vw, 54px);
}

.center.section-head {
  margin-inline: auto;
}

/* ---------- model gallery ---------- */
.model {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.4s, box-shadow 0.4s;
  transform-style: preserve-3d;
}

.model img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.7s, filter 0.5s;
}

.model:hover img {
  transform: scale(1.07);
  filter: saturate(1.15);
}

.model-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 20px 20px;
  background: linear-gradient(to top, rgba(9, 5, 16, 0.94), rgba(9, 5, 16, 0.45) 55%, transparent);
}

.model-meta h2 {
  font-size: 1.18rem;
  margin-bottom: 4px;
}

.model-meta p {
  font-size: 0.87rem;
  margin: 0 0 12px;
  color: #d6cbe6;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.tag {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(6px);
}

.online {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(9, 5, 16, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.online::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: pulse 2s infinite;
}

.model .btn {
  width: 100%;
  padding: 13px 20px;
  font-size: 0.94rem;
}

/* ---------- steps ---------- */
.step {
  padding-top: 34px;
}

.step-num {
  font-family: var(--display);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

/* ---------- stats ---------- */
.stat {
  text-align: center;
  padding: 30px 18px;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- editorial text blocks ---------- */
.story {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 56px);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(6px);
}

.story-cols {
  columns: 2;
  column-gap: 46px;
}

.story p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 3.1rem;
  font-weight: 800;
  float: left;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pull {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  border-left: 3px solid var(--pink);
  padding-left: 20px;
  margin: 26px 0;
  break-inside: avoid;
}

/* ---------- testimonials ---------- */
.quote {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.quote p {
  color: var(--text);
  font-size: 1rem;
}

.stars {
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.who {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.who i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #180a20;
  font-style: normal;
  font-weight: 800;
}

/* ---------- plans ---------- */
.plan {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.plan.featured {
  border-color: rgba(255, 61, 139, 0.55);
  background: var(--grad-soft), rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 70px rgba(255, 61, 139, 0.22);
}

.price {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 22px;
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}

.plan li::before {
  content: "◆";
  color: var(--pink);
  margin-right: 9px;
  font-size: 0.7rem;
}

.plan .btn {
  margin-top: auto;
}

/* ---------- faq ---------- */
.faq {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.faq-item.is-open {
  border-color: rgba(255, 61, 139, 0.45);
  background: rgba(255, 61, 139, 0.07);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 20px 56px 20px 22px;
  cursor: pointer;
  position: relative;
}

.faq-q::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--pink);
  transition: transform 0.3s;
}

.faq-item.is-open .faq-q::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 22px;
}

.faq-item.is-open .faq-a {
  max-height: 340px;
  padding-bottom: 20px;
}

.faq-a p {
  margin: 0;
  font-size: 0.97rem;
}

/* ---------- big cta ---------- */
.cta-panel {
  border-radius: var(--radius-lg);
  padding: clamp(38px, 6vw, 80px) clamp(24px, 5vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 61, 139, 0.35);
  background: radial-gradient(80% 120% at 50% 0%, rgba(255, 61, 139, 0.3), rgba(162, 89, 255, 0.16) 45%, rgba(11, 7, 19, 0.6) 80%);
  box-shadow: 0 40px 100px rgba(255, 61, 139, 0.2);
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: -110% -10%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 61, 139, 0.18), transparent 40%);
  animation: spin 14s linear infinite;
  pointer-events: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

/* ---------- legal pages ---------- */
.page-hero {
  padding: clamp(56px, 8vw, 110px) 0 clamp(20px, 3vw, 40px);
}

.legal {
  padding-top: 20px;
}

.legal-body {
  max-width: 860px;
  margin-inline: auto;
}

.legal-body ol {
  counter-reset: item;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

.legal-body ol > li {
  counter-increment: item;
  padding: 22px 24px 22px 66px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.legal-body ol > li::before {
  content: counter(item);
  position: absolute;
  left: 20px;
  top: 22px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--grad);
  color: #180a20;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.legal-body ol > li b {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.legal-body ol > li p {
  margin: 0;
  font-size: 0.97rem;
}

.updated {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 34px;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 34px;
}

.footer-grid p {
  font-size: 0.94rem;
  max-width: 42ch;
}

.footer-grid b {
  display: block;
  font-family: var(--display);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--pink);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal][data-delay="1"] {
  transition-delay: 0.09s;
}
[data-reveal][data-delay="2"] {
  transition-delay: 0.18s;
}
[data-reveal][data-delay="3"] {
  transition-delay: 0.27s;
}
[data-reveal][data-delay="4"] {
  transition-delay: 0.36s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .nav-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 4vw;
    right: 4vw;
    padding: 18px;
    border-radius: 20px;
    background: rgba(15, 9, 25, 0.97);
    border: 1px solid var(--line);
    backdrop-filter: blur(18px);
    display: none;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 16px;
  }
  .header-inner .btn {
    display: none;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .story-cols {
    columns: 1;
  }
  .phone-badge {
    left: 0;
  }
  section {
    padding: 54px 0;
  }
}
