/* =========================================================
   Soto Seger Boyolali — Saung Tumaritis
   Tone: Jawa klasik (soga, emas, gading), batik kawung
   ========================================================= */

:root {
  --bg:        #FBF4E2;
  --bg-2:      #F0E5C8;
  --bg-3:      #E5D4A8;
  --fg:        #2A1810;
  --fg-2:      #6B5340;
  --fg-3:      #A99175;
  --soga:      #8B5E3C;
  --emas:      #B8860B;
  --emas-2:    #D4A640;
  --hijau:     #5C7A3F;
  --bata:      #A0522D;
  --kopi:      #4A2C1A;
  --line:      #D4BC8E;
  --line-2:    #BFA374;
  --wa:        #25D366;
  --wa-dark:   #128C7E;
  --shadow-1:  0 1px 2px rgba(74,44,26,.06), 0 2px 8px rgba(74,44,26,.04);
  --shadow-2:  0 10px 30px -8px rgba(74,44,26,.18);
  --shadow-3:  0 30px 60px -20px rgba(74,44,26,.30);
}

html.dark {
  --bg:        #1A1208;
  --bg-2:      #251A0E;
  --bg-3:      #322516;
  --fg:        #F4E5C7;
  --fg-2:      #C9B58E;
  --fg-3:      #8C7858;
  --soga:      #C9A36A;
  --emas:      #E5B85F;
  --emas-2:    #F2CC7C;
  --hijau:     #8FB36A;
  --bata:      #D17856;
  --kopi:      #F4E5C7;
  --line:      #3A2A18;
  --line-2:    #4F3A22;
  --wa:        #25D366;
  --wa-dark:   #128C7E;
  --shadow-1:  0 1px 2px rgba(0,0,0,.4);
  --shadow-2:  0 10px 30px -8px rgba(0,0,0,.6);
  --shadow-3:  0 30px 60px -20px rgba(0,0,0,.7);
}

/* ====== BASE ====== */
* { box-sizing: border-box; margin: 0; padding: 0; }
*::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
  transition: background .5s ease, color .5s ease;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--soga); color: var(--bg); }

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; outline: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

.serif-display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.01em;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}
.serif-display em { color: var(--soga); font-style: italic; font-weight: 500; }

.lead { font-size: 1.125rem; color: var(--fg-2); line-height: 1.7; max-width: 56ch; }
.muted { color: var(--fg-3); font-size: .92em; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.aksara { font-family: 'Noto Serif Javanese', serif; }

/* ====== GRAIN ====== */
.grain::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
html.dark .grain::before { mix-blend-mode: screen; opacity: .08; }

/* ====== SCROLL PROGRESS ====== */
#progress {
  position: fixed; top: 0; left: 0; width: 0%; height: 3px; z-index: 50;
  background: linear-gradient(90deg, var(--emas), var(--soga), var(--bata));
  transition: width .15s ease-out;
}

