@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* Design */
:root {
  --ink: hsl(24, 15%, 12%);
  --ink-soft: hsl(24, 10%, 25%);
  --muted: hsl(24, 8%, 46%);
  --bg: hsl(36, 33%, 96%);
  --white: #ffffff;
  --band: hsl(36, 20%, 92%);
  --yellow: hsl(41, 100%, 50%);
  --yellow-dark: hsl(38, 100%, 45%);
  --yellow-soft: hsl(43, 85%, 93%);
  --border: hsl(36, 12%, 84%);

  --maxw: 1180px;
  --radius: 20px;

  --radius-sm: 10px;
  --shadow: 0 20px 48px rgba(29, 26, 20, 0.08);
  --shadow-sm: 0 6px 20px rgba(29, 26, 20, 0.04);

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --transition-fast: all 0.18s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 112px;
  /* Offset for sticky header */
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 96px;
    /* Offset for mobile sticky header */
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.75;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--ink);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: #000;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
}

h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  font-weight: 700;
}

p {
  margin: 0 0 1.1rem;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section--tight {
  padding-block: clamp(2rem, 4.5vw, 4rem);
}

.section--band {
  background: var(--band);
}

.center {
  text-align: center;
}

.measure {
  max-width: 68ch;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.96rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
  text-align: center;
}

.btn:hover {
  box-shadow: 0 8px 20px rgba(29, 26, 20, 0.08);
}

.btn:active {
  box-shadow: none;
}

.btn--primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--yellow-dark);
  color: var(--ink);
  box-shadow: 0 8px 24px hsla(41, 100%, 50%, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(29, 29, 27, 0.15);
}

.btn--cream {
  background: hsl(36, 35%, 88%);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn--cream:hover {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(29, 26, 20, 0.06);
}

.btn--cream i.ph {
  font-size: 18px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-row.center {
  justify-content: center;
}

/* ---------- Header / nav (Glassmorphic) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsla(36, 33%, 96%, 0.85);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand__logo {
  height: 60px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.nav__links a {
  display: block;
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.98rem;
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: #000;
}

.nav__links a[aria-current="page"] {
  font-weight: 800;
  color: var(--ink);
}

/* sliding yellow underline (desktop) */
.nav__indicator {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3.5px;
  background: var(--yellow);
  border-radius: 4px;
  transform: translateX(0);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(0.25, 1, 0.5, 1),
    width .35s cubic-bezier(0.25, 1, 0.5, 1), opacity .25s ease;
}

.nav__indicator.is-ready {
  opacity: 1;
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
}

.nav__toggle:hover {
  background: var(--band);
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform .25s ease, opacity .25s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: calc(100vh - 88px);
  min-height: calc(100svh - 88px);
  padding-block: 4rem 5.5rem;
  background: #12100b;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at center, rgba(18, 16, 11, .15) 0%, rgba(18, 16, 11, .55) 60%, rgba(18, 16, 11, .88) 100%);
}

.hero__content {
  width: 100%;
  padding-inline: clamp(24px, 6vw, 90px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 3rem;
}

.hero__left {
  max-width: 680px;
}

.hero__logo {
  width: clamp(270px, 44vw, 560px);
  height: auto;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 6px 24px rgba(0, 0, 0, .4));
}

.hero__tagline {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.15;
  margin: 0.5rem 0 0;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .5);
}

.hero__right {
  max-width: 360px;
  padding-bottom: 0.4rem;
}

.hero__right p {
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  line-height: 1.6;
  color: hsl(36, 30%, 94%);
  margin: 0 0 1.5rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .5);
  font-weight: 500;
}

/* scroll-down cue */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: inline-flex;
  place-items: center;
  z-index: 1;
  color: #fff;
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.hero__scroll:hover {
  opacity: 1;
}

.hero__scroll i.ph {
  font-size: 30px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: calc(100vh - 72px);
    min-height: calc(100svh - 72px);
    align-items: flex-end;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero__right {
    max-width: none;
  }

  .hero__scroll {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll i.ph {
    animation: none;
  }
}

/* Cards / grids */
.grid {
  display: grid;
  gap: 2.2rem;
}

.grid--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.4s ease;
}

