/* ==========================================================================
   Creole Soul Cafe — Modern Tropical Editorial
   Panduan Kafe, Kuliner & Tempat Nongkrong Palangka Raya
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */

:root {
  --bg:          #F7F3EC;
  --paper:       #FFFDF9;
  --forest:      #18332D;
  --forest-soft: #24463E;
  --coffee:      #65412C;
  --terracotta:  #B85E3E;
  --terracotta-d:#9C4B2E;
  --terracotta-dd:#813C23;
  --gold:        #C49A5A;
  --sage:        #879A7B;
  --ink:         #202421;
  --ink-muted:   #5C635B;
  --rule:        #E2D9CB;
  --rule-strong: #CFC2AE;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gut: clamp(1.15rem, 4vw, 2.5rem);

  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 20px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(24, 51, 45, .05), 0 4px 14px -6px rgba(24, 51, 45, .10);
  --shadow-md: 0 2px 4px rgba(24, 51, 45, .05), 0 18px 40px -22px rgba(24, 51, 45, .32);

  /* barely-there paper grain — one tiny inline SVG, no image request */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  /* Verified against a real bug, not a style preference: with
     scroll-behavior:smooth, the browser's OWN native fragment navigation
     (typing a #hash URL, following a link into one) silently fails to
     scroll in some engines — confirmed here by testing the exact same
     location.hash assignment against an external site, where it worked.
     Explicit script-driven scrollIntoView() still animates fine either
     way, so nothing that depends on JS loses the smooth motion; what
     breaks is anchor links working with JS off, which this site's own
     design promises. 'auto' (instant) is the reliable choice. */
  scroll-behavior: auto;
  /* keeps #anchor targets clear of the sticky masthead */
  scroll-padding-top: 5.5rem;
  /* Belongs here, not on body: CSS promotes a non-'visible' overflow-x on
     <body> to become the root scroller with overflow-y forced to 'auto' by
     the spec's visible/non-visible pairing rule — which silently breaks
     native fragment scrolling (location.hash, scrollIntoView, <a href="#…">)
     everywhere on the page. Declaring it on <html> keeps documentElement as
     document.scrollingElement, where anchor navigation actually expects it. */
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg) var(--grain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.68;
  font-feature-settings: "kern", "liga";
}

img, svg, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.14; letter-spacing: -.014em; color: var(--forest); }
p, ul, ol, dl, figure, table { margin: 0 0 1.15em; }
ul, ol { padding-left: 1.15em; }
li { margin-bottom: .38em; }
li::marker { color: var(--gold); }
strong { font-weight: 650; color: var(--forest); }
small { font-size: .8125rem; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

a { color: var(--terracotta-d); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--terracotta); }

:focus-visible {
  outline: 2.5px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::selection { background: var(--gold); color: var(--forest); }

/* --------------------------------------------------------------- layout -- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-tight { max-width: 760px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--forest); color: var(--paper);
  padding: .8rem 1.3rem; border-radius: 0 0 var(--r-md) 0; font-weight: 600;
}
.skip:focus { left: 0; }

section { position: relative; }
.band { padding-block: clamp(3rem, 7vw, 5.25rem); }
.band-tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.band-paper { background: var(--paper); border-block: 1px solid var(--rule); }
.band-dark { background: var(--forest); color: #DCE5DF; }
.band-dark h2, .band-dark h3 { color: var(--paper); }
.band-dark a { color: var(--gold); }

/* ----------------------------------------------------------- typography -- */

.h-xl { font-size: clamp(2.35rem, 6.2vw, 4rem); font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 100; }
.h-lg { font-size: clamp(1.9rem, 4.2vw, 2.85rem); font-variation-settings: "SOFT" 22, "opsz" 60; }
.h-md { font-size: clamp(1.42rem, 2.8vw, 1.85rem); }
.h-sm { font-size: clamp(1.15rem, 2vw, 1.3rem); }

.lede { font-size: clamp(1.075rem, 1.9vw, 1.24rem); line-height: 1.62; color: var(--ink-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-size: .72rem; font-weight: 650;
  letter-spacing: .17em; text-transform: uppercase; color: var(--coffee);
  margin-bottom: .85rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); flex: none; }
.eyebrow-plain::before { display: none; }

.section-head { max-width: 640px; margin-bottom: clamp(1.75rem, 3.5vw, 2.6rem); }
.section-head p { margin-bottom: 0; }
.section-head h2 + p, .feature-body h2 + p { margin-top: .85rem; }

/* full-bleed rule used to separate rhythms without a heavy box */
.rule-gold { height: 2px; background: var(--gold); width: 54px; border: 0; margin: 1.4rem 0; }

/* --------------------------------------------------------------- header -- */

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 243, 236, .93);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.masthead-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}

