/* =============================================================
   SoforTech — spatial design system
   Tokens first. Retune the entire site from :root below.
   ============================================================= */

:root {
  /* — palette: stark, cool. obsidian → titanium. zero warm tones. — */
  --obsidian:     #060607;
  --obsidian-2:   #0a0b0d;
  --slate-900:    #0e1013;
  --slate-800:    #131619;
  --slate-700:    #1b1f24;
  --slate-600:    #262b31;
  --slate-500:    #3a414a;
  --slate-400:    #5a626d;
  --slate-300:    #8b929c;
  --titanium:     #eef1f4;
  --titanium-dim: #aab2bd;
  --titanium-mut: #767e89;

  /* faint cool-ice accent — used sparingly for glow/nodes only */
  --ice:        #bcd2e6;
  --ice-strong: #8fb4d6;

  /* canvas node-sphere colours (R,G,B) — overridden per theme */
  --node-rgb: 215,230,250;
  --edge-rgb: 176,200,224;

  /* surfaces / glass */
  --glass:        rgba(255, 255, 255, 0.035);
  --glass-2:      rgba(255, 255, 255, 0.06);
  --hair:         rgba(255, 255, 255, 0.09);
  --hair-strong:  rgba(255, 255, 255, 0.16);
  --blur:         14px;

  /* type */
  --display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* geometry — sharp, architectural */
  --r: 0px;
  --r-pill: 999px;
  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);

  /* elevation */
  --shadow-card:
      0 1px 0 rgba(255,255,255,0.05) inset,
      0 30px 60px -28px rgba(0,0,0,0.85),
      0 8px 24px -16px rgba(0,0,0,0.9);
  --shadow-float:
      0 1px 0 rgba(255,255,255,0.06) inset,
      0 50px 90px -40px rgba(0,0,0,0.9);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------------------------- reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--obsidian);
  color: var(--titanium);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* ambient cool edge-lighting wash behind everything */
  background-image:
    radial-gradient(900px 600px at 78% -8%, rgba(143,180,214,0.10), transparent 60%),
    radial-gradient(700px 500px at -5% 12%, rgba(120,140,170,0.07), transparent 55%);
  background-attachment: fixed;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--ice-strong); outline-offset: 3px; border-radius: 1px; }

/* fine film grain for depth */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.04;
  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.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10000;
  background: var(--titanium); color: var(--obsidian); padding: 10px 16px;
  font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* --------------------------- utilities --------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--titanium-mut);
}

.grad {
  background: linear-gradient(110deg, #ffffff 0%, var(--ice-strong) 50%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--hair);
  backdrop-filter: blur(var(--blur)) saturate(115%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(115%);
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 0.85em 1.5em; border-radius: var(--r);
  transition: transform .35s var(--ease), background .35s var(--ease),
              color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px); }

.btn--pill {                       /* solid matte-black pill */
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, #131417, #08090b);
  color: var(--titanium);
  border: 1px solid var(--hair-strong);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07) inset, 0 14px 30px -18px rgba(0,0,0,0.9);
}
.btn--pill:hover { background: var(--titanium); color: var(--obsidian); border-color: var(--titanium); transform: translateY(-2px); }

.btn--invert {                     /* titanium pill on dark CTA */
  background: var(--titanium); color: var(--obsidian); border-color: var(--titanium);
}
.btn--invert:hover { background: transparent; color: var(--titanium); border-color: var(--hair-strong); }

.btn--ghost {
  border-radius: var(--r-pill);
  color: var(--titanium-dim);
  border: 1px solid var(--hair);
}
.btn--ghost:hover { color: var(--titanium); border-color: var(--hair-strong); transform: translateY(-2px); }
.btn--ghost svg { transition: transform .35s var(--ease); }
.btn--ghost:hover svg { transform: translateX(3px); }