.card:hover {
  box-shadow: var(--shadow);
}

.card__media {
  background: var(--band);
  overflow: hidden;
}

.card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.card__body {
  padding: 1.8rem 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.card__body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* split feature row */
.feature {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 880px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }

  .feature--reverse .feature__media {
    order: 2;
  }
}

.feature__media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature__media img {
  width: 100%;
  display: block;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

/* circular portrait variant (about) */
.feature__media--round {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  max-width: 440px;
  margin-inline: auto;
  box-shadow: var(--shadow-sm);
}

.feature__media--round img {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}

/* Best Sellers */
.bestsellers__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
  margin-top: 3.5rem;
}

@media (max-width: 820px) {
  .bestsellers__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.bestsellers__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.bestsellers__item {
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.65rem 0 0.65rem 1.2rem;
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  font-size: clamp(1.7rem, 3.8vw, 2.8rem);
  color: hsl(36, 15%, 72%);
  border-left: 3.5px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.bestsellers__item:hover,
.bestsellers__item:focus-visible,
.bestsellers__item.is-active {
  color: var(--ink);
  outline: none;
  border-left-color: var(--yellow);
}

.bestsellers__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--band);
  aspect-ratio: 4 / 3;
}

.bestsellers__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

@media (min-width: 820px) {
  .bestsellers__list {
    gap: 1.3rem;
  }

  .bestsellers__item {
    padding: 1.1rem 0 1.1rem 1.4rem;
  }
}

/* Sunday Bakes feature (How to Order) */
.sunday {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .sunday {
    grid-template-columns: 1fr 1.1fr;
  }
}

.sunday-card {
  background: var(--yellow-soft);
  border: 2.5px dashed hsla(41, 60%, 45%, 0.6);
  border-radius: 24px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2.5rem;
  transition: box-shadow 0.4s ease;
  box-shadow: var(--shadow-sm);
}

.sunday-card:hover {
  box-shadow: var(--shadow);
}

.sunday-card h2 {
  font-size: clamp(2.9rem, 7.5vw, 4.8rem);
  line-height: 1;
  margin: 0 0 0.8rem;
  color: var(--ink);
  font-weight: 900;
}

.sunday-card p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Special Order Bakes section */
.special-order {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .special-order {
    grid-template-columns: 1fr 1.1fr;
    gap: 4.5rem;
  }
}

.special-order__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.special-order__text h1,
.special-order__text p {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin: 0 0 2rem;
  max-width: 36ch;
}

/* Steps (How to Order) */
.steps {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: box-shadow 0.35s ease;
}

.step:hover {
  box-shadow: var(--shadow);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 12px hsla(41, 100%, 50%, 0.25);
}

.step h3 {
  margin: 0 0 0.2rem;
}

.step p {
  margin: 0 0 1.2rem;
  flex-grow: 1;
}

