:root {
  --luna-ink: #10120e;
  --luna-forest: #173a31;
  --luna-paper: #f2eee4;
  --luna-paper-deep: #ded8ca;
  --luna-sage: #b9c4aa;
  --luna-gold: #d5b669;
  --luna-serif: "Prata", Georgia, "Times New Roman", serif;
  --luna-sans: "Manrope", Inter, system-ui, sans-serif;
}

html { scroll-padding-top: 92px; }

body.customer-page {
  overflow-x: hidden;
  background: var(--luna-ink);
  font-family: var(--luna-sans);
}

.page-grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 82px;
  padding: 0 clamp(22px, 4vw, 72px);
  color: #fff;
  transition: background .35s ease, min-height .35s ease, border-color .35s ease;
}

.site-nav.is-scrolled {
  min-height: 66px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(12, 14, 11, .82);
  backdrop-filter: blur(18px) saturate(1.2);
}

.site-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  width: max-content;
  color: inherit;
  text-decoration: none;
}

.site-brand span {
  font-family: var(--luna-serif);
  font-size: 14px;
  font-style: italic;
}

.site-brand strong {
  font-family: var(--luna-serif);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: .05em;
}

.site-nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 58px);
}

.site-nav-links a,
.site-nav-action {
  color: rgba(255, 255, 255, .74);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}

.site-nav-links a:hover,
.site-nav-action:hover { color: #fff; }

.site-nav-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .38);
  padding-bottom: 7px;
}

.site-nav-action span { color: var(--luna-gold); font-size: 16px; }

.customer-page .menu-hero {
  height: min(940px, 100svh);
  min-height: 690px;
  isolation: isolate;
}

.customer-page .menu-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at var(--pointer-x, 70%) var(--pointer-y, 35%), rgba(214, 183, 106, .12), transparent 25%);
  pointer-events: none;
}

.customer-page .menu-hero::after {
  z-index: 2;
  height: 260px;
  background: linear-gradient(180deg, transparent, var(--luna-ink));
}

.customer-page .hero-media {
  background-position: 46% 94%;
  transform: translate(-8%, -8%) scale(1.18);
  transition: transform .2s linear;
  animation: heroDriftEditorialRefined 9s ease-in-out infinite alternate;
}

.hero-glow {
  position: absolute;
  z-index: 1;
  top: 20%;
  right: 10%;
  width: 34vw;
  height: 34vw;
  border-radius: 50%;
  background: rgba(218, 190, 119, .1);
  filter: blur(100px);
  pointer-events: none;
}

.hero-moon {
  position: absolute;
  z-index: 2;
  right: clamp(35px, 7vw, 120px);
  bottom: 16%;
  width: clamp(120px, 16vw, 250px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  animation: moonFloat 7s ease-in-out infinite;
}

.hero-moon::before,
.hero-moon::after,
.hero-moon span {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}

.hero-moon::before { inset: 16%; }
.hero-moon::after { inset: 34%; background: rgba(255, 255, 255, .06); }
.hero-moon span { inset: -18%; border-style: dashed; animation: orbit 18s linear infinite; }

.customer-page .hero-content {
  z-index: 4;
  grid-template-columns: minmax(0, 900px) 220px;
  min-height: 100%;
  align-items: end;
  justify-content: space-between;
  padding: 150px 0 98px;
}

.hero-copy { position: relative; }

.hero-kicker {
  display: flex;
  gap: 28px;
  margin: 0 0 26px !important;
  font-family: var(--luna-sans) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-kicker span { position: relative; }
.hero-kicker span + span::before { content: ""; position: absolute; left: -16px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--luna-gold); }

.customer-page .hero-content h1 {
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, .95);
  font-family: var(--luna-serif);
  font-size: clamp(64px, 8.6vw, 126px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.045em;
  text-shadow: 0 18px 70px rgba(0, 0, 0, .35);
}

.customer-page .hero-edition { display: none; }

.customer-page .hero-content #subtitle {
  max-width: 730px;
  font-family: var(--luna-serif);
  font-size: clamp(32px, 4vw, 62px);
  line-height: 1.06;
  text-wrap: balance;
}

.customer-page .hero-menu-link {
  gap: 42px;
  margin-top: 38px;
  font-family: var(--luna-sans);
  font-size: 11px;
  letter-spacing: .12em;
}