.btn--mini { padding: 0.5em 0.95em; font-size: 0.78rem; border-radius: var(--r-pill);
  background: var(--titanium); color: var(--obsidian); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; color: var(--titanium); width: max-content;
  border-bottom: 1px solid var(--hair-strong); padding-bottom: 4px;
  transition: gap .3s var(--ease), border-color .3s var(--ease);
}
.link-arrow:hover { gap: 0.85em; border-color: var(--titanium); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ------------------------------ nav ------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,6,7,0.55);
  border-bottom: 1px solid var(--hair);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.nav__logo { display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--display); font-weight: 700; letter-spacing: 0.16em; font-size: 1.02rem; }
.nav__mark { color: var(--titanium); }

.nav__links { display: flex; gap: clamp(1.4rem, 3vw, 3rem); }
.nav__links a { font-size: 0.92rem; font-weight: 500; color: var(--titanium-dim); position: relative; padding: 4px 0;
  transition: color .3s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--titanium); transition: width .35s var(--ease); }
.nav__links a:hover { color: var(--titanium); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 1.1rem; }
.nav__signin { font-size: 0.92rem; color: var(--titanium-dim); transition: color .3s var(--ease); }
.nav__signin:hover { color: var(--titanium); }
.nav .btn--pill { padding: 0.62em 1.25em; font-size: 0.88rem; }

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 22px; height: 1.6px; background: var(--titanium); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(6.6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-6.6px) rotate(-45deg); }

.nav__mobile { display: none; flex-direction: column; gap: 2px; padding: 12px var(--gut) 22px;
  border-bottom: 1px solid var(--hair); background: rgba(6,6,7,0.96); }
.nav__mobile a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--hair); color: var(--titanium-dim); }
.nav__mobile .btn--pill { margin-top: 14px; justify-content: center; border-bottom: 1px solid var(--hair-strong); }

/* ------------------------------ hero ----------------------------- */
.hero { position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(620px, 92vh, 1000px); display: flex; align-items: center;
  border-bottom: 1px solid var(--hair); }

.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }

/* architectural grid lines */
.hero__grid {
  position: absolute; inset: -1px; z-index: -1; opacity: 0.5;
  background-image:
    linear-gradient(to right, var(--hair) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hair) 1px, transparent 1px);
  background-size: clamp(70px, 8vw, 120px) clamp(70px, 8vw, 120px);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 30%, #000 35%, transparent 78%);
          mask-image: radial-gradient(120% 100% at 50% 30%, #000 35%, transparent 78%);
}
.hero__glow {
  position: absolute; z-index: -1; inset: 0;
  background:
    radial-gradient(700px 420px at 50% 8%, rgba(143,180,214,0.16), transparent 60%),
    radial-gradient(500px 500px at 82% 80%, rgba(120,150,180,0.08), transparent 60%);
}

.hero__inner { padding-block: clamp(80px, 14vh, 150px); max-width: 1000px; }
.hero__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.4rem, 8.4vw, 7rem); line-height: 0.98; letter-spacing: -0.02em;
  margin: 0.5em 0 0; text-wrap: balance; overflow-wrap: break-word;
}
.hero__sub {
  margin-top: 1.6rem; max-width: 56ch; font-size: clamp(1rem, 1.4vw, 1.22rem);
  color: var(--titanium-dim); font-weight: 300;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.62rem; letter-spacing: 0.32em; color: var(--titanium-mut); }
