:root {
  color-scheme: light;
  --cream: #fff9f3;
  --cream-deep: #f9eee2;
  --rose: #b7787f;
  --rose-soft: #f4d6da;
  --rose-pale: #fbecf0;
  --biscuit: #d9b38c;
  --biscuit-soft: #f3dfc9;
  --cocoa: #5d4339;
  --cocoa-soft: #7a6055;
  --latte: #a98772;
  --text: #3e2d27;
  --muted: #766159;
  --line: rgba(93, 67, 57, 0.12);
  --line-strong: rgba(93, 67, 57, 0.18);
  --card: rgba(255, 250, 245, 0.84);
  --card-strong: rgba(255, 251, 247, 0.96);
  --shadow: 0 30px 70px rgba(118, 97, 89, 0.16);
  --shadow-soft: 0 18px 40px rgba(118, 97, 89, 0.1);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-script: "Allura", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(244, 214, 218, 0.82), transparent 24%),
    radial-gradient(circle at top right, rgba(243, 223, 201, 0.8), transparent 20%),
    linear-gradient(180deg, #fffdfa 0%, #fff6f1 42%, #fbefe3 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: -2;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.55;
}

body::before {
  top: -6rem;
  right: -4rem;
  background: rgba(244, 214, 218, 0.85);
}

body::after {
  bottom: -7rem;
  left: -5rem;
  background: rgba(236, 209, 180, 0.72);
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

section[id] {
  scroll-margin-top: 6.5rem;
}

.page-shell {
  overflow: clip;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5.75rem 0;
}

.section--compact {
  padding: 1.1rem 0 0;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0 0;
  transition: padding 180ms ease;
}

.site-header.is-scrolled {
  padding-top: 0.6rem;
}

.site-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.2rem;
  background: rgba(255, 249, 243, 0.82);
  border: 1px solid rgba(93, 67, 57, 0.1);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(118, 97, 89, 0.12), 0 2px 8px rgba(118, 97, 89, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* BRAND */

.brand {
  display: grid;
  gap: 0.05rem;
  align-items: center;
}

.brand__script {
  font-family: var(--font-script);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--rose);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand__meta {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* NAV */

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-nav__link {
  position: relative;
  padding: 0.55rem 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  transition: color 180ms ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose), rgba(183, 120, 127, 0.2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--cocoa);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

/* BUTTONS */

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.header-cta,
.button--primary {
  color: #fff8f5;
  background: linear-gradient(135deg, #c3838d 0%, #a86872 100%);
  box-shadow: 0 8px 20px rgba(183, 120, 127, 0.32), 0 2px 6px rgba(183, 120, 127, 0.18);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button--primary:hover {
  box-shadow: 0 14px 28px rgba(183, 120, 127, 0.38), 0 4px 10px rgba(183, 120, 127, 0.22);
}

.button--secondary {
  background: rgba(255, 249, 244, 0.72);
  color: var(--cocoa);
  border-color: rgba(93, 67, 57, 0.14);
  box-shadow: none;
}

.button--secondary:hover {
  background: rgba(255, 249, 244, 0.96);
  box-shadow: var(--shadow-soft);
}

/* NAV TOGGLE */

.nav-toggle {
  display: none;
  position: relative;
  justify-self: end;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(183, 120, 127, 0.1);
  color: var(--cocoa);
  cursor: pointer;
  transition: background 180ms ease;
}

.nav-toggle:hover {
  background: rgba(183, 120, 127, 0.18);
}

.nav-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: none;
}

.nav-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 0.38rem));
}

.nav-toggle span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.nav-toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 0.38rem));
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* HERO */

.hero {
  padding-top: 3rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.section-kicker {
  margin: 0 0 0.95rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
}

.hero__content h1,
.section-heading h2,
.site-footer__brand h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  color: var(--cocoa);
}

.hero__content h1 {
  font-size: clamp(3.35rem, 8vw, 6.25rem);
  line-height: 0.92;
  max-width: 11ch;
}

.hero__content h1 span {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-script);
  font-size: 0.72em;
  font-weight: 400;
  line-height: 0.92;
  color: var(--rose);
}

.hero__copy,
.section-heading>p,
.story-card p,
.detail-card p,
.cake-card__content p,
.contact-copy p,
.site-footer__brand p {
  color: var(--muted);
  line-height: 1.75;
}

.hero__copy {
  max-width: 39rem;
  margin: 1.35rem 0 0;
  font-size: 1.03rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  list-style: none;
  padding: 0;
  margin: 2.25rem 0 0;
}

