:root {
  --color-cream: #f5f7fb;
  --color-ivory: #ffffff;
  --color-ink: #171b24;
  --color-muted: #5d6675;
  --color-blue: #174a9c;
  --color-blue-deep: #071e45;
  --color-red: #c3303d;
  --color-gold: #d7a23b;
  --color-line: #dde4ee;
  --shadow-soft: 0 16px 38px rgba(7, 30, 69, 0.1);
  --radius: 8px;
  --container: 1180px;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

section {
  scroll-margin-top: 88px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--color-blue);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius);
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(221, 228, 238, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(calc(100% - 32px), var(--container));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  text-decoration: none;
}

.brand {
  display: grid;
  gap: 0;
  color: var(--color-blue);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.brand-subtitle {
  color: var(--color-red);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: #314057;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: var(--radius);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="true"] {
  background: #eef4ff;
  color: var(--color-blue);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--color-blue);
  color: white;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(23, 74, 156, 0.2);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-ivory);
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--color-blue-deep);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--color-blue-deep);
  color: white;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 30, 69, 0.88) 0%, rgba(7, 30, 69, 0.6) 48%, rgba(7, 30, 69, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 30, 69, 0.18), rgba(7, 30, 69, 0.38));
}

.hero-content {
  position: relative;
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 104px 0 96px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: #fff4d8;
}

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

h1,
h2 {
  font-family: var(--font-display);
  line-height: 1.05;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 4.25rem;
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  color: var(--color-blue-deep);
  font-size: 2.62rem;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  color: var(--color-blue);
  font-size: 1.1rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 630px;
  margin-bottom: 18px;
  font-size: 1.22rem;
}

.hero-quote {
  max-width: 600px;
  margin-bottom: 28px;
  color: #f8e3b4;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
}

.hero-actions,
.visit-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
  text-decoration: none;
}

.button-primary {
  background: var(--color-red);
  color: white;
  box-shadow: 0 12px 26px rgba(195, 48, 61, 0.2);
}

.button-primary:hover {
  background: #a62834;
}

.header-cta:hover {
  background: #0f397c;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-blue-deep);
}

.button-plain {
  border-color: var(--color-line);
  background: var(--color-ivory);
  color: var(--color-blue);
}

.est-badge {
  position: absolute;
  right: max(24px, calc((100% - var(--container)) / 2));
  bottom: 34px;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 2px solid rgba(255, 216, 138, 0.76);
  border-radius: 50%;
  background: rgba(7, 30, 69, 0.74);
  color: #ffe2a2;
  box-shadow: var(--shadow-soft);
}

.est-badge span {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.est-badge strong {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.quick-info {
  position: relative;
  z-index: 2;
  background: var(--color-ivory);
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-line);
  box-shadow: 0 16px 34px rgba(7, 30, 69, 0.06);
}

.quick-info-inner {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 22px 0;
}

.quick-info p {
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--color-red);
  color: var(--color-muted);
}

.quick-info strong {
  color: var(--color-blue-deep);
}

.section {
  padding: 96px 0;
}