.hero__scroll i { width: 1px; height: 42px; background: linear-gradient(var(--titanium-mut), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; top: 0; left: 0; width: 1px; height: 14px;
  background: var(--titanium); animation: scrolldot 2.2s var(--ease) infinite; }
@keyframes scrolldot { 0% { transform: translateY(-14px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(42px); opacity: 0; } }

/* --------------------------- stats strip ------------------------- */
.strip { border-bottom: 1px solid var(--hair); background: var(--obsidian-2); }
.strip__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { padding: clamp(28px, 4vw, 46px) clamp(14px, 2vw, 28px); border-left: 1px solid var(--hair); }
.strip__item:first-child { border-left: none; }
.strip__item b { display: block; font-family: var(--display); font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -0.02em; line-height: 1; }
.strip__item span { display: block; margin-top: 0.55rem; font-size: 0.82rem; color: var(--titanium-mut);
  letter-spacing: 0.04em; }

/* --------------------------- section base ------------------------ */
.section { padding-block: clamp(80px, 12vw, 160px); position: relative; }
.section__label { color: var(--titanium-mut); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; }
.section__title { font-family: var(--display); font-weight: 600;
  font-size: clamp(2rem, 4.8vw, 3.6rem); line-height: 1.04; letter-spacing: -0.02em; margin-top: 0.7rem; }
.section__body { margin-top: 1.3rem; color: var(--titanium-dim); font-size: clamp(1rem, 1.2vw, 1.12rem);
  font-weight: 300; max-width: 52ch; }
.section__head { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: clamp(48px, 7vw, 84px); }
.section__body--center { margin-inline: auto; }

/* ---------------------- module 1: Lineo split -------------------- */
.lineo { background:
    linear-gradient(180deg, var(--obsidian) 0%, var(--slate-900) 100%); }
.split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 6vw, 96px); align-items: center; }

.feature-list { display: grid; gap: 1.4rem; margin-top: 2.2rem; }
.feature-list li { display: flex; gap: 1rem; align-items: flex-start; }
.feature-list__ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--hair); background: var(--glass); color: var(--ice); }
.feature-list__ico svg { width: 20px; height: 20px; }
.feature-list b { font-weight: 600; font-size: 1.02rem; }
.feature-list p { color: var(--titanium-mut); font-size: 0.94rem; font-weight: 300; margin-top: 2px; }
.lineo .link-arrow { margin-top: 2.4rem; }

/* perspective dashboard */
.split__visual { perspective: 1800px; }
.dash { position: relative; transform-style: preserve-3d;
  transform: rotateY(-17deg) rotateX(7deg); transition: transform .6s var(--ease); }
.dash__pane { position: absolute; inset: 0; border: 1px solid var(--hair); background: var(--glass); }
.dash__pane--back { transform: translateZ(-90px) translate(7%, 9%) scale(0.96); opacity: 0.35; }
.dash__pane--mid  { transform: translateZ(-46px) translate(3.5%, 4.5%) scale(0.985); opacity: 0.6; }

.dash__card { position: relative; box-shadow: var(--shadow-float);
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  overflow: hidden; }
.dash__card::after {  /* refractive top-edge sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0.12), transparent 28%);
  mix-blend-mode: screen; opacity: 0.6;
}
.dash__bar { display: flex; align-items: center; gap: 0.8rem; padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--hair); }
.dash__dots { display: inline-flex; gap: 5px; }
.dash__dots i { width: 7px; height: 7px; background: var(--slate-500); }
.dash__title { font-size: 0.8rem; color: var(--titanium-dim); letter-spacing: 0.04em; }
.dash__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.64rem; letter-spacing: 0.18em; color: var(--ice); }
.dash__live i { width: 6px; height: 6px; border-radius: 999px; background: var(--ice); box-shadow: 0 0 10px var(--ice); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.dash__body { padding: 1.1rem; display: grid; gap: 1.05rem; }
.dash__h { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--titanium-mut); margin-bottom: 0.6rem; }

/* ───── Daily Schedule mockup (mirrors the Lineo app) ───── */
.sched { position: relative; padding: 1rem 1.05rem 1.15rem;
  --ava-ring: #15171b;        /* matches dark card surface; overridden on light */
  --line: var(--hair); }

/* toolbar */
.sched__top { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.05rem; }
.sched__name { font-size: 0.95rem; font-weight: 700; letter-spacing: -0.015em; }
.sched__date { font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--titanium-mut); margin-top: 3px; }
.sched__nav { margin-left: auto; display: inline-flex; align-items: center; gap: 0.5rem; }
.sched__arrow { width: 19px; height: 19px; display: grid; place-items: center; font-size: 0.82rem; line-height: 1;
  color: var(--titanium-dim); border: 1px solid var(--hair-strong); border-radius: 6px; }
