/* Kernglut v3 — cinematic dark theme */
:root {
  --bg: #0a0a0a;
  --bg-2: #111010;
  --bg-3: #171513;
  --line: rgba(230, 196, 122, 0.16);
  --line-strong: rgba(230, 196, 122, 0.38);
  --text: #f3ede3;
  --muted: #a69c8e;
  --dim: #6f675c;
  --gold: #d8b06a;
  --gold-light: #f1d79c;
  --gold-deep: #a9813c;
  --ember: #ff6a2b;
  --ember-deep: #c2410c;
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1280px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #0a0a0a; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Grain overlay for richness */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .05;
  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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Typography */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); }
h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
em, .gold-i { font-style: italic; color: var(--gold-light); }
p { margin: 0 0 1em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 700;
  margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 60ch; }

/* Buttons */
.btn {
  --b: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid var(--b);
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 45%, var(--gold-deep));
  color: #140f08; font-weight: 700; font-size: 15px; letter-spacing: .02em; text-decoration: none;
  cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: 0 0 0 rgba(255, 106, 43, 0);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -8px rgba(255, 140, 60, .55); }
.btn-ghost { background: transparent; color: var(--gold-light); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--gold); box-shadow: 0 10px 40px -14px rgba(216, 176, 106, .5); }
.btn-small { padding: 10px 18px; font-size: 14px; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--gutter);
  transition: background .4s, backdrop-filter .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(10, 10, 10, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; border-color: var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 26px; font-weight: 600; text-decoration: none; letter-spacing: .01em; }
.logo .flame { width: 20px; height: 20px; color: var(--ember); filter: drop-shadow(0 0 8px rgba(255, 106, 43, .7)); }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { text-decoration: none; font-size: 14px; color: var(--muted); letter-spacing: .03em; transition: color .3s; }
.main-nav ul a:hover { color: var(--gold-light); }
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.lang button { background: none; border: 0; padding: 6px 11px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--gold); color: #140f08; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 999px; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--gold-light); margin: 4px auto; transition: transform .3s; }

/* HERO */
.hero { position: relative; height: 420vh; background: #000; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img { z-index: 0; }
.hero-media video { z-index: 1; }
.hero-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255, 106, 43, .18), transparent 60%),
    linear-gradient(180deg, rgba(10,10,10,.65) 0%, rgba(10,10,10,.1) 30%, rgba(10,10,10,.15) 65%, rgba(10,10,10,1) 100%);
}
.hero-dim { position: absolute; inset: 0; z-index: 2; background: #0a0a0a; opacity: 0; pointer-events: none; }
.hero-intro { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) clamp(70px, 12vh, 140px); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.hero-intro h1 { font-size: clamp(3.2rem, 9vw, 8.6rem); line-height: .95; max-width: 11ch; text-shadow: 0 4px 40px rgba(0,0,0,.5); }
.hero-intro .lead { color: #d8cfc2; margin-top: 22px; }
.hero-intro .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.scroll-cue { position: absolute; z-index: 3; right: var(--gutter); bottom: 40px; display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero-logo { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; text-align: center; pointer-events: none; opacity: 0; }
.hero-logo .word {
  font-family: var(--serif); font-weight: 600; font-size: clamp(4rem, 15vw, 13rem); line-height: 1; letter-spacing: .02em;
  background: linear-gradient(180deg, #fff3d4 0%, var(--gold-light) 35%, var(--gold) 65%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(241, 215, 156, .55)) drop-shadow(0 0 70px rgba(255, 106, 43, .35));
}
.hero-logo .tag { display: block; margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 2rem); color: var(--gold-light); }
.hero-progress { position: absolute; z-index: 5; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--ember), var(--gold-light)); transform-origin: left; transform: scaleX(0); }

/* Sections */
.section { position: relative; padding: clamp(100px, 16vh, 180px) 0; }
.section + .section { border-top: 1px solid rgba(255,255,255,.04); }
.section-head { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: clamp(50px, 8vh, 90px); }
.section-head.split-cols { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 60px; }
.glow-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 0%, rgba(255,106,43,.10), transparent 70%), radial-gradient(ellipse 50% 40% at 0% 100%, rgba(216,176,106,.08), transparent 70%);
}
.section > .wrap { position: relative; z-index: 1; }

