@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/lato-v25-latin_latin-ext/lato-v25-latin_latin-ext-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/lato-v25-latin_latin-ext/lato-v25-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/lato-v25-latin_latin-ext/lato-v25-latin_latin-ext-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/playfair-display-v40-latin_latin-ext/playfair-display-v40-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/playfair-display-v40-latin_latin-ext/playfair-display-v40-latin_latin-ext-700.woff2') format('woff2');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

:root {
  --bg-red: #b51919;
  --bg-green: #235335;
  --bg-cream: #fffefa;
  --accent: #cd2f22;
  --text: #1f1f1f;
  --white: #ffffff;
  --shadow: 0 28px 64px rgba(0, 0, 0, 0.22);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  background:
    radial-gradient(ellipse at center, rgba(10, 20, 15, 0.2) 0%, rgba(5, 10, 8, 0.62) 100%),
    url('photos/IMG_6442.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

@media (max-width: 1024px), (hover: none) {
  body {
    background-attachment: scroll;
    background-position: center top;
  }
}

.header {
  height: auto;
  padding: 0 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  position: absolute;
  top: 16vh;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.logo-container {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
}

.logo {
  width: auto;
  max-width: 380px;
  max-height: clamp(150px, 24vh, 200px);
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.45));
}

.main {
  flex: 1;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.pizza {
  width: min(800px, 100%);
  aspect-ratio: 1 / 1;
  padding: 0;
  border: none;
  display: grid;
  place-items: center;
  transform: scale(1);
  transition: transform 0.8s cubic-bezier(0.15, 0.85, 0.35, 1);
  will-change: transform;
  margin-top: 0;
}

@media (max-height: 760px) {
  .header {
    top: 8vh;
  }

  .logo {
    max-height: 96px;
  }

  .pizza {
    width: min(720px, 90vw);
  }
}

body.is-interacted .pizza {
  transform: scale(1);
}

.pizza-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.35));
}

@property --breather-scale {
  syntax: '<number>';
  inherits: false;
  initial-value: 1.000;
}

@property --hover-scale {
  syntax: '<number>';
  inherits: false;
  initial-value: 1.000;
}

@keyframes slice-breathe {
  0%, 100% { --breather-scale: 1.000; }
  50% { --breather-scale: 1.012; }
}
.slice {
  pointer-events: none;
  cursor: pointer;
  transform-origin: 200px 200px;
  transform-box: view-box;
  --slice-tx: 0px;
  --slice-ty: 0px;
  --hover-scale: 1;
  --hover-tx: 0px;
  --hover-ty: 0px;
  animation: slice-breathe 4s infinite ease-in-out both;
  -webkit-animation: slice-breathe 4s infinite ease-in-out both;
  animation-play-state: running;
  transform: translate(calc(var(--slice-tx) + var(--hover-tx)), calc(var(--slice-ty) + var(--hover-ty))) scale(calc(var(--breather-scale) * var(--hover-scale)));
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
  transition: --hover-scale 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  
  will-change: transform, filter;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

body.is-interacted .slice {
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  body.is-interacted .slice:hover {
    --hover-scale: 1.05;
    --hover-tx: 0px;
    --hover-ty: 0px;
    filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.26));
    z-index: 12;
  }
}

.slice-label-bg {
  fill: #fdfaf6;
  stroke: #dcd1c6;
  stroke-width: 1;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.16));
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.slice-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  fill: #2b2b2b;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

body.is-interacted .slice-label-bg,
body.is-interacted .slice-label {
  opacity: 1;
}

.slice:nth-child(1) { animation-delay: 0.0s; }
.slice:nth-child(2) { animation-delay: 0.6s; }
.slice:nth-child(3) { animation-delay: 1.2s; }
.slice:nth-child(4) { animation-delay: 1.8s; }
.slice:nth-child(5) { animation-delay: 2.4s; }
.slice:nth-child(6) { animation-delay: 3.0s; }

.slice-border {
  pointer-events: none;
  fill: none;
  stroke: none; 
}

.title-fo,
.desc-fo {
  pointer-events: none;
}

