/* ============================================================
   SIGRA — "Living Light"
   Award-tier landing + AI chat demo. Vanilla CSS.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --pink:     #F1C6DE;
  --thistle:  #DACCF0;
  --columbia: #C5DDF1;
  --mint:     #C9E3DE;
  --cream:    #F9EDCA;
  --ink:      #352730;

  --ink-70: rgba(53, 39, 48, 0.70);
  --ink-55: rgba(53, 39, 48, 0.55);
  --ink-12: rgba(53, 39, 48, 0.12);
  --ink-06: rgba(53, 39, 48, 0.06);

  /* Chat (generic green — NOT WhatsApp brand) */
  --chat-accent:   #1FA855;
  --chat-bg:       #E7DED5;
  --bubble-out:    #DCF6C5;
  --bubble-in:     #FFFFFF;

  /* Glass */
  --glass:      rgba(255, 255, 255, 0.55);
  --glass-line: rgba(255, 255, 255, 0.65);

  /* Type */
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Montserrat", system-ui, -apple-system, sans-serif;

  /* Motion */
  --base: 280ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);

  /* Layout */
  --maxw: 1180px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --radius: 22px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ============================================================
   BACKGROUND — reactive mesh + grain
   ============================================================ */
.mesh {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -2; display: block;
}
/* CSS fallback gradient under canvas (and for reduced-motion) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -3;
  background:
    radial-gradient(60% 55% at 18% 20%, var(--pink), transparent 70%),
    radial-gradient(55% 50% at 85% 18%, var(--thistle), transparent 70%),
    radial-gradient(60% 60% at 75% 80%, var(--columbia), transparent 72%),
    radial-gradient(55% 55% at 20% 85%, var(--mint), transparent 72%),
    var(--cream);
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   CUSTOM CURSOR (desktop only)
   ============================================================ */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, input, .quick, label[for] { cursor: none; }
  .cursor {
    display: block; position: fixed; top: 0; left: 0;
    z-index: 9999; pointer-events: none;
    mix-blend-mode: multiply;
    transform: translate(-50%, -50%);
  }
  .cursor__dot {
    position: absolute; top: 0; left: 0; width: 8px; height: 8px;
    border-radius: 50%; background: var(--ink);
    transform: translate(-50%, -50%);
  }
  .cursor__ring {
    position: absolute; top: 0; left: 0; width: 38px; height: 38px;
    border-radius: 50%; border: 1.5px solid var(--ink-55);
    transform: translate(-50%, -50%);
    transition: width var(--base) var(--ease-out),
                height var(--base) var(--ease-out),
                opacity var(--base) var(--ease-out);
  }
  .cursor.is-hot .cursor__ring { width: 56px; height: 56px; opacity: 0.5; }
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 9998;
  display: grid; place-items: center;
  background: var(--cream);
  transition: opacity 600ms var(--ease-out), visibility 600ms;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__orb {
  width: 90px; height: 90px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #fff, transparent 45%),
    conic-gradient(from 0deg, var(--pink), var(--thistle), var(--columbia), var(--mint), var(--cream), var(--pink));
  filter: blur(2px);
  animation: orbBirth 1100ms var(--ease-expo) both, spin 6s linear infinite;
  box-shadow: 0 0 50px rgba(218, 204, 240, 0.8);
}
.preloader__word {
  font-family: var(--display); font-size: clamp(2.2rem, 7vw, 3.4rem);
  font-weight: 600; letter-spacing: 0.04em; margin-top: 1.1rem;
  display: flex; gap: 0.02em;
}
.preloader__word span {
  opacity: 0; transform: translateY(14px);
  animation: revealUp 520ms var(--ease-out) both;
}
.preloader__word span:nth-child(1) { animation-delay: 640ms; }
.preloader__word span:nth-child(2) { animation-delay: 710ms; }
.preloader__word span:nth-child(3) { animation-delay: 780ms; }
.preloader__word span:nth-child(4) { animation-delay: 850ms; }
.preloader__word span:nth-child(5) { animation-delay: 920ms; }

