/* ============================================================
   ELEMENTA SOLUTIONS — pixel-perfect rebuild from app.jsx
   ============================================================ */

:root {
  --bg: #FAF7F0;
  --bg-2: #F0E9D8;
  --bg-3: #E5DCC4;
  --ink: #1A1714;
  --ink-2: #3A332A;
  --ink-3: #6B6258;
  --line: #1A17140F;
  --line-2: #1A171422;
  --accent: #B8924A;
  --accent-ink: #7A5E25;
  --secondary: #4A4032;
  --white: #FFFDF8;
  --max: 1360px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  /* Clip the menu-drawer translateX(100%) overflow on right edge — prevents horizontal scrollbar */
  overflow-x: clip;
}
/* Fallback for browsers without `overflow: clip` support */
@supports not (overflow: clip) {
  html { overflow-x: hidden; }
}
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-feature-settings: "ss01", "cv11";
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: clip;
}
@supports not (overflow: clip) {
  body { overflow-x: hidden; }
}
a { color: inherit; text-decoration: none; font-family: inherit; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
button { background: none; border: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
/* Safari/iOS: prevent text size adjust on rotation */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}
p { font-family: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 780px) { .wrap { padding: 0 18px; } }

.row { display: flex; align-items: center; }
.grow { flex: 1; }
.hide-sm { }
@media (max-width: 1060px) { .hide-sm { display: none !important; } }

em, .em-gold {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

/* ============ EYEBROW ============ */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

/* ============ HEADINGS ============ */
.h-display {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 88px);
  letter-spacing: -0.035em;
  line-height: 0.96;
  color: var(--ink);
}
.sec-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
}
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.sec-head > div { max-width: 720px; flex: 1 1 320px; }
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-head p, .sec-head > p { flex: 0 1 340px; }
@media (max-width: 780px) {
  .sec-head { gap: 20px; margin-bottom: 40px; align-items: flex-start; }
  .sec-head p, .sec-head > p { flex: 1 1 100%; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.25s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #000; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-ghost:hover { background: #1A171408; }

.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 16px 24px; font-size: 15px; }

/* ============ LOGO ============ */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Logo uses the real PNG that already contains the ELEMENTA SOLUTIONS wordmark */
.logo {
  display: inline-flex;
  align-items: center;
}
.logo-mark {
  display: inline-block;
  width: auto;
  height: 48px;
  aspect-ratio: 1531 / 1085;
  /* Logo URL is overridable via --logo-url CSS variable (set inline by WP header.php).
     Fallback path works for the static build where styles.css sits next to assets/ */
  background-image: var(--logo-url, url("assets/logo.png"));
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border-radius: 0;
  flex-shrink: 0;
}
/* The real PNG contains the wordmark, so hide the inline brand text everywhere */
.logo .logo-text,
.logo-text { display: none !important; }
.logo-mark > * { display: none !important; }
/* On dark backgrounds (drawer, modal sidebars) invert the gray-on-light logo to light-on-dark */
.logo.inverse .logo-mark {
  background-color: transparent;
  box-shadow: none;
  filter: invert(1) brightness(1.15);
}
/* Smaller logo in compact contexts */
.menu-drawer-head .logo-mark,
.modal-side .logo-mark { height: 40px; }
.footer-compact-inner .logo-mark { height: 36px; }
footer .logo-mark { height: 56px; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text b {
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 13px;
}
.logo-text span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  margin-top: 3px;
}
.logo.inverse .logo-text b { color: var(--white); }
.logo.inverse .logo-text span { color: rgba(255,253,248,0.6); }

/* ============ LOADER ============ */
#loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.5s ease;
}
#loader.hidden { opacity: 0; pointer-events: none; }
.l-boxes { display: flex; gap: 8px; margin-bottom: 28px; }
.l-boxes span {
  width: 28px; height: 28px;
  border-radius: 4px;
  animation: lbounce 1.4s ease-in-out infinite;
}
.l-boxes span:nth-child(1) { background: var(--ink); }
.l-boxes span:nth-child(2) { background: var(--secondary); animation-delay: 0.2s; }
.l-boxes span:nth-child(3) { background: var(--accent); animation-delay: 0.4s; }
@keyframes lbounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-14px); }
}
.l-brand { font-weight: 700; letter-spacing: 0.18em; font-size: 13px; }
.l-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 6px;
  letter-spacing: 0.08em;
}
.l-status i { font-style: normal; display: inline-block; animation: ldot 1.4s infinite; opacity: 0.3; }
.l-status i:nth-child(2) { animation-delay: 0.2s; }
.l-status i:nth-child(3) { animation-delay: 0.4s; }
@keyframes ldot { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.l-bar {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 2px;
  background: var(--line-2);
  border-radius: 4px;
  overflow: hidden;
}
.l-bar::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 40%;
  background: var(--accent);
  animation: lbar 1.4s infinite;
}
@keyframes lbar { 0% { left: -40%; } 100% { left: 100%; } }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

