/* ============================================================
   alirko.com — Built with intention.
   Design system + motion
   ============================================================ */

:root {
  /* Brand */
  --purple: #8B5CF6;
  --purple-600: #7C3AED;
  --purple-700: #6D28D9;
  --purple-300: #C4B5FD;
  --ink: #1A1728;
  --ink-2: #120F1C;
  --ink-soft: #2A2638;

  /* Light surfaces */
  --white: #FFFFFF;
  --paper: #FAF9FF;
  --lav-50: #F4F1FE;
  --lav-100: #EDE9FE;
  --line: rgba(26, 23, 40, 0.10);
  --line-2: rgba(26, 23, 40, 0.06);

  /* Text */
  --text: #1A1728;
  --text-2: #5C566B;
  --text-3: #8E889C;
  --text-on-dark: #FFFFFF;
  --text-on-dark-2: rgba(255, 255, 255, 0.62);

  /* Type */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.8s;

  /* Layout */
  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-lg: 26px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; width: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--purple); color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(80px, 12vw, 160px); position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--purple-700);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px; background: var(--purple);
  display: inline-block; border-radius: 2px;
}
.eyebrow.on-dark { color: var(--purple-300); }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.022em; line-height: 1.04; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }

/* ============================================================
   Custom cursor (desktop only)
   ============================================================ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  border-radius: 50%; translate: -50% -50%; will-change: transform;
  opacity: 0; transition: opacity .4s ease;
}
.cursor-dot { width: 7px; height: 7px; background: var(--purple); }
.cursor-ring {
  width: 38px; height: 38px; border: 1.5px solid rgba(139,92,246,0.55);
  transition: width .35s var(--ease), height .35s var(--ease),
              background .35s var(--ease), border-color .35s var(--ease), opacity .4s ease;
}
body.cursor-ready .cursor-dot, body.cursor-ready .cursor-ring { opacity: 1; }
.cursor-ring.is-hover {
  width: 64px; height: 64px; background: rgba(139,92,246,0.10); border-color: transparent;
}
.cursor-dot.is-hover { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none !important; } }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 26px; border-radius: 100px; font-weight: 500; font-size: 15.5px;
  letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease, color .3s ease;
  will-change: transform;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 1px 2px rgba(26,23,40,.2), 0 12px 30px -12px rgba(26,23,40,.5);
}
.btn-primary:hover { box-shadow: 0 1px 2px rgba(26,23,40,.2), 0 20px 44px -14px rgba(124,58,237,.6); }
.btn-purple {
  background: var(--purple); color: #fff;
  box-shadow: 0 1px 2px rgba(124,58,237,.3), 0 14px 34px -12px rgba(124,58,237,.7);
}
.btn-purple:hover { background: var(--purple-600); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.22); }
.btn-ghost.on-dark:hover { border-color: rgba(255,255,255,.7); }
.btn-lg { padding: 18px 32px; font-size: 16.5px; }

/* ============================================================
   Logo lockup
   ============================================================ */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo .mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--purple);
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 4px 14px -4px rgba(124,58,237,.6);
}
.logo .mark svg { width: 15px; height: 17px; }
.logo .word {
  font-weight: 600; font-style: italic; font-size: 23px; letter-spacing: -0.03em; color: var(--ink);
}
.logo.on-dark .word { color: #fff; }
.logo.lg .mark { width: 52px; height: 52px; border-radius: 15px; }
.logo.lg .mark svg { width: 26px; height: 30px; }
.logo.lg .word { font-size: 40px; }

/* ============================================================
   Header / Nav
   ============================================================ */
.progress { position: fixed; top: 0; left: 0; height: 2.5px; width: 0%; z-index: 1000;
  background: linear-gradient(90deg, var(--purple), var(--purple-700)); }
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: transform .5s var(--ease), background .4s ease, border-color .4s ease, backdrop-filter .4s ease;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(255,255,255,0.72); backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom-color: var(--line-2);
}
header.hide { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; font-weight: 450; color: var(--text-2); position: relative; transition: color .25s ease; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0;
  background: var(--purple); transition: width .35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line);
  align-items: center; justify-content: center; }
.menu-btn span { display: block; width: 18px; height: 1.6px; background: var(--ink); position: relative; transition: .3s var(--ease); }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.6px; background: var(--ink); transition: .3s var(--ease); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
body.menu-open .menu-btn span { background: transparent; }
body.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
body.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 800; background: var(--white);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: var(--pad); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a { font-size: clamp(34px, 9vw, 56px); font-weight: 600; letter-spacing: -0.03em;
  color: var(--ink); padding-block: 8px; transform: translateY(16px); opacity: 0; transition: .6s var(--ease); }