.sched__pick { font-size: 0.74rem; font-weight: 600; padding: 0.3rem 0.62rem; border: 1px solid var(--hair-strong); border-radius: 7px;
  background: var(--glass); display: inline-flex; align-items: baseline; gap: 0.4rem; }
.sched__pick em { font-style: normal; font-size: 0.54rem; letter-spacing: 0.08em; color: var(--titanium-mut); text-transform: uppercase; }
.sched__new { font-size: 0.7rem; font-weight: 600; padding: 0.4rem 0.7rem; border-radius: 8px;
  background: var(--titanium); color: var(--obsidian); white-space: nowrap; box-shadow: var(--shadow-card); }

/* staff header */
.sched__staffrow { display: grid; grid-template-columns: 26px repeat(4, 1fr); column-gap: 0.45rem; margin-bottom: 0.55rem; align-items: start; }
.scol__staff { display: grid; justify-items: center; gap: 3px; text-align: center; }
.ava { position: relative; width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.02em; color: #fff;
  background: var(--ice-strong);            /* flat solid — no gradient */
  box-shadow: 0 2px 6px -2px rgba(0,0,0,0.3); }
.ava--off { background: #9ca3af; color: #fff; }   /* flat grey, like the app's inactive avatar */
.ava__dot { position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; border-radius: 999px;
  background: #4fbf8b; box-shadow: 0 0 0 2px var(--ava-ring); }
.ava__badge { position: absolute; top: -5px; right: -6px; min-width: 14px; height: 14px; padding: 0 3px;
  border-radius: 999px; background: var(--obsidian); color: #fff; font-size: 0.5rem; font-weight: 700;
  display: grid; place-items: center; box-shadow: 0 0 0 2px var(--ava-ring); }
.scol__staff b { font-size: 0.68rem; font-weight: 600; line-height: 1.15; }
.scol__staff em { font-style: normal; font-size: 0.5rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--titanium-mut); }
.scol__flag { color: var(--ice-strong) !important; font-weight: 600; }

/* calendar body — gutter + 4 aligned columns */
.sched__body { position: relative; display: grid; grid-template-columns: 26px repeat(4, 1fr); column-gap: 0.45rem; }
.sched__time { position: relative; }
.sched__time span { position: absolute; right: 2px; transform: translateY(-50%); font-size: 0.5rem; letter-spacing: 0.04em;
  color: var(--titanium-mut); white-space: nowrap; }

.scol__track { position: relative; height: 172px;
  border-top: 1px solid var(--hair-strong);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(33.333% - 1px), var(--line) calc(33.333% - 1px), var(--line) 33.333%); }
.scol__track--hatch { border-top-color: transparent;
  background-image: none; background-color: rgba(120,128,140,0.10); }   /* flat tint for on-leave */

/* "now" indicator */
.sched__now { position: absolute; left: calc(26px + 0.45rem); right: 0; pointer-events: none;
  border-top: 1px solid rgba(143,180,214,0.55); }
.sched__now i { position: absolute; left: -3px; top: -3.5px; width: 7px; height: 7px; border-radius: 999px;
  background: var(--ice-strong); box-shadow: 0 0 9px rgba(143,180,214,0.85); }

/* event blocks */
.ev { position: absolute; left: 2px; right: 2px; overflow: hidden; border-radius: 7px;
  padding: 0.36rem 0.44rem; border: 1px solid transparent; border-left-width: 3px;
  background: rgba(143,180,214,0.16); }   /* flat — solid tint, solid borders, no gradient/shadow */
