/* ==========================================================================
   REPWRK 2.0 — Graphite & Specular design system
   Expensive · Restrained · Modern. Colour, buttons and motion layer only.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  /* Aliased to the legacy token names used throughout this file, so the
     rest of the stylesheet below doesn't need touching section by section. */
  --ink:          #0A0B0D;   /* --void: page background */
  --void:         #000000;   /* deepest emphasis section background (pacing device) */
  --off-white:    #E6E8EB;   /* --chrome: primary text, primary button fill */
  --grey:         #7C828C;   /* --pewter: secondary text, captions */

  --alt-bg:       #17191D;   /* --graphite: alternate section background */
  --surface:      #17191D;   /* --graphite: card surface */
  --surface-2:    #22252B;   /* --slate: hover / elevated surface, input backgrounds */
  --border:       rgba(230,232,235,0.14);   /* --hair */
  --border-strong:rgba(230,232,235,0.32);
  --grey-light:   #9CA2AC;

  /* Functional only — form validation, never decorative */
  --valid:        #4E9E7A;
  --invalid:      #C4564B;
  --error:        var(--invalid);
  --accent:       var(--off-white); /* legacy alias: active/selected states use chrome, not a hue */
  --accent-dim:   rgba(230,232,235,0.06);
  --accent-border:var(--border-strong);

  /* The specular treatment — this replaces an accent colour.
     Used only on: one headline word per section, the primary button's
     1px border, and the active step indicator in How It Works / Apply. */
  --specular: linear-gradient(105deg, #8E949E 0%, #FFFFFF 42%, #6F7681 58%, #C9CDD3 100%);

  --radius:       0px;
  --radius-lg:    0px;
  --radius-pill:  999px;

  --font: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.18s var(--ease-out-expo);

  --ease-out-expo:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out-quad:     cubic-bezier(0.5, 1, 0.89, 1);
}

/* ─── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; overflow-x: hidden; } /* Lenis owns smooth scroll; native anchor jumps stay instant so Lenis can animate them */
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
h1,h2,h3,h4,h5 {
  font-family: var(--heading);
  color: var(--off-white);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--heading); }

/* Small uppercase/tracked UI labels read as structural "headers" too,
   not body prose -- keep them on the heading family for a cohesive feel. */
.section-label, .package-tag, .package-subtitle, .modal-tag, .step-panel-tag,
.result-tag, .form-field label, .nav-link, .mobile-link,
.faq-question {
  font-family: var(--heading);
}
:focus-visible { outline: 2px solid var(--off-white); outline-offset: 3px; }

/* ─── Layout ────────────────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ─── Navbar ─────────────────────────────────────────────────── */
.navbar {
  background: var(--ink);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}
.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand-logo {
  font-family: var(--heading);
  font-style: normal;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  background: var(--specular);
  background-size: 180% 100%;
  background-position: 0% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.nav-links { display: flex; gap: 2.25rem; list-style: none; }
.nav-link {
  position: relative;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--off-white);
  padding-bottom: 3px;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px;
  background: var(--grey); transform: scaleX(0); transform-origin: left;
  transition: transform 400ms var(--ease-out-expo);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link:not(:hover)::after { transform-origin: right; transition-duration: 250ms; transition-timing-function: var(--ease-out-quad); }
.nav-right { display: flex; align-items: center; gap: 0.85rem; }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  height: 60px;
  padding: 0 40px;
  border-radius: 0;
  border: 1px solid transparent;
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  box-shadow: none;
  white-space: nowrap;
  transition: color 250ms var(--ease-out-expo), border-color 250ms var(--ease-out-expo);
}
.btn i { transition: transform 400ms var(--ease-out-expo); }
.btn:hover i.fa-arrow-right { transform: translateX(5px); }
.btn:active { transform: scale(0.985); transition: transform 90ms; }
.btn:focus-visible { outline: 2px solid var(--off-white); outline-offset: 3px; }
.btn[disabled] { opacity: 0.32; pointer-events: none; transition: none; }

