/* ============================================================
   WirStartenKI — Elevated Design System
   Navy / Cyan / Playfair Display + Inter
   ============================================================ */

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

:root {
  /* ---- Brand surface ladder ---- */
  --bg-deep: #03131F;        /* deepest — contrast sections */
  --bg-primary: #051C2C;     /* canonical navy */
  --bg-raised: #07273C;      /* lifted panels */
  --bg-card: rgba(255,255,255,0.025);
  --bg-card-hover: rgba(255,255,255,0.05);

  /* ---- Ink ---- */
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255,255,255,0.72);
  --text-muted: rgba(255,255,255,0.46);
  --text-faint: rgba(255,255,255,0.28);

  /* ---- Accent (tweakable) ---- */
  --accent-rgb: 0,212,255;
  --accent: #00D4FF;
  --accent-hover: #5BE4FF;
  --accent-deep: #0090B8;
  --accent-glow: rgba(var(--accent-rgb),0.28);
  --accent-wash: rgba(var(--accent-rgb),0.07);
  --accent-bd: rgba(var(--accent-rgb),0.24);
  --accent-bd-strong: rgba(var(--accent-rgb),0.30);
  --accent-ink: #03131F;     /* text on accent */

  /* ---- Glass ---- */
  --glass-bg: rgba(255,255,255,0.08);
  --glass-bd: rgba(255,255,255,0.18);
  --glass-blur: blur(22px) saturate(165%);
  --glass-hi: inset 0 1px 0 rgba(255,255,255,0.20);
  --shadow-card: 0 30px 70px -38px rgba(0,0,0,0.72);
  --shadow-float: 0 24px 60px -22px rgba(0,0,0,0.78);

  /* ---- Lines ---- */
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.16);
  --hairline: rgba(255,255,255,0.06);

  /* ---- Type ---- */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* fluid type scale */
  --t-display: clamp(40px, 5.4vw, 66px);
  --t-h2: clamp(32px, 4.4vw, 60px);
  --t-h3: clamp(21px, 1.6vw, 25px);
  --t-lead: clamp(18px, 1.55vw, 23px);
  --t-body: 17px;
  --t-small: 14px;
  --t-kicker: 12.5px;

  /* ---- Space (8pt) ---- */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 48px; --s-6: 64px; --s-7: 88px; --s-8: 120px; --s-9: 168px;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 11px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --motion: 1; /* tweakable multiplier hook */
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: var(--t-body);
  line-height: 1.62;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}

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

/* ---- Accessible keyboard focus (mouse clicks stay clean) ---- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
a:focus-visible, .btn:focus-visible, .nav-link:focus-visible { border-radius: 8px; }
.langdd-btn:focus-visible, .langdd-menu button:focus-visible { outline-offset: 2px; border-radius: 11px; }
.carousel-arrow:focus-visible { outline-offset: 3px; border-radius: 50%; }
.carousel-dots button:focus-visible { outline-offset: 4px; }
.carousel:focus-visible { outline-offset: -2px; border-radius: 16px; }
.news-input:focus-visible { outline: none; }
:focus:not(:focus-visible) { outline: none; }

/* ============================================================
   BACKGROUND — topographic / summit motif
   ============================================================ */
.bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.bg-grad {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(var(--accent-rgb),0.10) 0%, transparent 45%),
    radial-gradient(90% 60% at 88% 8%, rgba(var(--accent-rgb),0.06) 0%, transparent 50%),
    radial-gradient(70% 55% at 6% 92%, rgba(var(--accent-rgb),0.05) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-primary) 22%, var(--bg-primary) 100%);
}
.bg-topo { position: absolute; inset: -12% -12% -12% -12%; opacity: 0.46; will-change: transform; }
.bg-topo svg { width: 100%; height: 100%; overflow: visible; display: block; }
.bg-topo path { fill: none; stroke: var(--accent); stroke-width: 0.85; }
.bg-orb { position: absolute; border-radius: 50%; filter: blur(66px); mix-blend-mode: screen; pointer-events: none; will-change: transform; }
.bg-orb.o1 { width: 48vw; height: 48vw; left: -13vw; top: -12vw; background: radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb),0.17), transparent 62%); animation: orb1 calc(36s / var(--motion)) ease-in-out infinite; }
.bg-orb.o2 { width: 44vw; height: 44vw; right: -15vw; bottom: -12vw; background: radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb),0.11), transparent 62%); animation: orb2 calc(50s / var(--motion)) ease-in-out infinite; }
@keyframes orb1 { 0%,100% { transform: translate3d(0,0,0); } 33% { transform: translate3d(7vw,5vw,0); } 66% { transform: translate3d(2vw,-5vw,0); } }
@keyframes orb2 { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(-6vw,-6vw,0); } }
.bg-grain {
  position: absolute; inset: 0; opacity: 0.035; 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='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(calc(-2.2% * var(--motion)), calc(1.8% * var(--motion)), 0) rotate(calc(0.8deg * var(--motion))) scale(1.05); }
  100% { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
}
.bg-topo.animate { animation: drift calc(42s / var(--motion)) ease-in-out infinite; }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); position: relative; z-index: 1; }
section { position: relative; z-index: 1; }
.section { padding-block: clamp(72px, 11vw, 168px); }
.section--tight { padding-block: clamp(56px, 8vw, 112px); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--t-kicker); font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}
.kicker--center { justify-content: center; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
.serif { font-family: var(--font-serif); }
.serif em, em.accent { font-style: italic; color: var(--accent); }

.lead { font-size: var(--t-lead); color: var(--text-secondary); line-height: 1.55; text-wrap: pretty; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --pad-y: 14px; --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 10px; border: 1px solid transparent;
  font-family: var(--font-sans); font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), background .25s var(--ease-out),
              border-color .25s var(--ease-out), box-shadow .35s var(--ease), color .2s;
}
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 6px 24px -6px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 14px 40px -8px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.45); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--text-primary); border-color: var(--border-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 30px -16px var(--accent-glow); }
.btn-lg { --pad-y: 17px; --pad-x: 34px; font-size: 16px; }
.btn-block { width: 100%; }

.tlink {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--accent); font-weight: 600; font-size: var(--t-small); text-decoration: none;
}
.tlink svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 1000;
  transition: background .3s var(--ease-out), border-color .3s, padding .3s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(5,28,44,0.66);
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  border-bottom-color: var(--border);
  box-shadow: 0 12px 40px -28px rgba(0,0,0,0.9);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.header.scrolled .header-inner { height: 64px; }
.header-inner { transition: height .3s var(--ease-out); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-primary); }
.brand-mark { width: 34px; height: 34px; flex: none; color: var(--accent); }
.brand-name { font-size: 18.5px; font-weight: 600; letter-spacing: -0.02em; }
.brand-name b { font-weight: 700; }
.brand-logo { height: 48px; width: auto; display: block; transition: height .3s var(--ease-out); }
.header.scrolled .brand-logo { height: 42px; }
@media (max-width: 600px) { .brand-logo { height: 38px; } }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); }
.nav-link { color: var(--text-secondary); text-decoration: none; font-size: 14.5px; font-weight: 500; position: relative; transition: color .2s; }
.nav-link::after { content:""; position:absolute; left:0; right:100%; bottom:-5px; height:1px; background: var(--accent); transition: right .3s var(--ease); }
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { right: 0; }

.nav-right { display: flex; align-items: center; gap: 16px; }

