/* ============================================================
   Baked Software — bkdsw.com
   Iridescent / high-contrast / single-page marketing
   ============================================================ */

/* ---------- Animatable custom properties (modern CSS) -------- */
@property --hue {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}
@property --shimmer {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}
@property --beam {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* ---------- Tokens ------------------------------------------ */
:root {
  /* High contrast: near-black canvas, white text, iridescent accents */
  --ink: #f6f3ff;
  --ink-dim: #b6b1d4;
  --ink-faint: #6f6a8e;
  --line: rgba(246, 243, 255, 0.10);
  --line-strong: rgba(246, 243, 255, 0.22);
  --bg: #05030a;
  --bg-2: #0a0612;
  --panel: rgba(255, 255, 255, 0.04);

  /* Iridescent palette — six stops we re-use for conic gradients */
  --iri-1: #ff6ad5;   /* hot pink */
  --iri-2: #c779ff;   /* violet  */
  --iri-3: #5ed0ff;   /* cyan    */
  --iri-4: #6affb9;   /* mint    */
  --iri-5: #fff37a;   /* gold    */
  --iri-6: #ff9c6a;   /* peach   */

  --iri-gradient: conic-gradient(
    from var(--beam),
    var(--iri-1),
    var(--iri-2),
    var(--iri-3),
    var(--iri-4),
    var(--iri-5),
    var(--iri-6),
    var(--iri-1)
  );

  --iri-linear: linear-gradient(
    100deg,
    var(--iri-1) 0%,
    var(--iri-2) 18%,
    var(--iri-3) 38%,
    var(--iri-4) 58%,
    var(--iri-5) 78%,
    var(--iri-6) 100%
  );

  --type-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --type-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --type-mono: "JetBrains Mono", ui-monospace, "SF Mono", "Menlo", monospace;

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 22px;
}

/* ---------- Reset-ish --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--type-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  cursor: none; /* custom cursor takes over */
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--iri-3); color: #000; }

/* On touch / coarse pointer devices, restore the system cursor */
@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
  .cursor { display: none !important; }
}

/* ---------- Aurora background mesh -------------------------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(1200px 800px at 80% -10%, #1a0830 0%, transparent 60%),
    radial-gradient(900px 700px at -10% 110%, #051a2b 0%, transparent 55%),
    var(--bg);
  filter: saturate(115%);
}
.aurora__blob {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  filter: blur(80px) saturate(140%);
  opacity: 0.55;
  mix-blend-mode: screen;
  will-change: transform;
}
.aurora__blob--a {
  top: -20%;
  left: -10%;
  background: radial-gradient(closest-side, var(--iri-1), transparent 70%);
  animation: drift-a 26s ease-in-out infinite alternate;
}
.aurora__blob--b {
  bottom: -25%;
  right: -15%;
  background: radial-gradient(closest-side, var(--iri-3), transparent 70%);
  animation: drift-b 32s ease-in-out infinite alternate;
}
.aurora__blob--c {
  top: 30%;
  left: 35%;
  width: 50vmax;
  height: 50vmax;
  background: radial-gradient(closest-side, var(--iri-4), transparent 70%);
  animation: drift-c 22s ease-in-out infinite alternate;
}
@keyframes drift-a {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(8vw, 6vh, 0) scale(1.15); }
}
@keyframes drift-b {
  0%   { transform: translate3d(0,0,0) scale(1.05); }
  100% { transform: translate3d(-10vw, -8vh, 0) scale(0.95); }
}
@keyframes drift-c {
  0%   { transform: translate3d(0,0,0) scale(0.9); }
  100% { transform: translate3d(-6vw, 10vh, 0) scale(1.1); }
}

/* SVG noise grain — adds expensive-looking texture */
.aurora__grain {
  position: absolute;
  inset: -50%;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  animation: grain 1.6s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0,    0); }
  20%  { transform: translate(-2%,  3%); }
  40%  { transform: translate(3%,  -2%); }
  60%  { transform: translate(-3%, -3%); }
  80%  { transform: translate(2%,   2%); }
  100% { transform: translate(0,    0); }
}

/* ---------- Custom cursor ----------------------------------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-100px, -100px, 0);
  mix-blend-mode: difference;
  transition: width 200ms ease, height 200ms ease, background 200ms ease;
}
.cursor--ring {
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  mix-blend-mode: difference;
  transition: width 250ms cubic-bezier(.2,.7,.2,1),
              height 250ms cubic-bezier(.2,.7,.2,1),
              border-color 250ms ease,
              transform 80ms linear;
}
body.is-hovering .cursor { width: 16px; height: 16px; }
body.is-hovering .cursor--ring { width: 64px; height: 64px; border-color: var(--iri-3); }

/* ---------- Iridescent text trick --------------------------- */
.iridescent {
  position: relative;
  display: inline-block;
  background: var(--iri-linear);
  background-size: 220% 220%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  /* Animate hue rotation + position for shimmer */
  animation:
    iri-shift 9s linear infinite,
    iri-hue 14s linear infinite;
  filter: drop-shadow(0 0 22px rgba(255, 122, 223, 0.18));
}
.iridescent::before,
.iridescent::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: var(--iri-linear);
  background-size: 220% 220%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  pointer-events: none;
}
.iridescent::before {
  transform: translate(2px, 0);
  mix-blend-mode: screen;
  filter: blur(8px);
  opacity: 0.55;
  animation: iri-shift 9s linear infinite;
}
.iridescent::after {
  transform: translate(-1px, 0);
  filter: hue-rotate(120deg);
  opacity: 0.35;
  mix-blend-mode: overlay;
  animation: iri-shift 11s linear infinite reverse;
}
.iridescent--shift { animation-delay: -3s, -2s; }
.iridescent--slow  { animation-duration: 14s, 22s; }
.iridescent--xl    { letter-spacing: -0.04em; }

