:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #0071e3;
  --accent-soft: rgba(0, 113, 227, 0.1);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
  --bg-shift-x: 0;
  --bg-shift-y: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 42%,
      rgba(255, 255, 255, 0.64) 50%,
      transparent 58%,
      transparent 100%
    ),
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-position:
    calc(50% + var(--bg-shift-x) * 0.9px) calc(50% + var(--bg-shift-y) * 0.9px),
    calc(var(--bg-shift-x) * 0.18px) calc(var(--bg-shift-y) * 0.18px),
    calc(var(--bg-shift-x) * 0.18px) calc(var(--bg-shift-y) * 0.18px);
  background-size: 220% 220%, 54px 54px, 54px 54px;
  opacity: 0.72;
  animation: ambientDrift 14s ease-in-out infinite alternate;
}

body:not(.page-loaded):not(.has-intro) .site-header,
body:not(.page-loaded):not(.has-intro) main,
body:not(.page-loaded):not(.has-intro) .footer {
  opacity: 0;
  transform: translateY(8px);
}

body.page-leaving .site-header,
body.page-leaving main,
body.page-leaving .footer {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.site-header,
main,
.footer {
  position: relative;
  z-index: 1;
  transition: opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.has-intro {
  overflow: hidden;
}

body.has-intro .site-header,
body.has-intro main,
body.has-intro .footer {
  opacity: 0;
  transform: translateY(18px);
}

body.intro-ready .site-header,
body.intro-ready main,
body.intro-ready .footer {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.04), transparent 30%),
    #ffffff;
  color: #050506;
  will-change: opacity, transform;
  animation: introPanelExit 900ms cubic-bezier(0.76, 0, 0.24, 1) 1900ms forwards;
}

.intro::before,
.intro::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.intro::before {
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 42%,
    rgba(0, 0, 0, 0.08) 50%,
    transparent 58%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: introSweep 1200ms cubic-bezier(0.76, 0, 0.24, 1) 220ms forwards;
}

.intro::after {
  background: rgba(255, 255, 255, 0);
  animation: introFadeOut 820ms ease 1900ms forwards;
}