.title-fo {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

body.is-interacted .title-fo {
  opacity: 1;
}

.desc-fo {
  opacity: 0;
  transform: translateY(6px) scale(0.92);
  transform-origin: center;
  transition: opacity 0.4s cubic-bezier(0.15, 0.85, 0.35, 1), transform 0.4s cubic-bezier(0.15, 0.85, 0.35, 1);
}

@media (hover: hover) and (pointer: fine) {
  body.is-interacted .slice:hover .desc-fo {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fo-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.papery-title {
  width: 100%;
  height: 100%;
  background: #fdfaf6;
  color: #2b2b2b;
  padding: 4px 8px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid #dcd1c6;
  border-radius: 12px;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.15, 0.85, 0.35, 1), box-shadow 0.4s cubic-bezier(0.15, 0.85, 0.35, 1);
}

.papery-title::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.03);
  pointer-events: none;
}

.slice:hover .papery-title {
  transform: scale(1.08);
  box-shadow: 4px 8px 20px rgba(0, 0, 0, 0.3);
}

.papery-desc {
  width: 100%;
  height: 100%;
  background: #fdfaf6;
  color: #4a4a4a;
  padding: 10px 16px;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid #dcd1c6;
  border-radius: 18px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.is-interacted #slice-1 { --slice-tx: 5px;  --slice-ty: -8px; }
body.is-interacted #slice-2 { --slice-tx: 9px;  --slice-ty: 2px;  }
body.is-interacted #slice-3 { --slice-tx: 4px;  --slice-ty: 9px;  }
body.is-interacted #slice-4 { --slice-tx: -5px; --slice-ty: 8px;  }
body.is-interacted #slice-5 { --slice-tx: -9px; --slice-ty: -2px; }
body.is-interacted #slice-6 { --slice-tx: -4px; --slice-ty: -9px; }

.interface-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  font-weight: 700;
  padding: 0 25px 12px 25px;    
  margin-bottom: 24px;
  border-bottom: 2px solid #235335;
}


.interface {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.interface.is-visible {
  opacity: 1;
  visibility: visible;
}

.interface.is-leaving {
  opacity: 0;
}

.interface-content {
  background: #fdfaf6;
  color: var(--text);
  padding: 40px 32px 32px 32px;
  border: 1px solid #dcd1c6;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  border-radius: 28px;
  width: 100%;
  max-width: 540px;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.15, 0.85, 0.35, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.interface.is-visible .interface-content {
  transform: scale(1);
}

.interface.is-leaving .interface-content {
  transform: scale(0.92);
}

.interface.is-menu .interface-content {
  max-width: 760px;
}

#interface-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  color: var(--bg-green);
  text-align: center;
  font-weight: 700;
  margin-bottom: 28px;
  position: relative;
  padding: 0 25px;
}

.close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 34px;
  font-weight: 300;
  color: #8a7e72;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1;
  user-select: none;
}

.close:hover {
  color: var(--accent);
  transform: scale(1.15);
}

.menu-slides {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 15px;
  margin-bottom: 15px;
}

.slide-frame {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  border: none;
}

.menu-slide {
  max-width: 100%;
  max-height: 62vh;
  height: auto;
  display: block;
  object-fit: contain;
}

.slide-nav {
  background: #ffffff;
  border: 1px solid #dcd1c6;
  color: var(--text);
  font-size: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  flex-shrink: 0;
  user-select: none;
}

.slide-nav:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.slide-count {
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #7a6e61;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-family: 'Lato', sans-serif;
}

.hours-table th {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--bg-green);
  text-align: left;
  padding: 12px 10px;
  border-bottom: 2px solid #dcd1c6;
  font-size: 16px;
}

.hours-table td {
  padding: 11px 10px;
  border-bottom: 1px solid #eee5da;
  font-size: 15px;
  color: var(--text);
}

.hours-table tr:hover td {
  background-color: #fcf8f3;
}

.hours-table tr:nth-child(3) td {
  color: #ac9f91;
  font-style: italic;
}

.address-box, .interior-box {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.address-box p {
  margin-bottom: 14px;
  color: var(--text);
}

.address-box strong {
  color: #3a3a3a;
  display: inline-block;
  width: 90px;
}

.address-box a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: border-bottom 0.2s ease, color 0.2s ease;
  border-bottom: 1px solid transparent;
}

.address-box a:hover {
  color: var(--bg-red);
  border-bottom: 1px solid var(--bg-red);
}

.maps-container {
  width: 100%;
  height: 360px;
  border: 1px solid #dcd1c6;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.maps-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.scroll-wrapper::-webkit-scrollbar-track {
  background: #f5ece1;
  border-radius: 3px;
}

.scroll-wrapper::-webkit-scrollbar {
  width: 6px;
}

.scroll-wrapper::-webkit-scrollbar-thumb {
  background: #cbbdaf;
  border-radius: 10px;
}

.scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background: #b5a697;
}

.about-container {
  position: relative;
  overflow: hidden;
}

.about-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, #fdfaf6 5%, rgba(253, 250, 246, 0));
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-container.is-scrolled::before {
  opacity: 1;
}

.about-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(253, 250, 246, 0), #fdfaf6 95%);
  pointer-events: none;
  z-index: 2;
}

.scroll-wrapper {
  max-height: 260px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 25px;
}

@media (max-height: 640px) {
  .header {
    top: 10vh;
  }

  .logo {
    max-width: 180px;
  }

  .pizza {
    width: min(680px, 90vw);
  }
}

@property --badge-breathe {
  syntax: '<number>';
  inherits: true;
  initial-value: 1.000;
}

@keyframes badge-breather {
  0%, 100% { --badge-breathe: 1.000; }
  50% { --badge-breathe: 1.025; }
}

.google-badge {
  position: fixed !important;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--white);
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: var(--text);
  animation: badge-breather 5s infinite ease-in-out;
  transform: scale(var(--badge-breathe));
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.badge-text {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-text strong {
  color: var(--accent);
  font-weight: 700;
}

.badge-sketch-logo {
  width: 30px;
  height: 38px;
  display: block;
  flex-shrink: 0;
  color: var(--text);
  margin-right: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}

.google-badge:hover {
  animation: none;
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  background-color: var(--text);
  color: var(--white);
}

.google-badge:hover .badge-sketch-logo {
  color: #fbbc05;
  transform: rotate(10deg) scale(1.1);
}

.google-badge:hover .badge-text strong {
  color: #fffefa;
}

@media (max-width: 768px) {
  .desc-fo {
    display: none !important;
  }

  .slice-label {
    font-size: 13px !important;
    letter-spacing: 0.02em !important;
  }

  .slice-label-bg {
    rx: 8;
    ry: 8;
  }

  .header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    padding: 16px 0 !important;
    top: 13vh !important;
  }

  .logo-container {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .logo {
    margin: 0 auto !important;
    display: block !important;
    max-width: 180px !important;
    max-height: 120px !important;
  }

  .title-fo {
    width: 90px !important;
    height: 42px !important;
    overflow: visible !important;
    transform: none !important;
  }

  .fo-wrapper {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .papery-title {
    font-size: 9px !important;         
    padding: 4px 8px !important;        
    border-radius: 6px !important;       
    line-height: 1.2 !important;
    white-space: nowrap !important;     
    display: inline-flex !important; 
    width: max-content !important;      
    height: auto !important;            
    min-width: unset !important;        
    min-height: unset !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  }

  .interface.is-menu .interface-content {
    max-width: 96vw !important;
    width: 96vw !important;
    padding: 32px 10px 16px 10px !important;
  }

  .interface.is-menu .menu-slide {
    max-height: 72vh !important;
    width: 100%;
    object-fit: contain;
  }

  .interface.is-menu .slide-nav {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .interface.is-menu .menu-slides {
    gap: 6px;
  }

  .about-container .scroll-wrapper {
    max-height: 180px !important;
  }
}

@media (max-width: 480px) {
  .logo {
    max-width: 200px !important;
    max-height: 130px !important;
  }

  .header {
    top: 15vh !important;
  }

  .main {
    width: 100%;
    overflow: hidden;
  }

  .pizza {
    width: 92vw !important;
    transform: scale(1.12) !important;
    transform-origin: center center !important;
    transition: transform 0.8s cubic-bezier(0.15, 0.85, 0.35, 1) !important;
    margin-top: 0 !important;
  }

  body.is-interacted .pizza {
    transform: scale(1.12) !important;
  }

  .google-badge {
    bottom: 16px;
    left: 16px;
    padding: 8px 14px;
    gap: 8px;
  }
  .badge-text {
    font-size: 12px;
  }
  .badge-sketch-logo {
    width: 26px;
    height: 32px;
  }
}

.map-consent {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fcf8f3;
  text-align: center;
  padding: 20px;
  font-family: 'Lato', sans-serif;
  color: var(--text);
}

.map-consent p {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #7a6e61;
}

.map-btn {
  background: #ffffff;
  border: 2px solid var(--bg-green);
  color: var(--bg-green);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.map-btn:hover {
  background: var(--bg-green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

#google-map-iframe {
  display: none;
}

#google-map-iframe.is-loaded {
  display: block;
}