/* =============================================================
   Lumnia Labs — styles (v2 · motion edition)
   1. Tokens
   ============================================================= */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --void: #0A0806;
  --bg-2: #12100C;
  --bg-3: #1A1712;
  --ink: #F5EEDC;
  --mute: #A69E8C;
  --dim: #6E6656;
  --gold: #D4AF37;
  --gold-hi: #F7E3A1;
  --blue: #2F6BFF;
  --blue-hi: #6F96FF;
  --gold-deep: #8C6A2B;
  --red: #FF1E1E;
  --line: rgba(245, 238, 220, .08);
  --grad: linear-gradient(110deg, #8C6A2B 0%, #D4AF37 30%, #F7E3A1 52%, #C9A24B 72%, #F4D58D 100%);
  --display: "Sora", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 22px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

/* 2. Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  background: var(--void); color: var(--ink);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em;
  padding-right: .06em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
::selection { background: var(--gold-deep); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--ink); color: var(--void); z-index: 2000; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

/* 3. Utilities */
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); }
.label { font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem; display: inline-flex; align-items: center; gap: .7rem; }
.label::before { content: ""; width: 22px; height: 1px; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); max-width: 820px; }
.section-head h2 { font-size: clamp(2.4rem, 6.4vw, 5.2rem); }
section { padding-block: clamp(5rem, 12vw, 10rem); }

/* 4. Buttons */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: .95rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  transition: box-shadow .5s var(--ease-out), background .3s, border-color .3s, color .3s;
  white-space: nowrap; will-change: transform;
}
.btn-sm { padding: .62rem 1.15rem; font-size: .88rem; }
.btn-glow { background: var(--grad); color: #241A05; box-shadow: 0 0 0 1px rgba(212,175,55,.4), 0 10px 40px -10px rgba(212,175,55,.55); }
.btn-glow::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease-out);
}
.btn-glow:hover::after { transform: translateX(120%); }
.btn-glow:hover { box-shadow: 0 0 0 1px rgba(212,175,55,.8), 0 18px 60px -8px rgba(140,106,43,.75); }
.btn-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.03); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(212,175,55,.55); background: rgba(212,175,55,.06); }
.btn-arrow {
  font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center;
  background: rgba(5,5,10,.14); transition: transform .5s var(--ease-out); font-size: .9rem;
}
.btn:hover .btn-arrow { transform: translateX(4px) rotate(-45deg); }

/* 5. Loader */
.loader {
  position: fixed; inset: 0; z-index: 1500; background: var(--void);
  display: grid; place-items: center;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-io), visibility 0s 1.1s;
  animation: loaderSafety .01s 5s forwards;
}
html:not(.js) .loader { display: none; }
.loader.is-out { clip-path: inset(0 0 100% 0); visibility: hidden; }
@keyframes loaderSafety { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.loader-inner { display: grid; justify-items: center; gap: 1.6rem; width: 240px; }
.loader-mark { width: 92px; height: 92px; overflow: visible; filter: drop-shadow(0 0 18px rgba(212,175,55,.35)); }
.loader-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease-out) forwards; }
.loader-mark .lm-a1 { animation-delay: .35s; }
.loader-mark .lm-a2 { animation-delay: .5s; }
.loader-mark .lm-dot { transform-origin: 40.2px 23.8px; transform: scale(0); animation: pop .6s var(--ease-out) .75s forwards; }
.loader-meta { width: 100%; display: flex; justify-content: space-between; font-size: .7rem; letter-spacing: .14em; color: var(--mute); }
.loader-meta b { color: var(--ink); font-weight: 500; }
.loader-bar { width: 100%; height: 1px; background: var(--line); overflow: hidden; }
.loader-bar span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 60% { transform: scale(1.35); } to { transform: scale(1); } }