.hero-aside {
  display: flex;
  align-self: end;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, .28);
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  padding: 18px 0;
}

.hero-aside time {
  color: #fff;
  font-family: var(--luna-serif);
  font-size: clamp(42px, 5.3vw, 72px);
  line-height: 1;
  letter-spacing: -.045em;
}

.hero-scroll-note {
  position: absolute;
  z-index: 4;
  right: -70px;
  top: 46%;
  color: rgba(255, 255, 255, .45);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: rotate(90deg);
}

.category-marquee {
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: var(--luna-ink);
}

.category-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.marquee-sequence {
  display: flex;
  flex: 0 0 auto;
}

.category-marquee:hover .category-marquee-track { animation-play-state: paused; }

.category-marquee button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  border: 0;
  padding: 19px 28px;
  background: transparent;
  color: rgba(255, 255, 255, .76);
  font-family: var(--luna-serif);
  font-size: 20px;
  white-space: nowrap;
  cursor: pointer;
}

.category-marquee button::after { content: "✦"; color: var(--luna-gold); font-family: var(--luna-sans); font-size: 8px; }
.category-marquee button:hover { color: #fff; }

.story-section {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 12vw, 180px) 0;
  background: var(--luna-paper);
  color: var(--luna-ink);
}

.story-inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.section-index,
.customer-page .eyebrow {
  color: #6a735f;
  font-family: var(--luna-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.story-copy h2 {
  margin: 22px 0 34px;
  font-family: var(--luna-serif);
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.story-copy h2 em { color: #728269; font-weight: 400; }
.story-lead { max-width: 560px; color: #595a52; font-size: 15px; line-height: 1.8; }

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 62px;
  border-top: 1px solid #c8c2b6;
}

.story-stats div { display: grid; gap: 7px; padding: 24px 15px 0 0; }
.story-stats strong { font-family: var(--luna-serif); font-size: clamp(34px, 4vw, 54px); font-weight: 400; }
.story-stats span { color: #73746b; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }

.story-gallery { position: relative; min-height: 650px; }
.story-photo { position: absolute; overflow: hidden; margin: 0; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.story-gallery:hover .story-photo img { transform: scale(1.035); }
.story-photo-main { inset: 0 14% 9% 0; }
.story-photo-detail { right: 0; bottom: 0; width: 40%; height: 42%; border: 12px solid var(--luna-paper); }
.story-photo-detail figcaption { position: absolute; left: -1px; bottom: -1px; padding: 12px 15px; background: var(--luna-paper); color: #57584f; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }

.story-orbit {
  position: absolute;
  top: -38px;
  right: 2%;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(23, 58, 49, .34);
  border-radius: 50%;
  color: var(--luna-forest);
  font-size: 8px;
  letter-spacing: .1em;
  animation: orbit 22s linear infinite;
}

.customer-page .menu-shell { position: relative; }
.customer-page .featured-strip { padding-top: 130px; }

.customer-page .featured-heading h2,
.customer-page .category-home-heading h2,
.customer-page .menu-category h2,
.customer-page .dish-detail h2,
.customer-page .featured-card h3,
.customer-page .category-home-copy strong,
.customer-page .dish-title-row h3 {
  font-family: var(--luna-serif);
  font-weight: 400;
  letter-spacing: -.025em;
}

.customer-page .featured-heading h2 { letter-spacing: -.06em; }
.customer-page .featured-card { cursor: pointer; }
.customer-page .featured-card::before { content: attr(data-index); position: absolute; z-index: 3; left: 22px; top: 20px; display: block; color: rgba(255,255,255,.7); font-size: 10px; letter-spacing: .12em; }
.customer-page .filter-chips { top: 66px; scrollbar-width: none; }
.customer-page .filter-chips button { font-family: var(--luna-sans); letter-spacing: .05em; text-transform: uppercase; }
.customer-page .category-home-heading { position: relative; }
.customer-page .category-home-heading::after { content: "выберите свой ритм"; position: absolute; right: 0; top: 0; color: var(--luna-gold); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.customer-page .category-home-card { position: relative; transition: padding .35s ease, color .35s ease, border-color .35s ease; }
.customer-page .category-home-card::after { content: "↗"; position: absolute; right: 4px; top: 50%; color: var(--luna-gold); opacity: 0; transform: translate(-20px,-50%); transition: opacity .3s ease, transform .3s ease; }
.customer-page .category-home-card:hover { padding-left: 14px; padding-right: 38px; transform: none; }
.customer-page .category-home-card:hover::after { opacity: 1; transform: translate(0,-50%); }
.customer-page .category-home-card:hover .category-home-count { opacity: 0; }
.customer-page .dish-card { cursor: pointer; transition: background .3s ease; }
.customer-page .dish-card .dish-photo img { transition: transform .55s ease, filter .55s ease; }
.customer-page .dish-card:hover .dish-photo img { transform: scale(1.055); filter: saturate(1.05); }

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 105px max(24px, calc((100vw - 1240px) / 2)) 48px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  background: #0a0b09;
  color: #f4f0e7;
}

.footer-wordmark {
  margin: 0 -2vw -2vw;
  color: rgba(255, 255, 255, .055);
  font-family: var(--luna-serif);
  font-size: clamp(110px, 22vw, 330px);
  line-height: .7;
  letter-spacing: -.09em;
  white-space: nowrap;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 34px;
}

.footer-grid > div { display: grid; align-content: start; gap: 10px; }
.footer-grid span { color: var(--luna-gold); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid strong { margin-top: 10px; font-family: var(--luna-serif); font-size: clamp(30px, 4vw, 58px); font-weight: 400; line-height: 1.05; }
.footer-grid a, .footer-grid p, .footer-grid small { max-width: 260px; color: rgba(255, 255, 255, .58); font-size: 12px; line-height: 1.6; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-grid small { margin-top: 22px; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes moonFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes heroDriftEditorialRefined {
  from { background-position: 44% 92%; }
  to { background-position: 48% 96%; }
}

@media (max-width: 900px) {
  .site-nav-links { display: none; }
  .story-inner { grid-template-columns: 1fr; }
  .story-gallery { min-height: 620px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .site-nav { min-height: 64px; padding: 0 18px; }
  .site-nav.is-scrolled { min-height: 58px; }
  .site-brand strong { font-size: 19px; }
  .site-nav-action { gap: 10px; font-size: 9px; }
  .customer-page .menu-hero { height: min(760px, 88svh); min-height: 590px; }
  .customer-page .hero-content { display: flex; align-items: flex-end; min-height: 100%; padding: 120px 18px 74px; }
  .customer-page .hero-content h1 { max-width: 330px; font-size: clamp(48px, 14.5vw, 64px); line-height: .98; }
  .customer-page .hero-menu-link { margin-top: 28px; }
  .hero-aside { position: absolute; top: 98px; right: 18px; border: 0; padding: 0; }
  .hero-aside time { font-size: 27px; }
  .hero-scroll-note { display: none; }
  .hero-moon { right: -30px; bottom: 18%; width: 150px; opacity: .65; }
  .category-marquee button { padding: 15px 20px; font-size: 17px; }
  .story-section { padding: 90px 0 110px; }
  .story-inner { width: calc(100% - 36px); gap: 65px; }
  .story-copy h2 { font-size: 49px; }
  .story-lead { font-size: 14px; }
  .story-stats { margin-top: 42px; }
  .story-stats strong { font-size: 30px; }
  .story-stats span { font-size: 8px; }
  .story-gallery { min-height: 440px; }
  .story-photo-main { inset: 0 8% 8% 0; }
  .story-photo-detail { width: 43%; height: 38%; border-width: 7px; }
  .story-orbit { top: -30px; right: -8px; width: 110px; height: 110px; }
  .customer-page .featured-strip { padding-top: 95px; }
  .customer-page .filter-chips { top: 58px; }
  .customer-page .category-tabs {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    margin: 0 -14px 24px;
    padding: 8px 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .customer-page .category-tabs::-webkit-scrollbar { display: none; }
  .customer-page .category-tabs button,
  .customer-page .category-tabs button:hover,
  .customer-page .category-tabs button.is-active {
    flex: 0 0 auto;
    width: auto;
    padding: 11px 0;
    font-size: 12px;
    letter-spacing: .04em;
    white-space: nowrap;
    scroll-snap-align: start;
  }
  .customer-page .category-home-heading::after { display: none; }
  .site-footer { padding-top: 82px; }
  .footer-wordmark { margin-bottom: 28px; font-size: 112px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
