/* ==========================================================================
   Sipp Coffee — Chorlton, Manchester
   Pure Static Stylesheet (No Build Step Required)
   ========================================================================== */

:root {
  --sipp-orange: #ff6b00;
  --sipp-orange-dark: #e05a00;
  --sipp-cream: #fdf8f2;
  --sipp-paper: #fffdf9;
  --sipp-sand: #efe5d8;
  --sipp-charcoal: #1c1917;
  --sipp-ink: #292524;
  --sipp-muted: #57534e;
  --sipp-border: rgba(28, 25, 23, 0.1);
  --font-display: "Fredoka", ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-card: 1.5rem;
  --radius-pill: 9999px;
  --shadow-sm: 0 2px 10px rgba(28, 25, 23, 0.06);
  --shadow-md: 0 12px 30px rgba(28, 25, 23, 0.1);
  --shadow-lg: 0 24px 50px rgba(0, 0, 0, 0.28);
}

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

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background-color: var(--sipp-cream);
  color: var(--sipp-charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

[hidden] {
  display: none !important;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--sipp-orange);
  outline-offset: 2px;
}

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

.container {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }
}

.font-wordmark {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

.text-orange {
  color: var(--sipp-orange);
}

/* ==========================================================================
   Header & Navigation (Mobile-First, Progressive Enhancement)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.22), transparent);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  background: rgba(253, 248, 242, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sipp-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4rem;
}

@media (min-width: 768px) {
  .header-inner {
    height: 4.5rem;
  }
}

.brand-wordmark {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--sipp-orange);
  white-space: nowrap;
  flex-shrink: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.site-header.is-scrolled .brand-wordmark,
.site-header.is-menu-open .brand-wordmark {
  text-shadow: none;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .desktop-nav {
    gap: 1.85rem;
  }
}

.nav-link {
  position: relative;
  padding-block: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.18s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
}

.site-header.is-scrolled .nav-link,
.site-header.is-menu-open .nav-link {
  color: var(--sipp-charcoal);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active {
  color: var(--sipp-orange);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--sipp-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-pill);
  color: #ffffff;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.icon-btn:hover {
  background-color: rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled .icon-btn,
.site-header.is-menu-open .icon-btn {
  color: var(--sipp-charcoal);
}

.site-header.is-scrolled .icon-btn:hover,
.site-header.is-menu-open .icon-btn:hover {
  background-color: rgba(255, 107, 0, 0.12);
  color: var(--sipp-orange);
}

.mobile-menu-toggle {
  display: inline-flex;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-nav-drawer {
  background-color: var(--sipp-cream);
  border-top: 1px solid var(--sipp-border);
  padding: 0.75rem 1rem 1.25rem;
  box-shadow: var(--shadow-md);
}

.mobile-nav-drawer[hidden] {
  display: none;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border-radius: 1rem;
  font-weight: 600;
  color: var(--sipp-charcoal);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  background-color: rgba(255, 107, 0, 0.12);
  color: var(--sipp-orange);
}

/* Fallback nav bar visible at bottom if JS fails on mobile? No — make mobile nav accessible via anchor links in footer & hero CTAs too */

/* ==========================================================================
   Hero Section (100% Visible Without JS)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--sipp-charcoal);
}

.hero-bg,
.hero-bg.media-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: var(--sipp-charcoal);
}

.hero-bg.media-frame.is-broken {
  background: radial-gradient(circle at 50% 35%, #3a2314 0%, #1c1917 75%);
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.52) 0%,
    rgba(0, 0, 0, 0.38) 45%,
    rgba(0, 0, 0, 0.74) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 54rem;
  margin-inline: auto;
  padding: 6rem 1rem 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 15vw, 8.25rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--sipp-orange);
  letter-spacing: -0.03em;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.48);
}

.hero-tagline {
  margin: 1.15rem 0 0;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--sipp-cream);
  text-wrap: balance;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-address {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(253, 248, 242, 0.88);
  letter-spacing: 0.02em;
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  min-width: 10.25rem;
  background-color: var(--sipp-orange);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  background-color: var(--sipp-orange-dark);
}

.btn-cream {
  min-width: 10.25rem;
  background-color: var(--sipp-cream);
  color: var(--sipp-charcoal);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.btn-cream:hover {
  background-color: #ffffff;
}

.btn-outline {
  background-color: var(--sipp-paper);
  color: var(--sipp-charcoal);
  border: 1px solid rgba(28, 25, 23, 0.18);
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
}

.btn-outline:hover {
  background-color: var(--sipp-orange);
  border-color: var(--sipp-orange);
  color: #ffffff;
}

/* ==========================================================================
   Shared Section Layout
   ========================================================================== */

.section {
  padding-block: 4rem;
  border-bottom: 1px solid rgba(28, 25, 23, 0.08);
}

@media (min-width: 640px) {
  .section {
    padding-block: 5.5rem;
  }
}

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

.section-paper {
  background-color: var(--sipp-paper);
}

.section-header {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.heading-rule {
  display: none;
  height: 1px;
  width: 4rem;
  background-color: rgba(255, 107, 0, 0.5);
}

@media (min-width: 640px) {
  .heading-rule {
    display: block;
  }
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--sipp-charcoal);
  text-wrap: balance;
}

.section-subtitle {
  margin: 0.85rem 0 0;
  font-size: 1rem;
  color: var(--sipp-muted);
  text-wrap: balance;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kicker {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sipp-orange);
  letter-spacing: 0.02em;
}

.about-title {
  margin: 0.4rem 0 0;
  text-align: left;
}

.about-prose {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 62ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--sipp-ink);
}

