/* Sukhumvit 31 - photography-led editorial guide.
   Type: Fraunces (display serif) + Hanken Grotesque (text and UI).
   Warm paper, deep botanical ink, earthy accents, real photographs. */

:root {
  --paper: #f6efe2;
  --paper-2: #efe6d4;
  --surface: #fffdf8;
  --ink: #21221b;
  --ink-soft: #585a4d;
  --ink-faint: #8a8b7c;
  --green: #1d2c26;
  --green-mid: #2f5d50;
  --clay: #b5552f;
  --gold: #c79a4b;
  --hairline: rgba(33, 34, 27, 0.14);
  --hairline-soft: rgba(33, 34, 27, 0.08);
  --shadow: 0 1px 2px rgba(29, 44, 38, 0.04), 0 14px 32px -20px rgba(29, 44, 38, 0.3);
  --shadow-lift: 0 2px 6px rgba(29, 44, 38, 0.07), 0 26px 52px -24px rgba(29, 44, 38, 0.45);

  --eat: #b5552f;
  --drink: #7b4a5e;
  --coffee: #7a5230;
  --shop: #5d6b4b;
  --wellness: #3f7d6e;
  --stay: #355b6b;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: light; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }

/* Focus visibility (Web Interface Guidelines) */
:focus-visible { outline: 2px solid var(--green-mid); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .cat-hero :focus-visible, .venue-hero :focus-visible, .footer :focus-visible { outline-color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--green); color: var(--paper); padding: 12px 18px; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

/* ---------------------------------------------------------------- masthead */
.masthead { position: sticky; top: 0; z-index: 50; background: rgba(246,239,226,0.88); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--hairline-soft); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green); }
.brand-mark { display: inline-flex; color: var(--green-mid); }
.brand-mark svg { width: 36px; height: 36px; }
.brand-words { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.32rem; color: var(--green); }
.brand-sub { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a { text-decoration: none; color: var(--ink-soft); font-size: 0.84rem; font-weight: 600; letter-spacing: 0.03em; padding: 8px 12px; border-radius: 999px; transition: color 0.15s, background 0.15s; }
.primary-nav a:hover { color: var(--ink); background: rgba(33,34,27,0.05); }
.primary-nav a[aria-current="page"], .primary-nav a.is-current { color: var(--green); }
.nav-guide { margin-left: 6px; border: 1px solid var(--hairline); color: var(--green) !important; }
.nav-guide:hover { background: var(--green) !important; color: var(--paper) !important; border-color: var(--green); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 0.94rem; font-weight: 600; padding: 0.72em 1.3em; border-radius: 999px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform 0.15s, background 0.15s, color 0.15s, border-color 0.15s; line-height: 1; }
.btn svg { width: 18px; height: 18px; }
.btn-solid { background: var(--green); color: var(--paper); }
.btn-solid:hover { background: #16231e; transform: translateY(-1px); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-line-light { border-color: rgba(255,255,255,0.7); color: #fff; background: rgba(255,255,255,0.08); backdrop-filter: blur(2px); }
.btn-line-light:hover { background: #fff; color: var(--green); border-color: #fff; }
.btn-ghost { border-color: rgba(246,239,226,0.5); color: var(--paper); }
.btn-ghost:hover { background: rgba(246,239,226,0.12); }
.linkish { background: none; border: 0; color: var(--clay); font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }

/* ---------------------------------------------------------------- shared */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); margin: 0 0 18px; }
.eyebrow svg { width: 16px; height: 16px; }
.eyebrow-light { color: #f0c9a8; }
.section { padding: clamp(48px, 7vw, 92px) 0; }
.section-tint { background: var(--paper-2); }
.section-intro { padding-top: clamp(32px, 4vw, 52px); padding-bottom: 0; }
.section-grid { padding-top: clamp(28px, 4vw, 44px); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--green); }
.section-lead { color: var(--ink-soft); font-size: 1.08rem; margin-top: 14px; text-wrap: pretty; }
.sprig { display: block; width: 140px; height: 28px; color: var(--gold); margin: 38px 0; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; }
.hero-photo { min-height: clamp(540px, 82vh, 780px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(16,24,20,0.25) 0%, rgba(16,24,20,0.15) 35%, rgba(16,24,20,0.82) 100%); }
.hero-inner { position: relative; z-index: 2; max-width: 880px; padding-block: clamp(40px, 6vw, 76px); color: #fff; }
.hero-eyebrow { color: #f0c9a8; }
.hero-title { font-size: clamp(2.9rem, 8vw, 5.4rem); color: #fff; letter-spacing: -0.025em; margin-bottom: 20px; text-shadow: 0 2px 30px rgba(0,0,0,0.35); }
.hero-lead { font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: rgba(255,255,255,0.92); max-width: 640px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 34px; }
.hero-facts { list-style: none; margin: 0; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,0.25); display: flex; flex-wrap: wrap; gap: 14px 40px; }
.hero-facts li { display: flex; align-items: center; gap: 12px; font-size: 0.96rem; color: rgba(255,255,255,0.85); }
.hero-facts svg { width: 22px; height: 22px; color: #f0c9a8; flex: none; }
.hero-facts b { color: #fff; font-weight: 600; }
/* fallback (no hero photo) */
.hero:not(.hero-photo) .hero-inner { color: var(--ink); padding-top: clamp(48px,7vw,86px); }
.hero:not(.hero-photo) .hero-title { color: var(--green); text-shadow: none; }
.hero:not(.hero-photo) .hero-lead { color: var(--ink-soft); }
.hero:not(.hero-photo) .hero-eyebrow { color: var(--green-mid); }
.hero:not(.hero-photo) .hero-facts { border-color: var(--hairline); }
.hero:not(.hero-photo) .hero-facts li { color: var(--ink-soft); }
.hero:not(.hero-photo) .hero-facts b { color: var(--ink); }
.hero-art .streetscape { width: 100%; height: clamp(170px, 26vw, 300px); color: rgba(33,34,27,0.72); }

/* ---------------------------------------------------------------- featured */
.feature-grid { display: grid; gap: 26px; align-items: start; }
.feature-lead { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform 0.18s, box-shadow 0.18s; }
.feature-lead:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.feature-media { display: block; aspect-ratio: auto; height: 100%; min-height: 280px; overflow: hidden; position: relative; }
.feature-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.feature-lead:hover .feature-img { transform: scale(1.04); }
.feature-body { padding: 32px 36px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.feature-name { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--green); margin-top: 6px; }
.feature-type { font-size: 0.9rem; font-weight: 600; color: var(--accent, var(--clay)); }
.feature-short { color: var(--ink-soft); font-size: 1.02rem; margin: 6px 0 14px; }
.feature-rest { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }

/* ---------------------------------------------------------------- cards */
.grid { display: grid; gap: 24px; }
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { position: relative; }
.card-link { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform 0.18s ease, box-shadow 0.18s ease; box-shadow: var(--shadow); }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card-link:hover .card-img { transform: scale(1.05); }
.card-cat { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: rgba(20,28,24,0.62); backdrop-filter: blur(4px); padding: 5px 11px 5px 9px; border-radius: 999px; }
.card-cat svg { width: 15px; height: 15px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 20px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card-name { font-size: 1.32rem; color: var(--green); }
.card-num { font-family: var(--serif); font-size: 1.1rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.card-type { font-size: 0.82rem; color: var(--accent, var(--ink-soft)); margin: 3px 0 10px; font-weight: 600; }
.card-short { color: var(--ink-soft); font-size: 0.96rem; margin: 0 0 18px; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--hairline-soft); }
.card-price { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.card-go { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.card-go svg { width: 16px; height: 16px; transition: transform 0.18s; }
.card-link:hover .card-go svg { transform: translateX(3px); }
.card-eat { --accent: var(--eat); } .card-drink { --accent: var(--drink); } .card-coffee { --accent: var(--coffee); }
.card-shop { --accent: var(--shop); } .card-wellness { --accent: var(--wellness); } .card-stay { --accent: var(--stay); }

.rating { display: inline-flex; align-items: center; gap: 5px; font-size: 0.86rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.rating svg { width: 15px; height: 15px; color: var(--gold); }
.rating-scale { color: var(--ink-faint); font-size: 0.78rem; }
.rating-count { color: var(--ink-faint); font-size: 0.78rem; }

/* award / credential badges */
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
.badge { display: inline-flex; align-items: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green); background: var(--green-wash, rgba(31,79,60,0.08)); border: 1px solid var(--green-mid, rgba(31,79,60,0.25)); border-radius: 999px; padding: 5px 11px; }

/* rating source detail in the fact list, and the affiliate microcopy */
.fact-sub { color: var(--ink-faint); font-size: 0.82rem; font-weight: 400; }
.cta-note { margin: 10px 0 0; font-size: 0.76rem; line-height: 1.4; color: var(--ink-faint); text-wrap: pretty; }
.fact-checked { margin: 14px 0 0; font-size: 0.74rem; color: var(--ink-faint); text-align: center; }

/* "stay on the soi" funnel band - full-bleed magazine style */
.stayband-hero { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; box-shadow: var(--shadow); }
.stayband-bg { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; aspect-ratio: auto !important; }
.stayband-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,28,24,0.12) 0%, rgba(20,28,24,0.22) 42%, rgba(20,28,24,0.8) 100%); }
.stayband-content { position: relative; padding: clamp(28px, 5vw, 56px); max-width: 600px; color: #fff; }
.stayband-title { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.04; margin: 4px 0 0; }
.stayband-lead { color: rgba(255,255,255,0.92); margin: 12px 0 22px; font-size: 1.05rem; line-height: 1.5; text-wrap: pretty; }
.stayband-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) { .stayband-hero { min-height: 420px; } }

/* fallback tile when no photo */
.ph-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--cc, var(--green-mid)); background:
  radial-gradient(120% 120% at 30% 20%, color-mix(in srgb, var(--cc, var(--green-mid)) 18%, var(--paper-2)) 0%, var(--paper-2) 70%); }
.ph-fallback svg { width: 46px; height: 46px; opacity: 0.7; }
.ph-eat { --cc: var(--eat); } .ph-drink { --cc: var(--drink); } .ph-coffee { --cc: var(--coffee); }
.ph-shop { --cc: var(--shop); } .ph-wellness { --cc: var(--wellness); } .ph-stay { --cc: var(--stay); }

/* ---------------------------------------------------------------- category grid */
.cat-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cat-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform 0.18s, box-shadow 0.18s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.cat-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.cat-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat-card:hover .cat-img { transform: scale(1.05); }
.cat-icon { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(20,28,24,0.6); backdrop-filter: blur(4px); color: #fff; }
.cat-icon svg { width: 24px; height: 24px; }
.cat-body { padding: 22px 24px 24px; display: flex; flex-direction: column; }
.cat-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--green); }
.cat-blurb { color: var(--ink-soft); font-size: 0.95rem; margin-top: 6px; }
.cat-count { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.82rem; font-weight: 600; color: var(--cc, var(--green-mid)); }
.cat-count svg { width: 16px; height: 16px; transition: transform 0.18s; }
.cat-card:hover .cat-count svg { transform: translateX(3px); }
.cat-eat { --cc: var(--eat); } .cat-drink { --cc: var(--drink); } .cat-coffee { --cc: var(--coffee); }
.cat-shop { --cc: var(--shop); } .cat-wellness { --cc: var(--wellness); } .cat-stay { --cc: var(--stay); }

/* ---------------------------------------------------------------- guide promo band */
.guide-band { background: var(--paper); }
.guide-promo { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.guide-promo-media { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.promo-img { width: 100%; height: 100%; object-fit: cover; }
.guide-promo-text .eyebrow { color: var(--green-mid); }
.guide-promo-text .section-title { margin-bottom: 16px; }
.guide-promo-text p { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 22px; }

/* ---------------------------------------------------------------- Q and A */
.qa-list { display: grid; gap: 12px; margin-bottom: 28px; }
.qa { background: var(--surface); border: 1px solid var(--hairline); border-radius: 13px; padding: 4px 22px; transition: border-color 0.15s; }
.qa[open] { border-color: var(--green-mid); }
.qa summary { list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--serif); font-size: 1.16rem; font-weight: 600; color: var(--green); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 1.5rem; color: var(--clay); transition: transform 0.2s; line-height: 1; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa-body p, .qa p { color: var(--ink-soft); margin: 0 0 18px; font-size: 1rem; }
.qa-list-full .qa { padding: 6px 26px; }
.afterword { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--hairline); color: var(--ink-soft); }
.afterword a { color: var(--clay); }

/* ---------------------------------------------------------------- breadcrumb + page heads */
.breadcrumb { padding-top: 22px; font-size: 0.84rem; color: var(--ink-faint); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--clay); }
.breadcrumb span { margin: 0 6px; }
.breadcrumb [aria-current="page"] { color: var(--ink); }
.section-lead-block { padding-bottom: 0; padding-top: clamp(28px, 4vw, 48px); }
.page-title { font-size: clamp(2.1rem, 5vw, 3.4rem); color: var(--green); margin-bottom: 18px; }
.page-intro { font-size: 1.15rem; color: var(--ink-soft); max-width: 700px; text-wrap: pretty; }

/* category hero band */
.cat-hero { position: relative; min-height: clamp(260px, 38vh, 400px); display: flex; align-items: flex-end; overflow: hidden; }
.cat-hero-img { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; }
.cat-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,24,20,0.2), rgba(16,24,20,0.75)); }
.cat-hero-inner { position: relative; z-index: 2; padding-block: clamp(28px, 4vw, 48px); }
.page-title-light { color: #fff; margin: 0; text-shadow: 0 2px 24px rgba(0,0,0,0.35); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.result-count { font-size: 0.86rem; color: var(--ink-faint); margin: 0; font-variant-numeric: tabular-nums; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--hairline); background: var(--surface); color: var(--ink-soft); font-size: 0.86rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: all 0.15s; }
.chip svg { width: 16px; height: 16px; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip-filter.is-active { background: var(--green); color: var(--paper); border-color: var(--green); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.crosslinks h2 { font-size: 1.3rem; color: var(--green); }
.no-results { text-align: center; color: var(--ink-soft); padding: 30px 0; }
.chip-toggle.is-active { background: var(--green); color: var(--paper); border-color: var(--green); }
.chip:hover { border-color: var(--green-mid, var(--green)); color: var(--ink); }
.search-field { margin-top: 22px; }
.search-field input { width: 100%; font: inherit; font-size: 1.05rem; padding: 15px 18px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.search-field input:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-color: var(--green); }
.search-field input::placeholder { color: var(--ink-faint); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- venue page */
.venue-hero { position: relative; min-height: clamp(300px, 46vh, 480px); display: flex; align-items: flex-end; overflow: hidden; }
.venue-hero-img { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; }
.venue-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,24,20,0.15), rgba(16,24,20,0.8)); }
.venue-hero-inner { position: relative; z-index: 2; padding-block: clamp(28px, 4vw, 50px); max-width: 880px; }
.venue-hero-credit { position: absolute; right: 12px; bottom: 10px; z-index: 2; }
.venue-hero-credit .credit { color: rgba(255,255,255,0.7); font-size: 0.7rem; }
.venue-title { font-size: clamp(2.3rem, 5.5vw, 3.6rem); color: var(--green); margin-bottom: 8px; }
.venue-title-light { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,0.4); }
.venue-type { font-size: 1.15rem; color: var(--ink-soft); font-style: italic; font-family: var(--serif); }
.venue-type-light { color: rgba(255,255,255,0.9); }
.venue-head { padding-top: 30px; max-width: 820px; }
.venue-tags-row { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 22px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); background: var(--paper-2); border: 1px solid var(--hairline-soft); padding: 6px 13px; border-radius: 999px; }
.tag svg { width: 15px; height: 15px; }
.tag-loc svg { color: var(--green-mid); }
.tag-rating { font-variant-numeric: tabular-nums; }
.tag-rating svg { color: var(--gold); }

