/* ==========================================================================
   COROOM — DESIGN TOKENS
   Base identity (ink / paper / blue) stays intact — this pass pushes it into
   "liquid glass" territory: a holographic secondary palette used ONLY for
   the hero shader, border sheens and spotlight glow, never for flat fills.
   ========================================================================== */

:root {
  /* ---- Colour: ink (near-black), paper (off-white), blue (brand) ---- */
  --ink:           #08080b;
  --ink-soft:      #101015;
  --ink-elevated:  #16161d;
  --paper:         #f5f5f3;
  --paper-dim:     rgba(245, 245, 243, 0.66);
  --paper-faint:   rgba(245, 245, 243, 0.38);
  --blue:          #2563ff;
  --blue-soft:     #5c82ff;
  --blue-dim:      rgba(37, 99, 255, 0.16);

  /* ---- Holographic accent — the liquid-glass signature, used sparingly:
     shader palette, border sheens, spotlight glow, focus rings ---- */
  --iris-violet:   #8b6bff;
  --iris-cyan:     #22d3ee;
  --iris-pink:     #ff7ad1;
  --iris-gradient: linear-gradient(115deg, var(--blue-soft), var(--iris-violet) 45%, var(--iris-cyan) 78%, var(--blue-soft));

  /* Glass surfaces — built only from ink/paper at low opacity + blur */
  --glass-fill:    rgba(245, 245, 243, 0.05);
  --glass-fill-hi: rgba(245, 245, 243, 0.09);
  --glass-border:  rgba(245, 245, 243, 0.12);
  --glass-blur:    22px;
  --glass-blur-lg: 34px;

  /* ---- Type families ----
     Display : Cabinet Grotesk — confident, geometric, used with restraint
     Body    : Switzer        — neutral grotesk, built for long-form reading
     Utility : Space Mono     — labels, eyebrows, numerals, anything "data" */
  --font-display: 'Cabinet Grotesk', 'Switzer', sans-serif;
  --font-body:    'Switzer', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, monospace;

  /* ---- Fluid type scale (clamp: min, fluid, max) ---- */
  --text-xs:    clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
  --text-sm:    clamp(0.88rem, 0.82rem + 0.28vw, 1rem);
  --text-base:  clamp(1.02rem, 0.96rem + 0.3vw, 1.15rem);
  --text-lg:    clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem);
  --text-xl:    clamp(1.5rem, 1.28rem + 0.9vw, 1.95rem);
  --text-2xl:   clamp(2.1rem, 1.6rem + 1.9vw, 2.9rem);
  --text-hero:  clamp(2.7rem, 1.9rem + 3.6vw, 5.1rem);

  /* ---- Fluid spacing scale ---- */
  --space-3xs: clamp(0.25rem, 0.22rem + 0.1vw, 0.35rem);
  --space-2xs: clamp(0.55rem, 0.48rem + 0.25vw, 0.7rem);
  --space-xs:  clamp(0.95rem, 0.82rem + 0.5vw, 1.25rem);
  --space-sm:  clamp(1.1rem, 0.95rem + 0.6vw, 1.4rem);
  --space-md:  clamp(1.6rem, 1.35rem + 1vw, 2.2rem);
  --space-lg:  clamp(2.25rem, 1.8rem + 1.8vw, 3.25rem);
  --space-xl:  clamp(3rem, 2.4rem + 2.8vw, 5rem);
  --space-2xl: clamp(4rem, 3rem + 4vw, 6.5rem);

  /* ---- Layout ---- */
  --container-w: min(1240px, 92vw);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur-mid: 420ms;
  --dur-slow: 900ms;

  --angle: 0deg;
}

@property --angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* ==========================================================================
   RESET
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--iris-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: var(--container-w);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: var(--paper);
  padding: var(--space-2xs) var(--space-sm);
  z-index: 300;
}
.skip-link:focus { left: var(--space-sm); top: var(--space-sm); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   CUSTOM CURSOR — a soft glass ring + core, only on pointer-capable devices.
   Native cursor is left alone on touch/keyboard so nothing is ever hidden
   for people who don't have a mouse.
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor { cursor: none; }
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor input,
  body.has-custom-cursor textarea { cursor: none; }
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  pointer-events: none;
  will-change: transform;
}