body.menu-open .mobile-menu a { transform: translateY(0); opacity: 1; }
body.menu-open .mobile-menu a:nth-child(1){transition-delay:.08s}
body.menu-open .mobile-menu a:nth-child(2){transition-delay:.14s}
body.menu-open .mobile-menu a:nth-child(3){transition-delay:.2s}
body.menu-open .mobile-menu a:nth-child(4){transition-delay:.26s}
body.menu-open .mobile-menu a:nth-child(5){transition-delay:.32s}
.mobile-menu .serif { color: var(--purple-700); }

/* Mobile nav: hide desktop links, reveal hamburger */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-right .btn-primary { display: none; }
  .menu-btn { display: flex; }
  .nav { height: 66px; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: 120px; padding-bottom: 60px; overflow: hidden; }
.aurora { position: absolute; inset: -20% -10% auto -10%; height: 130%; z-index: 0; pointer-events: none; filter: blur(60px); opacity: .9; }
.aurora i { position: absolute; border-radius: 50%; display: block; will-change: transform; }
.aurora .b1 { width: 46vw; height: 46vw; left: 8%; top: -6%; background: radial-gradient(circle, rgba(139,92,246,.55), transparent 65%); animation: drift1 18s var(--ease) infinite alternate; }
.aurora .b2 { width: 40vw; height: 40vw; right: 4%; top: 8%; background: radial-gradient(circle, rgba(196,181,253,.6), transparent 65%); animation: drift2 22s var(--ease) infinite alternate; }
.aurora .b3 { width: 34vw; height: 34vw; left: 32%; top: 30%; background: radial-gradient(circle, rgba(124,58,237,.35), transparent 65%); animation: drift3 26s var(--ease) infinite alternate; }
@keyframes drift1 { to { transform: translate(8%, 10%) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-10%, 6%) scale(1.08); } }
@keyframes drift3 { to { transform: translate(6%, -8%) scale(1.15); } }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; margin: 0 auto; max-width: 940px; }
.hero .logo.lg { margin-bottom: 34px; opacity: 0; transform: translateY(18px); }
.hero h1 { font-size: clamp(40px, 7.2vw, 84px); letter-spacing: -0.035em; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); }
.hero .sub { margin: 26px auto 0; max-width: 580px; font-size: clamp(17px, 2.2vw, 20px);
  color: var(--text-2); opacity: 0; transform: translateY(14px); }
.hero .cta-row { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  opacity: 0; transform: translateY(14px); }
.hero .micro { margin-top: 22px; font-size: 13.5px; color: var(--text-3); opacity: 0; }

body.loaded .hero .logo.lg { opacity: 1; transform: none; transition: .9s var(--ease) .1s; }
body.loaded .hero h1 .line > span { transform: none; transition: transform 1s var(--ease); }
body.loaded .hero h1 .line:nth-child(1) > span { transition-delay: .28s; }
body.loaded .hero h1 .line:nth-child(2) > span { transition-delay: .40s; }
body.loaded .hero h1 .line:nth-child(3) > span { transition-delay: .52s; }
body.loaded .hero .sub { opacity: 1; transform: none; transition: .9s var(--ease) .7s; }
body.loaded .hero .cta-row { opacity: 1; transform: none; transition: .9s var(--ease) .82s; }
body.loaded .hero .micro { opacity: 1; transition: .9s ease .95s; }

.scroll-cue { position: absolute; bottom: 30px; left: 50%; translate: -50% 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
body.loaded .scroll-cue { opacity: 1; transition: opacity 1s ease 1.2s; }
.scroll-cue .bar { width: 1.5px; height: 40px; background: linear-gradient(var(--purple), transparent); position: relative; overflow: hidden; }
.scroll-cue .bar::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%;
  background: var(--purple); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(250%); } }
