/*
 * Mach Events Page — mach-events.css
 * Generated by Mach design system
 * Drop into /wp-content/themes/YOUR-THEME/assets/css/
 *
 * NOTE: Background images in .hero-bg, .proof-img-frame::before, .cta-bg
 * reference paths via the machEventsData.templateUri JS variable.
 * These are set dynamically via wp_localize_script() in functions.php.
 */


/* ── TOKENS ── */
:root {
  --display: 'Bebas Neue', Impact, sans-serif;
  --sans: 'Poppins', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --bg: #04070d;
  --bg-2: #070b14;
  --surface: #0d1420;
  --surface-2: #111826;
  --elevated: #151e2c;
  --text: #eef2ff;
  --text-2: #8594b4;
  --text-3: #4a5878;
  --text-4: #2e3d58;
  --mach: #1fb6f0;
  --mach-bright: #3fc5f8;
  --mach-dim: rgba(31, 182, 240, .08);
  --mach-glow: rgba(31, 182, 240, .4);
  --hairline: rgba(255, 255, 255, .07);
  --hairline-2: rgba(255, 255, 255, .13);
  --hairline-strong: rgba(255, 255, 255, .2);
  --maxw: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --sy: clamp(72px, 9vw, 112px);
  --radius: 10px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--mach-dim);
  color: var(--text);
}

/* Global ambient glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(1200px 700px at 80% -10%, rgba(31, 182, 240, .07), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(31, 182, 240, .04), transparent 60%);
}

/* ── LAYOUT ── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
}

section {
  position: relative;
  z-index: 3;
}

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mach);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--mach);
  opacity: .7;
}

.eyebrow.center {
  justify-content: center;
}

.eyebrow.center::before {
  display: none;
}

.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .005em;
  line-height: .92;
  text-transform: uppercase;
  margin: 0;
}

.h-xl {
  font-size: clamp(58px, 9.5vw, 148px);
}

.h-lg {
  font-size: clamp(42px, 6vw, 96px);
}

.h-md {
  font-size: clamp(32px, 4vw, 64px);
}

.h-sm {
  font-size: clamp(20px, 2.2vw, 30px);
}

.body-lg {
  font-size: clamp(16px, 1.15vw, 18px);
  color: var(--text-2);
  line-height: 1.75;
}

.accent {
  color: var(--mach);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--mach);
  color: #021019;
  box-shadow: 0 0 0 1px rgba(31, 182, 240, .4), 0 18px 40px -12px var(--mach-glow);
}

.btn-primary:hover {
  background: var(--mach-bright);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(31, 182, 240, .6), 0 24px 48px -10px var(--mach-glow);
}

.btn-ghost {
  border: 1px solid var(--hairline-strong);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, .04);
}

.btn-outline {
  border: 1px solid var(--mach);
  color: var(--mach);
  background: transparent;
}

.btn-outline:hover {
  background: var(--mach-dim);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(4, 7, 13, .6);
  border-bottom: 1px solid var(--hairline);
  transition: background .25s var(--ease);
}

.nav.scrolled {
  background: rgba(4, 7, 13, .88);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: .08em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}

.nav-links a {
  display: block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-3);
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--text);
}

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

@media(max-width:900px) {
  .nav-links {
    display: none;
  }
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: clamp(100px, 14vw, 160px);
  padding-bottom: clamp(64px, 9vw, 112px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(to bottom, rgba(4, 7, 13, .25) 0%, rgba(4, 7, 13, .55) 55%, rgba(4, 7, 13, .92) 88%, var(--bg) 100%),
    linear-gradient(to right, rgba(4, 7, 13, .6) 0%, transparent 60%),
    /* Cinematic trade-show placeholder — replace with real Mach booth image */
    url('' + machEventsData.templateUri + '/assets/images/events/mach-booth-hero.jpg') center/cover no-repeat;
}

/* Horizontal scan lines for industrial feel */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0, 0, 0, .06) 3px, rgba(0, 0, 0, .06) 4px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: flex-end;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: rgba(31, 182, 240, .08);
  border: 1px solid rgba(31, 182, 240, .2);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mach);
  align-self: flex-start;
}

.loc-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mach);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .2
  }
}