.section-inner {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.story-copy p,
.cake-copy p,
.visit-note,
.site-footer p {
  color: var(--color-muted);
}

.story-grid,
.cake-grid,
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.story-media img,
.cake-main,
.cake-inset,
.menu-card,
.map-wrap,
.gallery-item {
  border-radius: var(--radius);
}

.story-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

blockquote {
  margin: 26px 0 0;
  padding: 22px 0 0 22px;
  border-left: 4px solid var(--color-red);
  color: var(--color-blue-deep);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
}

.menu-section,
.visit-section {
  background: var(--color-ivory);
}

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

.menu-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--color-line);
  box-shadow: 0 14px 34px rgba(7, 30, 69, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.menu-card:hover {
  transform: translateY(-3px);
  border-color: #c8d7ec;
  box-shadow: 0 20px 42px rgba(7, 30, 69, 0.12);
}

.menu-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.menu-card div {
  padding: 22px;
}

.menu-card p {
  margin-bottom: 10px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.menu-card p:last-child {
  margin-bottom: 0;
}

.cakes-section {
  background:
    linear-gradient(180deg, rgba(23, 74, 156, 0.08), rgba(23, 74, 156, 0)),
    var(--color-cream);
  overflow: hidden;
}

.cake-copy {
  align-self: center;
}

.flavor-panel {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.flavor-panel p:last-child {
  margin-bottom: 0;
}

.cake-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.cake-main {
  width: 100%;
  height: 100%;
  min-height: 540px;
  margin: 0;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.cake-inset {
  position: static;
  width: 100%;
  height: 100%;
  min-height: 540px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 0;
  box-shadow: var(--shadow-soft);
}

.gallery-grid {
  columns: 4 220px;
  column-gap: 16px;
}

.gallery-item {
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  break-inside: avoid;
  overflow: hidden;
  border: 0;
  background: var(--color-line);
  box-shadow: 0 12px 26px rgba(7, 30, 69, 0.08);
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.visit-grid {
  align-items: stretch;
}

.visit-copy,
.map-wrap {
  min-height: 500px;
}

.visit-list {
  display: grid;
  gap: 14px;
  margin: 26px 0;
}

.visit-list p {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-line);
}

.visit-list span {
  display: block;
  color: var(--color-red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.visit-list a,
.visit-list strong {
  color: var(--color-blue-deep);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.visit-note {
  margin-bottom: 24px;
}

.map-wrap {
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-line);
  box-shadow: var(--shadow-soft);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
}

.site-footer {
  background: var(--color-blue-deep);
  color: white;
  padding: 44px 0;
}

.footer-inner {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffd88a;
}

.footer-hours {
  grid-column: 1 / -1;
  margin: 0;
}

.lightbox {
  width: min(100% - 32px, 1080px);
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: white;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(7, 20, 43, 0.86);
}

.lightbox figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.lightbox img {
  max-height: 78vh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.lightbox figcaption {
  font-weight: 800;
  text-align: center;
}

.lightbox-close,
.lightbox-control {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(9, 34, 77, 0.82);
  color: white;
}

.lightbox-close {
  right: 0;
  top: -52px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-control {
  top: 50%;
  width: 48px;
  height: 58px;
  transform: translateY(-50%);
  font-size: 2.6rem;
}

.lightbox-prev {
  left: -64px;
}

.lightbox-next {
  right: -64px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto auto;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--color-line);
    background: var(--color-ivory);
    box-shadow: 0 18px 28px rgba(7, 30, 69, 0.12);
    transform: translateY(-125%);
    transition: transform 220ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 10px;
  }

  .nav-toggle {
    display: flex;
    justify-self: end;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .quick-info-inner,
  .story-grid,
  .cake-grid,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .quick-info-inner {
    gap: 10px;
  }

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

  .map-wrap iframe,
  .visit-copy,
  .map-wrap {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    width: min(calc(100% - 24px), var(--container));
    min-height: 68px;
    gap: 10px;
  }

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

  .brand-subtitle {
    font-size: 0.66rem;
  }

  .site-nav {
    inset: 68px 0 auto 0;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 590px;
  }

  .hero-content {
    width: min(calc(100% - 24px), var(--container));
    padding: 72px 0 108px;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .hero-quote {
    font-size: 1.12rem;
  }

  .est-badge {
    right: 16px;
    bottom: 18px;
    width: 92px;
    height: 92px;
  }

  .est-badge strong {
    font-size: 1.58rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-inner,
  .quick-info-inner,
  .footer-inner {
    width: min(calc(100% - 24px), var(--container));
  }

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

  .cake-media {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cake-main,
  .cake-inset {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .gallery-grid {
    columns: 2 150px;
    column-gap: 12px;
  }

  .gallery-item {
    margin-bottom: 12px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .lightbox-control {
    top: auto;
    bottom: -70px;
    transform: none;
  }

  .lightbox-prev {
    left: 0;
  }

  .lightbox-next {
    right: 0;
  }
}

@media (max-width: 440px) {
  .hero-actions,
  .visit-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.78rem;
  }

  .gallery-grid {
    columns: 1;
  }

  .map-wrap iframe,
  .visit-copy,
  .map-wrap {
    min-height: 360px;
  }
}
