/* ============================================================
   ZEIF — Shared styles
   Hybrid: dark hero/section, light content. Intel-blue accent.
   ============================================================ */

:root {
  --blue:        #0068B5;
  --blue-bright: #1f86d6;
  --blue-deep:   #003e6e;

  --ink:         #0b0e13;     /* near-black, slight cool */
  --ink-2:       #161a22;
  --ink-3:       #232936;
  --rule-dark:   rgba(255,255,255,0.10);
  --rule-dark-2: rgba(255,255,255,0.22);

  --moon:        #f5f3ee;     /* warm moon-white */
  --paper:       #ffffff;
  --paper-2:     #f0eee8;
  --rule:        #d8d4c8;
  --rule-2:      #b3ad9c;

  --text:        #11151c;
  --text-mute:   #5a6271;
  --text-dim:    rgba(255,255,255,0.62);
  --text-dim-2:  rgba(255,255,255,0.42);

  /* Font tweak slots — overridden by Tweaks panel */
  --font-display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--moon);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

::selection { background: var(--blue); color: white; }

/* ---------- Type ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.dark .eyebrow { color: var(--text-dim); }

/* Override global heading color rule for all dark contexts */
.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6,
.hero-photo h1, .hero-photo h2, .hero-photo h3,
.page-hero-photo h1, .page-hero-photo h2, .page-hero-photo h3,
.heritage-band h1, .heritage-band h2, .heritage-band h3,
.cta-strip h1, .cta-strip h2, .cta-strip h3,
.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6 {
  color: var(--moon);
}

/* Larger, more editorial label used on section heads */
.kicker {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.1vw, 16px);
  letter-spacing: 0.02em;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--blue);
}
.dark .kicker { color: var(--blue-bright); }
.dark .kicker::before { background: var(--blue-bright); }

/* Hero-photo style — image-driven hero (replaces canvas hero) */
.hero-photo {
  position: relative;
  background: var(--ink);
  color: var(--moon);
  min-height: clamp(620px, 90vh, 880px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 1px solid var(--rule-dark);
}
.hero-photo__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-photo__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,14,19,0.45) 0%, rgba(11,14,19,0.15) 40%, rgba(11,14,19,0.85) 100%),
    linear-gradient(90deg, rgba(11,14,19,0.7) 0%, rgba(11,14,19,0) 55%);
}
.hero-photo__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: clamp(60px, 9vh, 100px) var(--gutter);
}
.hero-photo h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 6.4vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  max-width: 14ch;
}
.hero-photo h1 em {
  font-style: normal;
  color: var(--blue-bright);
  font-weight: 500;
}
.hero-photo__lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 56ch;
  margin: 0 0 36px;
}
.hero-photo__caption {
  position: absolute;
  bottom: 24px;
  right: var(--gutter);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim-2);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-photo__caption::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* Subpage hero with photo */
.page-hero-photo {
  position: relative;
  background: var(--ink);
  color: var(--moon);
  overflow: hidden;
  border-bottom: 1px solid var(--rule-dark);
  min-height: clamp(380px, 56vh, 540px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.page-hero-photo__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.page-hero-photo__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,14,19,0.55), rgba(11,14,19,0.85));
}
.page-hero-photo__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 8vh, 88px) var(--gutter);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  width: 100%;
}
.page-hero-photo h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 12px 0 0;
}
.page-hero-photo__lede {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
  max-width: 48ch;
}

