:root {
  --chocolate: #5a2e1b;
  --chocolate-deep: #24140e;
  --banana: #f4b72a;
  --fried: #d8902f;
  --cream: #fff3d7;
  --paper: #fff9ec;
  --peanut: #c78b4a;
  --chili: #c8322b;
  --leaf: #176b41;
  --line: rgba(90, 46, 27, 0.18);
  --shadow: 0 16px 42px rgba(74, 38, 19, 0.14);
  --radius: 8px;
  --header-height: 76px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 14%, rgba(244, 183, 42, 0.18), transparent 28%),
    linear-gradient(180deg, var(--cream), #fffaf0 46%, #fff2d4 100%);
  color: var(--chocolate-deep);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  padding-bottom: 76px;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 243, 215, 0.88);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  min-height: var(--header-height);
  padding: 12px clamp(18px, 4vw, 44px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  background: var(--chocolate);
  border: 2px solid rgba(244, 183, 42, 0.7);
  border-radius: 8px;
  color: var(--banana);
  display: inline-flex;
  flex: 0 0 42px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  line-height: 1;
  width: 42px;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.brand small {
  color: rgba(36, 20, 14, 0.7);
  display: block;
  font-size: 0.75rem;
  margin-top: -3px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  justify-content: center;
}

.nav-links a {
  color: rgba(36, 20, 14, 0.78);
  font-size: 0.94rem;
  font-weight: 750;
}

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

.header-actions,
.hero-actions,
.location-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 850;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--chili);
  box-shadow: 0 10px 24px rgba(200, 50, 43, 0.22);
  color: #fffaf0;
}

.btn-outline {
  background: rgba(255, 249, 236, 0.72);
  border-color: rgba(90, 46, 27, 0.25);
  color: var(--chocolate);
}

.btn-light {
  background: rgba(255, 249, 236, 0.92);
  color: var(--chocolate);
}

.btn-large {
  min-height: 52px;
  padding-inline: 20px;
}

.btn-whatsapp {
  background: var(--leaf);
  color: white;
  width: fit-content;
}

.btn-gofood {
  background: #d71920;
  color: white;
  width: fit-content;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  margin-left: auto;
  padding: 8px;
  width: 42px;
}

.nav-toggle span {
  background: var(--chocolate);
  border-radius: 99px;
  display: block;
  height: 2px;
  margin: 7px auto;
  width: 23px;
}

.hero {
  align-items: center;
  display: flex;
  min-height: clamp(560px, calc(82svh - var(--header-height)), 740px);
  overflow: hidden;
  padding: clamp(30px, 5vw, 58px) clamp(18px, 5vw, 72px);
  position: relative;
}

.hero-bg {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 63% center;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(255, 243, 215, 0.97) 0%, rgba(255, 243, 215, 0.86) 34%, rgba(255, 243, 215, 0.24) 63%, rgba(36, 20, 14, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 243, 215, 0.22), rgba(90, 46, 27, 0.18));
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--chili);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--chocolate);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5.1rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.55rem);
  max-width: 780px;
}

h3 {
  font-size: 1.55rem;
}

.hero-copy {
  color: rgba(36, 20, 14, 0.82);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin: 22px 0 24px;
  max-width: 590px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.hero-badges span {
  background: rgba(255, 249, 236, 0.78);
  border: 1px solid rgba(90, 46, 27, 0.18);
  border-radius: 8px;
  color: var(--chocolate);
  font-size: 0.83rem;
  font-weight: 800;
  padding: 8px 10px;
}

.section {
  margin-inline: auto;
  max-width: 1180px;
  padding: clamp(54px, 8vw, 92px) clamp(18px, 4vw, 36px);
}

.intro-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 22px;
  padding-top: 22px;
}

