/* ============================================================
   AI Visual Lab — design system
   Bold & pop · light · Armenian
   ============================================================ */

:root {
  /* Brand palette (from user assets) */
  --violet:       #7C5CFF;
  --violet-deep:  #5B3DF5;
  --violet-700:   #4827C9;
  --violet-200:   #C9BCFF;
  --violet-100:   #E7E0FF;
  --violet-50:    #F3EFFF;

  --ink:          #141021;
  --ink-70:       #423B5C;
  --ink-50:       #6B6485;
  --line:         #E8E4F5;

  --paper:        #FFFFFF;
  --paper-2:      #F6F3FF;

  /* Type */
  --font-display: 'Noto Sans Armenian', system-ui, sans-serif;
  --font-body:    'Noto Sans Armenian', system-ui, sans-serif;
  --font-serif:   'Noto Serif Armenian', Georgia, serif;
  --font-mono:    'Noto Sans Mono', ui-monospace, monospace;

  /* Fluid type scale */
  --t-mega:   clamp(2.6rem, 5.6vw, 6rem);
  --t-h1:     clamp(2.6rem, 5.5vw, 4.6rem);
  --t-h2:     clamp(2rem, 3.6vw, 3.2rem);
  --t-h3:     clamp(1.3rem, 1.7vw, 1.6rem);
  --t-lead:   clamp(1.1rem, 1.5vw, 1.45rem);
  --t-body:   clamp(1rem, 1.15vw, 1.15rem);
  --t-small:  0.95rem;
  --t-micro:  0.78rem;

  /* Spacing */
  --section-y: clamp(3rem, 5.5vw, 5.5rem);
  --container: 1240px;
  --gutter:    clamp(1.25rem, 4vw, 4rem);
  --radius:    26px;
  --radius-sm: 16px;

  --shadow:    0 24px 60px -28px rgba(40, 18, 120, 0.35);
  --shadow-sm: 0 12px 30px -16px rgba(40, 18, 120, 0.28);
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

section { position: relative; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-deep);
  background: var(--violet-50);
  border: 1px solid var(--violet-100);
  padding: 0.5em 0.9em;
  border-radius: 100px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; letter-spacing: -0.02em; font-weight: 900; }
.section-title { font-size: var(--t-h2); font-weight: 900; }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lead { font-size: var(--t-lead); color: var(--ink-70); margin-top: 1.1rem; line-height: 1.5; }

.text-violet { color: var(--violet-deep); }

/* Squiggle underline using brand asset color (hand stroke) */
.scribble { position: relative; display: inline-block; white-space: nowrap; }
.scribble svg {
  position: absolute;
  left: -2%;
  bottom: -0.32em;
  width: 104%;
  height: 0.5em;
  overflow: visible;
  pointer-events: none;
}
.scribble svg path {
  fill: none;
  stroke: var(--violet);
  stroke-width: 10;
  stroke-linecap: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--t-body);
  padding: 0.95em 1.6em;
  border-radius: 100px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 14px 30px -12px rgba(124,92,255,.7); }
.btn-primary:hover { background: var(--violet-deep); transform: translateY(-3px); box-shadow: 0 20px 38px -12px rgba(124,92,255,.8); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--violet-deep); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 1.1em 2em; font-size: var(--t-lead); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 1.1rem 0;
}
.nav.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 0.7rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.brand .mark img { width: 100%; height: 100%; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-weight: 800; font-size: var(--t-small); color: var(--ink-70); transition: color .15s; text-transform: uppercase; letter-spacing: .06em; }
.nav-links a:hover { color: var(--violet-deep); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(6.5rem, 11vh, 8.5rem); padding-bottom: var(--section-y); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 0.9fr 1.2fr; gap: clamp(1.25rem, 3vw, 3rem); align-items: center; }

