:root {
  color-scheme: light;
  --ink: #2d2018;
  --muted: #6e5d4f;
  --cream: #fff8ee;
  --flour: #f3e4cf;
  --crust: #9b552d;
  --dark-crust: #5f321f;
  --sage: #6f7b55;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(61, 38, 22, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
}

body::selection {
  background: #e8b57d;
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(45, 32, 24, 0.74);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 248, 238, 0.12);
  font-size: 14px;
  letter-spacing: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

nav a {
  text-decoration: none;
  opacity: 0.9;
}

nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 132px clamp(20px, 6vw, 72px) 64px;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(38, 24, 16, 0.86) 0%, rgba(38, 24, 16, 0.62) 34%, rgba(38, 24, 16, 0.18) 70%),
    linear-gradient(0deg, rgba(38, 24, 16, 0.58) 0%, rgba(38, 24, 16, 0.04) 54%);
}

.hero-copy {
  position: relative;
  max-width: 720px;
  color: var(--white);
}

.eyebrow,
.section-kicker,
.item-tag {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  color: #e5b878;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 11ch;
  margin: 12px 0 18px;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 10px 0 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 14px 0 10px;
  font-size: 28px;
  line-height: 1.05;
}

.lede {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-actions,
.order-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--crust);
  color: var(--white);
  box-shadow: 0 16px 35px rgba(68, 31, 12, 0.28);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.intro,
.feature-strip,
.menu-section,
.weekly-section,
.pickup-section,
.care-section,
.visit-section,
.order-section,
footer {
  padding-inline: clamp(20px, 6vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: end;
  padding-top: 80px;
  padding-bottom: 70px;
}

.intro > p,
.order-section p {
  margin: 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: rgba(95, 50, 31, 0.16);
}

.feature-strip div {
  display: grid;
  gap: 8px;
  min-height: 150px;
  align-content: center;
  padding: 28px;
  background: var(--white);
}

.feature-strip strong {
  font-size: 28px;
  line-height: 1.05;
}

.feature-strip span {
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.menu-section {
  padding-top: 76px;
  padding-bottom: 86px;
  background: var(--flour);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

.menu-grid,
.weekly-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.menu-grid article,
.weekly-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(95, 50, 31, 0.14);
  border-radius: 8px;
  background: rgba(255, 248, 238, 0.76);
  box-shadow: var(--shadow);
}

.item-tag {
  color: var(--sage);
}

.menu-grid p,
.weekly-grid p,
.quote-card span,
footer p:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.weekly-section {
  padding-top: 78px;
  padding-bottom: 84px;
  background: var(--cream);
}

.weekly-grid article {
  min-height: 230px;
  background: var(--white);
}

.weekly-grid .item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(111, 123, 85, 0.14);
  color: var(--sage);
}

.pickup-section {
  padding-top: 80px;
  padding-bottom: 84px;
  background: var(--flour);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steps-grid article {
  min-height: 250px;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.steps-grid span {
  color: var(--crust);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.steps-grid p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.visit-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 18px;
  padding-top: 84px;
  padding-bottom: 84px;
}

.visit-card,
.quote-card {
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.visit-card {
  padding: clamp(28px, 5vw, 50px);
}

dl {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
}

dl div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(95, 50, 31, 0.14);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
  font-weight: 800;
}

dd a {
  text-decoration-color: rgba(95, 50, 31, 0.35);
  text-underline-offset: 4px;
}

.quote-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 32px;
  background: var(--dark-crust);
  color: var(--white);
}

.quote-card p {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.quote-card span {
  color: rgba(255, 255, 255, 0.68);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.care-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.8fr);
  gap: 18px;
  padding-top: 84px;
  padding-bottom: 84px;
  background: var(--cream);
}

.care-card,
.faq-list {
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.care-card {
  padding: clamp(28px, 5vw, 50px);
}

.care-card ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.faq-list {
  display: grid;
  align-content: start;
  overflow: hidden;
}

details {
  padding: 24px 28px;
  border-bottom: 1px solid rgba(95, 50, 31, 0.12);
}

details:last-child {
  border-bottom: 0;
}

summary {
  cursor: pointer;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.order-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.72fr);
  align-items: start;
  justify-content: stretch;
  gap: clamp(24px, 5vw, 64px);
  padding-top: 72px;
  padding-bottom: 72px;
  background: var(--sage);
  color: var(--white);
}

.order-copy {
  max-width: 760px;
}

.order-section .section-kicker,
.order-section p {
  color: rgba(255, 255, 255, 0.78);
}

.order-section .button.primary {
  background: var(--white);
  color: var(--dark-crust);
  border: 0;
  cursor: pointer;
}

.preorder-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(45, 32, 24, 0.18);
}

.preorder-form label {
  display: grid;
  gap: 8px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.preorder-form .full {
  grid-column: 1 / -1;
}

.preorder-form input,
.preorder-form select,
.preorder-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: 16px ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.preorder-form textarea {
  resize: vertical;
}

.text-link {
  align-self: center;
  color: rgba(255, 255, 255, 0.86);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
  background: var(--ink);
  color: var(--white);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

footer p {
  margin: 0;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(45, 32, 24, 0.74), rgba(45, 32, 24, 0.74)),
    url("/assets/bakery-hero.jpg") center / cover;
}

.not-found-panel {
  width: min(720px, 100%);
  padding: clamp(28px, 6vw, 56px);
  border-radius: 8px;
  background: rgba(255, 248, 238, 0.94);
  box-shadow: var(--shadow);
}

.not-found-panel h1 {
  max-width: 10ch;
  color: var(--ink);
  font-size: clamp(48px, 9vw, 86px);
}

.not-found-panel .lede {
  color: var(--muted);
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 820px;
    padding-top: 154px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .intro,
  .visit-section,
  .menu-grid,
  .weekly-grid,
  .feature-strip,
  .steps-grid,
  .care-section,
  .order-section {
    grid-template-columns: 1fr;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 18px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(38, 24, 16, 0.88) 0%, rgba(38, 24, 16, 0.64) 58%, rgba(38, 24, 16, 0.28) 100%),
      linear-gradient(0deg, rgba(38, 24, 16, 0.62) 0%, rgba(38, 24, 16, 0.1) 56%);
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .button {
    width: 100%;
  }

  .preorder-form {
    grid-template-columns: 1fr;
  }
}