.hero__highlights li,
.feature-pill,
.story-card,
.detail-card,
.cake-card,
.gallery-tile,
.contact-card,
.contact-note {
  background: linear-gradient(180deg, var(--card) 0%, var(--card-strong) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero__highlights li {
  padding: 1.1rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
}

/* HERO VISUAL */

.hero__visual {
  position: relative;
  min-height: 40rem;
}

.hero__visual::before,
.hero__visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: -1;
}

.hero__visual::before {
  width: 18rem;
  height: 18rem;
  top: 1rem;
  right: 1rem;
  background: radial-gradient(circle, rgba(244, 214, 218, 0.95), transparent 70%);
}

.hero__visual::after {
  width: 20rem;
  height: 20rem;
  bottom: 0;
  left: -1rem;
  background: radial-gradient(circle, rgba(243, 223, 201, 0.9), transparent 68%);
}

.hero-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(93, 67, 57, 0.12);
  box-shadow: var(--shadow);
}

.hero-card img {
  height: 100%;
  object-fit: cover;
}

.hero-card--primary {
  width: min(100%, 31rem);
  aspect-ratio: 4 / 5;
  margin-left: auto;
}

.hero-card--secondary {
  position: absolute;
  left: 0;
  bottom: 2rem;
  width: min(52%, 16rem);
  aspect-ratio: 1 / 1.15;
}

.hero-badge {
  position: absolute;
  display: grid;
  gap: 0.35rem;
  max-width: 15rem;
  padding: 1rem 1.15rem;
  border-radius: 1.4rem;
  background: rgba(255, 250, 245, 0.92);
  border: 1px solid rgba(93, 67, 57, 0.1);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: floatUp 5.4s ease-in-out infinite;
}

.hero-badge--top {
  top: 1.35rem;
  left: 0.8rem;
}

.hero-badge--bottom {
  right: -0.85rem;
  bottom: 7rem;
  animation-delay: 0.8s;
}

.hero-badge__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
}

.hero-badge strong {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--cocoa);
}

/* FEATURE BAND */

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-pill {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem 1.35rem 1.45rem;
  border-radius: var(--radius-md);
}

.feature-pill__number {
  flex: 0 0 auto;
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(183, 120, 127, 0.14), rgba(217, 179, 140, 0.2));
  color: var(--rose);
  font-weight: 800;
}

.feature-pill h2,
.story-card__script,
.detail-card h3,
.cake-card__content h3,
.contact-card h3,
.contact-copy h2 {
  margin: 0;
  color: var(--cocoa);
}

.feature-pill h2,
.detail-card h3,
.cake-card__content h3,
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.feature-pill p,
.contact-note span,
.contact-card p,
.contact-card__detail {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

/* SECTION HEADING */

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 0.94;
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.1rem;
  align-items: start;
}

.story-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.story-card__script {
  margin-bottom: 1rem;
  font-family: var(--font-script);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--rose);
}

.story-card p+p {
  margin-top: 1rem;
}

.about-stack {
  display: grid;
  gap: 1rem;
}

.detail-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
}

/* MENU */

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.cake-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.cake-card:hover,
.gallery-tile:hover,
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 54px rgba(118, 97, 89, 0.2);
}

.cake-card__media {
  aspect-ratio: 4 / 4.1;
  overflow: hidden;
}

.cake-card__media img,
.gallery-tile img {
  height: 100%;
  object-fit: cover;
}

.cake-card:hover .cake-card__media img,
.gallery-tile:hover img {
  transform: scale(1.07);
}

.cake-card__content {
  padding: 1.5rem;
}

#menu .cake-card {
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms ease;
}

#menu .cake-card__media {
  position: relative;
  isolation: isolate;
}

#menu .cake-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 249, 244, 0) 18%, rgba(183, 120, 127, 0.14) 100%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

#menu .cake-card__media img {
  width: 100%;
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 360ms ease;
  transform-origin: center;
}

#menu .cake-card:hover,
#menu .cake-card:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 30px 58px rgba(118, 97, 89, 0.22);
}

#menu .cake-card:hover .cake-card__media::after,
#menu .cake-card:focus-within .cake-card__media::after {
  opacity: 1;
}

#menu .cake-card:hover .cake-card__media img,
#menu .cake-card:focus-within .cake-card__media img {
  transform: scale(1.09);
  filter: saturate(1.06) brightness(1.03);
}

