/* ═══════════════════════════════════════════════════════════
   IEU Solar & Stromspeicher — V2 "Elegant"
   Restrained, rounded, high-end (Apple / Ferrari Luce inspiriert)
   ═══════════════════════════════════════════════════════════ */

:root {
  --blue:       #0042FF;
  --blue-deep:  #0030B8;
  --yellow:     #FFE246;
  --ink:        #0A0C16;
  --ink-soft:   #12151F;
  --paper:      #FFFFFF;
  --paper-soft: #F5F6F8;
  --text:       #14161F;
  --text-soft:  #565B6B;
  --text-faint: #969BAA;
  --line:       rgba(20, 22, 31, .10);
  --line-strong:rgba(20, 22, 31, .16);
  --line-light: rgba(255, 255, 255, .14);

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, monospace;

  --r-s: 10px;
  --r:   16px;
  --r-l: 24px;
  --pill: 100px;
  --container: 1200px;
  --pad: clamp(20px, 4vw, 52px);
  --ease: cubic-bezier(.22, .8, .26, .99);
  --shadow: 0 1px 2px rgba(10, 12, 22, .04), 0 18px 50px rgba(10, 12, 22, .10);
  --shadow-soft: 0 1px 2px rgba(10, 12, 22, .03), 0 10px 34px rgba(10, 12, 22, .07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

section[id], main[id] { scroll-margin-top: 92px; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--font-mono); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
::selection { background: var(--ink); color: #fff; }

/* Focus + skip link */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 12px 20px; background: var(--ink); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  border-radius: var(--pill);
  transform: translateY(-160%); transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  [data-parallax] img { transform: none !important; }
}

/* Kicker / eyebrow */
.kicker {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 24px;
}
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex: none; }
.kicker--light { color: rgba(255, 255, 255, .6); }

/* Buttons — pill, restrained */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--pill);
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  letter-spacing: 0; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn b { font-weight: 600; transition: transform .3s var(--ease); }
.btn:hover b { transform: translateX(4px); }
.btn--solar { background: var(--blue); color: #fff; }
.btn--solar:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 66, 255, .28); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { border-color: var(--ink); background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-deep); transform: translateY(-2px); }
.btn--full { width: 100%; justify-content: center; }
/* On dark sections */
.cta .btn--line { color: #fff; border-color: var(--line-light); }
.cta .btn--line:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ═══════════════ NAV ═══════════════ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled, .nav--opaque {
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--pad);
  height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand { display: inline-flex; align-items: center; gap: 12px; }
.nav__logo { width: 34px; height: 34px; }
.nav__wordmark { display: flex; flex-direction: column; line-height: 1.12; }
.nav__wordmark strong { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.nav__wordmark span:last-child { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav__links > a { font-family: var(--font-display); font-size: 14.5px; font-weight: 500; color: var(--text-soft); position: relative; transition: color .25s; }
.nav__links > a:not(.nav__cta):hover { color: var(--ink); }
.nav__links > a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px;
  background: var(--blue); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links > a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta {
  padding: 10px 22px; background: var(--ink); color: #fff !important;
  border-radius: var(--pill); font-weight: 600; font-size: 14px !important;
  transition: background .25s, transform .3s var(--ease);
}
.nav__cta:hover { background: var(--blue); transform: translateY(-1.5px); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__burger span { width: 24px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--paper); overflow: hidden; padding: 140px 0 120px;
}
.hero__media {
  position: absolute; top: 100px; bottom: 56px; right: 0;
  width: min(46vw, 720px);
  border-radius: var(--r-l) 0 0 var(--r-l);
  overflow: hidden; background: var(--paper-soft);
  box-shadow: var(--shadow);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; will-change: transform; }
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__copy { max-width: 620px; }
.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(32px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -.02em;
  display: grid; gap: 2px;
}
.hero__line { display: block; color: var(--ink); }
.hero__line--accent { color: var(--blue); }
.hero__sub { margin-top: 28px; max-width: 470px; font-size: clamp(16.5px, 1.5vw, 18.5px); line-height: 1.65; color: var(--text-soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* floating metric cards */
.hero__metrics {
  position: absolute; z-index: 3;
  right: clamp(16px, 5vw, 64px); bottom: clamp(96px, 13vh, 140px);
  display: flex; flex-direction: column; gap: 14px; align-items: flex-end;
}
.mcard {
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(20, 22, 31, .06); box-shadow: var(--shadow);
  padding: 16px 20px; min-width: 224px; display: grid; gap: 6px; border-radius: var(--r);
  animation: floatY 7s ease-in-out infinite;
}
.mcard--dark { background: rgba(10, 12, 22, .9); border-color: rgba(255, 255, 255, .12); color: #fff; animation-duration: 8.5s; animation-delay: .8s; margin-right: 30px; }
@keyframes floatY { 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .mcard { animation: none; } }
.mcard__k { font-size: 10px; letter-spacing: .2em; color: var(--text-faint); }
.mcard--dark .mcard__k { color: rgba(255, 255, 255, .55); }
.mcard__v { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.mcard__bars { display: flex; align-items: flex-end; gap: 4px; height: 32px; margin-top: 4px; }
.mcard__bars i { flex: 1; height: calc(var(--h) * 100%); background: var(--blue); border-radius: 2px 2px 0 0; opacity: .85; transform-origin: bottom; animation: barIn .7s var(--ease) backwards; }
.mcard__bars i:nth-child(6) { background: var(--ink); opacity: 1; }
.mcard__bars i:nth-child(1){animation-delay:.7s}.mcard__bars i:nth-child(2){animation-delay:.78s}.mcard__bars i:nth-child(3){animation-delay:.86s}.mcard__bars i:nth-child(4){animation-delay:.94s}.mcard__bars i:nth-child(5){animation-delay:1.02s}.mcard__bars i:nth-child(6){animation-delay:1.1s}.mcard__bars i:nth-child(7){animation-delay:1.18s}
@keyframes barIn { from { transform: scaleY(0); } }
.mcard__hint { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .16em; color: rgba(255, 255, 255, .7); }
.mcard__hint em { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.hero__edge { display: none; }

/* ═══════════════ TICKER ═══════════════ */
.ticker { background: var(--ink); color: rgba(255, 255, 255, .8); overflow: hidden; padding: 16px 0; }
.ticker__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: tick 38s linear infinite; }
.ticker__track span { font-family: var(--font-display); font-size: clamp(13px, 1.3vw, 16px); font-weight: 500; letter-spacing: .04em; white-space: nowrap; }
.ticker__track b { color: var(--yellow); font-size: 9px; opacity: .8; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Section numerals */
.promise__num, .system__num, .solutions__num, .path__num, .work__num, .about__num, .cta__num {
  position: absolute; top: clamp(40px, 6vw, 80px); right: var(--pad);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(90px, 13vw, 190px);
  line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(20, 22, 31, .07);
  pointer-events: none; user-select: none; z-index: 0;
}

/* ═══════════════ PROMISE ═══════════════ */
.promise { position: relative; padding: clamp(96px, 12vw, 168px) 0 clamp(80px, 10vw, 136px); background: var(--paper); overflow: hidden; }
.promise__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 4vw, 52px); line-height: 1.1; letter-spacing: -.02em; max-width: 16em; }
.promise__title em { font-style: normal; color: var(--blue); }
.promise__sub { margin-top: 24px; max-width: 560px; font-size: 17.5px; color: var(--text-soft); }
.promise__stats { margin-top: clamp(48px, 6vw, 76px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pstat { padding: 26px 0 0; border-top: 1px solid var(--line-strong); position: relative; }
.pstat::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--blue); }
.pstat__v { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -.02em; line-height: 1; color: var(--ink); display: block; }
.pstat__k { display: block; margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--text-soft); }

/* ═══════════════ ANSATZ — Positionierung (Speicher als Hintergrund) ═══════════════ */
.ansatz { position: relative; background: var(--paper); overflow: hidden; padding: clamp(100px, 12vw, 170px) 0; }
.ansatz__num { -webkit-text-stroke-color: rgba(20, 22, 31, .06); }
.ansatz__bg { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; pointer-events: none; }
.ansatz__img { position: absolute; top: 50%; left: 50%; width: 94%; transform: translate(-50%, -50%); object-fit: contain; will-change: opacity, transform; }
.ansatz__img--open { opacity: 0; }
.ansatz__bgtag { position: absolute; right: clamp(16px, 3vw, 44px); bottom: clamp(16px, 3vw, 40px); font-size: 10px; letter-spacing: .16em; color: var(--text-faint); }
.ansatz__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--paper) 30%, rgba(255, 255, 255, .72) 46%, rgba(255, 255, 255, 0) 72%); }
.ansatz__inner { position: relative; z-index: 2; }
.ansatz__content { max-width: 540px; }
.ansatz__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.08; letter-spacing: -.02em; }
.ansatz__lead { margin-top: 20px; font-size: 17px; color: var(--text-soft); max-width: 480px; }
.ansatz__roles { list-style: none; margin: clamp(28px, 3.5vw, 40px) 0 34px; display: grid; }
.ansatz__roles li { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); align-items: baseline; }
.ansatz__role-k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--blue); }
.ansatz__roles b { font-family: var(--font-display); font-weight: 600; font-size: 16.5px; display: block; color: var(--ink); }
.ansatz__roles span { font-size: 14px; color: var(--text-soft); }