/* Manifesto (pinned word reveal) */
.manifesto { min-height: 100vh; display: flex; align-items: center; }
.manifesto p.big {
  font-family: var(--serif); font-size: clamp(2.2rem, 5.4vw, 5.2rem); line-height: 1.1; margin: 0; max-width: 18ch;
}
.manifesto .sig { margin-top: 40px; color: var(--muted); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; }
.w { display: inline-block; }
.js-anim .reveal-words .w { opacity: .14; transition: none; }
.split-line { overflow: hidden; display: inline-block; vertical-align: top; padding-bottom: .08em; }
.split-line .w { display: inline-block; }

/* Service cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; padding: 38px 34px 36px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: border-color .4s, transform .5s var(--ease);
}
.card::before { content: ""; position: absolute; inset: -1px; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,140,60,.14), transparent 60%); }
.card:hover { border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card .num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 22px; }
.card h3 { margin: 18px 0 14px; }
.card p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 15px; }
.ticks li { position: relative; padding-left: 24px; color: #d6cdbf; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle, var(--gold-light), var(--ember) 70%); box-shadow: 0 0 10px rgba(255,106,43,.6); }

/* Cinematic image band */
.band { position: relative; height: 120vh; overflow: hidden; display: grid; place-items: center; }
.band-img { position: absolute; inset: -10% 0; }
.band-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(10,10,10,.35) 25%, rgba(10,10,10,.35) 75%, var(--bg) 100%); }
.band-text { position: relative; z-index: 2; text-align: center; padding: 0 var(--gutter); }
.band-text h2 { font-size: clamp(2.6rem, 7vw, 6.4rem); max-width: 14ch; margin: 0 auto; text-shadow: 0 6px 50px rgba(0,0,0,.6); }

/* Gallery parallax strip */
.strip { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; margin-top: 70px; }
.frame { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 16/10; }
.frame img { width: 100%; height: 120%; object-fit: cover; transform: translateY(-8%) scale(1.08); }
.frame.tall { aspect-ratio: 4/5; }
.frame figcaption { position: absolute; left: 18px; bottom: 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); z-index: 2; }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.6)); }

/* Process — horizontal pinned */
.process { overflow: hidden; }
.process-track { display: flex; gap: 26px; width: max-content; padding-right: var(--gutter); }
.step {
  width: min(78vw, 520px); min-height: 380px; padding: 44px 40px; border-radius: var(--radius); flex: none;
  border: 1px solid var(--line); background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  display: flex; flex-direction: column; justify-content: space-between;
}
.step .big-num { font-family: var(--serif); font-size: clamp(5rem, 9vw, 8rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--gold); opacity: .8; }
.step h3 { margin: 30px 0 14px; }
.step p { color: var(--muted); margin: 0; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price {
  position: relative; display: flex; flex-direction: column; padding: 40px 34px 34px; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008));
}
.price.featured { border-color: var(--gold); background: radial-gradient(ellipse at 50% 0%, rgba(216,176,106,.14), transparent 60%), linear-gradient(180deg, #16120c, #0e0c0a); box-shadow: 0 30px 80px -40px rgba(255,106,43,.45); }
.price .badge { position: absolute; top: -12px; left: 34px; background: linear-gradient(135deg, var(--ember), var(--gold)); color: #140f08; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.price h3 { font-size: 2rem; }
.price .amount { font-family: var(--serif); font-size: clamp(2.8rem, 4vw, 3.6rem); line-height: 1; margin: 22px 0 6px; color: var(--gold-light); }
.price .amount small { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-left: 4px; }
.price .from { font-size: 13px; color: var(--dim); letter-spacing: .1em; text-transform: uppercase; }
.price .desc { color: var(--muted); margin-top: 8px; }
.price .ticks { margin-bottom: 30px; flex: 1; }
.price .btn { width: 100%; }
.sub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: clamp(80px, 12vh, 130px) 0 34px; padding-top: 34px; border-top: 1px solid var(--line); }
.sub-head h3 { font-size: clamp(2rem, 3.6vw, 3rem); }
.sub-head p { color: var(--muted); margin: 0; max-width: 46ch; }
.vat { margin-top: 40px; font-size: 14px; color: var(--muted); text-align: center; }
.vat::before { content: "§ "; color: var(--gold); }

/* Extras */
.extras { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; border-top: 1px solid var(--line); }
.extra { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 22px; padding: 26px 4px; border-bottom: 1px solid var(--line); }
.extra h4 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.55rem; line-height: 1.15; }
.extra p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.extra .p { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-light); white-space: nowrap; }