/* ============ BURGER + DRAWER ============ */
.burger {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
  border: 0;
  padding: 0;
}
.burger:hover { background: #000; transform: translateY(-1px); }
.burger span {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Always hide inline nav-links — burger drawer is the primary nav on all screens */
.nav-links { display: none !important; }
/* Allow .grow to be neutral since nav-links is gone */
.nav-inner .grow { flex: 0; }

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 19, 15, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.menu-backdrop.open { opacity: 1; pointer-events: auto; }

.menu-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(86vw, 420px);
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 22px 28px calc(28px + env(safe-area-inset-bottom)) 28px;
  overflow: hidden;
  visibility: hidden;
}
.menu-drawer.open {
  transform: translateX(0);
  visibility: visible;
}
.menu-drawer::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}
.menu-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.menu-drawer-head .logo-text b,
.menu-drawer-head .logo-text span { color: var(--white); }
.menu-drawer-head .logo-text span { color: rgba(255,253,248,0.55); }
.menu-drawer-close {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255,253,248,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: 0;
  flex-shrink: 0;
}
.menu-drawer-close:hover { background: rgba(255,253,248,0.2); transform: rotate(90deg); }
.menu-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  /* Explicitly hide horizontal scroll — prevents the Windows browser quirk
     where overflow-y:auto silently enables horizontal scrollbar too */
  overflow-x: hidden;
  overflow-y: auto;
  /* Thin, transparent scrollbar (only shows when content actually overflows) */
  scrollbar-width: thin;
  scrollbar-color: rgba(255,253,248,0.18) transparent;
}
.menu-drawer-links::-webkit-scrollbar { width: 4px; height: 0; }
.menu-drawer-links::-webkit-scrollbar-thumb {
  background: rgba(255,253,248,0.18);
  border-radius: 4px;
}
.menu-drawer-links::-webkit-scrollbar-track { background: transparent; }
.menu-drawer-links a {
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--white);
  padding: 12px 0;
  transition: color 0.2s, transform 0.2s;
  display: block;
  position: relative;
  text-decoration: none;
}
.menu-drawer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}
.menu-drawer-links a.current { color: var(--accent); }
.menu-drawer-links a .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  display: inline-block;
  width: 32px;
  vertical-align: middle;
  opacity: 0.8;
}
.menu-drawer-foot {
  position: relative;
  z-index: 1;
  padding-top: 28px;
  margin-top: 20px;
  border-top: 1px solid rgba(255,253,248,0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.menu-drawer-phone {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(255,253,248,0.7);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  transition: color 0.2s;
  text-decoration: none;
}
.menu-drawer-phone:hover { color: var(--white); }
.menu-drawer-phone svg { color: var(--accent); }
.menu-drawer-cta {
  background: var(--accent);
  color: var(--white);
  padding: 16px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  border: 0;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.menu-drawer-cta:hover { background: var(--accent-ink); transform: translateY(-1px); }
.menu-drawer-cta .arrow { transition: transform 0.25s; }
.menu-drawer-cta:hover .arrow { transform: translateX(3px); }

@media (max-width: 480px) {
  .menu-drawer { padding: 18px 22px calc(22px + env(safe-area-inset-bottom)) 22px; }
  .menu-drawer-head { margin-bottom: 28px; }
  .menu-drawer-links a { font-size: 24px; padding: 10px 0; }
}
.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.nav-links a { transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.current { color: var(--ink); }
.nav-links a.current::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 0;
  width: 100%; height: 2px;
  background: var(--accent);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  /* Much shorter scroll length on desktop — box opens fast and snappy */
  height: 120vh;
}
.hero-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  width: 100%;
  height: 723px;
  align-items: center;
}
.hero-left {
  display: flex;
  flex-direction: column;
}
.h-display.hero-h1 { margin-top: 18px; }
.h-sub {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  margin-top: 24px;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 540px;
  line-height: 1.55;
}
.h-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.h-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line-2);
  max-width: 540px;
}
.h-trust .stat { display: flex; flex-direction: column; gap: 6px; }
.h-trust .num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 34px;
  color: var(--ink);
  line-height: 1;
}
.h-trust .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
  line-height: 1.4;
}

.hero-right {
  position: relative;
  height: 100%;
}
.hero-stage {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-card {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.ticket {
  position: absolute;
  left: -38px;
  bottom: 60px;
  transform: rotate(-2.5deg);
  background: var(--white);
  border-radius: 14px;
  padding: 16px 18px;
  width: 270px;
  box-shadow: 0 22px 50px -22px #14130F66, 0 2px 8px #14130F1F;
  z-index: 3;
}
.t-row {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.t-amt {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-top: 6px;
  color: var(--ink);
}
.t-desc {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 4px;
}
.t-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.t-pill::before {
  content: "";
  width: 6px; height: 6px;
  background: #2BAA5C;
  border-radius: 50%;
}

.heat {
  position: absolute;
  right: -24px;
  top: 56px;
  transform: rotate(2.5deg);
  background: var(--white);
  border-radius: 14px;
  padding: 16px 18px;
  width: 210px;
  box-shadow: 0 22px 50px -22px #14130F66, 0 2px 8px #14130F1F;
  z-index: 3;
}
.heat-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.heat-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 26px;
  margin-top: 6px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.heat-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-top: 14px;
  height: 50px;
}
.heat-bars span {
  flex: 1;
  background: var(--ink);
  border-radius: 4px;
  min-height: 6px;
}
.heat-bars span:nth-child(5) { background: var(--bg-3); }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 4;
  transition: opacity 0.3s;
}
.scroll-cue.hidden { opacity: 0; }
.mouse {
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  position: relative;
}
.wheel {
  position: absolute;
  width: 3px; height: 6px;
  background: var(--ink);
  border-radius: 4px;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-dot 1.6s infinite;
}
@keyframes scroll-dot {
  0%   { transform: translate(-50%, 0); opacity: 1; }
  60%, 100% { transform: translate(-50%, 14px); opacity: 0; }
}
.scroll-cue .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}
.arrow-dn {
  width: 12px; height: 12px;
  border-right: 1.5px solid var(--ink-3);
  border-bottom: 1.5px solid var(--ink-3);
  transform: rotate(45deg);
  animation: chev 1.6s infinite;
  display: inline-block;
  margin-top: -4px;
}
@keyframes chev {
  0%, 100% { transform: rotate(45deg) translate(0,0); opacity: 0.4; }
  50% { transform: rotate(45deg) translate(3px,3px); opacity: 1; }
}

