:root {
  --ink: #4a2f28;
  --muted: #7a5a50;
  --blush: #f8c9d4;
  --rose: #e8909f;
  --peach: #ffd8c2;
  --cream: #fff7f1;
  --paper: #ffffff;
  --cocoa: #6b3e32;
  --mint: #c8e6d0;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Quicksand", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(248, 201, 212, 0.45), transparent 45%),
    radial-gradient(ellipse at 100% 20%, rgba(255, 216, 194, 0.4), transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(200, 230, 208, 0.35), transparent 45%),
    var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem clamp(1rem, 4vw, 2rem);
  background: rgba(255, 247, 241, 0.88);
  backdrop-filter: blur(12px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  font-style: italic;
}

.logo img {
  width: 2.8rem;
  height: 2.8rem;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(74, 47, 40, 0.12);
}

.nav {
  display: none;
  gap: 1.1rem;
  align-items: center;
  font-weight: 700;
}

.nav a:not(.nav-cta) {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:not(.nav-cta):hover {
  color: var(--rose);
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  background: var(--rose);
  color: #fff;
  border-radius: 2rem 1.2rem 2rem 1.2rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(232, 144, 159, 0.35);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--blush);
  display: grid;
  gap: 5px;
  place-content: center;
  cursor: pointer;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  background: var(--ink);
  display: block;
  border-radius: 2px;
}

.nav.is-open {
  display: flex;
  position: absolute;
  inset: 100% 0 auto;
  flex-direction: column;
  padding: 1.1rem 1.25rem 1.4rem;
  background: var(--cream);
  box-shadow: 0 12px 28px rgba(74, 47, 40, 0.1);
}

.hero {
  display: grid;
  gap: 0;
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1rem, 4vw, 2rem) 0;
}

.hero-media {
  position: relative;
  order: -1;
}

.hero-media img {
  width: 100%;
  min-height: 48vh;
  object-fit: cover;
  border-radius: 2.5rem 2.5rem 3.5rem 1.5rem;
  box-shadow: 0 18px 40px rgba(74, 47, 40, 0.14);
}

.hero-badge {
  position: absolute;
  right: 1rem;
  bottom: -0.75rem;
  padding: 0.55rem 1rem;
  background: var(--mint);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 2rem;
  box-shadow: 0 8px 20px rgba(74, 47, 40, 0.1);
  transform: rotate(3deg);
}

.hero-copy {
  padding: 2rem 0.25rem 1.5rem;
}

.eyebrow {
  margin: 0;
  color: var(--rose);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-copy h1 {
  margin: 0.55rem 0 0;
  max-width: 13ch;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 9vw, 4.1rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.05;
  color: var(--cocoa);
}

.lede {
  margin: 1rem 0 0;
  max-width: 36ch;
  color: var(--muted);
  font-weight: 600;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.btn,
.btn-ghost,
.add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn {
  background: var(--rose);
  color: #fff;
  border-radius: 2rem 1.15rem 2rem 1.15rem;
  box-shadow: 0 8px 20px rgba(232, 144, 159, 0.35);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(232, 144, 159, 0.4);
}

.btn-ghost {
  background: var(--peach);
  color: var(--ink);
  border-radius: 1.15rem 2rem 1.15rem 2rem;
}

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

.strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  padding: 1.5rem clamp(1rem, 4vw, 2rem);
}

.strip p {
  margin: 0;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--cocoa);
}

.shots,
.menu,
.cakes,
.order {
  padding: clamp(2rem, 6vw, 3.75rem) clamp(1rem, 4vw, 2rem);
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.9rem);
  font-style: italic;
  font-weight: 700;
  color: var(--cocoa);
  line-height: 1.15;
}

.section-head p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-weight: 600;
  max-width: 38ch;
}

.shot-grid {
  margin-top: 1.6rem;
  display: grid;
  gap: 1rem;
}

.shot {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(74, 47, 40, 0.08);
}

.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.shot.tall img {
  aspect-ratio: 3 / 4;
}

.shot.wide img {
  aspect-ratio: 16 / 10;
}

.shot figcaption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 247, 241, 0.92);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--cocoa);
  backdrop-filter: blur(6px);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.4rem 0 1.35rem;
}

