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

:root {
  --black: #0f0f0f;
  --white: #ffffff;
  --gray-50:  #f8f8f6;
  --gray-100: #f0f0ed;
  --gray-200: #e2e2de;
  --gray-300: #c8c8c2;
  --gray-500: #888880;
  --gray-700: #444440;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-sans: 'DM Sans', sans-serif;
  --font-serif: 'DM Serif Display', serif;
  --nav-h: 64px;
  --max-w: 1080px;
  /* Padding grows with viewport but stops at 80px on very wide screens */
  --pad-x: clamp(20px, 6vw, 80px);
}

/* ── BASE ── */
html {
  scroll-behavior: smooth;
  /* No background color here — let the browser default white show */
}
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* No max-width, no margin auto, no box-shadow — full bleed */
  width: 100%;
}

/* ── UTILITY ── */
/* Inner wrapper: centers content horizontally on wide screens */
.inner {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  display: block;
  margin-bottom: 10px;
}

.btn-primary {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.18s;
  white-space: nowrap;
}
.btn-primary:hover { opacity: 0.78; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-300);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.btn-secondary:hover { background: var(--gray-50); border-color: var(--gray-500); }

/* ── NAV ──
   Full-width white bar that stretches edge-to-edge.
   Only the .nav-inner content is constrained and centered. */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;                          /* always full viewport width */
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo-mark {
  width: 34px; height: 34px;
  background: var(--black);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
}
.nav-logo-text { font-size: 15px; font-weight: 500; color: var(--black); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 13px; color: var(--gray-700); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--black); font-weight: 500; }
.nav-cta-btn { flex-shrink: 0; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.22s;
}

/* Mobile menu — full width, same white background */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;           /* edge to edge */
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px var(--pad-x) 24px;
  flex-direction: column;
  z-index: 199;
  animation: slideDown 0.2s ease;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 13px 0;
  font-size: 16px;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-menu .mob-cta {
  margin-top: 16px;
  text-align: center;
  border: none;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── FOOTER ──
   Full-width black bar. .footer-inner centers the content. */
footer {
  width: 100%;                          /* always full viewport width */
  background: var(--black);
  color: var(--white);
  padding: clamp(40px, 6vw, 64px) var(--pad-x) 32px;
}
.footer-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.footer-brand h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 400; margin-bottom: 10px; }
.footer-brand p  { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 280px; }
.footer-contact  { margin-top: 14px; }
.footer-contact a {
  display: block; font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-decoration: none; margin-bottom: 4px;
  transition: color 0.15s;
}
.footer-contact a:hover { color: var(--white); }
.footer-col h4 { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 14px; }
.footer-col ul  { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ── TRUST STRIP ── */
.trust { width: 100%; border-bottom: 1px solid var(--gray-200); }
.trust-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 22px var(--pad-x);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.trust-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-500); white-space: nowrap; }
.trust-cities { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.trust-cities span { font-size: 13px; color: var(--gray-700); }
.trust-cities .dot  { color: var(--gray-300); }

/* ── CTA BAND ── */
.cta-section { width: 100%; border-bottom: 1px solid var(--gray-200); background: var(--gray-50); }
.cta-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: clamp(48px, 8vw, 72px) var(--pad-x);
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 400; max-width: 460px; line-height: 1.3;
}
.cta-inner p { font-size: 13px; color: var(--gray-500); margin-top: 8px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: clamp(48px, 8vw, 88px) var(--pad-x) clamp(40px, 6vw, 64px);
  max-width: var(--max-w); margin: 0 auto;
  border-bottom: 1px solid var(--gray-200);
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400; line-height: 1.15;
  max-width: 580px; margin-bottom: 18px;
}
.page-hero p { font-size: clamp(15px, 2vw, 17px); color: var(--gray-700); max-width: 500px; line-height: 1.75; }

/* ── SCROLL REVEAL ──
   Content is ALWAYS visible. The animation only activates once JS runs.
   This prevents blank-page issues when opening locally or with slow JS. */
.js-loaded .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js-loaded .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links, .nav-cta-btn { display: none !important; }
  .nav-hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