.hero h1 { font-size: var(--t-mega); margin: 1.4rem 0 0.6rem; }
.hero h1 .line { display: block; }
.hero-slogan {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 20ch;
  margin-bottom: 1.2rem;
}
.hero-lead { font-size: var(--t-lead); color: var(--ink-70); max-width: 36ch; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: nowrap; gap: 1rem; margin-top: 2.2rem; }
@media (max-width: 560px) { .hero-actions { flex-wrap: wrap; } }
.hero-meta { display: flex; align-items: center; gap: 0.7rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-meta .hm-item {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(.95rem, 1.1vw, 1.1rem); color: var(--violet-deep);
  background: var(--violet-50); border: 1px solid var(--violet-100);
  padding: .65em 1.2em; border-radius: 100px;
}
.hero-meta .hm-item::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); flex: none; }
.hero-meta .hm-date { background: var(--violet); color: #fff; border-color: var(--violet); box-shadow: 0 12px 26px -12px rgba(124,92,255,.85); }
.hero-meta .hm-date::before { background: #fff; }

/* Hero visual collage */
.hero-visual { position: relative; aspect-ratio: 1 / 1.05; }
.hero-star {
  position: absolute; top: -8%; right: -10%; width: 60%;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(124,92,255,.35));
}
.hero-card {
  position: absolute; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--paper-2);
}
.hero-card.a { width: 46%; left: 0; top: 0; aspect-ratio: 714/1280; animation: float 8s ease-in-out infinite; }
.hero-card.b { width: 60%; right: 0; bottom: 0; aspect-ratio: 1031/1280; animation: float 9s ease-in-out infinite reverse; }
.hero-card image-slot { width: 100%; height: 100%; display: block; }
.hero-blob {
  position: absolute; z-index: -1; width: 120%; height: 120%;
  left: -10%; top: -10%; border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(124,92,255,.28), transparent 60%);
  filter: blur(10px);
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(-1.5deg); } }

/* decorative waves behind hero */
.hero-waves {
  position: absolute; right: -6%; top: 4%; width: 46%; max-width: 560px;
  opacity: .5; z-index: -1; pointer-events: none;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; max-width: 380px; margin-inline: auto; }
}

/* ============================================================
   TOOLS MARQUEE
   ============================================================ */
.marquee-wrap { padding: 2.8rem 0; border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.marquee-label { text-align: center; font-family: var(--font-mono); font-size: var(--t-small); letter-spacing: 0.22em; text-transform: uppercase; color: var(--violet-deep); margin-bottom: 1.8rem; }
.marquee { display: flex; gap: 4rem; width: max-content; animation: scroll-x 26s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 3.6vw, 3.1rem); color: var(--ink); opacity: .92; white-space: nowrap; transition: opacity .2s, color .2s; letter-spacing: -0.01em; }
.marquee span:hover { opacity: 1; color: var(--violet-deep); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================
   MODULES
   ============================================================ */
.modules { padding-block: var(--section-y); }
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.module-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.9rem 2.1rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.module-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--violet-100); }
.module-num { font-family: var(--font-mono); font-size: var(--t-small); color: var(--violet); font-weight: 600; }
.module-card h3 { font-size: var(--t-h3); margin: 1.4rem 0 0.7rem; }
.module-card p { color: var(--ink-70); font-size: var(--t-body); line-height: 1.55; }
.module-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--violet-50); display: grid; place-items: center; margin-top: 1.2rem; }
.module-ic svg { width: 26px; height: 26px; stroke: var(--violet-deep); stroke-width: 2; fill: none; }

@media (max-width: 920px) { .modules-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .modules-grid { grid-template-columns: 1fr; } }

/* "What you get" — pillar points */
.m-points { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-top: 1.4rem; }
.m-points li { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--t-small); color: var(--ink-70); line-height: 1.45; }
.m-points li::before { content: "→"; color: var(--violet); font-weight: 800; flex: none; }

/* ============================================================
   METHOD (phases)
   ============================================================ */