/* MOBILE HERO — text scrolls normally, then canvas-stage pins and scrubs cinematically */
@media (max-width: 1000px) {
  .hero { height: auto; position: relative; }
  .hero-sticky {
    position: static;
    min-height: 0;
    padding: 28px 0 0;
    align-items: stretch;
    overflow: visible;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    height: auto;
    gap: 0;
    align-items: stretch;
  }
  .hero-left { padding-bottom: 32px; }
  /* Tall scroll container so canvas can pin & scrub for ~140vh */
  .hero-right {
    height: 180vh;
    padding-top: 8px;
  }
  /* Stage pins inside the tall hero-right */
  .hero-stage {
    position: sticky;
    top: 78px;
    height: calc(100vh - 92px);
    max-height: 560px;
    max-width: 440px;
    margin: 0 auto;
  }
  .scroll-cue { display: none; }

  /* Tiny floating cards — corner accents, NOT blocking the box */
  .ticket {
    left: -4px;
    bottom: 12px;
    width: 158px;
    padding: 10px 12px;
    transform: rotate(-2.5deg);
    transform-origin: bottom left;
    border-radius: 12px;
  }
  .t-row { font-size: 9px; letter-spacing: 0.04em; }
  .t-amt { font-size: 18px; margin-top: 4px; }
  .t-desc { font-size: 11px; margin-top: 3px; line-height: 1.3; }
  .t-pill { font-size: 8.5px; padding: 4px 9px; margin-top: 8px; }
  .heat {
    right: -4px;
    top: 12px;
    width: 132px;
    padding: 10px 12px;
    transform: rotate(2.5deg);
    transform-origin: top right;
    border-radius: 12px;
  }
  .heat-title { font-size: 8.5px; letter-spacing: 0.05em; }
  .heat-num { font-size: 18px; margin-top: 4px; }
  .heat-bars { height: 28px; gap: 4px; margin-top: 10px; }
}

@media (max-width: 600px) {
  .hero-right { height: 160vh; }
  .hero-stage {
    top: 80px;
    height: calc(100vh - 100px);
    max-height: 440px;
    max-width: 360px;
  }
  .h-display.hero-h1 { font-size: clamp(34px, 9vw, 48px); margin-top: 12px; }
  .h-sub { font-size: 15px; margin-top: 14px; max-width: 100%; }
  .h-ctas { margin-top: 18px; gap: 8px; }
  .h-ctas .btn-lg { padding: 13px 18px; font-size: 14px; }
  .h-trust { margin-top: 22px; padding-top: 18px; grid-template-columns: 1fr 1fr 1fr; gap: 10px; max-width: 100%; }
  .h-trust .num { font-size: 26px; }
  .h-trust .lbl { font-size: 9px; letter-spacing: 0.06em; }
  .h-trust .stat { gap: 4px; }
  .ticket { width: 142px; padding: 9px 11px; bottom: 8px; left: -2px; }
  .t-amt { font-size: 16px; }
  .t-desc { font-size: 10.5px; }
  .t-pill { font-size: 8px; }
  .heat { width: 118px; padding: 9px 11px; top: 8px; right: -2px; }
  .heat-num { font-size: 16px; }
  .heat-bars { height: 24px; margin-top: 8px; }
}

/* ============ MARQUEE ============ */
.tape {
  background: var(--ink);
  color: var(--white);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.tape-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scrollx 40s linear infinite;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tape-track span { display: inline-flex; align-items: center; gap: 48px; }
.tape .star { color: var(--accent); }
@keyframes scrollx {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ PROCESS ============ */
.process { padding: 112px 0 96px; }
.process .sec-head p { color: var(--ink-2); font-size: 15px; max-width: 340px; line-height: 1.55; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.step {
  padding: 32px 28px 32px 0;
  border-right: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
}
.step:last-child { border-right: 0; padding-right: 0; }
.step:first-child { padding-left: 0; }
.step:not(:first-child) { padding-left: 28px; }
.step-num {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.step-num .ico {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--ink);
}
.step-body {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
  flex: 1;
}
.step-time {
  margin-top: 22px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-2);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
@media (max-width: 1060px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step { padding: 28px 24px 28px 0; }
  .step:nth-child(2) { border-right: 0; padding-right: 0; }
  .step:nth-child(3), .step:nth-child(4) { border-top: 1px solid var(--line-2); }
  .step:nth-child(3) { padding-left: 0; }
  .step:not(:first-child):not(:nth-child(3)) { padding-left: 24px; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .step {
    border-right: 0;
    padding: 24px 0;
    border-top: 1px solid var(--line-2);
  }
  .step:nth-child(odd), .step:nth-child(even) { padding-left: 0; padding-right: 0; }
  .step:first-child { border-top: 0; padding-top: 4px; }
  .step:last-child { padding-bottom: 4px; }
  .step-num { margin-bottom: 16px; }
  .step-title { font-size: 19px; margin-bottom: 10px; }
  .step-time { margin-top: 14px; }
}

/* ============ CATEGORIES ============ */
.cats { padding: 112px 0; position: relative; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 192px;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.cat {
  position: relative;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--line-2);
  padding: 22px;
  min-height: 192px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.35s ease;
  overflow: hidden;
  text-align: left;
}
.cat::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  transition: width 0.4s ease;
  z-index: 3;
}
.cat:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -28px #14130F33;
}
.cat:hover::before { width: 100%; }
.cat-pict {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}
.cat-pict span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
}
.cat-pict span::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.cat-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.012em;
  line-height: 1.2;
  position: relative;
  z-index: 2;
  color: var(--ink);
}
.cat-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  position: relative;
  z-index: 2;
}
.cat-meta > span:first-child {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.arrow-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: var(--ink);
}
.cat:hover .arrow-circle { background: var(--ink); color: var(--white); }
.cat-ico {
  position: absolute;
  right: -10px; bottom: -10px;
  width: 152px; height: 152px;
  color: var(--accent);
  opacity: 0.42;
  pointer-events: none;
  transition: all 0.5s ease;
  z-index: 0;
}
.cat:hover .cat-ico {
  opacity: 0.62;
  transform: scale(1.10) rotate(-5deg);
}

