/* Dapoer Kemiri — batik indigo, kunyit, daun pandan.
   Layout: banner foto penuh lebar + konten dalam kolom 1120px, grid kartu menu. */
:root {
  --bg: #fbfaf6;
  --surface: #ffffff;
  --sunk: #f1efe6;
  --fg: #1c2133;
  --muted: #5d6275;
  --line: #e2dfd3;
  --indigo: #23305a;
  --kunyit: #c98a12;
  --kunyit-soft: #f6e6c2;
  --pandan: #3d6b4b;
  --cabai: #b4332a;
  --on-dark: #fbfaf6;
  --font-display: "Gloock", "Georgia", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --radius: 10px;
  --wrap: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12151f; --surface: #1a1e2b; --sunk: #161a25; --fg: #ece9df; --muted: #a3a6b4;
    --line: #2c3142; --indigo: #9fb0e6; --kunyit: #e8ac3a; --kunyit-soft: #3a2f17;
    --pandan: #7fb08d; --cabai: #ec6b5f; --on-dark: #fbfaf6; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12151f; --surface: #1a1e2b; --sunk: #161a25; --fg: #ece9df; --muted: #a3a6b4;
  --line: #2c3142; --indigo: #9fb0e6; --kunyit: #e8ac3a; --kunyit-soft: #3a2f17;
  --pandan: #7fb08d; --cabai: #ec6b5f; --on-dark: #fbfaf6; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--kunyit); outline-offset: 2px; border-radius: 4px;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.prose { max-width: 66ch; display: grid; gap: 1.1rem; }
.prose h2 { margin-top: 1.4rem; font-size: 1.8rem; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3rem; display: grid; gap: .4rem; }
.eyebrow {
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--kunyit); font-weight: 500;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 14px; z-index: 99; }
.skip:focus { left: 16px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 50%; background: var(--indigo); color: var(--bg);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1.15rem;
}
.brand-name { font-family: var(--font-display); font-size: 1.35rem; line-height: 1; }
.brand-sub { display: block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 11px; border-radius: 6px; text-decoration: none; color: var(--fg); font-size: .92rem; font-weight: 500;
}
.nav-links a:hover { background: var(--sunk); }
.nav-links a[aria-current="page"] { color: var(--kunyit); }
.nav-links .btn { margin-left: 8px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--fg); border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; gap: 2px;
  }
  .nav-links:not(.open) { display: none; }
  .nav-links .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--kunyit); color: #1c1407; }