.cursor--dot {
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: var(--iris-cyan);
  box-shadow: 0 0 6px 1px rgba(34, 211, 238, 0.55);
}

.cursor--ring {
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  transition: width var(--dur-fast) var(--ease-out), height var(--dur-fast) var(--ease-out),
              margin var(--dur-fast) var(--ease-out);
}

.cursor--ring__inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed var(--glass-border);
  animation: cursor-spin 7s linear infinite;
  transition: border-color var(--dur-fast) var(--ease-out), border-style var(--dur-fast) var(--ease-out);
}

@keyframes cursor-spin {
  to { transform: rotate(360deg); }
}

.cursor--ring.is-active {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
}
.cursor--ring.is-active .cursor--ring__inner {
  border-style: solid;
  border-color: var(--iris-cyan);
  animation-duration: 2.2s;
}

/* ==========================================================================
   ATMOSPHERE — subtle grid + noise, behind everything, fixed
   ========================================================================== */

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.atmosphere__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--glass-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.22;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black, transparent 80%);
}

.atmosphere__noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  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");
}

/* ---- Ambient orbs — large, blurred, slow-drifting colour pools ---- */
.atmosphere__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.atmosphere__orb--1 {
  width: clamp(500px, 55vw, 900px);
  height: clamp(500px, 55vw, 900px);
  top: -18%;
  right: -12%;
  background: radial-gradient(circle, rgba(37, 99, 255, 0.16) 0%, transparent 68%);
  animation: orb-drift-a 52s ease-in-out infinite alternate;
}

.atmosphere__orb--2 {
  width: clamp(380px, 40vw, 680px);
  height: clamp(380px, 40vw, 680px);
  bottom: 8%;
  left: -14%;
  background: radial-gradient(circle, rgba(139, 107, 255, 0.11) 0%, transparent 68%);
  animation: orb-drift-b 68s ease-in-out infinite alternate;
}

.atmosphere__orb--3 {
  width: clamp(300px, 32vw, 560px);
  height: clamp(300px, 32vw, 560px);
  top: 42%;
  right: 14%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 68%);
  animation: orb-drift-c 44s ease-in-out infinite alternate;
  animation-delay: -22s;
}

@keyframes orb-drift-a {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-6%, 9%) scale(1.12); }
}
@keyframes orb-drift-b {
  0%   { transform: translate(0, 0) scale(1.05); }
  100% { transform: translate(8%, -7%) scale(0.92); }
}
@keyframes orb-drift-c {
  0%   { transform: translate(0, 0) scale(0.95); }
  100% { transform: translate(-5%, 6%) scale(1.08); }
}

.atmosphere__top-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 400px;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(37, 99, 255, 0.14) 0%, transparent 70%);
  filter: blur(20px);
}

/* ==========================================================================
   TYPOGRAPHY PRIMITIVES
   ========================================================================== */

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-bottom: var(--space-sm);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--iris-cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.16), 0 0 10px 1px rgba(34, 211, 238, 0.5);
  flex-shrink: 0;
  animation: dot-pulse 2.6s var(--ease-in-out) infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

.section-head { max-width: 46rem; margin-bottom: var(--space-md); }
.section-head--left { margin-bottom: 0; }
.section-head__sub {
  margin-top: var(--space-sm);
  color: var(--paper-dim);
  font-size: var(--text-lg);
  max-width: 38rem;
}

/* ==========================================================================
   LIVING GLASS BORDER — a slow-rotating holographic hairline used on the
   nav pill and the primary CTA. One signature detail, reused sparingly
   rather than scattered across every element.
   ========================================================================== */

.glass-edge {
  position: relative;
  isolation: isolate;
}