.brand { display: flex; align-items: center; gap: .68rem; text-decoration: none; color: var(--forest); }
.brand:hover { color: var(--forest); }
.brand-mark { flex: none; }
.brand-name {
  font-family: var(--serif); font-weight: 600; font-size: 1.16rem;
  line-height: 1.05; letter-spacing: -.02em; font-variation-settings: "SOFT" 20, "WONK" 1;
}
.brand-sub {
  display: block; font-family: var(--sans); font-size: .64rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--coffee); margin-top: .2rem;
}

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  font: inherit; font-size: .82rem; font-weight: 600;
  background: var(--paper); color: var(--forest);
  border: 1px solid var(--rule-strong); border-radius: var(--r-pill);
  padding: .58rem .95rem; cursor: pointer; min-height: 44px;
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle svg { flex: none; }

.nav a { color: var(--forest); text-decoration: none; }
.nav a:hover { color: var(--terracotta-d); }
.nav-cta {
  background: var(--forest); color: var(--paper) !important;
  border-radius: var(--r-pill); padding: .58rem 1.05rem; font-weight: 600;
}
.nav-cta:hover { background: var(--forest-soft); }

@media (max-width: 899px) {
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow-md); padding: .6rem var(--gut) 1.35rem;
  }
  .nav[data-open="true"] { display: block; }
  .nav ul { list-style: none; margin: 0; padding: 0; }
  .nav li { margin: 0; border-bottom: 1px solid var(--rule); }
  .nav li:last-child { border-bottom: 0; padding-top: .85rem; }
  .nav a { display: block; padding: .85rem .2rem; font-size: 1rem; font-weight: 500; }
  .nav-cta { display: inline-block !important; padding: .7rem 1.2rem; }
  /* JS off: the menu is always reachable */
  .no-js .nav { display: block; position: static; box-shadow: none; border-bottom: 0; padding-inline: 0; }
  .no-js .nav-toggle { display: none; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav ul { display: flex; align-items: center; gap: 1.55rem; list-style: none; margin: 0; padding: 0; }
  .nav li { margin: 0; }
  .nav a { font-size: .92rem; font-weight: 500; }
}

/* -------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-size: .95rem; font-weight: 600; line-height: 1;
  padding: .95rem 1.5rem; min-height: 48px;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
/* --terracotta on near-white lands at 4.21:1; the darker step clears 4.5:1 */
.btn-primary { background: var(--terracotta-d); color: #FFF7F2; }
.btn-primary:hover { background: var(--terracotta-dd); color: #FFF7F2; }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--forest); color: var(--forest); background: rgba(24, 51, 45, .04); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.link-more {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .93rem; text-decoration: none;
  color: var(--terracotta-d);
}
.link-more::after { content: "→"; transition: transform .18s ease; }
.link-more:hover::after { transform: translateX(3px); }

/* ----------------------------------------------------------- breadcrumb -- */

.crumbs { font-size: .8rem; color: var(--ink-muted); padding-block: 1.15rem .35rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .42rem; list-style: none; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; gap: .42rem; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--rule-strong); }
.crumbs a { color: var(--coffee); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-muted); }

/* ----------------------------------------------------------------- hero -- */