@keyframes orbBirth {
  0% { transform: scale(0.2); opacity: 0; filter: blur(20px); }
  100% { transform: scale(1); opacity: 1; filter: blur(2px); }
}
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem var(--pad);
  transition: background var(--base) var(--ease-out), box-shadow var(--base);
}
.header.is-scrolled {
  background: rgba(249, 237, 202, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--ink-06);
}
.brand { display: flex; align-items: center; gap: 0.55rem; }
.brand__name {
  font-family: var(--display); font-size: 1.7rem; font-weight: 600;
  letter-spacing: 0.02em;
}
.brand__orb {
  width: 26px; height: 26px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #fff, transparent 50%),
    conic-gradient(from 0deg, var(--pink), var(--thistle), var(--columbia), var(--mint), var(--pink));
  box-shadow: 0 0 16px rgba(218, 204, 240, 0.9);
  animation: spin 9s linear infinite, breathe 4.5s var(--ease-inout) infinite;
}
.brand__orb--sm { width: 20px; height: 20px; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.1rem); }
.nav a {
  font-size: 0.86rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink-70); transition: color var(--base) var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav__cta {
  padding: 0.5rem 1.1rem; border-radius: 999px;
  background: var(--ink); color: var(--cream) !important;
  box-shadow: 0 6px 18px rgba(53, 39, 48, 0.22);
}
.nav__cta:hover { transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 8px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--base) var(--ease-out), opacity var(--base);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   SHARED SECTION
   ============================================================ */
.section { padding: clamp(4rem, 11vh, 8rem) var(--pad); max-width: var(--maxw); margin: 0 auto; }
.section__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2rem, 5.5vw, 3.4rem); line-height: 1.05;
  letter-spacing: -0.01em; margin-bottom: 2.2rem;
}
.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-55); margin-bottom: 1.2rem;
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.9rem 1.6rem; border-radius: 999px;
  transition: transform var(--base) var(--ease-out), box-shadow var(--base) var(--ease-out), background var(--base);
  min-height: 44px;
}
.btn--primary { background: var(--ink); color: var(--cream); box-shadow: 0 10px 28px rgba(53, 39, 48, 0.26); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(53, 39, 48, 0.32); }
.btn--ghost { background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,0.7); }
.btn--small { padding: 0.6rem 1.1rem; font-size: 0.82rem; background: var(--ink); color: var(--cream); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh; padding: 7rem var(--pad) 3rem;
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: center; gap: 2rem;
}
.hero__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.7rem, 8.5vw, 6rem); line-height: 1.06;
  letter-spacing: -0.02em; margin-bottom: 1.6rem;
}
.hero__title em { font-style: italic; font-weight: 500; }
.mask { display: block; overflow: hidden; padding: 0.06em 0.04em; margin: -0.06em -0.04em; }
.mask__line {
  display: block; transform: translateY(115%);
  transition: transform 900ms var(--ease-expo);
}
.is-ready .mask__line { transform: translateY(0); }
.is-ready .hero__title .mask:nth-child(1) .mask__line { transition-delay: 80ms; }
.is-ready .hero__title .mask:nth-child(2) .mask__line { transition-delay: 200ms; }
.is-ready .hero__title .mask:nth-child(3) .mask__line { transition-delay: 320ms; }

.hero__sub { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--ink-70); max-width: 34ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__orb-wrap { display: grid; place-items: center; gap: 1rem; }
.hero__orb-caption {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-55); font-weight: 600;
}

/* ============================================================
   LIVING ORB
   ============================================================ */
