/* ============================================================
   ZENMATRIX — Shared Stylesheet v2
   zenmatrix.xyz
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

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

:root {
  --bg:          #0d0d0d;
  --surface:     #141414;
  --border:      rgba(255,255,255,0.08);
  --border-mid:  rgba(255,255,255,0.15);
  --white:       #f0ede8;
  --muted:       rgba(240,237,232,0.45);
  --muted-light: rgba(240,237,232,0.22);
  --accent:      #c9a227;
  --accent-dim:  rgba(201,162,39,0.12);
  --display:     'Bebas Neue', sans-serif;
  --serif:       'Cormorant Garamond', serif;
  --body:        'Jost', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--body);
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 56px;
  background: linear-gradient(to bottom, rgba(13,13,13,0.98) 60%, transparent);
}

.nav-logo {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.14em;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}

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

.nav-links a {
  font-family: var(--body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-email {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg) !important;
  background: var(--accent);
  padding: 8px 16px;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.nav-email:hover { opacity: 0.82; }

/* Mobile burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--white);
}

/* Mobile overlay nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 190;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--display);
  font-size: 40px;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-mobile a:hover { color: var(--accent); }

.nav-mobile-close {
  position: absolute;
  top: 28px; right: 32px;
  font-size: 26px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 130px 56px 80px;
  position: relative;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 45% at 50% 65%, rgba(201,162,39,0.055) 0%, transparent 70%);
  pointer-events: none;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(72px, 13vw, 152px);
  letter-spacing: 0.03em;
  line-height: 0.9;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title .accent { color: var(--accent); }

.hero-serif {
  font-family: var(--serif);
  font-size: clamp(18px, 2.4vw, 27px);
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.65;
}

/* ── UTILS ── */
hr.rule {
  border: none;
  border-top: 0.5px solid var(--border);
}

.vline {
  width: 1px;
  background: var(--border-mid);
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-label {
  font-family: var(--body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* ── BADGES ── */
.badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 0.5px solid var(--border-mid);
  color: var(--muted);
}

.badge-accent {
  border-color: rgba(201,162,39,0.4);
  color: var(--accent);
  background: var(--accent-dim);
}

/* ── EMAIL FORM ── */
.form-wrap {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.form-caption {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 14px;
  display: block;
}

.form-row {
  display: flex;
  border: 0.5px solid var(--border-mid);
  transition: border-color 0.25s;
}

.form-row:focus-within { border-color: var(--accent); }

.form-row input[type="email"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  padding: 15px 20px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.03em;
}

.form-row input[type="email"]::placeholder { color: var(--muted); }

.form-row button {
  background: var(--accent);
  border: none;
  padding: 15px 24px;
  font-family: var(--body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0d0d0d;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.form-row button:hover { opacity: 0.82; }

.form-note {
  font-size: 11px;
  color: var(--muted-light);
  text-align: center;
  margin-top: 10px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 18px 24px;
  border: 0.5px solid rgba(201,162,39,0.25);
  background: var(--accent-dim);
}

.form-success p {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  color: var(--accent);
}

/* ── TILES ── */
.tile-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
}

.tile-grid-2 { grid-template-columns: 1fr 1fr; }
.tile-grid-3 { grid-template-columns: repeat(3, 1fr); }
.tile-grid-4 { grid-template-columns: repeat(4, 1fr); }

.tile {
  background: var(--bg);
  padding: 44px;
}

.tile-num {
  font-family: var(--display);
  font-size: 52px;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 14px;
}

.tile-title {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 10px;
}

.tile-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ── STAT BAR ── */
.stat-bar {
  padding: 80px 56px;
  text-align: center;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.stat-num {
  font-family: var(--display);
  font-size: clamp(80px, 15vw, 168px);
  color: var(--accent);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: 14px;
}

.stat-text {
  font-family: var(--serif);
  font-size: clamp(17px, 2.2vw, 25px);
  font-style: italic;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── SPLIT ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 0.5px solid var(--border);
}

.split-col { padding: 72px 60px; }
.split-col + .split-col { border-left: 0.5px solid var(--border); }

.split-tag {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: block;
}

.split-tag.dim    { color: var(--muted-light); }
.split-tag.accent { color: var(--accent); }

.split-title {
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: 0.04em;
  line-height: 1.12;
  margin-bottom: 18px;
}

.split-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* ── FOOTER ── */
footer {
  padding: 48px 56px;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--muted); }

.footer-copy {
  font-size: 11px;
  color: var(--muted-light);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade { animation: fadeUp 0.75s ease forwards; opacity: 0; }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.4s; }
.d4 { animation-delay: 0.55s; }
.d5 { animation-delay: 0.7s; }
.d6 { animation-delay: 0.85s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 22px 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero { padding: 110px 28px 64px; }
  .split { grid-template-columns: 1fr; }
  .split-col + .split-col { border-left: none; border-top: 0.5px solid var(--border); }
  .split-col { padding: 44px 28px; }
  .tile-grid-2 { grid-template-columns: 1fr; }
  .tile-grid-3 { grid-template-columns: 1fr; }
  .tile-grid-4 { grid-template-columns: 1fr 1fr; }
  .tile { padding: 32px 24px; }
  .stat-bar { padding: 60px 28px; }
  footer { padding: 36px 28px; flex-direction: column; align-items: flex-start; }
  .footer-links { display: none; }
}

@media (max-width: 540px) {
  .tile-grid-4 { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .form-row button { padding: 14px; text-align: center; }
}