.btn-primary,
.btn-buy,
.btn-gold {
  background: var(--off-white);
  color: var(--ink);
  border-color: transparent;
}
/* Specular border is a rare highlight, not the default — reserved for one
   flagship CTA so the "under five instances in a full scroll" rule holds. */
.btn-specular {
  background:
    linear-gradient(var(--off-white), var(--off-white)) padding-box,
    var(--specular) border-box;
  border: 1px solid transparent;
}
.btn-primary::before,
.btn-buy::before,
.btn-gold::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--void);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 250ms var(--ease-out-quad);
}
.btn-primary:hover,
.btn-buy:hover,
.btn-gold:hover { color: var(--off-white); }
.btn-primary:hover::before,
.btn-buy:hover::before,
.btn-gold:hover::before {
  transform: scaleY(1);
  transition: transform 420ms var(--ease-in-out-quart);
}

.btn-ghost,
.btn-outline {
  background: transparent;
  color: var(--off-white);
  border: 1px solid var(--border);
}
.btn-ghost:hover,
.btn-outline:hover { border-color: rgba(230,232,235,0.5); background: rgba(230,232,235,0.04); }

.btn-sm { height: 48px; padding: 0 24px; font-size: 11px; }
.btn-lg { height: 64px; padding: 0 48px; }

@media (max-width: 768px) {
  .btn {
    height: auto;
    min-height: 54px;
    padding: 14px 22px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
  .btn-lg { min-height: 58px; padding: 16px 26px; }
}

/* Cart icon */
.cart-icon-btn {
  background: transparent;
  border: 1.5px solid var(--border-strong);
  color: var(--off-white);
  height: 38px;
  padding: 0 1rem;
  border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  cursor: pointer; position: relative;
  transition: all var(--transition);
  font-family: var(--heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cart-icon-btn:hover { border-color: var(--accent); background: var(--accent-dim); }
.cart-badge {
  position: static;
  background: var(--accent); color: var(--off-white);
  font-size: 0.62rem; font-weight: 900;
  min-width: 16px; height: 16px; padding: 0 3px; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px;
  background: transparent; border: 1.5px solid var(--border-strong);
  border-radius: 50%; cursor: pointer;
}
.hamburger span { width: 14px; height: 2px; background: var(--off-white); margin: 0 auto; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--ink);
  border-bottom: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}
.mobile-menu.open { max-height: 500px; }
.mobile-link {
  padding: 1rem 1.75rem;
  font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
  border-bottom: 1px solid var(--border);
  color: var(--off-white);
}

/* ─── Badges / Tags ──────────────────────────────────────────── */
.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--off-white);
  font-size: 0.75rem; font-weight: 700;
  border-radius: var(--radius-pill);
}
.pill-dark { background: var(--void); color: var(--off-white); border-color: var(--border); }
.pill-accent { background: var(--accent); color: var(--off-white); border-color: var(--accent); }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  background: var(--ink);
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
/* Ambient radial light sweep — barely perceptible, transform/opacity only, disabled under reduced motion */
.hero-sweep {
  position: absolute; top: -10%; left: -10%; width: 60%; height: 70%; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 900px 500px at 30% 30%, rgba(230,232,235,0.06), transparent 60%);
  transform-origin: 20% 20%;
  animation: heroSweep 12s ease-in-out infinite;
}
@keyframes heroSweep {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate(3%, 2%) scale(1.06); opacity: 1; }
}
.hero-section > .container { position: relative; z-index: 1; }
.hero-trust { display: flex; gap: 0.75rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.trust-badge {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.95rem;
  font-size: 0.75rem; font-weight: 700;
  color: var(--off-white);
}
.trust-badge i { color: var(--accent); }
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 800;
  font-style: normal;
  line-height: 1.12;
  color: var(--off-white);
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  text-transform: none;
}
.hero-title .line-wrap:not(:last-child) { margin-bottom: 0.12em; }
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--grey);
  margin-bottom: 2.25rem;
  max-width: 520px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