.ev__row { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; }
.ev__row em { font-style: normal; font-size: 0.52rem; color: var(--titanium-dim); font-weight: 600; letter-spacing: 0.02em; }
.ev__dur { font-size: 0.46rem; font-weight: 600; letter-spacing: 0.05em; color: var(--titanium-mut); }
.ev__client { display: block; font-size: 0.68rem; font-weight: 600; margin-top: 2px; line-height: 1.1; }
.ev__svc { display: block; font-size: 0.5rem; color: var(--titanium-mut); margin-top: 1px; }
.ev--ice  { border-color: rgba(143,180,214,0.5);  border-left-color: var(--ice-strong); background: rgba(143,180,214,0.16); }
.ev--mint { border-color: rgba(92,196,154,0.5);   border-left-color: #5cc49a; background: rgba(92,196,154,0.16); }
.ev--rose { border-color: rgba(201,138,166,0.5);  border-left-color: #c98aa6; background: rgba(201,138,166,0.16); }
.ev--empty { border: 1px dashed var(--hair-strong); background: transparent; box-shadow: none; display: grid; place-items: center; }
.ev__idle { font-size: 0.5rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--titanium-mut); }
.scol--leave .scol__staff b { color: var(--titanium-dim); }

/* floating insights pill — flat solid dark chip, mirrors the app FAB */
.sched__insight { position: absolute; right: 1.05rem; bottom: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.42rem; font-size: 0.64rem; font-weight: 600;
  padding: 0.44rem 0.72rem; border-radius: 10px; color: #fff;
  background: #101316;                 /* flat — no gradient */
  box-shadow: 0 14px 30px -12px rgba(0,0,0,0.5); }
.sched__insight svg { width: 13px; height: 13px; color: var(--ice); }

/* ---------------------- module 2: Yuma bento --------------------- */
.yuma { background: var(--obsidian-2); border-block: 1px solid var(--hair); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }

.tile { position: relative; overflow: hidden; border: 1px solid var(--hair);
  background: var(--glass); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
  display: flex; }
.tile:hover { transform: translateY(-6px); border-color: var(--hair-strong); box-shadow: var(--shadow-card); }
.tile::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), transparent 40%); }

.tile--lg   { grid-column: span 2; grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile--stat { flex-direction: column; justify-content: center; align-items: flex-start; gap: 0.4rem; padding: 1.6rem; }
.tile--stat b { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; }
.tile--stat span { color: var(--titanium-mut); font-size: 0.86rem; max-width: 22ch; }

/* cool studio-lit "macro" placeholders (monochrome, on-brand) */
.tile__media { position: absolute; inset: 0; z-index: 0; }
.tile__spot { position: absolute; inset: 0; }
.tile__media--cake {
  background:
    radial-gradient(120% 90% at 70% 18%, rgba(188,210,230,0.16), transparent 55%),
    radial-gradient(closest-side at 64% 60%, rgba(255,255,255,0.10), transparent 70%),
    repeating-radial-gradient(circle at 64% 64%, rgba(255,255,255,0.05) 0 1px, transparent 1px 16px),
    linear-gradient(180deg, var(--slate-700), var(--slate-900));
}
.tile__media--tiffin {
  background:
    radial-gradient(90% 80% at 30% 25%, rgba(160,185,210,0.14), transparent 60%),
    radial-gradient(closest-side at 42% 62%, rgba(255,255,255,0.09), transparent 72%),
    linear-gradient(180deg, var(--slate-700), var(--slate-900));
}
.tile__media--sweet {
  background:
    radial-gradient(90% 80% at 70% 30%, rgba(150,175,205,0.13), transparent 60%),
    radial-gradient(closest-side at 60% 64%, rgba(255,255,255,0.08), transparent 72%),
    linear-gradient(180deg, var(--slate-700), var(--slate-900));
}

.tile__overlay { position: relative; z-index: 1; padding: clamp(1.2rem, 2vw, 1.9rem);
  display: flex; flex-direction: column; gap: 0.4rem; width: 100%; }
.tile__overlay--bottom { margin-top: auto; }
.tile__tag { font-size: 0.62rem; letter-spacing: 0.22em; color: var(--titanium-mut); margin-bottom: 0.3rem; }
.tile h3 { font-family: var(--display); font-weight: 600; font-size: 1.18rem; letter-spacing: -0.01em; }
.tile p { color: var(--titanium-dim); font-size: 0.9rem; font-weight: 300; }

/* delivery route accent */
.tile__route { position: absolute; inset: auto 0 0 0; height: 60%; z-index: 0; color: var(--ice); opacity: 0.55; }
.tile__route svg { width: 100%; height: 100%; }

/* cake customizer card */
.customizer { margin-top: auto; padding: 1rem; max-width: 320px; box-shadow: var(--shadow-card); }
.customizer__h { font-family: var(--display); font-weight: 600; font-size: 0.96rem; margin-bottom: 0.7rem; }
.cz-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.5rem 0; border-top: 1px solid var(--hair); position: relative; }
.cz-row:first-of-type { border-top: none; }
.cz-row > span { font-size: 0.8rem; color: var(--titanium-mut); }
.cz-select { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 500;
  padding: 0.4rem 0.7rem; border: 1px solid var(--hair); background: var(--glass-2); }