.method { padding-block: var(--section-y); background: var(--paper-2); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.phase-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.9rem 2.1rem; position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.phase-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--violet-100); }
.phase-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.phase-num { font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; line-height: 1; letter-spacing: -.03em; color: var(--violet); }
.phase-week { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: .1em; text-transform: uppercase; color: var(--violet-deep); background: var(--violet-50); border: 1px solid var(--violet-100); padding: .45em .85em; border-radius: 100px; white-space: nowrap; }
.phase-card h3 { font-size: var(--t-h3); margin-bottom: .6rem; }
.phase-card p { color: var(--ink-70); font-size: var(--t-small); line-height: 1.55; }
.phase-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.phase-tags span { font-family: var(--font-mono); font-size: var(--t-micro); color: var(--ink-70); background: var(--violet-50); border: 1px solid var(--violet-100); padding: .4em .7em; border-radius: 9px; }
@media (max-width: 900px) { .method-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ============================================================
   STATS BAND (violet, full-bleed)
   ============================================================ */
.stats {
  background: linear-gradient(135deg, var(--violet-deep), var(--violet) 55%, #9a82ff);
  color: #fff; padding-block: clamp(2.4rem, 4vw, 3.6rem); overflow: clip; position: relative;
}
.stats .squig { position: absolute; right: 2%; top: 50%; transform: translateY(-50%); width: 22%; opacity: .3; overflow: visible; }
.stats .squig path { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; position: relative; }
.stat .num { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.stat .lbl { font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 600; opacity: .95; margin-top: 0.65rem; line-height: 1.35; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2,1fr); gap: 2.5rem 1rem; } }

/* ============================================================
   AUDIENCE
   ============================================================ */
.audience { padding-block: var(--section-y); background: var(--paper-2); }
.aud-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.1rem; }
.aud-card { background: #fff; border-radius: var(--radius-sm); padding: 1.8rem 1.6rem; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.aud-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.aud-card .em { font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: var(--violet); }
.aud-card h3 { font-size: var(--t-h3); margin: 0.9rem 0 0.5rem; }
.aud-card p { color: var(--ink-70); font-size: var(--t-small); }
@media (max-width: 900px) { .aud-grid { grid-template-columns: repeat(2,1fr); } }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { padding-block: var(--section-y); }
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
/* Collapsible — shows ~2-3 rows, "see more" expands the rest */
.gallery-collapse { position: relative; max-height: 720px; overflow: hidden; transition: max-height .45s ease; }
.gallery-collapse::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
  background: linear-gradient(rgba(255,255,255,0), var(--paper)); pointer-events: none;
  transition: opacity .3s ease;
}
.gallery.expanded .gallery-collapse { max-height: 6000px; }
.gallery.expanded .gallery-collapse::after { opacity: 0; }
.gallery-actions { text-align: center; margin-top: 1.6rem; }

/* Masonry — images shown in full (natural aspect), no cropping.
   column-width keeps each image to a compact target size and stays responsive. */