/* ====== LOADER ====== */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .8s ease, visibility .8s ease;
}
.loader.gone { opacity: 0; visibility: hidden; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; position: relative; }
.loader-mark { width: 100px; height: 100px; object-fit: contain; animation: floatY 3s ease-in-out infinite; }
.loader-ring {
  width: 140px; height: 140px; border-radius: 50%;
  border: 1.5px solid var(--line);
  border-top-color: var(--soga);
  position: absolute; top: -20px;
  animation: spin 1.4s linear infinite;
}
.loader-text {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.1rem;
  color: var(--fg-2); margin-top: 1.5rem; letter-spacing: .02em;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pop    { 0% { transform: scale(0); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* ====== NAV ====== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  transition: background .4s ease, border-color .4s, box-shadow .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 1.25rem;
  height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
@media (min-width: 1024px) { .nav-inner { padding: 0 2.5rem; } }

.brand { display: flex; align-items: center; gap: .75rem; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; }
.brand-text { line-height: 1.1; }
.brand-title { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; letter-spacing: .01em; }
.brand-sub { font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--soga); margin-top: .15rem; }

.nav-links { display: none; gap: 2rem; font-size: .92rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a { position: relative; padding: .25rem 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--soga); transition: width .3s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: .6rem; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; transition: all .3s;
  background: transparent;
}
.icon-btn:hover { background: var(--bg-2); border-color: var(--soga); }
.icon-btn svg { width: 16px; height: 16px; }

.btn-wa-nav {
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem 1.05rem; border-radius: 999px;
  background: var(--wa); color: #fff;
  font-size: .88rem; font-weight: 600;
  transition: transform .25s ease, background .3s, box-shadow .3s;
  box-shadow: 0 4px 12px rgba(37,211,102,.3);
}
.btn-wa-nav svg { width: 16px; height: 16px; }
.btn-wa-nav:hover { transform: translateY(-1px); background: var(--wa-dark); box-shadow: 0 8px 20px rgba(37,211,102,.4); }
@media (max-width: 640px) {
  .btn-wa-nav span { display: none; }
  .btn-wa-nav { padding: .55rem; width: 42px; height: 42px; justify-content: center; }
}

/* ====== HERO ====== */
.hero {
  position: relative; min-height: 100vh;
  display: grid; place-items: center;
  color: #F4E5C7; overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  filter: brightness(.55) saturate(1.1);
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1.12); } }

.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 30% 20%, rgba(184, 134, 11, .25), transparent 60%),
    radial-gradient(800px 500px at 80% 80%, rgba(74, 44, 26, .55), transparent 60%),
    linear-gradient(180deg, rgba(20,12,5,.55) 0%, rgba(20,12,5,.35) 40%, rgba(20,12,5,.85) 100%);
}

.hero-inner {
  position: relative; z-index: 2;
  text-align: center; padding: 7rem 1.5rem 6rem; max-width: 900px;
  animation: fadeUp 1.2s cubic-bezier(.2,.7,.2,1) both;
}

.hero-top {
  display: flex; align-items: center; justify-content: center; gap: .9rem;
  font-size: .75rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--emas-2); margin-bottom: 2rem;
}
.hero-aksara { font-family: 'Noto Serif Javanese', serif; font-size: 1.1rem; letter-spacing: 0; text-transform: none; }
.hero-line { width: 50px; height: 1px; background: var(--emas-2); }

.hero-logo {
  width: 130px; height: 130px; object-fit: contain; margin: 0 auto 1.5rem;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.5));
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.015em;
  margin-bottom: 1.6rem;
}
.hero-title em {
  font-style: italic; font-weight: 500; display: block;
  background: linear-gradient(120deg, var(--emas-2), #F2CC7C, var(--emas));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: rgba(244,229,199,.85);
  max-width: 580px; margin: 0 auto 2.5rem;
}

.hero-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-bottom: 4rem; }

.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.8rem; border-radius: 999px; font-weight: 500; font-size: .95rem;
  transition: all .3s ease; border: 1px solid transparent;
}
.btn-primary svg, .btn-ghost svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--emas-2); color: var(--kopi); box-shadow: 0 8px 24px rgba(184,134,11,.3);
}
.btn-primary:hover { background: #FFF; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(184,134,11,.4); }
.btn-ghost { border-color: rgba(244,229,199,.4); color: #F4E5C7; }
.btn-ghost:hover { background: rgba(244,229,199,.1); border-color: rgba(244,229,199,.7); }

.hero-stats {
  display: flex; align-items: center; gap: 1.5rem; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
}
.hero-stats > div { text-align: center; }
.hero-stats strong {
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; color: var(--emas-2);
  display: block; line-height: 1;
}
.hero-stats span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .68rem; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(244,229,199,.6); margin-top: .4rem; display: block;
}
.hero-stats i { width: 1px; height: 32px; background: rgba(244,229,199,.3); }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  font-size: .68rem; letter-spacing: .35em; text-transform: uppercase;
  color: rgba(244,229,199,.55);
}
.hero-scroll span { width: 1px; height: 36px; background: rgba(244,229,199,.45); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scaleY(.4); opacity:.4; } 50% { transform: scaleY(1); opacity:1; } }