/* 6. Cursor + progress */
.cursor { position: fixed; left: 0; top: 0; z-index: 1400; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-ready { opacity: 1; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(245,238,220,.3);
  display: grid; place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background .35s, border-color .35s;
}
.cursor.is-hover .cursor-ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: rgba(212,175,55,.8); background: rgba(212,175,55,.06); }
.cursor.is-view .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; border-color: transparent; background: var(--grad); }
.cursor.is-view .cursor-dot { opacity: 0; }
.cursor-label { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #241A05; opacity: 0; transition: opacity .25s; }
.cursor.is-view .cursor-label { opacity: 1; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor summary { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: text; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px var(--gold); }

/* 7. Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 16px var(--gutter);
  transition: background .4s, border-color .4s, padding .4s, transform .6s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(10,8,6,.66); backdrop-filter: blur(18px) saturate(150%); border-color: var(--line); padding-block: 10px; }
.nav.is-hidden { transform: translateY(-110%); }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: none; gap: 2.2rem; font-size: .92rem; color: var(--mute); }
.nav-links a { position: relative; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-actions .btn-sm { display: none; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { font-family: var(--mono); font-size: .72rem; padding: .3rem .6rem; border-radius: 999px; color: var(--mute); transition: background .3s, color .3s; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--void); }
.nav-burger { width: 42px; height: 42px; display: grid; place-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 50%; }
.nav-burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease-out); }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nav-links.is-open {
  display: flex; flex-direction: column; position: fixed; inset: 70px 12px auto; padding: 1.6rem;
  background: rgba(14,14,22,.96); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--ink);
}

/* 8. Split text (words rise from a mask) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .12em; margin-bottom: -.12em; }
em .w { padding-right: .05em; }
.wi { display: inline-block; will-change: transform; }
.js [data-split].is-split .wi { transform: translateY(112%); transition: transform 1.2s var(--ease-out) calc(var(--i) * 55ms); }
.js [data-split].is-split.is-in .wi { transform: none; }
em.split-em { background: none; color: inherit; padding-right: 0; }
.em-w { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 9. Hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding-top: 110px; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: -6% 0; z-index: -4; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.js .hero-media img { transform: scale(1.14); transition: transform 2.6s var(--ease-out); }
.hero-ready .hero-media img { transform: scale(1); }
.hero-grid {
  position: absolute; inset: 0; z-index: -3; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask: radial-gradient(ellipse 70% 60% at 30% 45%, #000 20%, transparent 75%);
          mask: radial-gradient(ellipse 70% 60% at 30% 45%, #000 20%, transparent 75%);
}
.hero-gradient {
  position: absolute; inset: 0; z-index: -2; opacity: .55; mix-blend-mode: screen; pointer-events: none;
  background:
    radial-gradient(circle 420px at var(--mx, 30%) var(--my, 40%), rgba(140,106,43,.55), transparent 60%),
    radial-gradient(circle 520px at calc(var(--mx, 30%) + 12%) calc(var(--my, 40%) + 10%), rgba(212,175,55,.25), transparent 60%);
  filter: blur(30px);
}
.hero-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,8,6,.55) 0%, rgba(10,8,6,.1) 30%, rgba(10,8,6,.4) 70%, var(--void) 100%),
              linear-gradient(90deg, rgba(10,8,6,.88) 0%, rgba(10,8,6,.35) 55%, transparent 80%); }
.hero-particles { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.grain { position: absolute; inset: 0; z-index: 0; opacity: .06; pointer-events: none; mix-blend-mode: overlay;
  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='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-inner { position: relative; z-index: 2; align-self: center; padding-block: 2rem 4rem; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute);
  border: 1px solid var(--line); background: rgba(10,8,6,.5); backdrop-filter: blur(8px); padding: .45rem .9rem; border-radius: 999px; margin-bottom: 1.8rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: pulse 2.4s infinite; }
.hero-title { font-size: clamp(3rem, 9.4vw, 8.2rem); font-weight: 800; max-width: 11.5ch; letter-spacing: -0.05em; line-height: .96; }
.hero-title em { font-size: 1.08em; letter-spacing: -0.02em; }
.js .hero-title.is-split .wi { transition-delay: calc(var(--i) * 70ms + 120ms); }
.hero-sub { margin-top: 1.8rem; max-width: 34rem; font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: #C4C8DA; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }
.hero-foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; padding-block: 1.4rem 2rem; }
.hero-foot::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.hero-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font-family: var(--mono); font-size: .74rem; color: var(--mute); }
.hero-chips li::before { content: "◆ "; color: var(--gold); }
.hero-clocks { display: flex; gap: 1.6rem; font-size: .74rem; color: var(--mute); letter-spacing: .08em; }
.hero-clocks b { color: var(--ink); font-weight: 500; margin-left: .4rem; }
.hero-scroll { display: none; position: absolute; left: 50%; bottom: 90px; translate: -50% 0; width: 24px; height: 38px; border: 1.5px solid var(--line); border-radius: 12px; z-index: 2; }
.hero-scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: scrolldot 2s infinite; }
/* Hero intro (CSS-driven, with safety net) */
.js .hero-in { opacity: 0; transform: translateY(26px); animation: safetyShow .01s 5.5s forwards; }
.hero-ready .hero-in { opacity: 1; transform: none; transition: opacity 1.2s var(--ease-out) calc(var(--d) * 90ms + 200ms), transform 1.2s var(--ease-out) calc(var(--d) * 90ms + 200ms); }
.js .hero-title.is-split .wi { animation: safetyWord .01s 5.5s forwards; }
@keyframes safetyShow { to { opacity: 1; transform: none; } }
@keyframes safetyWord { to { transform: none; } }

/* 10. Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: clamp(1.2rem, 3vw, 2.2rem); background: var(--bg-2); display: grid; gap: .4rem; }
.marquee-row { transform: skewX(var(--skew, 0deg)); transition: transform .4s var(--ease-out); }
.marquee-track { display: flex; align-items: center; gap: 2.2rem; width: max-content; animation: marquee 42s linear infinite; font-family: var(--display); font-size: clamp(1.8rem, 5.4vw, 4.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.15; }
.marquee-rev .marquee-track { animation-direction: reverse; animation-duration: 48s; }
.marquee-track span { color: var(--ink); }
.marquee-track span.o { color: transparent; -webkit-text-stroke: 1px rgba(245,238,220,.35); }
.marquee-track i { font-style: normal; color: var(--gold); font-size: .5em; text-shadow: 0 0 14px var(--gold); }

/* 11. Manifesto */
.manifesto { display: grid; gap: 3rem; align-items: center; }
.manifesto-big { font-family: var(--display); font-size: clamp(1.6rem, 3.3vw, 2.7rem); line-height: 1.22; letter-spacing: -0.025em; font-weight: 600; }
.manifesto-big .hw { transition: none; }
.manifesto-small { margin-top: 1.8rem; color: var(--mute); max-width: 36rem; }
.manifesto-figure { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; }
.manifesto-figure img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.manifesto-figure figcaption { position: absolute; left: 1rem; bottom: 1rem; display: flex; gap: .7rem; font-size: .8rem; padding: .45rem .8rem; border-radius: 999px; background: rgba(10,8,6,.7); backdrop-filter: blur(8px); }
.manifesto-figure figcaption .mono { color: var(--gold); }
.js .reveal-clip { clip-path: inset(30% 12% 30% 12% round var(--radius)); transition: clip-path 1.6s var(--ease-out); }
.js .reveal-clip.is-visible { clip-path: inset(0 0 0 0 round var(--radius)); }

/* 12. Services cards */
.cards { display: grid; gap: 1rem; perspective: 1200px; }
.card {
  position: relative; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: border-color .4s, transform .6s var(--ease-out), translate 1s var(--ease-out), opacity 1s var(--ease-out);
}
.card.is-tilting { transition: border-color .4s, translate 1s var(--ease-out), opacity 1s var(--ease-out); }
[data-glow] { isolation: isolate; }
[data-glow]::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; z-index: -1;
  background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 50%), rgba(212,175,55,.13), transparent 60%);
}
[data-glow]:hover::before { opacity: 1; }
.card::after, .plan-featured::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--angle), transparent 0 62%, var(--gold-deep) 75%, var(--gold) 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s; animation: spin 4.5s linear infinite; animation-play-state: paused;
}
.card:hover::after { opacity: 1; animation-play-state: running; }
.card-num { position: absolute; top: 1.5rem; right: 1.6rem; font-size: .74rem; color: var(--dim); }
.card-icon { width: 40px; height: 40px; margin-bottom: 1.6rem; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(212,175,55,.45)); transform: translateZ(30px); transition: transform .6s var(--ease-out); }
.card:hover .card-icon { transform: translateZ(40px) scale(1.08); }
.card h3 { font-size: 1.35rem; margin-bottom: .6rem; letter-spacing: -0.02em; transform: translateZ(20px); }
.card p { color: var(--mute); font-size: .96rem; }