.hero { padding-block: clamp(2.25rem, 5vw, 4.25rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero-grid { display: grid; gap: clamp(1.75rem, 4vw, 3.25rem); align-items: center; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.02fr .98fr; }
}
.hero h1 { margin-bottom: 1.05rem; }
.hero .lede { margin-bottom: 1.75rem; max-width: 34em; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; border-radius: var(--r-lg) var(--r-lg) 88px var(--r-lg);
  box-shadow: var(--shadow-md);
}
/* offset gold frame — asymmetry instead of a plain rectangle */
.hero-media::before {
  content: ""; position: absolute; inset: -14px -14px 22px 22px;
  border: 1.5px solid var(--gold); border-radius: var(--r-lg);
  pointer-events: none; z-index: -1;
}
.hero-cap {
  font-size: .74rem; color: var(--ink-muted); margin: .85rem 0 0; line-height: 1.5;
}
.hero-cap a { color: var(--coffee); }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 1.1rem 2rem;
  margin-top: 1.9rem; padding-top: 1.45rem; border-top: 1px solid var(--rule);
}
.hero-stats div { min-width: 118px; }
.hero-stats dt { font-size: .71rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; color: var(--coffee); }
.hero-stats dd { margin: .25rem 0 0; font-family: var(--serif); font-size: 1.28rem; color: var(--forest); }

/* --------------------------------------------------------------- mood row -- */
/* "Cari berdasarkan suasana" — icon + label pairs on a divided row, lighter
   and more scannable than pill buttons for a short, fixed set of choices. */

/* Built for exactly 6 items so the 2/3/6-column grid math divides evenly. */
.mood-row {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--rule); border-radius: var(--r-md);
  background: var(--paper); overflow: hidden;
}
.mood-row a {
  display: flex; align-items: center; gap: .6rem;
  padding: 1rem 1.15rem; min-height: 44px; text-decoration: none; color: var(--forest);
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  font-size: .88rem; font-weight: 550; transition: background-color .15s ease;
}
.mood-row a:hover { background: var(--bg); color: var(--forest); }
.mood-row svg { flex: none; color: var(--terracotta-d); }
.mood-row a:nth-child(2n) { border-right: 0; }
.mood-row a:nth-last-child(-n+2) { border-bottom: 0; }
@media (min-width: 620px) {
  .mood-row { grid-template-columns: repeat(3, 1fr); }
  .mood-row a:nth-child(2n) { border-right: 1px solid var(--rule); }
  .mood-row a:nth-child(3n) { border-right: 0; }
  .mood-row a:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .mood-row a:nth-last-child(-n+3) { border-bottom: 0; }
}
@media (min-width: 940px) {
  .mood-row { grid-template-columns: repeat(6, 1fr); }
  .mood-row a { padding-inline: .9rem; }
  .mood-row a:nth-child(3n) { border-right: 1px solid var(--rule); }
  .mood-row a:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .mood-row a:nth-last-child(-n+6) { border-bottom: 0; }
  .mood-row a:last-child { border-right: 0; }
}

/* --------------------------------------------------------- numbered strip -- */
/* Horizontal-scroll row of numbered cards — "Pilihan Editor" on the homepage.
   Native scroll only; no JS is needed to operate it. */