.cz-select svg { width: 11px; height: 11px; color: var(--titanium-mut); }
.cz-select--active { border-color: var(--hair-strong); }
.cz-menu { display: none; position: absolute; top: calc(100% - 2px); right: 0; z-index: 3; width: 180px;
  background: rgba(12,13,15,0.96); border: 1px solid var(--hair-strong); box-shadow: var(--shadow-float);
  backdrop-filter: blur(var(--blur)); }
.cz-row--open .cz-menu { display: block; }
.cz-opt { cursor: pointer; transition: color .2s var(--ease), background .2s var(--ease); }
.cz-opt:hover { color: var(--titanium); background: var(--glass-2); }
.cz-opt { display: block; padding: 0.55rem 0.7rem; font-size: 0.8rem; color: var(--titanium-dim);
  border-top: 1px solid var(--hair); }
.cz-opt:first-child { border-top: none; }
.cz-opt--sel { color: var(--titanium); background: var(--glass-2); }
.customizer__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.8rem;
  padding-top: 0.8rem; border-top: 1px solid var(--hair); }
.customizer__foot b { font-family: var(--display); font-size: 1.1rem; letter-spacing: -0.01em; }

/* ----------------------- module 3: team -------------------------- */
.team { background: linear-gradient(180deg, var(--obsidian-2), var(--obsidian)); }
.team__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 26px); }
.id-card { padding: 0; overflow: hidden; transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease); }
.id-card:hover { transform: translateY(-8px); border-color: var(--hair-strong); box-shadow: var(--shadow-card); }

/* cool studio "headshot" rendered in CSS — floating identity render */
.id-card__photo { position: relative; aspect-ratio: 4 / 4.3; overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(188,210,230,0.18), transparent 55%),
    linear-gradient(180deg, var(--slate-600), var(--slate-800) 70%, var(--slate-900)); }
.id-card__photo::before {  /* shoulders */
  content: ""; position: absolute; left: 50%; bottom: -8%; width: 78%; aspect-ratio: 1.7 / 1;
  transform: translateX(-50%); border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02));
}
.id-card__photo::after {   /* head */
  content: ""; position: absolute; left: 50%; top: 26%; width: 38%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(60% 60% at 42% 32%, rgba(255,255,255,0.28), rgba(255,255,255,0.06) 70%, transparent);
}
.id-card__photo[data-shade="1"] { filter: brightness(1.08) contrast(1.02); }
.id-card__photo[data-shade="2"] { filter: brightness(0.94) hue-rotate(-6deg); }
.id-card__photo[data-shade="3"] { filter: brightness(1.03) contrast(0.98); }
.id-card figcaption { padding: 1.2rem 1.2rem 1.5rem; }
.id-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; }
.id-card__role { color: var(--ice); font-size: 0.82rem; margin-top: 2px; }
.id-card__bio { color: var(--titanium-mut); font-size: 0.86rem; font-weight: 300; margin-top: 0.7rem; line-height: 1.55; }

/* ------------------------------ CTA ------------------------------ */
.cta { position: relative; overflow: hidden; border-top: 1px solid var(--hair);
  padding-block: clamp(90px, 13vw, 170px); text-align: center; background: var(--obsidian); }