/* ─── Generic Section ─────────────────────────────────────────── */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--alt-bg); }
.section-white { background: var(--ink); }
.section-ink { background: var(--void); }
.section-ink .label { color: var(--accent); }
.section-secondary { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }

.section-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  display: block;
  margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--off-white);
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--grey);
  max-width: 600px;
  line-height: 1.7;
}
.section-head { margin-bottom: 3rem; }
.section-head-center { text-align: center; }
.section-head-center .section-subtitle { margin: 0 auto; }

/* ─── Packages ────────────────────────────────────────────────── */
.package-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.packages-help {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  flex-wrap: wrap; text-align: center;
  margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--border);
}
.packages-help p { font-size: 0.95rem; color: var(--grey); font-weight: 600; }
.package-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 1px solid var(--border-strong);
  border-radius: 0;
  padding: 1.85rem 1.6rem 1.6rem;
  display: flex; flex-direction: column;
  transition: border-color 250ms var(--ease-out-expo), background 250ms var(--ease-out-expo);
}
.package-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.package-tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem; }
.package-title { font-size: 1.15rem; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 0.6rem; }
.package-subtitle { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey); margin-top: -0.35rem; margin-bottom: 0.85rem; }
.package-desc { font-size: 0.83rem; color: var(--grey); line-height: 1.6; flex-grow: 1; margin-bottom: 1.4rem; }
.package-price-row { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.package-price { font-size: 1.55rem; font-weight: 900; color: var(--off-white); letter-spacing: -0.02em; }
.package-unit { font-size: 0.76rem; color: var(--grey); font-weight: 600; }

/* Two stacked price tiers (e.g. 1:1 vs Group) in place of the single price row */
.package-price-tiers { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.package-price-tier { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.package-tier-label { font-size: 0.78rem; color: var(--grey); font-weight: 600; }
.package-tier-price { display: flex; align-items: baseline; gap: 0.3rem; flex-shrink: 0; }
.package-price-tier .package-price { font-size: 1.15rem; }

.btn-buy { width: 100%; }

/* ─── Method Steps ───────────────────────────────────────────── */
.steps-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.steps-sticky { position: sticky; top: 90px; }
.steps-list { display: flex; flex-direction: column; }
.step-item {
  display: flex; gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.step-item:last-child { border-bottom: none; }
.step-item.active .step-num { background: var(--specular); color: var(--void); border-color: transparent; }
.step-item.active .step-content h3 { color: var(--accent); }
.step-num {
  width: 42px; height: 42px; flex-shrink: 0;
  background: transparent; border: 1.5px solid var(--border-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 800; color: var(--grey);
  transition: all var(--transition);
}
.step-content h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; margin-bottom: 0.3rem; letter-spacing: -0.01em; transition: color var(--transition); }
.step-content p { font-size: 0.85rem; color: var(--grey); line-height: 1.6; }
.step-panel {
  background: var(--surface); color: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: sticky; top: 90px;
}
.step-panel-tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.step-panel h4 { font-size: 1.5rem; color: var(--off-white); text-transform: uppercase; margin-bottom: 1.25rem; }
.step-checklist { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.step-checklist li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.88rem; color: var(--off-white);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.step-checklist li:last-child { border: none; }
.step-checklist .dot {
  width: 8px; height: 8px; flex-shrink: 0;
  border-radius: 50%; background: var(--accent);
}

/* ─── Results / Case Studies ────────────────────────────────── */
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.25rem; }
.result-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 0; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 250ms var(--ease-out-expo);
}
.result-card:hover { border-color: var(--border-strong); }
.result-img {
  height: 190px; background: var(--void);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; text-align: center; padding: 1rem;
}
.result-body { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; gap: 0.65rem; }
.result-tag { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.result-goal { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; }
.result-meta { font-size: 0.82rem; color: var(--grey); line-height: 1.6; }
.result-quote { font-size: 0.85rem; color: var(--off-white); font-style: italic; border-left: 2px solid var(--accent); padding-left: 0.85rem; margin-top: 0.3rem; }

/* ─── Before/After Slider ────────────────────────────────────── */
.ba-wrapper { max-width: 100%; }
.ba-slider {
  position: relative; width: 100%; height: 100%;
  min-height: 220px;
  overflow: hidden;
  user-select: none;
}
.ba-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.ba-before { background: repeating-linear-gradient(135deg, #0f0f10, #0f0f10 10px, #17181a 10px, #17181a 20px); display: flex; align-items: center; justify-content: center; color: var(--grey); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; text-align: center; padding: 1rem; }
.ba-after { width: 50%; background: var(--void); overflow: hidden; border-right: 2px solid var(--accent); display:flex; align-items:center; justify-content:center; color: var(--grey); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.ba-handle { position: absolute; top: 0; left: 50%; width: 3px; height: 100%; background: var(--accent); cursor: ew-resize; transform: translateX(-50%); }
.ba-circle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 38px; height: 38px; background: var(--accent); color: var(--off-white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
}

/* ─── About ───────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.about-block h3 { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; margin-bottom: 0.75rem; }
.about-block p { font-size: 0.9rem; color: var(--grey); line-height: 1.75; }
.founder-placeholder {
  margin-top: 2.5rem;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.founder-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--surface); border: 1.5px dashed var(--border-strong);
  flex-shrink: 0;
}
.founder-placeholder p { font-size: 0.85rem; color: var(--grey); }

.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.4rem; color: var(--off-white); }
.input-box {
  width: 100%; padding: 0.7rem 0.9rem;
  background: var(--ink); border: 1.5px solid var(--border);
  border-radius: var(--radius); color: var(--off-white);
  font-family: var(--font); font-size: 0.88rem;
  transition: border-color var(--transition);
}
.input-box:focus { outline: none; border-color: var(--accent); }

/* ─── FAQ Accordion ──────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; padding: 1.35rem 0;
  font-size: 0.95rem; font-weight: 800; color: var(--off-white);
  gap: 1rem; text-transform: uppercase; letter-spacing: -0.01em;
}
.faq-question .faq-icon { font-size: 1.2rem; color: var(--grey); flex-shrink: 0; transition: transform var(--transition), color var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-answer { font-size: 0.875rem; color: var(--grey); line-height: 1.7; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.2s ease; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 1.35rem; }

/* ─── Sticky Mobile CTA bar ───────────────────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--ink); border-top: 1px solid var(--border);
  padding: 0.7rem 1rem; z-index: 150;
  gap: 0.6rem;
}

/* ─── Side Cart ──────────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.65);
  z-index: 200; opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.cart-overlay.show { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; width: 100%; max-width: 400px; height: 100%;
  background: var(--surface); border-left: 1px solid var(--border); z-index: 201;
  transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

/* ─── Modal (kept for potential future use, minimal) ─────────── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  z-index: 300; display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.modal-backdrop.active { opacity: 1; pointer-events: auto; }
.modal-content {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); max-width: 520px; width: 100%;
  padding: 2.25rem; position: relative;
  max-height: 90vh; overflow-y: auto;
}
.modal-close-btn {
  position: absolute; top: 1.1rem; right: 1.1rem;
  background: transparent; border: 1.5px solid var(--border-strong); color: var(--off-white);
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}
.modal-tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem; display: block; }
.modal-title { font-size: 1.5rem; margin-bottom: 1rem; padding-right: 2rem; }
.modal-desc { font-size: 0.92rem; color: var(--grey); line-height: 1.7; margin-bottom: 1.5rem; }
.modal-includes { list-style: none; display: flex; flex-direction: column; gap: 0.1rem; margin-bottom: 1.5rem; }
.modal-includes li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.88rem; color: var(--off-white);
  padding: 0.65rem 0; border-bottom: 1px solid var(--border);
}
.modal-includes li:last-child { border: none; }
.modal-includes .dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--accent); }
.modal-price-row {
  display: flex; align-items: baseline; gap: 0.4rem;
  padding-top: 1.1rem; border-top: 1px solid var(--border); margin-bottom: 1.5rem;
}
.modal-tier-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0; border-top: 1px solid var(--border);
}
.modal-tier-row:last-child { margin-bottom: 1.5rem; }
.modal-tier-info { display: flex; flex-direction: column; gap: 0.2rem; }
.modal-tier-label { font-size: 0.78rem; color: var(--grey); font-weight: 600; }
.modal-tier-row .btn-buy { width: auto; padding: 0 20px; height: 44px; font-size: 11px; }

/* ─── Toast ──────────────────────────────────────────────────── */
.toast-wrap {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 400;
  display: flex; flex-direction: column; gap: 0.65rem;
}
.toast-item {
  background: var(--surface); color: var(--off-white); border: 1px solid var(--border);
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius); font-size: 0.85rem; font-weight: 700;
  display: flex; align-items: center; gap: 0.6rem;
  animation: slideUp 0.28s ease-out;
}
.toast-item i { color: var(--accent); }
@keyframes slideUp { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ─── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--void);
  color: var(--off-white);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand-desc {
  font-size: 0.85rem; color: var(--grey); margin: 0.85rem 0 1.25rem; line-height: 1.7; max-width: 320px;
}
.footer-col h5 { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--off-white); margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.85rem; color: var(--grey); position: relative; transition: color var(--transition); }
.footer-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: var(--grey); transform: scaleX(0); transform-origin: left;
  transition: transform 400ms var(--ease-out-expo);
}
.footer-links a:hover { color: var(--off-white); }
.footer-links a:hover::after { transform: scaleX(1); }
.footer-links a:not(:hover)::after { transform-origin: right; transition-duration: 250ms; transition-timing-function: var(--ease-out-quad); }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.75rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: var(--grey); flex-wrap: wrap; gap: 0.75rem;
}
.footer-bottom a { color: var(--grey); margin-left: 1.25rem; }
.footer-bottom a:hover { color: var(--accent); }

/* ═══════════════════════════════════ MOTION LAYER ═══════════════════════════ */

/* Load curtain — runs once per session, gated by JS via sessionStorage */
.page-curtain {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--void);
  transform: translateY(0%);
  will-change: transform;
}

/* Ambient grain — fixed, inert, extremely low opacity */
.grain-overlay {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* Hero headline — line-by-line clip reveal */
.hero-title .line-wrap { display: block; overflow: hidden; }
.hero-title .line {
  display: block;
  clip-path: inset(100% 0 0 0);
}

/* Section eyebrow — typing cursor */
.type-cursor {
  display: inline-block; width: 0.5em; height: 0.9em;
  background: var(--grey); margin-left: 2px; vertical-align: -0.1em;
  animation: typeBlink 0.5s step-end 4;
}
@keyframes typeBlink { 50% { opacity: 0; } }


/* Magnetic buttons: JS drives transform directly; this just declares the surface */
.btn-primary, .btn-buy { will-change: transform; }

/* ─── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .page-curtain, .hero-sweep, .type-cursor { display: none !important; animation: none !important; }
  .hero-title .line { clip-path: none !important; }
  * { scroll-behavior: auto !important; }
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .package-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  .steps-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .package-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-bottom a { margin-left: 0; margin-right: 1.25rem; }
  .nav-links { display: none; }
  .steps-sticky { position: static; }
  .step-panel { position: static; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .hero-actions .btn-lg { flex: 1; }
  body { padding-bottom: 66px; }
  .mobile-cta-bar { display: flex; }
}