.orb { position: relative; display: grid; place-items: center; }
.orb--hero { width: clamp(180px, 26vw, 280px); aspect-ratio: 1; }
.orb__core {
  position: absolute; inset: 14%; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #fff, transparent 42%),
    conic-gradient(from 0deg, var(--pink), var(--thistle), var(--columbia), var(--mint), var(--cream), var(--pink));
  filter: blur(1px);
  box-shadow: 0 0 60px rgba(218, 204, 240, 0.7), inset 0 0 40px rgba(255,255,255,0.5);
  animation: spin 11s linear infinite, breathe 4.5s var(--ease-inout) infinite;
}
.orb__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  animation: breathe 4.5s var(--ease-inout) infinite reverse;
}
.orb__ring--2 { inset: 7%; border-color: rgba(197, 221, 241, 0.5); animation-duration: 6s; }

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

/* "thinking" state — ripple + faster spin + glow */
.orb.is-thinking .orb__core { animation: spin 2.4s linear infinite, breathe 1.6s var(--ease-inout) infinite; box-shadow: 0 0 80px rgba(241, 198, 222, 0.95), inset 0 0 40px rgba(255,255,255,0.6); }
.orb.is-thinking .orb__ring { animation: ripple 1.4s var(--ease-out) infinite; }
.orb.is-thinking .orb__ring--2 { animation: ripple 1.4s var(--ease-out) 0.4s infinite; }
@keyframes ripple {
  0% { transform: scale(0.92); opacity: 0.9; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* easter-egg shimmer */
.orb.is-shimmer .orb__core { animation: spin 0.9s linear infinite, shimmer 1.2s var(--ease-inout); }
@keyframes shimmer {
  0% { filter: blur(1px) brightness(1); }
  40% { filter: blur(0) brightness(1.5) saturate(1.4); }
  100% { filter: blur(1px) brightness(1); }
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem__inner { }
.problem__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.problem__lead { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.25; }
.problem__list { list-style: none; display: grid; gap: 1rem; }
.problem__list li {
  position: relative; padding-left: 1.6rem; color: var(--ink-70); font-size: 1rem;
}
.problem__list li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--columbia));
}
.problem__turn {
  margin-top: 2.4rem; font-family: var(--display);
  font-size: clamp(1.4rem, 3.2vw, 2.2rem); line-height: 1.3; max-width: 24ch;
}

/* ============================================================
   USE CASES
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.4vw, 1.8rem); }
.card {
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: var(--radius); padding: 1.1rem 1.1rem 1.4rem;
  box-shadow: 0 14px 40px rgba(53, 39, 48, 0.08);
  transition: transform var(--base) var(--ease-out), box-shadow var(--base) var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(53, 39, 48, 0.14); }
.card__media { position: relative; border-radius: 16px; overflow: hidden; margin-bottom: 1.1rem; }
.card__media img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  /* placeholder gradient sits behind the (gradient) png */
  background: linear-gradient(135deg, var(--pink), var(--thistle) 45%, var(--columbia) 80%);
}
.card__caption {
  position: absolute; left: 8px; bottom: 8px;
  font-size: 0.62rem; letter-spacing: 0.04em; color: var(--ink-70);
  background: rgba(255,255,255,0.7); padding: 2px 7px; border-radius: 999px;
}
.card__title { font-family: var(--display); font-size: 1.5rem; font-weight: 600; margin-bottom: 0.4rem; }
.card__body { font-size: 0.92rem; color: var(--ink-70); margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  position: relative; overflow: hidden;
  font-size: 0.74rem; font-weight: 500; padding: 0.34rem 0.74rem;
  border-radius: 999px; background: rgba(255,255,255,0.6);
  border: 1px solid var(--ink-12); color: var(--ink-70);
}
.chip::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(110deg, transparent, rgba(255,255,255,0.85), transparent);
}
.card:hover .chip::after { animation: shimmerChip 900ms var(--ease-out); }
@keyframes shimmerChip { to { transform: translateX(120%); } }

/* ============================================================
   HOW
   ============================================================ */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.4rem); counter-reset: s; }