.hero-h1 {
  font-size: clamp(52px, 9vw, 136px);
}

.hero-h1 .line-road {
  color: var(--mach);
}

.hero-sub {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--text-2);
  line-height: 1.75;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero right: proof stats */
.hero-proof-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
}

.proof-stat-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 0;
  border-top: 1px solid var(--hairline);
}

.proof-stat-row:last-child {
  border-bottom: 1px solid var(--hairline);
}

.proof-num {
  font-family: var(--display);
  font-size: clamp(40px, 4.5vw, 68px);
  letter-spacing: .04em;
  color: var(--text);
  line-height: 1;
}

.proof-num span {
  color: var(--mach);
}

.proof-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-top: 4px;
}

.proof-sub {
  font-size: 13px;
  color: var(--text-3);
}

@media(max-width:800px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-proof-col {
    display: none;
  }
}

/* ── SECTION WRAPPER ── */
.section {
  padding-top: var(--sy);
  padding-bottom: var(--sy);
}

/* ── UPCOMING EVENTS ── */
.events-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
  flex-wrap: wrap;
}

.events-header-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* Event Card */
.event-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  cursor: default;
}

.event-card:hover {
  border-color: rgba(31, 182, 240, .35);
  transform: translateY(-3px);
  box-shadow: 0 12px 48px -12px rgba(0, 0, 0, .6), 0 0 0 1px rgba(31, 182, 240, .15);
}

.event-card-img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  background: var(--surface-2);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.event-card-img-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--elevated) 100%);
}

.event-card-img-label {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
  line-height: 1.1;
  padding: 24px;
}

.event-card-img-label span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mach);
  margin-bottom: 6px;
  font-weight: 500;
}

.event-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.event-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.event-tag {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--hairline-2);
  color: var(--text-3);
}

.event-tag.ag {
  border-color: rgba(34, 197, 94, .25);
  color: rgba(34, 197, 94, .8);
}

.event-tag.construction {
  border-color: rgba(251, 191, 36, .2);
  color: rgba(251, 191, 36, .7);
}

.event-tag.ivt {
  border-color: rgba(168, 85, 247, .25);
  color: rgba(168, 85, 247, .8);
}

.event-date {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--text-4);
  text-transform: uppercase;
}

.event-card-title {
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.05;
}

.event-card-location {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-3);
}

.event-card-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.65;
  flex: 1;
}

.event-booth {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(31, 182, 240, .07);
  border: 1px solid rgba(31, 182, 240, .2);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mach);
  align-self: flex-start;
}

.event-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
  flex-wrap: wrap;
}

.event-card-actions .btn {
  flex: 1;
  justify-content: center;
}

/* ── WHERE YOU'VE SEEN MACH ── */
.proof-section {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.proof-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.proof-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.proof-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.proof-award {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(251, 191, 36, .07);
  border: 1px solid rgba(251, 191, 36, .2);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(251, 191, 36, .85);
}

.trophy-icon {
  width: 12px;
  height: 12px;
}

.proof-heading {
  font-size: clamp(40px, 5.5vw, 84px);
}

.proof-body {
  font-size: clamp(15px, 1.05vw, 16.5px);
  color: var(--text-2);
  line-height: 1.78;
}

.proof-stats {
  display: flex;
  gap: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}

.proof-stat {
  flex: 1;
  padding: 16px 20px;
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.proof-stat:last-child {
  border-right: none;
}

.ps-val {
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: .04em;
  color: var(--text);
  line-height: 1;
}

.ps-val span {
  color: var(--mach);
  font-size: .6em;
}

.ps-key {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-top: 2px;
}

/* Agritechnica image frame */
.proof-right {
  position: relative;
}

.proof-img-frame {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--surface-2), var(--elevated));
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-img-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .9;
}

.proof-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(4, 7, 13, .95) 0%, rgba(4, 7, 13, .4) 60%, transparent 100%);
}

.proof-img-label {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 52px);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}

.proof-img-sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  /* color: var(--text-4); */
  margin-top: 8px;
}

.proof-img-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 14px;
  background: rgba(251, 191, 36, .1);
  border: 1px solid rgba(251, 191, 36, .3);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(251, 191, 36, .9);
  text-align: center;
  line-height: 1.4;
}

