@font-face {
  font-family: "Noto Display";
  src: url("./fonts/NotoSerifDisplay-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Display";
  src: url("./fonts/NotoSerifDisplay-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("./fonts/OpenSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("./fonts/OpenSans-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f3ea;
  --panel: #fffcf6;
  --ink: #2b2019;
  --muted: #675548;
  --line: #daccbb;
  --accent: #a13922;
  --accent-hover: #802b18;
  --brown: #302119;
  --serif: "Noto Display", Georgia, serif;
  --sans: "Open Sans", system-ui, sans-serif;
  --gutter: clamp(20px, 4.5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, select { font: inherit; }
button:enabled { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
section[id], [id="pickup-hours"] { scroll-margin-top: 24px; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.shell {
  width: min(100% - 2 * var(--gutter), 1280px);
  margin-inline: auto;
}

.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: absolute;
  z-index: 2;
  inset: 12px auto auto var(--gutter);
  padding: 10px 14px;
  background: var(--panel);
}

.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  text-decoration: none;
}

.wordmark-icon { width: 38px; height: 38px; }
.wordmark strong, .wordmark small { display: block; }
.wordmark strong {
  font: 400 1.65rem / 1 var(--serif);
  letter-spacing: -0.055em;
}

.wordmark small {
  margin-top: 5px;
  font: 600 0.58rem / 1 var(--sans);
  letter-spacing: 0.21em;
}

.site-nav { display: flex; gap: clamp(24px, 3vw, 48px); }
.site-nav a, .footer-inner a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}

.site-nav a:hover, .footer-inner a:hover { text-decoration: underline; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0.65rem 1.07rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms, border-color 160ms, color 160ms;
}

.button-primary { background: var(--accent); color: #fffaf4; }
.button-primary:hover:not(:disabled) { background: var(--accent-hover); }
.button-primary:focus-visible { outline-color: var(--accent); }
.button-outline { color: var(--ink); border-color: #b9a89a; }
.button-outline:hover { border-color: var(--ink); background: #f1e6d7; }
.pickup-link { justify-self: end; position: relative; min-height: 44px; }

.pickup-count, .item-count {
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding-inline: 5px;
  border-radius: 50px;
  background: var(--accent);
  color: white;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.31fr;
  align-items: center;
  column-gap: clamp(30px, 4.5vw, 74px);
  padding-block: 32px 30px;
}

.hero h1 {
  font: 400 clamp(3.15rem, 6.15vw, 6rem) / 0.99 var(--serif);
  letter-spacing: -0.055em;
}

.hero h1 em { font-size: 0.86em; color: var(--accent); }
.hero-copy p {
  max-width: 42ch;
  margin-block: 26px 25px;
  color: var(--muted);
  font-size: clamp(0.97rem, 1.17vw, 1.09rem);
}

.hero-hours {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  width: fit-content;
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
}

.hero-hours:hover { text-decoration: underline; }
.inline-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

.hero-photo {
  aspect-ratio: 1.46;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #70503b;
}

.hero-photo img, .product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo img { object-position: 50% 55%; }
.bake-section {
  border-top: 1px solid var(--line);
  padding-block: 39px clamp(52px, 6.15vw, 96px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px 30px;
  margin-bottom: 24px;
}

.section-heading h2, .pickup-copy h2 {
  font: 400 clamp(2.45rem, 4.4vw, 4.2rem) / 1.05 var(--serif);
  letter-spacing: -0.05em;
}

.section-heading p { margin-top: 6px; color: var(--muted); font-size: 0.93rem; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button {
  min-height: 44px;
  padding-inline: 16px;
  border: 1px solid var(--line);
  border-radius: 50px;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.84rem;
}

.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filters button:focus-visible { outline-color: var(--ink); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 19px;
}

.product { display: flex; flex-direction: column; }
.product-photo {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e7d6c3;
  border-radius: 4px;
}

.product-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  padding-block: 14px 10px;
  border-bottom: 1px solid var(--line);
}

.product h3 {
  font: 400 clamp(1.22rem, 2vw, 1.8rem) / 1.14 var(--serif);
  letter-spacing: -0.046em;
}

.product p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.48;
  margin-block: 7px 11px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 8px;
  margin-top: auto;
}

.product-price { font-size: 0.94rem; font-weight: 600; }
.add-button {
  position: relative;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
}

.add-button:hover { border-color: #d9ae9d; background: #f5e8dc; }
.item-count { margin-inline-end: -4px; }

.pickup-section {
  background: var(--brown);
  color: var(--paper);
  padding-block: clamp(40px, 6vw, 86px);
}

.pickup-layout {
  display: grid;
  grid-template-columns: 1fr 1.48fr;
  align-items: start;
  gap: clamp(32px, 7vw, 124px);
}

.pickup-copy { padding-top: 14px; }
.pickup-copy p { margin-top: 14px; max-width: 33ch; color: #e3d4c5; }
.hours { max-width: 365px; margin-top: clamp(27px, 4vw, 54px); }
.hours h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}

.hours dl { margin: 12px 0 0; }
.hours dl > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-block: 9px;
  border-top: 1px solid #6b5446;
  color: #eee2d7;
  font-size: 0.84rem;
}

.hours dd { margin: 0; text-align: right; }
.plan-card {
  padding: clamp(20px, 3vw, 37px);
  border-radius: 5px;
  background: var(--panel);
  color: var(--ink);
}

.plan-card h3 {
  font: 400 clamp(1.6rem, 2.65vw, 2.5rem) / 1.12 var(--serif);
  letter-spacing: -0.055em;
}

.demo-note { margin-top: 6px; font-size: 0.81rem; color: var(--muted); }
.plan-card form, .plan-card noscript p { margin-top: 17px; }
.plan-list { border-block: 1px solid var(--line); }
.empty-plan { padding: 14px 0; color: var(--muted); font-size: 0.86rem; }
.empty-plan a { color: var(--accent); text-underline-offset: 3px; }
.plan-items { margin: 0; padding: 0; list-style: none; }
.plan-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3px 10px;
  padding-block: 6px;
  border-bottom: 1px solid var(--line);
}

.plan-item-name { font-size: 0.91rem; font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #b9a89a;
  border-radius: 4px;
  background: var(--panel);
  color: var(--ink);
}

.stepper button:hover { background: #f1e6d7; }
.stepper output { min-width: 21px; text-align: center; font-size: 0.88rem; }
.plan-total {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-block: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.pickup-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 17px;
}

.pickup-fields label { display: grid; gap: 5px; font-weight: 600; font-size: 0.84rem; }
.pickup-fields select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid #a9988a;
  border-radius: 4px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 400;
}

.download-button { width: 100%; margin-top: 17px; }
.download-button:disabled { background: #e8dbce; color: #655043; }
.plan-feedback:not(:empty) { margin-top: 10px; font-size: 0.84rem; color: var(--muted); }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  font-size: 0.85rem;
}

.footer-inner > span { font: 400 1.2rem / 1.1 var(--serif); letter-spacing: -0.04em; }

.icon { position: relative; display: inline-block; flex: 0 0 auto; width: 16px; height: 16px; }
.icon::before, .icon::after { position: absolute; content: ""; }
.icon-arrow::before, .icon-plus::before, .icon-minus::before {
  top: 7px;
  left: 2px;
  width: 12px;
  height: 1.5px;
  background: currentColor;
}

.icon-arrow::after {
  top: 4px;
  right: 1px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid;
  border-top: 1.5px solid;
  transform: rotate(45deg);
}

.icon-up { transform: rotate(-90deg); }
.icon-plus::after { top: 2px; left: 7px; width: 1.5px; height: 12px; background: currentColor; }
.icon-clock { border: 1.5px solid; border-radius: 50%; }
.icon-clock::after { top: 2px; left: 5px; width: 4px; height: 5px; border-left: 1px solid; border-bottom: 1px solid; }
.icon-bag::before { inset: 5px 1px 0; border: 1.5px solid; border-radius: 2px; }
.icon-bag::after { inset: 1px 5px 8px; border: 1.5px solid; border-bottom: 0; border-radius: 4px 4px 0 0; }
.icon-download { border-bottom: 1.5px solid; }
.icon-download::before { top: 1px; left: 7px; width: 1.5px; height: 10px; background: currentColor; }
.icon-download::after { top: 5px; left: 4px; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); }

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr 1.25fr; column-gap: 28px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 840px) {
  .hero { grid-template-columns: minmax(0, 1fr); row-gap: 19px; padding-top: 28px; }
  .hero h1 { font-size: clamp(3.05rem, 9.4vw, 5.2rem); }
  .hero-copy p { margin-block: 17px 18px; }
  .hero-hours { margin-top: 6px; }
  .hero-photo { aspect-ratio: 1.5; }
  .bake-section { padding-top: 24px; }
  .pickup-layout { grid-template-columns: minmax(0, 1fr); }
  .pickup-copy { padding-top: 0; }
  .hours { margin-top: 22px; }
}

@media (max-width: 620px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 12px; min-height: 66px; }
  .site-nav { display: none; }
  .wordmark-icon { width: 32px; height: 32px; }
  .wordmark strong { font-size: 1.42rem; }
  .pickup-link { padding-inline: 10px; font-size: 0.82rem; }
  .pickup-count, .item-count { position: absolute; inset: -5px -6px auto auto; margin: 0; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 18px; }
  .product-grid { gap: 20px 13px; }
}

@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .hero h1 { font-size: 2.78rem; }
  .pickup-fields { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
