/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: var(--black);
  color: var(--light);
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── TOKENS ── */
:root {
  /* Dark palette */
  --black:   #0A0A0A;
  --dark:    #111111;
  --surface: #161616;
  --border:  #1E1E1E;
  --muted:   #3A3A3A;
  --mid:     #777777;
  --light:   #AAAAAA;
  --white:   #F4F4F4;

  /* Warm light palette */
  --warm:        #F5F3EF;
  --warm-dark:   #EAE7E1;
  --warm-border: #DDD9D1;
  --ink:         #111111;
  --ink-mid:     #555555;
  --ink-light:   #999999;

  /* Accent */
  --blue:    #0066FF;
  --blue-lo: rgba(0,102,255,0.07);
}

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

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 72px;
  background: rgba(10,10,10,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  animation: fadeIn 0.6s ease 0.2s both;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 900;
  letter-spacing: -0.01em; color: var(--white);
  display: flex; flex-direction: column; line-height: 1; gap: 2px;
}
.logo-x { color: var(--blue); }
.logo-sub {
  font-family: 'DM Mono', monospace;
  font-size: 8px; letter-spacing: 0.2em;
  color: var(--mid); font-weight: 400; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 400; color: var(--mid);
  letter-spacing: 0.02em; transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--light);
  font-family: 'DM Mono', monospace;
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid var(--border);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-cta:hover { color: var(--white); border-color: var(--mid); }
.nav-cta::after { content: '→'; margin-left: 2px; }

/* ── LAYOUT ── */
.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 56px;
}
.section-full { padding: 120px 0; }

/* ── SECTION LABELS ── */
.section-label {
  display: flex; align-items: center; gap: 14px; margin-bottom: 56px;
}
.section-label-dark {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 56px; padding: 120px 0 0;
}
.section-label-line { width: 32px; height: 1px; background: var(--blue); flex-shrink: 0; }
.section-label-text {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--blue); text-transform: uppercase;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff;
  font-size: 14px; font-weight: 500;
  padding: 15px 30px; letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-primary:hover { background: #0055DD; transform: translateY(-1px); }
.btn-primary::after { content: '→'; font-size: 15px; }

.btn-ghost-dark {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--light);
  font-size: 14px; font-weight: 400;
  padding: 15px 0;
  border-bottom: 1px solid var(--muted);
  letter-spacing: 0.02em;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.btn-ghost-dark:hover { color: var(--white); border-color: var(--white); }
.btn-ghost-dark::after { content: '→'; }

.btn-ghost-light {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--ink-mid);
  font-size: 14px; font-weight: 400;
  padding: 15px 0;
  border-bottom: 1px solid var(--warm-border);
  letter-spacing: 0.02em;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.btn-ghost-light:hover { color: var(--ink); border-color: var(--ink); }
.btn-ghost-light::after { content: '→'; }

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  background: var(--black);
  padding: 160px 56px 100px;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px; opacity: 0.25;
}
.page-hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
}
.page-hero-eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
  animation: fadeUp 0.7s ease 0.3s both;
}
.page-hero-eyebrow-line { width: 32px; height: 1px; background: var(--blue); }
.page-hero-eyebrow-text {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--blue); text-transform: uppercase;
}
.page-hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 900; line-height: 1.0;
  letter-spacing: -0.025em; color: var(--white);
  max-width: 800px;
  animation: fadeUp 0.8s ease 0.4s both;
}
.page-hero-headline em { font-style: italic; color: var(--blue); }
.page-hero-sub {
  font-size: 18px; font-weight: 300;
  line-height: 1.65; color: var(--light);
  max-width: 600px; margin-top: 24px;
  animation: fadeUp 0.8s ease 0.5s both;
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 64px; align-items: start;
  padding: 0 56px 64px;
}
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 900;
  color: var(--white); letter-spacing: -0.01em; margin-bottom: 4px;
}
.footer-brand-name span { color: var(--blue); }
.footer-brand-sub {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 0.18em;
  color: var(--mid); text-transform: uppercase; margin-bottom: 20px;
}
.footer-tagline { font-size: 13px; font-weight: 300; color: var(--muted); line-height: 1.6; }
.footer-col-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 0.2em;
  color: var(--mid); text-transform: uppercase; margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 13px; font-weight: 300; color: var(--muted); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--light); }
.footer-cta-text {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700;
  color: var(--white); line-height: 1.3;
  margin-bottom: 20px;
}
/* Footer CTA column — constrain button width */
.footer-inner > div:last-child {
  display: flex; flex-direction: column; align-items: flex-start;
}
.footer-bottom {
  padding: 28px 56px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  max-width: 100%;
}
.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.12em; color: var(--muted);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.12em; color: var(--muted);
  transition: color 0.2s ease;
}
.footer-legal a:hover { color: var(--mid); }

/* ══════════════════════════════════════════════
   MOBILE RESPONSIVE — 768px and below
   ══════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ── NAV ── */
  nav {
    padding: 0 24px;
    height: 64px;
  }
  .nav-links { display: none; }
  .nav-cta {
    padding: 9px 16px;
    font-size: 12px;
  }

  /* ── LAYOUT ── */
  .inner { padding: 0 24px; }
  .section { padding: 72px 24px; }
  .section-full { padding: 72px 0; }

  .section-label { margin-bottom: 36px; }
  .section-label-dark { margin-bottom: 36px; padding: 72px 0 0; }

  /* ── PAGE HERO (interior pages) ── */
  .page-hero { padding: 110px 24px 64px; }
  .page-hero-headline { font-size: clamp(36px, 10vw, 52px); }
  .page-hero-sub { font-size: 16px; }

  /* ── FOOTER ── */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 48px;
  }
  .footer-bottom {
    padding: 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ══════════════════════════════════════════════
   TABLET — 1024px and below
   ══════════════════════════════════════════════ */

@media (max-width: 1024px) {
  nav { padding: 0 32px; }
  .nav-links { gap: 24px; }
  .inner { padding: 0 32px; }
  .section { padding: 96px 32px; }
}