/* ═══════════════ SOLUTIONS ═══════════════ */
.solutions { position: relative; background: var(--paper-soft); padding: clamp(96px, 12vw, 168px) 0; overflow: hidden; }
.solutions__head { margin-bottom: clamp(40px, 5vw, 62px); }
.solutions__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.08; letter-spacing: -.02em; }
.solutions__deck { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.8vw, 24px); align-items: stretch; }
.sol { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.sol:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.sol figure { overflow: hidden; height: clamp(160px, 15vw, 190px); }
.sol figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.sol:hover figure img { transform: scale(1.05); }
.sol__body { padding: 28px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.sol__tag { display: inline-block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; color: var(--text-faint); margin-bottom: 14px; }
.sol__body h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(21px, 1.9vw, 25px); line-height: 1.1; letter-spacing: -.015em; margin-bottom: 12px; }
.sol__body p { font-size: 14.5px; color: var(--text-soft); margin-bottom: 22px; }
.sol__link { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--blue); display: inline-flex; gap: 8px; margin-top: auto; align-self: flex-start; }
.sol__link b { transition: transform .3s var(--ease); }
.sol__link:hover b { transform: translateX(5px); }

/* ═══════════════ PATH (light) ═══════════════ */
.path { position: relative; background: var(--paper); padding: clamp(96px, 12vw, 168px) 0; overflow: hidden; }
.path__head { margin-bottom: clamp(44px, 5vw, 68px); position: relative; }
.path__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.02em; }
.path__track { list-style: none; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.pstep { padding: 30px 24px 0 0; margin-right: 22px; position: relative; }
.pstep::before { content: ""; position: absolute; top: -5px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); transition: transform .3s var(--ease); }
.pstep:hover::before { transform: scale(1.4); }
.pstep__num { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .12em; color: var(--text-faint); display: block; margin-bottom: 14px; }
.pstep h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -.01em; margin-bottom: 8px; }
.pstep p { font-size: 13.5px; line-height: 1.55; color: var(--text-soft); }