/* language dropdown */
.langdd { position: relative; }
.langdd-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-strong); border-radius: 11px; color: var(--text-secondary); cursor: pointer; font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: all .2s; }
.langdd-btn:hover { color: var(--text-primary); border-color: var(--accent-bd-strong); background: rgba(255,255,255,0.08); }
.langdd-btn > svg:first-child { width: 14px; height: 14px; opacity: 0.85; }
.langdd-flag { font-size: 15px; line-height: 1; margin-right: 1px; filter: saturate(1.05); }
.langdd-btn > svg:last-child { width: 13px; height: 13px; transition: transform .28s var(--ease); opacity: 0.7; }
.langdd.open .langdd-btn { color: var(--text-primary); border-color: var(--accent-bd-strong); }
.langdd.open .langdd-btn > svg:last-child { transform: rotate(180deg); }
.langdd-menu {
  position: absolute; top: calc(100% + 10px); right: 0; width: 188px; max-height: 420px; overflow-y: auto;
  padding: 7px;
  background: linear-gradient(180deg, rgba(10,38,58,0.86), rgba(5,24,38,0.92));
  -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.16); border-radius: 16px;
  box-shadow: 0 30px 70px -26px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.16);
  opacity: 0; transform: translateY(-8px) scale(0.98); transform-origin: top right; pointer-events: none;
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.langdd-menu::-webkit-scrollbar { width: 6px; }
.langdd-menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.14); border-radius: 100px; }
.langdd.open .langdd-menu { opacity: 1; transform: none; pointer-events: auto; }
.langdd-menu button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px;
  background: transparent; border: 1px solid transparent; border-radius: 11px;
  color: var(--text-secondary); font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background .16s, color .16s, border-color .16s;
}
.langdd-menu .lc {
  flex: none; display: inline-grid; place-items: center; width: 34px; height: 26px; border-radius: 7px;
  font-size: 17px; line-height: 1; letter-spacing: 0;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: var(--text-muted);
  transition: all .16s;
}
.langdd-menu .ln { flex: 1; text-align: left; }
.langdd-menu button:hover { background: rgba(255,255,255,0.07); color: var(--text-primary); }
.langdd-menu button:hover .lc { color: var(--text-secondary); border-color: var(--border-strong); }
.langdd-menu button.active {
  background: linear-gradient(180deg, rgba(var(--accent-rgb),0.16), rgba(var(--accent-rgb),0.07));
  border-color: var(--accent-bd-strong); color: var(--text-primary);
}
.langdd-menu button.active .lc { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.langdd-menu button .ck { width: 16px; height: 16px; color: var(--accent); opacity: 0; flex: none; }
.langdd-menu button.active .ck { opacity: 1; }

.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; width: 40px; height: 40px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 128px); }
.hero-grid {
  display: grid; grid-template-columns: 1.14fr 0.86fr; gap: clamp(36px, 5vw, 76px); align-items: center;
}
.hero-inner { max-width: 900px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-inner .hero-eyebrow { display: inline-flex; }
.hero-inner .hero-cta { justify-content: center; }
.hero-inner .hero-sub { margin-inline: auto; }
.hero-eyebrow { margin-bottom: 26px; }
.hero h1 {
  font-family: var(--font-serif); font-size: var(--t-display); font-weight: 700;
  line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 26px;
}
.hero h1 .reveal-line { display: block; }
.hero-sub { max-width: 60ch; margin-bottom: 40px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

/* ---- Hero glass pillars ---- */
/* Equal-width columns; grid stretches them to equal height (matches the
   tallest, e.g. the wrapping "pages of business plan" label). */
.hero-pillars {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  width: 100%; max-width: 660px; margin-inline: auto;
}
.gpill {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
  height: 100%; min-width: 0;
  padding: 20px 26px; border-radius: 20px;
  background: linear-gradient(152deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.06) 48%, rgba(255,255,255,0.085) 100%);
  -webkit-backdrop-filter: blur(26px) saturate(185%); backdrop-filter: blur(26px) saturate(185%);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 28px 64px -32px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.30), inset 0 -1px 0 rgba(255,255,255,0.05);
  transition: transform .45s var(--ease), border-color .35s var(--ease-out), box-shadow .5s var(--ease), background .4s var(--ease-out);
  cursor: pointer; text-decoration: none; color: inherit;
}
.gpill > * { position: relative; z-index: 2; }
/* glossy sheen sweep */
.gpill::before {
  content:""; position: absolute; top: 0; left: -75%; width: 60%; height: 100%; z-index: 1;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.22) 50%, transparent 100%);
  transform: skewX(-16deg); pointer-events: none;
  transition: left .8s var(--ease);
}
/* accent glow wash on hover */
.gpill::after {
  content:""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(90% 80% at 50% -10%, var(--accent-wash), transparent 72%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.gpill:hover {
  transform: translateY(-7px);
  border-color: var(--accent-bd-strong);
  background: linear-gradient(152deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.07) 48%, rgba(var(--accent-rgb),0.06) 100%);
  box-shadow: 0 42px 84px -34px rgba(0,0,0,0.92), 0 26px 56px -32px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.42), inset 0 -1px 0 rgba(255,255,255,0.06);
}
.gpill:hover::before { left: 130%; }
.gpill:hover::after { opacity: 1; }
.gpill-n { transition: color .35s var(--ease-out); }
.gpill:hover .gpill-n { color: var(--accent-hover); }
.gpill-verb { font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.gpill-n { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 32px); font-weight: 700; color: var(--accent); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.gpill-l { font-size: 13px; font-weight: 500; color: var(--text-secondary); letter-spacing: 0.01em; }
/* On phones the three pillars stack into one full-width column. */
@media (max-width: 600px) {
  .hero-pillars { grid-template-columns: 1fr; max-width: 360px; gap: 12px; }
  .gpill { padding: 18px 22px; }
}
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.proof {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.01em;
}
.proof svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* ---- Hero product visual ---- */
.showcase { position: relative; }
.showcase-glow { position: absolute; inset: -8% -4% -12% -4%; background: radial-gradient(60% 60% at 60% 40%, var(--accent-glow), transparent 70%); filter: blur(34px); opacity: 0.5; z-index: 0; }
.doc {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, var(--bg-raised), var(--bg-primary));
  border: 1px solid var(--border-strong); border-radius: 16px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}
