/* ==========================================================================
   sigiLabs — Ideas, switched on.
   ========================================================================== */

:root {
  --ink: #0b0610;
  --ink-2: #120a16;
  --ink-3: #1a111f;
  --ink-4: #241829;
  --paper: #f6efe7;
  --paper-2: #e9dfd4;
  --muted: rgba(246, 239, 231, 0.62);
  --faint: rgba(246, 239, 231, 0.38);
  --line: rgba(246, 239, 231, 0.09);
  --line-2: rgba(246, 239, 231, 0.16);
  --amber: #ffb46a;
  --amber-2: #ff8a3d;
  --filament: #ffd9a0;
  --lavender: #c4b2d6;
  --plum: #5b2a4e;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --nav-h: 76px;
  --radius: 22px;
  --radius-lg: 32px;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --mx: 50vw;
  --my: 50vh;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  background: var(--ink);
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(91, 42, 78, 0.35), transparent 60%),
    var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
em { font-style: italic; }

::selection { background: var(--amber); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }

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

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--amber); color: var(--ink);
  padding: 10px 16px; border-radius: 999px; font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Ambient layers ---------- */

.grain {
  position: fixed; inset: -50%;
  z-index: 90; pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.cursor-light {
  position: fixed; left: 0; top: 0;
  width: 560px; height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(255, 180, 106, 0.10), rgba(255, 138, 61, 0.04) 35%, transparent 65%);
  transform: translate3d(var(--mx), var(--my), 0);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  mix-blend-mode: screen;
}
.has-pointer .cursor-light { opacity: 1; }

/* ---------- Buttons ---------- */

.btn {
  --pad-x: 26px;
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 var(--pad-x);
  border-radius: 999px;
  font-weight: 500; font-size: 15px; letter-spacing: 0.005em;
  white-space: nowrap;
  transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s, box-shadow 0.4s var(--ease), border-color 0.3s;
  will-change: transform;
}
.btn--small { height: 42px; --pad-x: 18px; font-size: 14px; }
.btn--xl { height: 68px; --pad-x: 34px; font-size: 18px; }

.btn--amber {
  background: linear-gradient(180deg, #ffc58a, var(--amber) 45%, var(--amber-2));
  color: #1b0c05;
  box-shadow:
    0 0 0 1px rgba(255, 210, 160, 0.5) inset,
    0 10px 30px -10px rgba(255, 138, 61, 0.7),
    0 0 60px -10px rgba(255, 170, 90, 0.45);
}
.btn--amber:hover {
  box-shadow:
    0 0 0 1px rgba(255, 220, 180, 0.7) inset,
    0 16px 40px -12px rgba(255, 138, 61, 0.85),
    0 0 90px -10px rgba(255, 170, 90, 0.6);
}
.btn--ghost {
  border: 1px solid var(--line-2);
  background: rgba(246, 239, 231, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: rgba(255, 180, 106, 0.55); color: var(--filament); }

/* ---------- Nav ---------- */

.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 80;
  height: var(--nav-h);
  transition: transform 0.5s var(--ease), opacity 0.4s, background-color 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 6, 16, 0.62);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); opacity: 0; }
.nav__inner {
  height: 100%;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 34px; height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 180, 106, 0.45)) drop-shadow(0 0 1px rgba(255, 210, 160, 0.9));
}
.brand__word { font-family: var(--serif); font-size: 28px; letter-spacing: -0.01em; line-height: 1; }
.brand__word span { font-style: italic; color: var(--amber); }