/* 13. Work — horizontal showcase */
.work { padding-bottom: clamp(4rem, 8vw, 7rem); }
.work .section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.work-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.work-viewport::-webkit-scrollbar { display: none; }
.work.is-pinned .work-viewport { overflow: hidden; scroll-snap-type: none; }
.work-track { display: flex; gap: clamp(1rem, 3vw, 3rem); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.work-card { flex: 0 0 auto; width: min(86vw, 980px); display: grid; gap: 1.4rem; scroll-snap-align: center; }
.browser { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); box-shadow: 0 40px 120px -50px rgba(140,106,43,.55); transition: box-shadow .5s, border-color .5s; }
.work-card:hover .browser { border-color: rgba(212,175,55,.35); box-shadow: 0 40px 120px -40px rgba(212,175,55,.55); }
.browser-bar { display: flex; gap: 6px; align-items: center; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2B2B3C; }
.browser-bar i:first-child { background: #FF5F57; } .browser-bar i:nth-child(2) { background: #FEBC2E; } .browser-bar i:nth-child(3) { background: #28C840; }
.browser-bar span { margin-inline: auto; font-family: var(--mono); font-size: .72rem; color: var(--mute); background: rgba(255,255,255,.04); padding: .2rem 1.4rem; border-radius: 999px; }
.browser-img { aspect-ratio: 16 / 10; overflow: hidden; }
.browser-img img { width: 110%; max-width: none; height: 100%; object-fit: cover; object-position: top left; transition: scale 1.2s var(--ease-out); }
.work-card:hover .browser-img img { scale: 1.03; }
.work-info { display: grid; gap: .5rem; align-content: end; }
.work-idx { font-size: .74rem; color: var(--gold); letter-spacing: .1em; }
.work-info h3 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.045em; }
.work-meta { font-size: .78rem; color: var(--mute); letter-spacing: .06em; text-transform: uppercase; }
.work-info p:last-child { color: var(--mute); max-width: 26rem; }
.work-next { width: min(80vw, 520px); align-content: center; justify-items: start; padding: 2rem; border: 1px dashed rgba(212,175,55,.3); border-radius: var(--radius); }
.work-next .mono { color: var(--gold); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.work-next h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(3.4rem, 8vw, 7rem); letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em; }

/* 14. Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 0; margin-block: 2rem; }
.stat { background: var(--void); padding: 2.2rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; transition: background .5s; }
.stat:hover { background: var(--bg-2); }
.stat strong { font-family: var(--display); font-size: clamp(2.8rem, 6.4vw, 4.8rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { color: var(--mute); font-size: .92rem; }

/* 15. Process */
.steps { position: relative; display: grid; gap: 1rem; }
.steps-line { display: none; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.steps-line span { display: block; height: 100%; background: var(--grad); box-shadow: 0 0 12px var(--gold); transform-origin: left; transform: scaleX(0); }
.step { padding: 2rem 0; border-top: 1px solid var(--line); }
.step-n { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(212,175,55,.55); }
.step h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 1.2rem 0 .7rem; }
.step p { color: var(--mute); max-width: 26rem; }

