/* laopino-kitchen.css */

:root {
  --cream: #fff0c4;
  --blue: #0b4559;
  --red: #c93624;
  --yellow: #ffbd36;
  --muted: #49616a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background-color: var(--cream);
  background-image: radial-gradient(#0b45590a 0.6px, transparent 0.6px);
  background-size: 5px 5px;
  color: var(--blue);
}

a {
  text-decoration: none;
  color: inherit;
}

a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 6px;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

/* NAVBAR */

.header {
  width: 100%;
  background: var(--red);
  color: var(--cream);
  border-bottom: 5px solid var(--yellow);
}

.navbar {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  display: block;
  width: 92px;
  height: auto;
  border-radius: 50%;
}

.brand-name {
  display: grid;
  gap: 4px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -1px;
}

.brand-name small {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--yellow);
}

.nav-links .nav-cta {
  padding: 13px 22px;
  background: var(--cream);
  color: var(--blue);
  border-radius: 50px;
  box-shadow: 3px 3px 0 var(--blue);
}

.nav-links .nav-cta:hover {
  background: var(--yellow);
  color: var(--blue);
}

/* HERO */

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 70px;
  padding: 70px 0 90px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  margin-bottom: 24px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3Cpath id='ray' d='M29 22 27 6 32 1 37 6 35 22Z'/%3E%3C/defs%3E%3Ccircle cx='32' cy='32' r='12'/%3E%3Cuse href='%23ray'/%3E%3Cuse href='%23ray' transform='rotate(45 32 32)'/%3E%3Cuse href='%23ray' transform='rotate(90 32 32)'/%3E%3Cuse href='%23ray' transform='rotate(135 32 32)'/%3E%3Cuse href='%23ray' transform='rotate(180 32 32)'/%3E%3Cuse href='%23ray' transform='rotate(225 32 32)'/%3E%3Cuse href='%23ray' transform='rotate(270 32 32)'/%3E%3Cuse href='%23ray' transform='rotate(315 32 32)'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero h1,
.hero h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(48px, 5.6vw, 78px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -3.5px;
  margin-bottom: 25px;
}

.hero h1 span,
.hero h2 span {
  color: var(--red);
  font-style: italic;
}

.hero-description {
  max-width: 440px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.btn-primary {
  background: var(--red);
  color: var(--cream);
  padding: 17px 27px;
  border-radius: 50px;
  font-weight: 800;
  border: 2px solid var(--red);
  box-shadow: 4px 4px 0 var(--blue);
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.btn-secondary {
  font-weight: 800;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 4px;
}

.hero-note {
  margin-top: 42px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--blue);
  border-top: 1px solid #0b455930;
  padding-top: 20px;
  max-width: 440px;
}

/* HERO IMAGE */

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 16px;
  border: 2px solid var(--blue);
  /* border-radius: 250px 250px 28px 28px;
  border-radius: 28px; */
  background: var(--red);
  box-shadow: 9px 9px 0 var(--blue);
  transform: rotate(2deg);
}

.visual-caption {
  text-align: center;
  color: var(--cream);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 20px 0 4px;
  /* display: none; */
}

.hero-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  /* border-radius: 230px 230px 12px 12px; */
  /* border-radius: 12px; */
  display: block;
}

.food-sticker {
  position: absolute;
  bottom: 48px;
  left: -38px;
  background: var(--yellow);
  width: 124px;
  height: 124px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  font-family: "Fraunces", Georgia, serif;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 800;
  border: 2px solid var(--blue);
  outline: 5px solid var(--yellow);
  transform: rotate(-12deg);
  box-shadow: inset 0 0 0 5px var(--yellow), inset 0 0 0 6px var(--blue);
}

/* BACKGROUND HERO */

.hero-background {
  background-color: #171717;
  background-image:
    linear-gradient(90deg, #000000b3 0%, #0000008c 45%, #00000033 100%),
    url("food-1.webp");
  background-size: cover;
  background-position: center;
  color: var(--cream);
}

.hero-background .eyebrow,
.hero-background h2 span {
  color: var(--yellow);
}

.hero-background .hero-description,
.hero-background .hero-note {
  color: var(--cream);
}

.hero-background .hero-note {
  border-color: #fff0c460;
}

.hero-background .btn-primary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--blue);
}

