:root {
  --sky: #7598bf;
  --navy: #112c42;
  --beige: #a4a955;
  --yellow: #dfdb74;
  --brown: #fda66c;
  --ink: #112c42;
  --muted: #536d82;
  --paper: #f8f7f1;
  --surface: #fffaf1;
  --line: rgba(17, 44, 66, 0.14);
  --shadow: 0 24px 60px rgba(23, 55, 99, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(117, 152, 191, 0.28), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(253, 166, 108, 0.22), transparent 24%),
    linear-gradient(135deg, #f7f4e9 0%, #fffaf1 48%, #eef3f4 100%);
}

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

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

.site-frame {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 44px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(23, 55, 99, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.9);
}

.brand-name,
.hero h1,
.section-intro h1,
.info-block h2,
.menu-section h2 {
  font-family: "DM Serif Display", serif;
}

.brand-name {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.95;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link,
.primary-button,
.secondary-button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-link {
  min-height: 46px;
  padding: 12px 18px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
}

.nav-link.is-active,
.nav-link:hover,
.nav-link:focus-visible {
  background: var(--navy);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 55, 99, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
}

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

.site-main {
  padding-top: 28px;
}

.view-panel {
  display: none;
}

.view-panel.is-active {
  display: block;
}

.hero,
.info-block,
.menu-section,
.order-form {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 55, 99, 0.08);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(125deg, rgba(255, 250, 241, 0.96), rgba(223, 219, 116, 0.2));
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--brown);
}

.hero h1,
.section-intro h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.95;
  color: var(--navy);
}

.hero-text,
.info-block p,
.menu-note {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  margin: 18px 0 0;
  max-width: 42rem;
  font-size: 1.02rem;
}

.primary-button,
.secondary-button {
  min-height: 52px;
  padding: 14px 22px;
  font-weight: 800;
}

.primary-button {
  margin-top: 24px;
  background: var(--navy);
  color: #fff;
}

.secondary-button {
  background: rgba(23, 55, 99, 0.08);
  color: var(--navy);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.hero-mark {
  display: grid;
  place-items: center;
  padding: 22px;
  border-radius: calc(var(--radius-xl) - 8px);
  background: linear-gradient(180deg, rgba(169, 229, 251, 0.18), rgba(241, 210, 171, 0.22));
}

.hero-mark img {
  width: min(100%, 280px);
  border-radius: 50%;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 22px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1;
}

.section-heading > p {
  max-width: 28rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.photo-gallery {
  position: relative;
  isolation: isolate;
  margin-top: 22px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(17, 44, 66, 0.1);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.section-photo-bg::before {
  position: absolute;
  z-index: -1;
  inset: 18% -5% -20%;
  content: "";
  opacity: 0.11;
  background: center / cover no-repeat url("gallery/IMG_2648.jpg");
  filter: saturate(0.8) blur(1px);
  transform: rotate(-3deg) scale(1.08);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-card {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--navy);
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease, opacity 280ms ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  opacity: 0.88;
  transform: scale(1.06);
}

.lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 44, 66, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-figure {
  max-width: min(92vw, 1000px);
  max-height: 88vh;
  margin: 0;
  text-align: center;
}

.lightbox-figure img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.lightbox-figure figcaption {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

.events-gallery {
  margin-top: 22px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(23, 55, 99, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.events-gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.events-gallery-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: "DM Serif Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.events-gallery-heading > p {
  max-width: 26rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.photo-rail {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  touch-action: pan-y;
}

.photo-rail-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: eventPhotoScroll 34s linear infinite;
}

.photo-rail:hover .photo-rail-track,
.photo-rail:focus-within .photo-rail-track {
  animation-play-state: paused;
}

.photo-rail img {
  width: clamp(190px, 24vw, 300px);
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  filter: saturate(0.9);
}

@keyframes eventPhotoScroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 7px)); }
}

@media (prefers-reduced-motion: reduce) {
  .photo-rail-track {
    animation: none;
    overflow-x: auto;
  }
}

.info-block,
.menu-section {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 250, 241, 0.96), rgba(117, 152, 191, 0.1));
}

.dessert-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.dessert-bg::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.16;
  background-position: center;
  background-size: cover;
  filter: saturate(0.85);
}

.dessert-bg > * {
  position: relative;
}

.cake-section::before {
  background-image: url("gallery/IMG_4027.jpg");
}

.cupcake-section::before {
  background-image: url("gallery/IMG_1408.jpg");
}

.cookie-section::before {
  background-image: url("gallery/IMG_1362.jpg");
}

.other-section::before {
  background-image: url("gallery/IMG_0626.jpg");
}

.info-block h2,
.menu-section h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  color: var(--navy);
}

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.menu-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.menu-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(223, 219, 116, 0.2);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.menu-option {
  flex: 0 0 auto;
}

.menu-option summary {
  list-style: none;
}

.menu-option summary::-webkit-details-marker {
  display: none;
}

.menu-option summary::after {
  content: "+";
  margin-left: 8px;
  color: var(--brown);
}

.menu-option[open] summary::after {
  content: "-";
}

.menu-option p {
  max-width: 24rem;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.menu-note {
  margin: 16px 0 0;
}

.order-form {
  padding: 28px;
  border-radius: var(--radius-xl);
}

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

.order-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
}

.order-form textarea {
  min-height: 160px;
  resize: vertical;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: 3px solid rgba(169, 229, 251, 0.5);
  border-color: rgba(23, 55, 99, 0.28);
}

.full-width {
  display: block;
  margin-top: 16px;
}

.submit-button {
  margin-top: 20px;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 4px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .content-grid,
  .menu-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .nav-link {
    width: 100%;
    text-align: center;
  }

  .section-intro {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 680px) {
  .site-frame {
    width: min(100% - 20px, 1180px);
    padding-top: 14px;
  }

  .site-header {
    top: 8px;
    padding: 14px;
  }

  .brand {
    width: calc(100% - 68px);
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-name {
    font-size: 2rem;
  }

  .hero,
  .info-block,
  .menu-section,
  .order-form {
    padding: 20px;
  }

  .hero h1,
  .section-intro h1 {
    font-size: 2.6rem;
  }

  .section-heading,
  .events-gallery-heading {
    align-items: start;
    flex-direction: column;
  }

  .photo-gallery {
    padding: 20px;
  }

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

  .primary-button,
  .secondary-button {
    width: 100%;
    justify-content: center;
  }
}