.strip-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity; scrollbar-width: thin;
  margin: 0 calc(var(--gut) * -1); padding: .3rem var(--gut) 1rem;
}
.strip-scroll::-webkit-scrollbar { height: 6px; }
.strip-scroll::-webkit-scrollbar-thumb { background: var(--rule-strong); border-radius: 3px; }
.strip { display: flex; gap: 1.1rem; width: max-content; }
.strip-card {
  scroll-snap-align: start; flex: none; width: 240px;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
}
.strip-media { position: relative; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.strip-media img, .strip-media .monogram { aspect-ratio: 4 / 5; }
.strip-badge {
  position: absolute; top: .65rem; left: .65rem; z-index: 1;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--terracotta-d); color: #FFF7F2;
  display: grid; place-items: center;
  font-family: var(--sans); font-size: .8rem; font-weight: 700;
  box-shadow: 0 2px 6px rgba(24, 51, 45, .35);
}
.strip-card h3 {
  font-size: 1.02rem; margin: .8rem 0 .2rem; font-family: var(--serif);
}
.strip-area {
  font-size: .74rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--coffee); margin-bottom: .4rem;
}
.strip-tags { font-size: .82rem; color: var(--ink-muted); margin-bottom: .6rem; }
.strip-card .link-more { font-size: .85rem; margin-top: auto; }
.strip-card:hover .link-more { color: var(--terracotta); }
.strip-card:hover .link-more::after { transform: translateX(3px); }
.strip-card:hover .strip-media { box-shadow: var(--shadow-md); }
/* right-edge fade hints there is more to scroll, no JS required */
.strip-scroll {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent 100%);
  mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent 100%);
}
@media (min-width: 1180px) {
  .strip-scroll { -webkit-mask-image: none; mask-image: none; }
}

/* --------------------------------------------------- featured (horiz.) -- */

.feature { display: grid; gap: clamp(1.5rem, 3.5vw, 3rem); align-items: center; }
@media (min-width: 820px) {
  .feature { grid-template-columns: 1.06fr 1fr; }
  .feature-flip .feature-media { order: 2; }
}
.feature-media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.feature-body h2 { margin-bottom: .85rem; }
.feature-body p { color: var(--ink-muted); }

.badge {
  display: inline-block; font-size: .7rem; font-weight: 650;
  letter-spacing: .13em; text-transform: uppercase;
  background: var(--sage); color: #12211A;
  border-radius: var(--r-pill); padding: .34rem .8rem; margin-bottom: .9rem;
}
.badge-gold { background: var(--gold); }
.badge-terra { background: var(--terracotta-d); color: #FFF7F2; }

/* typographic monogram — used where no licensable photo of that place exists */
.monogram {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: var(--forest); overflow: hidden;
}
.monogram::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 100% at 82% 8%, rgba(196,154,90,.30), transparent 58%),
    repeating-linear-gradient(-45deg, rgba(255,253,249,.055) 0 1px, transparent 1px 11px);
}
.monogram-sage  { background: #3E5344; }
.monogram-coffee{ background: var(--coffee); }
.monogram-terra { background: #8E4530; }
.monogram span {
  position: relative; z-index: 1;
  font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 3.5rem); font-weight: 600;
  color: rgba(255, 253, 249, .94); letter-spacing: -.03em;
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.monogram small {
  position: absolute; z-index: 1; bottom: .8rem; left: 0; right: 0; text-align: center;
  font-family: var(--sans); font-size: .63rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 253, 249, .62);
}
/* --------------------------------------------------------- ranked list -- */

.ranked { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.ranked > li {
  counter-increment: rank; margin: 0;
  display: grid; grid-template-columns: auto 1fr; gap: .95rem 1.15rem;
  padding: 1.35rem 0; border-top: 1px solid var(--rule);
}
.ranked > li:last-child { border-bottom: 1px solid var(--rule); }
/* Without this, grid auto-placement drops the paragraph into column 1,
   underneath the rank number, instead of beside it. */
.ranked > li > * { grid-column: 2; }
.ranked > li::before {
  grid-column: 1;
  content: counter(rank, decimal-leading-zero);
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  color: var(--terracotta); line-height: 1; padding-top: .12rem;
  font-variation-settings: "SOFT" 40;
}
.ranked h3 { font-size: 1.18rem; margin-bottom: .28rem; }
.ranked p { font-size: .94rem; color: var(--ink-muted); margin-bottom: .5rem; }
.ranked p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------- compare table -- */

.table-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--rule); border-radius: var(--r-md);
  background: var(--paper);
}
.table-hint { font-size: .78rem; color: var(--ink-muted); margin: .6rem 0 0; }
@media (min-width: 820px) { .table-hint { display: none; } }