.nav-links a.btn-primary { color: #1c1407; }
.btn-primary:hover { background: color-mix(in srgb, var(--kunyit) 88%, #000); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }

/* Banner (hero) */
.banner { position: relative; isolation: isolate; color: var(--on-dark); overflow: hidden; background: #1b2238; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(14,18,34,.88) 0%, rgba(14,18,34,.62) 50%, rgba(14,18,34,.2) 100%);
}
.banner .wrap { padding-block: clamp(72px, 12vw, 150px); display: grid; gap: 20px; }
.banner--sub .wrap { padding-block: clamp(56px, 8vw, 96px); }
.banner .eyebrow { color: #f2c35d; }
.banner .lead { color: rgba(251,250,246,.86); }
.banner-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.banner-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px; font-family: var(--font-mono); font-size: .82rem; color: rgba(251,250,246,.8); }
.banner-credit { position: absolute; right: 12px; bottom: 8px; font-size: .68rem; color: rgba(251,250,246,.6); }
.banner-credit a { color: inherit; }
.crumbs { font-size: .85rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: rgba(251,250,246,.85); }

/* Batik strip — kawung motif as a divider */
.kawung {
  height: 18px; background-color: var(--indigo);
  background-image: radial-gradient(ellipse 5px 8px at 50% 0, var(--kunyit) 98%, transparent 100%),
                    radial-gradient(ellipse 5px 8px at 50% 100%, var(--kunyit) 98%, transparent 100%),
                    radial-gradient(ellipse 8px 5px at 0 50%, var(--kunyit) 98%, transparent 100%),
                    radial-gradient(ellipse 8px 5px at 100% 50%, var(--kunyit) 98%, transparent 100%);
  background-size: 18px 18px; opacity: .9;
}

/* Sections */
section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { display: grid; gap: 10px; margin-bottom: 36px; max-width: 680px; }
.section-head p { color: var(--muted); }
.sunk { background: var(--sunk); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
.split img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Menu cards */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.dish { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dish img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.dish-body { padding: 16px 18px 18px; display: grid; gap: 8px; flex: 1; align-content: start; }
.dish-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.dish h3 { font-size: 1.2rem; }
.price { font-family: var(--font-mono); font-size: .9rem; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.origin { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--pandan); }
.dish p { color: var(--muted); font-size: .93rem; }
.heat { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); }
.heat i { display: inline-flex; gap: 2px; }
.heat i b { width: 7px; height: 12px; border-radius: 3px 3px 6px 6px; background: var(--line); }
.heat i b.on { background: var(--cabai); }

/* Menu page list */
.menu-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.menu-tabs a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--fg); font-size: .9rem; font-weight: 500; background: var(--surface); }
.menu-tabs a:hover { border-color: var(--kunyit); }
.menu-cat { scroll-margin-top: 90px; padding-block: 28px; border-top: 1px solid var(--line); }
.menu-cat:first-of-type { border-top: 0; }
.menu-cat > h2 { margin-bottom: 6px; }
.menu-cat > p { color: var(--muted); margin-bottom: 22px; }
.menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 48px; }
@media (max-width: 760px) { .menu-list { grid-template-columns: 1fr; } }
.menu-item { padding-block: 16px; border-bottom: 1px dashed var(--line); display: grid; gap: 4px; }
.menu-item .row { display: flex; align-items: baseline; gap: 10px; }
.menu-item h3 { font-size: 1.15rem; }
.menu-item .dots { flex: 1; border-bottom: 1px dotted var(--muted); opacity: .5; transform: translateY(-4px); min-width: 20px; }
.menu-item p { color: var(--muted); font-size: .92rem; }
.tag { display: inline-block; font-size: .7rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; background: var(--kunyit-soft); color: var(--fg); margin-right: 6px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px; }
.feature { display: grid; gap: 8px; align-content: start; }
.feature .num { font-family: var(--font-display); font-size: 2.6rem; color: var(--kunyit); line-height: 1; font-variant-numeric: tabular-nums; }
.feature p { color: var(--muted); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; align-content: space-between; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.45; }
.quote figcaption { font-size: .88rem; color: var(--muted); }
.quote figcaption strong { color: var(--fg); display: block; }

/* CTA band */
.cta-band { background: var(--indigo); color: var(--bg); }
:root[data-theme="dark"] .cta-band { color: #12151f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta-band { color: #12151f; } }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta-band p { opacity: .85; margin-top: 8px; }

/* Gallery */
.gallery { columns: 3 260px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; }
.gallery img { width: 100%; border-radius: 8px; }
.gallery figcaption { font-size: .82rem; color: var(--muted); padding-top: 6px; }

/* Forms */
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .88rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: 11px 13px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { padding: 14px 16px; border-radius: 8px; background: color-mix(in srgb, var(--pandan) 14%, var(--surface)); border: 1px solid var(--pandan); font-size: .93rem; }

/* Info table */
.info { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info dt { font-weight: 600; font-size: .9rem; }
.info dd { margin: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .info div { grid-template-columns: 1fr; gap: 2px; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 800px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--kunyit); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 16px; color: var(--muted); }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 26px; }
.post { display: grid; gap: 10px; align-content: start; text-decoration: none; color: var(--fg); }
.post img { aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); width: 100%; }
.post time, .post .meta { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }
.post h3 { font-size: 1.35rem; }
.post:hover h3 { color: var(--kunyit); }
.post p { color: var(--muted); font-size: .95rem; }
.article-cover { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; width: 100%; margin-bottom: 8px; }
.recipe-box { background: var(--kunyit-soft); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 10px; }

/* Footer */
.site-footer { background: var(--sunk); border-top: 1px solid var(--line); padding-block: 56px 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h2 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; color: var(--muted); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-grid a { color: var(--fg); text-decoration: none; }
.footer-grid a:hover { color: var(--kunyit); }
.footer-grid address { font-style: normal; color: var(--muted); display: grid; gap: 4px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .82rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
