* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #F2EDE6;
}

body {
  font-family: 'Cormorant Garamond', serif;
}

/* LOADER */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #F2EDE6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.75s cubic-bezier(0.25, 1, 0.5, 1),
    visibility 0.75s ease;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  transform: translateY(-8px);
}

.loader-pizza {
  width: 116px;
  height: 116px;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  animation:
    pizza-spin 2.6s linear infinite,
    pizza-breathe 1.8s ease-in-out infinite;
  filter:
    drop-shadow(0 18px 26px rgba(26,24,20,0.12))
    drop-shadow(0 4px 8px rgba(160,91,63,0.14));
}

.loader-bar {
  width: 190px;
  height: 2px;
  overflow: hidden;
  background: rgba(26,24,20,0.13);
}

#loader-progress {
  width: 0%;
  height: 100%;
  background: #A05B3F;
  transition: width 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

body.loader-done #loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#site-shell {
  opacity: 1;
  transform: none;
}

body.is-loading #site-shell {
  pointer-events: none;
}

@keyframes pizza-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pizza-breathe {
  0%, 100% { scale: 1; }
  50% { scale: 1.035; }
}

/* STAGE */
#stage {
  position: fixed;
  inset: 0;
}

#bg-layer {
  position: absolute;
  inset: 0;
  background: #F2EDE6;
  z-index: 0;
}

#img-wrap {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 12px;
  right: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  transform: scale(1.012);
  transition:
    opacity 1.15s cubic-bezier(0.25, 1, 0.5, 1),
    transform 1.15s cubic-bezier(0.25, 1, 0.5, 1);
}

.scene-img.active {
  opacity: 1;
  transform: scale(1.02);
}

/* BRAND */
#corner {
  position: fixed;
  left: 42px;
  bottom: 54px;
  z-index: 200;
}

.logo-slogan {
  margin-bottom: 9px;
  padding-left: 4px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.16em;
  color: rgba(26,24,20,0.78);
  text-transform: lowercase;
}

.logo-mesk {
  font-family: 'Cormorant SC', serif;
  font-weight: 700;
  font-size: 82px;
  letter-spacing: 0.078em;
  color: #1A1814;
  line-height: 0.86;
  display: flex;
  align-items: center;
  user-select: none;
}

.logo-mesk .accent,
.menu-title .accent {
  color: #A05B3F;
}

#btns {
  margin-top: 26px;
  display: flex;
  gap: 8px;
}

#btns button {
  height: 42px;
  min-width: 126px;
  border: none;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #F2EDE6;
  transition:
    background 0.28s ease,
    transform 0.28s ease,
    opacity 0.28s ease;
}

#btn-masa {
  background: #A05B3F;
}

#btn-menu {
  background: #1A1814;
}

#btn-masa:hover {
  background: #8F4E36;
  transform: translateY(-1px);
}

#btn-menu:hover {
  background: #302A22;
  transform: translateY(-1px);
}

/* HOURS */
#hours {
  position: fixed;
  right: 52px;
  top: 58px;
  z-index: 200;
  text-align: right;
  font-family: 'Cormorant Garamond', serif;
  user-select: none;
  transition: opacity 0.55s ease;
}

#hours .days {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(26,24,20,0.48);
  margin-bottom: 6px;
}

#hours .time {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26,24,20,0.72);
}

/* SOCIALS */
#socials {
  position: fixed;
  right: 52px;
  bottom: 62px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: opacity 0.55s ease;
}

#socials a {
  color: rgba(26,24,20,0.54);
  text-decoration: none;
  transition:
    color 0.28s ease,
    transform 0.28s ease;
}

#socials a:hover {
  color: #A05B3F;
  transform: translateY(-1px);
}

#socials .divider {
  color: rgba(26,24,20,0.26);
  user-select: none;
}

/* DESKTOP SCENE NOTE */
#scene-note {
  display: none;
}