.about-prose p {
  margin: 0;
}

.about-facts {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sipp-border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--sipp-muted);
}

@media (min-width: 640px) {
  .about-facts {
    grid-template-columns: 1fr 1fr;
  }
}

.fact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.fact-item svg {
  color: var(--sipp-orange);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.fact-title {
  display: block;
  font-weight: 700;
  color: var(--sipp-charcoal);
}

.about-cta {
  margin-top: 2rem;
}

.about-media {
  position: relative;
  min-height: 24rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--sipp-sand);
  box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
  .about-media {
    min-height: 29rem;
  }
}

.about-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.media-caption-scrim {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 3.5rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.2), transparent);
  color: rgba(253, 248, 242, 0.96);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ==========================================================================
   Image Resilient Frame
   ========================================================================== */

.media-frame {
  position: relative;
  width: 100%;
  background-color: var(--sipp-sand);
  overflow: hidden;
}

.media-frame.is-broken {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, #f7ede2, #efe0ce);
  color: var(--sipp-muted);
}

.media-fallback-label {
  display: none;
}

.media-frame.is-broken .media-fallback-label {
  display: block;
  font-size: 0.85rem;
  max-width: 24ch;
}

.media-frame.is-broken img {
  display: none;
}

/* ==========================================================================
   Menu Section
   ========================================================================== */

.menu-tabs {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.menu-tab {
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background-color: var(--sipp-cream);
  border: 1px solid var(--sipp-border);
  color: var(--sipp-ink);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.menu-tab:hover {
  border-color: rgba(255, 107, 0, 0.5);
  color: var(--sipp-orange);
}

.menu-tab.is-active {
  background-color: var(--sipp-orange);
  border-color: var(--sipp-orange);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.menu-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

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

.menu-card {
  display: flex;
  flex-direction: column;
  background-color: var(--sipp-cream);
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-card[hidden] {
  display: none;
}

.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.menu-card-trigger {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  text-align: left;
  padding: 0;
}

.menu-card-image {
  aspect-ratio: 4 / 5;
}

.menu-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.menu-card:hover .menu-card-image img {
  transform: scale(1.03);
}

.menu-card-body {
  padding: 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 1rem;
}

.menu-card-meta {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sipp-orange);
}

.menu-card-title {
  margin: 0.35rem 0 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--sipp-charcoal);
}

.menu-card-desc {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--sipp-muted);
  line-height: 1.6;
}

.menu-card-footer {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(28, 25, 23, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sipp-muted);
  font-variant-numeric: tabular-nums;
}

.menu-card-cta {
  color: var(--sipp-orange);
}

.menu-card:hover .menu-card-cta {
  text-decoration: underline;
}

.owner-note {
  margin: 2.5rem auto 0;
  max-width: 48rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background-color: var(--sipp-cream);
  border: 1px solid var(--sipp-border);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--sipp-muted);
}

.owner-note svg {
  color: var(--sipp-orange);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.owner-note p {
  margin: 0;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */

.gallery-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--sipp-sand);
  text-align: left;
  padding: 0;
  box-shadow: var(--shadow-sm);
}

.gallery-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-tile:hover img {
  transform: scale(1.04);
}

.gallery-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.18) 45%,
    transparent 100%
  );
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.gallery-tile:hover .gallery-scrim {
  opacity: 0.92;
}

.gallery-expand-badge {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-pill);
  background-color: rgba(0, 0, 0, 0.48);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-tile:hover .gallery-expand-badge,
.gallery-tile:focus-visible .gallery-expand-badge {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.15rem 1.25rem;
}

.gallery-caption-cat {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sipp-orange);
}

.gallery-caption-title {
  margin: 0.2rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--sipp-cream);
}

.gallery-more {
  margin-top: 2.25rem;
  text-align: center;
}

/* ==========================================================================
   Location Section
   ========================================================================== */