.glass-edge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle), var(--blue-soft), var(--iris-violet), var(--iris-cyan), var(--blue-soft));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  animation: spin-angle 7s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes spin-angle {
  to { --angle: 360deg; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-pill);
  transition: transform var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.btn--large { font-size: var(--text-base); padding: var(--space-sm) var(--space-lg); }
.btn--small { font-size: var(--text-xs); padding: var(--space-2xs) var(--space-sm); }

.btn--primary {
  background: var(--blue);
  color: var(--paper);
  box-shadow: 0 0 0 0 rgba(139, 107, 255, 0);
}
.btn--primary:hover {
  background: var(--blue-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px -8px rgba(37, 99, 255, 0.55), 0 0 0 1px rgba(139, 107, 255, 0.3);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  color: var(--paper);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}
.btn--ghost:hover {
  border-color: var(--iris-cyan);
  background: var(--glass-fill-hi);
  transform: translateY(-2px);
}
.btn--ghost svg { transition: transform var(--dur-fast) var(--ease-out); }
.btn--ghost:hover svg { transform: translateX(3px); }

/* ==========================================================================
   NAV
   ========================================================================== */

.nav {
  position: fixed;
  top: var(--space-sm);
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-inline: var(--space-sm);
}

.nav__inner {
  width: 100%;
  max-width: 880px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-2xs) var(--space-2xs) var(--space-2xs) var(--space-sm);
  border-radius: var(--radius-pill);
  background: rgba(8, 8, 11, 0.45);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  transition: background var(--dur-mid) var(--ease-out), border-color var(--dur-mid) var(--ease-out);
}

.nav.is-scrolled .nav__inner {
  background: rgba(8, 8, 11, 0.8);
  border-color: var(--glass-border);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  letter-spacing: -0.01em;
}

.nav__logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--text-sm);
  color: var(--paper-dim);
}

.nav__links a { position: relative; transition: color var(--dur-fast) var(--ease-out); }
.nav__links a:hover { color: var(--paper); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--iris-cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-fast) var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta { flex-shrink: 0; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.nav__toggle span {
  width: 16px;
  height: 1.5px;
  background: var(--paper);
  margin-inline: auto;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8, 8, 11, 0.97);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-lg);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-mid) var(--ease-out), transform var(--dur-mid) var(--ease-out);
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu nav { display: flex; flex-direction: column; gap: var(--space-md); }
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
}
.mobile-menu__cta { align-self: flex-start; margin-top: var(--space-sm); }
.mobile-menu__meta {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--paper-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  z-index: 1;
  padding-top: clamp(5.5rem, 4.5rem + 3vw, 8rem);
  padding-bottom: var(--space-lg);
}

.hero__inner {
  width: var(--container-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-hero);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.hero__title-accent {
  background: var(--iris-gradient);
  background-size: 220% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: text-sheen 7s ease-in-out infinite;
}

@keyframes text-sheen {
  0%, 100% { background-position: 0% center; }
  50%      { background-position: 100% center; }
}

.hero__sub {
  margin-top: var(--space-md);
  font-size: var(--text-lg);
  color: var(--paper-dim);
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__visual {
  position: relative;
  height: clamp(340px, 34vw, 520px);
  /* Static fallback gradient shows the instant the page paints, and stays
     visible if WebGL / reduced-motion means the shader never mounts. */
  background:
    radial-gradient(circle at 42% 38%, rgba(139, 107, 255, 0.30), transparent 55%),
    radial-gradient(circle at 62% 60%, rgba(34, 211, 238, 0.20), transparent 52%),
    radial-gradient(circle at 50% 50%, rgba(37, 99, 255, 0.24), transparent 60%);
  border-radius: var(--radius-lg);
  /* The blob canvas is deliberately allowed to render outside this box on
     desktop (see .blob below) — this container just anchors the chips. */
}

.blob {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
  pointer-events: none;
  z-index: 0;
}

.glass-chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-xs) var(--space-sm);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(var(--glass-blur-lg)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur-lg)) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(245, 245, 243, 0.16), 0 14px 30px -14px rgba(0, 0, 0, 0.55);
  will-change: transform;
  animation: chip-float 5.5s var(--ease-in-out) infinite;
}

.glass-chip__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--paper-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.glass-chip__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
}
.glass-chip__unit {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: var(--text-xs);
  color: var(--paper-dim);
}