/* 16. Plans */
.plan-grid { display: grid; gap: 1rem; max-width: 920px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 2.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.plan h3 { font-size: 1.7rem; }
.plan-desc { color: var(--mute); font-size: .95rem; margin-top: -.5rem; }
.plan-price { font-family: var(--display); font-size: clamp(3rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1.05; }
.plan-price small { font-family: var(--mono); font-size: .78rem; font-weight: 400; color: var(--mute); letter-spacing: .06em; }
.plan ul { list-style: none; padding: 0; display: grid; gap: .7rem; flex: 1; }
.plan li { padding-left: 1.6rem; position: relative; font-size: .96rem; color: #CDD0E0; }
.plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); }
.plan .btn { margin-top: .6rem; }
.plan-featured { border-color: transparent; background: linear-gradient(180deg, rgba(140,106,43,.14), rgba(212,175,55,.03)); box-shadow: 0 40px 100px -50px rgba(212,175,55,.6); }
.plan-featured::after { opacity: 1; animation-play-state: running; }
.plan-tag { position: absolute; top: 1.5rem; right: 1.5rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; padding: .3rem .7rem; border-radius: 999px; background: var(--grad); color: #241A05; }

/* 17. FAQ */
.faq-list { border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.6rem 3rem 1.6rem 0; position: relative; font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 2.2vw, 1.4rem); letter-spacing: -0.02em; transition: color .3s; }
.faq summary:hover { color: var(--gold); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 34px; height: 34px; margin-top: -17px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-family: var(--mono); color: var(--gold); font-size: 1.1rem; transition: rotate .5s var(--ease-out), border-color .3s; }
.faq details[open] summary::after { rotate: 45deg; border-color: var(--gold); }
.faq-a { overflow: hidden; }
.faq-a p { color: var(--mute); padding-bottom: 1.6rem; max-width: 44rem; }

/* 18. Contact */
.contact { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); text-align: center; }
.contact-glow { position: absolute; inset: 0; z-index: -1; opacity: .75; pointer-events: none;
  background:
    radial-gradient(circle 380px at var(--mx, 50%) var(--my, 60%), rgba(140,106,43,.35), transparent 65%),
    radial-gradient(circle 520px at 50% 110%, rgba(212,175,55,.18), transparent 70%);
  filter: blur(20px); }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact .label { justify-content: center; }
.contact-title { font-size: clamp(3.2rem, 12vw, 9.5rem); font-weight: 800; letter-spacing: -0.055em; }
.contact-sub { color: var(--mute); margin-top: 1.2rem; max-width: 30rem; }
.contact-mail { position: relative; display: inline-block; margin-top: 2.2rem; font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 4vw, 2.4rem); letter-spacing: -0.03em; word-break: break-all; }
.contact-mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--grad); transform: scaleX(.2); transform-origin: left; transition: transform .7s var(--ease-out); }
.contact-mail:hover::after { transform: scaleX(1); }
.contact-form { display: grid; gap: .9rem; width: 100%; max-width: 640px; margin-top: 3rem; text-align: left; }
.contact-form label { display: grid; gap: .45rem; font-size: .76rem; font-family: var(--mono); color: var(--mute); text-transform: uppercase; letter-spacing: .08em; }
.contact-form input, .contact-form textarea {
  font: inherit; font-family: var(--sans); font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--ink);
  background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 14px; padding: .95rem 1rem; resize: vertical;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); background: rgba(212,175,55,.04); box-shadow: 0 0 0 4px rgba(212,175,55,.08); }

/* 19. Footer */
.footer { border-top: 1px solid var(--line); padding-top: 3rem; overflow: hidden; }
.footer-inner { display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; color: var(--mute); font-size: .92rem; }
.footer-inner img { height: 42px; width: auto; }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a { transition: color .3s; }
.footer-links a:hover { color: var(--gold); }
.footer-small { font-size: .76rem; color: var(--dim); }
.plan-care { max-width: 780px; margin: clamp(1.4rem, 3vw, 2rem) auto 0; padding: 1rem 1.3rem; text-align: center; color: var(--mute); font-size: .95rem; line-height: 1.6;
  border: 1px dashed rgba(212,175,55,.38); border-radius: 18px; background: rgba(212,175,55,.04); }
.plan-care b { color: var(--gold); font-weight: 600; }
.footer-social { display: flex; gap: .65rem; }
.footer-social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--gold);
  border: 1px solid rgba(212,175,55,.38); background: rgba(212,175,55,.05);
  transition: color .3s, background .3s, border-color .3s, transform .4s var(--ease-out), box-shadow .4s; }
.footer-social a:hover, .footer-social a:focus-visible { color: #1A1408; background: var(--grad); border-color: transparent; transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(212,175,55,.7); }
.footer-social svg { width: 20px; height: 20px; }
.footer-giant { position: relative; margin-top: clamp(2rem, 6vw, 4rem); font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 21vw, 21rem); line-height: .78; letter-spacing: -0.065em; text-align: center; user-select: none; white-space: nowrap; }
.giant-outline { display: block; color: transparent; -webkit-text-stroke: 1px rgba(245,238,220,.13); }
.giant-fill { position: absolute; inset: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0); }