.step .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Forms */
.form {
  display: grid;
  gap: 1.4rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.field input,
.field textarea {
  font: inherit;
  color: var(--ink-soft);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px hsla(41, 100%, 50%, 0.35);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* honeypot (for bot prevention) */
.form__status {
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: none;
}

.form__status.is-success {
  display: block;
  background: #eef7ef;
  color: #1f7a33;
  border: 1px solid #c7e6cd;
}

.form__status.is-error {
  display: block;
  background: #fdecec;
  color: #a23b3b;
  border: 1px solid #f3c9c9;
}

.form__note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.form__note a {
  color: inherit;
  text-decoration: underline;
}

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

/* User Interaction/Validation States */
.field input:user-valid,
.field textarea:user-valid {
  border-color: hsl(142, 60%, 45%);
}

.field input:user-valid:focus,
.field textarea:user-valid:focus {
  box-shadow: 0 0 0 4px hsla(142, 60%, 45%, 0.2);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: hsl(0, 72%, 50%);
  background-color: hsla(0, 72%, 50%, 0.01);
}

.field input:user-invalid:focus,
.field textarea:user-invalid:focus {
  box-shadow: 0 0 0 4px hsla(0, 72%, 50%, 0.2);
}

/* Subtle Allergen Disclaimer Styling */
.disclaimer-text {
  position: relative;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  padding-left: 2.4rem;
  font-weight: 500;
}

.disclaimer-text i.ph {
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--yellow-dark);
  font-size: 1.5rem;
  line-height: 1;
}

/* Prose (Terms / long text) */
.prose {
  max-width: 78ch;
  font-size: 1.08rem;
}

.prose h3 {
  margin-top: 2.2rem;
  font-weight: 800;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.4rem;
}

.prose ul {
  padding-left: 1.4rem;
}

.prose li {
  margin-bottom: 0.6rem;
}

/* Footer */
.site-footer {
  background: var(--bg);
  color: var(--ink-soft);
  border-top: 1px solid var(--border);
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: #000;
  text-decoration: underline;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-block: 4rem;
}

@media (min-width: 760px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer__brand img {
  height: 90px;
  width: auto;
  display: block;
  margin-bottom: 0.6rem;
}

.site-footer h4 {
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer__links a {
  font-weight: 500;
}

.footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer__contact-link:hover {
  color: var(--yellow-dark);
  text-decoration: none !important;
}

.footer__contact-icon {
  font-size: 20px;
  flex-shrink: 0;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.footer__contact-link:hover .footer__contact-icon {
  color: var(--yellow-dark);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  justify-content: space-between;
  font-weight: 500;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Mobile nav behavior */
@media (max-width: 900px) {
  .nav__toggle {
    display: block;
  }

  .nav {
    min-height: 76px;
  }

  .nav__links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 24px 1.2rem;
    box-shadow: var(--shadow);
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .nav__links.is-open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }

  .nav__links a {
    padding: 0.9rem 0.8rem;
    border-radius: 8px;
    font-weight: 700;
  }

  .nav__links a:hover {
    background-color: transparent;
  }

  .nav__links a[aria-current="page"] {
    color: var(--ink);
    background: var(--band);
    border-radius: 8px;
  }

  .nav__indicator {
    display: none;
  }
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 10px 0;
  z-index: 100;
  font-weight: 700;
  transition: none;
}

.skip-link:focus {
  left: 0;
}

.disclaimer-note {
  font-size: 0.86rem;
  margin-top: 0.4rem;
  display: inline-block;
  color: var(--muted);
}

.footer__tagline {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.btn__icon {
  font-size: 20px;
  vertical-align: -4px;
  margin-right: 6px;
}

.btn__icon-end {
  font-size: 18px;
  vertical-align: -3px;
  margin-left: 4px;
}

.btn-row--spaced {
  gap: 1rem;
  margin-top: 1.5rem;
}

.form--pad {
  padding: 1.6rem;
}

.section--flush-top {
  padding-top: 0;
}

.feature--spaced {
  margin-bottom: 3rem;
}

.measure--center {
  margin-inline: auto;
}

.bestsellers__cta {
  margin-top: 2.5rem;
}

.prose__note {
  margin-top: 1.6rem;
}

/* 404 page */
.notfound {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
  background: var(--bg);
  color: var(--ink);
}

.notfound__code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.1rem, 1.5vw, 1rem);
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 0.9;
  font-size: clamp(7rem, 30vw, 20rem);
  color: var(--ink);
  letter-spacing: -0.02em;
}

.notfound__cookie {
  width: clamp(6rem, 26vw, 17rem);
  height: clamp(6rem, 26vw, 17rem);
  display: block;
  filter: drop-shadow(0 12px 28px rgba(29, 26, 20, 0.18));
}

.notfound__message {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  color: var(--ink-soft);
  margin: clamp(1rem, 3vw, 2rem) 0 0;
}

.notfound__home {
  display: inline-block;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
  transition: var(--transition-fast);
}

.notfound__home:hover {
  color: var(--yellow-dark);
}