/* ==========================================================================
   Dolsen's Delight
   Palette + type pulled from the business card.
   Edit the tokens below and the whole page follows.
   ========================================================================== */

:root {
  /* Colors — sampled off the card */
  --cream:      #FDF7F3;   /* page background */
  --blush:      #F7E4DE;   /* section tint */
  --rose:       #C97264;   /* primary accent, the light "D" */
  --burgundy:   #7A2E32;   /* the dark "D", headings */
  --gold:       #C6A15B;   /* the logo's ring */
  --sage:       #5C6B58;   /* "Specialty Baker" green */
  --ink:        #43302B;   /* body text */
  --ink-soft:   #7C6259;   /* secondary text */
  --white:      #FFFFFF;

  /* Type */
  --font-script: "Pinyon Script", cursive;
  --font-serif:  "Cormorant Garamond", Georgia, serif;
  --font-body:   "Karla", system-ui, -apple-system, sans-serif;

  /* Layout */
  --wrap: 1080px;
  --wrap-narrow: 720px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(122, 46, 50, 0.08);
}

/* --------------------------------- Reset --------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

body, h1, h2, h3, p, ul, ol, figure {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

img {
  max-width: 100%;
  display: block;
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--burgundy); }

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

/* -------------------------------- Layout --------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.wrap--narrow { max-width: var(--wrap-narrow); }

/* ------------------------------ Shared type ------------------------------- */

.eyebrow {
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.5rem;
}

.eyebrow--center { text-align: center; }

.section-title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.75rem, 7vw, 4rem);
  line-height: 1.1;
  color: var(--burgundy);
  text-align: center;
  margin-bottom: 0.75rem;
}

/* The little heart-and-arrow rule from the card, rebuilt in CSS. */
.section-title::after {
  content: "";
  display: block;
  width: 130px;
  height: 14px;
  margin: 0.85rem auto 0;
  background:
    radial-gradient(circle at center, var(--rose) 3.5px, transparent 4px) center / 100% 100% no-repeat,
    linear-gradient(var(--gold), var(--gold)) left center / 48px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right center / 48px 1px no-repeat;
}

.section-note {
  text-align: center;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto 2.75rem;
}

/* -------------------------------- Buttons -------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn--solid {
  background: var(--burgundy);
  color: var(--cream);
  border: 1px solid var(--burgundy);
}
.btn--solid:hover { background: var(--rose); border-color: var(--rose); }

.btn--ghost {
  background: transparent;
  color: var(--burgundy);
  border: 1px solid var(--rose);
}
.btn--ghost:hover { background: var(--blush); }

.btn:active { transform: translateY(1px); }

.btn--block {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 0.75rem;
}

/* --------------------------------- Hero ---------------------------------- */

.hero {
  background:
    radial-gradient(ellipse at 50% 0%, var(--white) 0%, var(--blush) 55%, var(--cream) 100%);
  border-bottom: 1px solid rgba(198, 161, 91, 0.35);
  padding: clamp(2.5rem, 8vw, 4.5rem) 1.5rem clamp(3rem, 9vw, 5rem);
  text-align: center;
}

.hero__inner {
  max-width: 660px;
  margin-inline: auto;
}

.hero__logo {
  width: clamp(140px, 34vw, 210px);
  height: auto;
  margin: 0 auto 1.25rem;
}

.hero__name {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3rem, 10vw, 5rem);
  line-height: 1.05;
  color: var(--burgundy);
  margin-bottom: 0.75rem;
}

.hero__line {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  color: var(--ink-soft);
  max-width: 40ch;
  margin: 0 auto 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* --------------------------------- About --------------------------------- */

.about {
  padding: clamp(3.5rem, 9vw, 5.5rem) 0;
}

.about__body {
  margin-top: 2rem;
  font-size: 1.125rem;
}

.about__body p + p { margin-top: 1.15rem; }

.about__sign {
  font-family: var(--font-script);
  font-size: 1.9rem;
  line-height: 1.4;
  color: var(--rose);
  text-align: center;
  margin-top: 2rem !important;
}

/* ------------------------------ Menu / grid ------------------------------ */

.menu {
  background: var(--blush);
  border-block: 1px solid rgba(198, 161, 91, 0.35);
  padding: clamp(3.5rem, 9vw, 5.5rem) 0;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  justify-content: center;
}

.item {
  flex: 1 1 280px;
  max-width: 340px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding-bottom: 1.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(122, 46, 50, 0.14);
}

.item__photo {
  aspect-ratio: 4 / 3;
  background: var(--blush);
  overflow: hidden;
}

.item__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Name and price with a dotted leader between them, like a bakery ticket. */
.item__meta {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 1.25rem 1.35rem 0.35rem;
}

.item__name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--burgundy);
  line-height: 1.2;
}

.item__meta::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  border-bottom: 2px dotted var(--gold);
  transform: translateY(-3px);
}

.item__price {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--rose);
  white-space: nowrap;
}

.item__price small {
  font-weight: 400;
  color: var(--ink-soft);
}

.item__desc {
  padding: 0 1.35rem;
  color: var(--ink-soft);
  font-size: 0.9688rem;
}

/* ----------------------------- Order section ----------------------------- */

.order {
  padding: clamp(3.5rem, 9vw, 5.5rem) 0;
}

.steps {
  max-width: 40rem;
  margin: 2rem auto 1.5rem;
}

.steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.6rem 0;
}

.steps__num {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--cream);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.order__lead {
  text-align: center;
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0 auto 2.75rem;
}

.order__lead strong { color: var(--burgundy); }

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.card {
  flex: 1 1 280px;
  max-width: 340px;
  background: var(--white);
  border: 1px solid rgba(198, 161, 91, 0.4);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--burgundy);
  margin-bottom: 0.35rem;
}

.card__note {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.card__qr {
  width: 180px;
  height: 180px;
  margin: 0 auto 0.5rem;
  border-radius: 10px;
  background: var(--blush);
}

/* --------------------------------- Footer -------------------------------- */

.footer {
  background: var(--burgundy);
  color: var(--blush);
  text-align: center;
  padding: clamp(2.5rem, 7vw, 3.5rem) 0;
}

.footer__name {
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: var(--cream);
  line-height: 1.2;
}

.footer__sub {
  font-family: var(--font-serif);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.social a {
  color: var(--blush);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(247, 228, 222, 0.4);
  padding-bottom: 2px;
}

.social a:hover {
  color: var(--white);
  border-bottom-color: var(--gold);
}

.footer__legal {
  font-size: 0.8125rem;
  color: rgba(247, 228, 222, 0.65);
  max-width: 44ch;
  margin: 0 auto;
}

.footer__legal + .footer__legal { margin-top: 0.5rem; }

/* --------------------------------- Phone --------------------------------- */

@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; }
  .item, .card { max-width: 100%; }
}