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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

button,
a,
.lang-btn,
.menu-toggle {
  touch-action: manipulation;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p {
  color: var(--color-text-light);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  margin-top: 0.75rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 0.5rem;
}

.page-hero {
  padding: 8rem 0 4rem;
  text-align: center;
  background: var(--color-bg-alt);
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--color-accent-dark);
  outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .container {
    padding-left: calc(1rem + var(--safe-left));
    padding-right: calc(1rem + var(--safe-right));
  }

  .page-hero {
    padding: calc(6rem + var(--safe-top)) 0 2.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: calc(0.875rem + var(--safe-left));
    padding-right: calc(0.875rem + var(--safe-right));
  }
}

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

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .hero-content .hero-animate,
  .page-hero .container > *,
  .hero-bg,
  .cta-banner::before,
  .cta-banner .btn-white,
  .sticky-cta,
  .section-label.reveal.visible,
  .section-label.hero-animate,
  .intro-splash,
  .intro-splash-inner,
  .intro-splash-logo,
  .intro-splash-line,
  .intro-splash-tagline,
  .gift-note,
  .gift-note-line,
  .gift-note-whisper,
  .gift-note-sign,
  .gift-note-tap-hint,
  .gift-note-door,
  .hero-scroll-icon,
  .hero-scroll-icon::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .intro-splash {
    display: none !important;
  }

  .gift-note {
    display: none !important;
  }

  body.intro-locked {
    overflow: auto;
    position: static;
    width: auto;
  }

  body.intro-locked .header,
  body:not(.intro-ready) .hero-lux .hero-content-lux {
    opacity: 1 !important;
    visibility: visible !important;
  }
}
