:root {
  --bg: #fff9fa;
  --bg-deep: #f9edf0;
  --surface: #fffdfd;
  --surface-soft: #f7e2e7;
  --text: #3f2830;
  --muted: #6d4f58;
  --subtle: #74545e;
  --accent: #b52f54;
  --accent-strong: #9f2448;
  --accent-hover: #861d3d;
  --accent-ink: #fff9fa;
  --line: rgba(75, 44, 54, 0.16);
  --radius: 18px;
  --shell: 1200px;
  --header-height: 72px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; }

.shape-icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 4px;
}

::selection { background: var(--accent); color: var(--accent-ink); }

.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section { padding-block: clamp(88px, 11vw, 152px); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--accent-ink);
  background: var(--accent-strong);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 1px solid transparent;
  background: rgba(251, 234, 236, 0.72);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transition: border-color 240ms ease, background 240ms ease;
}
.site-header.is-scrolled { border-color: var(--line); background: rgba(255, 249, 250, 0.94); }

.nav { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.brand span { display: grid; line-height: 1.1; }
.brand strong { font: 500 20px/1.1 "Iowan Old Style", Baskerville, Georgia, serif; letter-spacing: 0.01em; }
.brand small { margin-top: 5px; color: var(--subtle); font-size: 9px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.brand .cottage-food-id { margin-top: 3px; color: var(--accent); font-size: 8px; letter-spacing: 0.12em; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 34px); font-size: 13px; font-weight: 600; }
.nav-links > a:not(.button) { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); transition: color 180ms ease; }
.nav-links > a:not(.button):hover { color: var(--text); }

.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.menu-toggle i { display: block; height: 1px; margin: 5px 0; background: var(--text); transition: transform 180ms ease, opacity 180ms ease; }
.menu-toggle[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-6px) rotate(-45deg); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--accent-ink);
  background: var(--accent-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 200ms ease, transform 200ms ease;
}
.button:hover { background: var(--accent-hover); transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button:disabled { cursor: not-allowed; opacity: 0.48; transform: none; }
.button-small { min-height: 42px; padding-inline: 20px; font-size: 10px; }

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}

.hero-tree {
  position: absolute;
  top: -42px;
  right: -5vw;
  z-index: -2;
  width: min(50vw, 760px);
  height: auto;
  object-position: top right;
  opacity: 0.62;
}

.hero-inner {
  position: relative;
  min-height: 100dvh;
  padding-top: calc(var(--header-height) + 42px);
  padding-bottom: 38px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.76fr);
  align-items: center;
  gap: clamp(38px, 5vw, 78px);
}

.hero-copy { align-self: center; max-width: 680px; }
.eyebrow { margin: 0 0 24px; color: var(--accent-strong); font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }

h1, h2, h3 { font-family: "Iowan Old Style", Baskerville, Georgia, serif; font-weight: 400; }
h1 { margin: 0; max-width: 680px; font-size: clamp(49px, 4.7vw, 72px); line-height: 0.98; letter-spacing: -0.045em; text-wrap: balance; }
.headline-line { white-space: nowrap; }
h1 em { color: var(--accent-strong); font-weight: 400; line-height: 1.08; }
.hero-lede { max-width: 510px; margin: 24px 0 0; color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; }
.actions { display: flex; align-items: center; gap: 26px; margin-top: 30px; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--text); font-size: 13px; font-weight: 650; }
.text-link span { display: inline-block; margin-left: 8px; color: var(--accent); transition: transform 180ms ease; }
.text-link:hover span { transform: translate(3px, 3px); }

.hero-showcase {
  position: relative;
  width: min(100%, 470px);
  display: grid;
  justify-items: center;
  justify-self: end;
  align-self: center;
}

.ornamental-frame {
  position: relative;
  width: min(100%, 51.2vh, 432px);
  aspect-ratio: 4 / 5;
  max-height: min(64vh, 540px);
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(94, 42, 60, 0.28);
  border-radius: 48% 48% 22px 22px / 27% 27% 22px 22px;
  background-color: #f5dfe3;
  background-image:
    linear-gradient(rgba(255, 249, 250, 0.14), rgba(255, 249, 250, 0.14)),
    url("./assets/levantine-frame-tile-v1.webp");
  background-size: auto, 94px 94px;
  box-shadow: 0 22px 60px rgba(111, 42, 63, 0.16);
}