.hero-background .btn-primary:hover {
  background: var(--cream);
  border-color: var(--cream);
}

.hero-background .btn-secondary {
  border-color: var(--cream);
}

.hero-background-details {
  display: grid;
  justify-items: center;
  align-self: end;
  gap: 24px;
}

.hero-background-details .food-sticker {
  position: static;
}

/* BOTTOM BANNER */

.bottom-banner {
  background: var(--blue);
  color: var(--cream);
  padding: 24px 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  border-top: 5px solid var(--yellow);
}

.bottom-banner span {
  color: var(--yellow);
  margin: 0 18px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  a {
    transition: none;
  }
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .navbar {
    padding: 12px 0 22px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .navbar .logo {
    transform: translateX(-12px);
  }

  .nav-links {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 42px 0 60px;
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(44px, 9vw, 68px);
    letter-spacing: -2px;
  }

  .hero-visual {
    width: min(100%, 480px);
    justify-self: center;
    transform: rotate(1deg);
  }

  .hero-image {
    height: 360px;
  }

  .food-sticker {
    left: -8px;
  }

  .hero-background {
    background-image:
      linear-gradient(#000000ad, #0000008c),
      url("food-2.webp");
  }

  .hero-background-details {
    justify-items: start;
    padding-left: 8px;
  }
}

@media (max-width: 420px) {
  .logo img {
    width: 78px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .nav-links .nav-cta {
    padding: 10px 14px;
  }

  .hero h1,
  .hero h2 {
    letter-spacing: -2px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .hero-actions {
    gap: 22px;
  }

  .hero-image {
    height: 310px;
  }

  .hero-note {
    font-size: 10px;
  }

  .bottom-banner {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .bottom-banner span {
    margin: 0 5px;
  }
}

/* PAGE SECTIONS */

section[id] {
  scroll-margin-top: 24px;
}

.page-section {
  padding: 90px 0;
}

.section-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.section-title em {
  color: var(--red);
}

.section-copy {
  max-width: 540px;
  color: var(--muted);
  line-height: 1.8;
}

.section-copy + .section-copy {
  margin-top: 18px;
}

.menu-section {
  border-top: 5px solid var(--yellow);
  background: var(--blue);
  color: var(--cream);
}

.menu-section .eyebrow,
.menu-section .section-title em {
  color: var(--yellow);
}

.menu-section .section-copy,
.menu-section .menu-status,
.menu-section .menu-disclaimer {
  color: var(--cream);
}

.menu-section button:focus-visible {
  outline-color: var(--yellow);
}

.menu-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 60px;
  margin-bottom: 40px;
}

.menu-photo {
  position: relative;
}

.menu-photo img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  /* border-radius: 140px 140px 24px 24px; */
  /* border-radius: 24px; */
  /* border-radius: 8px; */
  border: 2px solid var(--cream);
}

.menu-photo figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--blue);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 800;
}

.menu-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid #fff0c440;
}

.menu-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.menu-filter {
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  color: var(--cream);
  background: transparent;
  border: 1px solid var(--cream);
  border-radius: 30px;
  padding: 11px 18px;
  cursor: pointer;
}

.menu-filter:hover,
.menu-filter[aria-pressed="true"] {
  color: var(--blue);
  background: var(--yellow);
  border-color: var(--yellow);
}

button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 5px;
}

.menu-status,
.menu-disclaimer {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.menu-card {
  padding: 28px;
  background: #fff8e1;
  color: var(--blue);
  border: 1px solid #0b455950;
  border-radius: 20px;
}

.menu-card[hidden],
.menu-filters[hidden] {
  display: none;
}

.dish-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.dish-category span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue);
  letter-spacing: 0;
}

.menu-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 25px;
  margin-bottom: 12px;
}

.menu-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.menu-disclaimer {
  margin-top: 24px;
}

.story-section {
  background: var(--red);
  color: var(--cream);
  border-top: 5px solid var(--yellow);
  border-bottom: 5px solid var(--yellow);
}