/* Reference */
.ref { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.browser { border-radius: 14px; border: 1px solid var(--line-strong); background: #120f0c; overflow: hidden; box-shadow: 0 50px 120px -50px rgba(255,106,43,.45); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a332b; }
.browser-bar span { margin-left: 12px; font-size: 12px; color: var(--dim); letter-spacing: .05em; }
.browser-body { aspect-ratio: 16/10; display: grid; place-items: center; text-align: center; padding: 30px;
  background: radial-gradient(ellipse at 50% 120%, rgba(255,106,43,.35), transparent 60%), radial-gradient(ellipse at 50% -20%, rgba(216,176,106,.15), transparent 60%), #0d0b09; }
.browser-body .bc { font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1; color: var(--gold-light); text-shadow: 0 0 40px rgba(255,106,43,.5); }
.browser-body .bc-sub { margin-top: 12px; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.ref .note { font-size: 13px; color: var(--dim); margin-top: 18px; }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about .frame { aspect-ratio: 4/5; }
.about .frame img { object-position: 50% 20%; }
.about blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.2; }
.about .who { margin-top: 30px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact .mail { display: inline-block; margin-top: 24px; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--gold-light); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
form.kform { display: grid; gap: 16px; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); }
.field { display: grid; gap: 7px; }
.field label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.35); color: var(--text);
  font: inherit; font-size: 16px; transition: border-color .3s, box-shadow .3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: #111; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(216,176,106,.15); }
.field textarea { min-height: 150px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--dim); margin: 0; }
.flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(255,140,60,.0); } 30% { box-shadow: 0 0 0 6px rgba(255,140,60,.35); } 100% { box-shadow: 0 0 0 0 rgba(255,140,60,0); } }

/* Footer */
.site-footer { position: relative; padding: 90px 0 34px; border-top: 1px solid var(--line); background: radial-gradient(ellipse 70% 80% at 50% 120%, rgba(255,106,43,.14), transparent 70%), var(--bg); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; gap: 40px; align-items: start; }
.footer-brand .logo { font-size: 34px; }
.footer-brand p { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--gold-light); }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-menu a { text-decoration: none; color: var(--muted); transition: color .3s; }
.footer-menu a:hover { color: var(--gold-light); }
.footer-contact { display: grid; gap: 18px; justify-items: start; }
.footer-contact a.m { color: var(--text); text-decoration: none; font-size: 1.1rem; }
.footer-bottom { margin-top: 70px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); font-size: 13px; color: var(--dim); display: flex; gap: 10px; flex-wrap: wrap; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-giant { font-family: var(--serif); font-weight: 600; font-size: clamp(5rem, 22vw, 20rem); line-height: .8; text-align: center; margin-top: 60px; color: transparent; -webkit-text-stroke: 1px rgba(216,176,106,.22); user-select: none; pointer-events: none; }

