/* Delightful Treats Bakery — cottage bakery, editorial, warm paper */

:root {
  --paper: #f4ede3;
  --paper-deep: #eadfce;
  --cream: #fbf7f0;
  --ink: #241510;
  --ink-soft: #5c4336;
  --ink-faint: #8a6f5e;
  --terracotta: #b44a32;
  --terracotta-deep: #8f3a26;
  --cocoa: #6b3a28;
  --honey: #c4a06a;
  --honey-soft: #dcc59a;
  --line: rgba(36, 21, 16, 0.12);
  --line-strong: rgba(36, 21, 16, 0.22);
  --shadow: 0 18px 50px rgba(36, 21, 16, 0.08);
  --radius: 18px;
  --header-h: 4.5rem;
  --max: 1120px;
  --measure: 38rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(1200px 600px at 8% -10%, rgba(180, 74, 50, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 8%, rgba(196, 160, 106, 0.16), transparent 50%),
    radial-gradient(800px 400px at 50% 100%, rgba(107, 58, 40, 0.05), transparent 45%);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

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

a {
  color: var(--terracotta-deep);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(143, 58, 38, 0.45);
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

a:hover {
  color: var(--terracotta);
  text-decoration-color: var(--terracotta);
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  border-radius: 8px;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 2px 0 var(--terracotta);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
  gap: 0.12rem;
}

.wordmark:hover {
  color: var(--ink);
  text-decoration: none;
}

.wordmark-name {
  font-family: "Great Vibes", "Newsreader", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.wordmark-sub {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  border-radius: 999px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ink);
}

.nav-toggle-bars {
  display: block;
  width: 1rem;
  height: 1.2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.site-nav ul {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 5rem;
}

.hero-brand {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.hero-brand .eyebrow {
  justify-content: center;
}

.hero-brand .eyebrow::before {
  display: none;
}

.brand-name {
  margin: 0;
  font-family: "Great Vibes", "Newsreader", Georgia, serif;
  font-size: clamp(3.4rem, 10vw, 6.2rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
}

.pin {
  width: min(18rem, 70%);
  height: auto;
  margin: 0.35rem auto 0.15rem;
  mix-blend-mode: multiply;
}

.brand-bakery {
  margin: 0.15rem 0 1.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cocoa);
}

.slogan {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 450;
  font-style: italic;
  line-height: 1.35;
  color: var(--ink-soft);
}

.moms-line {
  margin: 0.7rem 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.hero-brand .hero-lede {
  margin-left: auto;
  margin-right: auto;
}

.hero-brand .hero-actions {
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.4rem;
  color: var(--terracotta);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--terracotta);
}

.hero h1 em {
  font-style: italic;
}

.hero-lede {
  max-width: 32rem;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1rem;
  margin-top: 2.1rem;
}

.hero-menu-link {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.4rem 0.35rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(143, 58, 38, 0.45);
}

.hero-menu-link:hover,
.hero-menu-link:focus-visible {
  color: var(--terracotta);
  text-decoration-color: var(--terracotta);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: Outfit, sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--terracotta);
  color: #fffaf5;
  border-color: var(--terracotta);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--terracotta-deep);
  color: #fffaf5;
  text-decoration: none;
}

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

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
  text-decoration: none;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 28rem;
}

.hero-plate {
  width: min(100%, 26rem);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #fbf7f0;
  border: none;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--honey);
  padding: 0.25rem 0 0.5rem;
}

.flourish-line {
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 10rem;
}

.section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.kicker {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.section h2 {
  margin: 0 0 1.25rem;
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.prose {
  max-width: var(--measure);
  color: var(--ink-soft);
}

.prose p {
  margin: 0 0 1.1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.pull {
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  font-family: Newsreader, Georgia, serif;
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.35;
  color: var(--ink);
  max-width: 20rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.facts div {
  min-width: 0;
}

.facts dt {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.facts dd {
  margin: 0.28rem 0 0;
  font-family: Newsreader, Georgia, serif;
  font-style: italic;
  font-size: 1.22rem;
  line-height: 1.2;
  color: var(--ink);
}

.order-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  padding: 2.4rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.order-note {
  padding: 1.5rem 1.6rem;
  border-radius: 14px;
  background: var(--paper);
  border: 1px dashed color-mix(in srgb, var(--honey) 70%, var(--line-strong));
}

.order-note h3 {
  margin: 0 0 0.55rem;
  font-family: Newsreader, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.order-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.muted {
  color: var(--ink-faint);
  font-size: 0.92rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-email,
.contact-phone {
  margin-top: 1.4rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.contact-phone a {
  font-weight: 500;
  letter-spacing: 0.04em;
}

.form {
  display: grid;
  gap: 1.05rem;
  padding: 1.8rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.field label,
.check label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  border-radius: 10px;
  padding: 0.78rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: color-mix(in srgb, var(--cocoa) 45%, var(--line-strong));
}

.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(180, 74, 50, 0.12);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0.2rem 0 0.3rem;
}

.check input {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--terracotta);
  flex-shrink: 0;
}

.check label {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.45;
}

.form-status {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--honey) 22%, var(--cream));
  color: var(--ink);
  font-size: 0.95rem;
}

.form-status[hidden] {
  display: none;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 1.2rem 0 2.6rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-flourish {
  padding: 1.4rem 0 1.6rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  align-items: center;
}

.footer-brand {
  font-family: Newsreader, Georgia, serif;
  font-style: italic;
  color: var(--ink);
  font-size: 1.05rem;
}

@media (max-width: 860px) {
  :root {
    --header-h: 4.15rem;
  }

  .wordmark-name {
    font-size: 1.35rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.15rem;
    transform-origin: top;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    padding: 3rem 0 3.5rem;
  }

  .hero-grid,
  .about-grid,
  .order-panel,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-art {
    min-height: 0;
  }

  .facts {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .hero-plate {
    width: min(100%, 18rem);
  }

  .section {
    padding: 3.5rem 0;
  }

  .order-panel {
    padding: 1.5rem;
  }

  .pull {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .wrap,
  .header-inner {
    width: min(var(--max), calc(100% - 1.6rem));
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions .hero-menu-link {
    width: 100%;
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}


.menu-intro {
  max-width: 36rem;
  margin: 0.6rem 0 2.4rem;
  color: var(--ink-soft);
}

.menu-cat {
  margin: 0 0 3.2rem;
}

.menu-cat h3 {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
}

.cat-note {
  margin: 0.35rem 0 1.4rem;
  color: var(--ink-faint);
  font-size: 0.98rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.bake {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.bake img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  background: var(--paper-deep);
}

.bake h4 {
  margin: 1rem 1.15rem 0.35rem;
  font-family: Newsreader, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.bake p {
  margin: 0 1.15rem 1.2rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

@media (max-width: 860px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .bake img {
    height: 16rem;
  }
}

.menu-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 2.4rem;
}
.menu-jump a {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.menu-jump a:hover,
.menu-jump a:focus-visible {
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.menu-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bake-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin: 1rem 1.15rem 0.35rem;
}
.bake-meta h4 {
  margin: 0;
}
.price {
  margin: 0;
  font-weight: 500;
  color: var(--terracotta);
  white-space: nowrap;
}
.bake p {
  margin: 0 1.15rem 1.2rem;
}
@media (max-width: 980px) {
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
}


/* About as its own page */
.about-story {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.about-story h1 {
  margin: 0 0 1.6rem;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(2.1rem, 5vw, 3.15rem);
  font-weight: 500;
  line-height: 1.15;
}

.about-loaf {
  margin: 3rem 0 0;
  padding: 0;
}

.about-loaf img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-loaf figcaption {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}

.pin {
  filter: none;
}


.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.35rem 0 1.1rem;
}


/* Homepage photo+name gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.gallery-card {
  display: block;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.gallery-card:hover,
.gallery-card:focus-visible {
  color: var(--ink);
  text-decoration: none;
  border-color: var(--terracotta);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.gallery-card img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  background: var(--paper-deep);
}

.gallery-card h4 {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  font-family: Newsreader, Georgia, serif;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.3;
}

.menu-order {
  padding-bottom: 3.5rem;
}

.bake:target {
  box-shadow: 0 0 0 2px var(--terracotta);
}

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

@media (max-width: 520px) {
  .gallery-card img {
    height: 12rem;
  }
}