.card-tag,
.pill-row span,
.contact-note strong {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card-tag {
  color: var(--rose);
}

.cake-card__content p {
  margin: 0.75rem 0 0;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.pill-row span {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--cocoa-soft);
  background: rgba(183, 120, 127, 0.08);
  border: 1px solid rgba(183, 120, 127, 0.12);
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.78rem;
}

/* GALLERY */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  min-height: 16rem;
  border-radius: var(--radius-xl);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(53, 38, 32, 0.7) 100%);
}

.gallery-tile figcaption {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff8f5;
  font-size: 0.95rem;
  line-height: 1.5;
}

.gallery-tile--featured {
  grid-column: span 5;
  grid-row: span 2;
  min-height: 33rem;
}

.gallery-tile--wide {
  grid-column: span 7;
}

.gallery-grid .gallery-tile:not(.gallery-tile--featured):not(.gallery-tile--wide) {
  grid-column: span 4;
}

/* CONTACT */

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 1.2rem;
  align-items: start;
}

.contact-copy {
  padding: 2.2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(244, 214, 218, 0.32), transparent 34%),
    linear-gradient(180deg, rgba(255, 249, 243, 0.95), rgba(255, 251, 247, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-copy p {
  margin: 1rem 0 0;
}

.contact-notes {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.contact-note {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-md);
}

.contact-note strong {
  color: var(--rose);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(1, 1fr));
  gap: 1rem;
}

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.45rem;
  border-radius: var(--radius-lg);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.contact-card__icon {
  flex: 0 0 auto;
  width: 3.1rem;
  height: 3.1rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--rose);
  background: linear-gradient(135deg, rgba(183, 120, 127, 0.14), rgba(243, 223, 201, 0.22));
}

.contact-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.contact-card p {
  margin: 0.6rem 0 0;
}

.contact-card__detail {
  display: inline-block;
  margin-top: 0.95rem;
  font-weight: 800;
  color: var(--cocoa);
}

/* FOOTER */

.site-footer {
  margin-top: 5rem;
  padding: 3.5rem 0 1.5rem;
  color: #fff8f5;
  background:
    radial-gradient(circle at top right, rgba(248, 223, 226, 0.18), transparent 22%),
    linear-gradient(180deg, #8d6262 0%, #5c433c 100%);
}

.site-footer__inner,
.site-footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, auto);
  gap: 2rem;
  align-items: start;
}

.site-footer__brand .brand__script {
  color: rgba(255, 233, 238, 0.95);
}

.site-footer__brand h2 {
  font-size: 2.2rem;
  margin-top: 0.1rem;
}

.site-footer__brand p {
  max-width: 22rem;
  color: rgba(255, 244, 240, 0.78);
}

.site-footer__links,
.site-footer__socials {
  display: grid;
  gap: 0.85rem;
}

.site-footer__links a,
.site-footer__socials a {
  color: rgba(255, 248, 245, 0.82);
  font-weight: 700;
  transition: color 180ms ease, transform 180ms ease;
}

.site-footer__links a:hover,
.site-footer__socials a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.site-footer__bottom {
  grid-template-columns: 1fr;
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 240, 235, 0.16);
}

.site-footer__bottom p {
  margin: 0;
  color: rgba(255, 244, 240, 0.72);
}

/* ANIMATIONS */

