/* ─────────────────────────────────────────
   VERX — Shared Stylesheet
───────────────────────────────────────── */

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

:root {
  --dark: #141414;
  --dark-2: #1e1e1e;
  --red: #D42B2B;
  --red-light: #e83c3c;
  --silver: #b8b8b8;
  --beige: #F5F0E8;
  --beige-dark: #EDE8DF;
  --beige-2: #e8e2d8;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #888;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--beige);
  color: var(--text-dark);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* ─── TOP BAR (solid dark, consistent across pages) ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: rgba(20, 20, 20, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-logo-text {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #fff;
  text-transform: uppercase;
}

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

.nav-links a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.3s, background 0.3s;
}

.nav-cta:hover { border-color: var(--red); background: var(--red); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: rgba(255,255,255,0.8);
  transition: 0.3s;
}

/* ─── PAGE HEADER (inner pages) ─── */
.page-header {
  background: var(--dark);
  padding: 90px 60px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}

.page-header-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(212,43,43,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-content { position: relative; z-index: 2; }

.page-header-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.page-header-title {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.01em;
}

.page-header-title em { font-style: italic; color: var(--red); }

.page-header-sub {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-top: 24px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ─── SLASH DIVIDER (signature element) ─── */
.slash-divider {
  position: relative;
  height: 70px;
  background: var(--dark);
  overflow: hidden;
}
.slash-divider::after {
  content: '';
  position: absolute;
  bottom: 0; left: -5%;
  width: 110%; height: 100%;
  background: var(--beige);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
}
.slash-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red) 40%, var(--silver) 60%, transparent);
  z-index: 2;
}

/* ─── SECTIONS ─── */
section { padding: 90px 60px; }

.section-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-dark);
  max-width: 700px;
  margin-bottom: 24px;
}
.section-title em { font-style: italic; color: var(--red); }

.section-body {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 560px;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--red);
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--red-light); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: var(--text-dark);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--beige-2);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

.btn-ghost-light {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost-light:hover { border-color: #fff; color: #fff; }

/* ─── FOOTER ─── */
footer {
  background: var(--dark);
  padding: 48px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 30px; width: 30px; object-fit: contain; border-radius: 6px; }
.footer-logo-text {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.footer-copy {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}

.footer-links { display: flex; gap: 32px; }
.footer-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--red); }

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 73px; left: 0; right: 0;
    background: rgba(20,20,20,0.98);
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  section { padding: 60px 24px; }
  .page-header { padding: 60px 24px 56px; }
  footer { flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