.glass-chip--a { top: 6%;  left: 0%; animation-delay: 0s; }
.glass-chip--b { top: 44%; right: 2%; animation-delay: -1.8s; }
.glass-chip--c { bottom: 6%; left: 14%; animation-delay: -3.4s; }

@keyframes chip-float {
  0%, 100% { transform: translate3d(var(--px, 0px), var(--py, 0px), 0); }
  50%      { transform: translate3d(calc(var(--px, 0px) + 0px), calc(var(--py, 0px) - 8px), 0); }
}

/* ==========================================================================
   LIQUID GLOW ACCENTS
   ========================================================================== */

.why::before,
.included::before,
.process::before,
.work::before,
.pricing::before,
.faq::before,
.contact::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: clamp(280px, 30vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-dim) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  animation: liquid-drift 24s var(--ease-in-out) infinite alternate;
}

.why::before      { top: -10%;  left: -8%;  }
.included::before { top: 26%;   right: -12%; animation-delay: -4s; background: radial-gradient(circle, rgba(139,107,255,0.14) 0%, transparent 70%); }
.process::before  { bottom: -14%; left: 4%;  animation-delay: -16s; }
.work::before     { top: 4%;    right: -10%; animation-delay: -8s; background: radial-gradient(circle, rgba(34,211,238,0.10) 0%, transparent 70%); }
.pricing::before  { top: -12%;  left: -10%; animation-delay: -20s; }
.faq::before      { bottom: -12%; right: -4%; animation-delay: -12s; }
.contact::before  { top: -16%;  left: 16%;  animation-delay: -2s; }

@keyframes liquid-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(3%, -4%) scale(1.08); }
  100% { transform: translate(-3%, 3%) scale(0.95); }
}

/* ==========================================================================
   SPOTLIGHT GLASS — panels that carry a cursor-tracked glow beneath their
   frosted surface. JS sets --mx / --my per element on pointermove.
   ========================================================================== */

.spotlight { position: relative; overflow: hidden; }
.spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 107, 255, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-out);
  pointer-events: none;
}
.spotlight:hover::after { opacity: 1; }

/* ==========================================================================
   WHY
   ========================================================================== */

.why { position: relative; z-index: 1; padding-block: var(--space-2xl); }

.why__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-xl);
}

.why__body p { color: var(--paper-dim); max-width: 42rem; }
.why__body p + p { margin-top: var(--space-sm); }

.why__list {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.why__list li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--glass-border);
  color: var(--paper-dim);
}

.why__list-num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--iris-cyan);
}

/* ==========================================================================
   INCLUDED (feature grid)
   ========================================================================== */

.included { position: relative; z-index: 1; padding-block: var(--space-2xl); }

.included__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.feature-card:nth-child(1),
.feature-card:nth-child(6) {
  grid-column: span 2;
}

.feature-card {
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(245, 245, 243, 0.08);
  will-change: transform;
  transition: background var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out),
              transform var(--dur-mid) var(--ease-out);
}
.feature-card:hover {
  background: var(--glass-fill-hi);
  border-color: rgba(139, 107, 255, 0.35);
  transform: translateY(-3px);
}

.feature-card__icon {
  width: 30px;
  height: 30px;
  color: var(--iris-cyan);
  margin-bottom: var(--space-md);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  margin-bottom: var(--space-2xs);
}

.feature-card p { color: var(--paper-dim); font-size: var(--text-sm); }

/* ==========================================================================
   PROCESS / TIMELINE
   ========================================================================== */

.process { position: relative; z-index: 1; padding-block: var(--space-2xl); }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.timeline__step {
  position: relative;
  padding-top: var(--space-md);
}
.timeline__step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--iris-cyan), transparent 85%);
  opacity: 0.7;
}

.timeline__num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--iris-cyan);
  display: block;
  margin-bottom: var(--space-sm);
}

.timeline__day {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--paper-faint);
  margin-bottom: var(--space-2xs);
}

.timeline__content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  margin-bottom: var(--space-2xs);
}

.timeline__content p { color: var(--paper-dim); font-size: var(--text-sm); }