/* ═══════════════ WORK / PROJEKTE ═══════════════ */
.work { position: relative; background: var(--paper-soft); padding: clamp(96px, 12vw, 168px) 0; overflow: hidden; }
.work__head { display: grid; grid-template-columns: 1fr minmax(0, 400px); gap: 40px; align-items: end; margin-bottom: clamp(36px, 4vw, 54px); }
.work__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 4vw, 54px); line-height: 1.06; letter-spacing: -.02em; }
.work__lead { font-size: 16px; color: var(--text-soft); padding-bottom: 6px; }
.work__hint { display: block; margin-top: 12px; font-size: 10.5px; letter-spacing: .16em; color: var(--text-faint); }
.work__rail { display: flex; gap: clamp(16px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--pad) 30px; margin: 0 calc(50% - 50vw); scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; cursor: grab; }
.work__rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.work__rail::-webkit-scrollbar { height: 4px; }
.work__rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 4px; }
.wcard { flex: 0 0 min(360px, 78vw); scroll-snap-align: start; background: #fff; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.wcard:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.wcard figure { height: 230px; overflow: hidden; }
.wcard figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.wcard:hover figure img { transform: scale(1.05); }
.wcard__body { padding: 22px 24px 26px; }
.wcard__tag { display: inline-block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em; color: var(--text-faint); margin-bottom: 12px; }
.wcard__tag--plan { color: var(--blue); }
.wcard__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.18; letter-spacing: -.015em; margin-bottom: 12px; min-height: 2.3em; }
.wcard__stats { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--text-faint); border-top: 1px solid var(--line); padding-top: 12px; }