/* Big image band */
.image-band {
  position: relative;
  height: clamp(380px, 58vh, 620px);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.image-band__caption {
  position: absolute;
  left: var(--gutter);
  bottom: 22px;
  color: var(--moon);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(11,14,19,0.6);
  padding: 6px 12px;
}

/* Two-column image+text */
.img-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.img-two__img {
  background-size: cover;
  background-position: center;
  min-height: 480px;
}
.img-two__copy {
  padding: clamp(40px, 5vw, 72px) clamp(32px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Product card with real photo (replaces striped placeholder) */
.product__photo {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--ink-2);
  border: 1px solid var(--rule);
  position: relative;
}
.product__photo-caption {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(11,14,19,0.7);
  color: var(--moon);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
}

/* Side image for heritage band */
.heritage-photo {
  background-size: cover;
  background-position: center;
  min-height: 420px;
  border: 1px solid var(--rule-dark);
}

@media (max-width: 900px) {
  .img-two { grid-template-columns: 1fr; }
  .img-two__img { min-height: 280px; }
  .page-hero-photo__inner { grid-template-columns: 1fr; gap: 24px; }
}

.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}

h1.h-display { font-size: clamp(44px, 6.6vw, 104px); }
h2.h-display { font-size: clamp(36px, 4.4vw, 64px); }
h3.h-display { font-size: clamp(22px, 1.8vw, 28px); font-weight: 500; line-height: 1.2; }

.mono { font-family: var(--font-mono); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Layout primitives ---------- */

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: clamp(72px, 9vw, 140px) 0; }
.section--tight { padding: clamp(56px, 6vw, 88px) 0; }

.dark {
  background: var(--ink);
  color: var(--moon);
}
.dark hr, .dark .rule { border-color: var(--rule-dark); background: var(--rule-dark); }

.rule {
  height: 1px;
  width: 100%;
  background: var(--rule);
  border: 0;
  margin: 0;
}
.dark .rule { background: var(--rule-dark); }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.76);
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  border-bottom: 1px solid rgba(17,21,28,.10);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(17,21,28,.06);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  height: 64px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 22px;
}
.brand__mark {
  width: 22px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.brand__logo {
  height: var(--zeif-logo-height-desktop, 32px);
  width: auto;
  display: block;
}
.brand__mark::before,
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.brand__mark::before {
  background: var(--blue);
  transform: scale(0.55);
  box-shadow: 0 0 0 1px var(--blue);
}
.brand__mark::after {
  border: 1px solid var(--blue-bright);
  transform: rotate(-22deg) scaleY(0.42);
}

.nav__links {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.nav__menu-toggle,
.nav__mobile-menu {
  display: none;
}
.nav__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  color: var(--text-dim);
  border: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.nav__link:hover {
  color: var(--moon);
}
.nav__link.is-active {
  color: var(--moon);
  border-color: var(--rule-dark-2);
}

.nav__lang {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  padding: 8px;
  border: 1px solid var(--rule-dark-2);
  transition: color .15s ease, border-color .15s ease;
}
.nav__lang:hover {
  color: var(--moon);
  border-color: var(--text-dim);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 16px;
  background: var(--blue);
  color: white;
  transition: background .15s ease;
}
.nav__cta:hover { background: var(--blue-bright); }
.nav__cta svg { width: 12px; height: 12px; }

/* White glass navigation overrides */
.nav__link { color: rgba(17,21,28,.62); }
.nav__link:hover { color: var(--ink); background: rgba(0,104,181,.06); }
.nav__link.is-active { color: var(--blue); border-color: rgba(0,104,181,.24); }
.nav__lang { color: rgba(17,21,28,.62); border-color: rgba(17,21,28,.14); }
.nav__lang:hover { color: var(--blue); border-color: rgba(0,104,181,.35); }

/* ---------- Motion ---------- */

.zeif-reveal {
  opacity: 0;
  transform: translateY(42px) scale(.985);
  filter: blur(3px);
  transition:
    opacity .8s cubic-bezier(.22,1,.36,1),
    transform .8s cubic-bezier(.22,1,.36,1),
    filter .8s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.zeif-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.hero__copy > *,
.page-hero__copy > *,
.hero-photo__inner > *,
.page-hero-photo__inner > * { animation: zeif-hero-in .8s cubic-bezier(.22,1,.36,1) both; }
.hero__copy > *:nth-child(2),
.page-hero__copy > *:nth-child(2),
.hero-photo__inner > *:nth-child(2),
.page-hero-photo__inner > *:nth-child(2) { animation-delay: .08s; }
.hero__copy > *:nth-child(3),
.page-hero__copy > *:nth-child(3),
.hero-photo__inner > *:nth-child(3),
.page-hero-photo__inner > *:nth-child(3) { animation-delay: .16s; }
.hero__copy > *:nth-child(4),
.page-hero__copy > *:nth-child(4),
.hero-photo__inner > *:nth-child(4),
.page-hero-photo__inner > *:nth-child(4) { animation-delay: .24s; }
.hero__grid { animation: zeif-grid-drift 18s ease-in-out infinite alternate; }
.nav { animation: zeif-nav-in .55s cubic-bezier(.22,1,.36,1) both; }

@keyframes zeif-hero-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes zeif-nav-in {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes zeif-grid-drift {
  from { transform: translate3d(-8px,-5px,0) scale(1.01); }
  to { transform: translate3d(8px,5px,0) scale(1.03); }
}
@keyframes zeif-scroll-reveal {
  from { opacity: 0; transform: translateY(56px) scale(.98); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.tile:hover,
.product-card:hover {
  transform: translateY(-6px);
}
.btn:hover,
.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,104,181,.22);
}


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

.hero {
  position: relative;
  min-height: clamp(640px, 92vh, 920px);
  background: var(--ink);
  color: var(--moon);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at 30% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: clamp(80px, 12vh, 140px) var(--gutter) clamp(40px, 6vh, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
  flex: 1;
}
.hero__copy { max-width: 760px; }
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 28px;
}
.hero__kicker .dot {
  width: 6px; height: 6px;
  background: var(--blue-bright);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--blue-bright);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7.2vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-bright);
  font-weight: 500;
}
.hero__lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 0 40px;
}

.hero__meta {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--rule-dark);
  padding: 24px var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.hero__meta-item .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim-2);
  margin-bottom: 6px;
}
.hero__meta-item .value {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--moon);
  letter-spacing: -0.01em;
}

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