.cta__glow { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(600px 400px at 50% 120%, rgba(143,180,214,0.18), transparent 60%),
    radial-gradient(800px 300px at 50% -20%, rgba(120,150,180,0.10), transparent 60%);
}
.cta__inner { position: relative; z-index: 1; max-width: 760px; }
.cta__title { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; margin-top: 1rem;
  font-size: clamp(2.1rem, 5.2vw, 4rem); line-height: 1.02; }
.cta__sub { color: var(--titanium-dim); font-size: clamp(1rem, 1.3vw, 1.18rem); font-weight: 300; margin-top: 1rem; }
.cta__actions { display: flex; gap: 1rem; justify-content: center; margin-top: 2.3rem; flex-wrap: wrap; }

/* ---------------------------- footer ----------------------------- */
.footer { position: relative; overflow: hidden; background: var(--obsidian); border-top: 1px solid var(--hair);
  padding-top: clamp(56px, 7vw, 88px); }
.footer__top { display: grid; grid-template-columns: 1.3fr 2.7fr; gap: clamp(36px, 5vw, 80px);
  padding-bottom: clamp(40px, 5vw, 64px); }
.footer__tag { color: var(--titanium-mut); font-size: 0.9rem; font-weight: 300; margin-top: 1rem; max-width: 30ch; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.6rem; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--hair);
  color: var(--titanium-dim); transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.socials a:hover { color: var(--titanium); border-color: var(--hair-strong); transform: translateY(-3px); }

.footer__cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.footer__col h4 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--titanium); margin-bottom: 1rem; }
.footer__col a { display: block; padding: 0.55rem 0; font-size: 0.9rem; line-height: 1.4; color: var(--titanium-mut);
  transition: color .25s var(--ease); }
.footer__col a:hover { color: var(--titanium); }

.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.6rem 0 2rem; border-top: 1px solid var(--hair); }
.footer__bottom p { color: var(--titanium-mut); font-size: 0.84rem; }
.footer__legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__legal a { color: var(--titanium-mut); font-size: 0.84rem; transition: color .25s var(--ease); }
.footer__legal a:hover { color: var(--titanium); }

.footer__watermark { font-family: var(--display); font-weight: 700; letter-spacing: 0.04em;
  font-size: clamp(4rem, 22vw, 18rem); line-height: 0.8; text-align: center; pointer-events: none; user-select: none;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.05);
  margin-bottom: -0.16em; transform: translateY(28%); opacity: 0.9; }

/* ======================= PREMIUM LAYER ========================== */

::selection { background: rgba(143,180,214,0.28); color: #fff; }

/* scroll progress bar */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 300;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--ice-strong), var(--titanium));
  box-shadow: 0 0 12px rgba(143,180,214,0.6); }

/* nav: condense on scroll */
.nav { transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.nav__inner { transition: height .4s var(--ease); }
.nav.is-scrolled { background: rgba(6,6,7,0.82); box-shadow: 0 1px 0 var(--hair), 0 24px 50px -34px rgba(0,0,0,0.9); }
.nav.is-scrolled .nav__inner { height: 58px; }

/* hero: animated aurora mesh + shimmering headline */
.hero { background: var(--obsidian); }
.hero__aurora { position: absolute; inset: -25%; z-index: -3; pointer-events: none; opacity: 0.55;
  filter: blur(90px) saturate(125%);
  background:
    radial-gradient(38% 38% at 28% 32%, rgba(143,180,214,0.32), transparent 70%),
    radial-gradient(34% 34% at 72% 38%, rgba(120,150,196,0.24), transparent 70%),
    radial-gradient(42% 42% at 52% 78%, rgba(96,124,168,0.20), transparent 72%);
  animation: aurora 20s ease-in-out infinite alternate; }
@keyframes aurora { 0% { transform: translate3d(-3%,-2%,0) scale(1); } 100% { transform: translate3d(3%,4%,0) scale(1.12); } }

.grad { background-size: 200% auto; animation: gradShift 9s linear infinite; }
@keyframes gradShift { to { background-position: 200% center; } }

/* announcement pill */
.pill-badge { display: inline-flex; align-items: center; gap: 0.6em; padding: 0.4em 0.95em 0.4em 0.45em;
  border-radius: var(--r-pill); border: 1px solid var(--hair); background: var(--glass);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 0.8rem; color: var(--titanium-dim); white-space: nowrap; max-width: 100%;
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.pill-badge__txt { overflow: hidden; text-overflow: ellipsis; }
.pill-badge:hover { color: var(--titanium); border-color: var(--hair-strong); transform: translateY(-2px); }
.pill-badge__tag { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em; padding: 0.32em 0.6em;
  border-radius: var(--r-pill); background: var(--ice-strong); color: #06131f; }
.pill-badge svg { transition: transform .3s var(--ease); }
.pill-badge:hover svg { transform: translateX(3px); }

/* cursor spotlight on glass cards */
.tile::after, .id-card::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen;
  opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, -40%), rgba(190,212,234,0.16), transparent 62%); }