/* ====== MARQUEE ====== */
.marquee-wrap {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2); overflow: hidden; padding: 1.2rem 0;
}
.marquee {
  display: flex; gap: 0; white-space: nowrap; width: max-content;
  animation: marq 40s linear infinite;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.4rem; color: var(--soga);
}
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ====== ORNAMENT ====== */
.ornament {
  display: flex; align-items: center; gap: 1rem; color: var(--soga);
  font-size: .72rem; letter-spacing: .35em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.ornament::before, .ornament::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--soga), transparent); opacity: .5;
}
.ornament.center { justify-content: center; }
.ornament.center::before, .ornament.center::after { max-width: 80px; }

/* ====== STORY ====== */
.story { padding: 7rem 0 5rem; }
@media (min-width: 1024px) { .story { padding: 10rem 0 8rem; } }

.story-grid { display: grid; gap: 4rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .story-grid { grid-template-columns: 7fr 5fr; gap: 5rem; } }

.story-marks { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .story-marks { grid-template-columns: repeat(3, 1fr); } }
.story-marks > div {
  padding: 1.4rem; border: 1px solid var(--line); border-radius: 18px;
  background: var(--bg-2);
}
.story-marks .mark {
  font-family: 'Noto Serif Javanese', serif; font-size: 2rem; color: var(--soga);
  display: block; margin-bottom: .5rem;
}
.story-marks strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--fg); }
.story-marks em { display: block; font-style: normal; font-size: .88rem; color: var(--fg-2); margin-top: .25rem; line-height: 1.5; }

.story-card {
  position: relative; padding: 3rem 2rem;
  border: 1px solid var(--line); border-radius: 24px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  text-align: center;
  box-shadow: var(--shadow-2);
}
.semar-mark {
  width: 160px; height: 160px; object-fit: contain; margin: 0 auto 1.5rem;
  filter: drop-shadow(0 6px 14px rgba(74,44,26,.2));
  animation: floatY 5s ease-in-out infinite;
}
.story-card blockquote {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.3rem; line-height: 1.5; color: var(--fg);
  max-width: 36ch; margin: 0 auto 1.2rem;
}
.story-card cite { font-style: normal; font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; color: var(--soga); }

p { color: var(--fg-2); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ====== MENU SECTION ====== */
.menu-section { padding: 6rem 0; background: var(--bg-2); position: relative; }
@media (min-width: 1024px) { .menu-section { padding: 9rem 0; } }

.menu-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='none' stroke='%238B5E3C' stroke-width='.8'><circle cx='20' cy='20' r='17'/><circle cx='60' cy='20' r='17'/><circle cx='20' cy='60' r='17'/><circle cx='60' cy='60' r='17'/></g></svg>");
}

.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .lead { margin: 1rem auto 0; }

.menu-toolbar {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center;
  margin-bottom: 2rem;
}
.search-wrap {
  position: relative; flex: 1; max-width: 420px; min-width: 240px;
}
.search-wrap svg {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--fg-3);
}
.search-wrap input {
  width: 100%; padding: .85rem 1rem .85rem 2.6rem; font-size: .95rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg);
  transition: all .3s;
}
.search-wrap input:focus { border-color: var(--soga); box-shadow: 0 0 0 4px color-mix(in srgb, var(--soga) 20%, transparent); }
.search-count { font-size: .82rem; color: var(--fg-3); }

/* Sticky cat nav */
.cat-nav-wrap {
  position: sticky; top: 76px; z-index: 30;
  background: color-mix(in srgb, var(--bg-2) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin: 0 -1.5rem 3rem; padding: .85rem 1.5rem;
}
.cat-nav {
  display: flex; gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  scroll-behavior: smooth;
}
/* On narrow screens (mobile) revert to horizontal scroll w/ fade */
@media (max-width: 720px) {
  .cat-nav-wrap { overflow: hidden; position: sticky; }
  .cat-nav-wrap::after {
    content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 36px;
    background: linear-gradient(to left, var(--bg-2), transparent);
    pointer-events: none; z-index: 2;
  }
  .cat-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    padding-right: 24px;
  }
  .cat-nav::-webkit-scrollbar { display: none; }
}
.cat-nav button {
  flex-shrink: 0; padding: .5rem .95rem; border-radius: 999px;
  font-size: .85rem; font-weight: 500;
  border: 1px solid var(--line);
  background: transparent; color: var(--fg-2);
  transition: all .25s;
  white-space: nowrap;
}
.cat-nav button:hover { color: var(--soga); border-color: var(--soga); }
.cat-nav button.active {
  background: var(--soga); color: var(--bg); border-color: var(--soga);
}