.venue-grid { display: grid; grid-template-columns: 1fr 350px; gap: clamp(32px, 5vw, 64px); padding-top: 34px; padding-bottom: 20px; align-items: start; }
.venue-main { font-size: 1.08rem; }
.venue-main > p { color: var(--ink); margin-bottom: 1.2em; max-width: 64ch; }
.callout { margin: 28px 0; padding: 22px 26px; border-left: 3px solid var(--clay); background: color-mix(in srgb, var(--clay) 7%, var(--surface)); border-radius: 0 12px 12px 0; }
.callout h2 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); margin-bottom: 8px; }
.callout p { margin: 0; color: var(--ink); font-size: 1.02rem; }
.venue-highlights { margin-top: 30px; }
.venue-highlights h2 { font-size: 1.4rem; color: var(--green); margin-bottom: 16px; }
.ticklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticklist li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.ticklist li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--green-mid) 16%, transparent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5d50' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E"); background-size: 12px; background-position: center; background-repeat: no-repeat; }
.venue-aside { position: sticky; top: 92px; }
.fact-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.fact-card h2 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 18px; }
.facts { margin: 0; display: grid; gap: 14px; }
.facts dt { display: inline-flex; align-items: center; gap: 7px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.facts dt svg { width: 15px; height: 15px; color: var(--green-mid); }
.facts dd { margin: 2px 0 0; color: var(--ink); font-size: 0.98rem; }
.fact-address { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--hairline-soft); font-size: 0.88rem; color: var(--ink-soft); }
.fact-actions { display: grid; gap: 10px; margin-top: 22px; }
.fact-actions .btn { justify-content: center; }