.story-layout,
.locations-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.story-photo img {
  display: block;
  width: 100%;
  max-height: 550px;
  object-fit: cover;
  border: 2px solid var(--cream);
  /* border-radius: 220px 220px 24px 24px; */
  border-radius: 24px;
  box-shadow: 8px 8px 0 var(--blue);
}

.story-photo figcaption {
  margin-top: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
}

.story-section .eyebrow,
.story-section .section-title em {
  color: var(--yellow);
}

.story-section .section-copy {
  color: var(--cream);
}

.story-signoff {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #fff0c460;
  font-family: "Fraunces", Georgia, serif;
  font-size: 25px;
  line-height: 1.4;
}

.story-decoration {
  display: block;
  width: min(100%, 440px);
  height: auto;
  margin-top: 24px;
}

.locations-heading {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.locations-heading .section-copy,
.stop-card .section-copy {
  margin-inline: auto;
}

.locations-layout {
  grid-template-columns: 1fr;
  gap: 40px;
}

.truck-illustration {
  background: #fff8e1;
  border-radius: 24px;
  border: 2px solid var(--blue);
  box-shadow: 7px 7px 0 var(--yellow);
}

.truck-illustration svg {
  display: block;
  width: 100%;
  height: auto;
}

.truck-illustration figcaption {
  padding: 0 20px 24px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.html-truck-figure {
  width: min(100%, 820px);
  margin: 56px auto 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.truck-image-preview {
  display: block;
  width: min(100%, 820px);
  height: auto;
  margin: 56px auto 0;
  /* filter: sepia(0.15) saturate(0.92) brightness(1.03); */
}

.html-truck-scene {
  position: relative;
  aspect-ratio: 5 / 3;
  container-type: inline-size;
}

.html-truck-scene *,
.html-truck-scene *::before,
.html-truck-scene *::after {
  position: absolute;
}

.html-truck-scene .truck-parts {
  inset: 0;
}

.truck-sun {
  top: 12%;
  left: 78%;
  width: 9%;
  aspect-ratio: 1;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.5;
}

.truck-ground {
  bottom: 11%;
  left: 9%;
  width: 83%;
  height: 5%;
  border-radius: 50%;
  background: #0b45591a;
}

.truck-vent {
  top: 20%;
  left: 26%;
  width: 8%;
  height: 7%;
  border: 0.35cqw solid var(--blue);
  border-radius: 40% 40% 0 0;
  background: linear-gradient(90deg, #8a9b9e, #f4f0df, #8a9b9e);
}

.truck-hitch {
  top: 73%;
  left: 79%;
  width: 15%;
  height: 7%;
  background: #8a9b9e;
  clip-path: polygon(0 0, 20% 0, 100% 90%, 100% 100%, 0 100%);
}

.truck-stand {
  top: 78%;
  left: 89%;
  width: 0.8%;
  height: 10%;
  background: var(--blue);
}

.truck-stand::after {
  content: "";
  bottom: 0;
  left: -120%;
  width: 340%;
  height: 12%;
  border-radius: 4px;
  background: var(--blue);
}

.truck-body {
  top: 28%;
  left: 11%;
  width: 72%;
  height: 49%;
  border: 0.7cqw solid #bcc6c3;
  border-radius: 1cqw;
  background: var(--red);
  box-shadow: 0 0 0 0.3cqw var(--blue);
}

.truck-body::before,
.truck-body::after {
  content: "";
  left: -1.5%;
  width: 103%;
  height: 5%;
  border: 0.25cqw solid var(--blue);
  border-radius: 0.4cqw;
  background: linear-gradient(#f4f0df, #8a9b9e);
  z-index: 2;
}

.truck-body::before {
  top: -6%;
}

.truck-body::after {
  bottom: -4%;
}

.truck-window {
  top: 26%;
  left: 4%;
  width: 55%;
  height: 48%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 0.65cqw solid #c6ccc7;
  background: #12313e;
}

.truck-window span {
  position: relative;
  border-right: 0.5cqw solid #c6ccc7;
  background: linear-gradient(transparent 43%, #c6ccc7 43% 48%, transparent 48%),
    linear-gradient(#245363 0 42%, #12313e 42%);
}

.truck-window span:last-child {
  border-right: 0;
}

.truck-counter {
  top: 74%;
  left: 2%;
  width: 59%;
  height: 4%;
  border: 0.2cqw solid var(--blue);
  border-radius: 0.3cqw;
  background: linear-gradient(#f4f0df, #8a9b9e);
}

.truck-awning {
  top: 9%;
  left: 0;
  width: 63%;
  height: 20%;
  background: #c6ccc7;
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
  z-index: 1;
}

.truck-awning::before {
  content: "";
  inset: 0.5cqw;
  background: #db4530;
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
  border-bottom: 0.7cqw solid var(--yellow);
}

.truck-menu-board {
  top: 31%;
  left: 63%;
  width: 12%;
  height: 46%;
  background: #12313e;
  border: 0.35cqw solid var(--blue);
  border-radius: 0.5cqw;
}

.truck-menu-board::before {
  content: "";
  inset: 13% 18%;
  background: repeating-linear-gradient(to bottom, var(--cream) 0 3%, transparent 3% 17%);
}

.truck-round-logo {
  top: 20%;
  right: 2%;
  width: 21%;
  aspect-ratio: 1;
  border: 0.4cqw solid var(--cream);
  border-radius: 50%;
  overflow: hidden;
}

.truck-round-logo img {
  width: 100%;
  height: 100%;
}

.truck-wheel {
  top: 71%;
  left: 32%;
  width: 10%;
  aspect-ratio: 1;
  border: 1.5cqw solid #17323c;
  border-radius: 50%;
  background: #c6ccc7;
  box-shadow: 0 0 0 0.35cqw var(--blue), 0 -1.2cqw 0 0.4cqw #bcc6c3;
}

.truck-wheel::before {
  content: "";
  inset: 31%;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 -1.7cqw 0 -0.5cqw var(--blue),
    0 1.7cqw 0 -0.5cqw var(--blue),
    -1.7cqw 0 0 -0.5cqw var(--blue),
    1.7cqw 0 0 -0.5cqw var(--blue);
}

.truck-wheel-rear {
  left: 43%;
}

.stop-card {
  width: min(100%, 640px);
  margin-inline: auto;
  text-align: center;
  padding: 32px;
  border: 2px solid var(--blue);
  border-radius: 24px;
  background: #fff8e1;
}

.stop-label {
  display: inline-block;
  padding: 8px 12px;
  margin-bottom: 20px;
  border-radius: 20px;
  background: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.stop-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 30px;
  margin-bottom: 16px;
}

.stop-card .btn-secondary {
  display: inline-block;
  margin-top: 24px;
}

.faq-section {
  padding-top: 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.faq-list details {
  padding: 22px 0;
  border-top: 1px solid #0b455950;
}

.faq-list details:last-child {
  border-bottom: 1px solid #0b455950;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  line-height: 1.5;
}

.faq-list p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.site-footer {
  background: var(--blue);
  color: var(--cream);
  padding: 45px 0 24px;
}

.site-footer .logo img {
  /* border: 6px solid var(--red); */
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-top {
  padding-bottom: 32px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--cream);
  border: 1px solid #fff0c460;
  border-radius: 50%;
}

.social-icon svg {
  width: 22px;
  height: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid #fff0c440;
  padding-top: 24px;
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-intro,
  .story-layout,
  .locations-layout,
  .faq-layout {
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .page-section {
    padding: 60px 0;
  }

  .menu-intro,
  .menu-grid,
  .story-layout,
  .locations-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .section-title {
    letter-spacing: -1.5px;
  }

  .story-photo {
    max-width: 380px;
    margin: 0 auto;
  }

  .menu-photo img {
    height: 260px;
  }

  .stop-card {
    padding: 24px;
  }

  .faq-section {
    padding-top: 0;
  }
}

.d-none {
  display: none !important;
}

.uppercase {
  text-transform: uppercase;
}

.bold {
  font-weight: bold;
}