/* ═══════════════ ABOUT ═══════════════ */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); background: var(--paper); position: relative; align-items: center; gap: clamp(30px, 4vw, 60px); max-width: var(--container); margin: 0 auto; padding: clamp(80px, 10vw, 150px) var(--pad); }
.about__media { position: relative; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__panel { position: relative; }
.about__num { position: static; -webkit-text-stroke-color: rgba(20,22,31,.07); display: block; margin-bottom: -10px; }
.about__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -.02em; }
.about__lead { margin-top: 20px; font-size: 16.5px; color: var(--text-soft); max-width: 540px; }
.about__points { list-style: none; margin-top: 30px; display: grid; }
.about__points li { padding: 16px 0 16px 26px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text-soft); position: relative; }
.about__points li::before { content: ""; position: absolute; left: 0; top: 23px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.about__points b { color: var(--ink); font-weight: 600; }

/* ═══════════════ CONTACT (dark anchor) ═══════════════ */
.cta { position: relative; background: var(--ink); color: #fff; padding: clamp(100px, 12vw, 170px) 0; overflow: hidden; }
.cta__num { -webkit-text-stroke-color: rgba(255, 255, 255, .06); }
.cta__glow { position: absolute; inset: 0; background: radial-gradient(1000px 600px at 85% 15%, rgba(0, 66, 255, .15), transparent 60%); pointer-events: none; }
.cta__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: clamp(44px, 6vw, 96px); align-items: start; }
.cta__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -.025em; display: grid; }
.cta__title em { font-style: normal; color: var(--yellow); }
.cta__sub { margin-top: 24px; font-size: 17px; color: rgba(255, 255, 255, .72); max-width: 420px; }
.cta__tiles { margin-top: 38px; display: grid; gap: 10px; max-width: 440px; }
.cta__tile { display: grid; gap: 4px; padding: 17px 22px; border: 1px solid var(--line-light); background: rgba(255, 255, 255, .025); border-radius: var(--r); transition: border-color .3s, background .3s, transform .3s var(--ease); }
a.cta__tile:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .05); transform: translateY(-2px); }
.cta__tile span { font-size: 9.5px; letter-spacing: .22em; color: rgba(255, 255, 255, .5); }
.cta__tile b { font-family: var(--font-display); font-weight: 600; font-size: 16.5px; }
.cta__form { background: #fff; border-radius: var(--r-l); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); padding: clamp(26px, 3vw, 40px); display: grid; gap: 18px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }
.field input, .field select, .field textarea { font-family: var(--font-body); font-size: 15px; color: var(--text); background: var(--paper-soft); border: 1px solid var(--line); border-radius: var(--r-s); padding: 13px 15px; outline: none; width: 100%; resize: vertical; transition: border-color .25s, box-shadow .25s; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field select { appearance: none; cursor: pointer; }
.field select:invalid { color: var(--text-faint); }
.field select option { color: var(--text); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 66, 255, .12); }
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cta__status { font-size: 14px; line-height: 1.5; text-align: center; margin: 2px 0 0; }
.cta__status:empty { display: none; }
.cta__status--ok { color: #fff; background: rgba(0, 66, 255, .22); border: 1px solid rgba(128, 161, 255, .5); border-radius: var(--r-s); padding: 14px 16px; }
.cta__status--error { color: #fff; background: rgba(255, 90, 90, .16); border: 1px solid rgba(255, 120, 120, .5); border-radius: var(--r-s); padding: 14px 16px; }
.cta__privacy { font-size: 10px; letter-spacing: .04em; color: var(--text-faint); text-align: center; }
.cta__privacy a { color: var(--blue); text-decoration: underline; }
.cta__privacy a:hover { color: var(--blue-deep); }

/* ═══════════════ FOOTER ═══════════════ */
.footer { background: #06070E; color: rgba(255, 255, 255, .72); padding-top: clamp(52px, 6vw, 80px); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(32px, 4vw, 60px); padding-bottom: clamp(40px, 5vw, 60px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer .nav__wordmark strong { color: #fff; }
.nav__wordmark--footer span:last-child { color: rgba(255, 255, 255, .5); }
.footer__brand p { margin-top: 16px; font-size: 14px; max-width: 320px; color: rgba(255, 255, 255, .5); }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__head { font-size: 10px; letter-spacing: .2em; color: rgba(255, 255, 255, .45); margin-bottom: 6px; }
.footer__col a { font-size: 14px; width: fit-content; transition: color .25s; }
.footer__col a:hover { color: #fff; }
.footer__addr { font-size: 14px; color: rgba(255, 255, 255, .5); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 24px; padding-bottom: 28px; font-size: 13px; color: rgba(255, 255, 255, .42); }
.footer__legal { display: flex; gap: 26px; }
.footer__legal a:hover { color: #fff; }

/* ═══════════════ LEGAL PAGES ═══════════════ */
.section { position: relative; }
.section__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 4vw, 52px); line-height: 1.06; letter-spacing: -.02em; }
.eyebrow { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 20px; }
.eyebrow__tick { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex: none; }
.legal { padding: clamp(140px, 16vw, 190px) 0 clamp(80px, 10vw, 130px); background: var(--paper); }
.legal__container { max-width: 880px; }
.legal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: clamp(36px, 5vw, 56px) 0; }
.legal__block { background: var(--paper-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; }
.legal__block h2 { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .18em; color: var(--blue); margin-bottom: 12px; }
.legal__block p { font-size: 15px; line-height: 1.7; color: var(--text-soft); }
.legal__block strong { color: var(--text); font-weight: 600; }
.legal__block a { color: var(--blue); }
.legal__block a:hover { text-decoration: underline; }
.legal__text { margin-top: clamp(28px, 4vw, 44px); }
.legal__text--first { margin-top: clamp(36px, 5vw, 56px); }
.legal__text h2 { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -.01em; margin: 36px 0 10px; }
.legal__text h3 { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin: 24px 0 8px; }
.legal__text p { color: var(--text-soft); max-width: 720px; margin-bottom: 14px; }
.legal__text ul { margin: 0 0 14px 22px; max-width: 700px; display: grid; gap: 8px; color: var(--text-soft); }
.legal__text a { color: var(--blue); word-break: break-word; }
.legal__text a:hover { text-decoration: underline; }
.legal__back { margin-top: 40px; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1100px) {
  .hero__media { width: 52vw; opacity: .96; }
  .promise__stats { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .ansatz__bg { width: 100%; opacity: .12; }
  .ansatz__scrim { background: linear-gradient(180deg, var(--paper) 6%, rgba(255, 255, 255, .55) 42%, rgba(255, 255, 255, .85)); }
  .ansatz__content { max-width: none; }
  .ansatz__bgtag { display: none; }
  .solutions__deck { grid-template-columns: repeat(2, 1fr); }
  .path__track { grid-template-columns: repeat(2, 1fr); border-top: 0; row-gap: 30px; }
  .pstep { border-top: 1px solid var(--line-strong); margin-right: 0; padding-right: 22px; }
  .work__head { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .about { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 16 / 10; }
  .cta__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav__links { position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100vh; height: 100dvh; background: #fff; flex-direction: column; justify-content: center; gap: 30px; opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 105; }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__links > a { font-size: 22px; color: var(--ink); }
  .nav__burger { display: flex; z-index: 110; }
  .nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { display: block; padding: 108px 0 80px; }
  .hero__media { position: relative; top: auto; bottom: auto; right: auto; width: calc(100% + 2 * var(--pad)); margin: 0 calc(-1 * var(--pad)) 32px; height: 300px; border-radius: 0; }
  .hero__metrics { position: relative; right: auto; bottom: auto; margin: 28px var(--pad) 0; align-items: stretch; flex-direction: column; }
  .mcard, .mcard--dark { margin-right: 0; width: 100%; }
}

@media (max-width: 640px) {
  .promise__stats { grid-template-columns: 1fr; }
  .path__track { grid-template-columns: 1fr; }
  .solutions__deck { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .legal__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(27px, 7.4vw, 40px); }
  .cta__title { font-size: clamp(30px, 8vw, 44px); }
}