table.compare { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; margin: 0; }
table.compare caption { caption-side: top; text-align: left; padding: .95rem 1.05rem .3rem; font-size: .8rem; color: var(--ink-muted); }
table.compare th, table.compare td { padding: .78rem .95rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
table.compare thead th {
  background: var(--forest); color: var(--paper);
  font-size: .72rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap; border-bottom: 0;
}
table.compare tbody tr:last-child td, table.compare tbody tr:last-child th { border-bottom: 0; }
table.compare tbody tr:nth-child(even) { background: rgba(135, 154, 123, .055); }
table.compare th[scope="row"] { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--forest); }
table.compare th[scope="row"] small { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 500; color: var(--ink-muted); margin-top: .15rem; }
/* keep the cafe name visible while the rest scrolls */
table.compare th[scope="row"], table.compare thead th:first-child {
  position: sticky; left: 0; z-index: 2;
  background: var(--paper); box-shadow: 1px 0 0 var(--rule);
}
table.compare thead th:first-child { background: var(--forest); }
table.compare tbody tr:nth-child(even) th[scope="row"] { background: #F4F2EA; }

/* --------------------------------------------------------- quick answer -- */

.quick {
  background: var(--paper); border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.3rem clamp(1.15rem, 3vw, 1.7rem);
  margin: 1.9rem 0;
}
.quick h2, .quick h3 { font-size: 1.02rem; font-family: var(--sans); font-weight: 650;
  letter-spacing: .09em; text-transform: uppercase; color: var(--coffee); margin-bottom: .65rem; }
.quick p:last-child, .quick ul:last-child { margin-bottom: 0; }
.quick ul { padding-left: 1.1em; }

.note {
  font-size: .875rem; color: var(--ink-muted);
  background: rgba(135, 154, 123, .12);
  border-radius: var(--r-md); padding: .9rem 1.1rem;
  margin: 1.5rem 0;
}
.note strong { color: var(--forest); }
.note :last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- quote -- */

.pull {
  margin: clamp(2rem, 5vw, 3rem) 0; padding: 0; border: 0;
  max-width: 24em;
}
.pull blockquote {
  margin: 0; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.32rem, 3vw, 1.85rem); line-height: 1.35;
  color: var(--forest); font-variation-settings: "SOFT" 30, "WONK" 1;
}
.pull figcaption { margin-top: .9rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--coffee); font-weight: 600; }
/* on the dark band the default ink would sit at ~1.2:1 against the background */
.band-dark .pull blockquote { color: var(--paper); }
.band-dark .pull figcaption { color: var(--gold); }
.band-dark ol, .band-dark ul, .band-dark p { color: #D6E0D9; }
.band-dark li::marker { color: var(--gold); }
.band-dark strong { color: var(--paper); }

.pull-boxed {
  max-width: none; padding: clamp(1.5rem, 3vw, 2.1rem);
  border: 1.5px solid var(--gold); border-radius: var(--r-lg);
}
.pull-boxed blockquote::before {
  content: "\201C"; display: block; font-family: var(--serif); font-size: 2.8rem;
  line-height: 1; color: var(--gold); margin-bottom: .3rem; font-weight: 600;
}

/* checkmark list — used where a numbered <ol> would overstate that order matters */
.check-list { list-style: none; padding-left: 0; margin-bottom: 1.5rem; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
.check-list li::marker { content: none; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px;
  border-radius: 50%; background: var(--gold);
}
.check-list li::after {
  content: ""; position: absolute; left: 5px; top: .58em; width: 8px; height: 5px;
  border-left: 2px solid var(--forest); border-bottom: 2px solid var(--forest);
  transform: rotate(-45deg);
}

/* ----------------------------------------------------------------- FAQ -- */

.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.4rem 1.1rem 0; position: relative;
  font-family: var(--serif); font-size: 1.06rem; font-weight: 600; color: var(--forest);
  min-height: 48px; display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .35rem; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--terracotta); border-bottom: 2px solid var(--terracotta);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details > div { padding: 0 0 1.25rem; }
.faq details > div > :last-child { margin-bottom: 0; }
.faq p { color: var(--ink-muted); }

/* ---------------------------------------------------------- article body -- */

.article { padding-block: 0 clamp(3rem, 6vw, 4.5rem); }
.article-head { padding-block: clamp(.5rem, 2vw, 1.25rem) clamp(1.75rem, 4vw, 2.75rem); }
.article-head h1 { margin-bottom: 1rem; }

.meta-line {
  display: flex; flex-wrap: wrap; gap: .4rem 1.15rem;
  font-size: .8rem; color: var(--ink-muted);
  padding-top: 1.15rem; margin-top: 1.35rem; border-top: 1px solid var(--rule);
}
.meta-line b { font-weight: 600; color: var(--forest); }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.55rem, 3.2vw, 2.05rem); margin: clamp(2.4rem, 5vw, 3.2rem) 0 .9rem; }
.prose h3 { font-size: clamp(1.22rem, 2.4vw, 1.42rem); margin: 2.1rem 0 .6rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose > figure { margin: 2rem 0; }
.prose figure img { width: 100%; border-radius: var(--r-md); }
.prose figcaption { font-size: .78rem; color: var(--ink-muted); margin-top: .6rem; line-height: 1.5; }
.prose figcaption a { color: var(--coffee); }

/* one cafe entry inside a guide */
.entry { padding-top: 1.9rem; margin-top: 2.4rem; border-top: 1px solid var(--rule); }
.entry:first-of-type { border-top: 0; margin-top: 1.6rem; padding-top: 0; }
.entry h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: .55rem; margin-bottom: .5rem; }
.entry-rank {
  font-size: .78rem; font-weight: 700; color: var(--paper); background: var(--terracotta-d);
  border-radius: var(--r-pill); padding: .2rem .62rem; font-family: var(--sans);
  letter-spacing: .04em; align-self: center;
}
.entry-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.entry-tags li {
  margin: 0; font-size: .74rem; font-weight: 600; color: var(--coffee);
  background: rgba(196, 154, 90, .16); border-radius: var(--r-sm); padding: .26rem .6rem;
}
/* foto tempat di dalam entri kafe — hanya muncul kalau ada foto berlisensi */
.entry-photo { margin: 1.1rem 0 1.35rem; max-width: 46rem; }
.entry-photo img { width: 100%; border-radius: var(--r-md); }
.entry-photo figcaption { font-size: .74rem; color: var(--ink-muted); margin-top: .5rem; line-height: 1.5; }