.ornamental-frame::before {
  position: absolute;
  inset: 6px;
  z-index: 2;
  border: 1px solid rgba(255, 249, 250, 0.74);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.slideshow-viewport {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 2px solid rgba(255, 249, 250, 0.84);
  border-radius: 48% 48% 13px 13px / 26% 26% 13px 13px;
  background: var(--surface-soft);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity 520ms cubic-bezier(.16,1,.3,1), transform 700ms cubic-bezier(.16,1,.3,1), visibility 0s linear 700ms;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}

.hero-slide-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 46%;
}

.hero-slide-news {
  align-items: end;
  background:
    linear-gradient(to top, rgba(255, 249, 250, 0.98) 18%, rgba(255, 249, 250, 0.74) 70%, rgba(255, 249, 250, 0.35)),
    url("./assets/cherry-tree-raster.webp") top right / cover no-repeat,
    var(--surface-soft);
}

.slide-copy {
  position: relative;
  width: 100%;
  padding: clamp(34px, 6vw, 64px) clamp(26px, 4.5vw, 48px) clamp(28px, 5vw, 48px);
}

.slide-kicker { margin: 0 0 12px; color: var(--accent-strong); font: italic 18px/1.2 "Iowan Old Style", Baskerville, Georgia, serif; }
.slide-copy h2 { max-width: 360px; margin: 0; font-size: clamp(32px, 3.4vw, 45px); line-height: 1.02; letter-spacing: -0.03em; }
.slide-copy > p:not(.slide-kicker) { max-width: 330px; margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.slide-copy ul { margin: 28px 0 0; padding: 0; display: grid; gap: 13px; list-style: none; }
.slide-copy li { padding-top: 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.slide-copy li em { color: var(--accent-strong); font-family: "Iowan Old Style", Baskerville, Georgia, serif; font-size: 18px; }
.slide-copy a { min-height: 44px; margin-top: 18px; display: inline-flex; align-items: center; color: var(--accent-hover); font-size: 13px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.slideshow-controls {
  width: min(100%, 51.2vh, 432px);
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.slide-tabs { display: flex; align-items: center; gap: 6px; }
.slide-tab, .slideshow-toggle {
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--subtle);
  background: transparent;
  font: 650 11px/1.2 "Avenir Next", Avenir, "Segoe UI", sans-serif;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.slide-tab:hover, .slideshow-toggle:hover { color: var(--text); }
.slide-tab:active, .slideshow-toggle:active { transform: translateY(1px); }
.slide-tab.is-active { border-color: var(--accent-strong); color: var(--accent-strong); }
.slideshow-toggle { padding-inline: 4px; color: var(--accent-hover); }

.petal-field { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; contain: layout paint; }
.petal-track {
  position: absolute;
  top: 12%;
  left: var(--x);
  width: var(--size);
  height: var(--size);
  opacity: 0;
  animation: petal-fall var(--duration) linear var(--delay) infinite;
}
.petal-track i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 70% 16% 70% 16%;
  background: #e98da4;
  box-shadow: inset 1px 1px rgba(255,255,255,0.45);
  animation: petal-flutter 1.8s ease-in-out infinite alternate;
}
.petal-track:nth-child(3n) i { background: #d66c89; }
.petal-track:nth-child(4n) i { border-radius: 56% 40% 70% 24%; }

@keyframes petal-fall {
  0% { opacity: 0; transform: translate3d(0, -8vh, 0) rotate(0); }
  10% { opacity: 0.92; }
  46% { transform: translate3d(calc(var(--drift) * -0.35), 40vh, 0) rotate(calc(var(--spin) * 0.45)); }
  78% { opacity: 0.84; }
  100% { opacity: 0; transform: translate3d(var(--drift), 96vh, 0) rotate(var(--spin)); }
}
@keyframes petal-flutter { from { transform: rotateX(0) scale(1); } to { transform: rotateX(72deg) scale(0.72); } }

.menu-intro h2, .craft h2, .about h2, .closing h2 { margin: 0; font-size: clamp(42px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -0.035em; }

.craft { border-block: 1px solid var(--line); background: var(--bg-deep); }
.craft-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: clamp(52px, 8vw, 112px);
  align-items: center;
}
.craft-frame {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(94, 42, 60, 0.28);
  border-radius: 48% 48% 22px 22px / 27% 27% 22px 22px;
  background-color: #f5dfe3;
  background-image:
    linear-gradient(rgba(255, 249, 250, 0.14), rgba(255, 249, 250, 0.14)),
    url("./assets/levantine-frame-tile-v1.webp");
  background-size: auto, 94px 94px;
  box-shadow: 0 22px 60px rgba(111, 42, 63, 0.16);
  isolation: isolate;
}
.craft-frame img {
  width: 100%;
  height: 100%;
  display: block;
  border: 2px solid rgba(255, 249, 250, 0.84);
  border-radius: 48% 48% 13px 13px / 26% 26% 13px 13px;
  object-fit: cover;
  object-position: center 50%;
}
.craft-frame::after {
  position: absolute;
  inset: 6px;
  z-index: 2;
  border: 1px solid rgba(255, 249, 250, 0.74);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}
.craft-statement { max-width: 650px; }
.craft-statement p { max-width: 590px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.8; }

.bread-gallery {
  margin-top: clamp(52px, 7vw, 90px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 0.8fr));
  gap: clamp(10px, 1.5vw, 18px);
}
.bread-gallery figure {
  height: clamp(320px, 34vw, 460px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}
.bread-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.bread-gallery-wide img { object-position: center 48%; }
.bread-gallery figure:nth-child(2) img { object-position: center 58%; }
.bread-gallery figure:nth-child(3) img { object-position: center 54%; }

.menu-intro { margin-bottom: 48px; display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: end; }
.menu-intro > p { margin: 0; color: var(--muted); }
.order-availability {
  margin: -14px 0 34px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.availability-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--subtle);
  box-shadow: 0 0 0 5px rgba(116, 84, 94, 0.1);
}
.order-availability > div { min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.order-availability strong { color: var(--text); font-size: 13px; }
.order-availability span:last-child { color: var(--muted); font-size: 13px; }
.order-availability.is-open .availability-dot { background: #537355; box-shadow: 0 0 0 5px rgba(83, 115, 85, 0.12); }
.order-availability.is-closed { background: var(--surface-soft); }
.order-availability.is-closed .availability-dot { background: var(--accent-strong); box-shadow: 0 0 0 5px rgba(159, 36, 72, 0.12); }
.menu-table-wrap { overflow: hidden; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 24px 16px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { color: var(--subtle); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; }
tbody th { padding-left: 0; color: var(--text); font: 400 23px/1.2 "Iowan Old Style", Baskerville, Georgia, serif; }
.menu-badge {
  margin-left: 8px;
  padding: 5px 8px 4px;
  display: inline-block;
  border-radius: 999px;
  color: var(--accent-strong);
  background: var(--surface-soft);
  font: 700 8px/1 "Avenir Next", Avenir, "Segoe UI", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: 4px;
  white-space: nowrap;
}
tbody td { color: var(--muted); font-size: 14px; }
thead th:first-child { padding-left: 0; }
th:nth-child(3), td:nth-child(3), th:nth-child(4), td:nth-child(4) { text-align: right; }
thead th:nth-child(3) { width: 372px; }
.price-shape-cell { width: 372px; }
.price-shape-layout { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.menu-price { flex: 0 0 auto; color: var(--accent-strong); font: 400 20px/1 "Iowan Old Style", Baskerville, Georgia, serif; }
.menu-coming-soon-row { background: rgba(251, 234, 236, 0.28); }
.menu-coming-soon-row .menu-price { color: var(--muted); }
.menu-coming-soon-note { color: var(--muted); font-size: 12px; font-weight: 700; text-align: right; }
.menu-empty-row td { padding: 36px 18px; color: var(--muted); text-align: center; }
.shape-selector { display: grid; gap: 5px; justify-items: start; text-align: left; }
.shape-prompt { color: var(--subtle); font-size: 9px; font-weight: 700; letter-spacing: 0.1em; line-height: 1; text-transform: uppercase; }
.shape-picker {
  min-width: 222px;
  margin: 0;
  padding: 3px;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.shape-picker label { position: relative; cursor: pointer; }
.shape-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.shape-option {
  min-height: 40px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.shape-picker label:hover .shape-option { color: var(--text); }
.shape-picker input:checked + .shape-option { color: var(--accent-ink); background: var(--accent-strong); box-shadow: 0 5px 14px rgba(134, 29, 61, 0.18); }
.shape-picker input:focus-visible + .shape-option { outline: 3px solid var(--accent-strong); outline-offset: 3px; }
.shape-picker input:disabled + .shape-option { cursor: not-allowed; opacity: 0.48; }
.shape-icon {
  width: 24px;
  height: 19px;
  flex: 0 0 auto;
  overflow: visible;
  color: currentColor;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.2));
  transition: transform 160ms ease;
}
.shape-picker input:checked + .shape-option .shape-icon { transform: translateY(-1px) rotate(-3deg) scale(1.04); }
.price-only-cell { width: 372px; }
.quantity-cell { width: 160px; }
.quantity-control {
  min-height: 44px;
  display: inline-grid;
  grid-template-columns: 44px 38px 44px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.quantity-control button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: var(--accent-strong);
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}
.quantity-control button:hover:not(:disabled) { color: var(--accent-ink); background: var(--accent-strong); }
.quantity-control button:disabled { color: var(--subtle); cursor: not-allowed; opacity: 0.42; }
.quantity-control output { color: var(--text); font-size: 14px; font-weight: 700; text-align: center; }
.pickup-order {
  margin-top: 34px;
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.5fr);
  gap: 40px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}
.pickup-label { margin: 0 0 10px; color: var(--accent-strong); font-size: 12px; font-weight: 700; }
.pickup-order-copy h3 { margin: 0; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; }
.pickup-order-copy > p:last-child { max-width: 520px; margin: 14px 0 0; color: var(--muted); }
.pickup-order-action { min-width: 260px; display: grid; justify-items: stretch; gap: 12px; }
.pickup-day-picker { margin: 0; padding: 0 0 14px; border: 0; border-bottom: 1px solid var(--line); }
.pickup-day-picker legend { margin-bottom: 9px; padding: 0; color: var(--muted); font-size: 11px; font-weight: 700; }
.pickup-day-picker > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.pickup-day-picker label { position: relative; cursor: pointer; }
.pickup-day-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pickup-day-picker span {
  min-height: 44px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
  font-size: 11px;
  font-weight: 700;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.pickup-day-picker label:hover span { color: var(--text); border-color: rgba(159, 36, 72, 0.35); }
.pickup-day-picker input:checked + span { color: var(--accent-ink); border-color: var(--accent-strong); background: var(--accent-strong); }
.pickup-day-picker input:focus-visible + span { outline: 3px solid var(--accent-strong); outline-offset: 3px; }
.pickup-day-picker input:disabled + span { cursor: not-allowed; opacity: 0.48; }
.cart-total { padding-bottom: 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); }
.cart-total span { color: var(--muted); font-size: 12px; }
.cart-total strong { color: var(--text); font: 400 30px/1 "Iowan Old Style", Baskerville, Georgia, serif; }
.pickup-order-action small { max-width: none; color: var(--subtle); font-size: 12px; line-height: 1.55; text-align: center; }
.cart-error { max-width: 300px; margin: 0; color: #7e1836; font-size: 12px; line-height: 1.5; text-align: right; }

.payment-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(63, 40, 48, 0.24);
}
.payment-dialog::backdrop { background: rgba(63, 40, 48, 0.54); backdrop-filter: blur(5px); }
.payment-dialog-inner { position: relative; padding: clamp(26px, 5vw, 42px); }
.payment-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.payment-dialog h3 { margin: 0; padding-right: 44px; font-size: clamp(30px, 6vw, 42px); line-height: 1.05; }
.payment-dialog-total { margin: 12px 0 24px; color: var(--muted); }
.payment-dialog-total strong { color: var(--accent-strong); }
.payment-customer-fields { margin-bottom: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payment-customer-fields label { display: grid; gap: 6px; }
.payment-customer-fields label > span { color: var(--muted); font-size: 11px; font-weight: 700; }
.payment-customer-fields input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: var(--bg);
  font: inherit;
}
.payment-error { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; color: #7e1836; background: var(--surface-soft); font-size: 12px; }
.payment-choices { display: grid; gap: 10px; }
.payment-choices button {
  min-height: 70px;
  padding: 14px 18px;
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: var(--bg);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.payment-choices button:hover { border-color: rgba(159, 36, 72, 0.45); background: var(--surface-soft); transform: translateY(-1px); }
.payment-choices button:disabled { cursor: progress; opacity: 0.5; transform: none; }
.payment-choices strong { font-size: 14px; }
.payment-choices span { color: var(--muted); font-size: 12px; }
.manual-payment-detail {
  margin-top: 14px;
  padding: 20px;
  display: grid;
  justify-items: center;
  gap: 10px;
  border: 1px solid rgba(159, 36, 72, 0.24);
  border-radius: 16px;
  background: var(--surface-soft);
  text-align: center;
}
.manual-payment-detail[hidden] { display: none; }
.manual-payment-detail p { margin: 0; color: var(--muted); font-size: 13px; }
.manual-payment-detail p strong { color: var(--text); }
.payment-recipient { display: grid; justify-items: center; gap: 10px; }
.payment-recipient[hidden], .cash-order-message[hidden], .manual-payment-detail [hidden] { display: none; }
.cash-order-message { max-width: 390px; }
.zelle-qr {
  width: min(220px, 70vw);
  height: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.payment-number { color: var(--accent-strong); font: 600 26px/1.2 "Iowan Old Style", Baskerville, Georgia, serif; }
.copy-payment-number {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--accent-strong);
  border-radius: 999px;
  color: var(--accent-strong);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.copy-payment-number:hover { color: var(--accent-ink); background: var(--accent-strong); }
.payment-provider-link {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--accent-ink);
  background: var(--accent-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.payment-provider-link:hover { background: var(--accent-hover); }
.manual-payment-detail small { max-width: 370px; color: var(--muted); font-size: 12px; line-height: 1.5; }

@media (max-width: 520px) {
  .payment-customer-fields { grid-template-columns: 1fr; }
}

.about { border-block: 1px solid var(--line); background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 0.72fr 1fr; gap: clamp(64px, 12vw, 160px); align-items: center; }
.about-mark { color: transparent; font: 400 clamp(150px, 24vw, 340px)/0.8 "Iowan Old Style", Baskerville, Georgia, serif; letter-spacing: -0.12em; -webkit-text-stroke: 1px rgba(240, 178, 192, 0.28); user-select: none; }
.about p { max-width: 560px; margin: 28px 0 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.signature { display: block; margin-top: 34px; color: var(--accent-strong); font: italic 22px/1.2 "Iowan Old Style", Baskerville, Georgia, serif; }

.closing { text-align: center; }
.closing-inner { max-width: 820px; }
.closing p { margin: 0 0 18px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.closing h2 { margin-bottom: 38px; }

.footer { padding-top: 72px; border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 64px; }
.footer-brand img { width: 80px; height: 80px; border-radius: 50%; }
.footer-brand p { max-width: 320px; color: var(--muted); }
.footer h2 { margin: 0 0 18px; color: var(--subtle); font-family: inherit; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer a, .pickup-location { color: var(--muted); font-size: 14px; font-style: normal; }
.pickup-location { margin: 0; }
.footer a { min-height: 32px; display: inline-flex; align-items: center; }
.footer .footer-email { color: var(--text); font-weight: 600; }
.footer-social-label { margin-top: 8px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.footer a:hover { color: var(--text); }
.footer-bottom { margin-top: 54px; padding-block: 24px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--subtle); font-size: 12px; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 620ms cubic-bezier(.16,1,.3,1), transform 620ms cubic-bezier(.16,1,.3,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 22px 24px 28px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
  }
  .nav-links.is-open { display: flex; }
  .nav-links > a:not(.button) { padding: 11px 4px; font: 400 22px/1.2 "Iowan Old Style", Baskerville, Georgia, serif; }
  .menu-toggle { display: block; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(285px, 0.72fr); gap: 30px; padding-top: calc(var(--header-height) + 38px); }
  h1 { font-size: clamp(45px, 6.2vw, 56px); }
  .hero-showcase { width: min(100%, 360px); }
  .hero-tree { top: -12px; width: 74vw; height: auto; right: -22vw; opacity: 0.56; }
  .craft-grid { grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr); gap: 42px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-mark { display: none; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .section { padding-block: 80px; }
  .brand .brand-tagline { display: none; }
  .brand .cottage-food-id { display: block; margin-top: 3px; font-size: 8px; letter-spacing: 0.1em; }
  .hero-inner { min-height: 100svh; padding-top: calc(var(--header-height) + 30px); padding-bottom: 28px; grid-template-columns: 1fr; align-content: start; gap: 24px; }
  .hero-tree {
    top: 72px;
    width: 114vw;
    height: auto;
    right: -34vw;
    opacity: 0.62;
    filter: saturate(1.08);
    -webkit-mask-image: linear-gradient(to left, #000 58%, transparent 100%);
    mask-image: linear-gradient(to left, #000 58%, transparent 100%);
  }
  .petal-track:nth-child(n+8) { display: none; }
  .eyebrow { margin-bottom: 14px; }
  h1 { font-size: clamp(39px, 11vw, 48px); line-height: 0.98; text-wrap: normal; }
  .headline-line { white-space: normal; }
  .hero-lede { max-width: 350px; margin-top: 16px; font-size: 15px; line-height: 1.5; }
  .actions { gap: 16px; margin-top: 20px; }
  .hero-showcase { width: min(76vw, 282px); justify-self: center; }
  .ornamental-frame { max-height: none; padding: 10px; border-radius: 48% 48% 17px 17px / 24% 24% 17px 17px; background-size: auto, 72px 72px; }
  .slideshow-viewport { border-radius: 48% 48% 10px 10px / 23% 23% 10px 10px; }
  .slide-copy { padding: 36px 24px 25px; }
  .slide-copy h2 { font-size: 30px; }
  .slide-copy ul { margin-top: 20px; gap: 9px; }
  .slide-copy li { padding-top: 8px; font-size: 12px; }
  .slide-copy > p:not(.slide-kicker) { margin-top: 12px; font-size: 12px; }
  .slide-copy a { margin-top: 10px; }
  .slideshow-controls { margin-top: 8px; gap: 6px; }
  .slide-tabs { gap: 0; }
  .slide-tab, .slideshow-toggle { min-height: 44px; padding-inline: 7px; font-size: 10px; }
  .craft-grid { grid-template-columns: 1fr; gap: 40px; }
  .craft-frame {
    width: min(100%, 358px);
    aspect-ratio: 4 / 5;
    justify-self: center;
    padding: 10px;
    border-radius: 48% 48% 17px 17px / 24% 24% 17px 17px;
    background-size: auto, 72px 72px;
  }
  .craft-frame img { border-radius: 48% 48% 10px 10px / 23% 23% 10px 10px; }
  .craft-statement { max-width: 100%; }
  .craft-statement p { margin-top: 22px; font-size: 16px; line-height: 1.75; }
  .bread-gallery { margin-top: 44px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bread-gallery figure { height: 252px; }
  .bread-gallery .bread-gallery-wide { grid-column: 1 / -1; height: 238px; }
  .menu-intro { grid-template-columns: 1fr; gap: 20px; }
  .menu-intro > p { max-width: 330px; }
  .order-availability { margin-top: -8px; align-items: flex-start; }
  .order-availability > div { display: grid; gap: 2px; }
  thead { display: none; }
  tbody, tr, th, td { display: block; }
  tbody tr { position: relative; padding: 22px 0; border-bottom: 1px solid var(--line); }
  tbody th, tbody td { padding: 0; border: 0; text-align: left !important; }
  tbody td:nth-child(2) { margin-top: 8px; padding-right: 0; }
  tbody td:nth-child(3) { position: static; margin-top: 18px; }
  tbody td:nth-child(4) { margin-top: 16px; }
  .price-shape-cell, .price-only-cell { width: auto; }
  .price-shape-layout { width: 100%; justify-content: space-between; gap: 12px; }
  .shape-picker { min-width: min(222px, 68vw); }
  .shape-option { padding-inline: 8px; }
  .price-only-cell { display: flex !important; justify-content: flex-end; }
  .pickup-order { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .pickup-order-action { min-width: 0; justify-items: stretch; }
  .pickup-order-action small { text-align: left; }
  .cart-error { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .petal-track { display: none; }
  .petal-track:nth-child(-n+3) { display: block; opacity: 0.65; transform: translateY(calc(var(--size) * 7)) rotate(24deg); }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