.strip-item {
  background: rgba(255, 249, 236, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(90, 46, 27, 0.08);
  padding: 16px;
}

.strip-item strong {
  color: var(--chocolate);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.1;
}

.strip-item span {
  color: rgba(36, 20, 14, 0.72);
  display: block;
  font-size: 0.94rem;
  margin-top: 4px;
}

.section-heading {
  margin-bottom: 30px;
}

.story-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.story-grid > p {
  font-size: 1.08rem;
  margin: 0;
  max-width: 710px;
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.timeline span {
  color: var(--chili);
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.timeline strong {
  color: var(--chocolate);
}

.product-grid,
.order-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.order-card,
.testimonial-grid blockquote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.product-photo img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-photo-pisang img {
  object-position: 60% 58%;
}

.product-photo-tahu img {
  object-position: 62% 26%;
}

.product-photo-risoles img {
  object-position: 86% 50%;
}

.product-photo span {
  background: var(--banana);
  border: 1px solid rgba(90, 46, 27, 0.18);
  border-radius: 8px;
  color: var(--chocolate);
  font-size: 0.78rem;
  font-weight: 900;
  left: 12px;
  padding: 7px 9px;
  position: absolute;
  top: 12px;
}

.product-body {
  padding: 20px;
}

.product-body p {
  color: rgba(36, 20, 14, 0.76);
  margin: 10px 0;
}

.product-body small {
  color: rgba(90, 46, 27, 0.76);
  display: block;
  font-weight: 750;
  min-height: 44px;
}

.text-link {
  color: var(--chili);
  display: inline-flex;
  font-weight: 900;
  margin-top: 16px;
}

.menu-heading {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.menu-note,
.asset-note {
  color: rgba(36, 20, 14, 0.66);
  font-size: 0.94rem;
  margin: 0;
  max-width: 360px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  background: rgba(255, 249, 236, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--chocolate);
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  font-weight: 850;
  min-height: 42px;
  padding: 9px 14px;
}

.filter-tab.active {
  background: var(--chocolate);
  border-color: var(--chocolate);
  color: var(--banana);
}

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

.menu-item {
  background: rgba(255, 249, 236, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--chocolate);
  font-weight: 800;
  min-height: 58px;
  padding: 14px;
}

.order-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-card {
  min-height: 310px;
  padding: clamp(22px, 4vw, 34px);
}

.order-card h3 {
  margin-bottom: 16px;
}

.order-card ol {
  margin: 0 0 22px;
  padding-left: 21px;
}

.order-card p,
.order-card li {
  color: rgba(36, 20, 14, 0.78);
}

.whatsapp-card {
  background: linear-gradient(135deg, #fff9ec, rgba(23, 107, 65, 0.13));
}

.gofood-card {
  background: linear-gradient(135deg, #fff9ec, rgba(200, 50, 43, 0.12));
}

.gallery-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.gallery-grid figure {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0;
  overflow: hidden;
}

.gallery-grid img {
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.gallery-grid figure:nth-child(1) img {
  object-position: 60% 58%;
}

.gallery-grid figure:nth-child(2) img {
  object-position: 63% 23%;
}

.gallery-grid figure:nth-child(3) img {
  object-position: 88% 54%;
}

.gallery-grid figure:nth-child(4) img {
  object-position: 52% 16%;
}

.gallery-grid figure:nth-child(5) img {
  object-position: 78% 42%;
}

.gallery-grid figure:nth-child(6) img {
  object-position: 34% 36%;
}

.gallery-grid figcaption {
  color: rgba(36, 20, 14, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 9px;
}

.asset-note {
  margin-top: 14px;
  max-width: 560px;
}

.testimonial-grid blockquote {
  color: var(--chocolate);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.38rem;
  line-height: 1.25;
  margin: 0;
  min-height: 150px;
  padding: 24px;
}

.location-section {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.location-copy {
  background: var(--chocolate);
  border-radius: var(--radius);
  color: #fff9ec;
  padding: clamp(24px, 5vw, 42px);
}

.location-copy h2 {
  color: var(--banana);
}

.location-copy .eyebrow {
  color: #ffcf75;
}

.location-copy p {
  color: rgba(255, 249, 236, 0.84);
}

.map-frame {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 360px;
  overflow: hidden;
}

.map-frame iframe {
  border: 0;
  height: 100%;
  min-height: 360px;
  width: 100%;
}

.footer {
  background: var(--chocolate-deep);
  color: rgba(255, 249, 236, 0.8);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
  padding: 44px clamp(18px, 4vw, 48px) 96px;
}

.footer .brand-mark {
  background: var(--banana);
  color: var(--chocolate);
}

.footer strong {
  color: #fff9ec;
}

.footer small {
  color: rgba(255, 249, 236, 0.7);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #ffce73;
}

.copyright {
  grid-column: 1 / -1;
}

.floating-whatsapp {
  align-items: center;
  background: var(--leaf);
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  bottom: 20px;
  box-shadow: 0 14px 34px rgba(23, 107, 65, 0.32);
  color: white;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 950;
  height: 58px;
  justify-content: center;
  position: fixed;
  right: 18px;
  width: 58px;
  z-index: 25;
}

.mobile-order-bar {
  display: none;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    background: rgba(255, 243, 215, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    inset: var(--header-height) 0 auto 0;
    padding: 20px;
    position: fixed;
    text-align: left;
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    border-bottom: 1px solid rgba(90, 46, 27, 0.12);
    padding: 13px 4px;
  }

  .header-actions {
    display: none;
  }

  .product-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  body {
    padding-bottom: 86px;
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand-mark {
    flex-basis: 38px;
    height: 38px;
    width: 38px;
  }

  .brand strong {
    font-size: 0.96rem;
  }

  .hero {
    align-items: start;
    min-height: clamp(620px, calc(82svh - var(--header-height)), 720px);
    padding: 34px 18px 190px;
  }

  .hero-bg {
    object-position: 68% bottom;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(255, 243, 215, 0.97) 0%, rgba(255, 243, 215, 0.9) 42%, rgba(255, 243, 215, 0.3) 68%, rgba(36, 20, 14, 0.12) 100%),
      linear-gradient(90deg, rgba(255, 243, 215, 0.88), rgba(255, 243, 215, 0.08));
  }

  h1 {
    font-size: clamp(2.7rem, 13.5vw, 3.75rem);
    max-width: 11ch;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-copy {
    max-width: 35ch;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero-badges {
    max-width: 340px;
  }

  .intro-strip,
  .story-grid,
  .product-grid,
  .order-grid,
  .testimonial-grid,
  .location-section,
  .footer {
    grid-template-columns: 1fr;
  }

  .menu-heading {
    align-items: start;
    display: grid;
    gap: 14px;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-item {
    min-height: 64px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .floating-whatsapp {
    bottom: 88px;
    height: 54px;
    width: 54px;
  }

  .mobile-order-bar {
    background: rgba(255, 249, 236, 0.95);
    border-top: 1px solid var(--line);
    bottom: 0;
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    left: 0;
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    z-index: 24;
  }

  .mobile-order-bar a {
    border-radius: 8px;
    color: white;
    display: inline-flex;
    font-weight: 950;
    justify-content: center;
    min-height: 48px;
    padding: 12px;
  }

  .mobile-order-bar a:first-child {
    background: var(--leaf);
  }

  .mobile-order-bar a:last-child {
    background: #d71920;
  }
}

@media (max-width: 430px) {
  .hero {
    padding-bottom: 170px;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .section {
    padding-inline: 14px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }
}