.filter {
  min-height: 42px;
  padding: 0.45rem 1rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter:hover {
  transform: translateY(-1px);
}

.filter.is-active {
  background: var(--rose);
  color: #fff;
}

.menu-grid {
  display: grid;
  gap: 1.1rem;
}

.item {
  display: grid;
  gap: 0;
  background: var(--paper);
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(74, 47, 40, 0.08);
}

.item[hidden] {
  display: none;
}

.item img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.item > div {
  padding: 1rem 1.1rem 1.15rem;
}

.item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--cocoa);
}

.item p {
  margin: 0.35rem 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.item strong {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
}

.add-btn {
  min-height: 40px;
  padding: 0.4rem 1rem;
  background: var(--peach);
  color: var(--ink);
  border-radius: 999px;
}

.add-btn:hover,
.add-btn.added {
  background: var(--rose);
  color: #fff;
}

.cake-panel {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.35rem;
  padding: 1rem;
  background: linear-gradient(160deg, #fff, var(--blush));
  border-radius: 2rem;
  box-shadow: 0 14px 36px rgba(74, 47, 40, 0.1);
}

.cake-panel img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 1.5rem;
}

.cake-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.cake-list li {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  font-weight: 700;
}

.cake-panel p {
  color: var(--muted);
  font-weight: 600;
}

.order {
  background: linear-gradient(180deg, transparent, rgba(248, 201, 212, 0.35));
}

.order-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-style: italic;
  color: var(--cocoa);
}

.order-copy > p {
  color: var(--muted);
  font-weight: 600;
}

.order-shell {
  display: grid;
  gap: 1.5rem;
}

.basket {
  margin-top: 1.25rem;
  padding: 1.1rem;
  background: var(--paper);
  border-radius: 1.4rem;
  box-shadow: 0 8px 24px rgba(74, 47, 40, 0.08);
}

.basket h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-style: italic;
}

.basket ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.basket .empty {
  color: var(--muted);
}

.basket li button {
  margin-left: 0.4rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
  color: var(--rose);
}

.basket-total {
  margin: 0.85rem 0 0;
  font-weight: 800;
}

.order-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.order-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.35rem;
  background: var(--paper);
  border-radius: 1.75rem;
  box-shadow: 0 12px 32px rgba(74, 47, 40, 0.1);
}

.field {
  position: relative;
  display: grid;
  gap: 0.3rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.95rem;
  border: 0;
  border-radius: 1rem;
  font: inherit;
  background: var(--cream);
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 144, 159, 0.35);
}

.field-star {
  display: none;
  position: absolute;
  right: 0.9rem;
  top: 2.4rem;
  color: #d64545;
  font-weight: 800;
}

.field.is-invalid input {
  box-shadow: 0 0 0 2px #d64545;
}

.field.is-invalid .field-star {
  display: block;
}

.send-btn {
  position: relative;
  justify-self: start;
  min-width: 9.5rem;
  overflow: hidden;
}

.send-label {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.send-spinner,
.send-check {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.send-spinner-ring {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-right-color: #fff;
  border-radius: 50%;
}

.send-btn.is-loading .send-label,
.send-btn.is-success .send-label {
  opacity: 0;
}

.send-btn.is-loading .send-spinner {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.send-btn.is-loading .send-spinner-ring {
  animation: spin 0.65s linear infinite;
}

.send-btn.is-success {
  background: #5a9a6e;
}

.send-btn.is-success .send-check {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  color: #fff;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-note {
  margin: 0;
  min-height: 1.2em;
  color: var(--cocoa);
  font-weight: 700;
}

.site-footer {
  padding: 2.25rem clamp(1rem, 4vw, 2rem);
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  display: grid;
  gap: 0.3rem;
}

.site-footer a {
  color: var(--rose);
  text-decoration: underline;
}

@media (min-width: 720px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
  }

  .hero {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 2rem;
    min-height: 78vh;
    padding-bottom: 1rem;
  }

  .hero-media {
    order: 0;
  }

  .hero-media img {
    min-height: 70vh;
  }

  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .shot.tall {
    grid-row: span 2;
  }

  .shot.wide {
    grid-column: span 2;
  }

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

  .item {
    grid-template-columns: 140px 1fr;
    align-items: stretch;
  }

  .item img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 140px;
  }

  .cake-panel {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    padding: 1.25rem;
  }

  .order-shell {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }

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

  .field-full,
  .send-btn,
  .form-note {
    grid-column: 1 / -1;
  }
}

@media (min-width: 980px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .item img {
    aspect-ratio: 16 / 11;
    min-height: 0;
  }
}
