:root {
  --ink: #111111;
  --ground: #fbf8ef;
  --accent: #d94f78;
  --white: #ffffff;
  --muted: #5b5b5b;
  --body: #2b2b2b;
  --soft-spot: #e3e1dc;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Nunito', 'Trebuchet MS', sans-serif;

  /* Cow-spot blob shapes */
  --blob-1: 58% 42% 62% 38% / 52% 46% 54% 48%;
  --blob-2: 44% 56% 40% 60% / 60% 38% 62% 40%;
  --blob-3: 50% 50% 48% 52% / 56% 44% 56% 44%;
  --blob-4: 46% 54% 58% 42% / 52% 40% 60% 48%;
  --blob-5: 60% 40% 50% 50% / 48% 58% 42% 52%;
  --blob-6: 52% 48% 44% 56% / 60% 50% 50% 40%;
  --blob-7: 50% 50% 56% 44% / 46% 54% 46% 54%;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--ground);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.book a:focus-visible { outline-color: var(--ink); }

[id] { scroll-margin-top: 16px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--white); }

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

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ---------- Cow spots ---------- */
.spots { position: relative; overflow: hidden; }
.spot {
  position: absolute;
  background: var(--ink);
  border-radius: var(--r);
  pointer-events: none;
}
.spot--soft { background: var(--soft-spot); }

/* ---------- Pills & buttons ---------- */
.pill {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 24px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
}
.pill--dark { background: var(--ink); color: var(--white); font-weight: 700; }
.pill--dark:hover { color: var(--white); background: #2a2a2a; }
.pill--brand {
  min-height: 52px;
  padding: 10px 32px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 800;
  font-size: 26px;
  color: var(--accent);
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.pill--brand:hover { color: var(--ink); }
.pill--static { font-size: 17px; padding: 10px 28px; }
.pill--brand-sm {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 800;
  font-size: 18px;
  color: var(--accent);
  padding: 10px 24px;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 12px 30px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); color: var(--ink); }
.btn--accent, .btn--accent:hover { background: var(--accent); color: var(--white); }
.btn--lg { min-height: 56px; padding: 12px 32px; box-shadow: 6px 6px 0 var(--ink); }
.btn--dark, .btn--dark:hover { background: var(--ink); color: var(--white); box-shadow: 6px 6px 0 var(--white); }
.btn--dark:hover { box-shadow: 4px 4px 0 var(--white); }

.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Type ---------- */
.display {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
}
.h2 { font-size: 52px; margin-bottom: 16px; }
.h2--lg { font-size: 64px; margin-bottom: 14px; }
.h2--white { font-size: 56px; color: var(--white); margin-bottom: 12px; }

.eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.lede { margin: 0; font-size: 20px; line-height: 1.5; color: var(--body); }
.body-lg { margin: 0; font-size: 19px; line-height: 1.55; color: var(--body); max-width: 560px; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 3px solid var(--ink);
  background: var(--ground);
  min-height: 108px;
}
.nav {
  position: relative;
  padding-top: 24px;
  padding-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
  padding-top: 72px;
  padding-bottom: 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}
.hero__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__title {
  font-size: clamp(56px, 7.5vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.hero__copy .lede { max-width: 520px; }
.hero__copy .actions { margin-top: 8px; }
.hero__media { flex: 1 1 420px; min-width: 0; }

.photo {
  aspect-ratio: 4 / 3;
  border: 3px solid var(--ink);
  border-radius: 28px;
  box-shadow: 10px 10px 0 var(--ink);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo { background: var(--accent); }
.spot--blush { background: #e98aa6; }
.photo picture { position: relative; height: 92%; display: flex; align-items: flex-end; align-self: flex-end; }
.photo__img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(6px 8px 0 rgba(17, 17, 17, 0.35));
}

.photo__label {
  position: relative;
  padding: 16px 24px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  color: var(--muted);
  text-align: center;
}

/* ---------- About ---------- */
.band--white {
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--white);
}
.about {
  padding-top: 64px;
  padding-bottom: 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}
.about__copy { flex: 1 1 360px; min-width: 0; }
.features {
  flex: 1 1 320px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature {
  padding: 22px 18px;
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--ground);
  text-align: center;
}
.feature__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  color: var(--accent);
}
.feature__text { margin-top: 8px; font-size: 15px; line-height: 1.4; color: #444444; }

/* ---------- Packages ---------- */
.packages { padding-top: 80px; padding-bottom: 96px; }
.packages__intro { margin-bottom: 44px; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.card {
  position: relative;
  overflow: hidden;
  padding: 36px 32px 40px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card__body { position: relative; display: flex; flex-direction: column; gap: 10px; }
.card__name {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 800;
  font-size: 34px;
  line-height: 1.1;
  color: var(--accent);
}
.card__price { font-weight: 800; font-size: 46px; line-height: 1.1; }
.card__meta {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__list {
  margin: 18px 0 0;
  padding: 0 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--body);
}

/* ---------- Book ---------- */
.book { border-top: 3px solid var(--ink); background: var(--accent); }
.book__inner {
  padding-top: 72px;
  padding-bottom: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.book__copy { flex: 1 1 420px; min-width: 0; }
.book__text { color: var(--white); max-width: 520px; line-height: 1.5; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 3px solid var(--ink);
  background: var(--ground);
  min-height: 160px;
}
.footer__inner {
  position: relative;
  padding-top: 48px;
  padding-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill--icon { gap: 10px; font-weight: 700; }

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; max-width: 520px; }
}

@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .nav { gap: 12px; padding-bottom: 16px; }
  .pill--brand { font-size: 22px; padding: 10px 22px; white-space: normal; }
  .pill { font-size: 16px; padding: 8px 16px; min-height: 44px; }
  .nav__home { display: none; }
  .nav__links { gap: 8px; flex-wrap: nowrap; }
  .hero .actions .btn, .book .actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero { padding-top: 48px; padding-bottom: 56px; gap: 36px; }
  .hero__title { font-size: 48px; }
  .hero__copy, .hero__media, .about__copy, .book__copy { flex-basis: 100%; }
  .features { flex-basis: 100%; grid-template-columns: 1fr; }
  .h2 { font-size: 40px; }
  .h2--lg { font-size: 48px; }
  .packages { padding-top: 56px; padding-bottom: 64px; }
  .card { box-shadow: 6px 6px 0 var(--ink); }
  .pill--static { font-size: 15px; }
}

@media (max-width: 380px) {
  .nav__links .pill { font-size: 15px; padding: 8px 12px; }
}

/* ---------- 404 ---------- */
.not-found {
  padding-top: 96px;
  padding-bottom: 112px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
