
/* Local assets and accessibility-safe interaction refinements. */
@font-face {
  font-family: "Inter Local";
  src: url("../fonts/Inter-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter Local";
  src: url("../fonts/Inter-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter Local";
  src: url("../fonts/Inter-SemiBold.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif Local";
  src: url("../fonts/NotoSerif-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif Local";
  src: url("../fonts/NotoSerif-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --font-family-body: "Inter Local", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-heading: "Noto Serif Local", "Cormorant Garamond", Georgia, serif;
}

html {
  overflow-x: clip;
}
body {
  overflow-x: clip;
}
main {
  display: block;
  width: 100%;
  min-width: 0;
}
img,
svg,
video {
  max-width: 100%;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
}
button.navigation-hamburger,
button.navigation-close {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  align-items: center;
  justify-content: center;
}
.navigation-mobile-overlay {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}
.navigation-mobile-overlay.is-open {
  display: flex;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.navigation-mobile-overlay[aria-hidden="true"] {
  visibility: hidden;
}
.navigation-mobile-overlay[aria-hidden="false"] {
  visibility: visible;
}
.menu-is-open {
  overflow: hidden;
}
.navigation-hamburger:focus-visible,
.navigation-close:focus-visible,
.pure-footer-utility-btn:focus-visible,
.skip-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 8px;
  z-index: 100000;
  padding: 10px 16px;
  border-radius: 0 0 6px 6px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font: 600 14px/1.2 system-ui, sans-serif;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

/* Photo galleries behave as true horizontal touch/keyboard galleries. */
.pizzeria-gallery-strip,
.kasvis-gallery {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-x;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}

.pizzeria-gallery-strip::-webkit-scrollbar,
.kasvis-gallery::-webkit-scrollbar {
  display: none;
}

.pizzeria-gallery-strip.is-dragging,
.kasvis-gallery.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.pizzeria-gallery-strip:focus-visible,
.kasvis-gallery:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

/* Legal pages use the existing type scale and surfaces. */
.legal-page-title {
  font-size: var(--font-size-4xl);
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-heading);
  margin-bottom: var(--spacing-md);
}
.legal-updated,
.legal-intro {
  max-width: 72ch;
}
.legal-intro {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-2xl);
}
.legal-contact {
  margin-top: var(--spacing-3xl);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-card);
  background: var(--color-surface-tint);
}
.legal-contact p {
  white-space: pre-line;
}
.legal-contact [data-company],
.legal-contact [data-address] {
  font-weight: 500;
}
.footer-legal-link {
  display: contents;
  color: inherit;
}

/* Avoid long legal strings forcing a mobile viewport wider. */
p,
li,
h1,
h2,
h3,
h4,
a,
span,
label {
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .navigation-mobile-overlay {
    min-height: 100dvh;
  }
  .navigation-hamburger,
  .navigation-close {
    min-width: 44px;
    min-height: 44px;
  }
  .hero-title,
  .section-title {
    overflow-wrap: anywhere;
  }
  .legal-page-title {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }
}