.facts { margin: 1.15rem 0 0; font-size: .9rem; border-top: 1px dashed var(--rule-strong); padding-top: .95rem; }
.facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .3rem .8rem; padding: .3rem 0; }
.facts dt { font-weight: 600; color: var(--coffee); font-size: .82rem; }
.facts dd { margin: 0; color: var(--ink-muted); }
@media (max-width: 460px) { .facts div { grid-template-columns: 1fr; gap: .05rem; } }

/* ---------------------------------------------------------- author box -- */

.author {
  display: grid; gap: 1.1rem; align-items: start;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md);
  padding: clamp(1.25rem, 3vw, 1.85rem); margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 620px) { .author { grid-template-columns: auto 1fr; gap: 1.5rem; } }
.author-mark {
  width: 60px; height: 60px; flex: none; border-radius: 50%;
  background: var(--forest); display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.35rem; color: var(--gold); font-weight: 600;
}
img.author-mark { object-fit: cover; }
.author h2, .author h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.author p { font-size: .91rem; color: var(--ink-muted); margin-bottom: .6rem; }
.author p:last-child { margin-bottom: 0; }

.author-name {
  font-family: var(--serif); font-size: 1.16rem; font-weight: 600;
  color: var(--forest); margin-bottom: .1rem !important; line-height: 1.2;
}
.author-name a { color: inherit; text-decoration: none; }
.author-name a:hover { color: var(--terracotta-d); text-decoration: underline; }
.author-role {
  font-size: .72rem !important; font-weight: 650; letter-spacing: .13em;
  text-transform: uppercase; color: var(--coffee) !important; margin-bottom: .85rem !important;
}
.author-links { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .87rem; }
.author-links a { font-weight: 550; }