.nav__links { display: flex; gap: 6px; padding: 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(18, 10, 22, 0.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav__links a { padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color 0.3s, background-color 0.3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--paper); background: rgba(246, 239, 231, 0.07); }

.nav__right { display: flex; align-items: center; gap: 16px; }
.nav__clock { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); display: inline-block; }
.dot--live { background: #6fe3a0; box-shadow: 0 0 10px #6fe3a0; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--paper); transition: transform 0.4s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0;
  background: rgba(11, 6, 16, 0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 12px var(--gutter) 28px;
  display: grid;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-family: var(--serif); font-size: 36px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { color: var(--amber); font-style: italic; border: 0; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto auto;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 28px;
  overflow: hidden;
  isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 20% 50%;
  filter: brightness(0.08) saturate(0.6);
  transform: scale(1.06);
  animation: bulb-on 2.6s 0.25s var(--ease) forwards;
}
@keyframes bulb-on {
  0%   { filter: brightness(0.08) saturate(0.6); }
  8%   { filter: brightness(0.7) saturate(1); }
  12%  { filter: brightness(0.12) saturate(0.6); }
  20%  { filter: brightness(0.9) saturate(1); }
  24%  { filter: brightness(0.3) saturate(0.8); }
  34%  { filter: brightness(1.05) saturate(1.05); }
  100% { filter: brightness(1) saturate(1.05); transform: scale(1); }
}
.hero__glow {
  position: absolute;
  left: var(--bx, 22%); top: var(--by, 61%);
  width: min(70vw, 900px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 190, 110, 0.32), rgba(255, 140, 60, 0.12) 30%, transparent 62%);
  mix-blend-mode: screen;
  opacity: 0;
  animation: glow-in 2.6s 0.25s var(--ease) forwards, breathe 5s 3s ease-in-out infinite;
}
@keyframes glow-in { 0%, 30% { opacity: 0; } 34% { opacity: 1; } 100% { opacity: 0.85; } }
@keyframes breathe { 50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.06); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 6, 16, 0.55) 0%, transparent 22%, transparent 48%, rgba(11, 6, 16, 0.75) 78%, var(--ink) 100%),
    radial-gradient(60% 50% at var(--mx) var(--my), transparent, rgba(11, 6, 16, 0.25));
}

.hero__mascot {
  position: absolute;
  right: clamp(4%, 9vw, 14%);
  top: calc(var(--nav-h) + 4vh);
  width: clamp(200px, 25vw, 400px);
  z-index: 0;
  perspective: 900px;
  opacity: 0;
  animation: rise 1.4s 1.1s var(--ease) forwards;
}
.hero__mascot-inner {
  position: relative;
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transition: transform 0.8s var(--ease);
  transform-style: preserve-3d;
}
.hero__mascot img {
  width: 100%;
  filter:
    drop-shadow(-14px 0 34px rgba(255, 170, 90, 0.38))
    drop-shadow(-1px 0 0 rgba(255, 205, 150, 0.85));
}
.hero__glint {
  position: absolute; inset: 0;
  -webkit-mask: url("../img/brand/sigilabs-mascot.webp") center / 100% 100% no-repeat;
  mask: url("../img/brand/sigilabs-mascot.webp") center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 236, 210, 0.75) 48%, rgba(255, 255, 255, 0.0) 56%) no-repeat;
  background-size: 260% 100%;
  background-position: 140% 0;
  mix-blend-mode: overlay;
  animation: glint 6s 2.6s var(--ease-in-out) infinite;
}
@keyframes glint { 0% { background-position: 140% 0; } 30%, 100% { background-position: -60% 0; } }

