@font-face {
  font-family: Manrope;
  src: url('./assets/manrope-cyrillic.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  src: url('./assets/manrope-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F,U+2074,U+20AC,U+20BD,U+2190-2199,U+2212,U+FEFF,U+FFFD;
}
:root {
  color-scheme: dark;
  font-family: Manrope, Arial, sans-serif;
  --bg: #130f0d;
  --surface: #1b1512;
  --text: #f9eddf;
  --muted: #c3b0a1;
  --accent: #ff895f;
  --line: #3e3028;
  --ember: 163, 53, 27;
  --settle: cubic-bezier(.2,.7,.26,1);
  --hero-duration: 760ms;
  --photo-duration: 320ms;
  --spin-duration: 48s;
  background: var(--bg);
  color: var(--text);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
p, h1, h2 { margin: 0; }
:focus-visible { outline: 2px solid #ff986f; outline-offset: 4px; }
.shell { width: min(100% - 112px, 1320px); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: 12px; z-index: 5;
  padding: 12px; color: var(--bg); background: var(--text); transform: translateY(-200%);
}
.skip:focus { transform: none; }

.site-header { position: relative; z-index: 1; background: #120f0d; border-bottom: 1px solid #29201a; }
.header-inner, .footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 78px; }
.logo { display: inline-flex; align-items: center; justify-self: start; font-weight: 800; letter-spacing: -.09em; font-size: 1.55rem; line-height: 1; }
.logo-dot { padding-inline-start: 2px; color: var(--accent); }
.brand-mark { display: inline-flex; align-items: end; gap: 3px; transform: skew(-18deg); margin-right: 10px; padding-bottom: 2px; }
.brand-mark i { width: 4px; height: 11px; border-radius: 3px; background: var(--accent); }
.brand-mark i:nth-child(2) { height: 18px; }
.brand-mark i:nth-child(3) { height: 14px; }
.site-header nav { display: flex; align-items: stretch; height: 100%; gap: clamp(20px, 3.1vw, 52px); color: var(--muted); }
.site-header nav a { display: grid; place-items: center; min-height: 48px; font-size: .9rem; font-weight: 750; position: relative; }
.site-header nav a[aria-current="page"], .site-header nav a:hover { color: var(--text); }
.site-header nav a[aria-current="page"]::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: var(--accent); }
.cart-button {
  justify-self: end; display: flex; align-items: center; gap: 8px; min-height: 43px; padding: 6px 9px 6px 12px;
  border: 1px solid #564236; background: #231a15; border-radius: 6px; font-weight: 750;
}
.cart-button svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { min-width: 25px; text-align: center; padding: 3px 4px; border-radius: 3px; background: #3f2a20; color: #ffc4ac; font-size: .78rem; }

.hero {
  min-height: clamp(560px, 47vw, 690px); display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  align-items: center; position: relative; isolation: isolate; border-bottom: 1px solid var(--line);
  padding-block: 16px 30px;
}
.hero-copy { grid-column: 1; grid-row: 1; position: relative; z-index: 1; padding-block: 34px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #e2c3af; font-size: .84rem; font-weight: 750; }
.eyebrow span { width: 19px; height: 1px; background: var(--accent); }
.hero h1 {
  margin: 19px 0 0 -.035em; font-size: clamp(4.75rem, 8.65vw, 9.15rem);
  font-weight: 800; letter-spacing: -.082em; line-height: .91;
}
.hero h1 em {
  display: inline-block; color: var(--accent); font: italic 400 .98em/.91 Georgia, serif;
  letter-spacing: -.086em; word-spacing: .09em; margin-top: .055em; white-space: nowrap;
}
.hero-description { max-width: 310px; margin-top: 26px; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.16rem); line-height: 1.57; }
.button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 17px;
  border: 1px solid transparent; border-radius: 7px; font-size: .94rem; font-weight: 800; background: transparent;
  transition: background 140ms ease, transform 140ms ease;
}
.button.primary { background: var(--accent); color: #21130d; }
.button.primary:hover { background: #ffa384; transform: translateY(-2px); }
.button.primary:active { transform: none; }
.hero-copy .button { margin-top: 28px; }
.hero-art {
  grid-column: 2; grid-row: 1; position: relative; isolation: isolate; min-width: 0; width: 100%;
  aspect-ratio: 1.2;
}
.oven-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 51% 49%, rgba(var(--ember),.63), rgba(var(--ember),.19) 48%, transparent 73%);
}
.hero-pizza-frame {
  position: absolute; inset: 0; display: grid; place-items: center; overflow: clip;
}
.pizza-rotation {
  display: grid; place-items: center; aspect-ratio: 1;
  animation: pizza-spin var(--spin-duration) linear infinite paused;
}
.hero-pizza-frame .pizza-rotation { width: min(84%, 566px); }
body[data-pizza-spinning] .pizza-rotation { animation-play-state: running; }
body[data-pizza-spinning] .is-missing .pizza-rotation { animation-play-state: paused; }
@keyframes pizza-spin { to { transform: rotate(1turn); } }
.hero-pizza {
  width: 100%; height: auto;
  filter: drop-shadow(12px 24px 24px #090604c0); transform: rotate(-8deg);
  animation: hero-food var(--hero-duration) var(--settle) both;
}
.hero-sweep {
  position: absolute; z-index: -1; inset: 6%; pointer-events: none;
  background: radial-gradient(ellipse at 61% 27%, #ff955657, transparent 65%); opacity: 0;
  animation: oven-light var(--hero-duration) ease-out both;
}
@keyframes hero-food {
  from { opacity: .34; transform: translateY(8px) scale(.965) rotate(-11deg); }
  to { opacity: 1; transform: rotate(-8deg); }
}
@keyframes oven-light {
  0% { opacity: 0; }
  38% { opacity: .88; }
  100% { opacity: 0; }
}
.hero-caption {
  position: absolute; right: 3%; bottom: 7%; z-index: 1;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; min-width: 164px;
  padding: 10px 12px; border: 1px solid #694837; background: #211710; border-radius: 7px;
}
.hero-caption span:first-child { display: grid; gap: 3px; }
.hero-caption strong { font-size: .91rem; }
.hero-caption small { color: var(--muted); font-size: .79rem; }
.hero-caption span:last-child { color: var(--accent); }
.hero-caption:hover { background: #362218; }
.motion-toggle {
  position: absolute; z-index: 2; min-height: 44px; padding: 7px 11px;
  border: 1px solid #694837; border-radius: 7px;
  color: var(--text); background: #211710; font-size: .8rem; font-weight: 750;
}
.motion-toggle:hover { background: #362218; }
.hero-art .motion-toggle { left: 3%; bottom: 7%; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.section-head h1, .section-head h2 { font-size: clamp(2.8rem, 6vw, 5.75rem); letter-spacing: -.092em; font-weight: 800; line-height: .92; }
.text-link { color: var(--accent); font-weight: 800; text-decoration: underline; text-underline-offset: .22em; }
.home-menu { padding-block: 46px 70px; }
.preview-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin-top: 29px; }
.preview-card { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: #1c1511; }
.preview-art { display: grid; place-items: center; aspect-ratio: 1.16; background: radial-gradient(ellipse at 50% 57%, #40241b, #241812 57%, #1c1511 90%); }
.preview-art img { width: min(82%, 233px); height: auto; transition: transform 290ms var(--settle); }
.preview-card:hover img { transform: scale(1.025); }
.preview-details { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 9px; padding: 12px 14px 15px; align-items: baseline; }
.preview-details strong { font-size: .98rem; }
.preview-details small { color: var(--accent); font-size: .92rem; font-weight: 800; white-space: nowrap; }

.menu-page { padding-block: 31px 62px; }
.menu-heading { align-items: end; margin-bottom: 20px; }
.menu-heading h1 { font-size: clamp(2.7rem, 5.45vw, 4.8rem); }
.menu-heading p { color: var(--muted); font-size: .9rem; }
.showcase {
  --art-column: 55%;
  --panel-pad: clamp(20px, 3.15vw, 45px);
  position: relative; border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(105deg, #1a1410, #191310 55%, #201713);
}
.product-panel { display: grid; grid-template-columns: minmax(0,var(--art-column)) minmax(0,1fr); min-width: 0; }
.product-visual {
  position: relative; isolation: isolate; display: grid; place-items: center; width: 100%; min-width: 0;
  height: clamp(400px, 42vw, 570px); container-type: size; overflow: clip;
}
.product-visual .oven-glow { inset: 0; }
.product-visual .pizza-rotation { grid-area: 1 / 1; width: min(86%, 86cqh); }
.product-visual .motion-toggle { bottom: 12px; left: 12px; }
.product-photo {
  grid-area: 1 / 1; width: 100%; height: auto;
  transform: rotate(-7deg); filter: drop-shadow(8px 18px 21px #090605a0);
}
.product-photo.is-active { z-index: 1; }
.product-visual.is-missing .is-active { visibility: hidden; }
.photo-placeholder { grid-area: 1 / 1; color: var(--muted); padding: 11px 14px; border: 1px solid var(--line); border-radius: 6px; }
.photo-enter { animation: selected-in var(--photo-duration) var(--settle) both; }
.photo-leave { animation: selected-out var(--photo-duration) ease-out both; }
@keyframes selected-in {
  from { opacity: 0; transform: translateY(5px) scale(.975) rotate(-9deg); }
  to { opacity: 1; transform: rotate(-7deg); }
}
@keyframes selected-out { from { opacity: 1; } to { opacity: 0; } }
.product-info { align-self: center; padding: calc(147px + var(--panel-pad)) var(--panel-pad) var(--panel-pad) 0; }
.product-info h2 { margin-block: 12px 12px; font-size: clamp(2.45rem, 4.55vw, 4.45rem); letter-spacing: -.069em; font-weight: 800; line-height: .99; }
.product-info > p:not(.eyebrow) { max-width: 34ch; min-height: 3.1em; font-size: clamp(.96rem, 1.1vw, 1.09rem); color: var(--muted); line-height: 1.55; }
.buy-line { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 19px; margin-top: 22px; }
.buy-line strong { font-size: clamp(1.28rem, 2.2vw, 1.85rem); white-space: nowrap; letter-spacing: -.045em; }
.pizza-tabs {
  position: absolute; z-index: 2; top: var(--panel-pad); left: var(--art-column); right: var(--panel-pad);
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px;
}
.pizza-tab {
  min-width: 0; min-height: 57px; display: flex; align-items: center; gap: 7px; border-radius: 7px;
  padding: 6px 8px; border: 1px solid var(--line); text-align: left; background: #211813;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.pizza-tab:hover { border-color: #855941; }
.pizza-tab[aria-selected="true"] { border-color: var(--accent); background: #39251b; }
.pizza-tab img { width: clamp(31px, 3.4vw, 47px); height: auto; flex: 0 0 auto; }
.pizza-tab strong, .pizza-tab small { display: block; }
.pizza-tab strong { line-height: 1.2; font-size: .84rem; }
.pizza-tab small { padding-top: 3px; color: var(--muted); font-size: .73rem; white-space: nowrap; }
.pizza-tab[aria-selected="true"] small { color: #ffbea1; }

.site-footer { border-top: 1px solid var(--line); background: #16100e; }
.footer-inner { min-height: 110px; gap: 20px; }
.footer-inner p { justify-self: end; text-align: right; color: var(--muted); font-size: .83rem; }
.footer-menu { font-size: .9rem; text-decoration: underline; text-underline-offset: .2em; }
.cart {
  position: fixed; inset: 0 0 0 auto; margin: 0; height: 100%; max-height: 100%; width: min(100%,440px); max-width: 100%;
  padding: 25px 24px; color: var(--text); background: #201712; border: 0; border-left: 1px solid #6b4939;
}
body:has(.cart[open]) { overflow: hidden; }
.cart[open] { animation: drawer 240ms var(--settle) both; }
@keyframes drawer { from { transform: translateX(22px); opacity: .25; } to { transform: none; opacity: 1; } }
.cart::backdrop { background: #090605c2; }
.cart-head, .cart-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cart-head { padding-bottom: 15px; border-bottom: 1px solid #614634; }
.cart-head h2 { font-weight: 800; font-size: 2rem; letter-spacing: -.07em; }
.icon-button { width: 44px; height: 44px; border: 1px solid #614634; border-radius: 5px; background: transparent; font-size: 1.5rem; }
.icon-button:hover, .quantity button:hover { background: #473022; }
.cart-empty, .cart-note { padding-block: 15px; color: var(--muted); line-height: 1.6; }
.cart-note { font-size: .85rem; }
.cart-line { display: grid; grid-template-columns: 53px 1fr auto; align-items: center; gap: 10px; padding-block: 9px; border-bottom: 1px solid var(--line); }
.cart-line small { display: block; color: var(--muted); }
.quantity { display: flex; align-items: center; gap: 7px; }
.quantity button { width: 36px; height: 37px; border: 1px solid #614634; background: transparent; border-radius: 4px; }
.cart-total { padding-top: 18px; font-size: 1.12rem; font-weight: 800; }
.notice {
  position: fixed; z-index: 3; bottom: 19px; right: 19px; max-width: calc(100% - 38px);
  padding: 12px 17px; color: var(--text); background: #422a20; border: 1px solid #9e674a; border-radius: 5px;
}

@media (max-width: 1000px) {
  .shell { width: calc(100% - 68px); }
  .hero { min-height: 510px; }
  .hero h1 { font-size: clamp(4.35rem,9.35vw,7rem); }
  .product-visual { height: clamp(390px,47vw,515px); }
  .showcase { --art-column: 52%; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 64px; gap: 8px; }
  .logo { font-size: 1.26rem; }
  .brand-mark { margin-right: 7px; gap: 2px; }
  .brand-mark i { width: 3px; }
  .site-header nav { gap: 11px; }
  .site-header nav a { font-size: .81rem; }
  .cart-button { min-height: 42px; padding-inline: 8px; gap: 5px; }
  .cart-label { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .cart-count { min-width: 20px; }
  .hero { min-height: 0; grid-template-columns: minmax(0,1fr); padding-block: 33px 42px; }
  .hero-copy { grid-row: 1; padding-block: 9px 0; }
  .hero-art { grid-column: 1; grid-row: 2; align-self: start; margin-top: -4px; aspect-ratio: 1.1; }
  .hero h1 { font-size: clamp(3.8rem,15vw,6.4rem); margin-top: 14px; }
  .hero-description { margin-top: 17px; line-height: 1.5; max-width: 290px; }
  .hero-copy .button { margin-top: 19px; }
  .hero-caption { top: calc(100% - 8px); right: 0; bottom: auto; min-width: 0; padding: 8px 10px; }
  .hero-caption span:first-child { display: flex; align-items: baseline; gap: 7px; }
  .hero-pizza-frame .pizza-rotation { width: 86%; }
  .hero-art .motion-toggle { top: calc(100% - 8px); bottom: auto; left: 0; }
  .home-menu { padding-block: 36px 46px; }
  .preview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 17px; }
  .preview-details { padding: 9px; }
  .home-menu .text-link { font-size: .82rem; }
  .menu-page { padding-block: 21px 35px; }
  .menu-heading { margin-bottom: 12px; }
  .menu-heading p { font-size: .76rem; }
  .showcase { border-radius: 10px; }
  .pizza-tabs { position: static; gap: 6px; margin: 8px 8px 0; }
  .pizza-tab { min-height: 50px; padding: 4px 6px; gap: 6px; }
  .pizza-tab img { width: 33px; }
  .pizza-tab strong { font-size: .76rem; }
  .pizza-tab small { font-size: .68rem; padding-top: 1px; }
  .product-panel { grid-template-columns: minmax(0,1fr); }
  .product-visual { height: auto; aspect-ratio: 1.15; }
  .product-info { padding: 0 14px 18px; }
  .product-info h2 { margin-block: 6px 8px; }
  .product-info > p:not(.eyebrow) { min-height: 0; }
  .buy-line { margin-top: 14px; }
  .footer-inner { min-height: 85px; gap: 9px; }
  .footer-inner p { font-size: .69rem; }
}

@media (max-width: 355px) {
  .shell { width: calc(100% - 26px); }
  .site-header nav { gap: 8px; }
  .pizza-tab img { width: 27px; }
  .menu-heading p { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .button.primary:hover, .preview-card:hover img { transform: none; }
}