.step { position: relative; padding-top: 1rem; border-top: 1px solid var(--ink-12); }
.step__num { font-family: var(--display); font-size: 2.4rem; font-weight: 500; color: var(--ink-55); display: block; margin-bottom: 0.6rem; }
.step__title { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.4rem; }
.step__body { font-size: 0.92rem; color: var(--ink-70); }

/* ============================================================
   CHAT DEMO
   ============================================================ */
.demo__head { max-width: var(--maxw); }
.demo__sub { font-size: 1.05rem; color: var(--ink-70); max-width: 52ch; margin-bottom: 1.4rem; }

.mode { display: flex; align-items: center; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 2rem; }
.mode__label { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-55); font-weight: 600; }
.mode__switch { display: inline-flex; background: var(--ink-06); border-radius: 999px; padding: 4px; border: 1px solid var(--ink-12); }
.mode__btn {
  font-size: 0.82rem; font-weight: 600; padding: 0.45rem 1rem; border-radius: 999px;
  color: var(--ink-70); transition: background var(--base) var(--ease-out), color var(--base);
  min-height: 36px;
}
.mode__btn.is-active { background: var(--ink); color: var(--cream); }
.mode__hint { font-size: 0.8rem; color: var(--ink-55); }

.chat {
  max-width: 480px; margin: 0 auto;
  border-radius: 28px; overflow: hidden;
  background: var(--chat-bg);
  box-shadow: 0 30px 70px rgba(53, 39, 48, 0.22), 0 2px 0 rgba(255,255,255,0.4) inset;
  border: 1px solid rgba(255,255,255,0.5);
  display: flex; flex-direction: column;
  height: min(640px, 80vh);
}
.chat__top {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.8rem 1rem; background: var(--chat-accent); color: #fff;
}
.orb--avatar { width: 40px; height: 40px; flex: 0 0 auto; }
.orb--avatar .orb__core { inset: 6%; }
.chat__id { display: flex; flex-direction: column; line-height: 1.2; }
.chat__name { font-weight: 600; font-size: 0.92rem; }
.chat__status { font-size: 0.72rem; opacity: 0.85; }