/* Kerni chat */
.kerni-btn {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 16px; border-radius: 999px; border: 1px solid var(--gold); cursor: pointer;
  background: rgba(14, 11, 8, .9); backdrop-filter: blur(10px); color: var(--gold-light); font-weight: 700; font-size: 14px;
  box-shadow: 0 10px 40px -10px rgba(255,106,43,.6);
}
.kerni-btn .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px var(--ember); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.kerni {
  position: fixed; right: 20px; bottom: 84px; z-index: 61; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px));
  display: flex; flex-direction: column; border-radius: 20px; border: 1px solid var(--line-strong); background: #0f0d0b; overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 60px -30px rgba(255,106,43,.5);
  transform-origin: bottom right; transition: opacity .3s, transform .35s var(--ease);
}
.kerni[hidden] { display: none; }
.kerni-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.kerni-head strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.kerni-head .demo { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #140f08; background: var(--gold); padding: 3px 8px; border-radius: 999px; margin-left: 8px; vertical-align: middle; font-family: var(--sans); font-weight: 800; }
.kerni-head small { display: block; font-size: 11.5px; color: var(--dim); line-height: 1.4; margin-top: 3px; }
.kerni-close { background: none; border: 1px solid var(--line); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; color: var(--muted); flex: none; }
.kerni-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-line; }
.msg.bot { background: #1a1612; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #140f08; border-bottom-right-radius: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 10px; }
.chips button { background: none; border: 1px solid var(--line-strong); color: var(--gold-light); padding: 6px 11px; border-radius: 999px; font-size: 12.5px; cursor: pointer; }
.chips button:hover { background: rgba(216,176,106,.1); }
.kerni-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.kerni-form input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: #000; color: var(--text); font: inherit; font-size: 16px; }
.kerni-form button { border: 0; border-radius: 999px; padding: 0 16px; background: var(--gold); color: #140f08; font-weight: 700; cursor: pointer; }

/* Legal pages */
.legal { padding: 150px 0 100px; max-width: 820px; }
.legal h1 { font-size: clamp(2.8rem, 6vw, 4.4rem); margin-bottom: 40px; }
.legal h2 { font-size: 1.7rem; margin: 44px 0 12px; color: var(--gold-light); }
.legal p { color: #d6cdbf; }
.legal a { color: var(--gold-light); }
.legal .back { display: inline-block; margin-bottom: 30px; color: var(--muted); text-decoration: none; font-size: 14px; }

/* Initial hidden states only when JS animations are active */
.js-anim .slide-in { opacity: 0; transform: translateY(60px); }
.js-anim .fade-up { opacity: 0; transform: translateY(30px); }

/* Responsive */
@media (max-width: 1080px) {
  .main-nav ul { gap: 18px; }
  .price-grid, .cards-3 { grid-template-columns: 1fr 1fr; }
  .extras { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 34px; background: rgba(10,10,10,.97); opacity: 0; pointer-events: none; transition: opacity .35s; }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 22px; }
  .main-nav ul a { font-family: var(--serif); font-size: 2rem; color: var(--text); }
  .header-cta { display: none; }
  .section-head.split-cols, .ref, .about, .contact, .footer-grid, .strip { grid-template-columns: 1fr; }
  .price-grid, .cards-3 { grid-template-columns: 1fr; }
  .hero { height: 260vh; }
  .band { height: 80vh; }
  .process-track { flex-direction: column; width: auto; padding-right: 0; }
  .step { width: 100%; min-height: 0; }
  .step h3 { margin-top: 20px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .row-2 { grid-template-columns: 1fr; }
  .extra { grid-template-columns: 1fr auto; }
  .extra .btn { grid-column: 1 / -1; justify-self: start; }
  .scroll-cue { display: none; }
  .kerni-btn { right: 14px; bottom: 14px; }
  .kerni { right: 16px; bottom: 76px; }
  .site-header .logo { font-size: 22px; }
}

/* Calm version */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero { height: auto; }
  .hero-stage { position: relative; height: 100vh; height: 100svh; }
  .hero-media video { display: none; }
  .hero-logo { opacity: 1; place-items: start center; padding-top: 18vh; }
  .reveal-words .w { opacity: 1; }
  .band-img img, .frame img { transform: none; height: 100%; }
}

/* ===== Brief 3: Glowing-K logo, opening sequence, offer, FAQ, contact ===== */

/* Logo (inline SVG, gold-fire version) */
.logo svg.kg-logo { display: block; height: 38px; width: auto; overflow: visible; }
.site-header.scrolled .logo svg.kg-logo { height: 32px; transition: height .4s; }
.footer-brand .logo svg.kg-logo { height: 64px; }
.hero-lockup { display: block; }
.hero-lockup svg.kg-logo { width: min(82vw, 820px); height: auto; overflow: visible; }
.kg-logo .kg-glow-wide { animation: kg-flicker-a 4.3s ease-in-out infinite; }
.kg-logo .kg-glow-tight { animation: kg-flicker-b 2.7s ease-in-out infinite; }
.kg-logo .kg-halo { animation: kg-flicker-c 3.1s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.kg-logo .kg-ember { animation: kg-flicker-d 2.2s ease-in-out infinite; }
@keyframes kg-flicker-a { 0%, 100% { opacity: .5; } 18% { opacity: .62; } 31% { opacity: .46; } 47% { opacity: .66; } 63% { opacity: .52; } 81% { opacity: .6; } }
@keyframes kg-flicker-b { 0%, 100% { opacity: .45; } 22% { opacity: .58; } 40% { opacity: .42; } 58% { opacity: .55; } 77% { opacity: .48; } }
@keyframes kg-flicker-c { 0%, 100% { opacity: .85; transform: scale(1); } 30% { opacity: 1; transform: scale(1.12); } 55% { opacity: .78; transform: scale(.96); } 80% { opacity: .95; transform: scale(1.06); } }
@keyframes kg-flicker-d { 0%, 100% { opacity: .9; } 35% { opacity: 1; } 60% { opacity: .82; } }
/* Header K dot waits for the flying spark during the intro */
.intro-on .site-header .kg-dot { opacity: 0; }
.site-header .kg-dot { transition: opacity .25s; }
.kg-dot.lit { animation: kg-ignite .9s cubic-bezier(.2,.7,.1,1); transform-box: fill-box; transform-origin: center; }
@keyframes kg-ignite { 0% { transform: scale(3.2); opacity: 0; } 35% { opacity: 1; } 100% { transform: scale(1); opacity: 1; } }

/* Opening sequence overlay */
.intro { display: none; }
.intro-on .intro { display: block; position: fixed; inset: 0; z-index: 80; background: #000; pointer-events: auto; }
.intro.fade-bg { background: transparent; transition: background 1.4s ease; }
.intro.done { opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro video.spark { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; }
.intro-skip { position: absolute; right: 18px; bottom: 18px; z-index: 2; background: rgba(0,0,0,.4); border: 1px solid rgba(230,196,122,.35); color: var(--muted); border-radius: 999px; padding: 9px 16px; font-size: 13px; cursor: pointer; }
.intro-skip:hover { color: var(--gold-light); border-color: var(--gold); }
html.intro-on, html.intro-on body { overflow: hidden; }
.intro-on .site-header { z-index: 85; }           /* header (with the K) sits above the intro so the spark can land in it */
.intro-on .site-header .main-nav, .intro-on .site-header .nav-toggle { opacity: 0; }
.site-header .main-nav, .site-header .nav-toggle { transition: opacity .8s ease; }
.intro-on .hero-intro { visibility: hidden; }
.intro-on .kerni-btn, .intro-on .wa-btn { opacity: 0; pointer-events: none; }

/* Hero offer */
.cta-main { display: grid; gap: 10px; justify-items: start; }
.btn-xl { padding: 20px 34px; font-size: clamp(16px, 1.4vw, 18px); box-shadow: 0 14px 50px -14px rgba(255,120,40,.65); }
.btn-xl:hover { box-shadow: 0 18px 60px -12px rgba(255,140,60,.8); }
.cta-note { margin: 0 0 0 6px; font-size: 14px; color: #d8cfc2; letter-spacing: .02em; }
.cta-note::before { content: "✓ "; color: var(--gold); }
.hero-intro .cta-row { align-items: flex-start; }

/* FAQ */
.faq-wrap { max-width: 980px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 4px; font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.2; transition: color .3s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-light); }
.faq-item summary i { flex: none; position: relative; width: 22px; height: 22px; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 1.5px; background: var(--gold); transition: transform .4s var(--ease); }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-a { padding: 0 4px 26px; color: var(--muted); max-width: 70ch; }
.faq-a p { margin: 0; }

/* Contact form */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-hint { margin: -6px 0 0; font-size: 13px; color: var(--dim); }
.form-status { border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.form-status.ok { border: 1px solid var(--gold); background: rgba(216,176,106,.08); color: var(--text); }
.form-status.err { border: 1px solid rgba(255,106,43,.6); background: rgba(255,106,43,.08); }
.form-status a { color: var(--gold-light); }
.form-note a { color: var(--muted); }
.field.invalid input, .field.invalid textarea { border-color: var(--ember); }

/* WhatsApp (bottom left) */
.wa-btn { position: fixed; left: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px 12px 14px; border-radius: 999px; background: rgba(14,11,8,.9); backdrop-filter: blur(10px); border: 1px solid rgba(37,211,102,.55); color: #e9f7ee; text-decoration: none; font-weight: 700; font-size: 14px; box-shadow: 0 10px 40px -12px rgba(0,0,0,.8); transition: transform .3s var(--ease), border-color .3s, opacity .6s; }
.wa-btn svg { width: 22px; height: 22px; color: #25d366; }
.wa-btn:hover { transform: translateY(-2px); border-color: #25d366; }
@media (max-width: 560px) {
  .wa-btn { left: 14px; bottom: 14px; padding: 12px; }
  .wa-btn span { display: none; }
  .logo svg.kg-logo { height: 32px; }
  .btn-xl { width: 100%; padding: 18px 22px; }
  .cta-main { width: 100%; justify-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .kg-logo .kg-glow-wide, .kg-logo .kg-glow-tight, .kg-logo .kg-halo, .kg-logo .kg-ember { animation: none !important; }
  .intro { display: none !important; }
}
.intro-on.k-lit .site-header .kg-dot { opacity: 1; }
.intro-on.hero-ready .hero-intro { visibility: visible; }
.logo-img { display: block; height: 38px; width: auto; }
.footer-brand .logo-img { height: 64px; }

/* Spark video: black curtain is its own layer, sparks are screen-blended over the page */
.intro-curtain { display: none; }
.intro-on .intro-curtain { display: block; position: fixed; inset: 0; z-index: 79; background: #000; transition: opacity 1.4s ease; }
.intro-curtain.gone { opacity: 0; }
.intro-on .intro { background: transparent; mix-blend-mode: screen; }

/* Skip button lives outside the blended layer so it stays crisp */
.intro-skip { display: none; }
.intro-on .intro-skip { display: block; position: fixed; z-index: 86; right: 18px; bottom: 18px; transition: opacity .5s; }
.intro.done ~ .intro-skip { opacity: 0; pointer-events: none; }

/* ===== Brief 4 ===== */

/* Phone frame with recorded auto-scroll */
.phone-stage { display: grid; place-items: center; padding: 20px 0; position: relative; }
.phone-stage::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,120,40,.22), transparent 65%); filter: blur(10px); }
.phone { position: relative; width: min(300px, 72vw); aspect-ratio: 9 / 19.5; border-radius: 48px; padding: 11px;
  background: linear-gradient(145deg, #3a352f, #121110 40%, #2a2622 70%, #0d0c0b);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.12), inset 0 0 0 3px #050505, 0 50px 100px -40px rgba(0,0,0,.95), 0 30px 80px -40px rgba(255,106,43,.45); }
.phone-btn { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #2c2824, #4a443d); }
.phone-btn-a { left: -3px; top: 18%; height: 7%; }
.phone-btn-b { left: -3px; top: 28%; height: 11%; }
.phone-btn-c { right: -3px; top: 24%; height: 15%; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #120d09; }
.phone-screen video { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.phone-island { position: absolute; z-index: 2; top: 10px; left: 50%; transform: translateX(-50%); width: 30%; height: 24px; border-radius: 20px; background: #000; }
.phone-screen::after { content: ""; position: absolute; inset: 0; border-radius: 38px; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.07), transparent 35%); }

/* Footer "Kernglut" — gold fire that lights up on arrival */
.footer-giant { display: grid; color: inherit; -webkit-text-stroke: 0; }
.footer-giant .fg { grid-area: 1 / 1; }
.fg-outline { color: transparent; -webkit-text-stroke: 1px rgba(216,176,106,.22); }
.fg-fire { background: linear-gradient(180deg, #FFF1C9 0%, #F2C66B 38%, #D99A3A 72%, #B9561F 100%); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; }
.fg-glow { color: transparent; text-shadow: 0 0 28px rgba(255,150,60,.55), 0 0 70px rgba(255,100,30,.4), 0 0 140px rgba(255,80,20,.25); opacity: 0; }
.footer-giant.lit .fg-glow { animation: kg-flicker-a 4.3s ease-in-out infinite; }
html:not(.js-anim) .fg-fire, html:not(.js-anim) .fg-glow { opacity: 1; }

/* Golden fuse line */
.fuse { position: absolute; top: 0; left: 0; width: 100%; pointer-events: none; z-index: 4; display: none; }
.js-anim .fuse { display: block; }
.fuse svg { display: block; overflow: visible; }
.fuse-track { fill: none; stroke: rgba(216,176,106,.08); stroke-width: 1; }
.fuse-glow { fill: none; stroke: rgba(255,110,30,.28); stroke-width: 7; stroke-linecap: round; }
.fuse-mid { fill: none; stroke: rgba(255,170,80,.6); stroke-width: 2.6; stroke-linecap: round; }
.fuse-core { fill: none; stroke: #ffe3a8; stroke-width: 1.1; stroke-linecap: round; }
.fuse-head { animation: kg-flicker-c 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@media (max-width: 900px) {
  .fuse-glow { stroke-width: 4; stroke: rgba(255,110,30,.22); }
  .fuse-mid { display: none; }
  .fuse-track { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fuse { display: none !important; }
  .fg-fire, .fg-glow { opacity: 1 !important; animation: none !important; }
}
body { position: relative; }
@media (prefers-reduced-motion: reduce) { .hero-logo { display: none !important; } }

/* ===== Brief 5: drone flight into local businesses ===== */
/* Base (calm / no-JS): stacked panels with poster images and visible text */
.flight { position: relative; background: #050403; }
.flight-stage { position: relative; }
.flight-scene, .flight-end { position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden; }
.flight-poster, .flight-poster img, .flight-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flight-video { display: none; }
.flight-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,4,3,.55) 0%, rgba(5,4,3,0) 28%, rgba(5,4,3,.15) 50%, rgba(5,4,3,.88) 100%),
              radial-gradient(ellipse 80% 60% at 20% 85%, rgba(5,4,3,.7), transparent 70%); }
.flight-text { position: relative; z-index: 2; width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) clamp(70px, 13vh, 140px); }
.flight-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6.6vw, 6.4rem); line-height: 1.02; letter-spacing: -.01em; max-width: 14ch;
  background: linear-gradient(180deg, #FFF1C9 0%, #F2C66B 40%, #D99A3A 75%, #B9561F 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(255,140,50,.45)) drop-shadow(0 2px 30px rgba(0,0,0,.6)); }
.flight-title em { color: transparent; font-style: italic; }
.flight-sub { margin: 22px 0 0; font-size: clamp(13px, 1.1vw, 15px); font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--cream, #f3ede3); opacity: .9; }
.flight-sub::before { content: ""; display: inline-block; width: 34px; height: 1px; margin-right: 14px; vertical-align: middle; background: linear-gradient(90deg, transparent, var(--gold)); }
.flight-end { align-items: center; justify-content: center; text-align: center; background: radial-gradient(ellipse 70% 60% at 50% 60%, rgba(255,106,43,.18), transparent 70%), #070504; }
.flight-end .flight-title { max-width: none; font-size: clamp(3rem, 9vw, 8.4rem); padding: 0 var(--gutter); }
.flight-cta { display: grid; justify-items: center; gap: 12px; margin-top: 40px; }
.flight-end > * { position: relative; z-index: 2; }
.flight-end { flex-direction: column; }
.flight-dots { display: none; }
/* split letters (JS) */
.flight-title .fw { display: inline-block; white-space: nowrap; }
.flight-title.is-split { background: none; }
.flight-title .ch { display: inline-block; background: linear-gradient(180deg, #FFF1C9 0%, #F2C66B 40%, #D99A3A 75%, #B9561F 100%); -webkit-background-clip: text; background-clip: text; color: transparent; will-change: opacity, transform; padding-bottom: .08em; margin-bottom: -.08em; }
.flight-title em .ch { font-style: italic; }

/* Animated version: one sticky stage, scenes crossfade like one continuous flight */
.js-anim .flight { height: 750vh; }
.js-anim .flight-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.js-anim .flight-scene, .js-anim .flight-end { position: absolute; inset: 0; min-height: 0; }
.js-anim .flight-scene { opacity: 0; }
.js-anim .flight-scene[data-scene="0"] { opacity: 1; }
.js-anim .flight-end { opacity: 0; }
.js-anim .flight-video { display: block; }
.js-anim .flight-text .flight-sub { opacity: 0; }
.js-anim .flight-dots { display: grid; gap: 10px; position: absolute; right: clamp(14px, 2.4vw, 34px); top: 50%; transform: translateY(-50%); z-index: 5; }
.flight-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(243,237,227,.25); transition: background .4s, box-shadow .4s, transform .4s; }
.flight-dots i.on { background: var(--gold-light); box-shadow: 0 0 12px rgba(255,140,50,.9); transform: scale(1.4); }
@media (max-width: 900px) {
  .js-anim .flight { height: 620vh; }
  .flight-title { filter: drop-shadow(0 0 12px rgba(255,140,50,.4)) drop-shadow(0 2px 18px rgba(0,0,0,.7)); }
  .flight-shade { background: linear-gradient(180deg, rgba(5,4,3,.5) 0%, rgba(5,4,3,0) 25%, rgba(5,4,3,.2) 45%, rgba(5,4,3,.92) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .flight-video { display: none !important; }
}

/* Film grain over the flight scenes (CSS instead of baked-in grain: 0 bytes, keeps the videos small) */
.flight-stage::after {
  content: ""; position: absolute; inset: -50%; z-index: 4; pointer-events: none; opacity: .11; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  animation: flight-grain .9s steps(6) infinite;
}
@keyframes flight-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); } }
.flight-scene .flight-shade { z-index: 1; }
.flight-text, .flight-end > * { z-index: 5; }
@media (max-width: 900px), (hover: none) { .flight-stage::after { animation: none; opacity: .09; } }
@media (prefers-reduced-motion: reduce) { .flight-stage::after { animation: none; } }
html:not(.js-anim) .flight-stage { overflow: hidden; }
/* The gym clip is bright and white: a little more shade behind the headline so the gold stays readable */
.flight-scene[data-scene="3"] .flight-shade {
  background: linear-gradient(180deg, rgba(5,4,3,.45) 0%, rgba(5,4,3,0) 26%, rgba(5,4,3,.25) 48%, rgba(5,4,3,.92) 100%),
              radial-gradient(ellipse 75% 65% at 18% 78%, rgba(5,4,3,.82), transparent 72%);
}
/* Buttons inside legal/404/thank-you pages keep their own colours */
.legal a.btn { color: #140f08; text-decoration: none; }
.legal a.btn.btn-ghost { color: var(--gold-light); }