/* Category section */
.cat-block { margin-bottom: 4rem; scroll-margin-top: 160px; }
.cat-block:last-child { margin-bottom: 0; }

.cat-head {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem; padding-bottom: 1.2rem; margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}
.cat-head-left { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.cat-aksara {
  font-family: 'Noto Serif Javanese', serif;
  font-size: 1.6rem; color: var(--soga); line-height: 1;
}
.cat-name {
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -.005em;
}
.cat-tagline {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  color: var(--fg-2); font-size: .98rem;
}

.menu-list { display: grid; gap: 0; }
.menu-row {
  display: flex; align-items: baseline; gap: .75rem;
  padding: .95rem 0; border-bottom: 1px dashed var(--line);
  position: relative;
}
.menu-row:last-child { border-bottom: none; }
.menu-row:hover { background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--soga) 6%, transparent), transparent); }

.menu-row .item-name {
  font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 500; color: var(--fg);
  white-space: nowrap;
}
.menu-row .item-note {
  font-size: .78rem; color: var(--fg-3); font-style: italic; margin-left: .5rem;
}

.menu-row .leader {
  flex: 1; align-self: end;
  border-bottom: 2px dotted var(--line-2); margin: 0 .5rem; min-width: 30px;
  transform: translateY(-7px);
}

.menu-row .item-price {
  font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600;
  color: var(--soga); white-space: nowrap;
}

.menu-name-wrap { display: flex; align-items: baseline; flex-wrap: wrap; }

/* Empty */
.empty { text-align: center; padding: 5rem 2rem; color: var(--fg-2); }
.empty-mark {
  font-family: 'Noto Serif Javanese', serif; font-size: 3rem;
  color: var(--soga); margin-bottom: 1.5rem;
}

/* ====== FILOSOFI ====== */
.filosofi {
  padding: 6rem 0; position: relative;
  background: linear-gradient(180deg, var(--kopi) 0%, #2A1810 100%);
  color: #F4E5C7; overflow: hidden; isolation: isolate;
}
.filosofi-batik {
  position: absolute; inset: 0; z-index: -1; opacity: .08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='none' stroke='%23E5B85F' stroke-width='.7'><circle cx='20' cy='20' r='17'/><circle cx='60' cy='20' r='17'/><circle cx='20' cy='60' r='17'/><circle cx='60' cy='60' r='17'/><circle cx='40' cy='40' r='3' fill='%23E5B85F'/></g></svg>");
  background-size: 80px 80px;
}
.filosofi-inner { text-align: center; max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
.filosofi-mark {
  font-family: 'Noto Serif Javanese', serif; font-size: 1.4rem;
  color: var(--emas-2); margin-bottom: 2rem; letter-spacing: .1em;
}
.filosofi-quote {
  font-size: clamp(2.2rem, 5vw, 3.6rem) !important;
  line-height: 1.15; color: #F4E5C7;
  margin-bottom: 2rem;
}
.filosofi-quote em {
  font-style: italic; color: #F2CC7C; font-weight: 400;
}
.filosofi-trans {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.2rem; color: rgba(244,229,199,.75);
  max-width: 540px; margin: 0 auto 1.5rem;
}
.filosofi-by {
  font-size: .72rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--emas-2);
}

/* ====== VISIT ====== */
.visit { padding: 6rem 0; background: var(--bg-2); }
@media (min-width: 1024px) { .visit { padding: 9rem 0; } }
.visit-grid {
  display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: start;
}
@media (min-width: 1024px) { .visit-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.visit-list { display: grid; gap: 1.2rem; margin-top: 2rem; }
.visit-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.1rem 1.2rem; border-radius: 18px;
  border: 1px solid var(--line); background: var(--bg);
  transition: all .3s ease;
}
.visit-item:not(.plain):hover {
  border-color: var(--soga);
  background: color-mix(in srgb, var(--soga) 6%, var(--bg));
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.visit-item strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; color: var(--fg); }
.visit-item p { margin-top: .25rem; color: var(--fg-2); font-size: .95rem; }
.visit-item p b { color: var(--fg); font-weight: 600; }
.visit-cta {
  display: inline-block; margin-top: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--soga); transition: gap .25s;
}
.visit-item:hover .visit-cta { color: var(--bata); }

