@font-face {
  font-family: Theater;
  src: url("assets/theater-bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fff9ee;
  --ink: #131818;
  --blue: #00a8f0;
  --red: #e3022f;
  --display: Theater, Impact, "Arial Narrow", sans-serif;
  --gutter: clamp(20px, 5.1vw, 82px);
  --motion: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; }
h2 { font-size: clamp(3.5rem, 7vw, 7rem); line-height: .92; letter-spacing: -.012em; }
.wrap { width: min(100%, 1600px); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 10px;
  padding: 12px;
  background: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header { background: var(--paper); }
.header-row {
  min-height: 75px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.logo { justify-self: start; max-width: 148px; }
.header-row nav { display: flex; justify-content: center; gap: clamp(20px, 3.1vw, 48px); }
.header-row a, .site-footer a { text-decoration: none; font-weight: 700; }
.header-row nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-contact {
  justify-self: end;
  padding: 7px 15px;
  border: 1px solid currentColor;
  border-radius: 999px;
}
.header-contact:hover { color: var(--red); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #081c28;
  color: white;
}
.hero-visual, .hero::after { position: absolute; z-index: -1; inset: 0; }
.hero-visual { overflow: hidden; }
.hero::after {
  content: "";
  background:
    linear-gradient(0deg, rgb(3 20 30 / .9), transparent 26%),
    linear-gradient(90deg, #081c28 5%, rgb(8 28 40 / .98) 26%, rgb(8 28 40 / .71) 41%, rgb(8 28 40 / .14) 67%, transparent 90%);
  pointer-events: none;
}
.hero-shot {
  position: absolute;
  inset: 0 0 0 auto;
  width: 80%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 53%;
  opacity: 0;
  transform: scale(1.035);
  transform-origin: 72% 54%;
  transition: opacity 1.1s var(--motion);
}
.hero-shot.is-current { opacity: 1; }

.hero-inner {
  min-height: min(810px, max(670px, calc(100svh - 75px)));
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 34px;
  padding-block: clamp(83px, 10vh, 119px) 26px;
}
.hero-copy {
  align-self: center;
  max-width: min(54%, 680px);
  padding-bottom: 30px;
}
.hero h1 {
  font-size: clamp(4.2rem, 7.55vw, 8.8rem);
  line-height: .83;
  letter-spacing: -.014em;
}
.hero h1 span { display: block; }
.hero h1 span:first-child { color: #69d3ff; }
.hero-copy p { max-width: 30ch; margin-block: 26px 23px; font-size: clamp(1.08rem, 1.65vw, 1.4rem); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 53px;
  padding: 13px 23px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 250ms var(--motion), color 250ms var(--motion);
}
.button:hover { background: var(--paper); color: var(--ink); }
.button:active { transform: translateY(1px); }

.hero-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 15px;
  border-top: 1px solid rgb(255 255 255 / .35);
}
.hero-menu-link {
  font-size: .875rem;
  font-weight: 700;
  text-underline-offset: 5px;
}
.hero-controls, .hero-scenes { display: flex; align-items: center; }
.hero-controls { gap: 16px; }
.hero-scenes { gap: 6px; }
.hero-scenes button, .hero-pause {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: white;
  cursor: pointer;
}
.hero-scenes button { padding-inline: 13px; font-size: .875rem; font-weight: 700; }
.hero-scenes button:hover { border-color: rgb(255 255 255 / .65); }
.hero-scenes button[aria-pressed="true"] { background: #e8f7ff; color: #082333; }
.hero-pause {
  width: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-color: rgb(255 255 255 / .5);
}
.hero-pause:hover { background: rgb(255 255 255 / .2); }
.hero-pause::before {
  content: "";
  width: 0;
  height: 0;
  border-width: 6px 0 6px 9px;
  border-style: solid;
  border-color: transparent transparent transparent currentColor;
  margin-left: 2px;
}
.hero.is-playing .hero-pause::before {
  width: 9px;
  height: 12px;
  border-width: 0 3px;
  border-color: currentColor;
  margin-left: 0;
}

.range-intro { background: var(--blue); }
.range-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(42px, 6vw, 92px);
}
.range-line {
  font: 700 clamp(2.85rem, 6.9vw, 7.5rem)/.84 var(--display);
  letter-spacing: -.013em;
}
.range-line span { display: inline-block; }
.range-line.has-reveal span { opacity: .54; transform: translateY(8px); }
.range-line.is-revealed span {
  opacity: 1;
  transform: none;
  transition: opacity 500ms var(--motion), transform 600ms var(--motion);
  transition-delay: calc(var(--order, 0) * 80ms);
}
.range-line span:nth-of-type(2) { --order: 1; }
.range-line span:nth-of-type(3) { --order: 2; }
.range-line span:nth-of-type(4) { --order: 3; }
.range-line span:nth-of-type(5) { --order: 4; }
.range-line span:nth-of-type(6) { --order: 5; }
.range-inner img { width: clamp(84px, 15vw, 215px); height: auto; flex: none; transform: rotate(-10deg); }

.section { padding-block: clamp(54px, 7.6vw, 114px); }
.section-heading {
  color: var(--red);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 18px;
  margin-bottom: 25px;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(25px, 3.7vw, 54px) clamp(15px, 2.35vw, 36px);
}
.dish { grid-column: span 3; min-width: 0; }
.dish:nth-child(-n+2) { grid-column: span 6; }
.dish-photos img { width: 100%; aspect-ratio: 1.23; object-fit: cover; border-radius: 3px; background: white; }
.dish:nth-child(-n+2) .dish-photos img { aspect-ratio: 1.68; object-position: 50% 54%; }
.dish-photos .dish-photo-align-right { object-position: right center; }
.dish-photos { position: relative; }
.dish-photo-options {
  position: absolute;
  inset: auto auto 9px 9px;
  display: flex;
  max-width: calc(100% - 18px);
  padding: 3px;
  background: var(--paper);
  border: 1px solid rgb(19 24 24 / .22);
  border-radius: 999px;
}
.dish-photo-options button {
  padding: 0 9px;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.dish-photo-options button[aria-pressed="true"] { background: var(--ink); color: white; }
.dish-photo-options button[aria-pressed="false"]:hover { background: #e4f4fc; }
.dish-photo-options button:focus-visible { outline-color: var(--blue); outline-offset: 1px; }

.dish-copy { padding-block: 13px 12px; border-bottom: 1px solid #aaa49a; }
.dish h3 { font-size: clamp(1.6rem, 2.65vw, 2.56rem); line-height: .97; }
.dish:nth-child(-n+2) h3 { font-size: clamp(2rem, 3.4vw, 3.4rem); }
.dish-weight { display: inline-block; margin-top: 8px; font-size: .875rem; font-weight: 700; }
.dish p { margin-top: 7px; color: #474741; }

.stores { background: #e4f4fc; }
.stores-grid {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 24px;
  padding-block: clamp(49px, 6vw, 90px);
}
.stores-grid p { margin-top: 12px; max-width: 32ch; }
.store-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.store-link {
  display: flex;
  min-height: 136px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  background: white;
  padding: 17px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  text-decoration: none;
  transition: transform 260ms var(--motion);
}
.store-link:hover { transform: translateY(-4px); }
.store-link > span:last-child { font-size: .9375rem; text-decoration: underline; text-underline-offset: 4px; }
.store-name {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: clamp(1.15rem, 2.25vw, 2.125rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.04em;
}
.store-mark { max-width: min(100%, 160px); max-height: 48px; width: auto; height: auto; object-fit: contain; }
.lavka-icon { width: 42px; height: 42px; border-radius: 9px; margin-right: 10px; }
.contact { overflow: hidden; background: var(--red); color: white; }
.contact-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-block: clamp(53px, 6.2vw, 95px);
  padding-right: max(var(--gutter), 185px);
}
.contact-row > :not(.contact-sticker) { position: relative; z-index: 1; }
.contact-sticker {
  position: absolute;
  right: 1.5vw;
  bottom: -16px;
  width: clamp(110px, 13vw, 185px);
  height: auto;
  transform: rotate(-14deg);
}
.contact p { margin-top: 13px; max-width: 43ch; }
.button-light { background: var(--paper); color: var(--ink); white-space: nowrap; }
.button-light:hover { background: var(--ink); color: white; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 77px; }

@media (max-width: 1050px) {
  .hero h1 { font-size: clamp(3.55rem, 7.3vw, 5.5rem); }
  .hero-shot { width: 85%; }
}
@media (max-width: 760px) {
  .header-row { min-height: 64px; grid-template-columns: auto 1fr; gap: 13px; }
  .logo { max-width: 106px; }
  .header-row nav { justify-content: end; gap: clamp(10px, 4vw, 24px); font-size: .875rem; }
  .header-contact, .hero-menu-link { display: none; }
  .hero-inner {
    min-height: 0;
    grid-template-rows: auto auto;
    padding-block: 40px 14px;
    gap: 0;
  }
  .hero-copy {
    align-self: start;
    max-width: 100%;
    min-height: clamp(555px, 154vw, 690px);
    padding-bottom: 235px;
  }
  .hero h1 { font-size: clamp(3.48rem, 11.5vw, 6rem); }
  .hero h1 span:nth-child(n+2) { display: inline; }
  .hero-copy p { margin-block: 17px 18px; }
  .hero-shot { inset: auto 0 0; width: 100%; height: 66%; object-position: 52% 54%; }
  .hero::after {
    background: linear-gradient(180deg, #081c28 32%, rgb(8 28 40 / .86) 44%, transparent 67%, rgb(3 20 30 / .58) 87%, #081c28 100%);
  }
  .hero-footer { min-height: 59px; justify-content: end; padding-top: 8px; }
  .hero-controls { justify-content: space-between; width: 100%; gap: 6px; }
  .hero-scenes { gap: 2px; }
  .hero-scenes button { padding-inline: 8px; font-size: .8125rem; }
  .hero-pause { width: 40px; flex-basis: 40px; }
  .range-inner { gap: 15px; }
  .range-line { font-size: clamp(2.45rem, 7.4vw, 4.1rem); }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 15px; }
  .dish, .dish:nth-child(-n+2) { grid-column: span 1; }
  .dish:nth-child(-n+2) .dish-photos img { aspect-ratio: 1.23; }
  .dish h3, .dish:nth-child(-n+2) h3 { font-size: clamp(1.5rem, 4.9vw, 2.1rem); }
  .dish-photo-options { inset: auto auto 5px 5px; max-width: calc(100% - 10px); }
  .dish-photo-options button { padding-inline: 5px; font-size: .75rem; }
  .dish p { font-size: .9375rem; line-height: 1.4; }
  .stores-grid { grid-template-columns: 1fr; gap: 20px; }
  .store-link { min-height: 113px; padding: 12px; }
  .lavka-icon { width: 28px; height: 28px; margin-right: 6px; border-radius: 6px; }
  .contact-row { align-items: flex-start; flex-direction: column; padding-right: var(--gutter); }
  .contact-sticker { width: 100px; right: -12px; bottom: -18px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 3.08rem; }
  .hero-scenes button { padding-inline: 6px; font-size: .75rem; }
  .range-inner img { width: 69px; }
  .menu-grid, .store-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-shot { animation: frame-drift 7s cubic-bezier(.45,.08,.55,.92) infinite alternate paused; }
  .hero.is-playing .hero-shot { animation-play-state: running; }

  @keyframes frame-drift {
    to { transform: scale(1.105); }
  }

  .hero h1 span { animation: arrive 720ms var(--motion) both; }
  .hero h1 span:nth-child(2) { animation-delay: 80ms; }
  .hero h1 span:nth-child(3) { animation-delay: 160ms; }
  .hero-copy p, .hero-copy .button { animation: arrive 720ms var(--motion) 220ms both; }

  @keyframes arrive {
    from { opacity: .2; transform: translateY(24px); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-shot, .button, .store-link { transition: none; }
  .hero-shot.is-current, .store-link:hover { transform: none; }
  .range-line.has-reveal span { opacity: 1; transform: none; transition: none; }
}