.btn-group { display: inline-flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
}
.btn--primary {
  background: var(--blue);
  color: white;
}
.btn--primary:hover { background: var(--blue-bright); }
.btn--ghost {
  background: transparent;
  border-color: var(--rule-dark-2);
  color: var(--moon);
}
.btn--ghost:hover { border-color: var(--moon); }
.btn--ghost-dark {
  background: transparent;
  border-color: var(--rule-2);
  color: var(--text);
}
.btn--ghost-dark:hover { border-color: var(--ink); }
.btn svg { width: 12px; height: 12px; }
.btn .arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Manifest band ---------- */

.manifest {
  background: var(--paper);
  padding: clamp(80px, 10vw, 140px) 0;
  border-bottom: 1px solid var(--rule);
}
.manifest__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.manifest__quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--text);
}
.manifest__quote em {
  font-style: normal;
  color: var(--blue);
  font-weight: 500;
}
.manifest__cite {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 32px;
  display: block;
}

/* ---------- Section heads ---------- */

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding-bottom: 40px;
  border-bottom: 1px solid currentColor;
  border-color: var(--rule);
  margin-bottom: 56px;
}
.dark .section-head { border-color: var(--rule-dark); }
.section-head__title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-size: clamp(40px, 5vw, 72px);
  margin: 12px 0 0;
  max-width: 14ch;
}
.section-head__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 8px;
}
.dark .section-head__meta { color: var(--text-dim); }

/* ---------- Service / Product Tiles ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.dark .tiles { border-color: var(--rule-dark); border-top-color: var(--rule-dark); border-left-color: var(--rule-dark); }

.tile {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 32px 28px 36px;
  background: var(--paper);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: background .2s ease;
  cursor: pointer;
}
.dark .tile { background: var(--ink-2); border-color: var(--rule-dark); color: var(--moon); }
.tile:hover { background: var(--paper-2); }
.dark .tile:hover { background: var(--ink-3); }

.tile__id {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-mute);
  margin-bottom: 24px;
}
.dark .tile__id { color: var(--text-dim-2); }

.tile__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 14px;
}
.tile__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-mute);
  margin: 0;
  max-width: 32ch;
}
.dark .tile__body { color: var(--text-dim); }

.tile__foot {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.tile__arrow {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform .2s ease;
}
.tile:hover .tile__arrow { transform: translateX(4px); }

/* ---------- Key numbers & location ---------- */

.key-numbers-grid {
  display: grid;
  grid-template-columns: repeat(var(--key-number-columns, 4), minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.key-number {
  min-width: 0;
  padding: 32px;
  background: var(--paper);
}
.key-number__value {
  margin-top: 12px;
  font-size: clamp(42px, 5vw, 64px);
}
.zeif-location-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 1px;
  background: var(--rule-dark);
  border: 1px solid var(--rule-dark);
}
.zeif-location-map {
  position: relative;
  min-width: 0;
  min-height: 320px;
}
.zeif-location-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 32px;
  background: var(--ink-2);
}

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

.footer {
  background: var(--ink);
  color: var(--moon);
  padding-top: 80px;
}
.footer__top {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.footer__logo {
  height: 32px;
  width: auto;
  display: block;
  margin: 0 0 16px;
}
.footer__brand p {
  color: var(--text-dim);
  max-width: 30ch;
  margin: 0;
  font-size: 14px;
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim-2);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--moon); font-size: 14px; transition: color .15s ease; }
.footer__col a:hover { color: var(--blue-bright); }