.cat-featured {
  grid-column: span 2;
  grid-row: span 2;
  padding: 28px;
  background: linear-gradient(135deg, var(--secondary) 0%, #2E2820 100%);
  border: 0;
  color: var(--white);
}
.cat-featured .cat-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 0.8s ease;
}
.cat-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, #14130FE6 100%);
  z-index: 1;
}
.cat-featured:hover .cat-photo { transform: scale(1.05); }
.cat-featured .cat-pict span { color: rgba(255,253,248,0.7); }
.cat-featured .cat-pict span::before { background: var(--accent); }
.cat-featured .cat-name {
  font-family: 'Manrope', sans-serif;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--white);
}
.cat-featured .cat-meta > span:first-child { color: rgba(255,253,248,0.7); }
.cat-featured .arrow-circle { background: rgba(255,253,248,0.15); color: var(--white); }
.cat-featured:hover .arrow-circle { background: var(--accent); }
.cat-featured::before {
  content: "";
  position: absolute;
  top: 0; left: 28px;
  width: 42px; height: 3px;
  background: var(--accent);
  z-index: 3;
}
.cat-featured:hover::before { width: 42px; }

@media (max-width: 980px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-featured { grid-column: span 2; grid-row: span 1; min-height: 280px; }
}
@media (max-width: 580px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-featured { grid-column: span 1; }
}

/* ============ PROJECTS ============ */
.projects { padding: 120px 0; }
.pr-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.pr-head > div { max-width: 720px; }
.pr-head .eyebrow { margin-bottom: 14px; }
.pr-stage {
  position: relative;
  aspect-ratio: 16/9;
  max-height: 640px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--ink);
}
.pr-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.pr-slide.on { opacity: 1; }
.pr-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
  transform: scale(1.04);
}
.pr-slide.on .pr-img { transform: scale(1.0); }
.pr-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #14130FE6 0%, #14130F66 40%, transparent 70%);
}
.pr-info {
  position: absolute;
  bottom: 48px;
  left: 48px;
  max-width: 56%;
  color: var(--white);
  z-index: 2;
}
.pr-num {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.pr-num span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,253,248,0.12);
  backdrop-filter: blur(8px);
}
.pr-num .accent { background: var(--accent); color: var(--white); }
.pr-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 46px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--white);
}
.pr-meta {
  display: flex;
  gap: 22px;
  margin-top: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255,253,248,0.8);
}
.pr-meta .mi { display: inline-flex; align-items: center; gap: 6px; }
.pr-meta .mi svg { width: 14px; height: 14px; }

.pr-ctrls {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.pr-counter {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--ink);
}
.pr-counter .cur { color: var(--ink); }
.pr-counter .ln {
  width: 80px;
  height: 1px;
  background: var(--line-2);
  position: relative;
}
.pr-counter > span:last-child { color: var(--ink-3); }
.pr-dots {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.pr-dot {
  width: 24px; height: 6px;
  border-radius: 4px;
  background: var(--line-2);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 0;
}
.pr-dot.on { width: 48px; background: var(--ink); }
.pr-nav { display: flex; gap: 10px; }
.pr-nav button {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.pr-nav button:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.pr-nav svg { width: 16px; height: 16px; }

@media (max-width: 780px) {
  .pr-info { left: 24px; right: 24px; bottom: 24px; max-width: none; }
  .pr-slide::after { background: linear-gradient(0deg, #14130FE6 0%, #14130F66 40%, transparent 70%); }
  .pr-ctrls { flex-wrap: wrap; gap: 16px; }
  .pr-dots { order: 3; width: 100%; justify-content: flex-start; }
}

/* ============ TRUST ============ */
.trust { background: var(--ink); color: var(--white); padding: 112px 0; }
.trust .eyebrow { color: rgba(255,253,248,0.55); margin-bottom: 14px; }
.trust .eyebrow::before { background: var(--accent); }
.trust-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.trust .tcell .num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(56px, 6.4vw, 84px);
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.01em;
}
.trust .tcell .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,253,248,0.6);
  margin-top: 14px;
  margin-bottom: 16px;
}
.trust .tcell .body {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,253,248,0.7);
  max-width: 320px;
}
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============ PARTNER ============ */
.partner { padding: 120px 0; }
.partner-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: start;
}
.partner-card {
  background: var(--bg-2);
  border-radius: 24px;
  padding: 48px;
}
.partner-list {
  margin-top: 28px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.partner-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.partner-list .check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1;
}
.partner-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 92px;
}
.partner-stat {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 24px;
}
.partner-stat .ps-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 52px;
  color: var(--ink);
  line-height: 1;
}
.partner-stat .ps-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 10px;
}
.partner-stat p {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.partner-stat.alt {
  background: var(--ink);
  color: var(--white);
  border: 0;
  position: relative;
  overflow: hidden;
}
.partner-stat.alt::after {
  content: "";
  position: absolute;
  right: -30px; top: -30px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}
.partner-stat.alt .ps-num { color: var(--accent); }
.partner-stat.alt .ps-lbl { color: rgba(255,253,248,0.6); }
.partner-stat.alt p { color: rgba(255,253,248,0.6); }

@media (max-width: 900px) {
  .partner-grid { grid-template-columns: 1fr; }
  .partner-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .partner-stat { flex: 1; min-width: 220px; }
  .partner-card { padding: 32px; }
}

/* ============ HOW (FAQ) ============ */
.how { padding: 120px 0; }
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.how-faqs { display: flex; flex-direction: column; }
.faq {
  border-bottom: 1px solid var(--line-2);
  padding: 22px 0;
}
.faq:first-child { border-top: 1px solid var(--line-2); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: var(--ink);
}
.faq[open] .plus {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--white);
}
.faq > p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 520px;
}
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ============ CTA STRIP ============ */
.cta-strip {
  background: var(--ink);
  color: var(--white);
  padding: 96px 0;
}
.cta-strip .h-display { color: var(--white); }
.cta-strip em { color: var(--accent); }
.cta-strip .btn-ghost {
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255,253,248,0.25);
}
.cta-strip .btn-ghost:hover { background: rgba(255,253,248,0.08); }