/* ------------------------------------------------- author profile page --- */

.profile { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 620px) { .profile { grid-template-columns: auto 1fr; gap: 2rem; } }
.profile-mark {
  width: 116px; height: 116px; flex: none; border-radius: 50%;
  background: var(--forest); display: grid; place-items: center;
  font-family: var(--serif); font-size: 2.5rem; color: var(--gold); font-weight: 600;
  font-variation-settings: "SOFT" 40;
}
img.profile-mark { object-fit: cover; }
.profile-role {
  font-size: .78rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  color: var(--coffee); margin: .3rem 0 1rem;
}
.byline-list { list-style: none; margin: 0; padding: 0; }
.byline-list > li { margin: 0; padding: 1.15rem 0; border-top: 1px solid var(--rule); }
.byline-list > li:last-child { border-bottom: 1px solid var(--rule); }
.byline-list h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.byline-list h3 a { color: inherit; text-decoration: none; }
.byline-list h3 a:hover { color: var(--terracotta-d); }
.byline-list p { font-size: .92rem; color: var(--ink-muted); margin: 0; }
.byline-list .card-area { margin: .45rem 0 0; }

/* --------------------------------------------------------------- source -- */

.sources { margin-top: clamp(2.25rem, 4vw, 3rem); }
.sources h2 { font-size: 1.25rem; margin-bottom: .8rem; }
.sources p, .sources li { font-size: .9rem; color: var(--ink-muted); }

/* ------------------------------------------------------- related guides -- */

.related { display: grid; gap: .9rem; }
@media (min-width: 700px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a {
  display: block; background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r-md); padding: 1.1rem 1.2rem; text-decoration: none;
  color: var(--forest); transition: border-color .18s ease, background-color .18s ease;
}
.related a:hover { border-color: var(--gold); background: #FFF; }
.related strong { display: block; font-family: var(--serif); font-size: 1.04rem; margin-bottom: .3rem; }
.related span { font-size: .85rem; color: var(--ink-muted); }

/* ------------------------------------------------------------------ CTA -- */

.cta {
  background: var(--paper); border: 1.5px solid var(--gold); border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4.5vw, 3rem); text-align: center;
}
.cta h2 { margin-bottom: .8rem; }
.cta p { max-width: 46ch; margin-inline: auto; color: var(--ink-muted); }
.cta .btn-row { justify-content: center; margin-top: 1.5rem; }

/* --------------------------------------------------------------- footer -- */

.foot { background: var(--forest); color: #C3D0C6; padding-block: clamp(2.75rem, 6vw, 4rem) 2rem; }
.foot a { color: #DDE6DF; text-decoration: none; }
.foot a:hover { color: var(--gold); text-decoration: underline; }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; } }
.foot h2 { font-size: 1.15rem; color: var(--paper); margin-bottom: .6rem; }
.foot h3 {
  font-family: var(--sans); font-size: .72rem; font-weight: 650; letter-spacing: .15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .85rem;
}
.foot p { font-size: .89rem; margin-bottom: .8rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .55rem; font-size: .9rem; }
.foot-base {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 253, 249, .16);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .8rem; color: #A7B7AB;
}

/* ------------------------------------------------------------------ 404 -- */

.err { text-align: center; padding-block: clamp(3.5rem, 10vw, 7rem); }
.err-code {
  font-family: var(--serif); font-size: clamp(4.5rem, 16vw, 8rem); line-height: 1;
  color: var(--gold); font-variation-settings: "SOFT" 60, "WONK" 1; margin-bottom: .5rem;
}
.err p { max-width: 46ch; margin-inline: auto; color: var(--ink-muted); }
.err .related { margin-top: 2.5rem; text-align: left; }

/* -------------------------------------------------------------- utility -- */

.stack > * + * { margin-top: 1.15rem; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media print {
  .masthead, .foot, .nav-toggle, .cta, .rail { display: none !important; }
  body { background: #fff; }
  a { text-decoration: underline; }
}