.hero__status {
  position: absolute;
  left: 50%; bottom: -8px;
  transform: translate(-50%, 100%);
  display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(18, 10, 22, 0.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--muted);
  font-size: 11px;
}
.hero__status .dot { margin-right: 6px; }
.hero__rotator { color: var(--filament); }
.caret { color: var(--amber); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero__content {
  position: relative; z-index: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  max-width: var(--max); width: 100%; margin: 0 auto;
}
.hero__title { font-weight: 400; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--amber); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero__display { display: block; font-family: var(--serif); font-size: clamp(64px, 11.5vw, 196px); line-height: 0.86; letter-spacing: -0.035em; }
.hero__display .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__display .line > * { display: inline-block; transform: translateY(105%); animation: line-up 1.3s var(--ease) forwards; }
.hero__display .line:nth-child(1) > * { animation-delay: 1.0s; }
.hero__display .line:nth-child(2) > * { animation-delay: 1.15s; }
@keyframes line-up { to { transform: translateY(0); } }

.filament {
  font-style: italic;
  background: linear-gradient(100deg, #fff1d6 0%, var(--filament) 25%, var(--amber) 55%, var(--amber-2) 85%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: 0.08em;
}
.contact .filament { filter: drop-shadow(0 0 28px rgba(255, 160, 80, 0.35)); }

.hero__aside { padding-bottom: 14px; opacity: 0; animation: rise 1.2s 1.5s var(--ease) forwards; }
.hero__lede { font-size: clamp(16px, 1.25vw, 19px); color: var(--muted); max-width: 42ch; }
.hero__lede strong { color: var(--paper); font-weight: 500; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__meta {
  grid-row: 3;
  display: flex; justify-content: space-between; gap: 20px;
  max-width: var(--max); width: 100%; margin: 40px auto 0;
  padding-top: 20px; border-top: 1px solid var(--line);
  color: var(--faint);
  opacity: 0; animation: rise 1s 1.8s var(--ease) forwards;
}
.hero__meta b { color: var(--paper); font-weight: 500; margin-right: 6px; }
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll i { width: 1px; height: 26px; background: linear-gradient(var(--amber), transparent); animation: drip 2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 22px 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: 36px;
  width: max-content;
  animation: marquee 42s linear infinite;
  font-family: var(--serif); font-size: clamp(30px, 4vw, 56px); line-height: 1;
}
.marquee__track span:nth-of-type(even) { font-style: italic; color: var(--lavender); }
.marquee__track i { font-style: normal; color: var(--amber); font-size: 0.5em; }
@keyframes marquee { to { transform: translateX(-50%); } }

.marquee--thin { border: 0; padding: 14px 0; }
.marquee--thin .marquee__track { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; gap: 14px; animation-duration: 55s; }
.marquee--thin .marquee__track span { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-style: normal !important; }

/* ---------- Sections ---------- */

.section { position: relative; padding-block: clamp(88px, 11vw, 160px); }
.platforms { padding-bottom: clamp(48px, 6vw, 96px); }

.section-label { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); margin-bottom: 28px; }
.section-label span { color: var(--amber); }
.section-label::after { content: ""; width: 48px; height: 1px; background: var(--line-2); }

.section-head { margin-bottom: clamp(48px, 7vw, 96px); max-width: 980px; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }

.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 6.4vw, 104px);
  line-height: 0.95; letter-spacing: -0.03em;
}
.section-title em { color: var(--amber); }
.section-intro { color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); max-width: 52ch; margin-top: 28px; }
.section-head--split .section-intro { margin-top: 0; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--rd, 0s); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Manifesto ---------- */

.manifesto__text {
  font-family: var(--serif);
  font-size: clamp(34px, 5.2vw, 88px);
  line-height: 1.04; letter-spacing: -0.02em;
  max-width: 25ch;
}
.manifesto__text .w { opacity: 0.16; transition: opacity 0.4s linear, color 0.4s linear, text-shadow 0.4s; }
.manifesto__text .w.on { opacity: 1; }
.manifesto__text .w.hot { color: var(--filament); text-shadow: 0 0 24px rgba(255, 180, 106, 0.4); font-style: italic; }

.manifesto__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(64px, 9vw, 128px); align-items: start; }
.definition { color: var(--muted); font-size: clamp(17px, 1.35vw, 20px); max-width: 48ch; border-left: 1px solid var(--amber); padding-left: 24px; }
.definition strong { color: var(--paper); font-weight: 500; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.stats > div { padding: 28px 0 24px; border-bottom: 1px solid var(--line); }
.stats > div:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line); }
.stats > div:nth-child(even) { padding-left: 28px; }
.stats dt { color: var(--faint); margin-bottom: 10px; }
.stats dd { font-family: var(--serif); font-size: clamp(56px, 6vw, 92px); line-height: 0.9; letter-spacing: -0.03em; }

/* ---------- Platforms ---------- */

.platforms__stack { display: grid; gap: 28px; }

