/* ============================================
   NECTAR & HONEY ATELIER — BASE STYLES
   Reset, Typography, Global Defaults
   ============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--warm-white);
}

/* -- Headings -- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.5rem, 5vw, var(--text-6xl));
  font-weight: 300;
  letter-spacing: 0.04em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, var(--text-4xl));
  font-weight: 400;
  letter-spacing: 0.02em;
}

h3 {
  font-size: var(--text-2xl);
  font-weight: 500;
}

h4 {
  font-size: var(--text-xl);
  font-weight: 500;
}

/* -- Body Text -- */
p {
  margin-bottom: var(--space-lg);
  color: var(--charcoal-light);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

/* -- Links -- */
a {
  color: var(--burgundy);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--burgundy-dark);
}

a:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* -- Lists -- */
ul, ol {
  padding-left: var(--space-xl);
}

li {
  margin-bottom: var(--space-sm);
}

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

/* -- Eyebrow Text -- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: var(--space-md);
}

/* -- Section Headline -- */
.section-headline {
  margin-bottom: var(--space-lg);
}

/* -- Lead Paragraph -- */
.lead {
  font-size: var(--text-lg);
  color: var(--charcoal-light);
  font-weight: 300;
  line-height: 1.8;
  max-width: 680px;
}

/* -- Selection -- */
::selection {
  background-color: rgba(122, 46, 58, 0.15);
  color: var(--charcoal);
}

/* -- Skip Link (Accessibility) -- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--burgundy);
  color: var(--warm-white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-size: var(--text-sm);
}

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

/* -- Scroll Reveal -- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gallery-img,
  .config-image-wrap .section-image {
    transition: none;
  }
}
