/* ============================================================
   On The Table Coffee & Culture — Public styles
   Contemporary Coffee Editorial
   Palet: warm ivory #F6F2EA · deep espresso #28221E
          coffee brown #75523D · muted olive #85836A
          soft white #FFFDF8
   Tanpa gradient mencolok, tanpa glassmorphism, tanpa neon,
   tanpa emoji. Fotografi sebagai elemen utama.
   ============================================================ */

:root {
  --ivory: #F6F2EA;
  --soft-white: #FFFDF8;
  --espresso: #28221E;
  --coffee: #75523D;
  --coffee-deep: #5A3F2E;
  --olive: #85836A;
  --ink: #28221E;
  --ink-soft: #4A4239;
  --ink-faint: #8B8175;
  --line: #E4DACA;
  --line-soft: #EDE6D7;
  --card: #FFFDF8;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
  --narrow: 720px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; margin: 0 0 .55em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1.1em; }
a { color: var(--coffee); text-decoration: none; }
a:hover { color: var(--coffee-deep); }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.narrow { max-width: var(--narrow); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--espresso); color: #fff; padding: 10px 18px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Kicker / label kecil ---------- */
.kicker {
  font-family: var(--sans);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--olive); margin: 0 0 1.1rem;
}
.kicker--light { color: #C9BFAE; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 40px);
  padding-top: 16px; padding-bottom: 16px;
}
.wordmark { line-height: 1.05; color: var(--ink); flex-shrink: 0; }
.wordmark:hover { text-decoration: none; color: var(--ink); }
.wordmark-main { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
.wordmark-sub { display: block; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--olive); margin-top: 3px; }
.site-nav { display: flex; gap: clamp(16px, 2.4vw, 30px); margin-left: auto; }
.site-nav a {
  color: var(--ink-soft); font-size: .94rem; font-weight: 500;
  padding: 6px 2px; position: relative;
  transition: color .2s var(--ease);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--coffee);
  transition: right .25s var(--ease);
}
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav a:hover::after { right: 0; }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; margin-left: auto; padding: 8px; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px;
  background: var(--espresso); color: var(--soft-white); border: 1px solid var(--espresso);
  font-family: var(--sans); font-size: .94rem; font-weight: 600; letter-spacing: .02em;
  cursor: pointer; border-radius: 2px;
  transition: background .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.btn:hover { background: var(--coffee-deep); border-color: var(--coffee-deep); color: var(--soft-white); text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-outline { background: transparent; color: var(--espresso); }
.btn-outline:hover { background: var(--espresso); color: var(--soft-white); }
.btn-sm { padding: 10px 20px; font-size: .86rem; }
.btn svg { flex-shrink: 0; transition: transform .22s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }

/* ---------- Link panah editorial ---------- */
.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .95rem; font-weight: 600; color: var(--espresso);
  border-bottom: 1px solid var(--coffee); padding-bottom: 3px;
  transition: gap .22s var(--ease), color .22s var(--ease);
}
.link-more:hover { color: var(--coffee-deep); text-decoration: none; gap: 12px; }
.link-more svg { transition: transform .22s var(--ease); }

/* ============================================================
   HERO — art-directed, asimetris
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 110px) 0 clamp(40px, 5vw, 80px); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .kicker { margin-bottom: 1.4rem; }
.hero-copy h1 {
  font-size: clamp(2.9rem, 6.4vw, 5.4rem);
  line-height: 1.04; letter-spacing: -0.025em;
  margin-bottom: 1.4rem;
}
.hero-copy h1 em { font-style: italic; color: var(--coffee); }
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft); max-width: 34ch;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  margin-top: 2.6rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex; gap: 2rem; flex-wrap: wrap;
  font-size: .86rem; color: var(--ink-faint);
}
.hero-meta strong { display: block; color: var(--ink-soft); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }
.hero-media { position: relative; }
.hero-media .frame {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5; max-height: 640px;
  border: 1px solid var(--line);
  background: var(--line-soft);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hero-media:hover img { transform: scale(1.03); }
.hero-caption {
  position: absolute; left: -1px; bottom: 28px;
  background: var(--espresso); color: var(--soft-white);
  font-size: .76rem; letter-spacing: .2em; text-transform: uppercase;
  padding: 10px 18px;
}
.hero-figure-note {
  margin-top: 14px; font-size: .82rem; color: var(--ink-faint);
  display: flex; justify-content: space-between; gap: 12px;
}

/* ============================================================
   Section umum
   ============================================================ */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }
.section--dark { background: var(--espresso); color: #EFE8DA; }
.section--dark h2, .section--dark h3 { color: var(--soft-white); }
.section--dark .kicker { color: #B7A98F; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: clamp(28px, 4vw, 52px);
}
.section-head h2 { margin: 0; }
.section-head .kicker { margin-bottom: .8rem; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0 auto; }

/* ============================================================
   Featured menu — layout editorial dinamis
   ============================================================ */
.feat-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(18px, 2.6vw, 32px);
}
.feat-item { position: relative; display: block; color: inherit; }
.feat-item:hover { text-decoration: none; color: inherit; }
.feat-item .ph { overflow: hidden; background: var(--line-soft); border: 1px solid var(--line); position: relative; }
.feat-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.feat-item:hover img { transform: scale(1.04); }
.feat-item .meta { padding: 16px 4px 0; }
.feat-item .meta .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.feat-item h3 { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.45rem); transition: color .2s; }
.feat-item:hover h3 { color: var(--coffee); }
.feat-item .price { font-family: var(--serif); font-weight: 700; color: var(--coffee); font-size: 1.1rem; white-space: nowrap; }
.feat-item .cat { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--olive); margin: 6px 0 0; }
.feat-item .desc { font-size: .92rem; color: var(--ink-soft); margin: 6px 0 0; }
/* Komposisi asimetris: item pertama besar */
.feat-item--lead { grid-column: span 7; }
.feat-item--lead .ph { aspect-ratio: 16 / 10; }
.feat-item--tall { grid-column: span 5; }
.feat-item--tall .ph { aspect-ratio: 3 / 3.4; }
.feat-item--std { grid-column: span 4; }
.feat-item--std .ph { aspect-ratio: 4 / 3; }
.feat-item--wide { grid-column: span 8; }
.feat-item--wide .ph { aspect-ratio: 16 / 8; }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--espresso); color: var(--soft-white);
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px;
}
.badge--olive { background: var(--olive); }

/* ============================================================
   Brand story teaser
   ============================================================ */
.story-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.story-split .ph { overflow: hidden; border: 1px solid var(--line); background: var(--line-soft); aspect-ratio: 4 / 4.6; }
.story-split .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.story-split .ph:hover img { transform: scale(1.03); }
.story-copy h2 { margin-bottom: 1rem; }
.story-copy p { color: var(--ink-soft); max-width: 44ch; }
.story-copy .lede { font-size: 1.12rem; color: var(--ink); }

/* ============================================================
   Galeri editorial
   ============================================================ */
.gal-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px; gap: 14px;
}
.gal-grid figure { margin: 0; overflow: hidden; position: relative; border: 1px solid var(--line); background: var(--line-soft); }
.gal-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gal-grid figure:hover img { transform: scale(1.05); }
.gal-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(40, 34, 30, .72); color: var(--soft-white);
  font-size: .78rem; letter-spacing: .06em; padding: 8px 14px;
  opacity: 0; transform: translateY(6px); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.gal-grid figure:hover figcaption, .gal-grid figure:focus-within figcaption { opacity: 1; transform: none; }
.gal--a { grid-column: span 7; grid-row: span 4; }
.gal--b { grid-column: span 5; grid-row: span 3; }
.gal--c { grid-column: span 5; grid-row: span 3; }
.gal--d { grid-column: span 4; grid-row: span 2; }
.gal--e { grid-column: span 4; grid-row: span 2; }
.gal--f { grid-column: span 4; grid-row: span 2; }

/* ============================================================
   Visit / lokasi — penutup editorial + peta
   ============================================================ */
.visit-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.visit-info h2 { margin-bottom: .6rem; }
.visit-address { font-size: 1.06rem; color: var(--ink-soft); margin-bottom: 1.6rem; max-width: 36ch; }
.visit-rows { border-top: 1px solid var(--line); margin: 0 0 1.8rem; }
.visit-rows .vr { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.visit-rows .vr dt { flex: 0 0 130px; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); padding-top: 3px; }
.visit-rows .vr dd { margin: 0; color: var(--ink-soft); }
.visit-rows .vr dd a { color: var(--ink); border-bottom: 1px solid var(--coffee); }
.visit-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.map-frame {
  border: 1px solid var(--line); background: var(--line-soft);
  border-radius: 6px; overflow: hidden; position: relative;
}
.map-frame iframe { display: block; width: 100%; height: clamp(320px, 42vw, 460px); border: 0; }
.map-fallback { padding: 48px 32px; text-align: center; color: var(--ink-soft); }