.doc-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--hairline); background: rgba(255,255,255,0.02); }
.doc-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.doc-file { margin-left: 8px; font-size: 12.5px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.01em; }
.doc-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-wash); border: 1px solid var(--accent-bd); padding: 4px 10px; border-radius: 8px; }
.doc-badge svg { width: 12px; height: 12px; }

.doc-body { padding: 22px 24px 24px; }
.doc-h { font-family: var(--font-serif); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
.doc-meta { font-size: 12px; color: var(--text-faint); margin-bottom: 20px; }
.doc-sec { margin-bottom: 16px; }
.doc-sec-h { display:flex; align-items:center; gap: 9px; font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 9px; }
.doc-sec-n { font-family: var(--font-serif); font-size: 13px; color: var(--accent); font-weight: 700; }
.doc-line { height: 7px; border-radius: 4px; background: rgba(255,255,255,0.07); margin-bottom: 7px; }
.doc-line.w-90 { width: 90%; } .doc-line.w-75 { width: 75%; } .doc-line.w-60 { width: 60%; } .doc-line.w-45 { width: 45%; }
.doc-cite {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 4px;
  font-size: 11px; font-weight: 600; color: var(--accent);
  background: var(--accent-wash); border: 1px solid var(--accent-bd);
  padding: 5px 10px; border-radius: 8px;
}
.doc-cite svg { width: 12px; height: 12px; }
.doc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.doc-prog { display:flex; align-items:center; gap: 10px; font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.doc-track { width: 88px; height: 5px; border-radius: 100px; background: rgba(255,255,255,0.1); overflow: hidden; }
.doc-fill { height: 100%; width: 0; background: var(--accent); border-radius: 100px; transition: width 1.4s var(--ease); }
.doc-pages { font-family: var(--font-serif); font-size: 13px; color: var(--text-secondary); white-space: nowrap; }

.float-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 15px; border-radius: 12px;
  background: rgba(7,39,60,0.88); backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong); box-shadow: 0 18px 44px -18px rgba(0,0,0,0.8);
  font-size: 13px; font-weight: 600;
}
.float-chip svg { width: 18px; height: 18px; color: var(--accent); }
.float-chip.tl { top: -5%; left: -4%; }
.float-chip.br { top: auto; bottom: -7%; right: -4%; }
.float-chip small { display:block; font-weight: 500; color: var(--text-muted); font-size: 11px; }

/* ============================================================
   EXPERIENCE MARQUEE / TRUST
   ============================================================ */
