:root {
  color-scheme: light;
  --paper: #fff4d6;
  --paper-deep: #f6e6ba;
  --surface: #fffaf0;
  --ink: #2a2118;
  --muted: #655c50;
  --berry: #b9304f;
  --berry-dark: #8f203b;
  --blue: #315fa8;
  --sage: #8fa27e;
  --sage-light: #d8dfca;
  --line: #d7c89f;
  --error: #9d1f2d;
  --success: #2f6746;
  --display: Georgia, "Times New Roman", serif;
  --body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: 74rem;
  --narrow: 50rem;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --header-height: 4.75rem;
  --shadow: 0 1.25rem 3.75rem rgb(88 54 31 / 0.12);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--sage) var(--paper);
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 5%, rgb(185 48 79 / 0.055), transparent 25rem),
    linear-gradient(180deg, var(--paper), #fff7df 58%, var(--paper));
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.drawer-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

::selection {
  color: var(--surface);
  background: var(--blue);
}

:focus-visible {
  outline: 0.2rem solid var(--blue);
  outline-offset: 0.25rem;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  transform: translateY(-200%);
  border-radius: 999px;
  color: var(--surface);
  background: var(--ink);
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 3rem;
  align-items: center;
  width: 100%;
  min-height: var(--header-height);
  padding: 0.6rem var(--gutter);
}

.site-header__brand {
  justify-self: center;
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(1.12rem, 2.6vw, 1.55rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.menu-button,
.monogram,
.icon-button,
.gallery-button {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  cursor: pointer;
}

.menu-button {
  position: relative;
  justify-self: start;
  background: transparent;
}

.menu-button__lines,
.menu-button__lines::before,
.menu-button__lines::after {
  width: 1.7rem;
  height: 0.13rem;
  border-radius: 999px;
  background: var(--blue);
}

.menu-button__lines {
  position: relative;
}

.menu-button__lines::before,
.menu-button__lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-button__lines::before {
  top: -0.48rem;
  width: 1.25rem;
}

.menu-button__lines::after {
  top: 0.48rem;
  width: 1.45rem;
}

.monogram {
  justify-self: end;
  border: 0.13rem solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  background: transparent;
  font-family: var(--display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.menu-button,
.monogram,
.icon-button,
.gallery-button,
.button {
  transition:
    transform 140ms var(--ease-out),
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.menu-button:active,
.monogram:active,
.icon-button:active,
.gallery-button:active,
.button:active {
  transform: scale(0.96);
}

.drawer-layer {
  position: fixed;
  z-index: 100;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 260ms;
}

.drawer-layer[data-state="open"] {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.drawer-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  background: rgb(42 33 24 / 0.42);
  transition: opacity 200ms ease;
}

.drawer-layer[data-state="open"] .drawer-scrim {
  opacity: 1;
}

.drawer-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(88vw, 27rem);
  height: 100%;
  padding: 1.1rem clamp(1.5rem, 5vw, 3rem) 2rem;
  transform: translateX(-102%);
  overflow-y: auto;
  color: var(--surface);
  background: var(--berry);
  box-shadow: var(--shadow);
  transition: transform 260ms var(--ease-drawer);
}

.drawer-layer[data-state="open"] .drawer-panel {
  transform: translateX(0);
}

.drawer-panel::after {
  position: absolute;
  inset: 0.8rem;
  border: 1px solid rgb(255 250 240 / 0.62);
  border-radius: 0.35rem 1.7rem 0.6rem 1.2rem;
  content: "";
  pointer-events: none;
}

.drawer-close {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  color: var(--surface);
  background: transparent;
}

.drawer-close::before,
.drawer-close::after {
  position: absolute;
  width: 1.5rem;
  height: 0.13rem;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.drawer-close::before {
  transform: rotate(45deg);
}

.drawer-close::after {
  transform: rotate(-45deg);
}

.drawer-nav {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.15rem;
  margin: clamp(2.5rem, 8vh, 5rem) 0 2rem;
}

.drawer-nav a {
  width: fit-content;
  color: var(--surface);
  font-family: var(--display);
  font-size: clamp(2.25rem, 8vh, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 1.03;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.13em;
}

.drawer-nav a:not([aria-current="page"]) {
  text-decoration: none;
}

.drawer-note {
  position: relative;
  z-index: 1;
  margin-top: auto;
  color: rgb(255 250 240 / 0.78);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-main {
  min-height: 68vh;
}

.page-shell {
  width: min(100%, calc(var(--content) + (2 * var(--gutter))));
  margin-inline: auto;
  padding: clamp(4rem, 9vw, 7rem) var(--gutter) clamp(5rem, 11vw, 9rem);
}

.page-shell--narrow {
  width: min(100%, calc(var(--narrow) + (2 * var(--gutter))));
}

.page-shell--flush {
  padding-top: 0;
  padding-bottom: 0;
}

.page-shell--short-top {
  padding-top: 2rem;
}

.page-heading,
.section-heading,
.cta-heading {
  margin: 0;
  color: var(--blue);
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.page-heading {
  max-width: 12ch;
  font-size: clamp(4.4rem, 13vw, 9.5rem);
}

.section-heading {
  font-size: clamp(3rem, 8vw, 6.5rem);
}

.page-kicker {
  margin: 0 0 1.25rem;
  color: var(--berry);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-intro {
  max-width: 42rem;
  margin: 1.8rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.placeholder-copy {
  color: var(--blue);
  font-style: italic;
}

.placeholder-copy::before {
  content: "[";
}

.placeholder-copy::after {
  content: "]";
}

.photo-placeholder {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: end start;
  min-height: 18rem;
  overflow: hidden;
  border: 0.12rem solid var(--sage);
  border-radius: 2.7rem 1rem 2.25rem 1.4rem / 1.45rem 2.6rem 1.2rem 2.25rem;
  background:
    radial-gradient(circle at 67% 28%, rgb(143 162 126 / 0.48) 0 17%, transparent 17.5%),
    radial-gradient(circle at 34% 71%, rgb(185 48 79 / 0.14) 0 22%, transparent 22.5%),
    linear-gradient(135deg, var(--surface), var(--paper-deep));
}

.photo-placeholder::before {
  position: absolute;
  z-index: -1;
  top: 12%;
  left: 14%;
  width: 58%;
  height: 72%;
  border: 0.11rem solid rgb(49 95 168 / 0.5);
  border-radius: 50%;
  content: "";
  transform: rotate(-18deg);
}

.photo-placeholder::after {
  position: absolute;
  z-index: -1;
  right: -12%;
  bottom: 18%;
  width: 55%;
  height: 0.11rem;
  background: rgb(185 48 79 / 0.48);
  content: "";
  transform: rotate(-31deg);
}

.photo-placeholder__label {
  margin: 1rem;
  padding: 0.48rem 0.72rem;
  border: 1px solid rgb(49 95 168 / 0.34);
  border-radius: 999px;
  color: var(--blue);
  background: rgb(255 250 240 / 0.82);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.photo-placeholder--berry {
  background:
    radial-gradient(circle at 73% 28%, rgb(185 48 79 / 0.27) 0 20%, transparent 20.5%),
    radial-gradient(circle at 28% 75%, rgb(143 162 126 / 0.42) 0 18%, transparent 18.5%),
    linear-gradient(145deg, var(--paper-deep), var(--surface));
}

.photo-placeholder--blue {
  background:
    radial-gradient(circle at 29% 30%, rgb(49 95 168 / 0.2) 0 19%, transparent 19.5%),
    radial-gradient(circle at 72% 72%, rgb(143 162 126 / 0.5) 0 21%, transparent 21.5%),
    linear-gradient(145deg, var(--surface), #f4e7c4);
}

.gallery {
  position: relative;
  margin-top: clamp(2.5rem, 7vw, 5.5rem);
}

.gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(76vw, 34rem);
  gap: clamp(1rem, 3vw, 2rem);
  padding: 1.5rem max(var(--gutter), calc((100vw - var(--content)) / 2 + var(--gutter))) 2.4rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: var(--gutter);
  scroll-snap-type: inline mandatory;
}

.gallery__item {
  scroll-snap-align: center;
}

.gallery__item:nth-child(3n + 1) {
  transform: rotate(-1.2deg);
}

.gallery__item:nth-child(3n + 2) {
  transform: translateY(1.4rem) rotate(1deg);
}

.gallery__item:nth-child(3n) {
  transform: rotate(-0.4deg);
}

.gallery__item .photo-placeholder {
  min-height: clamp(23rem, 54vw, 38rem);
}

.gallery__controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  width: min(100%, calc(var(--content) + (2 * var(--gutter))));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.gallery-button {
  border: 1px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
}

.gallery-button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.home-hero {
  padding: clamp(2rem, 6vw, 5rem) 0 clamp(4.5rem, 9vw, 7rem);
}

.home-hero .gallery {
  margin-top: 0;
}

.home-hero .gallery__track {
  grid-auto-columns: min(72vw, 38rem);
  padding-top: 2.25rem;
}

.contact-callout {
  width: min(calc(100% - (2 * var(--gutter))), 46rem);
  margin: 0 auto clamp(5rem, 12vw, 9rem);
  padding: clamp(2rem, 6vw, 4.25rem);
  border: 1.5px solid var(--blue);
  border-radius: 2.8rem 1.3rem 2.25rem 1.65rem / 1.6rem 2.7rem 1.3rem 2.35rem;
  text-align: center;
  background: rgb(255 250 240 / 0.5);
}

.contact-callout__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--berry);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.contact-callout h2 {
  margin: 0;
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(2.25rem, 6vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.contact-callout p {
  max-width: 36rem;
  margin: 1.25rem auto 0;
  color: var(--muted);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.4rem;
  margin-top: 1.8rem;
}

.text-link {
  position: relative;
  color: var(--blue);
  font-weight: 750;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.75rem 1.35rem;
  border: 1.5px solid var(--berry);
  border-radius: 999px;
  cursor: pointer;
  color: var(--surface);
  background: var(--berry);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.button--secondary {
  color: var(--blue);
  border-color: var(--blue);
  background: transparent;
}

.button[aria-disabled="true"],
.button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.content-card {
  padding: clamp(1.7rem, 4vw, 3.25rem);
  border: 1px solid var(--line);
  border-radius: 2.5rem 1.2rem 2rem 1.5rem / 1.4rem 2.6rem 1.1rem 2.1rem;
  background: rgb(255 250 240 / 0.72);
}

.content-card h2,
.form-section legend,
.menu-item__name {
  color: var(--blue);
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.content-card h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.menu-list {
  display: grid;
  gap: clamp(4rem, 10vw, 8rem);
  margin-top: clamp(4rem, 10vw, 8rem);
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6.5rem);
}

.menu-item:nth-child(even) .menu-item__media {
  order: 2;
}

.menu-item__media .photo-placeholder {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.menu-item__index {
  margin: 0 0 0.65rem;
  color: var(--berry);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.menu-item__name {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.menu-item__price {
  margin: 0.75rem 0 0;
  color: var(--berry);
  font-weight: 800;
}

.menu-item__description {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.order-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  margin-top: clamp(5rem, 12vw, 9rem);
  padding: clamp(2rem, 6vw, 4.5rem);
  overflow: hidden;
  border-radius: 3rem 1.4rem 2.4rem 1.8rem / 1.5rem 3rem 1.2rem 2.5rem;
  color: var(--surface);
  background: var(--berry);
}

.order-cta::after {
  position: absolute;
  top: -35%;
  right: 15%;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgb(255 250 240 / 0.38);
  border-radius: 50%;
  content: "";
}

.order-cta > * {
  position: relative;
  z-index: 1;
}

.order-cta .page-kicker,
.order-cta .cta-heading {
  color: var(--surface);
}

.cta-heading {
  max-width: 12ch;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.order-cta .button {
  color: var(--berry);
  border-color: var(--surface);
  background: var(--surface);
}

.cake-details {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.75fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-top: clamp(3rem, 8vw, 6rem);
}

.cake-limit {
  display: grid;
  place-items: center;
  min-height: 17rem;
  padding: 2rem;
  border-radius: 1.8rem 3.5rem 1.5rem 2.8rem / 3rem 1.6rem 3.2rem 1.4rem;
  color: var(--surface);
  background: var(--berry);
  text-align: center;
  transform: rotate(1.2deg);
}

.cake-limit strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.cake-limit span {
  display: block;
  max-width: 16rem;
  margin-top: 1.25rem;
  font-weight: 700;
}

.cake-form-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.cake-form-callout p {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
}

.link-status {
  width: 100%;
  margin: 0;
  color: var(--berry);
  font-size: 0.88rem;
  font-weight: 700;
}

.about-story {
  position: relative;
  margin-top: clamp(3rem, 8vw, 6rem);
  padding: clamp(2rem, 6vw, 4.75rem);
  border: 1.5px solid var(--blue);
  border-radius: 3rem 1.2rem 2.4rem 1.8rem / 1.4rem 3rem 1.2rem 2.5rem;
}

.about-story__copy {
  max-width: 56rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.about-story__copy p:first-child {
  margin-top: 0;
}

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

.about-portrait {
  width: min(72vw, 26rem);
  margin: clamp(2.5rem, 7vw, 5rem) auto;
  transform: rotate(-1.3deg);
}

.about-portrait .photo-placeholder {
  aspect-ratio: 4 / 5;
  min-height: 0;
}

.form-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 2rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.form-intro p {
  max-width: 48rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.request-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--berry);
  border-radius: 999px;
  color: var(--berry);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  overflow-wrap: anywhere;
  white-space: nowrap;
}

.form-shell {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.request-form {
  display: grid;
  gap: 2.5rem;
}

.form-section {
  min-width: 0;
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: 2.5rem 1.15rem 2rem 1.5rem / 1.35rem 2.5rem 1.1rem 2.1rem;
  background: rgb(255 250 240 / 0.68);
}

.form-section legend {
  padding: 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

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

.field {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 780;
}

.field label span,
.field-label span {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.72rem 0.9rem;
  border: 1.5px solid #81755c;
  border-radius: 0.85rem 0.45rem 0.75rem 0.55rem;
  color: var(--ink);
  background: var(--surface);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 0.2rem rgb(49 95 168 / 0.18);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.field-hint,
.field-error {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.field-hint {
  color: var(--muted);
}

.field-error {
  color: var(--error);
  font-weight: 700;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.6rem 1rem;
  border: 1.5px solid #81755c;
  border-radius: 999px;
  cursor: pointer;
  background: var(--surface);
}

.choice:has(input:checked) {
  color: var(--surface);
  border-color: var(--blue);
  background: var(--blue);
}

.choice input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--berry);
}

.checkbox-field {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.checkbox-field input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  accent-color: var(--berry);
}

.checkbox-field label {
  color: var(--muted);
  font-size: 0.9rem;
}

.delivery-fields[hidden] {
  display: none;
}

.delivery-fields {
  margin-top: 1.25rem;
}

.form-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
}

.form-footer__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-weight: 700;
}

.form-status:not(:empty) {
  padding: 0.85rem 1rem;
  border: 1px solid currentColor;
  border-radius: 0.8rem;
}

.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="error"] {
  color: var(--error);
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.turnstile-slot {
  min-height: 0;
}

.policy-placeholder {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-left: 0.2rem solid var(--sage);
  color: var(--muted);
  background: rgb(216 223 202 / 0.35);
  font-size: 0.84rem;
}

.site-footer {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) var(--gutter);
  overflow: hidden;
  color: var(--surface);
  background: var(--berry);
}

.site-footer::before {
  position: absolute;
  top: -12rem;
  right: -7rem;
  width: 25rem;
  height: 25rem;
  border: 1px solid rgb(255 250 240 / 0.24);
  border-radius: 50%;
  content: "";
}

.site-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(12rem, 0.6fr));
  gap: clamp(2rem, 6vw, 5rem);
  width: min(100%, var(--content));
  margin: 0 auto;
}

.site-footer__brand {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-style: italic;
  letter-spacing: -0.04em;
}

.site-footer__label {
  margin: 0 0 0.65rem;
  color: rgb(255 250 240 / 0.7);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0.25rem 0;
}

.site-footer a {
  text-underline-offset: 0.2em;
}

.site-footer__placeholder {
  color: rgb(255 250 240 / 0.75);
  font-size: 0.8rem;
}

.error-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-height));
  padding: var(--gutter);
  text-align: center;
}

.error-page__code {
  margin: 0;
  color: var(--sage);
  font-family: var(--display);
  font-size: clamp(7rem, 24vw, 15rem);
  letter-spacing: -0.08em;
  line-height: 0.7;
}

.error-page h1 {
  margin: 1.5rem 0 0;
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
}

.error-page p {
  max-width: 34rem;
  margin: 1rem auto 1.6rem;
  color: var(--muted);
}

@media (hover: hover) and (pointer: fine) {
  .drawer-nav a:not([aria-current="page"]):hover {
    text-decoration: underline;
  }

  .menu-button:hover,
  .monogram:hover {
    transform: rotate(-3deg) scale(1.04);
  }

  .gallery-button:not(:disabled):hover {
    color: var(--surface);
    background: var(--blue);
  }

  .button:not(:disabled):not([aria-disabled="true"]):hover {
    border-color: var(--berry-dark);
    background: var(--berry-dark);
  }

  .button--secondary:not(:disabled):not([aria-disabled="true"]):hover {
    color: var(--surface);
    border-color: var(--blue);
    background: var(--blue);
  }

  .order-cta .button:not(:disabled):hover {
    color: var(--surface);
    border-color: var(--surface);
    background: transparent;
  }

  .field input:hover,
  .field select:hover,
  .field textarea:hover {
    border-color: var(--blue);
  }

  .menu-item__media:hover .photo-placeholder,
  .gallery__item:hover .photo-placeholder {
    border-color: var(--blue);
  }
}

.drawer-layer :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--surface);
}

@media (max-width: 52rem) {
  :root {
    --header-height: 4.25rem;
  }

  .site-header {
    grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
  }

  .page-shell {
    padding-top: 3.5rem;
  }

  .menu-item,
  .cake-details,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .menu-item:nth-child(even) .menu-item__media {
    order: 0;
  }

  .menu-item__copy {
    padding-inline: 0.35rem;
  }

  .order-cta,
  .form-intro,
  .form-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .order-cta .button,
  .form-footer .button {
    justify-self: start;
  }

  .cake-limit {
    min-height: 13rem;
  }
}

@media (max-width: 38rem) {
  .site-header__brand {
    max-width: 12rem;
    font-size: 1rem;
  }

  .gallery__track,
  .home-hero .gallery__track {
    grid-auto-columns: 82vw;
  }

  .gallery__item:nth-child(n) {
    transform: none;
  }

  .gallery__item .photo-placeholder {
    min-height: 27rem;
  }

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

  .field--full {
    grid-column: auto;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
  }

  .request-badge {
    white-space: normal;
  }

  .site-footer {
    padding-bottom: 4rem;
  }
}

@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;
  }

  .gallery__item:nth-child(n),
  .cake-limit,
  .about-portrait {
    transform: none;
  }
}