/* ==========================================================================
   WORK
   ========================================================================== */

.work { position: relative; z-index: 1; padding-block: var(--space-2xl); }

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.work-card {
  display: block;
}

@media (min-width: 1025px) {
  .work-card:nth-child(2) { margin-top: var(--space-lg); }
}

.work-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  margin-top: var(--space-md);
  margin-bottom: var(--space-2xs);
}
.work-card p { color: var(--paper-dim); font-size: var(--text-sm); }

.work-card__frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--ink-soft);
  transition: border-color var(--dur-mid) var(--ease-out), transform var(--dur-mid) var(--ease-out);
}
.work-card:hover .work-card__frame { border-color: rgba(34, 211, 238, 0.35); transform: translateY(-4px); }

.work-card__chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: var(--space-xs) var(--space-sm);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(245, 245, 243, 0.02);
}
.work-card__chrome span:not(.work-card__url) { width: 7px; height: 7px; border-radius: 50%; background: var(--paper-faint); flex-shrink: 0; }
.work-card__url {
  margin-left: var(--space-xs);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--paper-faint);
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(37, 99, 255, 0.14), rgba(139, 107, 255, 0.1));
}

.work-card__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--paper-faint);
}

.work-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--dur-slow) var(--ease-out);
}
.work-card:hover .work-card__media img { transform: scale(1.045); }

.work-card__visit {
  position: absolute;
  right: var(--space-sm);
  bottom: var(--space-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-3xs) var(--space-sm);
  border-radius: var(--radius-pill);
  background: rgba(8, 8, 11, 0.6);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--paper);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur-mid) var(--ease-out), transform var(--dur-mid) var(--ease-out);
  pointer-events: none;
}
.work-card__visit svg { color: var(--iris-cyan); }
.work-card:hover .work-card__visit { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   PRICING
   ========================================================================== */

.pricing { position: relative; z-index: 1; padding-block: var(--space-2xl); }

.pricing__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}

.pricing__note { margin-top: var(--space-md); color: var(--paper-dim); max-width: 28rem; }

.pricing-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: 28px 28px 28px 10px;
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(245, 245, 243, 0.08);
  will-change: transform;
  transition: border-color var(--dur-mid) var(--ease-out),
              background var(--dur-mid) var(--ease-out);
}
.pricing-card:hover {
  border-color: rgba(139, 107, 255, 0.32);
  background: var(--glass-fill-hi);
}

.pricing-card__head { margin-bottom: var(--space-md); }
.pricing-card__head h3 {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  margin-bottom: var(--space-2xs);
}

.pricing-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
}
.pricing-card__currency { font-size: var(--text-lg); color: var(--paper-dim); margin-right: 2px; }
.pricing-card__amount {
  background: var(--iris-gradient);
  background-size: 220% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: text-sheen 8s ease-in-out infinite;
}
.pricing-card__suffix {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: var(--text-sm);
  color: var(--paper-dim);
  margin-left: var(--space-2xs);
}

.pricing-card__list { display: flex; flex-direction: column; gap: var(--space-xs); }
.pricing-card__list li {
  position: relative;
  padding-left: var(--space-md);
  color: var(--paper-dim);
  font-size: var(--text-sm);
}
.pricing-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 1.5px;
  background: var(--iris-cyan);
}

.pricing-card__connector {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pricing-card__connector span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--glass-fill-hi);
  border: 1px solid var(--glass-border);
  color: var(--iris-cyan);
  font-family: var(--font-mono);
  font-size: var(--text-base);
  animation: badge-pulse 3.6s var(--ease-in-out) infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--blue-dim); }
  50%       { box-shadow: 0 0 0 9px transparent; }
}

.pricing-card__footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-sm);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--glass-border);
}

.pricing-card__total {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--paper-dim);
  max-width: 26rem;
  line-height: 1.55;
}

/* ==========================================================================
   FAQ / ACCORDION
   ========================================================================== */

.faq { position: relative; z-index: 1; padding-block: var(--space-2xl); }

.faq__grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: var(--space-xl);
}

.accordion__item { border-bottom: 1px solid var(--glass-border); }

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  text-align: left;
}