/* ============================================================
   Footer — wordmark besar
   ============================================================ */
.site-footer { background: var(--espresso); color: #D9CFBD; margin-top: 0; }
.footer-top { padding: clamp(56px, 7vw, 96px) 0 clamp(36px, 4vw, 56px); }
.footer-wordmark { font-family: var(--serif); font-size: clamp(3rem, 9vw, 7.5rem); line-height: .95; letter-spacing: -0.02em; color: var(--soft-white); margin: 0 0 .4em; }
.footer-wordmark span { display: block; font-size: .32em; letter-spacing: .34em; text-transform: uppercase; font-family: var(--sans); font-weight: 600; color: #B7A98F; margin-top: .6em; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); margin-top: clamp(28px, 4vw, 48px); }
.footer-grid h4 { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #B7A98F; margin-bottom: 1rem; }
.footer-grid p, .footer-grid li { font-size: .94rem; color: #CFC3AF; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #EFE7D6; }
.footer-grid a:hover { color: var(--soft-white); }
.footer-bottom { border-top: 1px solid #453B30; padding: 22px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #9A8E79; }
.footer-bottom a { color: #CFC3AF; }

/* ============================================================
   Page head (halaman dalam)
   ============================================================ */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); }
.page-head h1 { margin-bottom: .5rem; }
.page-head .lede { max-width: 52ch; }

/* ============================================================
   Menu listing
   ============================================================ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(24px, 3vw, 40px); }
.chip {
  border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
  padding: 9px 20px; font-size: .9rem; font-weight: 500; cursor: pointer; border-radius: 999px;
  transition: all .2s var(--ease); font-family: var(--sans);
}
.chip:hover { border-color: var(--espresso); color: var(--espresso); }
.chip.is-active { background: var(--espresso); border-color: var(--espresso); color: var(--soft-white); }
.menu-listing { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 32px); }
.menu-card { background: var(--card); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.menu-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(40, 34, 30, .35); }
.menu-card-link { color: inherit; display: block; }
.menu-card-link:hover { text-decoration: none; }
.menu-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line-soft); }
.menu-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.menu-card:hover .menu-card-media img { transform: scale(1.05); }
.menu-card-body { padding: 20px 22px 24px; }
.menu-card-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.menu-card-row h3 { margin: 0; font-size: 1.12rem; }
.price { font-family: var(--serif); font-weight: 700; color: var(--coffee); white-space: nowrap; font-size: 1.05rem; }
.menu-card-cat { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); margin: 8px 0 4px; }
.menu-card-desc { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.filter-empty { color: var(--ink-soft); }

/* ============================================================
   Detail menu & artikel
   ============================================================ */
.detail-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.detail-media { position: sticky; top: 96px; }
.detail-media .frame { border: 1px solid var(--line); background: var(--line-soft); overflow: hidden; aspect-ratio: 4 / 3.4; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: .84rem; color: var(--ink-faint); margin-bottom: 14px; letter-spacing: .04em; }
.crumbs a { color: var(--coffee); }
.detail-body h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: .4rem; }
.detail-price { font-family: var(--serif); font-size: 1.7rem; color: var(--coffee); font-weight: 700; margin: 10px 0 14px; }
.avail { display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .06em; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 18px; }
.avail-yes { color: #3F6B3A; border-color: #BFD8C2; background: #EFF5EE; }
.avail-no { color: #8A3B2E; border-color: #E0BFB6; background: #FAF1EF; }
.prose { max-width: var(--narrow); color: var(--ink-soft); }
.prose p { margin-bottom: 1.25em; }

/* ============================================================
   Journal
   ============================================================ */
.journal-lead { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); margin-bottom: clamp(32px, 4vw, 56px); text-decoration: none; color: inherit; }
.journal-lead:hover { text-decoration: none; color: inherit; }
.journal-lead .ph { overflow: hidden; border: 1px solid var(--line); background: var(--line-soft); aspect-ratio: 16 / 9; }
.journal-lead img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.journal-lead:hover img { transform: scale(1.03); }
.journal-lead .tx { display: flex; flex-direction: column; justify-content: center; }
.journal-lead h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: .6rem 0; transition: color .2s; }
.journal-lead:hover h2 { color: var(--coffee); }
.post-date { font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); margin: 0 0 .4rem; }
.post-excerpt { color: var(--ink-soft); font-size: .98rem; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 32px); }
.post-card { background: var(--card); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(40, 34, 30, .35); }
.post-card-link { color: inherit; display: block; }
.post-card-link:hover { text-decoration: none; }
.post-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--line-soft); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { padding: 20px 22px 26px; }
.post-card-body h3 { margin: .4rem 0 .6rem; font-size: 1.18rem; line-height: 1.35; }
.article-title { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: .6rem 0 .8rem; }
.article-cover { margin: 2rem 0 2.4rem; }
.article-cover .frame { border: 1px solid var(--line); overflow: hidden; aspect-ratio: 16 / 9; background: var(--line-soft); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.pagination { display: flex; align-items: center; gap: 20px; justify-content: center; margin-top: 48px; }
.page-info { color: var(--ink-faint); font-size: .9rem; }

/* ============================================================
   Visit page
   ============================================================ */
.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .lbl { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); margin-bottom: 2px; }