/* ============ FOOTER ============ */
footer {
  background: var(--bg-2);
  padding: 96px 0 36px;
}
.f-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.f-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 18px;
}
.f-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.f-col a:hover { color: var(--ink); }
.f-bottom {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  flex-wrap: wrap;
  gap: 18px;
}
@media (max-width: 900px) { .f-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .f-grid { grid-template-columns: 1fr; } }

/* ============ FLOAT CTA ============ */
.float-cta {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  box-shadow: 0 18px 40px -16px #14130F66;
}
@media (max-width: 780px) { .float-cta { display: inline-flex; } }

/* ============ MODAL ============ */
.modal-back {
  position: fixed;
  inset: 0;
  background: rgba(20, 19, 15, 0.55);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}
.modal-back.open { display: flex; opacity: 1; }
.modal {
  background: var(--bg);
  border-radius: 24px;
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 320px 1fr;
  grid-template-rows: 1fr;
  box-shadow: 0 40px 80px -40px #14130F88;
  transform: translateY(10px);
  transition: transform 0.3s;
}
.modal-back.open .modal { transform: translateY(0); }
.modal-side {
  background: var(--ink);
  color: var(--white);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.modal-side::after {
  content: "";
  position: absolute;
  left: -60px; bottom: -100px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  opacity: 0.35;
  pointer-events: none;
}
.modal-side > * { position: relative; z-index: 1; }
.modal-side h3 {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.018em;
  line-height: 1.25;
}
.legs { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.leg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,253,248,0.55);
  transition: color 0.3s;
}
.leg.active { color: var(--white); }
.leg.done   { color: var(--accent); }
.leg-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,253,248,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: all 0.3s;
}
.leg.active .leg-dot { background: var(--accent); color: var(--white); }
.leg.done .leg-dot   { background: var(--accent); color: var(--white); }
.leg-title { font-weight: 500; line-height: 1.2; }
.leg-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  margin-top: 2px;
  opacity: 0.65;
}
.modal-body {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 0;
  min-width: 0;
}
#modal-content, #partner-content {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}
.modal-progress-bar, .modal-head, .modal-foot { flex-shrink: 0; }
.modal-progress-bar {
  height: 3px;
  background: rgba(184, 146, 74, 0.16);
  position: relative;
}
.mpb-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--accent) 0%, #D6B070 100%);
  transition: width 0.4s ease;
}
.modal-head {
  padding: 22px 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-progress {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.modal-close {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 16px;
  line-height: 1;
  color: var(--ink);
}
.modal-close:hover { background: var(--ink); color: var(--white); }
.modal-step, .modal-success {
  padding: 28px 32px;
  animation: stepIn 0.35s ease;
}
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.form-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.ftr-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ftr-ico svg { width: 22px; height: 22px; }
.form-title-row h3 {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.form-sub {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 20px;
  max-width: 480px;
}
.form-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line-2);
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.2s;
}
.pill:hover { border-color: var(--accent); }
.pill.on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pill-ico svg { width: 11px; height: 11px; }

.field { position: relative; }
.field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.field label .req {
  color: var(--accent);
  font-weight: 700;
  margin-left: 2px;
  font-family: 'Manrope', sans-serif;
}
.field-hint {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  color: #C13C2A;
  margin-top: 6px;
  min-height: 0;
  line-height: 1.35;
}
.field-hint:empty { margin-top: 0; }
.input.invalid { border-color: #C13C2A; }
.input.invalid:focus { border-color: #C13C2A; box-shadow: 0 0 0 3px rgba(193, 60, 42, 0.08); }
.req-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin-top: 6px;
  line-height: 1.5;
}
.req-note .req { color: var(--accent); font-family: 'Manrope', sans-serif; font-weight: 700; }
.input-wrap { position: relative; }
.input-ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  pointer-events: none;
  display: flex;
  align-items: center;
}
.input-ico svg { width: 16px; height: 16px; }
.field textarea + .input-ico {
  top: 14px;
  transform: none;
}
.input {
  width: 100%;
  padding: 13px 16px 13px 42px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--white);
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  /* Strip native styling — Safari / iOS adds shadows, rounded corners, native dropdown chrome */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* iOS Safari inputs need this to honor border-radius properly */
  -webkit-border-radius: 12px;
  /* Prevent iOS auto-zoom when font-size < 16px */
  font-size: 16px;
  line-height: 1.4;
  box-sizing: border-box;
}
.input:focus { border-color: var(--accent); }
textarea.input { min-height: 80px; resize: vertical; padding-top: 14px; }