/* 20. Reveal effects */
.js .reveal { opacity: 0; translate: 0 32px; transition: opacity 1.1s var(--ease-out) calc(var(--r, 0) * 90ms), translate 1.1s var(--ease-out) calc(var(--r, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; translate: 0 0; }
.js .card.reveal { transition: opacity 1.1s var(--ease-out) calc(var(--r, 0) * 90ms), translate 1.1s var(--ease-out) calc(var(--r, 0) * 90ms), border-color .4s, transform .6s var(--ease-out); }
.js .card.reveal.is-tilting { transition: opacity 1.1s var(--ease-out) calc(var(--r, 0) * 90ms), translate 1.1s var(--ease-out) calc(var(--r, 0) * 90ms), border-color .4s; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { --angle: 360deg; } }

/* 21. Responsive */
@media (min-width: 540px) {
  .nav-actions .btn-sm { display: inline-flex; }
}
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .contact-form { grid-template-columns: 1fr 1fr; }
  .contact-form .full { grid-column: 1 / -1; }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .hero-scroll { display: block; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .manifesto { grid-template-columns: 1.25fr 1fr; gap: 5rem; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .steps-line { display: block; }
  .step { border-top: 0; padding-top: 2.6rem; }
  .work-card { width: min(70vw, 1080px); grid-template-columns: 1.7fr 1fr; align-items: end; gap: 2.4rem; }
  .work-next { width: 460px; }
  .plan-featured { transform: translateY(-14px); }
}
@media (max-width: 720px) {
  .hero-media img { object-position: 50% 60%; }
  .hero-scrim { background: linear-gradient(180deg, rgba(10,8,6,.72) 0%, rgba(10,8,6,.35) 45%, rgba(10,8,6,.62) 80%, var(--void) 100%); }
  .manifesto-figure { aspect-ratio: 4 / 3; }
}

/* 22. Reduced motion — only intrusive effects */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: 90s; }
  .hero-scroll span, .dot { animation: none; }
  .hero-particles { display: none; }
}

/* Pinned showcase layout (desktop, set by JS) */
.work.is-pinned { min-height: 100vh; padding-block: 92px 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.work.is-pinned .section-head { margin-bottom: 2rem; }
.work.is-pinned .section-head h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }

/* =============================================================
   v3 · LIGHT LAB — the Lumnia signature
   ============================================================= */

/* Calmer, finer type */
.hero-title { font-weight: 700; letter-spacing: -0.055em; }
.section-head h2, .contact-title { font-weight: 600; }
.marquee { padding-block: clamp(1rem, 2.2vw, 1.6rem); background: transparent; }
.marquee-track { font-weight: 300; font-size: clamp(1.4rem, 3.6vw, 2.8rem); letter-spacing: -0.03em; gap: 2.6rem; animation-duration: 70s; }
.marquee-track span { color: var(--mute); }
.marquee-track span.o { -webkit-text-stroke: 1px rgba(245,238,220,.28); }

/* The beam: one ray of light that travels the whole page */
.beam { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 45; pointer-events: none; }

/* Section labels ignite when the light reaches them */
.label { transition: color .8s var(--ease-out); }
.label::before { transition: width 1s var(--ease-out), background .6s, box-shadow .6s; }
.label.is-lit { color: #DFFBFF; }
.label.is-lit::before { width: 44px; background: #fff; box-shadow: 0 0 10px var(--gold), 0 0 24px var(--gold); }
.em-w, .section-head h2 em:not(.split-em), .contact-title em:not(.split-em) {
  background-image: linear-gradient(110deg, #8C6A2B 0%, #D4AF37 30%, #FFF6D8 50%, #D4AF37 70%, #8C6A2B 100%);
  background-size: 240% 100%; background-position: 0% 0;
}
section.is-lit .em-w, section.is-lit h2 em:not(.split-em) { animation: sweep 2s var(--ease-out) .15s both; }
@keyframes sweep { from { background-position: 100% 0; } to { background-position: 0% 0; } }

/* ---------- Periodic table of services ---------- */
.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; max-width: none; }
.section-head-row > div:first-child { max-width: 820px; }
.ptable { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.element { position: relative; perspective: 1100px; min-height: 236px; border-radius: 18px; outline-offset: 4px; }
.el-inner { position: relative; height: 100%; min-height: inherit; transform-style: preserve-3d; transition: transform 1.1s var(--ease-out); }
.el-face {
  position: absolute; inset: 0; display: flex; flex-direction: column; padding: 1.2rem 1.3rem 1.3rem;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.008));
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.el-front::after { content: ""; position: absolute; left: 1.3rem; right: 1.3rem; top: 0; height: 2px; border-radius: 0 0 2px 2px; background: var(--c); box-shadow: 0 0 16px var(--c); opacity: .75; }
.el-n { font-size: .78rem; color: var(--c, var(--gold)); letter-spacing: .06em; }
.el-cat { position: absolute; top: 1.2rem; right: 1.3rem; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.el-sym { margin-top: auto; font-family: var(--display); font-weight: 300; font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: .95; letter-spacing: -0.05em; color: var(--ink); }
.el-name { margin-top: .7rem; font-family: var(--sans); font-size: .98rem; font-weight: 500; letter-spacing: 0; line-height: 1.3; }
.el-mass { margin-top: .3rem; font-size: .7rem; letter-spacing: .08em; color: var(--mute); }
.el-back { transform: rotateY(180deg); justify-content: space-between; gap: 1rem;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 18%, transparent), rgba(255,255,255,.015));
  border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.el-sym-sm { margin: 0; font-size: 2.2rem; font-weight: 400; color: var(--c); }
.el-back p { color: #DADDEA; font-size: 1rem; line-height: 1.55; }
.can-flip .element:hover .el-inner, .can-flip .element:focus-visible .el-inner { transform: rotateY(180deg); }
.ptable-hint { margin-top: 1.4rem; font-size: .72rem; letter-spacing: .08em; color: var(--dim); }
.element-brand { flex: none; width: 156px; min-height: 0; }
.element-brand .el-face { position: relative; min-height: 176px; border-color: rgba(212,175,55,.42); background: linear-gradient(160deg, rgba(212,175,55,.12), rgba(140,106,43,.07)); box-shadow: 0 0 50px -14px rgba(212,175,55,.55); }
.element-brand .el-sym { font-size: 4rem; font-weight: 400; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.element-brand .el-name { font-family: var(--display); font-weight: 600; }
/* Touch screens: no flip, both faces stacked and always readable */
html:not(.can-flip) .element:not(.element-brand) { min-height: 0; }
html:not(.can-flip) .el-inner { transform: none !important; }
html:not(.can-flip) .el-face { position: relative; }
html:not(.can-flip) .el-front { min-height: 168px; border-bottom: 0; border-radius: 18px 18px 0 0; }
html:not(.can-flip) .el-back { transform: none; border-radius: 0 0 18px 18px; border-top: 1px dashed var(--line); padding-top: 1rem; }
html:not(.can-flip) .el-back .el-sym-sm, html:not(.can-flip) .ptable-hint, html:not(.can-flip) .lens-hint { display: none; }
html:not(.can-flip) .el-back p { font-size: .9rem; }

/* ---------- Lab log (work) + X-ray lens ---------- */
.lens-hint { margin-top: 1rem; font-size: .72rem; letter-spacing: .08em; color: var(--dim); }
.work-log { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; align-items: center; font-size: .74rem; letter-spacing: .14em; color: var(--gold); }
.work-status { display: inline-flex; align-items: center; gap: .45rem; color: var(--mute); letter-spacing: .1em; text-transform: uppercase; }
.work-status i { width: 7px; height: 7px; border-radius: 50%; background: #28C840; box-shadow: 0 0 10px #28C840; }
.browser-img { position: relative; }
.xray { position: absolute; inset: 0; overflow: hidden; pointer-events: none; clip-path: circle(0px at var(--lx, 50%) var(--ly, 50%)); transition: clip-path .45s var(--ease-out); }
[data-lens].lens-on .xray { clip-path: circle(120px at var(--lx) var(--ly)); }
.xray img { position: absolute; left: 0; top: 0; filter: grayscale(1) invert(1) contrast(1.35) brightness(1.05); }
.xray::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #2F6BFF; mix-blend-mode: multiply; }
.xray::after { content: ""; position: absolute; inset: 0; z-index: 2; background-color: rgba(3,10,22,.18);
  background-image: linear-gradient(rgba(212,175,55,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(212,175,55,.2) 1px, transparent 1px);
  background-size: 22px 22px; }
.lens-ring { position: absolute; left: var(--lx, 50%); top: var(--ly, 50%); z-index: 3; width: 240px; height: 240px; margin: -120px 0 0 -120px; border-radius: 50%;
  border: 1.5px solid rgba(160,250,255,.95); box-shadow: 0 0 0 1px rgba(10,8,6,.5), 0 0 34px rgba(212,175,55,.45), inset 0 0 40px rgba(212,175,55,.3);
  pointer-events: none; opacity: 0; transform: scale(.55); transition: opacity .35s, transform .55s var(--ease-out); }
.lens-ring::before, .lens-ring::after { content: ""; position: absolute; background: rgba(212,175,55,.7); }
.lens-ring::before { left: 50%; top: -8px; bottom: -8px; width: 1px; -webkit-mask: linear-gradient(#000 0 14px, transparent 14px calc(100% - 14px), #000 0); mask: linear-gradient(#000 0 14px, transparent 14px calc(100% - 14px), #000 0); }
.lens-ring::after { top: 50%; left: -8px; right: -8px; height: 1px; -webkit-mask: linear-gradient(90deg, #000 0 14px, transparent 14px calc(100% - 14px), #000 0); mask: linear-gradient(90deg, #000 0 14px, transparent 14px calc(100% - 14px), #000 0); }
.lens-ring span { position: absolute; left: 50%; top: -1.9rem; translate: -50% 0; font-size: .6rem; letter-spacing: .18em; color: var(--gold); background: rgba(10,8,6,.85); padding: .18rem .55rem; border-radius: 999px; white-space: nowrap; }
.lens-on .lens-ring { opacity: 1; transform: scale(1); }

@media (min-width: 960px) {
  .ptable { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (max-width: 539px) {
  .el-sym { font-size: 3rem; }
  .element-brand { width: 128px; }
  .element-brand .el-face { min-height: 150px; }
}

.work .section-head { max-width: 1280px; }
.work .section-head h2 { max-width: 820px; }

/* Lab log: live projects + link */
.work-info > p:not(.work-meta) { color: var(--mute); max-width: 26rem; }
.work-status.is-live { color: #9FF5B4; }
.work-status.is-live i { animation: livePulse 2s ease-in-out infinite; }
@keyframes livePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(40,200,64,.6), 0 0 10px #28C840; } 50% { box-shadow: 0 0 0 6px rgba(40,200,64,0), 0 0 14px #28C840; } }
.work-visit { justify-self: start; margin-top: .4rem; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid rgba(212,175,55,.35); padding-bottom: 2px; transition: border-color .3s, color .3s; }
.work-visit:hover { color: #fff; border-color: #fff; }

/* =============================================================
   v4 · ORO IMPERIAL — gold brand, red AI eye, blue tech
   ============================================================= */
::selection { background: var(--gold); color: #1A1305; }
em { filter: drop-shadow(0 0 18px rgba(212,175,55,.18)); }
.btn-glow { color: #241A05; }
/* the red eye */
.dot { background: var(--red); box-shadow: 0 0 6px var(--red), 0 0 16px rgba(255,30,30,.6); animation: eye 3.2s ease-in-out infinite; }
@keyframes eye { 0%, 100% { opacity: 1; } 46% { opacity: 1; } 50% { opacity: .25; } 54% { opacity: 1; } }
.sys { display: inline-flex; align-items: center; gap: .5rem; color: #FF6B6B; letter-spacing: .14em; }
.sys i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red), 0 0 18px rgba(255,30,30,.55); animation: eye 3.2s ease-in-out infinite; }
/* blue = technology */
.work-log > span:first-child { color: var(--blue-hi); }
.lens-hint { color: #6F7FA8; }
.lens-ring { border-color: rgba(111,150,255,.95); box-shadow: 0 0 0 1px rgba(10,8,6,.5), 0 0 34px rgba(47,107,255,.5), inset 0 0 40px rgba(47,107,255,.32); }
.lens-ring::before, .lens-ring::after { background: rgba(111,150,255,.8); }
.lens-ring span { color: var(--blue-hi); }
.xray::after { background-image: linear-gradient(rgba(111,150,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(111,150,255,.22) 1px, transparent 1px); }
.lens-ring .scan { position: absolute; left: 14%; right: 14%; top: 50%; height: 1px; background: var(--red); box-shadow: 0 0 8px var(--red), 0 0 16px rgba(255,30,30,.6); animation: scan 1.8s ease-in-out infinite alternate; }
@keyframes scan { from { top: 22%; } to { top: 78%; } }
.hero-grid { background-image: linear-gradient(rgba(47,107,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(47,107,255,.07) 1px, transparent 1px); }
.hero-gradient { background:
    radial-gradient(circle 420px at var(--mx, 30%) var(--my, 40%), rgba(212,175,55,.42), transparent 60%),
    radial-gradient(circle 520px at calc(var(--mx, 30%) + 12%) calc(var(--my, 40%) + 10%), rgba(47,107,255,.16), transparent 60%); }
.contact-glow { background:
    radial-gradient(circle 380px at var(--mx, 50%) var(--my, 60%), rgba(212,175,55,.28), transparent 65%),
    radial-gradient(circle 520px at 50% 110%, rgba(255,30,30,.12), transparent 70%); }
.el-n { color: var(--c, var(--gold)); }
.element-brand .el-face { border-color: rgba(212,175,55,.5); background: linear-gradient(160deg, rgba(212,175,55,.14), rgba(255,30,30,.05)); box-shadow: 0 0 50px -14px rgba(212,175,55,.55); }
.plan-featured { background: linear-gradient(180deg, rgba(212,175,55,.12), rgba(255,30,30,.03)); }
.marquee-track i { text-shadow: 0 0 14px rgba(212,175,55,.8); }

/* Contact form: plan selector + send status (quote requests go to Lumnia Labs Oficina) */
.contact-form select { width: 100%; font: inherit; font-family: var(--sans); font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--ink);
  background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 14px; padding: .95rem 1rem; transition: border-color .3s, box-shadow .3s; color-scheme: dark; }
.contact-form select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,.08); }
.contact-form select option { background: var(--bg-2); color: var(--ink); }
.ll-form-status { grid-column: 1 / -1; margin: .4rem 0 0; font-family: var(--mono); font-size: .85rem; color: var(--mute); text-align: center; }
.ll-form-status[data-ok="1"] { color: var(--gold); }
.ll-form-status[data-ok="0"] { color: #FF6B6B; }

/* =============================================================
   LU · website assistant (chat bubble with the red AI eye)
   ============================================================= */
.lu { position: fixed; right: clamp(12px, 2.4vw, 28px); bottom: clamp(12px, 2.4vw, 28px); z-index: 70; font-family: var(--sans); }
.lu-launch {
  display: inline-flex; align-items: center; gap: .7rem; padding: .55rem 1.1rem .55rem .55rem; border-radius: 999px;
  background: rgba(18,16,12,.88); backdrop-filter: blur(14px) saturate(140%); color: var(--ink);
  border: 1px solid rgba(212,175,55,.45); box-shadow: 0 18px 50px -18px rgba(0,0,0,.8), 0 0 0 1px rgba(10,8,6,.6), 0 0 30px -10px rgba(212,175,55,.45);
  font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  transition: transform .5s var(--ease-out), border-color .3s, box-shadow .4s;
}
.lu-launch:hover { transform: translateY(-2px); border-color: rgba(212,175,55,.85); box-shadow: 0 22px 60px -18px rgba(0,0,0,.85), 0 0 40px -8px rgba(212,175,55,.6); }
.lu.is-open .lu-launch { opacity: 0; pointer-events: none; transform: translateY(10px) scale(.9); }

/* the eye: a gold iris with the red core of the Lumnia mark */
.lu-eye { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #1A1208 0 46%, transparent 47%), var(--grad);
  box-shadow: inset 0 0 0 1px rgba(255,246,216,.35), 0 0 18px -4px rgba(212,175,55,.7); flex: none; }
.lu-eye i { width: 12px; height: 12px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 8px var(--red), 0 0 18px rgba(255,30,30,.75), 0 0 34px rgba(255,30,30,.45); animation: luEye 3.6s ease-in-out infinite; }
.lu-eye-sm { width: 30px; height: 30px; }
.lu-eye-sm i { width: 9px; height: 9px; }
@keyframes luEye { 0%, 42%, 58%, 100% { transform: scale(1); opacity: 1; } 47% { transform: scaleY(.15); opacity: .7; } 52% { transform: scale(1.25); } }

.lu-panel {
  position: absolute; right: 0; bottom: 0; width: min(390px, calc(100vw - 24px)); height: min(580px, calc(100svh - 110px));
  display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; padding: 0;
  background: linear-gradient(180deg, #1A160F, #0C0A07);
  border: 1px solid rgba(212,175,55,.35); box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 60px -30px rgba(212,175,55,.55);
  opacity: 0; transform: translateY(18px) scale(.97); transform-origin: bottom right; transition: opacity .35s var(--ease-out), transform .5s var(--ease-out);
}
.lu.is-open .lu-panel { opacity: 1; transform: none; }
/* a closed panel must not catch clicks: display:flex above would otherwise beat the hidden attribute */
.lu-panel[hidden] { display: none; }
.lu:not(.is-open) .lu-panel { pointer-events: none; }
.lu-panel::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(247,227,161,.8), transparent); }
.lu-head { display: flex; align-items: center; gap: .75rem; padding: .95rem 1rem .85rem; border-bottom: 1px solid var(--line); }
.lu-title { display: grid; line-height: 1.2; flex: 1; }
.lu-title b { font-family: var(--display); font-size: 1.02rem; letter-spacing: -0.01em; }
.lu-status { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.lu-status i { width: 6px; height: 6px; border-radius: 50%; background: #28C840; box-shadow: 0 0 8px #28C840; }
.lu-close { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); color: var(--mute); font-size: 1.2rem; line-height: 1; transition: color .3s, border-color .3s; }
.lu-close:hover { color: var(--ink); border-color: rgba(212,175,55,.6); }

.lu-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; scrollbar-width: thin; scrollbar-color: rgba(212,175,55,.3) transparent; overscroll-behavior: contain; }
.lu-msg { max-width: 86%; padding: .7rem .9rem; border-radius: 16px; font-size: .92rem; line-height: 1.5; overflow-wrap: anywhere; animation: luIn .45s var(--ease-out) both; }
.lu-msg a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.lu-model { align-self: flex-start; background: rgba(245,238,220,.05); border: 1px solid var(--line); border-bottom-left-radius: 5px; color: #E9E2D0; }
.lu-user { align-self: flex-end; background: linear-gradient(135deg, rgba(212,175,55,.2), rgba(140,106,43,.16)); border: 1px solid rgba(212,175,55,.35); border-bottom-right-radius: 5px; color: var(--ink); }
.lu-note { align-self: center; max-width: 100%; background: transparent; border: 1px dashed rgba(212,175,55,.45); color: var(--gold); font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; text-align: center; }
.lu-err { border-color: rgba(255,30,30,.35); }
.lu-wait { display: inline-flex; align-items: center; gap: .6rem; color: var(--mute); font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; }
.lu-typing { display: inline-flex; gap: 4px; }
.lu-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px rgba(255,30,30,.7); animation: luDot 1.1s ease-in-out infinite; }
.lu-typing i:nth-child(2) { animation-delay: .15s; } .lu-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes luDot { 0%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes luIn { from { opacity: 0; transform: translateY(8px); } }

.lu-chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .6rem; }
.lu-chips:empty { display: none; }
.lu-chip { font-size: .8rem; padding: .45rem .8rem; border-radius: 999px; border: 1px solid rgba(212,175,55,.35); color: #E9E2D0; background: rgba(212,175,55,.06); transition: background .3s, border-color .3s, color .3s; }
.lu-chip:hover { background: rgba(212,175,55,.16); border-color: var(--gold); color: var(--ink); }
.lu-form { display: flex; gap: .5rem; padding: .7rem .8rem .5rem; border-top: 1px solid var(--line); }
.lu-input { flex: 1; min-width: 0; font: inherit; font-size: .95rem; color: var(--ink); background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 999px; padding: .7rem 1rem; }
.lu-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.12); }
.lu-send { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--grad); color: #241A05; font-size: 1.05rem; font-weight: 700; transition: transform .4s var(--ease-out); }
.lu-send:hover { transform: rotate(-45deg); }
.lu-foot { padding: 0 1rem .7rem; font-size: .66rem; color: var(--dim); text-align: center; }

@media (max-width: 539px) {
  .lu-launch { padding: .5rem; }
  .lu-launch-text { display: none; }
  .lu-panel { position: fixed; left: 10px; right: 10px; bottom: 10px; width: auto; height: min(76svh, 600px); }
}
@media (prefers-reduced-motion: reduce) {
  .lu-eye i { animation-duration: 8s; }
}

/* ---- Contact form legal note (2026-10-11) ---- */
.form-legal { font-size: .8rem; color: var(--dim); text-align: center; margin: .2rem 0 0; }
.form-legal a { color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.form-legal a:hover { color: var(--gold); }

/* ---- v5 · Elegant type (2026-10-11): the user found the monospace "robotic".
   No monospace anywhere: labels are tracked Inter capitals, accents use Instrument Serif italic. ---- */
:root { --mono: "Inter", system-ui, -apple-system, sans-serif; --serif: "Instrument Serif", Georgia, "Times New Roman", serif; }
.mono, .label, .kicker, .work-log, .browser-bar span, .lang button, .plan-price small, .contact-form label, .ll-form-status, .lu-status, .lu-note, .lu-wait, .cursor-label { font-variant-numeric: tabular-nums; font-weight: 500; }
.label, .kicker { font-size: .7rem; letter-spacing: .24em; }
.hero-chips { font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 1.6vw, 1.25rem); letter-spacing: .005em; color: var(--ink); gap: .35rem 1.9rem; }
.hero-chips li::before { content: "◆"; font-style: normal; font-size: .5em; vertical-align: .32em; margin-right: .7rem; color: var(--gold); }
.hero-clocks { align-items: baseline; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; gap: 1.9rem; }
.hero-clocks b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.3rem; letter-spacing: 0; text-transform: none; margin-left: .55rem; }
.sys { letter-spacing: .24em; font-weight: 500; }
.work-log { font-size: .68rem; letter-spacing: .22em; }
.work-meta, .work-meta.mono { font-family: var(--serif); font-style: italic; font-size: 1.1rem; text-transform: none; letter-spacing: 0; }
.browser-bar span { letter-spacing: .04em; }
.contact-form label, .kick-form label, .pay-fields label { letter-spacing: .16em; font-size: .68rem; }
.doc-updated, .kick-step legend .mono { letter-spacing: .18em; text-transform: uppercase; font-size: .68rem; }