@keyframes iri-shift {
  0%   { background-position:   0%   50%; }
  50%  { background-position: 100%   50%; }
  100% { background-position:   0%   50%; }
}
@keyframes iri-hue {
  0%   { filter: drop-shadow(0 0 22px rgba(255,122,223,0.18)) hue-rotate(0deg); }
  100% { filter: drop-shadow(0 0 22px rgba(255,122,223,0.18)) hue-rotate(360deg); }
}

/* ---------- NAV --------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  background: linear-gradient(180deg, rgba(5,3,10,0.7), rgba(5,3,10,0.25));
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--type-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 18px;
}
.brand-mark {
  --beam: 0deg;
  display: inline-block;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--iri-gradient);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.4),
    0 6px 24px rgba(255, 106, 213, 0.35);
  animation: beam-spin 6s linear infinite;
}
@keyframes beam-spin {
  to { --beam: 360deg; }
}
.brand-word span { color: var(--iri-3); }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14px;
  color: var(--ink-dim);
}
.nav__links a { transition: color .2s ease; }
.nav__links a:hover { color: var(--ink); }

.nav__cta {
  position: relative;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink) !important;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.nav__cta::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--iri-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.7;
  animation: beam-spin 7s linear infinite;
}

@media (max-width: 720px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ---------- HERO -------------------------------------------- */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 14vw, 180px) var(--gutter) clamp(60px, 10vw, 120px);
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  font-family: var(--type-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.hero__tag em { color: var(--ink); font-style: normal; }
.hero__tag .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--iri-4);
  box-shadow: 0 0 12px var(--iri-4);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