.scene-note-count {
  margin-bottom: 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: rgba(26,24,20,0.34);
}

.scene-note-count i {
  margin: 0 8px;
  font-style: normal;
  color: rgba(160,91,63,0.42);
}

#scene-note-title {
  margin-bottom: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #A05B3F;
}

#scene-note-text {
  margin-left: auto;
  max-width: 190px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  line-height: 1.35;
  font-style: italic;
  color: rgba(26,24,20,0.48);
}

/* MENU CARD */
#menu-card {
  position: fixed;
  right: 88px;
  top: 52%;
  width: 500px;
  z-index: 165;
  padding: 36px 38px 34px;
  transform: translateY(-48%) translateX(42px) rotate(-0.25deg);
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.46),
      rgba(255,255,255,0) 30%
    ),
    radial-gradient(
      circle at 18% 12%,
      rgba(255,255,255,0.35),
      rgba(255,255,255,0) 36%
    ),
    #F7EFE3;
  border: 1px solid rgba(26,24,20,0.10);
  box-shadow:
    0 34px 90px rgba(26,24,20,0.18),
    0 10px 24px rgba(26,24,20,0.08);
  transition:
    opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

#menu-card.visible {
  opacity: 1;
  transform: translateY(-52%) translateX(0) rotate(-0.25deg);
  pointer-events: auto;
}

#menu-card::before {
  content: '';
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(26,24,20,0.075);
  pointer-events: none;
}

#menu-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 18%, rgba(160,91,63,0.055), transparent 23%),
    radial-gradient(circle at 92% 82%, rgba(26,24,20,0.04), transparent 28%);
  mix-blend-mode: multiply;
}

.menu-head {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 24px;
}

.menu-kicker {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(26,24,20,0.43);
  margin-bottom: 9px;
}

.menu-title {
  font-family: 'Cormorant SC', serif;
  font-size: 58px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 0.86;
  color: #1A1814;
}

.menu-short-note {
  position: relative;
  z-index: 1;
  margin-top: 13px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: rgba(26,24,20,0.46);
}

.compact-menu-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.compact-section-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: #A05B3F;
}

.compact-section-title::after {
  content: '';
  height: 1px;
  flex: 1;
  background: rgba(26,24,20,0.12);
}

.compact-menu-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 8px 0 9px;
  border-bottom: 1px solid rgba(26,24,20,0.07);
}

.compact-menu-row:last-child {
  border-bottom: none;
}

.compact-menu-row strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.05;
  font-weight: 500;
  color: rgba(26,24,20,0.90);
}

.compact-menu-row span {
  display: block;
  margin-top: 5px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  line-height: 1.25;
  font-style: italic;
  color: rgba(26,24,20,0.45);
}

.compact-menu-row em {
  padding-top: 2px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  color: rgba(26,24,20,0.72);
}

.compact-menu-foot {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(26,24,20,0.10);
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0.08em;
  color: rgba(26,24,20,0.42);
}

/* ABOUT CARD */
#about-card {
  position: fixed;
  left: 92px;
  top: 49%;
  width: 455px;
  z-index: 166;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-45%) translateX(-32px) rotate(0.2deg);
  padding: 34px 36px 32px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.38), rgba(255,255,255,0) 34%),
    #F7EFE3;
  border: 1px solid rgba(26,24,20,0.10);
  border-left: 3px solid rgba(160,91,63,0.78);
  box-shadow:
    0 28px 70px rgba(26,24,20,0.14),
    0 8px 20px rgba(26,24,20,0.06);
  transition:
    opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

#about-card.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0) rotate(0.2deg);
}

#about-card::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(26,24,20,0.07);
  pointer-events: none;
}

.about-kicker {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(26,24,20,0.43);
  margin-bottom: 10px;
}

.about-title {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant SC', serif;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 0.94;
  color: #1A1814;
  margin-bottom: 25px;
}

.about-title span {
  color: #A05B3F;
}