/* On phones the hero fills the screen and the cue collides with the micro line — drop it */
@media (max-width: 760px) {
  .scroll-cue { display: none; }
  .hero { padding-bottom: 48px; }
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee { border-block: 1px solid var(--line-2); padding-block: 20px; overflow: hidden; background: var(--white); }
.marquee-track { display: flex; width: max-content; animation: scrollx 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-set { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-2); white-space: nowrap; }
.mq-set .cur { width: 12px; height: 14px; flex-shrink: 0; fill: var(--purple); opacity: 0.9; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ============================================================
   Reveal animation
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(34px); filter: blur(10px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }
[data-reveal="scale"] { transform: translateY(34px) scale(.96); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
/* On phones, slide vertically instead of horizontally so reveals never push page width */
@media (max-width: 760px) {
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(30px); }
}
/* parallax layers move via JS transform — keep them off the will-change critical path */
[data-parallax] { will-change: transform; }

/* ============================================================
   Section heading block
   ============================================================ */
.head { max-width: 720px; }
.head.center { margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(32px, 5vw, 56px); margin-top: 20px; }
.head p { margin-top: 22px; font-size: clamp(17px,2vw,19px); color: var(--text-2); }

/* ============================================================
   Intro / philosophy
   ============================================================ */
.intro h2 { font-size: clamp(28px, 4.4vw, 50px); max-width: 18ch; line-height: 1.12; }
.intro .lede { font-size: clamp(22px, 3.2vw, 34px); font-weight: 450; letter-spacing: -0.02em; max-width: 900px; line-height: 1.28; }
.intro .lede em { font-family: var(--serif); font-style: italic; color: var(--purple-700); }
.premium-note { margin-top: 28px; max-width: 620px; font-size: 17.5px; color: var(--text-2); line-height: 1.6; }
.premium-note strong { color: var(--ink); font-weight: 600; }

/* Proof stats */
.stats { display: flex; flex-wrap: wrap; gap: clamp(30px, 6vw, 80px);
  margin-top: 64px; border-top: 1px solid var(--line); padding-top: 46px; }
.stat { flex: 1; min-width: 200px; }
.stat-num { font-size: clamp(40px, 6vw, 64px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.stat-label { color: var(--text-2); margin-top: 8px; max-width: 18ch; }
@media (max-width: 760px) {
  .stats { gap: 22px; margin-top: 48px; }
  .stat { flex: 1 1 100%; display: flex; align-items: center; gap: 18px; }
  .stat-num { font-size: 38px; flex: 0 0 108px; }
  .stat-label { margin-top: 0; max-width: none; font-size: 15px; }
}

/* ============================================================
   Work / portfolio
   ============================================================ */
.work-grid { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 64px; }
.work-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--white); overflow: hidden; transform-style: preserve-3d;
  transition: box-shadow .5s var(--ease), transform .2s ease, border-color .4s ease;
  box-shadow: 0 1px 2px rgba(26,23,40,.04);
}
.work-card:hover { box-shadow: 0 40px 80px -40px rgba(26,23,40,.45); border-color: transparent; }
.work-card .browser {
  background: linear-gradient(180deg, var(--lav-50), var(--white));
  padding: 14px 16px 0; transform: translateZ(40px);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser-bar .url { margin-left: 12px; font-size: 12px; color: var(--text-3);
  background: var(--white); border: 1px solid var(--line-2); border-radius: 7px; padding: 5px 12px; }
.shot { aspect-ratio: 16/10.2; border-radius: 12px 12px 0 0; overflow: hidden; position: relative;
  border: 1px solid var(--line-2); border-bottom: none; }
.shot .scene { position: absolute; inset: 0; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.work-meta { padding: 26px 30px 30px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.work-meta h3 { font-size: 24px; }
.work-meta .tag { font-size: 13px; color: var(--text-3); margin-top: 6px; }
.work-meta .visit { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500;
  color: var(--purple-700); white-space: nowrap; }
.work-meta .visit svg { transition: transform .35s var(--ease); }
.work-card:hover .visit svg { transform: translate(3px,-3px); }

@media (min-width: 860px) {
  .work-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .work-card.feature { grid-column: 1 / -1; }
  .work-card.feature .work-meta { padding: 32px 40px 38px; }
  .work-card.feature .shot { aspect-ratio: 21/8; }
}

/* Portfolio mini "scenes" (CSS-drawn site previews) */
.scene { font-family: var(--sans); color: #fff; }
.scene-jten { background: linear-gradient(135deg, #14532d, #1d8a4e 60%, #34d27f); }
.scene-hope { background: linear-gradient(135deg, #1e1b4b, #4338ca 55%, #818cf8); }
.scene-idc  { background: linear-gradient(135deg, #0f172a, #334155 55%, #64748b); }
.scene .s-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; font-size: 12px; }
.scene .s-nav b { font-weight: 600; letter-spacing: -.01em; font-size: 14px; }
.scene .s-nav .s-links { display: flex; gap: 14px; opacity: .82; }
.scene .s-hero { padding: 4% 22px 0; }
.scene .s-hero h4 { font-size: clamp(20px, 3.2vw, 34px); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; max-width: 14ch; }
.scene .s-hero p { font-size: 12.5px; opacity: .85; margin-top: 10px; max-width: 30ch; }
.scene .s-pill { display: inline-block; margin-top: 16px; background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3); padding: 8px 16px; border-radius: 100px; font-size: 12px; font-weight: 500; }
.scene .s-cards { display: flex; gap: 10px; padding: 18px 22px 0; }
.scene .s-cards div { flex: 1; height: 46px; border-radius: 9px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); }

/* ============================================================
   Services
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 1px; margin-top: 60px;
  background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc { background: var(--white); padding: 38px 34px; transition: background .4s ease; position: relative; }
.svc:hover { background: var(--lav-50); }
.svc .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--lav-100); color: var(--purple-700);
  display: grid; place-items: center; margin-bottom: 22px; transition: .4s var(--ease); }
.svc:hover .ic { background: var(--purple); color: #fff; transform: translateY(-3px); }
.svc .ic svg { width: 22px; height: 22px; }
.svc h3 { font-size: 19px; }
.svc p { margin-top: 11px; font-size: 15.5px; color: var(--text-2); line-height: 1.62; }

/* ============================================================
   Pricing
   ============================================================ */
.pricing { background: var(--ink); color: #fff; border-radius: clamp(24px, 4vw, 44px);
  margin-inline: var(--pad); padding-block: clamp(70px, 9vw, 120px); position: relative; overflow: hidden; }
/* On phones, drop the outer card framing so it reads as a dark section, not a card-in-a-card */
@media (max-width: 760px) {
  .pricing { margin-inline: 0; border-radius: 0; padding-block: 64px; }
}
.pricing .glow { position: absolute; width: 60vw; height: 60vw; right: -15%; top: -25%;
  background: radial-gradient(circle, rgba(139,92,246,.45), transparent 60%); filter: blur(40px); pointer-events: none; }
.pricing .wrap { position: relative; z-index: 2; }
.price-layout { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 60px; align-items: stretch; }
@media (min-width: 920px) { .price-layout { grid-template-columns: 1.15fr 1fr; gap: 36px; } }
.price-main, .price-side { border-radius: var(--radius-lg); padding: 42px 40px; }
.price-main { background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12); position: relative; }
.price-main .badge { position: absolute; top: 28px; right: 28px; font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--purple-300);
  border: 1px solid rgba(196,181,253,.3); padding: 6px 13px; border-radius: 100px; }
.price-main h3 { font-size: 24px; }
.price-main .price { font-size: clamp(54px, 9vw, 80px); font-weight: 600; letter-spacing: -.04em; margin-top: 22px; line-height: 1; }
.price-main .price span { font-size: 20px; font-weight: 400; color: var(--text-on-dark-2); letter-spacing: 0; }
.price-main .terms { color: var(--text-on-dark-2); margin-top: 12px; font-size: 15px; }
.feat { margin-top: 30px; display: grid; gap: 14px; }
.feat li { list-style: none; display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: rgba(255,255,255,.86); }
.feat li .ck { flex-shrink: 0; width: 21px; height: 21px; border-radius: 50%; background: var(--purple);
  display: grid; place-items: center; margin-top: 1px; }
.feat li .ck svg { width: 11px; height: 11px; }
.price-side { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; }
.price-side h4 { font-size: 15px; color: var(--text-on-dark-2); font-weight: 500; letter-spacing: .02em; }
.addon { display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.addon:last-of-type { border-bottom: none; }
.addon .n { font-size: 17px; font-weight: 500; }
.addon .n small { display: block; font-size: 13.5px; color: var(--text-on-dark-2); font-weight: 400; margin-top: 3px; }
.addon .p { font-size: 20px; font-weight: 600; white-space: nowrap; color: var(--purple-300); }
.price-side .btn { margin-top: auto; width: 100%; justify-content: center; }

/* ---- Tiers ---- */
.tiers { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 56px; }
@media (min-width: 860px) { .tiers { grid-template-columns: 1fr 1fr; gap: 26px; } }
.tier {
  position: relative; border-radius: var(--radius-lg); padding: 40px 36px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.11);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), border-color .45s ease, background .45s ease, box-shadow .5s var(--ease);
}
.tier:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.2); }
.tier.featured {
  background: linear-gradient(165deg, rgba(139,92,246,.22), rgba(255,255,255,.03));
  border-color: rgba(196,181,253,.55);
  box-shadow: 0 44px 100px -54px rgba(139,92,246,.95);
}
.tier .badge {
  position: absolute; top: -13px; left: 36px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--purple);
  padding: 6px 14px; border-radius: 100px; box-shadow: 0 10px 24px -8px rgba(139,92,246,.95);
}
.tier-head h3 { font-size: 23px; color: #fff; }
.tier-for { color: var(--text-on-dark-2); font-size: 14.5px; margin-top: 7px; }
.tier .price { font-size: clamp(46px, 8vw, 64px); font-weight: 600; letter-spacing: -.04em;
  color: #fff; margin-top: 24px; line-height: 1; }
.tier .price span { font-size: 17px; font-weight: 400; color: var(--text-on-dark-2); letter-spacing: 0; }
.tier .terms { color: var(--text-on-dark-2); font-size: 14px; margin-top: 11px; }
.tier .feat { margin-top: 28px; margin-bottom: 32px; }
.tier .feat li b { color: #fff; font-weight: 600; }
.tier .btn { margin-top: auto; width: 100%; justify-content: center; }

/* ---- Add-ons strip ---- */
.addons-label { margin-top: 40px; margin-bottom: 14px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-on-dark-2); }
.addons-strip {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 760px) { .addons-strip { grid-template-columns: repeat(3, 1fr); } }
.addon-card { background: rgba(255,255,255,.035); padding: 24px 28px 26px;
  display: flex; flex-direction: column; gap: 5px; transition: background .4s ease; }
.addon-card:hover { background: rgba(255,255,255,.08); }
.atag { align-self: flex-start; font-size: 10.5px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--purple-300); border: 1px solid rgba(196,181,253,.35);
  padding: 4px 10px; border-radius: 100px; margin-bottom: 12px; }
.atag.req { color: #fff; background: rgba(255,255,255,.12); border-color: transparent; }
.addon-card .n { font-size: 17px; font-weight: 500; color: #fff; }
.addon-card small { color: var(--text-on-dark-2); font-size: 13.5px; }
.addon-card .p { margin-top: 12px; font-size: 25px; font-weight: 600; color: var(--purple-300); }
.addon-card .p span { font-size: 14px; font-weight: 400; color: var(--text-on-dark-2); }

/* ============================================================
   Process
   ============================================================ */
.steps { margin-top: 64px; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 28px; padding-block: 36px;
  border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .no { font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--purple); line-height: 1; min-width: 64px; }
.step .st-body h3 { font-size: clamp(22px, 3vw, 30px); }
.step .st-body p { margin-top: 12px; color: var(--text-2); max-width: 60ch; font-size: 16.5px; }
.step:hover .no { transform: translateX(6px); transition: transform .4s var(--ease); }
@media (min-width: 760px) { .step { grid-template-columns: 90px 1fr; gap: 40px; } .step .no { font-size: 54px; } }

/* ============================================================
   About
   ============================================================ */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.05fr .95fr; gap: 70px; } }
.about h2 { font-size: clamp(30px, 4.6vw, 50px); }
.about p { margin-top: 22px; color: var(--text-2); font-size: 17.5px; line-height: 1.7; max-width: 52ch; }
.about .sig { margin-top: 30px; font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--ink); }
.name-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white);
  padding: 44px 40px; box-shadow: 0 30px 70px -50px rgba(26,23,40,.4); }
.name-card .nc-eyebrow { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.principles { list-style: none; margin-top: 24px; display: grid; gap: 20px; }
.principles li { display: flex; gap: 14px; align-items: flex-start; }
.pr-ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--lav-100);
  color: var(--purple-700); display: grid; place-items: center; margin-top: 1px; }