/* SELECT — neutralize Safari/macOS native dropdown chrome + add custom arrow on right */
select.input {
  padding-right: 38px; /* room for custom dropdown chevron */
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%236B6258' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1.5l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  background-color: var(--white); /* preserve white bg under image */
  cursor: pointer;
}
select.input:focus {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23B8924A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1.5l5 5 5-5'/></svg>");
}
/* Hide IE/Edge legacy dropdown arrow on select */
select.input::-ms-expand { display: none; }
/* iOS Safari fixes for option list legibility */
select.input option { font-size: 15px; color: var(--ink); background: var(--white); padding: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.urgency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.u-card {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
  text-align: left;
}
.u-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.3s;
}
.u-card:hover { transform: translateY(-2px); }
.u-card:hover::before { width: 100%; }
.u-card.on { border-color: var(--ink); background: var(--bg-2); }
.u-card.on::before { width: 100%; }
.u-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #B8924A22;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.u-icon svg { width: 18px; height: 18px; }
.u-name {
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.u-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.modal-foot {
  padding: 16px 32px;
  border-top: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  flex-wrap: wrap;
}
.modal-foot .left {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.success {
  text-align: center;
  padding: 48px 32px;
}
.success .ring {
  width: 84px; height: 84px;
  border-radius: 50%;
  border: 2.5px solid var(--accent);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  animation: pop 0.5s ease;
}
@keyframes pop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.success h3 {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 480px;
  margin: 0 auto;
}
.success p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 480px;
  margin-inline: auto;
}
.quotes {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  max-width: 480px;
  margin-inline: auto;
}
.quote-row {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  opacity: 0;
  transform: translateY(6px);
  animation: rowFade 0.4s ease forwards;
}
.quote-row .l { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-2); }
.quote-row .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.6s infinite;
  display: inline-block;
  flex-shrink: 0;
}
@keyframes rowFade { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

@media (max-width: 780px) {
  /* Full-screen modal on mobile so user has all available space */
  .modal-back { padding: 0; align-items: stretch; }
  .modal {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    max-height: 100vh;
    max-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    max-width: 100%;
    border-radius: 0;
  }
  /* Compact dark header bar — logo + brief tagline only */
  .modal-side {
    padding: 12px 16px 14px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
  }
  .modal-side .logo { flex-shrink: 0; }
  .modal-side h3 {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,253,248,0.78);
    line-height: 1.3;
    margin-top: 0 !important;
    max-width: none;
    flex: 1;
  }
  .modal-side p { display: none; }
  .modal-side > div:last-child { display: none; }
  .modal-side::after { display: none; }
  .legs, .modal-steps { display: none; }

  /* Modal body fills remaining viewport — scrollable content + sticky footer */
  .modal-head { padding: 14px 16px 0; }
  .modal-step, .modal-success { padding: 16px 16px 24px; }

  /* Foot: stacks vertically with buttons full-width at bottom */
  .modal-foot {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    gap: 10px;
  }
  .modal-foot .left, .modal-foot .lock-note {
    font-size: 10.5px;
    line-height: 1.4;
  }
  /* The buttons row (inquiry modal: div wrapper around back+next) */
  .modal-foot > div:not(.left):not(.lock-note) {
    display: flex;
    gap: 10px;
    width: 100%;
  }
  .modal-foot > div:not(.left):not(.lock-note) .btn {
    flex: 1;
    justify-content: center;
    padding: 14px 14px;
    font-size: 14.5px;
  }
  .modal-foot > div:not(.left):not(.lock-note) .btn-ghost {
    flex: 0 0 auto;
    padding: 14px 18px;
  }
  /* Single button (partner modal: direct button child) */
  .modal-foot > button.btn {
    width: 100%;
    justify-content: center;
    padding: 14px 14px;
    font-size: 14.5px;
  }

  .urgency-grid { grid-template-columns: 1fr; gap: 10px; }
  .field-row { grid-template-columns: 1fr; gap: 12px; }
  .pill { font-size: 12.5px; padding: 8px 12px; }
  .input { padding: 12px 14px 12px 40px; font-size: 14.5px; }
  .form-title-row h3 { font-size: 18px; }
  .form-sub { font-size: 13.5px; margin-bottom: 16px; }
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ LEGAL PAGES (Impressum, Datenschutz) ============ */
.legal {
  padding: 72px 0 96px;
  background: var(--bg);
}
.legal .wrap-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}
.legal-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.legal-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}
.legal h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5.6vw, 64px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--ink);
}
.legal .legal-intro {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 640px;
}
.legal h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 22px;
  margin-bottom: 8px;
}
.legal p, .legal li {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.legal ul, .legal ol {
  padding-left: 20px;
  margin-bottom: 14px;
}
.legal li { margin-bottom: 6px; }
.legal a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.legal a:hover { color: var(--accent); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal-dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 6px 18px;
  margin: 18px 0 24px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  padding: 18px 0;
}
.legal-dl dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  align-self: baseline;
}
.legal-dl dd {
  font-size: 15px;
  color: var(--ink);
  margin: 0;
}
.legal-meta {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
@media (max-width: 600px) {
  .legal { padding: 56px 0 72px; }
  .legal .wrap-narrow { padding: 0 18px; }
  .legal-dl { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
  .legal-dl dt { margin-top: 8px; }
  .legal-dl dt:first-child { margin-top: 0; }
}

/* ============================================================
   NADIR PAGE
   ============================================================ */
.pg-hero {
  padding: 64px 0 96px;
  position: relative;
}
.pg-hero-deco {
  position: absolute;
  left: -60px;
  top: 60px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 520px;
  line-height: 0.8;
  color: var(--accent);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.pg-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.pg-h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 9vw, 128px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-top: 18px;
}
.role-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.role-tag {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.facts {
  margin-top: 44px;
  border-top: 1px solid var(--line-2);
}
.fact {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: baseline;
  gap: 18px;
}
.fact dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.fact dd { font-size: 15px; color: var(--ink); }

.portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  background: var(--bg-3);
  overflow: hidden;
}
.portrait > svg { position: absolute; inset: 0; }
.portrait-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--ink);
  color: var(--white);
  border-radius: 14px;
  padding: 14px 18px;
  transform: rotate(2.5deg);
  box-shadow: 0 22px 50px -22px #14130F66;
  max-width: 200px;
}
.portrait-badge .big {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 44px;
  color: var(--accent);
  line-height: 1;
}
.portrait-badge .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
  color: rgba(255,253,248,0.7);
  line-height: 1.4;
}
.portrait-sig {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: var(--white);
  border-radius: 14px;
  padding: 12px 18px 12px 14px;
  transform: rotate(-2deg);
  box-shadow: 0 22px 50px -22px #14130F66;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sig-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1;
  flex-shrink: 0;
}
.portrait-sig-text { display: flex; flex-direction: column; line-height: 1.15; }
.portrait-sig b {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.portrait-sig-text span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-top: 3px;
}