.platform {
  position: sticky;
  top: calc(var(--nav-h) + 16px + var(--i) * 14px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 64px);
  min-height: min(760px, calc(100svh - var(--nav-h) - 60px));
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%),
    radial-gradient(80% 70% at 0% 100%, color-mix(in srgb, var(--accent-2) 10%, transparent), transparent 60%),
    linear-gradient(180deg, #170e1c, #100913);
  box-shadow: 0 -30px 80px -40px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  overflow: hidden;
  transform-origin: 50% 0;
  transform: scale(var(--s, 1));
  filter: brightness(var(--b, 1));
  will-change: transform;
}
.platform::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask: radial-gradient(70% 60% at 80% 40%, #000, transparent 75%);
  mask: radial-gradient(70% 60% at 80% 40%, #000, transparent 75%);
  opacity: 0.5;
}

.platform__info { position: relative; display: flex; flex-direction: column; }
.platform__meta { display: flex; justify-content: space-between; gap: 16px; color: var(--faint); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.platform__meta span:first-child { color: var(--accent); }
.platform__name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(60px, 7vw, 120px);
  line-height: 0.9; letter-spacing: -0.035em;
  margin-top: clamp(24px, 3vw, 40px);
}
.platform__name sup { font-size: 0.3em; vertical-align: top; position: relative; top: 0.35em; color: var(--accent); font-family: var(--sans); }
.platform__name .dim { color: var(--accent); font-style: italic; }
.platform__tagline { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; color: var(--paper-2); margin-top: 16px; max-width: 26ch; }
.platform__desc { color: var(--muted); margin-top: 18px; max-width: 56ch; font-size: 16px; }

.platform__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.platform__facts li { padding: 14px 14px 12px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.platform__facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1; color: var(--paper); }
.platform__facts span { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.35; color: var(--faint); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { font-size: 10.5px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }

.platform__link {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; margin-block-start: 28px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  font-weight: 500; font-size: 15px;
  transition: background-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.platform__link:hover { background: color-mix(in srgb, var(--accent) 26%, transparent); box-shadow: 0 0 40px -6px color-mix(in srgb, var(--accent) 60%, transparent); }

/* ---------- Demo UI (generic) ---------- */

.demo {
  position: relative;
  align-self: center;
  display: flex; flex-direction: column; gap: 14px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 0 120px -40px var(--accent);
  font-size: 14px;
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
  transition: transform 1s var(--ease);
}
.platform:hover .demo { transform: perspective(1400px) rotateY(0) rotateX(0); }

.demo__bar { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); padding: 2px 4px 10px; border-bottom: 1px solid var(--line); }
.demo__bar em { color: var(--faint); font-style: normal; }
.demo__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.seq { opacity: 0; transform: translateY(12px) scale(0.98); }
.is-playing .seq { animation: pop 0.7s var(--d, 0s) var(--ease) forwards; }
@keyframes pop { to { opacity: 1; transform: none; } }

.pill { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(111, 227, 160, 0.14); color: #8ef0b8; border: 1px solid rgba(111, 227, 160, 0.3); white-space: nowrap; }

/* Handl */
.demo__msg {
  position: relative;
  align-self: flex-start; max-width: 88%;
  background: #202c33; color: #e9edef;
  padding: 12px 14px 22px; border-radius: 4px 16px 16px 16px;
  font-size: 13.5px; line-height: 1.5;
}
.demo__msg time, .wa time { position: absolute; right: 10px; bottom: 5px; font-size: 10.5px; color: rgba(233, 237, 239, 0.55); }
.demo__beam { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--accent); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.demo__beam::before, .demo__beam::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--accent), transparent); background-size: 200% 100%; animation: beam 1.6s linear infinite; }
@keyframes beam { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.demo__order { border-radius: 18px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: rgba(12, 8, 20, 0.6); overflow: hidden; }
.demo__order-head, .demo__order-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; font-size: 13px; }
.demo__order-head { border-bottom: 1px solid var(--line); font-weight: 500; }
.demo__order-foot { border-top: 1px solid var(--line); color: var(--faint); font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.demo__order-foot span:first-child { color: var(--accent); }
.demo__order .row { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 9px 14px; font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.demo__order .row b { color: var(--accent); font-weight: 600; }
.demo__order .row code { font-family: var(--mono); font-size: 10.5px; color: var(--faint); background: rgba(255, 255, 255, 0.04); padding: 3px 7px; border-radius: 6px; }

/* Kapek */
.chat { display: flex; flex-direction: column; gap: 10px; }
.bubble { position: relative; max-width: 86%; padding: 12px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; }
.bubble--agent { align-self: flex-start; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); padding-left: 48px; border-top-left-radius: 4px; }
.bubble--user { align-self: flex-end; background: color-mix(in srgb, var(--accent) 22%, #151020); border-top-right-radius: 4px; }
.avatar { position: absolute; left: 12px; top: 11px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 600; font-size: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.shortlist { border-radius: 18px; border: 1px solid var(--line); background: rgba(12, 8, 20, 0.55); padding: 6px; }
.shortlist__head { display: flex; justify-content: space-between; padding: 10px 10px 8px; color: var(--faint); font-size: 10.5px; }
.cand { display: grid; grid-template-columns: 34px 1fr 90px 28px; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; }
.cand:first-of-type { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.ini { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 600; background: rgba(255, 255, 255, 0.07); }
.who { display: flex; flex-direction: column; font-size: 13.5px; font-weight: 500; line-height: 1.25; }
.who small { font-weight: 400; color: var(--faint); font-size: 11.5px; }
.bar { height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transition: width 1.2s var(--ease); }
.is-playing .bar i { width: var(--score); transition-delay: calc(var(--d) + 0.2s); }
.cand b { font-family: var(--serif); font-weight: 400; font-size: 22px; text-align: right; }

/* WhatsApp demos (Freud, GuauGPT) */
.demo--wa { background: #0b141a; border-color: rgba(255, 255, 255, 0.08); padding: 0; overflow: hidden; gap: 0; }
.demo--wa::before {
  content: ""; position: absolute; inset: 0; opacity: 0.05; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 18px 18px;
}
.demo__bar--wa { background: #202c33; color: #e9edef; padding: 12px 16px; border: 0; gap: 12px; }
.demo__bar--wa > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.2; font-weight: 500; }
.demo__bar--wa small { color: #8696a0; font-weight: 400; font-size: 11.5px; }
.demo__bar--wa time { margin-left: auto; color: #8696a0; font-size: 10.5px; }
.wa-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 20px; background: linear-gradient(135deg, var(--accent), #6d3fd8); color: #fff; }
.wa-avatar--guau { background: linear-gradient(135deg, #ffd27a, #ff9a3c); font-size: 18px; font-style: normal; }
.chat--wa { position: relative; padding: 18px 16px; gap: 8px; }
.wa { position: relative; max-width: 82%; padding: 8px 12px 20px; border-radius: 10px; font-size: 13.5px; line-height: 1.45; color: #e9edef; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3); }
.wa--out { align-self: flex-end; background: #005c4b; border-top-right-radius: 2px; }
.wa--in { align-self: flex-start; background: #202c33; border-top-left-radius: 2px; }
.wa--voice { display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-width: 220px; }
.wa--voice .play { font-size: 12px; color: #c9d4d9; }
.wa--voice .mono { font-size: 10.5px; color: rgba(233, 237, 239, 0.65); }
.wave { flex: 1; display: flex; align-items: center; gap: 2.5px; height: 24px; }
.wave i { flex: 1; background: #8fd3c1; border-radius: 2px; height: 30%; }
.wave i:nth-child(3n) { height: 70%; } .wave i:nth-child(4n) { height: 50%; } .wave i:nth-child(5n) { height: 90%; } .wave i:nth-child(7n) { height: 40%; }
.is-playing .wave i { animation: wave 1.2s ease-in-out infinite; animation-delay: calc(var(--d, 0s) + var(--wi, 0s)); }
.wave i:nth-child(2n) { --wi: 0.15s; } .wave i:nth-child(3n) { --wi: 0.3s; }
@keyframes wave { 50% { transform: scaleY(0.45); } }
.wa--typing { display: flex; gap: 4px; padding: 12px 14px; }
.wa--typing i { width: 7px; height: 7px; border-radius: 50%; background: #8696a0; animation: typing 1.2s ease-in-out infinite; }
.wa--typing i:nth-child(2) { animation-delay: 0.15s; } .wa--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.is-playing .wa--typing { animation: pop 0.5s var(--d) var(--ease) forwards, vanish 0.3s 1.15s forwards; }
@keyframes vanish { to { opacity: 0; height: 0; padding: 0; margin: -4px 0; } }

.breath { position: relative; display: flex; align-items: center; gap: 14px; margin: 0 16px 18px; padding: 14px 16px; border-radius: 16px; background: rgba(166, 120, 255, 0.1); border: 1px solid rgba(166, 120, 255, 0.25); }
.breath span { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle, #d8c4ff, var(--accent)); box-shadow: 0 0 24px var(--accent); animation: breath 8s ease-in-out infinite; }
.breath em { font-style: normal; color: #d8c4ff; font-size: 10.5px; }
@keyframes breath { 0%, 100% { transform: scale(0.6); } 40%, 55% { transform: scale(1.1); } }

.triage { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; margin: 0 16px 18px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 184, 77, 0.08); border: 1px solid rgba(255, 184, 77, 0.25); }
.triage .mono { color: var(--faint); font-size: 10.5px; }
.triage b { font-weight: 500; color: #ffd28c; justify-self: end; font-size: 13px; }
.triage__bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #6fe3a0, #ffd27a 50%, #ff6b5b); position: relative; }
.triage__bar i { position: absolute; top: 50%; left: 52%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 210, 122, 0.5); }

/* Firulais */
.pet { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: rgba(111, 227, 193, 0.06); border: 1px solid rgba(111, 227, 193, 0.2); }
.pet__avatar { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: linear-gradient(135deg, rgba(111, 227, 193, 0.35), rgba(255, 184, 77, 0.3)); }
.pet__who { display: flex; flex-direction: column; line-height: 1.3; }
.pet__who b { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1; }
.pet__who span { color: var(--faint); font-size: 12.5px; margin-top: 4px; }
.diary { display: grid; gap: 8px; position: relative; }
.diary li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); font-size: 13.5px; }
.diary .mono { color: var(--accent); font-size: 10.5px; }
.diary b { font-weight: 500; }
.diary em { font-style: normal; font-size: 11.5px; color: #8ef0b8; }
.diary em.due { color: #ffd28c; }
.diary em.soon { color: var(--lavender); border: 1px solid rgba(196, 178, 214, 0.35); padding: 2px 8px; border-radius: 999px; }
.nutrition { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nutrition div { padding: 12px; border-radius: 14px; background: rgba(12, 8, 20, 0.55); border: 1px solid var(--line); }
.nutrition .mono { display: block; color: var(--faint); font-size: 9.5px; }
.nutrition b { display: block; margin-top: 4px; font-weight: 500; font-size: 14px; }

/* ---------- Work ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); transition: all 0.3s var(--ease); }
.filters button:hover { color: var(--paper); border-color: var(--line-2); }
.filters button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.filters sup { font-size: 9px; margin-left: 2px; }

.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; }
.work-grid.is-filtered .work-item { grid-column: span 6; }
.work-item { transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.work-item.is-out { display: none; }
.work-item.is-in { animation: rise 0.7s var(--ease) both; }

.work-card { display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left; }
.work-card__frame {
  position: relative; display: flex; flex-direction: column; flex: 1;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--ink-3);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  transition: transform 0.8s var(--ease), box-shadow 0.8s var(--ease), border-color 0.5s;
}
.chrome { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: rgba(26, 17, 31, 0.95); border-bottom: 1px solid var(--line); }
.chrome i { width: 9px; height: 9px; border-radius: 50%; background: rgba(246, 239, 231, 0.16); }
.chrome em { margin-left: 10px; font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--faint); text-transform: lowercase; letter-spacing: 0.04em; }
.chrome { flex: none; }
.work-card__frame img { flex: 1; min-height: 0; width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; object-position: left top; transition: transform 1.2s var(--ease), filter 0.8s; filter: saturate(0.85); }
.work-card:hover .work-card__frame, .work-card:focus-visible .work-card__frame { transform: translateY(-6px); border-color: rgba(255, 180, 106, 0.45); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(255, 170, 90, 0.35); }
.work-card:hover img, .work-card:focus-visible img { transform: scale(1.04); filter: saturate(1.05); }
.work-card__frame::after {
  content: "View ↗"; position: absolute; right: 14px; bottom: 14px;
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 8px 12px; border-radius: 999px; background: var(--paper); color: var(--ink);
  opacity: 0; transform: translateY(8px); transition: all 0.5s var(--ease);
}
.work-card:hover .work-card__frame::after, .work-card:focus-visible .work-card__frame::after { opacity: 1; transform: none; }
.work-card__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 4px 0; }
.work-card__cap b { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.1; }
.work-card__cap span { font-size: 13px; color: var(--faint); text-align: right; }

/* ---------- Capabilities ---------- */

.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cell {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 280px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  transition: border-color 0.5s, transform 0.6s var(--ease);
}
.cell::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px circle at var(--cx, 50%) var(--cy, 0%), rgba(255, 180, 106, 0.12), transparent 50%);
  opacity: 0; transition: opacity 0.5s;
}
.cell:hover { border-color: rgba(255, 180, 106, 0.3); }
.cell:hover::before { opacity: 1; }
.cell--xl { grid-column: span 2; grid-row: span 2; }
.cell--wide { grid-column: span 2; }
.cell__no { color: var(--amber); }
.cell h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.4vw, 40px); line-height: 1.02; letter-spacing: -0.02em; margin-top: auto; padding-top: 40px; }
.cell p { color: var(--muted); margin-top: 12px; font-size: 15.5px; max-width: 46ch; }
.cell--xl h3 { font-size: clamp(36px, 3.6vw, 60px); }
.cell__viz { margin-top: 28px; }
.viz-prompt { display: grid; gap: 8px; padding: 20px; border-radius: 16px; background: rgba(8, 4, 12, 0.7); border: 1px solid var(--line); text-transform: none; font-size: 12.5px; color: var(--muted); }
.viz-prompt b { color: var(--amber); font-weight: 500; }
.viz-prompt .ok { color: #8ef0b8; }
.cell__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cell__chips li { font-size: 10.5px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255, 180, 106, 0.3); color: var(--filament); }

.stack-strip { margin-top: clamp(64px, 8vw, 112px); }
.stack-strip > p.mono { color: var(--faint); margin-bottom: 8px; text-align: center; }

/* ---------- Process ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); counter-reset: s; }
.step { position: relative; padding: 36px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--amber); box-shadow: 0 0 12px var(--amber); transition: width 1.6s var(--ease) var(--rd, 0s); }
.step.is-visible::before { width: 100%; }
.step__no { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--amber); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 3.6vw, 60px); line-height: 1; letter-spacing: -0.02em; margin-top: 56px; }
.step .mono { color: var(--faint); margin-top: 12px; }
.step p:last-child { color: var(--muted); font-size: 15.5px; margin-top: 18px; }

/* ---------- Origin ---------- */

.origin__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.origin__figure .work-card__frame { transform: rotate(-2deg); }
.origin__figure figcaption { margin-top: 18px; color: var(--faint); }
.origin__copy p { color: var(--muted); font-size: clamp(17px, 1.35vw, 20px); margin-top: 24px; max-width: 46ch; }
.origin__copy p em { color: var(--filament); font-family: var(--serif); font-size: 1.2em; }

/* ---------- FAQ ---------- */

.faq__grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__grid > header { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; letter-spacing: -0.01em; transition: color 0.3s; }
.faq summary::after { content: "+"; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 20px; color: var(--amber); transition: transform 0.5s var(--ease), background-color 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: rgba(255, 180, 106, 0.1); }
.faq summary:hover h3 { color: var(--filament); }
.faq details p { color: var(--muted); padding: 0 64px 28px 0; max-width: 64ch; }
.faq details p a { color: var(--filament); text-decoration: underline; text-decoration-color: rgba(255, 217, 160, 0.35); text-underline-offset: 3px; }

/* ---------- Contact ---------- */

.contact { position: relative; overflow: hidden; padding-block: clamp(120px, 16vw, 240px); text-align: center; border-top: 1px solid var(--line); isolation: isolate; }
.contact__glow {
  position: absolute; left: 50%; top: 76%; z-index: -1;
  width: 1500px; height: 720px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 170, 90, 0.34), rgba(255, 120, 60, 0.12) 45%, rgba(91, 42, 78, 0.16) 70%, transparent);
  -webkit-mask: linear-gradient(180deg, #000 50%, transparent 74%);
  mask: linear-gradient(180deg, #000 50%, transparent 74%);
}
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.contact__title { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 12vw, 200px); line-height: 0.88; letter-spacing: -0.04em; }
.contact__lede { color: var(--muted); font-size: clamp(17px, 1.4vw, 21px); max-width: 46ch; margin-top: 32px; }
.contact__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }

/* ---------- Footer ---------- */

.footer { padding: 80px 0 32px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand p { color: var(--faint); margin-top: 18px; max-width: 34ch; font-size: 15px; }
.footer h3 { color: var(--faint); font-weight: 400; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.footer ul a { transition: color 0.3s; }
.footer ul a:hover { color: var(--amber); }
.footer__word {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(100px, 22vw, 360px); line-height: 0.8; letter-spacing: -0.05em;
  text-align: center; margin: 72px 0 24px;
  background: linear-gradient(180deg, rgba(246, 239, 231, 0.14), rgba(246, 239, 231, 0.0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; color: var(--faint); padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Lightbox ---------- */

.lightbox {
  width: min(1280px, 94vw); max-width: none; max-height: 94vh;
  padding: 0; border: 0; background: transparent; color: var(--paper);
  overflow: visible;
}
.lightbox::backdrop { background: rgba(6, 3, 9, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lightbox[open] { animation: rise 0.5s var(--ease); }
.lightbox figure { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: var(--ink-2); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; background: #000; }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.lightbox figcaption b { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.lightbox figcaption span { color: var(--faint); font-size: 14px; align-self: center; }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(246, 239, 231, 0.08); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.3s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--amber); color: var(--ink); }
.lightbox__close { top: -60px; right: 0; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: -64px; }
.lightbox__nav--next { right: -64px; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell--xl { grid-row: auto; }
  .lightbox__nav--prev { left: 8px; } .lightbox__nav--next { right: 8px; }
}

@media (max-width: 980px) {
  .hero__content { grid-template-columns: 1fr; }
  .hero__mascot { right: 6%; width: clamp(170px, 34vw, 300px); }
  .section-head--split, .manifesto__grid, .origin__grid, .faq__grid { grid-template-columns: 1fr; }
  .faq__grid > header { position: static; }
  .platform { grid-template-columns: 1fr; position: relative; top: auto; transform: none !important; filter: none !important; min-height: 0; }
  .demo { transform: none; }
  .work-grid .work-item, .work-grid.is-filtered .work-item { grid-column: span 6; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .nav__clock, .nav__right > .btn { display: none; }
  .brand__word { font-size: 24px; }
  .hero { padding-bottom: 20px; }
  .hero__media img { object-position: 16% 50%; }
  .hero__mascot { top: calc(var(--nav-h) + 3vh); right: 5%; width: 46vw; max-width: 240px; }
  .hero__status { display: none; }
  .hero__meta { flex-wrap: wrap; font-size: 10.5px; }
  .hero__scroll { display: none; }
  .btn { height: 50px; }
  .btn--xl { height: 58px; --pad-x: 24px; font-size: 16px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid .work-item, .work-grid.is-filtered .work-item { grid-column: auto; }
  .work-card__cap { flex-direction: column; gap: 4px; }
  .work-card__cap span { text-align: left; }
  .bento { grid-template-columns: 1fr; }
  .cell--xl, .cell--wide { grid-column: auto; }
  .cell { min-height: 0; }
  .platform { padding: 22px; border-radius: 24px; }
  .platform__facts { grid-template-columns: 1fr; }
  .platform__facts li { display: flex; align-items: baseline; gap: 12px; }
  .platform__facts span { margin-top: 0; }
  .platform__meta { flex-direction: column; gap: 6px; }
  .demo { padding: 14px; }
  .demo--wa { padding: 0; }
  .cand { grid-template-columns: 30px 1fr 50px 24px; gap: 8px; }
  .nutrition { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 8px; border-left: 0; }
  .step h3 { margin-top: 24px; }
  .stats > div:nth-child(odd) { padding-right: 16px; }
  .stats > div:nth-child(even) { padding-left: 16px; }
  .faq details p { padding-right: 0; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .lightbox__close { top: -56px; }
}

@media (hover: none) {
  .cursor-light { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .grain { animation: none; }
  .hero__media img { filter: none; transform: none; }
  .seq { opacity: 1; transform: none; }
}