.hero__title {
  margin: 28px 0 24px;
  font-family: var(--type-display);
  font-weight: 600;
  font-size: clamp(48px, 9.5vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.hero__title > span {
  display: block;
}
.hero__title-tail {
  display: block;
  margin-top: 12px;
  font-family: var(--type-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-dim);
  max-width: 22ch;
}
.hero__title-tail em { font-style: italic; }
.hero__title-tail em.iridescent { font-style: italic; color: transparent; }

.hero__lede {
  max-width: 60ch;
  margin: 0 0 36px;
  color: var(--ink-dim);
  font-size: clamp(15px, 1.4vw, 19px);
}
.hero__lede em { color: var(--ink); font-style: normal; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 64px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0;
}
.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat__num {
  font-family: var(--type-display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  background: var(--iri-linear);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: iri-shift 12s linear infinite;
}
.stat__num i { font-style: normal; opacity: 0.7; }
.stat__lab {
  font-size: 12px;
  font-family: var(--type-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
@media (max-width: 720px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(40px, 8vw, 80px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--type-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.scroll-hint__line {
  display: block;
  width: 80px; height: 1px;
  background: linear-gradient(90deg, var(--ink-faint), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-hint__line::after {
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--ink), transparent);
  animation: hint 2.4s ease-in-out infinite;
}
@keyframes hint {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@media (max-width: 720px) { .scroll-hint { display: none; } }

/* ---------- BUTTONS ----------------------------------------- */
.btn {
  --beam: 0deg;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: none;
  transition: transform .25s ease, color .2s ease;
  isolation: isolate;
}
.btn--lg { padding: 18px 26px; font-size: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn .btn__arrow {
  transition: transform .25s ease;
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Primary — iridescent fill that animates */
.btn--primary {
  color: #0a0612;
  background: var(--iri-linear);
  background-size: 200% 100%;
  animation: iri-shift 8s linear infinite;
  box-shadow:
    0 10px 30px -8px rgba(255, 106, 213, 0.45),
    0 0 0 1px rgba(255,255,255,0.14) inset;
  font-weight: 600;
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--iri-gradient);
  filter: blur(18px);
  opacity: 0.6;
  z-index: -1;
  animation: beam-spin 6s linear infinite;
}

/* Ghost — iridescent border via mask trick */
.btn--ghost {
  color: var(--ink);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-strong);
}
.btn--ghost::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--iri-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s ease;
  animation: beam-spin 6s linear infinite;
}
.btn--ghost:hover::before { opacity: 0.9; }

/* ---------- MARQUEE ----------------------------------------- */
.marquee {
  position: relative;
  margin: clamp(20px, 4vw, 40px) 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scroll 40s linear infinite;
  padding: 22px 0;
}
.marquee__row {
  display: flex;
  align-items: center;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--type-display);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.marquee__row li { white-space: nowrap; }
.marquee__row li:nth-child(odd) {
  background: var(--iri-linear);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: iri-shift 10s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- SECTION HEADS ----------------------------------- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(36px, 6vw, 72px);
}
.eyebrow {
  font-family: var(--type-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
}
.section-title {
  font-family: var(--type-display);
  font-weight: 600;
  font-size: clamp(34px, 6.5vw, 88px);
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin: 0;
  max-width: 18ch;
}

/* ---------- ABOUT ------------------------------------------- */
.about {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
}
.about__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 5vw, 64px);
}
.about__lede {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--ink-dim);
  margin: 0;
  line-height: 1.55;
}
.about__lede strong { color: var(--ink); font-weight: 500; }
@media (max-width: 720px) {
  .about__grid { grid-template-columns: 1fr; }
}

/* ---------- BENTO CARDS ------------------------------------- */
.bento {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 10vw, 140px) var(--gutter);
}
.bento__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.card {
  --beam: 0deg;
  position: relative;
  grid-column: span 2;
  padding: 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card--lg   { grid-column: span 4; min-height: 320px; }
.card--wide { grid-column: span 4; }
@media (max-width: 980px) {
  .bento__grid { grid-template-columns: repeat(2, 1fr); }
  .card, .card--lg, .card--wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bento__grid { grid-template-columns: 1fr; }
  .card, .card--lg, .card--wide { grid-column: span 1; }
}

/* Iridescent border via mask + conic gradient, hue-shifted per card */
.card__chrome {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--beam),
    hsl(var(--card-hue, 280) 100% 70%),
    hsl(calc(var(--card-hue, 280) + 60) 100% 70%),
    hsl(calc(var(--card-hue, 280) + 120) 100% 70%),
    hsl(calc(var(--card-hue, 280) + 180) 100% 70%),
    hsl(calc(var(--card-hue, 280) + 240) 100% 70%),
    hsl(var(--card-hue, 280) 100% 70%)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.45;
  z-index: -1;
  animation: beam-spin 9s linear infinite;
  transition: opacity .35s ease;
}

/* Soft glow that follows the cursor (set as CSS variables in JS) */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 50%),
    hsl(var(--card-hue, 280) 100% 75% / 0.22),
    transparent 60%
  );
  opacity: 0;
  transition: opacity .35s ease;
  z-index: -1;
}
.card:hover { transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card:hover .card__chrome { opacity: 0.95; }

.card h3 {
  font-family: var(--type-display);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
  margin: 0;
}
.card--lg h3 { font-size: clamp(26px, 2.6vw, 34px); }
.card p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.55;
}
.card ul {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--type-mono);
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

/* ---------- PROCESS ----------------------------------------- */
.process {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 10vw, 140px) var(--gutter);
}
.process__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.process__item {
  padding: 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: background .3s ease;
}
.process__item:last-child { border-right: 0; }
.process__item:hover { background: rgba(255,255,255,0.02); }
.process__num {
  font-family: var(--type-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: transparent;
  background: var(--iri-linear);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  animation: iri-shift 10s linear infinite;
}
.process__item h3 {
  margin: 0;
  font-family: var(--type-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.process__item p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .process__list { grid-template-columns: 1fr 1fr; }
  .process__item { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .process__item:nth-child(2n) { border-right: 0; }
  .process__item:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 540px) {
  .process__list { grid-template-columns: 1fr; }
  .process__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .process__item:last-child { border-bottom: 0; }
}

/* ---------- CONTACT ----------------------------------------- */
.contact {
  position: relative;
  margin: clamp(40px, 8vw, 80px) var(--gutter) clamp(40px, 8vw, 80px);
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(900px 600px at 80% 0%, rgba(255,106,213,0.18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(94,208,255,0.18), transparent 60%),
    rgba(255,255,255,0.02);
  border: 1px solid var(--line);
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--iri-gradient);
  opacity: 0.10;
  filter: blur(60px);
  z-index: -1;
  animation: beam-spin 18s linear infinite;
}
.contact__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 10vw, 140px) clamp(28px, 6vw, 72px);
  text-align: center;
}
.contact__title {
  font-family: var(--type-display);
  font-weight: 600;
  font-size: clamp(56px, 14vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  margin: 14px 0 24px;
}
.contact__title span { display: inline-block; }
.contact__lede {
  max-width: 50ch;
  margin: 0 auto 36px;
  color: var(--ink-dim);
  font-size: clamp(15px, 1.4vw, 18px);
}

/* ---------- FOOTER ------------------------------------------ */
.foot {
  padding: 28px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  font-family: var(--type-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.foot__row {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Reveal-on-scroll (CSS-only, IntersectionObserver enhances) */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reduced motion ---------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee__track { animation: none; }
  .aurora__blob { animation: none; }
}