@media(max-width:800px) {
  .proof-inner {
    grid-template-columns: 1fr;
  }
}

/* ── WHY MEET MACH ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: clamp(40px, 5vw, 64px);
}

.why-card {
  background: var(--surface);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background .3s;
}

.why-card:hover {
  background: var(--surface-2);
}

.why-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--mach-dim);
  border: 1px solid rgba(31, 182, 240, .2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--mach);
  fill: none;
  stroke-width: 1.8;
}

.why-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-4);
}

.why-title {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.1;
}

.why-body {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.68;
}

@media(max-width:700px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ── CTA SECTION ── */
.cta-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(80px, 11vw, 140px);
  padding-bottom: clamp(80px, 11vw, 140px);
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(to bottom, var(--bg) 0%, rgba(4, 7, 13, .1) 30%, rgba(4, 7, 13, .1) 70%, var(--bg) 100%),
    linear-gradient(to right, rgba(4, 7, 13, .85) 0%, rgba(4, 7, 13, .4) 60%, rgba(4, 7, 13, .85) 100%),
    url('' + machEventsData.templateUri + '/assets/images/events/mach-meeting-cta.jpg') center/cover no-repeat;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-h {
  font-size: clamp(46px, 8vw, 120px);
}

.cta-body {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--text-2);
  line-height: 1.75;
  max-width: 54ch;
  text-align: center;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* ── MODAL ── */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 7, 13, .88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
}

.modal-backdrop.open {
  display: flex;
}

/* .modal-box {
  background: var(--surface);
  border: 1px solid var(--hairline-2);
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  max-height: 90svh;
  overflow-y: auto;
  padding: clamp(28px, 4vw, 48px);
  position: relative;
} */

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  color: var(--text-3);
  transition: color .2s, border-color .2s;
  font-size: 18px;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text);
  border-color: var(--text);
}

.modal-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mach);
  margin-bottom: 10px;
}

.modal-title {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 28px;
  line-height: 1.6;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

@media(max-width:500px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.field-label {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 7px;
}

.field-input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--hairline-2);
  border-radius: 6px;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color .2s var(--ease);
  -webkit-appearance: none;
}

.field-input:focus {
  border-color: var(--mach);
}

.field-input::placeholder {
  color: var(--text-4);
}

.modal-submit {
  width: 100%;
  justify-content: center;
  margin-top: 20px;
  border-radius: 8px;
  padding: 16px;
  font-size: 15px;
}

.modal-disclaimer {
  font-size: 11px;
  color: var(--text-4);
  line-height: 1.5;
  margin-top: 12px;
  text-align: center;
}

.modal-success {
  display: none;
  text-align: center;
  padding: 24px 0;
}

.success-check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mach-dim);
  border: 1px solid var(--mach);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-title {
  font-family: var(--display);
  font-size: clamp(24px, 2.5vw, 32px);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}

.success-body {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 40ch;
  margin: 0 auto;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-d1 {
  transition-delay: .1s;
}

.reveal-d2 {
  transition-delay: .18s;
}

.reveal-d3 {
  transition-delay: .26s;
}

/* ── DIVIDER ── */
.section-divider {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 0;
}

/* ── FOOTER ── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--hairline);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: .08em;
  color: var(--text-4);
}

.footer-copy {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--text-4);
}

/* ── SCROLL CUE ── */
.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: .4;
  animation: scFade 2s ease-in-out infinite;
}

@keyframes scFade {

  0%,
  100% {
    opacity: .4
  }

  50% {
    opacity: .12
  }
}

.scroll-cue span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
}

.scroll-arrow {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--text-3), transparent);
}

/* Upcoming section bg */
.upcoming-section {
  background: var(--bg-2);
}

.nav-links {
  margin: 0;
}

.brand.header {
  max-width: 103px;
}


.modal-box {
  background: var(--surface);
  border: 1px solid var(--hairline-2);
  border-radius: 16px;
  width: 100%;
  max-width: 760px;
  max-height: 90svh;
  overflow-y: auto;
  padding: clamp(28px, 4vw, 48px);
  position: relative;
}

/* Responsive */

@media (max-width: 1399px) {
  .hero {
    min-height: auto;
  }
}

.proof-img-sub {
    color: #fff;
}