.about-copy {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  color: rgba(26,24,20,0.78);
}

.about-copy p {
  font-size: 18px;
  line-height: 1.36;
  font-weight: 400;
  margin-bottom: 15px;
}

.about-copy p:first-child {
  font-style: italic;
  color: rgba(26,24,20,0.88);
}

/* CONTACT CARD */
#contact-card {
  position: fixed;
  right: 96px;
  top: 50%;
  width: 470px;
  z-index: 166;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-45%) translateX(34px);
  padding: 36px 38px 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.45), rgba(255,255,255,0) 32%),
    #F7EFE3;
  border: 1px solid rgba(26,24,20,0.10);
  box-shadow:
    0 30px 80px rgba(26,24,20,0.16),
    0 8px 22px rgba(26,24,20,0.07);
  transition:
    opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

#contact-card.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

#contact-card::before {
  content: '';
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(26,24,20,0.075);
  pointer-events: none;
}

.contact-kicker {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(26,24,20,0.43);
  margin-bottom: 10px;
}

.contact-title {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant SC', serif;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.9;
  color: #1A1814;
  margin-bottom: 30px;
}

.contact-title span {
  color: #A05B3F;
}

.contact-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-list div {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(26,24,20,0.085);
}

.contact-list span {
  display: block;
  margin-bottom: 6px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #A05B3F;
}

.contact-list strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.28;
  font-weight: 500;
  color: rgba(26,24,20,0.86);
}

.contact-list strong a {
  color: inherit;
  text-decoration: none;
}

.contact-list strong a:hover {
  color: #A05B3F;
}

.contact-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.contact-actions a {
  height: 42px;
  min-width: 132px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: #F2EDE6;
  background: #1A1814;
  transition:
    background 0.28s ease,
    transform 0.28s ease;
}

.contact-actions a:first-child {
  background: #A05B3F;
}

.contact-actions a:hover {
  transform: translateY(-1px);
}

.contact-actions a:first-child:hover {
  background: #8F4E36;
}

.contact-actions a:last-child:hover {
  background: #302A22;
}

.contact-socials {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26,24,20,0.46);
}

.contact-socials a {
  color: rgba(26,24,20,0.46);
  text-decoration: none;
  transition: color 0.28s ease;
}

.contact-socials a:hover {
  color: #A05B3F;
}

.site-credit {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26,24,20,0.36);
  text-decoration: none;
  transition: color 0.28s ease;
}

.site-credit:hover {
  color: #A05B3F;
}

/* SCENE CLEANUP */
body.menu-open #hours,
body.menu-open #socials,
body.menu-open #scroll-bar,
body.menu-open #scroll-hint,
body.menu-open #scene-note,
body.about-open #hours,
body.about-open #socials,
body.about-open #scroll-bar,
body.about-open #scroll-hint,
body.about-open #scene-note,
body.contact-open #hours,
body.contact-open #socials,
body.contact-open #scroll-bar,
body.contact-open #scroll-hint,
body.contact-open #scene-note {
  opacity: 0;
  pointer-events: none;
}

/* SCROLL BAR */
#scroll-bar {
  position: fixed;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 120px;
  background: rgba(26,24,20,0.15);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.6s ease;
}

#scroll-bar.visible {
  opacity: 1;
}

#scroll-progress {
  width: 100%;
  background: #1A1814;
  height: 0%;
  transition: height 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

/* SCROLL HINT */
#scroll-hint {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(calc(-50% + 80px));
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: opacity 0.5s ease;
}

#scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

#scroll-hint span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(26,24,20,0.4);
  writing-mode: vertical-rl;
}

.hint-line {
  width: 1px;
  height: 32px;
  background: rgba(26,24,20,0.3);
  position: relative;
  overflow: hidden;
}

.hint-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26,24,20,0.5);
  animation: hint-drop 1.8s ease infinite;
}

@keyframes hint-drop {
  0% { top: -100%; }
  100% { top: 100%; }
}