.footer__bottom {
  border-top: 1px solid var(--rule-dark);
  padding: 24px var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim-2);
}

/* ---------- Page header (sub-pages) ---------- */

.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--moon);
  padding: clamp(80px, 11vh, 140px) 0 clamp(60px, 8vh, 100px);
  overflow: hidden;
  border-bottom: 1px solid var(--rule-dark);
}
.page-hero__canvas {
  position: absolute; inset: 0; z-index: 0; opacity: 0.6;
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 18px 0 0;
}
.page-hero__lede {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
  max-width: 48ch;
}

/* ---------- Cards / list rows ---------- */

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 2fr auto;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  transition: background .15s ease;
}
.service-row:hover { background: var(--paper-2); }
.service-row__id {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  padding-top: 4px;
}
.service-row__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
}
.service-row__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 8px;
  display: block;
}
.service-row__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-mute);
  margin: 0 0 16px;
}
.service-row__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--rule-2);
  color: var(--text-mute);
}
.dark .tag { border-color: var(--rule-dark-2); color: var(--text-dim); }
.service-row__arrow {
  width: 36px; height: 36px;
  border: 1px solid var(--rule-2);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s ease;
  margin-top: 4px;
}
.service-row:hover .service-row__arrow {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

/* ---------- Product grid ---------- */

.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.product {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 40px;
  background: var(--paper);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 24px;
  min-height: 460px;
  position: relative;
  cursor: pointer;
  transition: background .2s ease;
}
.product:hover { background: var(--paper-2); }
.product__placeholder {
  height: 200px;
  background:
    repeating-linear-gradient(135deg, var(--paper-2) 0 8px, var(--paper) 8px 16px);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  position: relative;
}
.product__placeholder::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed var(--rule-2);
}
.product__placeholder span { background: var(--paper-2); padding: 4px 10px; position: relative; }

.product__head { display: flex; justify-content: space-between; align-items: center; }
.product__id {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-mute);
}
.heritage {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--blue);
  color: var(--blue);
}
.heritage--none { border-color: var(--rule-2); color: var(--text-mute); }
.heritage::before {
  content: "";
  width: 6px; height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.product__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
}
.product__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-mute);
  margin: 0;
}
.product__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.product__spec {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.product__spec:nth-child(odd) { padding-right: 16px; }
.product__spec:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
.product__spec .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: block;
  margin-bottom: 4px;
}
.product__spec .v {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: -0.01em;
}

/* ---------- Flight Heritage section ---------- */

.heritage-band {
  background: var(--ink-2);
  color: var(--moon);
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  position: relative;
  overflow: hidden;
}
.heritage-band__bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 100%;
  opacity: 0.5;
}
.heritage-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.heritage-band__copy h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 16px 0 24px;
}
.heritage-band__copy p {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 0 18px;
}

.heritage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule-dark);
}
.heritage-list li {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-dark);
  align-items: baseline;
}
.heritage-list .yr {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--blue-bright);
}
.heritage-list .name {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
}
.heritage-list .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- Comparison: Old Space vs NewSpace ---------- */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
}
.compare__col {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.compare__col + .compare__col { border-left: 1px solid var(--rule); }
.compare__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.compare__col h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
}
.compare__col h3 em { font-style: normal; color: var(--blue); }
.compare__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.compare__list li {
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: baseline;
  color: var(--text);
}
.compare__list li::before {
  content: "+";
  font-family: var(--font-mono);
  color: var(--blue);
}
.compare__col--old .compare__list li::before { content: "−"; color: var(--text-mute); }

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.field {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--rule);
  align-items: stretch;
}
.field label {
  padding: 18px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.field input, .field select, .field textarea {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  padding: 18px 0;
  color: var(--text);
  outline: none;
  font-family: var(--font-body);
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  background: var(--paper-2);
  padding-left: 12px;
  padding-right: 12px;
}
.field textarea { resize: vertical; min-height: 140px; }
.contact-form__consent-row {
  border-bottom: 1px solid var(--rule);
  padding: 18px 0 8px;
}
.contact-form__consent {
  margin: 0;
  color: var(--text-mute);
  font-size: 12px;
  line-height: 1.5;
  width: 100%;
}
.contact-form__submit-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}
.contact-form__submit-row .btn {
  display: inline-flex;
  width: auto;
  flex: 0 0 auto;
}

