:root {
  --blue: #254dc6;
  --deep: #19378f;
  --cream: #fff8df;
  --yellow: #ffcf32;
  --ink: #17274d;
  --font-display: "Barlow Condensed", "Impact", sans-serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--blue);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
img {
  display: block;
  width: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.025em;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}
.shell {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #254dc630;
  background: #fff8dff2;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: box-shadow 300ms ease;
}
.header.is-compact {
  box-shadow: 0 10px 30px -18px #19378f66;
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 110px;
  gap: 24px;
  transition: min-height 350ms var(--ease-out);
}
.header.is-compact .nav {
  min-height: 76px;
}
.nav-links {
  display: flex;
  gap: 30px;
  font-weight: 700;
  font-size: 15px;
}
.nav-links a,
.text-link {
  padding-block: 10px;
}
.nav-links a:hover,
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 35px;
  font-weight: 900;
  line-height: 0.76;
  letter-spacing: -0.05em;
  transform: rotate(-5deg) scale(var(--mark, 1));
  transform-origin: center;
  transition: transform 350ms var(--ease-out);
  text-align: center;
}
.header.is-compact .wordmark {
  --mark: 0.82;
}
.wordmark span {
  display: block;
  font-size: 42px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  transform: translateY(var(--lift, 0)) scale(var(--press, 1));
  transition:
    transform 220ms var(--ease-out),
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 220ms var(--ease-out);
}
.button:active {
  --press: 0.96;
  transition-duration: 80ms;
}
.button-blue {
  background: var(--blue);
  color: var(--cream);
}
.button-yellow {
  background: var(--yellow);
  color: var(--deep);
}
.nav-order {
  justify-self: end;
}
.hero {
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  color: var(--cream);
}
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8px -24px -28px;
  background: #051d6c80;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-mask-image: radial-gradient(ellipse, #000 55%, transparent 76%);
  mask-image: radial-gradient(ellipse, #000 55%, transparent 76%);
  pointer-events: none;
}
.hero-intro {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
h1 {
  font-size: clamp(90px, 11vw, 158px);
  color: var(--yellow);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-align: center;
}
.title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.title-line > span {
  display: block;
  animation: title-enter 900ms var(--ease-out) both;
}
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin: 16px auto 0;
}
.hero-bottom p {
  font-size: 16px;
  line-height: 1.5;
}
.hero-photo-wrap {
  position: relative;
}
.burger-stage {
  position: relative;
  height: clamp(700px, 61vw, 830px);
  isolation: isolate;
}
.burger-arrangement {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: clamp(200px, 43vw, 550px);
}
.burger-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background: url("assets/hero-background-1672.webp") center bottom / cover
    no-repeat;
}
.floating-burger {
  position: absolute;
  width: 36%;
  height: 90%;
  isolation: isolate;
}
.floating-burger::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 11%;
  bottom: 3%;
  width: 78%;
  height: 9%;
  background: radial-gradient(
    ellipse at center,
    #251c135c 0%,
    #251c1333 30%,
    #251c1314 50%,
    transparent 72%
  );
  pointer-events: none;
}
.floating-burger img {
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 12px #251c1333);
  transform: rotate(0deg);
  transition: transform 450ms var(--ease-out);
  animation: burger-idle 4.8s ease-in-out infinite;
  user-select: none;
}
.burger-double {
  left: 0;
  top: 0;
}
.burger-double img {
  transform: rotate(-3deg);
  animation-delay: -1.2s;
}
.burger-classic {
  z-index: 1;
  left: 25%;
  top: 8%;
  width: 48%;
  height: 96%;
}
.burger-classic img {
  animation-duration: 5.6s;
  animation-delay: -0.5s;
}
.burger-chicken {
  left: 64%;
  top: 2%;
}
.burger-chicken img {
  transform: rotate(3deg);
  animation-duration: 5.1s;
  animation-delay: -2.6s;
}
.burger-stage.is-paused img {
  animation-play-state: paused;
}
.motion-toggle {
  min-height: 44px;
  padding: 0 0 0 16px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.photo-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 0 28px;
}
.club {
  margin-top: 42px;
  padding: 80px 0 90px;
  background: var(--yellow);
}
.club-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.club h2 {
  font-size: clamp(60px, 7vw, 100px);
}
.club-copy {
  max-width: 480px;
}
.club-copy p:first-child {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.club-copy p + p {
  margin-top: 22px;
  color: var(--deep);
}
.text-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.menu-section {
  padding-block: 94px;
}
.menu-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.menu-heading h2 {
  font-size: clamp(65px, 8.5vw, 120px);
}
.menu-heading > p {
  max-width: 320px;
  padding-bottom: 8px;
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 36px 0;
}
.filter {
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: 100px;
  background: transparent;
  min-height: 46px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 700;
  transform: scale(var(--press, 1));
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 150ms var(--ease-out);
}
.filter:active {
  --press: 0.96;
}
.filter.active {
  background: var(--blue);
  color: var(--cream);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px 28px;
  align-items: start;
}
.product {
  transition: transform 400ms var(--ease-out);
}
.product[hidden] {
  display: none;
}
.product-photo {
  overflow: hidden;
  position: relative;
  background: #e8dcb9;
  aspect-ratio: 1.25;
}
.product-photo img {
  height: 100%;
  transition: transform 500ms var(--ease-out);
}
.product[data-category="burger"] .product-photo,
.product-cutout .product-photo {
  background: var(--cream);
}
.product[data-category="burger"] .product-photo img,
.product-cutout .product-photo img {
  object-fit: contain;
  padding: 16px 8px;
}
.product-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--yellow);
  color: var(--deep);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50px;
  padding: 7px 13px;
}
.product-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 20px;
}
.product h3 {
  font-size: clamp(29px, 2.7vw, 39px);
  line-height: 1;
}
.price {
  white-space: nowrap;
  font-weight: 700;
  font-size: 17px;
  transition:
    color 200ms ease,
    transform 300ms var(--ease-out);
}
.product > p {
  font-size: 15px;
  color: var(--ink);
  margin-top: 11px;
  line-height: 1.6;
}
.menu-note {
  margin-top: 38px;
  font-size: 14px;
  color: var(--deep);
}
.order-section {
  background: var(--blue);
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}
.order-inner {
  padding-block: 72px 80px;
}
.order-inner > p:first-child {
  font-size: 18px;
  font-weight: 500;
}
.order-inner h2 {
  font-size: clamp(90px, 12vw, 166px);
  margin: 24px 0 28px;
  line-height: 0.82;
  font-weight: 900;
}
.order-inner > .button {
  margin-top: 28px;
}
.order-small {
  display: block;
  font-size: 14px;
  margin-top: 15px;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 34px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
}
.footer > p {
  font-size: 14px;
}
.demo-note {
  font-size: 13px !important;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: 20px;
  z-index: 10;
  background: var(--cream);
  padding: 10px 20px;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
dialog {
  border: 2px solid var(--blue);
  padding: 0;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  background: var(--cream);
  color: var(--blue);
  box-shadow: 12px 12px 0 #152c75;
  overflow-y: auto;
}
dialog::backdrop {
  background: #102047b3;
}
.dialog-inner {
  position: relative;
  padding: 48px 40px 38px;
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 8px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  font-size: 36px;
  color: var(--blue);
  line-height: 1;
}
.dialog-kicker {
  font-weight: 700;
  margin-bottom: 16px;
}
.dialog-inner h2 {
  font-size: 60px;
  margin-bottom: 22px;
}
.dialog-inner > p {
  max-width: 420px;
}
.phone-placeholder {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 24px 0;
  padding: 20px;
  background: var(--yellow);
}
.phone-placeholder strong {
  font-size: 18px;
}
.phone-placeholder span,
.dialog-note {
  font-size: 14px;
}
.dialog-back {
  margin-top: 24px;
}
.dialog-note {
  color: var(--deep);
}
@media (hover: hover) and (pointer: fine) {
  .button:hover {
    --lift: -3px;
    box-shadow: 0 12px 24px -14px #19378f99;
  }
  .button-blue:hover {
    background: var(--deep);
  }
  .button-yellow:hover {
    background: #ffe27b;
  }
  .product:hover {
    transform: translateY(-6px);
  }
  .product:hover .product-photo img {
    transform: scale(1.05) rotate(-1deg);
  }
  .product:hover .price {
    color: var(--deep);
    transform: translateX(-2px);
  }
  .filter:hover {
    background: var(--blue);
    color: var(--cream);
  }
}
@keyframes burger-idle {
  0%,
  100% {
    translate: 0 3px;
  }
  50% {
    translate: 0 -9px;
  }
}
@keyframes title-enter {
  from {
    transform: translateY(110%) rotate(2deg);
  }
  to {
    transform: translateY(0) rotate(0);
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 1000px) {
  .shell {
    width: calc(100% - 56px);
  }
  .club-inner {
    gap: 50px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product h3 {
    font-size: 36px;
  }
  .footer {
    flex-wrap: wrap;
  }
  .footer .demo-note {
    width: 100%;
  }
  .hero-bottom {
    gap: 28px;
  }
}
@media (max-width: 600px) {
  html {
    scroll-padding-top: 24px;
  }
  .shell {
    width: calc(100% - 36px);
  }
  .nav {
    min-height: 92px;
    gap: 12px;
    grid-template-columns: 1fr auto 1fr;
  }
  .nav-links {
    font-size: 14px;
    gap: 0;
  }
  .nav-links a:nth-child(2) {
    display: none;
  }
  .nav-order {
    padding: 10px 15px;
    min-height: 44px;
    font-size: 13px;
  }
  .wordmark {
    font-size: 28px;
  }
  .wordmark span {
    font-size: 34px;
  }
  .hero-copy {
    padding-top: 30px;
  }
  .hero-intro {
    font-size: 14px;
    margin-bottom: 18px;
  }
  h1 {
    font-size: clamp(76px, 20.5vw, 118px);
  }
  .hero-bottom {
    flex-direction: column;
    gap: 18px;
    margin: 16px 0 0;
    text-align: center;
  }
  .hero-bottom p {
    font-size: 15px;
  }
  .burger-stage {
    height: clamp(590px, 125vw, 750px);
  }
  .burger-arrangement {
    height: clamp(185px, 50vw, 300px);
  }
  .floating-burger img {
    filter: drop-shadow(0 8px 6px #251c1333);
  }
  .burger-stage::before {
    background-image: url("assets/hero-background-900.webp");
  }
  .photo-caption {
    font-size: 12px;
    gap: 20px;
    padding-top: 13px;
  }
  .photo-caption span:last-child {
    text-align: right;
  }
  .club {
    margin-top: 18px;
    padding: 48px 0;
  }
  .club-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .club h2 {
    font-size: 65px;
  }
  .club-copy p:first-child {
    font-size: 23px;
  }
  .club-copy p + p {
    font-size: 15px;
    margin-top: 17px;
  }
  .menu-section {
    padding-block: 54px;
  }
  .menu-heading {
    display: block;
  }
  .menu-heading h2 {
    font-size: 70px;
  }
  .menu-heading > p {
    font-size: 15px;
    padding: 22px 0 0;
  }
  .filters {
    gap: 8px;
    margin: 26px 0;
  }
  .filter {
    font-size: 14px;
    padding: 10px 16px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .product-photo {
    aspect-ratio: 1.2;
  }
  .product-heading {
    padding-top: 16px;
  }
  .product h3 {
    font-size: 37px;
  }
  .product > p {
    margin-top: 8px;
  }
  .order-inner {
    padding-block: 52px;
  }
  .order-inner h2 {
    font-size: 93px;
    margin: 25px 0;
  }
  .order-inner > p {
    font-size: 16px;
  }
  .footer {
    gap: 17px;
    padding-block: 28px;
  }
  .footer-logo {
    font-size: 28px;
  }
  .footer > p {
    font-size: 13px;
  }
  .dialog-inner {
    padding: 46px 24px 28px;
  }
  .dialog-inner h2 {
    font-size: 49px;
  }
  .dialog-inner > p {
    font-size: 15px;
  }
  .phone-placeholder {
    padding: 16px;
  }
  .phone-placeholder span {
    font-size: 13px;
  }
}
/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms var(--ease-out),
    transform 900ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition-delay: var(--d, 0ms), var(--d, 0ms), 0ms;
}
.js .product[data-reveal].is-visible {
  transition:
    opacity 700ms var(--ease-out) var(--d, 0ms),
    transform 400ms var(--ease-out);
}

/* ---------- Hero scroll parallax (CSS only, progressive) ---------- */
@supports (animation-timeline: scroll()) {
  .hero-copy {
    animation: hero-copy-drift linear both;
    animation-timeline: scroll();
    animation-range: 0 70vh;
  }
  .burger-arrangement {
    animation: hero-burgers-drift linear both;
    animation-timeline: scroll();
    animation-range: 0 90vh;
  }
}
@keyframes hero-copy-drift {
  to {
    transform: translateY(70px);
    opacity: 0;
  }
}
@keyframes hero-burgers-drift {
  to {
    transform: translateY(40px);
  }
}

/* ---------- View transitions on filters ---------- */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
}
::view-transition-group(*) {
  animation-duration: 420ms;
  animation-timing-function: var(--ease-out);
}
::view-transition-old(*):only-child {
  animation: vt-out 240ms ease-in both;
}
::view-transition-new(*):only-child {
  animation: vt-in 380ms var(--ease-out) both;
}
@keyframes vt-out {
  to {
    opacity: 0;
    transform: scale(0.94) translateY(10px);
  }
}
@keyframes vt-in {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(16px);
  }
}

/* ---------- Reduced motion (kept last so it wins) ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .title-line > span {
    animation-name: fade;
    animation-duration: 200ms;
    animation-delay: 0ms;
  }
  .floating-burger img {
    animation: none;
    translate: none;
    transition: none;
  }
  .motion-toggle {
    display: none;
  }
  .button,
  .filter,
  .product-photo img {
    transition-property: background-color, color;
  }
  .button:hover,
  .product:hover,
  .product:hover .product-photo img,
  .product:hover .price {
    transform: none;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-copy,
  .burger-arrangement {
    animation: none;
  }
  .nav,
  .wordmark {
    transition: none;
  }
}