.pr-ic svg { width: 13px; height: 13px; }
.principles b { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.principles small { display: block; font-size: 14px; color: var(--text-2); margin-top: 3px; line-height: 1.5; }
.blend { margin-top: 26px; display: grid; gap: 14px; }
.blend-row { display: flex; align-items: center; gap: 18px; }
.blend-row .chip { font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.blend-row .chip b { color: var(--purple-700); }
.blend-row .who { font-size: 14px; color: var(--text-3); }
.blend .equals { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line-2);
  display: flex; align-items: center; gap: 14px; }
.blend .equals .logo .word { font-size: 30px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin: 56px auto 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; text-align: left; font-size: clamp(17px, 2.2vw, 20px); font-weight: 500;
  color: var(--ink); letter-spacing: -0.01em; transition: color .25s ease; }
.faq-q:hover { color: var(--purple-700); }
.faq-ic { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--purple-700); transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease); }
.faq-ic svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.faq-item.open .faq-ic { background: var(--purple); border-color: var(--purple); color: #fff; }
.faq-item.open .faq-ic svg { transform: rotate(135deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { padding: 0 4px 26px; color: var(--text-2); font-size: 16.5px; line-height: 1.66; max-width: 66ch; }
.faq-a-inner p strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   CTA + contact
   ============================================================ */
.cta { text-align: center; }
.cta h2 { font-size: clamp(38px, 6.5vw, 78px); letter-spacing: -.035em; max-width: 16ch; margin-inline: auto; }
.cta h2 em { font-family: var(--serif); font-style: italic; color: var(--purple-700); }
.cta p { margin-top: 24px; color: var(--text-2); font-size: 19px; max-width: 46ch; margin-inline: auto; }
.contact-form { margin: 50px auto 0; max-width: 560px; text-align: left; display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--text-2); letter-spacing: .01em; }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  padding: 15px 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--white);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(139,92,246,.14); }
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.contact-form .btn { justify-content: center; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--text-3); text-align: center; margin-top: 4px; }
.field-label { font-size: 13.5px; font-weight: 500; color: var(--text-2); letter-spacing: .01em; }
.req-star { color: var(--purple); }
.opt-note { color: var(--text-3); font-weight: 400; }

