/* =========================================================
   Design tokens — the single place to retune the look.
   Palette taken from the Fête + Favour brand mood board:
   cream ground, near-black ink, playful confetti accents.
   ========================================================= */
:root {
  /* Core colors */
  --color-bg: #f4efe4;
  --color-surface: #ffffff;
  --color-text: #141414;
  --color-muted: #6f6a62;
  --color-accent: #141414;
  --color-accent-hover: #ff4d8d;
  --color-on-accent: #ffffff;

  /* Confetti palette (decorative accents) */
  --color-pink: #ff4d8d;
  --color-coral: #ff7a59;
  --color-yellow: #ffcb2d;
  --color-orange: #ffa63d;
  --color-teal: #16b98c;
  --color-cyan: #3fd0ce;
  --color-blue: #2d7dd2;
  --color-purple: #8e2de2;

  /* Typography */
  --font-heading: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Misc */
  --radius: 0.5rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;
  --max-width: 64rem;
}

/* =========================================================
   Base / reset
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

a {
  color: var(--color-accent);
}

/* Text links that keep their surrounding text's look, with a
   subtle colour shift on hover for affordance. */
.ig-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ig-link:hover,
.ig-link:focus {
  color: var(--color-accent-hover);
}

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

strong {
  font-weight: 700;
}

/* =========================================================
   Block: bg-shapes — decorative confetti drifting around
   the edges of the page, behind all content.
   ========================================================= */