.location-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .location-grid {
    grid-template-columns: 7fr 5fr;
  }
}

.map-box {
  width: 100%;
  height: 21rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--sipp-border);
  background-color: var(--sipp-sand);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .map-box {
    height: 24rem;
  }
}

@media (min-width: 1024px) {
  .map-box {
    height: 26.25rem;
  }
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.location-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--sipp-cream);
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: var(--radius-card);
  padding: 1.75rem;
}

@media (min-width: 640px) {
  .location-card {
    padding: 2rem;
  }
}

.location-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sipp-orange);
}

.location-name {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--sipp-charcoal);
}

.location-address {
  margin: 0.5rem 0 0;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--sipp-ink);
}

.hours-block {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--sipp-border);
}

.hours-list {
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.hours-row dt {
  color: var(--sipp-ink);
  font-weight: 500;
}

.hours-row dd {
  margin: 0;
  font-weight: 700;
  color: var(--sipp-charcoal);
  font-variant-numeric: tabular-nums;
}

.location-cta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sipp-border);
}

.location-cta .btn {
  width: 100%;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-wrap {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.contact-circles {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
}

.contact-circle-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 1rem;
}

.contact-circle {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.contact-circle-link:hover .contact-circle {
  transform: translateY(-2px);
}

.contact-circle-orange {
  background-color: var(--sipp-orange);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.contact-circle-link:hover .contact-circle-orange {
  background-color: var(--sipp-orange-dark);
}

.contact-circle-cream {
  background-color: var(--sipp-paper);
  color: var(--sipp-orange);
  border: 1px solid rgba(28, 25, 23, 0.15);
  box-shadow: var(--shadow-sm);
}

.contact-circle-link:hover .contact-circle-cream {
  border-color: var(--sipp-orange);
}

.contact-circle-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sipp-charcoal);
}

.contact-circle-link:hover .contact-circle-label {
  color: var(--sipp-orange);
}

.contact-note {
  margin: 2rem auto 0;
  max-width: 34rem;
  font-size: 0.85rem;
  color: var(--sipp-muted);
}

/* ==========================================================================
   Footer — Zoralogic
   ========================================================================== */

.site-footer {
  background-color: var(--sipp-charcoal);
  color: var(--sipp-cream);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  padding-block: 3rem 3.5rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-brand-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .footer-brand-row {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 700;
  color: var(--sipp-orange);
  line-height: 1;
}

.footer-address {
  font-size: 0.875rem;
  color: rgba(253, 248, 242, 0.76);
}

.footer-nav-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0;
}

.footer-nav a {
  color: rgba(253, 248, 242, 0.86);
  font-weight: 500;
  transition: color 0.18s ease;
}

.footer-nav a:hover {
  color: var(--sipp-orange);
}

.footer-sep {
  margin-inline: 0.65rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--sipp-cream);
  transition: background-color 0.18s ease;
}

.footer-ig:hover {
  background-color: var(--sipp-orange);
}

.footer-legal {
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(253, 248, 242, 0.72);
}

.footer-legal p {
  margin: 0;
  max-width: 56rem;
}

.footer-copyright {
  color: rgba(253, 248, 242, 0.92);
  font-weight: 600;
}

/* ==========================================================================
   Modals (Menu Item Quick-View & Gallery Lightbox)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 32rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--sipp-cream);
  border: 1px solid var(--sipp-border);
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background-color: rgba(0, 0, 0, 0.82);
}

.modal-media {
  width: 100%;
  height: min(52vh, 24rem);
  background-color: var(--sipp-charcoal);
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-body {
  padding: 1.5rem;
}

.modal-title {
  margin: 0.35rem 0 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--sipp-charcoal);
}

.modal-desc {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--sipp-ink);
}

.modal-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sipp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--sipp-muted);
}

.lightbox-frame {
  position: relative;
  width: 100%;
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-modal-close {
  min-width: auto;
  min-height: 2.5rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.lightbox-close-btn {
  top: -3rem;
  right: 0;
}

.lightbox-stage {
  position: relative;
  width: 100%;
  height: min(72vh, 38rem);
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--sipp-charcoal);
  box-shadow: var(--shadow-lg);
}

.lightbox-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-pill);
  background-color: rgba(0, 0, 0, 0.58);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-arrow:hover {
  background-color: rgba(0, 0, 0, 0.82);
}

.lightbox-prev {
  left: 0.75rem;
}

.lightbox-next {
  right: 0.75rem;
}

.lightbox-meta {
  margin-top: 1rem;
  text-align: center;
  max-width: 36rem;
}

.lightbox-meta h3 {
  margin: 0.25rem 0 0;
  color: #ffffff;
  font-size: 1.2rem;
}

.lightbox-meta p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}