.tile:hover::after, .id-card:hover::after { opacity: 1; }

/* trusted-by marquee */
.trusted { padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--hair); background: var(--obsidian); }
.trusted__label { text-align: center; font-size: 0.68rem; letter-spacing: 0.26em; color: var(--titanium-mut);
  margin-bottom: clamp(22px, 3vw, 34px); padding-inline: var(--gut); }
.marquee { overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(2.5rem, 5vw, 5rem); width: max-content;
  animation: marquee 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--display); font-weight: 600; white-space: nowrap;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem); letter-spacing: 0.04em; color: var(--titanium-mut); opacity: 0.65;
  transition: color .3s var(--ease), opacity .3s var(--ease); }
.marquee__track span:hover { color: var(--titanium); opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* testimonial */
.quote-sec { position: relative; overflow: hidden; text-align: center; border-top: 1px solid var(--hair);
  background: linear-gradient(180deg, var(--obsidian-2), var(--obsidian)); }
.quote-sec__glow { position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(720px 360px at 50% -5%, rgba(143,180,214,0.12), transparent 62%); }
.quote { position: relative; z-index: 1; max-width: 960px; margin-inline: auto; }
.quote__mark { font-family: var(--display); font-weight: 700; line-height: 0.5; height: 0.42em; user-select: none;
  font-size: clamp(6rem, 14vw, 11rem); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.10); }
.quote__text { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; text-wrap: balance;
  font-size: clamp(1.5rem, 3.6vw, 2.7rem); line-height: 1.28; }
.quote__cite { display: inline-flex; align-items: center; gap: 0.9rem; text-align: left;
  margin-top: clamp(2rem, 3vw, 2.6rem); }
.quote__avatar { width: 48px; height: 48px; flex: none; border: 1px solid var(--hair);
  background: radial-gradient(60% 60% at 40% 30%, rgba(255,255,255,0.25), transparent 70%),
              linear-gradient(180deg, var(--slate-600), var(--slate-800)); }
.quote__who b { display: block; font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; }
.quote__who span { display: block; margin-top: 3px; color: var(--titanium-dim); font-size: 0.92rem; font-weight: 500; }

/* CTA glow breathes */
.cta__glow { animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 0%,100% { opacity: 0.7; } 50% { opacity: 1; } }

/* --------------------------- responsive -------------------------- */
@media (max-width: 980px) {
  .nav__links, .nav__signin { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile.is-open { display: flex; }

  .split { grid-template-columns: 1fr; gap: 56px; }
  .split__visual { perspective: none; max-width: 560px; }
  .dash { transform: none; }
  .dash__pane { display: none; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--lg { grid-row: span 2; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .strip__row { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }
  .strip__item:nth-child(odd) { border-left: none; }

  .bento { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .tile--lg, .tile--wide { grid-column: span 1; }
  .tile--lg { grid-row: span 2; }

  .team__row { grid-template-columns: 1fr 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .team__row { grid-template-columns: 1fr; }
}

/* --------------------- motion / a11y preferences ----------------- */
@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; }
  .reveal { opacity: 1; transform: none; }
}