.accordion__trigger svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--iris-cyan);
  transition: transform var(--dur-mid) var(--ease-out);
}
.accordion__trigger[aria-expanded="true"] svg { transform: rotate(45deg); }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-mid) var(--ease-out);
  min-height: 0;
}
.accordion__panel > p {
  overflow: hidden;
  color: var(--paper-dim);
  padding-bottom: 0;
  max-width: 40rem;
  min-height: 0;
}
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__item.is-open .accordion__panel > p { padding-bottom: var(--space-md); }

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact { position: relative; z-index: 1; padding-block: var(--space-2xl); }

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: 10px 28px 28px 28px;
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(245, 245, 243, 0.08);
}

.contact-panel__copy p { color: var(--paper-dim); margin-top: var(--space-sm); max-width: 28rem; }

.contact-panel__email {
  display: inline-block;
  margin-top: var(--space-lg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  border-bottom: 1px solid var(--iris-cyan);
  padding-bottom: 2px;
  transition: color var(--dur-fast) var(--ease-out);
}
.contact-panel__email:hover { color: var(--iris-cyan); }

.contact-form { display: flex; flex-direction: column; gap: var(--space-sm); }

.contact-form__row { display: flex; flex-direction: column; gap: var(--space-3xs); }
.contact-form__row label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--paper-dim);
}

.contact-form__row input,
.contact-form__row textarea {
  background: rgba(245, 245, 243, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: var(--space-xs) var(--space-sm);
  color: var(--paper);
  resize: vertical;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.contact-form__row input:focus,
.contact-form__row textarea:focus {
  border-color: var(--iris-cyan);
  background: rgba(245, 245, 243, 0.07);
  outline: none;
}

.contact-form__submit { margin-top: var(--space-2xs); justify-content: center; }
.contact-form__submit[disabled] { opacity: 0.6; cursor: progress; }

.contact-form__status {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--iris-cyan);
  min-height: 1.2em;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--glass-border);
  padding-top: var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
}

.footer__brand p { margin-top: var(--space-sm); color: var(--paper-dim); font-size: var(--text-sm); }

.footer__col { display: flex; flex-direction: column; gap: var(--space-xs); }
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--paper-faint);
  margin-bottom: var(--space-2xs);
}
.footer__col a, .footer__col span {
  color: var(--paper-dim);
  font-size: var(--text-sm);
  transition: color var(--dur-fast) var(--ease-out);
  width: fit-content;
}
.footer__col a:hover { color: var(--paper); }

.footer__social { display: flex; gap: var(--space-sm); }
.footer__social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--paper-dim);
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.footer__social a:hover { border-color: var(--iris-cyan); color: var(--iris-cyan); }
.footer__social svg { width: 16px; height: 16px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-block: var(--space-md);
  border-top: 1px solid var(--glass-border);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--paper-faint);
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { height: 320px; order: -1; }
  .why__grid,
  .pricing__grid,
  .faq__grid { grid-template-columns: 1fr; }
  .included__grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card { grid-template-columns: 1fr; }
  .pricing-card__connector { flex-direction: row; gap: var(--space-sm); }
  .pricing-card__connector::before,
  .pricing-card__connector::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border));
  }
  .pricing-card__connector::after {
    background: linear-gradient(90deg, var(--glass-border), transparent);
  }
  .pricing-card__footer { flex-direction: column; align-items: flex-start; }
  .contact-panel { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .included__grid,
  .work__grid,
  .timeline { grid-template-columns: 1fr; }

  .feature-card:nth-child(1),
  .feature-card:nth-child(6) { grid-column: span 1; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }

  .glass-chip--a { top: -2%; left: 0; }
  .glass-chip--b { top: 46%; right: 0; }
  .glass-chip--c { bottom: -2%; left: 8%; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .footer__bottom { flex-direction: column; gap: var(--space-2xs); }
}

/* ---- Pointer-aware: magnetic / hover-only affordances stay desktop-only ---- */
@media (hover: none) {
  .btn--ghost:hover svg { transform: none; }
  .cursor { display: none; }
}