.chat__log {
  flex: 1 1 auto; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  scroll-behavior: smooth;
  background-image: radial-gradient(rgba(255,255,255,0.35) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* Bubbles */
.bubble {
  max-width: 80%; padding: 0.6rem 0.8rem; border-radius: 14px;
  font-size: 0.9rem; line-height: 1.45; position: relative;
  box-shadow: 0 1px 1px rgba(53, 39, 48, 0.08); white-space: pre-wrap;
  word-wrap: break-word;
  opacity: 0; transform: translateY(10px);
  animation: bubbleIn 360ms var(--ease-out) forwards;
}
@keyframes bubbleIn { to { opacity: 1; transform: none; } }
.bubble--in { align-self: flex-start; background: var(--bubble-in); border-bottom-left-radius: 4px; }
.bubble--out { align-self: flex-end; background: var(--bubble-out); border-bottom-right-radius: 4px; }
.bubble__time { display: block; font-size: 0.62rem; color: var(--ink-55); margin-top: 0.2rem; text-align: right; }
.bubble strong { font-weight: 600; }

/* Typing indicator */
.typing {
  align-self: flex-start; display: inline-flex; gap: 4px;
  padding: 0.7rem 0.85rem; background: var(--bubble-in); border-radius: 14px;
  border-bottom-left-radius: 4px; box-shadow: 0 1px 1px rgba(53,39,48,0.08);
}
.typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink-55);
  animation: typedot 1.2s var(--ease-inout) infinite;
}
.typing span:nth-child(2) { animation-delay: 0.18s; }
.typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typedot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat__quick {
  display: flex; gap: 0.5rem; padding: 0.6rem 0.8rem; overflow-x: auto;
  background: rgba(255,255,255,0.35); border-top: 1px solid rgba(255,255,255,0.5);
}
.quick {
  flex: 0 0 auto; white-space: nowrap; font-size: 0.8rem; font-weight: 500;
  padding: 0.5rem 0.9rem; border-radius: 999px;
  background: #fff; color: var(--chat-accent); border: 1px solid rgba(31,168,85,0.3);
  min-height: 36px; transition: transform var(--base) var(--ease-out), background var(--base);
}
.quick:hover { transform: translateY(-1px); background: #f3fff6; }
.quick:disabled { opacity: 0.45; cursor: default; }

.chat__bar {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 0.8rem; background: var(--chat-bg);
  border-top: 1px solid rgba(255,255,255,0.5);
}
.chat__input {
  flex: 1 1 auto; min-height: 44px; padding: 0.7rem 1rem;
  border-radius: 999px; border: 1px solid var(--ink-12);
  background: #fff; font-size: 0.92rem; color: var(--ink);
}
.chat__input:focus { outline: 2px solid rgba(31,168,85,0.4); outline-offset: 1px; }
.chat__send {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  background: var(--chat-accent); color: #fff; display: grid; place-items: center;
  transition: transform var(--base) var(--ease-out), box-shadow var(--base);
  box-shadow: 0 6px 16px rgba(31,168,85,0.4);
}
.chat__send:hover { transform: scale(1.06); }
.chat__send:active { transform: scale(0.94); }

/* API key drawer */
.apikey {
  max-width: 480px; margin: 1.2rem auto 0; padding: 1.1rem 1.2rem;
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 18px;
}
.apikey__note { font-size: 0.82rem; color: var(--ink-70); margin-bottom: 0.8rem; }
.apikey__row { display: flex; gap: 0.5rem; }
.apikey__input {
  flex: 1 1 auto; min-height: 44px; padding: 0.6rem 0.9rem;
  border-radius: 12px; border: 1px solid var(--ink-12); background: #fff;
  font-size: 0.85rem; color: var(--ink);
}
.apikey__input:focus { outline: 2px solid rgba(53,39,48,0.3); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  text-align: center; padding: 3.5rem var(--pad) 3rem;
  display: grid; gap: 0.5rem; justify-items: center;
  border-top: 1px solid var(--ink-12);
}
.footer__brand { display: flex; align-items: center; gap: 0.5rem; font-family: var(--display); font-size: 1.6rem; font-weight: 600; }
.footer__line { font-size: 0.9rem; color: var(--ink-70); }
.footer__by { font-size: 0.85rem; color: var(--ink-55); letter-spacing: 0.05em; }
.footer__by strong { color: var(--ink); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; }
}
@media (max-width: 768px) {
  .nav {
    position: fixed; inset: 0 0 auto 0; top: 0;
    flex-direction: column; gap: 1.4rem;
    padding: 6rem var(--pad) 2.5rem;
    background: rgba(249, 237, 202, 0.96);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    transform: translateY(-100%); transition: transform var(--base) var(--ease-expo);
    box-shadow: 0 20px 50px rgba(53,39,48,0.18);
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { font-size: 1.1rem; }
  .hamburger { display: flex; z-index: 101; }

  .hero { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; padding-top: 6rem; }
  .hero__sub { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__orb-wrap { order: -1; }
  .mask__line { white-space: normal; }

  .problem__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  :root { --radius: 18px; }
  .chat { height: min(560px, 78vh); border-radius: 22px; }
  .section__title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .mode__hint { width: 100%; }
}

/* ============================================================
   REDUCED MOTION — static mesh/orb, instant bubbles
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .mask__line { transform: none; }
  .preloader { display: none; }
  .orb__core, .brand__orb { animation: none !important; }
  .bubble { opacity: 1; transform: none; }
  body { cursor: auto; }
  .cursor { display: none !important; }
  a, button, input, .quick, label[for] { cursor: auto; }
}

/* hide placeholder asset filename captions */
.card__caption { display: none !important; }
