@font-face {
  font-family: 'TT Norms';
  src: url('assets/tt-norms-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'TT Norms';
  src: url('assets/tt-norms-bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

@font-face {
  font-family: 'Great Vibes';
  src: url('assets/great-vibes.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #201a17;
  --saffron: #f3d174;
  --paper: #fffefa;
  font-family: 'TT Norms', Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  z-index: 5;
  top: -4rem;
  left: 1rem;
  padding: .6rem 1rem;
  border-radius: .5rem;
  color: var(--ink);
  background: var(--saffron);
}

.skip-link:focus {
  top: 1rem;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid rgb(32 26 23 / 12%);
  background: var(--saffron);
}

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

.marquee--sauces .marquee-track {
  animation-direction: reverse;
}

.marquee-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.marquee-group span {
  display: inline-flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: .85rem 0 .85rem clamp(1rem, 2.5vw, 2rem);
  font-size: clamp(.9rem, 1.7vw, 1.05rem);
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.marquee-group span::after,
.welcome span:not(:last-child)::after {
  width: .3em;
  height: .3em;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  content: '';
}

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

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(690px, 78svh);
  min-height: clamp(520px, 76svh, 720px);
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 2.5rem 1.25rem 4.5rem;
  text-align: center;
}

.hero-backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url('assets/pasta-ribbon-background.jpg');
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgb(255 250 240 / 48%), rgb(255 250 240 / 62%) 55%, rgb(255 250 240 / 56%));
  content: '';
}

.hero-content {
  display: flex;
  width: min(100%, 820px);
  container-type: inline-size;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: clamp(132px, 23vw, 208px);
  height: auto;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, #fff 94%, transparent 94%);
}

h1 {
  margin: 0;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.25rem, 6.3vw, 5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
  text-wrap: balance;
}

.welcome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  width: 100%;
  margin: 1rem 0 0;
  font-size: min(2.25rem, 3.8cqw);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
  white-space: nowrap;
}

.welcome span {
  display: inline-flex;
  align-items: center;
  gap: .65em;
}

.open-status {
  margin: 1.15rem 0 0;
  padding: .6rem 1.1rem .6rem 1.3rem;
  border: 1px solid #a98a40;
  border-radius: 8px;
  color: var(--ink);
  background: var(--saffron);
  box-shadow: inset 0 0 7px rgb(255 255 255 / 25%), 0 0 9px rgb(185 153 101 / 18%);
  font-size: clamp(.95rem, 2vw, 1.1rem);
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.3;
  text-shadow: 0 0 3px rgb(255 255 255 / 45%);
}

.order-actions {
  display: grid;
  width: min(100%, 420px);
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  gap: .85rem;
  margin-top: 1.25rem;
}

.action-button {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: 2px 2px 0 var(--ink);
  font: inherit;
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.action-button:hover {
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px);
}

.action-button--primary {
  background: #fff;
}

.action-button--pickup {
  background: #fff;
}

.action-button--catering {
  background: var(--saffron);
}

.delivery-options {
  display: grid;
  grid-column: 1 / -1;
  justify-items: center;
  gap: .45rem;
}

.delivery-options > p {
  margin: 0;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.delivery-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
}

.delivery-button {
  display: inline-flex;
  min-width: 142px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: .55rem .8rem;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: 2px 2px 0 var(--ink);
}

.delivery-button img {
  width: auto;
  max-width: 132px;
  height: 22px;
}

.delivery-button--doordash img {
  width: 132px;
  height: auto;
}

.delivery-button--ubereats:disabled {
  cursor: not-allowed;
  opacity: .58;
  box-shadow: 1px 1px 0 var(--ink);
}

.delivery-button--ubereats:not(:disabled) {
  transition: transform .18s ease, box-shadow .18s ease;
}

.delivery-button--ubereats:not(:disabled):hover {
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px);
}

.hero-address {
  position: absolute;
  right: 1rem;
  bottom: 1.1rem;
  left: 1rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}

.construction {
  display: grid;
  justify-items: center;
  gap: .65rem;
  padding: clamp(2rem, 6vw, 3.5rem) 1rem clamp(1.5rem, 4vw, 2.5rem);
  border-top: 1px solid rgb(32 26 23 / 12%);
  background: #fbf7ed;
  text-align: center;
}

.construction-rule {
  width: min(100%, 3rem);
  height: 3px;
  margin-bottom: .3rem;
  background: var(--saffron);
}

.construction .eyebrow {
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.construction h2 {
  margin: 0;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  letter-spacing: -.04em;
}

.construction > p:not(.eyebrow) {
  margin: 0;
  color: #514840;
}

.construction small {
  margin-top: .7rem;
  color: #665e55;
  font-size: .78rem;
}

@media (max-width: 520px) {
  .hero {
    min-height: 790px;
    min-height: max(790px, 92svh);
    padding-inline: .85rem;
  }

  .hero-backdrop {
    background-position: 52% center;
  }

  .hero-logo {
    margin-bottom: 1.1rem;
  }

  h1 {
    max-width: 12ch;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .marquee-track {
    animation: none;
  }

  .marquee-track .marquee-group[aria-hidden='true'] {
    display: none;
  }

}