.bg-shapes {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-shapes__shape {
  position: absolute;
  display: block;
  opacity: 0.9;
  will-change: transform;
}

/* Each shape: a position, color, size, and shape, plus a slow,
   desynchronised drift animation (negative delays stagger them). */
.bg-shapes__shape--1 {
  top: 4%; left: 3%;
  width: 120px; height: 120px;
  background: var(--color-pink);
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  animation: drift-a 18s ease-in-out -3s infinite;
}
.bg-shapes__shape--2 {
  top: 6%; right: 16%;
  width: 90px; height: 90px;
  background: var(--color-yellow);
  border-radius: 50%;
  animation: drift-b 22s ease-in-out -8s infinite;
}
.bg-shapes__shape--3 {
  top: 9%; right: 3%;
  width: 110px; height: 130px;
  background: var(--color-orange);
  border-radius: 58% 42% 45% 55% / 55% 48% 52% 45%;
  animation: drift-c 20s ease-in-out -14s infinite;
}
.bg-shapes__shape--4 {
  top: 38%; right: 5%;
  width: 64px; height: 140px;
  background: var(--color-cyan);
  border-radius: var(--radius-pill);
  animation: drift-a 24s ease-in-out -5s infinite;
}
.bg-shapes__shape--5 {
  bottom: 16%; right: 9%;
  width: 80px; height: 80px;
  background: var(--color-blue);
  border-radius: 30%;
  animation: drift-c 17s ease-in-out -11s infinite;
}
.bg-shapes__shape--6 {
  bottom: 5%; right: 4%;
  width: 100px; height: 100px;
  background: var(--color-purple);
  border-radius: 63% 37% 41% 59% / 48% 56% 44% 52%;
  animation: drift-b 26s ease-in-out -2s infinite;
}
.bg-shapes__shape--7 {
  bottom: 4%; left: 38%;
  width: 78px; height: 78px;
  background: var(--color-teal);
  border-radius: 50%;
  animation: drift-a 21s ease-in-out -17s infinite;
}
.bg-shapes__shape--8 {
  bottom: 9%; left: 4%;
  width: 64px; height: 130px;
  background: var(--color-coral);
  border-radius: var(--radius-pill);
  animation: drift-b 19s ease-in-out -6s infinite;
}
.bg-shapes__shape--9 {
  top: 44%; left: 4%;
  width: 92px; height: 92px;
  background: var(--color-teal);
  border-radius: 44% 56% 59% 41% / 56% 41% 59% 44%;
  animation: drift-c 23s ease-in-out -9s infinite;
}
.bg-shapes__shape--10 {
  top: 20%; left: 9%;
  width: 58px; height: 58px;
  background: var(--color-purple);
  border-radius: 50%;
  animation: drift-a 16s ease-in-out -13s infinite;
}

/* Continuous loops (start = end), with enough travel to read as
   visible motion while staying slow. */
@keyframes drift-a {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(50px, -45px) rotate(12deg); }
  50%  { transform: translate(85px, 20px) rotate(-8deg); }
  75%  { transform: translate(35px, 60px) rotate(10deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes drift-b {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(-55px, 35px) rotate(-14deg); }
  50%  { transform: translate(-20px, -50px) rotate(9deg); }
  75%  { transform: translate(40px, -15px) rotate(-7deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes drift-c {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(45px, 50px) rotate(10deg); }
  50%  { transform: translate(-35px, 70px) rotate(-12deg); }
  75%  { transform: translate(-50px, 20px) rotate(8deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-shapes__shape {
    animation: none;
  }
}

/* Keep all real content above the decorative shapes */
.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* =========================================================
   Block: site-header
   ========================================================= */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-lg) var(--space-sm) var(--space-md);
  text-align: center;
}

.site-header__lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
}

.site-header__logo {
  width: 240px;
  height: 240px;
}

.site-header__brand {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
}

.site-header__tagline {
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================================================
   Block: confetti — the little accent dot row
   ========================================================= */
.confetti {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}

.confetti__dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: var(--radius-pill);
}

.confetti__dot--pink { background-color: var(--color-pink); }
.confetti__dot--yellow { background-color: var(--color-yellow); }
.confetti__dot--teal { background-color: var(--color-teal); }
.confetti__dot--blue { background-color: var(--color-blue); }
.confetti__dot--purple { background-color: var(--color-purple); }

/* =========================================================
   Block: about
   ========================================================= */
.about {
  padding: var(--space-md) var(--space-sm) var(--space-lg);
}

.about__inner {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.about__lead {
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
}

.about__text {
  margin: 0 0 var(--space-md);
  color: var(--color-text);
  font-size: 1.0625rem;
}

.about__callout {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0 0 var(--space-md);
}

/* =========================================================
   Block: contact
   ========================================================= */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.contact__line {
  margin: 0;
  font-size: 1.0625rem;
}

.contact__label {
  font-family: var(--font-heading);
  font-weight: 600;
}

.contact__web {
  margin-top: var(--space-xs);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--color-pink);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.contact__web:hover,
.contact__web:focus {
  transform: translateY(-2px);
}

.contact__social {
  display: inline-flex;
  margin-top: var(--space-sm);
  color: var(--color-text);
  transition: transform 0.2s ease;
}

.contact__social:hover,
.contact__social:focus {
  transform: translateY(-2px);
}

.contact__icon {
  width: 40px;
  height: 40px;
}

/* =========================================================
   Block: care — product care & safety panel
   ========================================================= */
.care {
  padding: var(--space-lg) var(--space-sm);
}

.care__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
}

.care__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.care__heading {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.care__text {
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
  font-size: 0.95rem;
}

/* =========================================================
   Block: warning — choking-hazard badge
   ========================================================= */
.warning {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-text);
  color: var(--color-on-accent);
  border-radius: var(--radius);
}

.warning__icon {
  flex-shrink: 0;
}

.warning__text {
  display: flex;
  flex-direction: column;
}

.warning__title {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.warning__sub {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

/* =========================================================
   Block: site-footer
   ========================================================= */
.site-footer {
  margin-top: auto;
  padding: var(--space-md) var(--space-sm);
  text-align: center;
}

.site-footer__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.875rem;
}

/* =========================================================
   Responsive — single breakpoint, mobile-first above
   ========================================================= */
@media (min-width: 48rem) {
  .site-header__logo {
    width: 280px;
    height: 280px;
  }

  .site-header__brand {
    font-size: 3.5rem;
  }

  .about__lead {
    font-size: 2rem;
  }

  .about__callout {
    font-size: 1.6rem;
  }

  .contact__web {
    font-size: 2rem;
  }

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