html {
  zoom: 0.9;
}

/* Core Reset + Tokens */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: var(--e2z-navy);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--e2z-gold-deep);
}

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

:root {
  --e2z-charcoal: #2c2c2a;
  --e2z-cream: #faf7e8;
  --e2z-cream-soft: #f8f5e7;
  --e2z-white: #ffffff;
  --e2z-gold: #c9a227;
  --e2z-gold-soft: #e5d38a;
  --e2z-gold-deep: #854f0b;
  --e2z-navy: #0d2b5c;
  --e2z-text: #2c2c2a;
  --e2z-muted: #5e5b54;
  --e2z-muted-light: #8c887c;
  --e2z-border: rgba(44, 44, 42, 0.14);
  --e2z-border-subtle: rgba(44, 44, 42, 0.08);
  --e2z-shadow-soft: 0 8px 20px rgba(34, 32, 28, 0.08), 0 2px 6px rgba(34, 32, 28, 0.04);
  --e2z-shadow-lift: 0 16px 34px rgba(34, 32, 28, 0.12), 0 4px 12px rgba(34, 32, 28, 0.06);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs: clamp(0.75rem, 0.72rem + 0.1vw, 0.82rem);
  --text-sm: clamp(1rem, 0.94rem + 0.22vw, 1.12rem);
  --text-base: clamp(1.06rem, 1rem + 0.24vw, 1.18rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --text-xl: clamp(1.35rem, 1.2rem + 0.65vw, 1.75rem);
  --text-3xl: clamp(2.5rem, 1.8rem + 2.2vw, 4rem);

  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 90ms var(--ease-out);
  --transition-base: 140ms var(--ease-out);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.72;
  color: var(--e2z-text);
  background: var(--e2z-cream);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--e2z-charcoal);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

p {
  color: var(--e2z-muted);
  max-width: 70ch;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  background: var(--e2z-charcoal);
  color: var(--e2z-white);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  z-index: 999;
}

.skip-link:focus {
  top: var(--space-4);
}

:focus-visible {
  outline: 2px solid var(--e2z-navy);
  outline-offset: 2px;
}

/* Motion disabled by request */
*,
*::before,
*::after {
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Mobile overrides ── */
@media (max-width: 768px) {
  html {
    zoom: 1;
    height: auto;
    min-height: 100%;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  :root {
    --text-3xl: clamp(2rem, 1.55rem + 2.1vw, 2.85rem);
  }

  .section {
    padding-top: clamp(2.25rem, 6.4vw, 3rem);
    padding-bottom: clamp(2.25rem, 6.4vw, 3rem);
  }

  body {
    overflow-x: hidden;
    overflow-y: auto !important;
    min-height: 100%;
    touch-action: pan-y;
    line-height: 1.68;
  }

  img,
  svg {
    max-width: 100%;
    height: auto;
  }

  h1,
  h2,
  h3,
  h4 {
    line-height: 1.18;
  }

  .section-head {
    margin-bottom: 1.5rem;
  }
}