/* ---------------------------------------------------------------- article / guide */
.article-head { padding-top: 30px; max-width: 800px; }
.article-title { font-size: clamp(2.3rem, 5.5vw, 3.7rem); color: var(--green); margin-bottom: 18px; }
.article-standfirst { font-size: 1.25rem; color: var(--ink-soft); max-width: 680px; line-height: 1.55; text-wrap: pretty; }
.article-hero { position: relative; margin-top: 32px; border-radius: var(--radius); overflow: hidden; }
.article-hero-img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; }
.article-body { max-width: 760px; padding-top: 40px; padding-bottom: 40px; font-size: 1.1rem; }
.article-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--green); margin: 44px 0 14px; scroll-margin-top: 90px; }
.article-body p { color: var(--ink); margin-bottom: 1.1em; }
.article-body a { color: var(--clay); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.article-body a:hover { color: var(--green); }
.article-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.fig { margin: 30px 0; }
.fig-img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 13px; }
.fig figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--ink-faint); }
.credit { font-size: 0.78rem; color: var(--ink-faint); }
.credit-on-img { position: absolute; right: 12px; bottom: 10px; color: rgba(255,255,255,0.7); }
.fact-table { margin: 0 0 8px; }
.fact-table table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.fact-table th, .fact-table td { text-align: left; padding: 13px 20px; font-size: 0.96rem; border-bottom: 1px solid var(--hairline-soft); }
.fact-table tr:last-child th, .fact-table tr:last-child td { border-bottom: 0; }
.fact-table th { width: 42%; color: var(--ink-faint); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.fact-table td { color: var(--ink); font-weight: 500; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 1.6rem; color: var(--green); margin: 36px 0 12px; scroll-margin-top: 90px; }
.prose a { color: var(--clay); }

/* ---------------------------------------------------------------- credits page */
.credit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.credit-row { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 14px; }
.credit-row img { width: 120px; height: 80px; object-fit: cover; border-radius: 8px; flex: none; }
.credit-alt { margin: 0 0 2px; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.credit-meta { margin: 0; font-size: 0.84rem; color: var(--ink-faint); }
.credit-meta a { color: var(--clay); }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--green); color: #d9d6c5; padding: clamp(48px, 6vw, 80px) 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-mark { color: #cde0d6; }
.footer-mark svg { width: 38px; height: 38px; }
.footer-blurb { margin: 16px 0 12px; color: #c2c4b3; max-width: 34ch; font-size: 0.96rem; }
.footer-meta { font-size: 0.82rem; color: #8fa49a; }
.footer-nav h2, .footer-cta h2 { font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: #8fa49a; margin-bottom: 16px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-nav a { color: #d9d6c5; text-decoration: none; font-size: 0.97rem; }
.footer-nav a:hover { color: #fff; }
.footer-cta p { color: #c2c4b3; font-size: 0.95rem; margin-bottom: 18px; max-width: 30ch; }
.footer-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(217,214,197,0.15); font-size: 0.83rem; color: #8fa49a; }
.footer-foot p { margin: 0; }

/* ---------------------------------------------------------------- the soi map */
.soimap { display: grid; gap: 16px; }
.map-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-mapfilter { gap: 8px; }
.chip-mapfilter.is-active { background: var(--green); color: var(--paper); border-color: var(--green); }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-eat { background: var(--eat); } .dot-drink { background: var(--drink); } .dot-coffee { background: var(--coffee); }
.dot-shop { background: var(--shop); } .dot-wellness { background: var(--wellness); } .dot-stay { background: var(--stay); }

.soimap-canvas { position: relative; aspect-ratio: 1000 / 680; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--hairline); background: radial-gradient(135% 130% at 18% 26%, #f0e8d7 0%, #e7dcc6 62%, #e1d4ba 100%); box-shadow: var(--shadow); }
.soimap-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.mp-green { fill: rgba(47, 93, 80, 0.15); }
.mp-casing { stroke: rgba(33, 34, 27, 0.10); }
.mp-road { stroke: #fbf6ec; }
.mp-walk { stroke: var(--clay); opacity: 0.65; animation: mp-walk 7s linear infinite; }
@keyframes mp-walk { to { stroke-dashoffset: -110; } }
.mp-rl { fill: rgba(33, 34, 27, 0.5); font-family: var(--sans); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.mp-rl-major { font-size: 13px; }
.mp-rl-spine { font-size: 14px; fill: rgba(33, 34, 27, 0.6); }
.mp-rl-minor { font-size: 10px; }
.mp-pl { fill: var(--ink-faint); font-size: 11px; font-family: var(--sans); font-weight: 600; text-anchor: middle; }
.mp-bts rect { fill: var(--green); }
.mp-bts path { stroke: #fff; stroke-width: 1.6; fill: none; stroke-linecap: round; }
.mp-bts-label { fill: var(--green); font-weight: 700; font-size: 12px; font-family: var(--sans); }
.mp-compass-ring { fill: rgba(255,253,248,0.5); stroke: rgba(33,34,27,0.25); }
.mp-compass-needle { fill: var(--clay); }
.mp-compass-n { fill: var(--ink-faint); font-size: 11px; font-weight: 700; }

.soimap-pins { position: absolute; inset: 0; }
.pin { position: absolute; transform: translate(-50%, -50%); display: block; z-index: 2; }
.pin.is-marquee { z-index: 3; }
.pin-dot { display: block; width: 15px; height: 15px; border-radius: 50%; background: var(--pc, var(--green-mid)); border: 2.5px solid var(--paper); box-shadow: 0 2px 7px rgba(20,28,24,0.3); transition: transform 0.15s; }
.pin.is-marquee .pin-dot { width: 19px; height: 19px; }
.pin:hover, .pin:focus-visible { z-index: 5; }
.pin:hover .pin-dot, .pin:focus-visible .pin-dot { transform: scale(1.45); }
.pin-eat { --pc: var(--eat); } .pin-drink { --pc: var(--drink); } .pin-coffee { --pc: var(--coffee); }
.pin-shop { --pc: var(--shop); } .pin-wellness { --pc: var(--wellness); } .pin-stay { --pc: var(--stay); }
.pin-label { position: absolute; white-space: nowrap; font-family: var(--serif); font-weight: 600; font-size: clamp(11px, 1.05vw, 15px); color: var(--green); background: rgba(255,253,248,0.88); padding: 3px 9px; border-radius: 999px; pointer-events: none; box-shadow: var(--shadow); }
.pin-label-right { left: 16px; top: 50%; transform: translateY(-50%); }
.pin-label-left { right: 16px; top: 50%; transform: translateY(-50%); }
.pin-label-above { left: 50%; bottom: 17px; transform: translateX(-50%); }
.pin-label-below { left: 50%; top: 17px; transform: translateX(-50%); }

.soimap:not([data-filter="all"]) .pin { opacity: 0.13; filter: saturate(0.2); pointer-events: none; }
.soimap:not([data-filter="all"]) .pin .pin-label { opacity: 0; }
.soimap[data-filter="eat"] .pin-eat, .soimap[data-filter="drink"] .pin-drink, .soimap[data-filter="coffee"] .pin-coffee,
.soimap[data-filter="shop"] .pin-shop, .soimap[data-filter="wellness"] .pin-wellness, .soimap[data-filter="stay"] .pin-stay { opacity: 1; filter: none; pointer-events: auto; }
.soimap[data-filter="eat"] .pin-eat .pin-label, .soimap[data-filter="drink"] .pin-drink .pin-label, .soimap[data-filter="coffee"] .pin-coffee .pin-label,
.soimap[data-filter="shop"] .pin-shop .pin-label, .soimap[data-filter="wellness"] .pin-wellness .pin-label, .soimap[data-filter="stay"] .pin-stay .pin-label { opacity: 1; }

.map-preview { position: absolute; left: 14px; bottom: 14px; max-width: min(320px, 72%); background: rgba(255,253,248,0.94); backdrop-filter: blur(5px); border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 15px; box-shadow: var(--shadow); }
.map-preview-hint { margin: 0; font-size: 0.86rem; color: var(--ink-soft); }
.mp-prev-cat { margin: 0 0 2px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-mid); }
.mp-prev-name { margin: 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--green); }
.mp-prev-meta { margin: 2px 0 0; font-size: 0.86rem; color: var(--ink-soft); }
.mp-prev-eat { color: var(--eat); } .mp-prev-drink { color: var(--drink); } .mp-prev-coffee { color: var(--coffee); }
.mp-prev-shop { color: var(--shop); } .mp-prev-wellness { color: var(--wellness); } .mp-prev-stay { color: var(--stay); }

/* ---------------------------------------------------------------- motion + responsive */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 760px) {
  .feature-lead { grid-template-columns: 1fr; }
  .feature-media { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 900px) {
  .venue-grid { grid-template-columns: 1fr; }
  .venue-aside { position: static; }
  .guide-promo { grid-template-columns: 1fr; }
  .guide-promo-media { aspect-ratio: 16 / 9; max-height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .primary-nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--paper); border-bottom: 1px solid var(--hairline); padding: 14px clamp(20px,5vw,48px) 22px; transform: translateY(-130%); transition: transform 0.25s ease; box-shadow: var(--shadow-lift); overscroll-behavior: contain; }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav a { padding: 13px 6px; border-radius: 8px; font-size: 1rem; }
  .nav-guide { margin-left: 0; margin-top: 8px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-facts li { width: 100%; }
}