@media (max-width: 900px) {
  .pg-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .pg-hero-deco { font-size: 280px; }
}

.story { padding: 112px 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.story-left { position: sticky; top: 92px; align-self: start; }
.story-right p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 560px;
  margin-bottom: 22px;
}
.story-right p:first-child::first-letter {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 84px;
  color: var(--accent);
  float: left;
  line-height: 0.85;
  padding-right: 12px;
  padding-top: 6px;
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .story-left { position: static; }
}

.values { background: var(--bg-2); padding: 120px 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
.value {
  background: var(--white);
  border-radius: 18px;
  padding: 26px;
}
.value-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.value-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
}
.value h3 {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  line-height: 1.2;
}
.value p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .values-grid { grid-template-columns: 1fr; } }

.quote-sec {
  background: var(--ink);
  color: var(--white);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.quote-deco {
  position: absolute;
  top: 60px; left: 32px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 520px;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.18;
  pointer-events: none;
}
.quote-text {
  position: relative;
  z-index: 1;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.2;
  color: var(--white);
  max-width: 1000px;
}
.quote-text em { font-style: italic; color: var(--accent); }
.quote-attr {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,253,248,0.7);
}
.quote-attr::before, .quote-attr::after {
  content: "";
  height: 1px;
  background: rgba(255,253,248,0.25);
}
.quote-attr::before { flex: 0 0 60px; }
.quote-attr::after { flex: 1; }