.xp { border-block: 1px solid var(--border); padding-block: 30px; overflow: hidden; }
.xp .wrap { display: flex; justify-content: center; margin-bottom: 22px; }
.xp-label {
  font-size: var(--t-kicker); font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-muted);
}
.xp-marquee {
  position: relative; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.xp-track {
  display: flex; align-items: center; width: max-content;
  /* Continuous, never-stopping marquee (no hover-pause). */
  animation: xpScroll 42s linear infinite;
}
@keyframes xpScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.xp-name {
  flex: none; margin-right: clamp(46px, 6vw, 94px);
  white-space: nowrap; line-height: 1; color: var(--text-primary);
  font-size: clamp(24px, 3vw, 34px); opacity: 0.9;
  transition: opacity .3s var(--ease), color .3s var(--ease);
}
.xp-name:hover { opacity: 1; color: var(--accent); }

/* brand-evoking type per organisation (close free approximations) */
.f-bosch   { font-family: 'Mukta', sans-serif; font-weight: 700; letter-spacing: -0.005em; }
.f-porsche { font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; font-size: clamp(22px, 2.8vw, 31px); }
.f-neonex  { font-family: 'Rajdhani', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; }
.f-stealth { font-family: 'Jost', sans-serif; font-weight: 300; text-transform: uppercase; letter-spacing: 0.34em; font-size: clamp(18px, 2.3vw, 26px); }
.f-glen    { font-family: 'Cormorant Garamond', serif; font-weight: 600; letter-spacing: 0.005em; font-size: clamp(29px, 3.7vw, 42px); }
.f-mck     { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: 0.004em; }
.f-bcg     { font-family: 'Archivo', sans-serif; font-weight: 900; letter-spacing: 0.02em; }
.f-un      { font-family: 'Libre Baskerville', serif; font-weight: 700; font-size: clamp(20px, 2.5vw, 29px); letter-spacing: 0.006em; }
.f-esa     { font-family: 'Arimo', 'Helvetica Neue', sans-serif; font-weight: 700; font-size: clamp(21px, 2.6vw, 30px); letter-spacing: -0.012em; }

/* The company marquee keeps turning continuously, even under
   prefers-reduced-motion — it is a core brand element. */

/* ============================================================
   SECTION HEADER
   ============================================================ */
.shead { max-width: 720px; margin-bottom: clamp(40px, 5vw, 68px); }
.shead.center { margin-inline: auto; text-align: center; }
.shead .kicker { margin-bottom: 20px; }
.shead h2 { font-family: var(--font-serif); font-size: var(--t-h2); }
.shead p { margin-top: 18px; font-size: var(--t-lead); color: var(--text-secondary); text-wrap: pretty; }

/* ============================================================
   COMPARISON
   ============================================================ */
.cmp { position: relative; }
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cmp-card { border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); border: 1px solid var(--border); position: relative; overflow: hidden; }
.cmp-card.neg { background: var(--bg-card); }
.cmp-card.pos {
  background: linear-gradient(180deg, rgba(var(--accent-rgb),0.06), rgba(var(--accent-rgb),0.015));
  border-color: var(--accent-bd-strong);
  box-shadow: 0 30px 80px -40px var(--accent-glow);
}
.cmp-tag { display:inline-flex; align-items:center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.cmp-card.neg .cmp-tag { color: var(--text-muted); }
.cmp-card.pos .cmp-tag { color: var(--accent); }
.cmp-card h3 { font-family: var(--font-serif); font-size: 26px; font-weight: 600; margin-bottom: 22px; }
.cmp-title { display: flex; align-items: center; gap: 12px; }
.cmp-mark { width: 26px; height: 26px; object-fit: contain; flex: none; }
.cmp-list { list-style: none; display: flex; flex-direction: column; }
.cmp-list li { display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid var(--hairline); font-size: 15.5px; color: var(--text-secondary); line-height: 1.5; }
.cmp-list li:first-child { border-top: 0; }
.cmp-ic { flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; margin-top: 1px; }
.cmp-ic svg { width: 13px; height: 13px; }
.cmp-card.neg .cmp-ic { background: rgba(255,255,255,0.05); color: var(--text-faint); }
.cmp-card.pos .cmp-ic { background: var(--accent); color: var(--accent-ink); }

/* ============================================================
   SOLUTIONS
   ============================================================ */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sol {
  display: flex; flex-direction: column; padding: clamp(26px, 2.6vw, 34px);
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .35s, background .35s, box-shadow .45s var(--ease);
}
.sol::before { content:""; position:absolute; inset:0; background: radial-gradient(120% 70% at 50% -10%, var(--accent-wash), transparent 60%); opacity:0; transition: opacity .4s; }
.sol:hover { transform: translateY(-6px); border-color: var(--accent-bd-strong); box-shadow: 0 36px 70px -40px var(--accent-glow); }
.sol:hover::before { opacity: 1; }
.sol-top { display:flex; align-items:center; justify-content: space-between; margin-bottom: 24px; }
.sol-ic { width: 50px; height: 50px; border-radius: 13px; display:grid; place-items:center; background: var(--accent-wash); border: 1px solid var(--accent-bd); color: var(--accent); }
.sol-ic svg { width: 25px; height: 25px; }
.sol-n { font-family: var(--font-serif); font-size: 34px; font-weight: 700; color: var(--text-faint); line-height: 1; }
.sol h3 { font-size: var(--t-h3); font-weight: 600; margin-bottom: 10px; letter-spacing: -0.02em; }
.sol-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.55; margin-bottom: 20px; }
.sol-feats { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; flex: 1; }
.sol-feats li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--text-muted); }
.sol-feats svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.sol .btn { margin-top: auto; }
.sol.coming { border-style: dashed; }
.sol.coming .sol-ic { opacity: 0.7; }
.sol-soon { display:inline-flex; align-items:center; font-size: 10.5px; font-weight:700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 4px 10px; border-radius: 100px; }