.visit-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--line);
  display: grid; place-items: center; flex-shrink: 0;
  font-family: 'Noto Serif Javanese', serif; font-size: 1.5rem; color: var(--soga);
}
.visit-item:not(.plain):hover .visit-icon {
  background: var(--soga); color: var(--bg); border-color: var(--soga);
}

.visit-actions {
  display: flex; gap: .8rem; margin-top: 1.8rem; flex-wrap: wrap;
}
.visit-actions .btn-primary {
  background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(37,211,102,.3);
}
.visit-actions .btn-primary:hover {
  background: var(--wa-dark); color: #fff; box-shadow: 0 12px 30px rgba(37,211,102,.4);
}
.visit-actions .btn-ghost {
  background: transparent; color: var(--fg);
  border: 1px solid var(--line);
}
.visit-actions .btn-ghost:hover {
  background: var(--soga); color: var(--bg); border-color: var(--soga);
}

.socials { display: flex; gap: .75rem; margin-top: 1.6rem; flex-wrap: wrap; }
.socials a {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .65rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg);
  font-size: .85rem; font-weight: 500; color: var(--fg);
  transition: all .3s ease;
}
.socials a svg { width: 18px; height: 18px; color: var(--soga); transition: color .3s; }
.socials a:hover {
  background: var(--fg); color: var(--bg); border-color: var(--fg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.socials a:hover svg { color: var(--emas-2); }

.visit-photo { position: relative; }
.visit-photo img {
  aspect-ratio: 5/4; object-fit: cover;
  width: 100%; border-radius: 24px;
  box-shadow: var(--shadow-3);
  border: 6px solid var(--bg);
}
.visit-photo-tag {
  position: absolute; bottom: -1.5rem; left: 1.5rem; right: 1.5rem;
  padding: 1.1rem 1.4rem; background: var(--bg); border-radius: 16px;
  border: 1px solid var(--line); box-shadow: var(--shadow-2);
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
}
.visit-photo-tag strong { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; }
.visit-photo-tag span { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--soga); }

/* ====== FOOTER ====== */
.footer { padding: 4rem 0 2rem; border-top: 1px solid var(--line); }
.footer-inner {
  display: grid; gap: 2.5rem; grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 2fr 1fr; } }
.footer-logo { width: 56px; height: 56px; object-fit: contain; margin-bottom: 1rem; }
.footer-inner > div > strong {
  display: block; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--soga); margin-bottom: 1rem;
}
.footer-inner > div > a {
  display: block; padding: .35rem 0; font-size: .92rem; color: var(--fg-2);
  transition: color .25s;
}
.footer-inner > div > a:hover { color: var(--soga); }
.footer-bar {
  padding-top: 2rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; color: var(--fg-3);
}
.footer-bar .aksara { color: var(--soga); }

/* ====== REVEAL ====== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ====== UTIL ====== */
[hidden] { display: none !important; }

/* ====== RESPONSIVE TWEAKS ====== */
@media (max-width: 640px) {
  .nav-inner { padding: 0 1rem; height: 64px; }
  .brand-text { display: none; }
  .cat-nav-wrap { top: 64px; margin: 0 -1rem 2rem; padding: .75rem 1rem; }
  .hero-stats { gap: .8rem; }
  .hero-stats i { height: 22px; }
  .visit-actions .btn-primary, .visit-actions .btn-ghost { flex: 1; min-width: 140px; }
}