.timeline-sec { padding: 120px 0; }
.timeline-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.timeline { border-top: 1px solid var(--line-2); }
.tl-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: baseline;
}
.tl-year {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 34px;
  color: var(--accent);
  line-height: 1;
}
.tl-item h4 {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.tl-place {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.tl-item p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 560px;
}
@media (max-width: 900px) {
  .timeline-grid { grid-template-columns: 1fr; gap: 32px; }
  .tl-item { grid-template-columns: 80px 1fr; }
  .tl-year { font-size: 26px; }
}

.connect {
  background: var(--accent);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.connect::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,253,248,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  position: relative;
  z-index: 1;
}
.connect-left h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin-top: 14px;
}
.connect-left em { color: var(--white); }
.connect-left .eyebrow { color: var(--ink); }
.connect-left .eyebrow::before { background: var(--ink); }
.connect-channels { display: flex; flex-direction: column; gap: 10px; }
.channel {
  display: flex;
  align-items: center;
  background: rgba(255,253,248,0.18);
  border-radius: 14px;
  padding: 16px 20px;
  gap: 16px;
  transition: all 0.25s ease;
}
.channel:hover { background: rgba(255,253,248,0.32); transform: translateY(-1px); }
.channel-icon {
  width: 40px; height: 40px;
  background: var(--ink);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.channel-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
}
.channel-val { font-weight: 500; font-size: 15.5px; color: var(--ink); margin-top: 2px; }
.channel-middle { flex: 1; }
.channel-arrow {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s;
}
.channel:hover .channel-arrow { transform: translateX(3px); }
@media (max-width: 900px) { .connect-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer-compact { background: var(--bg-2); padding: 32px 0; }
.footer-compact-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 780px) {
  /* Reduce section padding across the board */
  .process { padding: 72px 0 56px; }
  .cats { padding: 72px 0; }
  .projects { padding: 72px 0; }
  .trust { padding: 80px 0; }
  .partner { padding: 72px 0; }
  .how { padding: 72px 0; }
  .cta-strip { padding: 64px 0; }
  footer { padding: 64px 0 32px; }
  .pg-hero { padding: 40px 0 64px; }
  .story { padding: 72px 0; }
  .values { padding: 80px 0; }
  .quote-sec { padding: 80px 0; }
  .timeline-sec { padding: 80px 0; }
  .connect { padding: 80px 0; }

  /* Nav adjustments */
  .nav-inner { gap: 12px; }
  .logo-text b { font-size: 12px; }
  .logo-text span { font-size: 9px; }
  .nav .btn { padding: 11px 16px; font-size: 13.5px; }

  /* Marquee — smaller on mobile */
  .tape { padding: 13px 0; }
  .tape-track { font-size: 11px; gap: 36px; }
  .tape-track span { gap: 36px; }

  /* Trust head — stack on mobile */
  .trust .wrap > div:first-child {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  .trust .wrap > div:first-child > div:first-child { max-width: 100% !important; }
  .trust .wrap > div:first-child p { max-width: 100% !important; }
  .trust-grid { margin-top: 48px; gap: 28px; }

  /* CTA strip — stack vertically */
  .cta-strip .wrap {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 24px !important;
  }
  .cta-strip h2 { font-size: clamp(28px, 7vw, 40px) !important; }

  /* Partner — tighter */
  .partner-card { padding: 28px 24px !important; }
  .partner-card h2 { font-size: clamp(24px, 6vw, 32px); }
  .partner-side { gap: 10px; }
  .partner-stat { padding: 22px; }
  .partner-stat .ps-num { font-size: 44px; }

  /* HOW (FAQ) — tighter */
  .how-grid { gap: 32px; }
  .faq summary { font-size: 15.5px; gap: 12px; }
  .faq > p { font-size: 14.5px; }

  /* Featured cat — better on mobile */
  .cats-grid { gap: 10px; }
  .cat-featured { padding: 24px !important; min-height: 280px; }
  .cat-featured .cat-name { font-size: 28px !important; }
  .cat-featured::before { left: 24px !important; }

  /* Projects */
  .pr-stage { border-radius: 18px; }
  .pr-title { font-size: clamp(22px, 5.6vw, 32px) !important; }
  .pr-meta { gap: 14px; font-size: 11px; flex-wrap: wrap; }
  .pr-ctrls { margin-top: 18px; gap: 14px; }
  .pr-counter { font-size: 24px; gap: 10px; }
  .pr-counter .ln { width: 50px; }
  .pr-nav button { width: 40px; height: 40px; }
  .stage, .pr-stage { max-height: none; }

  /* Footer */
  .f-grid { gap: 32px; }
  .f-bottom { margin-top: 48px; flex-direction: column; align-items: flex-start; gap: 12px; text-align: left; }

  /* Process — already handled above */

  /* Nadir page hero — better stacking */
  .pg-h1 { font-size: clamp(44px, 12vw, 72px) !important; }
  .pg-hero-deco { font-size: 240px; top: 40px; left: -30px; }
  .facts { margin-top: 32px; }
  .fact { grid-template-columns: 110px 1fr; padding: 14px 0; gap: 14px; }
  .fact dt { font-size: 10.5px; }
  .fact dd { font-size: 14.5px; }

  /* Portrait floating elements smaller on mobile */
  .portrait-badge { top: 16px; right: 16px; padding: 12px 14px; max-width: 160px; }
  .portrait-badge .big { font-size: 36px; }
  .portrait-badge .lbl { font-size: 9px; }
  .portrait-sig { bottom: 16px; left: 16px; padding: 10px 14px 10px 12px; }
  .sig-mark { width: 32px; height: 32px; font-size: 15px; }
  .portrait-sig b { font-size: 13px; }
  .portrait-sig-text span { font-size: 9px; }

  /* Story — reduce drop cap */
  .story-right p:first-child::first-letter { font-size: 64px; }
  .story-right p { font-size: 16px; }

  /* Values */
  .values-grid { gap: 10px; }
  .value { padding: 22px; }
  .value h3 { font-size: 17px; }

  /* Quote */
  .quote-deco { font-size: 320px; top: 30px; left: 18px; }
  .quote-text { font-size: clamp(24px, 6.4vw, 36px) !important; }
  .quote-attr { margin-top: 32px; flex-wrap: wrap; }
  .quote-attr::before { flex: 0 0 32px; }

  /* Timeline */
  .tl-item { grid-template-columns: 72px 1fr; padding: 22px 0; gap: 16px; }
  .tl-year { font-size: 24px; }
  .tl-item h4 { font-size: 17px; }
  .tl-place { font-size: 10px; margin-bottom: 10px; }

  /* Connect — gold section */
  .connect::after { width: 320px; height: 320px; bottom: -80px; right: -80px; }
  .connect-left h2 { font-size: clamp(26px, 7vw, 38px); }
  .channel { padding: 14px 16px; gap: 12px; }
  .channel-icon { width: 36px; height: 36px; }
  .channel-val { font-size: 14.5px; }
  .channel-arrow { width: 32px; height: 32px; }

  /* CTA strip dark text scale */
  .cta-strip-btns { width: 100%; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .h-display.hero-h1 { font-size: clamp(30px, 9.2vw, 44px); }
  .h-trust { gap: 8px; }
  .h-trust .num { font-size: 24px; }
  .h-trust .lbl { font-size: 9px; }
  .h-trust .stat { gap: 4px; }
  .sec-title { font-size: clamp(24px, 6.4vw, 32px); }
  .ticket { width: 200px; padding: 12px 14px; }
  .heat { width: 152px; padding: 12px 14px; }
  .heat-bars { height: 36px; }
  .t-amt { font-size: 22px; }
  .t-desc { font-size: 12px; }
  .t-pill { font-size: 9px; padding: 4px 10px; }
  .heat-num { font-size: 20px; }
  .pg-h1 { font-size: clamp(36px, 13vw, 56px) !important; }
  .pg-hero-deco { font-size: 180px; top: 60px; }
  .pg-hero { padding: 32px 0 56px; }
  .role-tag { font-size: 10px; padding: 6px 12px; }
  .quote-deco { font-size: 240px; }
  .nav-inner { gap: 8px; }
  .logo-mark { height: 40px; }
}