.gallery-grid { columns: 165px; column-gap: .8rem; }
image-slot::part(frame) { background: linear-gradient(140deg, #ece6ff, #f6f3ff); }
.g-item { break-inside: avoid; margin-bottom: 1rem; display: block; }
.g-item img { width: 100%; height: auto; display: block; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); background: var(--paper-2); }
.g-cap { display: block; font-family: var(--font-mono); font-size: var(--t-micro); color: var(--ink-50); margin-top: .5rem; letter-spacing: .04em; }

/* ============================================================
   COLLABORATIONS
   ============================================================ */
.collabs { padding-block: var(--section-y); }
/* Carousel — 3 cards at a time, scroll to browse */
.collabs-carousel { position: relative; }
.carousel-track {
  display: flex; gap: 1rem; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
/* Fixed height, natural width → each photo shown ENTIRELY (no cropping) */
.collab-card {
  flex: 0 0 auto; height: clamp(300px, 40vw, 460px); scroll-snap-align: start;
  border-radius: var(--radius-sm); overflow: hidden;
  background: var(--paper-2); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.collab-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.collab-card img { height: 100%; width: auto; display: block; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 52px; height: 52px; border-radius: 50%; background: #fff;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  font-size: 1.9rem; line-height: 1; color: var(--violet-deep);
  display: grid; place-items: center; cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
}
.carousel-arrow:hover { background: var(--violet); color: #fff; transform: translateY(-50%) scale(1.06); }
.carousel-arrow.prev { left: -16px; }
.carousel-arrow.next { right: -16px; }
.collabs-actions { text-align: center; margin-top: 2.2rem; }

/* "See all" → masonry of every collab, full images */
.collabs.show-all .carousel-track { display: block; columns: 220px; column-gap: 1rem; overflow: visible; padding: 0; }
.collabs.show-all .collab-card { height: auto; break-inside: avoid; margin-bottom: 1rem; width: 100%; }
.collabs.show-all .collab-card img { height: auto; width: 100%; }
.collabs.show-all .carousel-arrow { display: none; }

@media (max-width: 540px) { .carousel-arrow.prev { left: 0; } .carousel-arrow.next { right: 0; } }

/* ============================================================
   INSTRUCTOR
   ============================================================ */
.mentor { padding-block: var(--section-y); background: var(--paper-2); overflow: clip; }
.mentor-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.mentor-photo { position: relative; }
.mentor-photo { max-width: 380px; }
.mentor-photo image-slot { width: 100%; height: auto; aspect-ratio: 669 / 1200; box-shadow: var(--shadow); }
.mentor-photo .badge {
  position: absolute; bottom: -22px; right: -10px; background: var(--violet);
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: var(--t-small);
  padding: .9rem 1.3rem; border-radius: 100px; box-shadow: var(--shadow-sm); white-space: nowrap;
}
.mentor-body .eyebrow { margin-bottom: 1.2rem; }
.mentor-body h2 { font-size: var(--t-h2); margin-bottom: .4rem; }
.mentor-role { font-family: var(--font-mono); font-size: var(--t-small); color: var(--violet-deep); margin-bottom: 1.4rem; }
.mentor-body p { color: var(--ink-70); font-size: var(--t-body); line-height: 1.65; max-width: 56ch; }
.mentor-creds { display: flex; gap: 2.4rem; margin-top: 2rem; flex-wrap: wrap; }
.mentor-creds .c .n { font-family: var(--font-display); font-weight: 900; font-size: 1.8rem; color: var(--ink); }
.mentor-creds .c .t { font-size: var(--t-small); color: var(--ink-50); }
@media (max-width: 820px) { .mentor-grid { grid-template-columns: 1fr; } .mentor-photo { width: 100%; max-width: 260px; margin-inline: auto; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi { padding-block: var(--section-y); }
/* Horizontal carousel — one row, scroll with arrows */
.testi-carousel { position: relative; }
.testi-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.9rem; display: flex; flex-direction: column; gap: 1.3rem; transition: transform .2s, box-shadow .2s; }
.carousel-track .testi-card { flex: 0 0 clamp(280px, 84vw, 360px); scroll-snap-align: start; }
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi-card .stars { color: var(--violet); letter-spacing: .15em; font-size: 1.1rem; }
.testi-card blockquote { font-family: var(--font-serif); font-size: 1.18rem; line-height: 1.55; color: var(--ink); }
.testi-who { display: flex; align-items: center; gap: .85rem; margin-top: auto; }
.testi-who image-slot, .testi-who .av { width: 46px; height: 46px; border-radius: 50%; flex: none; }
.testi-who .av-initial {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--violet-100); color: var(--violet-deep);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: .01em;
}
.testi-who .av-photo { width: 46px; height: 46px; border-radius: 50%; flex: none; object-fit: cover; object-position: 50% 50%; display: block; }
.testi-who .nm { font-weight: 700; font-size: var(--t-small); }
.testi-who .rl { font-size: var(--t-micro); color: var(--ink-50); font-family: var(--font-mono); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding-block: var(--section-y); background: var(--paper-2); }
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; align-items: stretch; }
.price-grid-2 { grid-template-columns: repeat(2,1fr); max-width: 820px; margin-inline: auto; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.3rem 2rem; display: flex; flex-direction: column; gap: 1.2rem; position: relative; transition: transform .2s, box-shadow .2s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.price-card.featured { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.03); box-shadow: var(--shadow); }
.price-card.featured:hover { transform: scale(1.03) translateY(-6px); }
.price-card.featured .ptier, .price-card.featured .pdesc { color: var(--violet-200); }
.ptag { position: absolute; top: 1.4rem; right: 1.4rem; background: var(--violet); color: #fff; font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: .1em; text-transform: uppercase; padding: .35em .8em; border-radius: 100px; }
.ptier { font-family: var(--font-mono); font-size: var(--t-small); letter-spacing: .12em; text-transform: uppercase; color: var(--violet-deep); }
.price-block { display: flex; flex-direction: column; gap: .15rem; }
.price-early { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0; text-transform: uppercase; color: var(--violet-deep); font-weight: 800; white-space: nowrap; }
.price-was { font-family: var(--font-mono); font-size: var(--t-small); color: var(--ink-50); text-decoration: line-through; }
.price-card.featured .price-early, .price-card.featured .price-was { color: var(--violet-200); }
.pprice { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.4rem,4vw,3rem); line-height: 1; }
.pprice small { font-size: 1rem; font-weight: 600; color: var(--ink-50); }
.price-card.featured .pprice small { color: var(--violet-200); }
.pdesc { font-size: var(--t-small); color: var(--ink-70); }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: .75rem; margin: .4rem 0; }
.price-card li { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--t-small); }
.price-card li::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 2px; border-radius: 50%; background: var(--violet-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B3DF5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }
.price-card.featured li::before { background-color: rgba(255,255,255,.12); }
.price-card .btn { margin-top: auto; justify-content: center; }
@media (max-width: 1120px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } .price-card.featured { transform: none; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding-block: var(--section-y); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: .8rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--paper); transition: border-color .2s; }
.faq-item[open] { border-color: var(--violet-100); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.3rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--font-display); font-weight: 700; font-size: var(--t-h3); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus { width: 26px; height: 26px; flex: none; position: relative; }
.faq-item .plus::before, .faq-item .plus::after { content: ""; position: absolute; background: var(--violet-deep); border-radius: 2px; transition: transform .25s; }
.faq-item .plus::before { width: 16px; height: 3px; top: 11.5px; left: 5px; }
.faq-item .plus::after { width: 3px; height: 16px; top: 5px; left: 11.5px; }
.faq-item[open] .plus::after { transform: scaleY(0); }
.faq-item .ans { padding: 0 1.5rem 1.4rem; color: var(--ink-70); font-size: var(--t-body); line-height: 1.6; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } }

/* ============================================================
   QUIZ BANNER
   ============================================================ */
.quiz { padding-block: var(--section-y); }
.quiz-box {
  display: grid; grid-template-columns: clamp(260px, 27vw, 360px) 1fr; align-items: stretch;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.quiz-photo { position: relative; background: var(--paper-2); min-height: 0; align-self: stretch; }
/* full image — natural height, the photo sets the banner height, no cropping */
.quiz-photo img { width: 100%; height: auto; display: block; }
.quiz-panel {
  background: linear-gradient(150deg, var(--violet-deep), var(--violet) 60%, #9d86ff);
  color: #fff; padding: clamp(1.8rem, 3.5vw, 3.5rem);
  display: flex; flex-direction: column; gap: 1.4rem;
}
.quiz-badge {
  align-self: flex-start; font-family: var(--font-mono); font-size: var(--t-micro);
  letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.55); border-radius: 100px; padding: .55em 1.05em;
}
.quiz-body { margin-top: auto; }
.quiz-panel h2 { font-size: var(--t-h1); line-height: 1.0; text-transform: uppercase; margin-bottom: 1rem; }
.quiz-panel p { font-size: var(--t-lead); line-height: 1.45; opacity: .94; max-width: 34ch; }
.quiz-btn { justify-content: center; width: 100%; margin-top: .4rem; }
@media (max-width: 820px) {
  .quiz-box { grid-template-columns: 1fr; }
  .quiz-panel { gap: 1.1rem; }
  .quiz-body { margin-top: 1.2rem; }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final { padding-block: var(--section-y); }
.cta-box {
  background: linear-gradient(140deg, var(--violet-deep), var(--violet) 60%, #9d86ff);
  border-radius: clamp(28px, 4vw, 48px); color: #fff; text-align: center;
  padding: clamp(3.5rem,7vw,6rem) var(--gutter); position: relative; overflow: hidden;
}
.cta-box .star { position: absolute; width: 28%; opacity: .9; }
.cta-box .star.s1 { top: -12%; left: -5%; mix-blend-mode: multiply; opacity: .35; }
.cta-box .star.s2 { bottom: -18%; right: -5%; mix-blend-mode: multiply; opacity: .35; }
.cta-box h2 { font-size: var(--t-h1); position: relative; }
.cta-box p { font-size: var(--t-lead); opacity: .9; max-width: 46ch; margin: 1.2rem auto 2.2rem; position: relative; }
.cta-form { display: flex; gap: .7rem; max-width: 480px; margin-inline: auto; position: relative; flex-wrap: wrap; }
.cta-form input {
  flex: 1; min-width: 220px; font-family: var(--font-body); font-size: var(--t-body);
  padding: 1.05em 1.3em; border-radius: 100px; border: none; background: rgba(255,255,255,.95); color: var(--ink);
}
.cta-form input::placeholder { color: var(--ink-50); }
.cta-form input:focus { outline: 3px solid rgba(255,255,255,.5); }
.cta-note { font-family: var(--font-mono); font-size: var(--t-micro); opacity: .8; margin-top: 1.2rem; position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding-block: clamp(3rem,5vw,4.5rem) 2.5rem; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer .brand { font-size: 1.4rem; margin-bottom: 1rem; }
.footer-col h4 { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-50); margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--ink-70); font-size: var(--t-small); padding: .35rem 0; transition: color .15s; }
.footer-col a:hover { color: var(--violet-deep); }
.footer-about { color: var(--ink-70); font-size: var(--t-small); max-width: 34ch; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: var(--t-micro); color: var(--ink-50); font-family: var(--font-mono); flex-wrap: wrap; }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 1; }
.js .reveal { opacity: 1; }
.js .reveal.in { animation-name: revealUp; animation-duration: .7s; animation-timing-function: cubic-bezier(.2,.7,.2,1); animation-fill-mode: both; }
@keyframes revealUp { from { transform: translateY(20px); } to { transform: none; } }
.reveal.d1 { animation-delay: .08s; }
.reveal.d2 { animation-delay: .16s; }
.reveal.d3 { animation-delay: .24s; }
.reveal.d4 { animation-delay: .32s; }
.reveal.d5 { animation-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .js .reveal, .js .reveal.in { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero-star, .hero-card, .marquee { animation: none !important; }
  .scribble svg path { stroke-dashoffset: 0; }
}

/* ============================================================
   QUIZ MODAL — one question at a time, progress bar, result
   ============================================================ */
.quiz-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: clamp(0.8rem, 3vw, 2rem); }
.quiz-modal[hidden] { display: none; }
body.qm-open { overflow: hidden; }

.qm-backdrop { position: absolute; inset: 0; background: rgba(20, 16, 33, 0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: qmFade .25s ease both; }

.qm-dialog {
  position: relative; width: 100%; max-width: 680px; max-height: 92vh; overflow-y: auto;
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3.5vw, 2.6rem); animation: qmPop .32s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes qmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes qmPop { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

/* Header: progress bar + step counter + close */
.qm-head { display: flex; align-items: center; gap: 1rem; margin-bottom: clamp(1.4rem, 3vw, 2rem); }
.qm-progress { flex: 1; height: 8px; border-radius: 100px; background: var(--violet-100); overflow: hidden; }
.qm-progress span { display: block; height: 100%; width: 0; border-radius: 100px; background: linear-gradient(90deg, var(--violet), var(--violet-deep)); transition: width .4s cubic-bezier(.2,.7,.2,1); }
.qm-meta { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.qm-step { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: .1em; color: var(--ink-50); text-transform: uppercase; white-space: nowrap; }
.qm-close { width: 38px; height: 38px; border-radius: 50%; font-size: 1.5rem; line-height: 1; color: var(--ink-70); background: var(--paper-2); display: grid; place-items: center; transition: background .15s, color .15s, transform .15s; }
.qm-close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }

/* Question */
.qm-q { animation: qmSlide .32s cubic-bezier(.2,.7,.2,1) both; }
@keyframes qmSlide { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.qm-q-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.18; margin-bottom: clamp(1.2rem, 2.5vw, 1.8rem); }
.qm-options { display: flex; flex-direction: column; gap: .7rem; }
.qm-option {
  display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left;
  padding: clamp(.95rem, 2vw, 1.2rem) clamp(1rem, 2vw, 1.3rem);
  border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
  font-family: var(--font-body); font-size: var(--t-body); font-weight: 500; line-height: 1.4; color: var(--ink);
  transition: border-color .15s, background .15s, transform .12s, box-shadow .15s;
}
.qm-option .qm-mark { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--violet-200); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: .85rem; color: var(--violet-deep); transition: background .15s, color .15s, border-color .15s; }
.qm-option:hover { border-color: var(--violet); background: var(--violet-50); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.qm-option:hover .qm-mark { background: var(--violet); color: #fff; border-color: var(--violet); }
.qm-option.is-picked { border-color: var(--violet-deep); background: var(--violet-100); }
.qm-option.is-picked .qm-mark { background: var(--violet-deep); color: #fff; border-color: var(--violet-deep); }

/* Result */
.qm-result { text-align: center; animation: qmPop .4s cubic-bezier(.2,.7,.2,1) both; }
.qm-result-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-50); margin-bottom: 1rem; }
.qm-result-eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--r-accent, var(--violet)); }
.qm-persona { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.08; color: var(--r-accent, var(--violet-deep)); }
.qm-persona-sub { font-family: var(--font-mono); font-size: var(--t-small); color: var(--ink-50); margin-top: .35rem; }
.qm-desc { font-size: var(--t-body); line-height: 1.6; color: var(--ink-70); margin: 1.4rem auto 0; max-width: 52ch; }
.qm-gap { text-align: left; margin: 1.5rem 0 1.8rem; padding: clamp(1.1rem, 2.5vw, 1.5rem); border-radius: var(--radius-sm); background: var(--paper-2); border-left: 4px solid var(--r-accent, var(--violet)); }
.qm-gap-label { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-display); font-weight: 900; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--r-accent, var(--violet-deep)); margin-bottom: .55rem; }
.qm-gap p { font-size: var(--t-small); line-height: 1.55; color: var(--ink-70); }
.qm-cta { width: 100%; justify-content: center; white-space: normal; text-align: center; line-height: 1.22; }
.qm-restart { display: inline-block; margin-top: 1.1rem; font-size: var(--t-small); font-weight: 600; color: var(--ink-50); text-decoration: underline; text-underline-offset: 3px; background: none; }
.qm-restart:hover { color: var(--ink); }

/* Result accents */
.qm-result.r-1 { --r-accent: #E23B5A; }
.qm-result.r-2 { --r-accent: #E0A100; }
.qm-result.r-3 { --r-accent: var(--violet-deep); }

@media (max-width: 560px) {
  .qm-dialog { border-radius: 22px; }
  .qm-option { gap: .7rem; }
}
