:root {
  --ink: #26352e;
  --ink-soft: #59665e;
  --cream: #f8f1e5;
  --paper: #fffaf2;
  --white: #fffefa;
  --terracotta: #c95332;
  --terracotta-dark: #9f381f;
  --gold: #e5ae42;
  --sage: #d9e0cc;
  --line: rgba(38, 53, 46, 0.18);
  --shadow: 0 22px 70px rgba(72, 45, 27, 0.13);
  --radius-large: 2rem;
  --radius-medium: 1.1rem;
  --shell: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image: radial-gradient(rgba(38, 53, 46, 0.18) 0.55px, transparent 0.55px);
  background-size: 7px 7px;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 850px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 7vw, 6.9rem);
}

h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.35rem, 4.6vw, 4.6rem);
}

h3 {
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 0.4rem;
  transform: translateY(-180%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(255, 250, 242, 0.94);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  flex: 0 0 auto;
  color: var(--cream);
  background: var(--terracotta);
  border-radius: 50% 50% 45% 55%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  transform: rotate(-5deg);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.2vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a,
.back-link {
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-list a:not(.nav-order):hover,
.back-link:hover,
.site-footer a:hover,
.policy-article a:hover {
  color: var(--terracotta-dark);
}

.nav-order {
  padding: 0.75rem 1.1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 100px;
}

.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 22%, rgba(229, 174, 66, 0.54) 0 11%, transparent 11.2%),
    radial-gradient(circle at 78% 42%, rgba(201, 83, 50, 0.24) 0 18%, transparent 18.2%),
    linear-gradient(135deg, #f8edda 0%, #f7f0e4 58%, #dce3ce 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -5rem;
  bottom: -9rem;
  width: 38rem;
  aspect-ratio: 1;
  border: 1px solid rgba(38, 53, 46, 0.19);
  border-radius: 50%;
  box-shadow: 0 0 0 6rem rgba(255, 255, 255, 0.1), 0 0 0 12rem rgba(255, 255, 255, 0.07);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  align-items: end;
  gap: clamp(2.5rem, 7vw, 8rem);
  padding-block: 7rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  color: var(--terracotta-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 2.2rem;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--terracotta);
  box-shadow: 0 10px 25px rgba(159, 56, 31, 0.2);
}

.button-primary:hover {
  background: var(--terracotta-dark);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.text-link {
  color: var(--ink);
  font-weight: 800;
  text-underline-offset: 0.3em;
}

.hero-note {
  padding: 2.2rem;
  color: var(--white);
  background: rgba(38, 53, 46, 0.94);
  border-radius: 50% 50% var(--radius-large) var(--radius-large);
  box-shadow: var(--shadow);
}

.sun-icon {
  display: block;
  width: 3.6rem;
  height: 3.6rem;
  margin-bottom: 3rem;
  background: var(--gold);
  border: 0.55rem solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 0.75rem rgba(229, 174, 66, 0.13);
}

.hero-note-label {
  margin-bottom: 0.55rem;
  color: #e4dccf;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-note-feature {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.2;
}

.hero-note-meta {
  margin-bottom: 0;
  color: #bbc5b9;
  font-size: 0.88rem;
}

.section {
  padding-block: clamp(5rem, 9vw, 8rem);
}

.story-grid,
.hours-grid,
.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.story {
  background: var(--white);
}

.story-copy {
  padding-top: 2rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.story-copy > p:first-child::first-letter {
  float: left;
  margin: 0.08rem 0.5rem 0 0;
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  line-height: 0.78;
}

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

.story-facts div {
  display: flex;
  flex-direction: column;
}

.story-facts dt {
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-facts dd {
  order: -1;
  margin: 0 0 0.3rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.menu-section {
  color: var(--cream);
  background: var(--ink);
}

.menu-section .eyebrow {
  color: #f5bd91;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3.2rem;
}

.section-heading h2 {
  max-width: 730px;
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 330px;
  margin-bottom: 0.75rem;
  color: #bac3ba;
}

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

.menu-card {
  padding: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--ink);
  background: var(--cream);
  border-radius: var(--radius-medium);
}

.menu-card:nth-child(2) {
  background: #f2d8c8;
}

.menu-card:nth-child(3) {
  background: var(--sage);
}

.menu-card-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.menu-card-heading h3 {
  margin-bottom: 0;
}

.menu-card-heading span {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.menu-list li:last-child {
  border-bottom: 0;
}

.menu-list h4 {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.menu-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.45;
}

.menu-price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  white-space: nowrap;
}

.notice {
  padding: 1rem;
  border: 1px solid currentColor;
}

.hours-section {
  background: var(--cream);
}

.hours-grid {
  align-items: center;
}

.hours-intro > p:not(.eyebrow) {
  max-width: 510px;
  color: var(--ink-soft);
}

.hours-intro address {
  margin-top: 2rem;
  padding-left: 1.2rem;
  border-left: 3px solid var(--terracotta);
  font-style: normal;
  font-weight: 700;
}

.hours-card {
  padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.hours-card h3 {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
  font-size: 1.8rem;
}

.hours-card h3 span {
  align-self: center;
  color: var(--terracotta-dark);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.hours-list {
  margin: 0;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  padding-block: 0.75rem;
  border-top: 1px solid var(--line);
}

.hours-list dt {
  font-weight: 750;
}

.hours-list dd {
  margin: 0;
  color: var(--ink-soft);
  text-align: right;
}

.gallery-section {
  background: var(--white);
}

.gallery-heading > p {
  color: var(--ink-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 1.2rem;
  align-items: start;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-medium);
  filter: saturate(0.92) contrast(0.98);
}

.gallery-shop img {
  aspect-ratio: 5 / 4;
}

.gallery-cake {
  padding-top: 5rem;
}

.gallery-cake img {
  aspect-ratio: 4 / 5;
}

.gallery-grid figcaption {
  display: flex;
  gap: 1rem;
  margin-top: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.gallery-grid figcaption span {
  color: var(--terracotta-dark);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
}

.order-section {
  color: var(--cream);
  background: var(--terracotta-dark);
}

.order-grid {
  align-items: start;
}

.order-section .eyebrow {
  color: #ffd6b5;
}

.order-intro > p:not(.eyebrow) {
  max-width: 510px;
  color: #f0d7c7;
}

.order-callout {
  display: inline-flex;
  flex-direction: column;
  margin-top: 2rem;
  padding: 1.2rem 1.5rem;
  color: var(--ink);
  background: var(--gold);
  border-radius: var(--radius-medium);
}

.order-callout span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order-callout a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.form-field {
  min-width: 0;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field > label,
.choice-group legend {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.form-field input:not([type="radio"]),
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid rgba(38, 53, 46, 0.32);
  border-radius: 0.55rem;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--terracotta);
  outline: 3px solid rgba(201, 83, 50, 0.16);
}

.form-field small {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink-soft);
}

.choice-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 1.4rem;
  cursor: pointer;
}

.choice-group input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--terracotta);
}

.form-privacy {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.form-actions {
  display: grid;
  gap: 1rem;
}

.form-actions .button {
  justify-self: start;
}

.form-status {
  margin-bottom: 0;
  padding: 1rem;
  color: #1c4c32;
  background: #e4f2e7;
  border-left: 4px solid #2c8050;
  border-radius: 0.4rem;
}

.form-status.is-error {
  color: #762712;
  background: #f9e3dc;
  border-left-color: var(--terracotta);
}

.site-footer {
  padding-top: 4rem;
  color: #e8e8dc;
  background: #19251f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 4rem;
}

.footer-brand {
  color: var(--white);
}

.footer-brand small,
.site-footer p {
  color: #b7c0b8;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-label {
  margin-bottom: 0.8rem !important;
  color: var(--white) !important;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
}

.policy-page {
  background: var(--cream);
}

.policy-main {
  padding-block: clamp(4rem, 9vw, 8rem);
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: clamp(3rem, 9vw, 8rem);
  align-items: start;
}

.policy-aside {
  position: sticky;
  top: 2rem;
  padding-top: 0.65rem;
}

.policy-aside > p:last-child {
  max-width: 170px;
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.2;
}

.policy-article {
  max-width: 780px;
}

.policy-kicker {
  margin-bottom: 1.5rem;
  color: var(--terracotta-dark);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.policy-article h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.policy-lede {
  margin-bottom: 3rem;
  color: var(--ink-soft);
  font-size: 1.2rem;
}

.policy-article section {
  padding-block: 1.7rem;
  border-top: 1px solid var(--line);
}

.policy-article h2 {
  margin-bottom: 0.8rem;
  font-size: 2rem;
}

.policy-article section p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.policy-article code {
  padding: 0.1rem 0.3rem;
  color: var(--ink);
  background: rgba(38, 53, 46, 0.08);
  border-radius: 0.25rem;
  overflow-wrap: anywhere;
}

.policy-button {
  margin-top: 2rem;
}

.policy-footer {
  padding-top: 0;
}

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

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    padding-block: 1rem;
  }

  .nav-list {
    flex-wrap: wrap;
    gap: 0.7rem 1.1rem;
  }

  .nav-order {
    display: inline-block;
    padding: 0;
    color: var(--terracotta-dark);
    background: transparent;
  }

  .hero-grid,
  .story-grid,
  .hours-grid,
  .order-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
    padding-block: 5rem;
  }

  .hero-note {
    max-width: 420px;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 1.5rem), var(--shell));
  }

  .brand strong {
    font-size: 1rem;
  }

  .nav-list {
    font-size: 0.8rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    gap: 3.5rem;
    padding-block: 4rem;
  }

  .hero-note {
    padding: 1.5rem;
  }

  .sun-icon {
    margin-bottom: 2rem;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 1rem;
  }

  .section-heading > p {
    margin-bottom: 0;
  }

  .story-facts {
    grid-template-columns: 1fr;
  }

  .story-facts div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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

  .gallery-cake {
    padding-top: 1.5rem;
  }

  .gallery-cake img,
  .gallery-shop img {
    aspect-ratio: 4 / 3;
  }

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

  .footer-grid,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.4rem;
  }

  .policy-aside {
    position: static;
  }

  .policy-aside > p:last-child {
    max-width: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