/* ============================================================
   Empty state & 404
   ============================================================ */
.empty-state {
  border: 1px dashed var(--line); padding: clamp(48px, 6vw, 80px) 32px; text-align: center;
  color: var(--ink-soft); background: var(--card); border-radius: 4px;
}
.empty-state .kicker { margin-bottom: .8rem; }
.empty-title { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--ink); margin-bottom: 8px; }
.notfound { text-align: center; padding: clamp(60px, 10vw, 140px) 0; }
.notfound .bignum { font-family: var(--serif); font-size: clamp(5rem, 14vw, 10rem); line-height: 1; color: var(--line); margin-bottom: 1rem; }
.notfound h1 { margin-bottom: .8rem; }

/* ============================================================
   Micro-interactions & motion
   ============================================================ */
/* Navbar: fade-in saat load, compact saat scroll */
@media (prefers-reduced-motion: no-preference) {
  .site-header { animation: navIn .5s var(--ease) both; }
  @keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .site-header.is-scrolled { box-shadow: 0 1px 12px rgba(40,34,30,.08); }
  .site-header.is-scrolled .header-inner { padding-top: 10px; padding-bottom: 10px; }
  .header-inner { transition: padding .25s var(--ease); }

  /* Hero page-load: staggered fade-up + scale-in foto */
  .hero-copy .kicker { animation: heroUp .6s var(--ease) .05s both; }
  .hero-copy h1 { animation: heroUp .7s var(--ease) .15s both; }
  .hero-sub { animation: heroUp .7s var(--ease) .28s both; }
  .hero-cta { animation: heroUp .7s var(--ease) .4s both; }
  .hero-meta { animation: heroUp .7s var(--ease) .52s both; }
  @keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  .hero-media .frame { animation: heroImg .9s var(--ease) .2s both; }
  @keyframes heroImg { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
  .hero-caption { animation: heroUp .6s var(--ease) .6s both; }

  /* Scroll reveal */
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
  .reveal-d1 { transition-delay: .08s; }
  .reveal-d2 { transition-delay: .16s; }
  .reveal-d3 { transition-delay: .24s; }

  /* Mobile menu: animasi buka-tutup ringan */
  .site-nav { transition: opacity .25s var(--ease), transform .25s var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Mobile menu terbuka: slide halus (tanpa JS pun tetap tampil via .is-open) */
@media (max-width: 640px) {
  .site-nav {
    opacity: 0; transform: translateY(-6px); pointer-events: none;
  }
  .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
}

/* ============================================================
   Form reservasi & komponen terkait
   ============================================================ */
.form-card {
  background: var(--card); border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 40px); border-radius: 4px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.req { color: #B23B2E; }
.hint, .hint-inline { font-size: .8rem; color: var(--ink-faint); font-weight: 400; }
.hint { margin: 2px 0 0; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  border: 1px solid var(--line); background: var(--soft-white);
  padding: 11px 14px; border-radius: 2px; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--coffee);
  box-shadow: 0 0 0 3px rgba(117,82,61,.14);
}
.field input:invalid:not(:placeholder-shown) { border-color: #B23B2E; }
.form-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.form-note { font-size: .85rem; color: var(--ink-faint); margin-top: 14px; }
/* Honeypot: sembunyi dari manusia */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { border: 1px solid; border-radius: 3px; padding: 14px 18px; margin-bottom: 20px; font-size: .93rem; }
.alert-error { background: #FDF0EE; border-color: #E8B4AC; color: #7A2A22; }
.alert-error ul { margin: 8px 0 0; padding-left: 20px; }
.alert-info { background: #F4F1E8; border-color: var(--line); color: var(--ink-soft); }
.alert-success { background: #EFF6EF; border-color: #B9D4B9; color: #2E5B2E; }

/* Tiket konfirmasi reservasi */
.resv-ticket {
  background: var(--card); border: 1px solid var(--line); border-radius: 4px;
  padding: clamp(24px, 4vw, 36px);
}
.resv-ticket-head { text-align: center; padding-bottom: 20px; border-bottom: 1px dashed var(--line); margin-bottom: 20px; }
.resv-code {
  font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: .06em; margin: 6px 0 12px; color: var(--espresso);
}
.resv-detail { display: grid; gap: 10px; margin: 0 0 18px; }
.resv-detail > div { display: flex; gap: 16px; }
.resv-detail dt { flex: 0 0 130px; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.resv-detail dd { margin: 0; }
.resv-note { font-size: .9rem; color: var(--ink-soft); background: var(--ivory); border: 1px solid var(--line); padding: 12px 16px; border-radius: 3px; }

/* Badge status */
.badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: var(--line-soft); color: var(--ink-soft);
}
.badge-pending { background: #F5E9C8; color: #7A5A14; }
.badge-confirmed { background: #DCEBDC; color: #2E5B2E; }
.badge-rejected, .badge-cancelled { background: #F3D9D4; color: #7A2A22; }
.badge-completed { background: #DDE3E8; color: #3A4A5A; }

/* Section CTA reservasi di homepage */
.resv-cta-section { --ink: var(--soft-white); }
.resv-cta-split { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.resv-cta-split h2 { color: var(--soft-white); }
.lede--light { color: #D8CFC0; }
.btn-light { background: var(--soft-white); border-color: var(--soft-white); color: var(--espresso); }
.btn-light:hover { background: var(--ivory); border-color: var(--ivory); color: var(--espresso); }

/* Gallery grid (fallback untuk demo statis) */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.gallery-grid figure { margin: 0; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.gallery-grid img { width: 100%; height: 240px; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption { padding: 10px 14px; font-size: .85rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.menu-cat-title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 2.5rem 0 1.25rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.menu-cat-title:first-child { margin-top: 0; }
.menu-cat-note { font-size: 1rem; color: var(--ink-soft); font-weight: 400; }
.menu-note { color: var(--ink-soft); font-size: .95rem; margin-top: 1rem; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .resv-cta-split { grid-template-columns: 1fr; }
  .resv-detail > div { flex-direction: column; gap: 2px; }
  .resv-detail dt { flex: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .feat-item--lead { grid-column: span 12; }
  .feat-item--lead .ph { aspect-ratio: 16 / 9; }
  .feat-item--tall { grid-column: span 6; }
  .feat-item--tall .ph { aspect-ratio: 4 / 4.4; }
  .feat-item--std { grid-column: span 6; }
  .feat-item--wide { grid-column: span 12; }
  .menu-listing { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .gal--a { grid-column: span 12; grid-row: span 3; }
  .gal--b, .gal--c { grid-column: span 6; grid-row: span 2; }
  .gal--d, .gal--e, .gal--f { grid-column: span 4; grid-row: span 2; }
}
@media (max-width: 900px) {
  .hero-grid, .story-split, .visit-split, .detail-grid, .visit-grid, .journal-lead { grid-template-columns: 1fr; }
  .hero-media .frame { aspect-ratio: 16 / 10; max-height: none; }
  .detail-media { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ivory); flex-direction: column;
    padding: 12px 24px 24px; border-bottom: 1px solid var(--line); gap: 4px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 2px; font-size: 1.02rem; }
  .nav-toggle { display: block; }
  .site-header .header-cta { display: none; }
  .header-inner { position: relative; }
  .menu-listing, .post-grid { grid-template-columns: 1fr; }
  .feat-item--lead, .feat-item--tall, .feat-item--std, .feat-item--wide { grid-column: span 12; }
  .feat-item--lead .ph, .feat-item--tall .ph, .feat-item--std .ph, .feat-item--wide .ph { aspect-ratio: 16 / 10; }
  .gal-grid { grid-auto-rows: 140px; }
  .gal--a, .gal--b, .gal--c, .gal--d, .gal--e, .gal--f { grid-column: span 12; grid-row: span 2; }
  .gal--a { grid-row: span 3; }
  .hero { padding: 40px 0 32px; }
  .hero-meta { gap: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .visit-rows .vr { flex-direction: column; gap: 4px; }
  .visit-rows .vr dt { flex: none; }
}
