/* ==========================================================================
   FAVOR SUITE - GLOBAL STYLES
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
  color: var(--celebration-navy);
}

h1 {
  font-size: var(--fs-3xl);
}
h2 {
  font-size: var(--fs-2xl);
}
h3 {
  font-size: var(--fs-lg);
}
h4 {
  font-size: var(--fs-md);
}

p {
  margin: 0 0 var(--space-sm);
}

ul,
ol {
  margin: 0 0 var(--space-sm);
  padding-left: 1.25em;
}

/* ---- Focus visibility (accessibility, never remove) ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--party-aqua);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--celebration-navy);
  color: var(--white);
  padding: 0.75em 1.25em;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: var(--space-sm);
  top: var(--space-sm);
}

/* ---- Layout ---- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section {
  padding-block: var(--space-2xl);
  position: relative;
}

.section--tight {
  padding-block: var(--space-xl);
}

.section--tint {
  background: var(--blush-cloud);
}

.section--navy {
  background: var(--celebration-navy);
  color: var(--white);
}
.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--favor-pink-dark);
  margin-bottom: var(--space-xs);
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.text-muted {
  color: var(--ink-muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  padding: 0.9em 1.7em;
  border-radius: var(--radius-pill);
  border: var(--border-width) solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--favor-pink);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--favor-pink-dark);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  color: var(--celebration-navy);
  border-color: var(--celebration-navy);
}
.btn--secondary:hover {
  background: var(--celebration-navy);
  color: var(--white);
}

.btn--aqua {
  background: var(--party-aqua);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--aqua:hover {
  background: var(--party-aqua-dark);
}

.btn--on-navy {
  background: var(--white);
  color: var(--celebration-navy);
}
.btn--on-navy:hover {
  background: var(--confetti-gold);
  color: var(--celebration-navy);
}

.btn--ghost-on-navy {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost-on-navy:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--block {
  width: 100%;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

/* ---- Grids ---- */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 980px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .grid--4,
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
}

/* ---- Placeholder blocks (used until real photography is supplied) ---- */
.placeholder-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  text-align: center;
  background: var(--navy-tint-05);
  border: 2px dashed var(--navy-tint-10);
  border-radius: var(--radius-md);
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  padding: var(--space-md);
  min-height: 220px;
}
.placeholder-block strong {
  color: var(--celebration-navy);
  font-family: var(--font-display);
}
.placeholder-block svg {
  width: 32px;
  height: 32px;
  opacity: 0.5;
}