/* ============================================================
   PROCESS — ascent timeline
   ============================================================ */
.proc { position: relative; }
.proc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); position: relative; }
.proc-line { position: absolute; top: 38px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); z-index: 0; }
.proc-step { position: relative; z-index: 1; }
.proc-node {
  width: 76px; height: 76px; border-radius: 20px; display:grid; place-items:center;
  background: var(--bg-raised); border: 1px solid var(--border-strong);
  font-family: var(--font-serif); font-size: 30px; font-weight: 700; color: var(--accent);
  margin-bottom: 26px; position: relative;
}
.proc-node::after { content:""; position:absolute; inset:-6px; border-radius: 24px; border: 1px solid rgba(var(--accent-rgb),0.18); opacity: 0; transition: opacity .4s; }
.proc-step:hover .proc-node::after { opacity: 1; }
.proc-step h3 { font-size: var(--t-h3); font-weight: 600; margin-bottom: 10px; }
.proc-step p { font-size: 15.5px; color: var(--text-secondary); max-width: 30ch; }

/* ============================================================
   STAT
   ============================================================ */
.stat { text-align: center; }
.stat-wrap { max-width: 860px; margin: 0 auto; }
.stat-num { display: block; font-family: var(--font-serif); font-weight: 700; font-size: clamp(96px, 19vw, 220px); line-height: 0.92; letter-spacing: -0.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat-num small { font-size: 0.42em; }
.stat-text { font-size: clamp(20px, 2.6vw, 30px); font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.02em; margin-top: clamp(20px, 3vw, 36px); text-wrap: balance; max-width: 22ch; margin-inline: auto; line-height: 1.18; }
.stat-src { margin-top: 22px; font-size: 13px; color: var(--text-muted); letter-spacing: 0.02em; }

/* ============================================================
   FOUNDER
   ============================================================ */
.founder-grid { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.founder-photo { position: relative; max-width: 300px; }
.founder-photo image-slot { display:block; width: 100%; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); }
.founder-img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center 20%; border-radius: var(--radius); border: 1px solid var(--border-strong); box-shadow: var(--shadow-card); }
.founder-tag { position: absolute; left: 18px; bottom: 18px; display:inline-flex; align-items:center; gap: 9px; padding: 9px 14px; border-radius: 11px; background: rgba(3,19,31,0.82); backdrop-filter: blur(12px); border: 1px solid var(--border-strong); font-size: 13px; font-weight: 600; }
.founder-tag span { color: var(--accent); }
.founder q, .founder blockquote { display: block; font-family: var(--font-serif); font-size: clamp(23px, 2.6vw, 33px); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; text-wrap: pretty; quotes: none; }
.founder blockquote em { font-style: italic; color: var(--accent); }
.founder blockquote.founder-essay { font-family: var(--font-sans); font-size: clamp(15.5px, 1.25vw, 18px); font-weight: 400; line-height: 1.66; letter-spacing: -0.003em; color: var(--text-secondary); }
.founder blockquote.founder-essay em { font-style: normal; font-weight: 600; color: var(--accent); }
.founder blockquote.founder-essay p + p { margin-top: 1.15em; }
.founder-by { margin-top: 28px; display:flex; align-items:center; gap: 14px; }
.founder-name { font-weight: 600; font-size: 16px; }
.founder-role { font-size: 13.5px; color: var(--text-muted); }
.founder-soc { display:flex; gap: 10px; margin-top: 24px; }
.founder-soc a { width: 42px; height: 42px; border-radius: 11px; display:grid; place-items:center; border: 1px solid var(--border); color: var(--text-secondary); transition: all .25s; }
.founder-soc a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.founder-soc svg { width: 19px; height: 19px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-box {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 28px; padding: clamp(48px, 7vw, 92px) clamp(28px, 5vw, 64px);
  background: linear-gradient(180deg, var(--bg-raised), var(--bg-deep));
  border: 1px solid var(--border-strong);
  box-shadow: 0 50px 110px -50px rgba(0,0,0,0.8);
}
.cta-box .topo-deco { position:absolute; inset:0; opacity:0.4; pointer-events:none; }
.cta-box .topo-deco svg { width:100%; height:100%; overflow:visible; }
.cta-box .topo-deco path { fill:none; stroke: var(--accent); stroke-width: 0.8; }
.cta-box h2 { font-family: var(--font-serif); font-size: clamp(30px, 4.2vw, 52px); position: relative; z-index: 1; }
.cta-box p { position: relative; z-index: 1; max-width: 46ch; margin: 20px auto 36px; font-size: var(--t-lead); color: var(--text-secondary); }
.cta-actions { position: relative; z-index: 1; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.news-form { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; max-width: 640px; margin: 4px auto 0; }
.news-input { flex: 1 1 220px; min-width: 0; padding: 15px 18px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-bd); color: var(--text-primary); font-family: var(--font-sans); font-size: 15px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: border-color .2s, background .2s; }
.news-input::placeholder { color: var(--text-muted); }
.news-input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.08); }
.news-form .btn { flex: 0 0 auto; }
.news-note { position: relative; z-index: 1; margin-top: 16px; font-size: 13px; color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding-block: clamp(56px, 7vw, 88px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: clamp(28px, 4vw, 56px); margin-bottom: clamp(40px, 5vw, 64px); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; color: var(--text-muted); max-width: 32ch; line-height: 1.6; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-secondary); text-decoration: none; font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 28px; border-top: 1px solid var(--hairline); flex-wrap: wrap; }
.footer-legal { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-legal a { color: var(--text-muted); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-legal a:hover { color: var(--text-primary); }
.footer-copy { font-size: 13px; color: var(--text-faint); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-sub { max-width: 46ch; }
  .showcase { max-width: 480px; margin-inline: auto; width: 100%; }
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-photo { max-width: 360px; }
  .sol-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .proc-grid { grid-template-columns: 1fr; gap: 36px; }
  .proc-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .cmp-grid { grid-template-columns: 1fr; }
  .header .btn-primary { display: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .float-chip { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bg-topo.animate, .bg-orb { animation: none; }
  .doc-badge::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 1100; background: rgba(3,19,31,0.97); backdrop-filter: blur(20px); display: flex; flex-direction: column; padding: 24px var(--gutter); opacity: 0; pointer-events: none; transition: opacity .3s; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-top { display:flex; align-items:center; justify-content: space-between; height: 52px; margin-bottom: 24px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a { font-family: var(--font-serif); font-size: 30px; font-weight: 600; color: var(--text-primary); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.mobile-menu .btn { margin-top: 28px; }