.intro-name {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  min-height: 1.2em;
  font-size: clamp(48px, 9vw, 112px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.95;
  animation: introNameExit 720ms cubic-bezier(0.76, 0, 0.24, 1) 1680ms forwards;
}

.intro-name span {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(32px);
  animation: introLetter 720ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro-name span:nth-child(1) {
  animation-delay: 130ms;
}

.intro-name span:nth-child(2) {
  animation-delay: 208ms;
}

.intro-name span:nth-child(3) {
  animation-delay: 286ms;
}

.intro-name span:nth-child(4) {
  animation-delay: 364ms;
}

.intro-name span:nth-child(5) {
  animation-delay: 442ms;
}

.intro-name span:nth-child(6) {
  animation-delay: 520ms;
}

.intro-name span:nth-child(7) {
  animation-delay: 598ms;
}

.intro-name span:nth-child(8) {
  animation-delay: 676ms;
}

.intro-name .intro-gap {
  width: 0.28em;
}

.intro-line {
  position: absolute;
  top: calc(50% + clamp(42px, 7vw, 86px));
  left: 50%;
  z-index: 1;
  width: min(320px, 54vw);
  height: 1px;
  background: rgba(5, 5, 6, 0.72);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  animation: introLine 980ms cubic-bezier(0.76, 0, 0.24, 1) 780ms forwards,
    introLineExit 620ms ease 1680ms forwards;
}

.intro.is-hidden {
  pointer-events: none;
  visibility: hidden;
}

@keyframes introLetter {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes introLine {
  to {
    transform: translateX(-50%) scaleX(1);
  }
}

@keyframes introSweep {
  to {
    transform: translateX(120%);
  }
}

@keyframes introNameExit {
  to {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(-18px) scale(0.985);
  }
}

@keyframes introLineExit {
  to {
    opacity: 0;
    transform: translateX(-50%) scaleX(0.15);
  }
}

@keyframes introPanelExit {
  to {
    opacity: 0;
    transform: translateY(-18px) scale(1.01);
    visibility: hidden;
  }
}

@keyframes introFadeOut {
  to {
    background: rgba(255, 255, 255, 1);
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes ambientDrift {
  from {
    filter: saturate(1);
    transform: translate3d(-6px, -4px, 0);
  }

  to {
    filter: saturate(1.08);
    transform: translate3d(6px, 4px, 0);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 245, 247, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(20px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(1120px, calc(100% - 40px));
  min-height: 56px;
  margin: 0 auto;
}

.brand {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: rgba(29, 29, 31, 0.72);
  font-size: 14px;
}

.nav-links a {
  padding: 18px 0;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.lang-switcher a {
  min-width: 30px;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.lang-switcher a:hover,
.lang-switcher .lang-active {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.mobile-nav-toggle {
  display: none;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

main {
  overflow: hidden;
}

.hero,
.page-section,
.feature-grid,
.info-grid,
.contact-info,
.contact,
.page-title,
.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  justify-content: center;
  padding: 106px 0 72px;
  text-align: center;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: 0;
}

.lead {
  color: var(--muted);
  font-size: 21px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button,
.phone-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 650;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.phone-number:hover {
  transform: translateY(-1px);
}

.button.primary,
.button,
.phone-number {
  background: var(--accent);
  color: #ffffff;
}

.button.secondary {
  background: var(--accent-soft);
  color: var(--accent);
}

.page-section {
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.page-section.narrow {
  max-width: 820px;
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 58px;
  align-items: start;
}

.section-copy {
  color: var(--muted);
  font-size: 21px;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.feature-grid,
.info-grid,
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 22px 0 84px;
}

.feature-grid article,
.info-card,
.info-item,
.menu-category,
.reservation-card,
.hours-card,
.map-card {
  min-height: 210px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-number,
.meta-label {
  display: block;
  margin-bottom: 48px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.feature-grid p,
.info-card p,
.info-item p,
.menu-item-description,
.reservation-card p,
.hours-card p,
.contact p {
  color: var(--muted);
}

.contact {
  padding: 86px 0 104px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact p {
  margin-bottom: 26px;
  font-size: 19px;
}

.page-title {
  padding: 82px 0 42px;
  text-align: center;
}

.page-title h1 {
  margin-bottom: 0;
}

.about-content,
.reservation-content,
.hours-content,
.location-content {
  width: min(820px, 100%);
  margin: 0 auto;
}

.about-content p {
  color: var(--muted);
  font-size: 21px;
}

.hours-content ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.hours-content li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.day {
  font-weight: 700;
}

.lunch-hours {
  margin-top: 28px;
}

.map-frame {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 8px;
}

.menu-search {
  width: min(680px, 100%);
  margin: 0 auto 32px;
}

.menu-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.menu-search input:focus {
  border-color: rgba(0, 113, 227, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.08);
}

#menu-container {
  display: grid;
  gap: 20px;
}

.menu-category {
  min-height: auto;
}

.menu-category h2 {
  margin-bottom: 22px;
  font-size: 30px;
}

.menu-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.menu-item-name {
  font-weight: 700;
}

.menu-item-price {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 750;
}

.menu-item-description {
  margin: 8px 0 0;
  font-size: 15px;
}

.footer {
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer p {
  margin: 0;
}

@media (max-width: 960px) {
  .nav {
    position: relative;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 0;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
  }

  .lang-switcher {
    order: 3;
    margin-left: 0;
  }

  .nav-links {
    display: none;
    order: 4;
    width: 100%;
    margin-left: 0;
    padding: 12px 0 6px;
    border-top: 1px solid var(--line);
  }

  .nav.active .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
  }

  .nav-links a {
    padding: 8px 0;
  }

  .split,
  .feature-grid,
  .info-grid,
  .contact-info {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .info-grid,
  .contact-info {
    padding-bottom: 64px;
  }
}

@media (max-width: 560px) {
  .nav,
  .hero,
  .page-section,
  .feature-grid,
  .contact,
  .footer {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding: 72px 0 54px;
  }

  .page-title {
    padding: 58px 0 28px;
  }

  .lead,
  .about-content p,
  .section-copy {
    font-size: 18px;
  }

  .hero-actions,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .phone-number {
    width: 100%;
  }

  .nav.active .nav-links {
    grid-template-columns: 1fr;
  }

  .lang-switcher {
    margin-left: auto;
  }

  .feature-grid article,
  .info-card,
  .info-item,
  .menu-category,
  .reservation-card,
  .hours-card,
  .map-card {
    min-height: auto;
    padding: 24px;
  }

  .feature-number,
  .meta-label {
    margin-bottom: 32px;
  }

  .menu-item-header,
  .hours-content li {
    flex-direction: column;
    gap: 4px;
  }
}

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

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

  .intro {
    background: #ffffff;
  }

  body::before {
    animation: none;
    transform: none;
  }

  .intro::before,
  .intro-line {
    display: none;
  }

  .intro-name span {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