/* Honeypot — visually & assistively hidden */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Website yes/no choice */
.choice { display: flex; gap: 12px; flex-wrap: wrap; }
.opt { flex: 1; min-width: 200px; display: inline-flex; align-items: center; gap: 11px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 13px; padding: 14px 16px; font-size: 15px; color: var(--text);
  transition: border-color .25s ease, background .25s ease; }
.opt:hover { border-color: var(--purple-300); }
.opt:has(input:checked) { border-color: var(--purple); background: var(--lav-50); }
.opt input[type="radio"] { width: 18px; height: 18px; min-width: 18px; padding: 0; margin: 0; border-radius: 50%;
  accent-color: var(--purple); box-shadow: none; }
.opt input[type="radio"]:focus { box-shadow: none; }

/* Human check */
.human-err { color: #C0392B; font-size: 13px; margin-top: 2px; }

/* ============================================================
   Redesign / before–after
   ============================================================ */
.redesign { background: var(--paper); }
.redesign-price { margin-top: 16px; font-size: 16px; color: var(--text-2); }
.redesign-price strong { color: var(--purple-700); font-weight: 600; }
.ba { margin-top: 56px; display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; justify-items: center; }
@media (min-width: 820px) { .ba { grid-template-columns: 1fr auto 1fr; gap: 22px; } }
.ba-item { position: relative; width: 100%; max-width: 460px; margin: 0; }
.ba-tag { display: inline-block; margin: 0 0 12px 2px; font-size: 11px; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; }
.ba-tag.before { background: var(--lav-100); color: var(--text-2); }
.ba-tag.after { background: var(--purple); color: #fff; box-shadow: 0 8px 20px -8px rgba(139,92,246,.8); }
.mini { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 11;
  box-shadow: 0 34px 70px -44px rgba(26,23,40,.45); }
.mini.old { background: #fff; border: 1px solid var(--line); font-family: "Times New Roman", Times, serif; }
.old-bar { background: #2c3e6b; color: #c9d4e8; font-weight: 700; font-size: 15px; padding: 11px 14px; }
.old-nav { background: #e6e8ee; color: #1a5edb; font-size: 11.5px; padding: 6px 14px; text-decoration: underline; }
.old-body { padding: 16px; }
.old-img { background: repeating-linear-gradient(45deg, #ececec, #ececec 9px, #dedede 9px, #dedede 18px);
  color: #9a9a9a; font-size: 11px; height: 78px; display: grid; place-items: center; border: 1px solid #ccc; margin-bottom: 12px; }
.old-body p { font-size: 12.5px; color: #444; line-height: 1.45; }
.mini.new { border: 1px solid var(--line); }
.mini.new .scene { height: 100%; }
.ba-arrow { width: 46px; height: 46px; border-radius: 50%; background: var(--white); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--purple); flex-shrink: 0; }
.ba-arrow svg { width: 20px; height: 20px; }
@media (max-width: 819px) { .ba-arrow { transform: rotate(90deg); } }

/* ============================================================
   Footer
   ============================================================ */
footer { background: var(--ink); color: #fff; padding-block: 70px 40px; }
.foot-top { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 800px) { .foot-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; } }
.foot-brand p { margin-top: 20px; color: var(--text-on-dark-2); max-width: 34ch; font-size: 15.5px; }
.foot-col h5 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-on-dark-2); font-weight: 600; }
.foot-col a, .foot-col span { display: block; margin-top: 14px; color: rgba(255,255,255,.8); font-size: 15.5px; transition: color .25s ease; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  padding-top: 30px; font-size: 14px; color: var(--text-on-dark-2); }
.foot-bottom .made em { font-family: var(--serif); font-style: italic; color: var(--purple-300); }

/* ============================================================
   Touch / mobile motion — richer feel where there's no hover
   ============================================================ */
@media (hover: none) {
  /* Tap feedback */
  .btn:active { transform: scale(.955); }
  .work-card:active { transform: scale(.985); }
  .svc:active { background: var(--lav-50); }
  .tier:active { transform: scale(.99); }
  .addon-card:active { background: rgba(255,255,255,.08); }
  .nav-links a:active, .foot-col a:active { opacity: .6; }

  /* Previews breathe gently since they can't be tilted */
  .work-card .browser { animation: floaty 7s var(--ease) infinite alternate; }
  .work-card:nth-child(2) .browser { animation-delay: -2.3s; }
  .work-card:nth-child(3) .browser { animation-delay: -4.6s; }
  .scene .s-pill { animation: pulseGlow 3.4s var(--ease) infinite; }

  /* Service icons settle in with a soft pop as they reveal */
  .svc.is-in .ic { animation: popIn .7s var(--ease) both; }
}
@keyframes floaty { to { transform: translateY(-9px); } }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.16); }
  50% { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}
@keyframes popIn { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* Tier cards lift on entrance for a touch of drama on every device */
.tier { transform-origin: center bottom; }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .aurora i, .scroll-cue .bar::after, .marquee-track,
  .work-card .browser, .scene .s-pill, .svc .ic { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  [data-parallax] { transform: none !important; }
  .hero-inner { transform: none !important; opacity: 1 !important; }
  body.loaded .hero h1 .line > span { transform: none !important; }
  .hero .logo.lg, .hero .sub, .hero .cta-row, .hero .micro { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Theme toggle button
   ============================================================ */
.theme-toggle { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--text-2);
  transition: color .25s ease, border-color .25s ease; flex-shrink: 0; }
.theme-toggle:hover { color: var(--ink); border-color: var(--text-3); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .t-sun { display: none; }
html[data-theme="dark"] .theme-toggle .t-moon { display: none; }
html[data-theme="dark"] .theme-toggle .t-sun { display: block; }

/* ============================================================
   Dark mode — variable overrides + the few surfaces that need care
   ============================================================ */
html[data-theme="dark"] {
  --white: #1B1726;
  --paper: #110D18;
  --lav-50: #221C32;
  --lav-100: #2C2544;
  --line: rgba(255,255,255,0.12);
  --line-2: rgba(255,255,255,0.07);
  --text: #ECE9F5;
  --text-2: #ABA4BD;
  --text-3: #837B97;
  --ink: #ECE9F5;
  --purple-700: #C4B5FD;
  --purple-600: #A78BFA;
}
html[data-theme="dark"] body { background: var(--paper); }
html[data-theme="dark"] .marquee { background: var(--paper); }
html[data-theme="dark"] header.scrolled { background: rgba(17,13,24,0.74); border-bottom-color: var(--line-2); }
html[data-theme="dark"] .btn-primary { background: var(--purple); color: #fff;
  box-shadow: 0 1px 2px rgba(124,58,237,.3), 0 14px 34px -14px rgba(124,58,237,.7); }
html[data-theme="dark"] .btn-primary:hover { background: var(--purple-600); }
html[data-theme="dark"] .pricing { background: #16121F; border: 1px solid var(--line); }
html[data-theme="dark"] footer { background: #0B0812; }
