/* =========================================================
   base.css
   Reset + typography. Brand component classes (.btn, .wrap,
   .eyebrow, .sec-head) come from components.css.
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  color: var(--forest);
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}
p {
  margin: 0 0 var(--space-3);
  text-wrap: pretty;
}

::selection {
  background: var(--gold-light);
  color: var(--forest);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Romantic utilities ---------- */
.hm-script {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--rose);
  letter-spacing: 0.01em;
}

.hm-heart-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin: var(--space-6) auto;
  color: var(--champagne);
}
.hm-heart-divider::before,
.hm-heart-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  max-width: 120px;
}
.hm-heart-divider svg {
  width: 18px;
  height: 18px;
  color: var(--rose);
}

.hm-tag-rose {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--blush);
  color: var(--wine);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hm-section-blush {
  background: var(--blush);
}
.hm-section-wine {
  background: linear-gradient(180deg, var(--forest) 0%, var(--wine) 100%);
  color: rgba(255, 255, 255, 0.9);
}
.hm-section-wine h2,
.hm-section-wine h3 {
  color: var(--white);
}

.hm-eyebrow-rose {
  color: var(--rose);
}
.hm-eyebrow-rose::before {
  background: var(--rose);
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* JS/no-JS reveal safety */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--dur-slow) ease,
    transform var(--dur-slow) ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