.reveal {
  opacity: 0;
  transform: translateY(2.1rem);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatUp {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ─── 1080px ─── */

@media (max-width: 1080px) {

  .hero__grid,
  .section-heading,
  .about-grid,
  .contact-shell,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .hero__content h1 {
    max-width: 12ch;
  }

  .hero__visual {
    min-height: 34rem;
  }

  .section-heading>p {
    max-width: 42rem;
  }
}

/* ─── 980px  mobile nav ─── */

@media (max-width: 980px) {
  .site-header__inner {
    /* grid-template-columns: auto auto auto; */
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    z-index: 2;
  }

  .site-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: auto;
    right: 0;
    width: 80vw;
    max-width: 80vw;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 5.75rem 0.85rem 1.25rem;
    background: rgba(255, 249, 244, 0.98);
    border: 1px solid var(--line);
    border-radius: 0;
    box-shadow: 0 24px 56px rgba(118, 97, 89, 0.18), 0 4px 16px rgba(118, 97, 89, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateX(calc(100% + 1rem));
    pointer-events: none;
    transition:
      opacity 200ms ease,
      visibility 200ms ease,
      transform 240ms cubic-bezier(0.19, 1, 0.22, 1);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
  }

  .site-nav__link {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: background 180ms ease, color 180ms ease;
  }

  .site-nav__link:hover,
  .site-nav__link.is-active {
    background: rgba(183, 120, 127, 0.08);
    color: var(--cocoa);
  }

  .site-nav__link::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .feature-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-tile--featured,
  .gallery-tile--wide,
  .gallery-grid .gallery-tile:not(.gallery-tile--featured):not(.gallery-tile--wide) {
    grid-column: span 6;
  }

  .gallery-tile--featured {
    min-height: 24rem;
  }
}

/* ─── 720px ─── */

@media (max-width: 720px) {
  .section {
    padding: 4rem 7px;
  }

  .section--compact {
    padding: 0.75rem 0 0;
  }

  .site-header {
    padding: 0.6rem 0 0;
  }

  .site-header__inner {
    padding: 0.75rem 1rem;
  }

  .brand__script {
    font-size: 1.5rem;
  }

  .brand__name {
    font-size: 1.3rem;
  }

  .brand__meta {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .hero__content h1 {
    font-size: clamp(2.9rem, 15vw, 4.6rem);
  }

  .hero__visual {
    min-height: 28rem;
  }

  .hero-card--primary {
    width: 100%;
  }

  .hero-card--secondary {
    width: 42%;
    bottom: 1.2rem;
  }

  .hero-badge--top {
    top: 0.75rem;
    left: 0.35rem;
  }

  .hero-badge--bottom {
    right: 0;
    bottom: 4.2rem;
  }

  .feature-pill,
  .story-card,
  .detail-card,
  .contact-copy,
  .contact-card {
    padding: 1.35rem;
  }

  .feature-pill h2,
  .detail-card h3,
  .cake-card__content h3,
  .contact-card h3 {
    font-size: 1.55rem;
  }

  .feature-band {
    grid-template-columns: 1fr;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-tile--featured,
  .gallery-tile--wide,
  .gallery-grid .gallery-tile:not(.gallery-tile--featured):not(.gallery-tile--wide) {
    grid-column: span 1;
    min-height: 18rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    gap: 1.4rem;
  }
}

/* ─── 560px  small phones ─── */

@media (max-width: 560px) {
  .container {
    width: min(100%, calc(100% - 1.25rem));
  }

  .site-header {
    padding-top: 0.5rem;
  }

  .site-header__inner {
    border-radius: 1.5rem;
    padding: 0.7rem 0.9rem;
  }

  .brand__script {
    font-size: 1.35rem;
  }

  .brand__name {
    font-size: 1.2rem;
  }

  .brand__meta {
    display: none;
  }

  .nav-toggle {
    width: 2.5rem;
    height: 2.5rem;
  }

  .hero {
    padding-top: 1.25rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .button,
  .button--secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }

  .hero__highlights {
    grid-template-columns: 1fr;
  }

  .hero__highlights li {
    padding: 0.9rem 1rem;
    font-size: 0.85rem;
  }

  .hero__visual {
    min-height: 22rem;
  }

  .hero-card--secondary {
    position: absolute;
    width: 44%;
    left: 0;
    bottom: 1rem;
  }

  .hero-badge {
    position: static;
    max-width: none;
    margin-top: 0.75rem;
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
  }

  .hero-badge strong {
    font-size: 0.85rem;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .cake-card__media {
    aspect-ratio: 16 / 10;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-tile--featured,
  .gallery-tile--wide,
  .gallery-grid .gallery-tile:not(.gallery-tile--featured):not(.gallery-tile--wide) {
    grid-column: span 1;
    min-height: 16rem;
  }

  .gallery-tile--featured {
    min-height: 20rem;
  }

  .contact-card {
    flex-direction: row;
    gap: 0.85rem;
    padding: 1.1rem 1.15rem;
  }

  .contact-card__icon {
    width: 2.6rem;
    height: 2.6rem;
  }

  .contact-copy {
    padding: 1.5rem;
  }

  .contact-copy h2 {
    margin-top: 0.5rem;
  }

  .site-footer {
    margin-top: 3rem;
    padding: 2.5rem 0 1.25rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .site-footer__brand h2 {
    font-size: 1.8rem;
  }

  .site-footer__links,
  .site-footer__socials {
    grid-template-columns: repeat(3, auto);
    gap: 0.5rem 1.25rem;
    justify-content: start;
  }
}

/* ─── 400px  very small phones ─── */

@media (max-width: 400px) {
  .hero__content h1 {
    font-size: clamp(2.4rem, 14vw, 3.5rem);
  }

  .hero__visual {
    min-height: 18rem;
  }

  .hero-card--secondary {
    width: 40%;
  }

  .contact-card {
    flex-direction: column;
  }

  .site-footer__links,
  .site-footer__socials {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

/* ─── Reduced motion ─── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .cake-card__media {
    aspect-ratio: auto !important;
  }

  .cake-card__media img {
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
  }
}

.gallery-button {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (max-width: 720px) {
  .gallery-button {
    justify-content: center;
  }
}

.gallery-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 0.88fr) minmax(0, 1.12fr);
  gap: 1.2rem;
  align-items: stretch;
}

.gallery-showcase::before {
  content: "";
  position: absolute;
  inset: 1.25rem 0 auto 28%;
  height: 12rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(244, 214, 218, 0.46), transparent 72%);
  pointer-events: none;
  filter: blur(10px);
}

.gallery-intro {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(244, 214, 218, 0.4), transparent 38%),
    linear-gradient(180deg, rgba(255, 251, 247, 0.96), rgba(255, 246, 240, 0.92));
  border: 1px solid rgba(93, 67, 57, 0.1);
  box-shadow: var(--shadow);
}

.gallery-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.2vw, 3.5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--cocoa);
}

.gallery-intro p:last-of-type {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  line-height: 1.8;
}

.gallery-intro .gallery-button {
  justify-content: flex-start;
  margin-top: auto;
}

#gallery .gallery-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 1rem;
  align-content: start;
}

#gallery .gallery-tile {
  min-height: 17rem;
  border-radius: calc(var(--radius-xl) - 4px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 44px rgba(118, 97, 89, 0.16);
}

#gallery .gallery-tile::after {
  background:
    linear-gradient(180deg, rgba(30, 20, 16, 0.02) 0%, rgba(30, 20, 16, 0.12) 38%, rgba(30, 20, 16, 0.82) 100%);
}

#gallery .gallery-tile img {
  width: 100%;
  transition: transform 260ms ease;
}

#gallery .gallery-tile figcaption {
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 2rem);
  width: fit-content;
  padding: 0.7rem 0.9rem;
  border-radius: 1rem;
  background: rgba(255, 248, 244, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 12px 26px rgba(36, 24, 20, 0.2);
}

#gallery .gallery-tile--featured {
  grid-area: auto;
  grid-column: 1 / -1;
  min-height: 28rem;
}

#gallery .gallery-tile--wide {
  grid-area: auto;
  grid-column: 1 / -1;
  min-height: 18rem;
}

#gallery .gallery-tile--a,
#gallery .gallery-tile--b,
#gallery .gallery-tile--c,
#gallery .gallery-tile--d {
  grid-area: auto;
  grid-column: span 1;
  min-height: 15.5rem;
}

@media (max-width: 980px) {
  .gallery-showcase {
    grid-template-columns: 1fr;
  }

  .gallery-showcase::before {
    inset: 0 auto auto 8%;
    width: 16rem;
  }

  .gallery-intro {
    gap: 1.1rem;
  }
}

@media (max-width: 720px) {
  .gallery-intro {
    padding: 1.6rem;
  }

  #gallery .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  #gallery .gallery-tile figcaption {
    max-width: calc(100% - 1.6rem);
    font-size: 0.84rem;
  }

  #gallery .gallery-tile--featured {
    min-height: 22rem;
  }

  #gallery .gallery-tile--wide {
    min-height: 16rem;
  }

  #gallery .gallery-tile--a,
  #gallery .gallery-tile--b,
  #gallery .gallery-tile--c,
  #gallery .gallery-tile--d {
    min-height: 13.5rem;
  }
}

@media (max-width: 560px) {
  .gallery-intro {
    padding: 1.4rem;
  }

  .gallery-intro h2 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  #gallery .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  #gallery .gallery-tile,
  #gallery .gallery-tile--featured,
  #gallery .gallery-tile--wide,
  #gallery .gallery-tile--a,
  #gallery .gallery-tile--b,
  #gallery .gallery-tile--c,
  #gallery .gallery-tile--d {
    min-height: 16.5rem;
  }

  #gallery .gallery-tile--featured {
    min-height: 20rem;
  }

  #gallery .gallery-tile--featured,
  #gallery .gallery-tile--wide,
  #gallery .gallery-tile--a,
  #gallery .gallery-tile--b,
  #gallery .gallery-tile--c,
  #gallery .gallery-tile--d {
    grid-column: 1 / -1;
  }
}