.contact-side {
  border: 1px solid var(--rule);
  padding: 36px 32px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-side__item .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.contact-side__item .value {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.contact-side__item .value a { color: var(--blue); }
.contact-side__item .value a:hover { color: var(--blue-bright); }

/* ---------- CTA strip ---------- */

.cta-strip {
  background: var(--ink);
  color: var(--moon);
  padding: clamp(64px, 8vw, 120px) 0;
  border-top: 1px solid var(--rule-dark);
}
.cta-strip__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: center;
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 22ch;
}
.cta-strip__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

/* ---------- Image / photo placeholder ---------- */

.imgph {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 8px, rgba(255,255,255,0.0) 8px 16px),
    var(--ink-2);
  border: 1px solid var(--rule-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.imgph::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed var(--rule-dark-2);
}
.imgph span {
  background: var(--ink-2);
  padding: 4px 10px;
  position: relative;
}
.imgph--light {
  background:
    repeating-linear-gradient(135deg, var(--paper-2) 0 8px, var(--paper) 8px 16px);
  border-color: var(--rule);
  color: var(--text-mute);
}
.imgph--light::before { border-color: var(--rule-2); }
.imgph--light span { background: var(--paper-2); }

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

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
  .manifest__inner { grid-template-columns: 1fr; gap: 32px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .key-numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zeif-location-grid { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .heritage-band__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .cta-strip__inner { grid-template-columns: 1fr; }
  .cta-strip__actions { align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .compare { grid-template-columns: 1fr; }
  .compare__col + .compare__col { border-left: 0; border-top: 1px solid var(--rule); }
  .service-row { grid-template-columns: 60px 1fr; }
  .service-row__body-wrap { grid-column: 2; }
  .field { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: 1fr auto auto auto; gap: 12px; }
  .nav__menu-toggle {
    display: inline-flex;
    width: 40px;
    height: 40px;
    padding: 10px;
    border: 1px solid var(--rule-dark-2);
    background: transparent;
    color: var(--moon);
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
  }
  .nav__menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav.is-menu-open .nav__menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .nav.is-menu-open .nav__menu-toggle span:nth-child(2) { opacity: 0; }
  .nav.is-menu-open .nav__menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .nav__mobile-menu {
    display: grid;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 var(--gutter);
    background: rgba(11,14,19,.98);
    border-top: 1px solid transparent;
    transition: max-height .35s cubic-bezier(.22,1,.36,1), opacity .25s ease .05s, padding .35s ease, border-color .35s ease;
  }
  .nav__mobile-menu[hidden] { display: none; }
  .nav.is-menu-open .nav__mobile-menu {
    max-height: 480px;
    opacity: 1;
    padding: 10px var(--gutter) 20px;
    border-top-color: var(--rule-dark);
  }
  .nav__mobile-link {
    padding: 15px 0;
    border-bottom: 1px solid var(--rule-dark);
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .nav__mobile-link.is-active { color: var(--moon); }
  .nav__mobile-cta {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    padding: 14px 16px;
    background: var(--blue);
    color: white;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .brand__logo { height: var(--zeif-logo-height-mobile, 24px); }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 600px) {
  .tiles { grid-template-columns: 1fr; }
  .key-numbers-grid { grid-template-columns: 1fr; }
  .key-number { padding: 24px 20px; }
  .key-number__value { font-size: 46px; }
  .zeif-location-map,
  .zeif-location-map iframe {
    min-height: 280px !important;
  }
  .zeif-location-details { padding: 24px 20px; }
  .tile {
    min-height: 0;
    padding: 24px 20px;
  }
  .tile__id { margin-bottom: 14px; }
  .tile__title { font-size: 21px; }
  .tile__body { max-width: none; }
  .tile__foot { padding-top: 22px; }
  .nav__cta { display: none; }
  .nav__inner { grid-template-columns: 1fr auto auto; }
}

@media (max-width: 900px) {
  .nav__menu-toggle {
    color: var(--ink);
    border-color: rgba(17,21,28,.14);
  }
  .nav__mobile-menu {
    background: rgba(255,255,255,.97);
    border-top-color: rgba(17,21,28,.10);
    box-shadow: 0 20px 30px rgba(17,21,28,.10);
  }
  .nav__mobile-link {
    color: rgba(17,21,28,.68);
    border-bottom-color: rgba(17,21,28,.10);
  }
  .nav__mobile-link.is-active { color: var(--blue); }
}
