/* ==========================================================================
   PARENT NETWORK ASIA — Design System v2
   --------------------------------------------------------------------------
   Identity: "The Village"
   Warm, grounded, editorial. Southeast Asian materiality — terracotta, teak,
   jade, turmeric, raw paper. Replaces the primary-colour geometric system.
   ========================================================================== */

/* --------------------------------------------------------------------------
   00 · FONTS (self-hosted — no third-party request, no FOUT from a CDN)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/fraunces-latin-full-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/fraunces-latin-full-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
}


/* --------------------------------------------------------------------------
   01 · TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Surface */
  --paper:      #FDFAF6;
  --paper-warm: #F6F0E7;
  --paper-deep: #EDE4D8;
  --surface:    #FFFFFF;

  /* Ink */
  --ink:    #1C1917;
  --ink-70: #57504A;
  --ink-45: #8C8378;
  --ink-25: #BDB5AA;

  /* Brand */
  --pine:        #1E4D43;
  --pine-deep:   #14352E;
  --pine-soft:   #E4EDEA;
  --clay:        #C2572F;
  --clay-deep:   #9C421F;
  --clay-soft:   #FBEBE2;
  --turmeric:    #E0A33C;
  --turmeric-soft:#FDF3E2;
  --blush:       #E8C9B8;

  /* Lines & shadow */
  --line:      rgba(28, 25, 23, 0.10);
  --line-soft: rgba(28, 25, 23, 0.06);
  --line-firm: rgba(28, 25, 23, 0.18);

  --shadow-xs: 0 1px 2px rgba(28,25,23,.05);
  --shadow-sm: 0 2px 10px rgba(28,25,23,.05), 0 1px 2px rgba(28,25,23,.04);
  --shadow:    0 14px 40px -12px rgba(28,25,23,.16), 0 2px 8px rgba(28,25,23,.05);
  --shadow-lg: 0 34px 70px -22px rgba(28,25,23,.26), 0 4px 14px rgba(28,25,23,.06);

  /* Type */
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Shape */
  --r-xs: 6px;
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Rhythm */
  --gut: 26px;
  --wrap: 1240px;
  --wrap-text: 720px;
  --header-h: 76px;

  /* Motion — see §03 */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --t-fast: .18s;
  --t-mid: .32s;
  --t-slow: .62s;
}

/* --------------------------------------------------------------------------
   02 · RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-70);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.62;
  font-feature-settings: 'kern', 'liga', 'calt';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.021em;
  margin: 0 0 .44em;
  font-variation-settings: 'SOFT' 18, 'WONK' 0, 'opsz' 40;
}

h1 { font-size: clamp(2.6rem, 6.1vw, 4.7rem); line-height: 1.02; letter-spacing: -0.032em; }
h2 { font-size: clamp(2rem, 3.9vw, 3.1rem); letter-spacing: -0.026em; }
h3 { font-size: clamp(1.22rem, 1.8vw, 1.46rem); line-height: 1.22; letter-spacing: -0.016em; }
h4 { font-size: 1.04rem; font-weight: 600; line-height: 1.3; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--pine); text-decoration: none; transition: color var(--t-fast) var(--ease-soft); }
a:hover { color: var(--clay); }

strong, b { color: var(--ink); font-weight: 600; }

ul, ol { margin: 0 0 1.05em; padding-left: 1.2em; }
li { margin-bottom: .36em; }

::selection { background: var(--turmeric); color: var(--ink); }

:focus-visible {
  outline: 2.5px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--pine); color: #fff; padding: 14px 22px;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600; font-size: .92rem;
}
.skip-link:focus { left: 0; color: #fff; }

.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;
}

/* --------------------------------------------------------------------------
   03 · MOTION SYSTEM
   Entrance  : fade + 18px rise, 620ms, --ease, 55ms stagger
   Scroll    : hero parallax only; sections reveal once
   Hover     : lift 4px, shadow bloom, ≤5° tilt on feature cards
   Press     : scale .985, 120ms
   NEVER     : body copy, form inputs mid-type, search results re-ordering,
               anything that delays the hero search being usable
   -------------------------------------------------------------------------- */
.rise { opacity: 0; transform: translate3d(0, 18px, 0); }
.rise.in {
  opacity: 1; transform: none;
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}

.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt__inner { transform: translateZ(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .rise { opacity: 1; transform: none; }
  #hero-canvas { display: none; }
}

/* --------------------------------------------------------------------------
   04 · LAYOUT
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--text { max-width: var(--wrap-text); }
.wrap--wide { max-width: 1420px; }

.sec { padding: clamp(68px, 9vw, 128px) 0; position: relative; }
.sec--sm { padding: clamp(48px, 6vw, 84px) 0; }
.sec--warm { background: var(--paper-warm); }
.sec--pine { background: var(--pine); color: rgba(255,255,255,.74); }
.sec--pine h1, .sec--pine h2, .sec--pine h3, .sec--pine h4, .sec--pine strong { color: #fff; }
.sec--pine a { color: var(--turmeric); }

.grid { display: grid; gap: clamp(18px, 2vw, 28px); }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.mt-s { margin-top: 18px; } .mt-m { margin-top: 30px; } .mt-l { margin-top: 48px; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Section heading block */
.lede { max-width: 640px; margin-bottom: clamp(34px, 4vw, 56px); }
.lede--center { margin-inline: auto; text-align: center; }
.lede p { font-size: 1.1rem; margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans);
  font-size: .745rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 20px; height: 1.5px; background: currentColor; opacity: .5;
}
.eyebrow--pine { color: var(--pine); }
.eyebrow--light { color: var(--turmeric); }

/* --------------------------------------------------------------------------
   05 · BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--pine);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 550; font-size: .945rem; line-height: 1;
  letter-spacing: -0.005em;
  padding: 16px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  cursor: pointer; white-space: nowrap; text-align: center;
  transition: transform var(--t-fast) var(--ease-soft),
              box-shadow var(--t-mid) var(--ease),
              background-color var(--t-fast) var(--ease-soft),
              color var(--t-fast) var(--ease-soft),
              border-color var(--t-fast) var(--ease-soft);
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0) scale(.985); transition-duration: .12s; }

.btn--clay  { --btn-bg: var(--clay); }
.btn--clay:hover { background: var(--clay-deep); }
.btn--pine:hover { background: var(--pine-deep); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-firm); }
.btn--ghost:hover { --btn-fg: var(--pine); border-color: var(--pine); background: var(--pine-soft); box-shadow: none; }
.btn--paper { --btn-bg: var(--paper); --btn-fg: var(--pine); }
.btn--paper:hover { --btn-bg: var(--turmeric); --btn-fg: var(--ink); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.34); }
.btn--outline-light:hover { --btn-bg: #fff; --btn-fg: var(--pine); border-color: #fff; }
.btn--sm { padding: 11px 18px; font-size: .865rem; }
.btn--lg { padding: 19px 34px; font-size: 1.02rem; }
.btn--full { width: 100%; }

.lnk {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 550; font-size: .93rem; color: var(--pine);
}
.lnk::after {
  content: '→'; transition: transform var(--t-mid) var(--ease);
}
.lnk:hover::after { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   06 · HEADER
   -------------------------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 900;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(170%) blur(16px);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-mid) var(--ease-soft), background-color var(--t-mid) var(--ease-soft);
}
.hdr.stuck { border-bottom-color: var(--line); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__mk { width: 34px; height: 34px; flex: 0 0 auto; }
.logo__wd {
  font-family: var(--display); font-weight: 600; font-size: 1.11rem;
  letter-spacing: -0.028em; line-height: 1; color: var(--ink);
  font-variation-settings: 'SOFT' 20, 'opsz' 20;
}
.logo__wd i { font-style: normal; color: var(--clay); }

.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__list > li > a {
  display: block; padding: 9px 14px; border-radius: var(--r-pill);
  font-size: .925rem; font-weight: 480; color: var(--ink-70);
  transition: color var(--t-fast) var(--ease-soft), background-color var(--t-fast) var(--ease-soft);
}
.nav__list > li > a:hover { color: var(--ink); background: var(--paper-deep); }
.nav__list > li > a.on { color: var(--pine); font-weight: 600; background: var(--pine-soft); }

.nav__end { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none; width: 44px; height: 42px; padding: 0;
  border: 1px solid var(--line-firm); background: transparent;
  border-radius: var(--r-sm); cursor: pointer; place-items: center;
}
.burger i { display: block; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; position: relative; transition: background var(--t-fast); }
.burger i::before, .burger i::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 1.6px;
  background: var(--ink); border-radius: 2px;
  transition: transform var(--t-mid) var(--ease), top var(--t-mid) var(--ease);
}
.burger i::before { top: -6px; } .burger i::after { top: 6px; }
.burger[aria-expanded="true"] i { background: transparent; }
.burger[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] i::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1040px) {
  .burger { display: grid; }
  .nav__list {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); padding: 18px var(--gut) 28px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease), visibility var(--t-mid);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav__list.open { opacity: 1; visibility: visible; transform: none; }
  .nav__list > li > a { padding: 14px; font-size: 1.02rem; }
  .nav__end .btn { display: none; }
  .nav__list .m-cta { margin-top: 14px; }
  .nav__list .m-cta .btn { display: flex; }
}
@media (min-width: 1041px) { .nav__list .m-cta { display: none; } }

/* --------------------------------------------------------------------------
   07 · HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex; align-items: center;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px);
  overflow: hidden;
  background: var(--paper);
}
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: 0;
  transition: opacity 1.2s var(--ease);
}
#hero-canvas.ready { opacity: 1; }

.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 5vw, 76px); align-items: center; }

.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: italic; color: var(--clay);
  font-variation-settings: 'SOFT' 40, 'WONK' 1, 'opsz' 60;
}
.hero__sub { font-size: clamp(1.04rem, 1.35vw, 1.2rem); max-width: 520px; color: var(--ink-70); margin-bottom: 30px; }

/* Search — the primary action */
.search {
  display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr) auto;
  gap: 6px; padding: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  max-width: 660px;
  transition: box-shadow var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease-soft);
}
.search:focus-within { box-shadow: var(--shadow-lg); border-color: var(--line-firm); }
.search__f { position: relative; display: flex; align-items: center; min-width: 0; }
.search__f > svg { position: absolute; left: 17px; width: 17px; height: 17px; color: var(--ink-45); pointer-events: none; }
.search input, .search select {
  width: 100%; min-width: 0; border: 0; background: transparent; appearance: none;
  padding: 16px 14px 16px 44px;
  font-family: var(--sans); font-size: .97rem; color: var(--ink);
  border-radius: calc(var(--r-xl) - 8px);
}
.search select { cursor: pointer; padding-right: 30px; }
.search input::placeholder { color: var(--ink-45); }
.search input:focus, .search select:focus { outline: none; background: var(--paper-warm); }
.search .btn { border-radius: var(--r-pill); }

.quick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.quick > span { font-size: .85rem; color: var(--ink-45); margin-right: 2px; }
.pill {
  display: inline-block; padding: 7px 15px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: .845rem; color: var(--ink-70);
  transition: all var(--t-fast) var(--ease-soft);
}
.pill:hover { border-color: var(--pine); color: var(--pine); background: var(--pine-soft); transform: translateY(-1px); }

.trust { display: flex; flex-wrap: wrap; gap: clamp(22px, 3vw, 44px); margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.trust__i strong {
  display: block; font-family: var(--display); font-size: clamp(1.6rem, 2.3vw, 2.05rem);
  font-weight: 600; color: var(--pine); line-height: 1;
  font-variation-settings: 'SOFT' 20, 'opsz' 30;
}
.trust__i span { font-size: .835rem; color: var(--ink-45); }

/* Hero imagery — layered, with parallax */
.hero__art { position: relative; aspect-ratio: 4/5; max-height: 620px; }
.hero__ph {
  position: absolute; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--paper-deep);
}
.hero__ph img { width: 100%; height: 100%; object-fit: cover; }
.hero__ph--main { inset: 0 8% 14% 0; }
.hero__ph--sub  { width: 44%; aspect-ratio: 3/4; right: 0; bottom: 0; border: 7px solid var(--paper); border-radius: var(--r-lg); }

.hero__chip {
  position: absolute; left: -56px; bottom: 15%; max-width: 258px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 11px 14px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; z-index: 3;
}
.hero__chip svg { width: 18px; height: 18px; color: var(--pine); flex: 0 0 auto; }
.hero__chip b { display: block; font-size: .8rem; line-height: 1.25; color: var(--ink); font-weight: 600; }
.hero__chip span { font-size: .72rem; color: var(--ink-45); }

/* --------------------------------------------------------------------------
   08 · CATEGORY TILES
   -------------------------------------------------------------------------- */
.cat {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--line); color: inherit; height: 100%;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease-soft);
}
.cat:hover { color: inherit; box-shadow: var(--shadow); border-color: transparent; }
.cat__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.cat { display: flex; flex-direction: column; }
.cat__pic { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-deep); }
.cat__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat:hover .cat__pic img { transform: scale(1.045); }
.cat__ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 16px; background: var(--pine-soft); color: var(--pine);
  transition: transform var(--t-mid) var(--ease);
}
.cat__ic svg { width: 22px; height: 22px; }
.cat:hover .cat__ic { transform: scale(1.07) rotate(-3deg); }
.cat h3 { font-size: 1.17rem; margin-bottom: 7px; }
.cat p { font-size: .91rem; margin-bottom: 16px; flex: 1; color: var(--ink-70); }
.cat__n { font-size: .82rem; color: var(--ink-45); display: flex; align-items: center; gap: 7px; font-weight: 500; }
.cat__n::after { content: '→'; color: var(--clay); transition: transform var(--t-mid) var(--ease); }
.cat:hover .cat__n::after { transform: translateX(5px); }

.t-clay .cat__ic { background: var(--clay-soft); color: var(--clay-deep); }
.t-turmeric .cat__ic { background: var(--turmeric-soft); color: #A9741D; }

/* --------------------------------------------------------------------------
   09 · LISTING CARDS
   -------------------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column; height: 100%; color: inherit;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease-soft);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }

.card__top {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: linear-gradient(140deg, var(--pine-soft), var(--paper-deep));
}
.card__top img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__top img { transform: scale(1.045); }
.card__mono {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 2.3rem;
  color: var(--pine); opacity: .3; letter-spacing: -.03em;
}

.tagp {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(253,250,246,.94); backdrop-filter: blur(6px);
  color: var(--pine-deep);
  font-size: .715rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 11px; border-radius: var(--r-pill);
}
.tagp svg { width: 12px; height: 12px; }
.tagp--feat { background: var(--turmeric); color: #4A3209; }

.card__b { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card__k {
  font-size: .715rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 9px;
}
.card h3 { font-size: 1.1rem; margin-bottom: 7px; }
.card__loc { display: flex; align-items: center; gap: 6px; font-size: .855rem; color: var(--ink-45); margin-bottom: 12px; }
.card__loc svg { width: 14px; height: 14px; flex: 0 0 auto; }
.card__d { font-size: .895rem; margin-bottom: 15px; flex: 1; }
.card__f { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-soft); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip {
  font-size: .745rem; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--paper-warm); color: var(--ink-70);
}

.stars { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; }
.stars__s { display: inline-flex; gap: 1px; }
.stars__s svg { width: 14px; height: 14px; color: var(--turmeric); }
.stars b { font-family: var(--sans); font-weight: 600; color: var(--ink); }
.stars span { color: var(--ink-45); }

.price { font-size: .845rem; color: var(--ink-45); text-align: right; }
.price b { display: block; color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   10 · PAGE HEADER
   -------------------------------------------------------------------------- */
.phead { position: relative; padding: clamp(44px, 6vw, 76px) 0 clamp(40px, 5vw, 64px); background: var(--paper-warm); overflow: hidden; }
.phead__in { position: relative; z-index: 2; max-width: 760px; }
.phead h1 { font-size: clamp(2.15rem, 4.4vw, 3.5rem); margin-bottom: 14px; }
.phead p { font-size: 1.08rem; margin-bottom: 0; max-width: 620px; }

.crumb { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; list-style: none; padding: 0; margin: 0 0 18px; font-size: .845rem; color: var(--ink-45); }
.crumb li { margin: 0; display: flex; align-items: center; gap: 9px; }
.crumb li + li::before { content: '/'; color: var(--ink-25); }

/* --------------------------------------------------------------------------
   11 · DIRECTORY
   -------------------------------------------------------------------------- */
.dir { display: grid; grid-template-columns: 274px minmax(0,1fr); gap: clamp(22px, 3vw, 40px); align-items: start; }

.filters {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px;
  position: sticky; top: calc(var(--header-h) + 18px);
}
.filters__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 15px; margin-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.filters__h h2 { font-size: 1.04rem; margin: 0; }
.clear { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--sans); font-size: .83rem; color: var(--clay); text-decoration: underline; text-underline-offset: 2px; }

.fgrp { margin-bottom: 22px; }
.fgrp:last-child { margin-bottom: 0; }
.fgrp > h3 { font-family: var(--sans); font-size: .735rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-45); margin-bottom: 11px; }

.ck { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; cursor: pointer; font-size: .9rem; color: var(--ink-70); transition: color var(--t-fast); }
.ck:hover { color: var(--ink); }
.ck > span { flex: 1 1 0; min-width: 0; }
.ck input {
  appearance: none; width: 17px; height: 17px; flex: 0 0 auto; margin-top: 3px;
  border: 1.5px solid var(--line-firm); border-radius: 5px; background: var(--surface);
  cursor: pointer; position: relative; transition: all var(--t-fast) var(--ease-soft);
}
.ck input[type="radio"] { border-radius: 50%; }
.ck input:checked { background: var(--pine); border-color: var(--pine); }
.ck input[type="checkbox"]:checked::after {
  content: ''; position: absolute; left: 5px; top: 1.5px; width: 4px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ck input[type="radio"]:checked::after {
  content: ''; position: absolute; left: 4px; top: 4px; width: 5px; height: 5px;
  background: #fff; border-radius: 50%;
}
.ck .n { flex: 0 0 auto; font-size: .79rem; color: var(--ink-45); padding-left: 8px; }

.fmob { display: none; }

.resbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.resbar p { font-size: .93rem; margin: 0; }
.resbar b { color: var(--ink); font-weight: 600; }

.inline { display: flex; align-items: center; gap: 9px; font-size: .88rem; }
.sel {
  appearance: none; border: 1px solid var(--line-firm); background: var(--surface);
  padding: 10px 34px 10px 14px; border-radius: var(--r-sm);
  font-family: var(--sans); font-size: .88rem; color: var(--ink); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%238C8378' d='M5 6 0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
.sel:focus { outline: none; border-color: var(--pine); }

.active { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.fpill {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--pine-soft); color: var(--pine-deep); border: 0;
  padding: 7px 13px; border-radius: var(--r-pill);
  font-family: var(--sans); font-size: .825rem;
  transition: all var(--t-fast) var(--ease-soft);
}
.fpill::after { content: '✕'; font-size: .72rem; opacity: .65; }
.fpill:hover { background: var(--pine); color: #fff; }

.empty { text-align: center; padding: 72px 24px; background: var(--surface); border: 1px dashed var(--line-firm); border-radius: var(--r-lg); }
.empty h3 { margin-bottom: 8px; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 46px; }
.pager button {
  min-width: 42px; height: 42px; padding: 0 13px;
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm);
  cursor: pointer; font-family: var(--sans); font-size: .9rem; color: var(--ink-70);
  transition: all var(--t-fast) var(--ease-soft);
}
.pager button:hover:not(:disabled) { border-color: var(--pine); color: var(--pine); }
.pager button.on { background: var(--pine); border-color: var(--pine); color: #fff; }
.pager button:disabled { opacity: .35; cursor: not-allowed; }

/* --------------------------------------------------------------------------
   12 · LISTING DETAIL
   -------------------------------------------------------------------------- */
.det { display: grid; grid-template-columns: minmax(0,1fr) 352px; gap: clamp(24px, 3.4vw, 46px); align-items: start; }

.det__hero {
  position: relative; aspect-ratio: 21/9; border-radius: var(--r-lg); overflow: hidden;
  margin-bottom: 28px; background: linear-gradient(140deg, var(--pine-soft), var(--paper-deep));
}
.det__hero img { width: 100%; height: 100%; object-fit: cover; }
.det__mono { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem,6vw,4rem); color: var(--pine); opacity: .26; }

.blk { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); margin-bottom: 22px; }
.blk:last-child { margin-bottom: 0; }
.blk h2 { font-size: 1.36rem; margin-bottom: 16px; }

.kv { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 26px; }
.kv__i { display: flex; gap: 12px; align-items: flex-start; }
.kv__i svg { width: 18px; height: 18px; color: var(--pine); flex: 0 0 auto; margin-top: 3px; }
.kv__i strong { display: block; font-size: .78rem; font-weight: 600; color: var(--ink-45); letter-spacing: .03em; text-transform: uppercase; }
.kv__i span { font-size: .935rem; color: var(--ink); }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 22px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .935rem; margin: 0; }
.ticks li::before {
  content: ''; width: 17px; height: 17px; flex: 0 0 auto; margin-top: 3px; border-radius: 50%;
  background: var(--pine-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath fill='none' stroke='%231E4D43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 4 3.6 6.6 9 1.2'/%3E%3C/svg%3E") no-repeat center;
}

.hours { width: 100%; border-collapse: collapse; font-size: .93rem; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:first-child { color: var(--ink-45); }
.hours td:last-child { text-align: right; font-weight: 550; color: var(--ink); }

.side { position: sticky; top: calc(var(--header-h) + 18px); }
.scard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; margin-bottom: 20px; }
.scard:last-child { margin-bottom: 0; }
.scard h3 { font-size: 1.08rem; margin-bottom: 6px; }

.clist { list-style: none; padding: 0; margin: 18px 0; }
.clist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .92rem; }
.clist svg { width: 17px; height: 17px; color: var(--pine); flex: 0 0 auto; margin-top: 3px; }
.clist a { word-break: break-word; }

.map {
  aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; position: relative;
  display: grid; place-items: center; border: 1px solid var(--line);
  background: var(--paper-warm);
}
.map::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(30,77,67,.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(30,77,67,.08) 1px, transparent 1px);
  background-size: 34px 34px;
}
.map__pin {
  position: relative; z-index: 2; width: 38px; height: 38px;
  background: var(--clay); border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  display: grid; place-items: center; box-shadow: 0 10px 20px -6px rgba(194,87,47,.6);
}
.map__pin::after { content: ''; width: 13px; height: 13px; background: var(--paper); border-radius: 50%; }

/* Reviews */
.rsum { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding: 22px; background: var(--paper-warm); border-radius: var(--r); margin-bottom: 6px; }
.rsum__n { font-family: var(--display); font-size: 3rem; font-weight: 600; color: var(--ink); line-height: 1; font-variation-settings: 'SOFT' 20, 'opsz' 48; }
.rbars { flex: 1; min-width: 210px; }
.rbar { display: flex; align-items: center; gap: 10px; font-size: .82rem; margin-bottom: 5px; }
.rbar__t { display: block; flex: 1; height: 6px; background: var(--paper-deep); border-radius: 4px; overflow: hidden; }
.rbar__f { display: block; height: 100%; background: var(--turmeric); border-radius: 4px; }

.rev { padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.rev:last-of-type { border-bottom: 0; }
.rev__h { display: flex; gap: 13px; align-items: center; margin-bottom: 10px; }
.rev__w strong { display: block; font-size: .96rem; color: var(--ink); font-weight: 600; }
.rev__w span { font-size: .81rem; color: var(--ink-45); }
.rev p { font-size: .935rem; margin: 0; }

.av { width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
      background: var(--pine-soft); color: var(--pine); font-weight: 600; font-size: .82rem; font-family: var(--sans); }

.starin { display: inline-flex; flex-direction: row-reverse; gap: 3px; }
.starin input { position: absolute; opacity: 0; width: 0; height: 0; }
.starin label { cursor: pointer; color: var(--ink-25); transition: color var(--t-fast); }
.starin label svg { width: 25px; height: 25px; }
.starin input:checked ~ label, .starin label:hover, .starin label:hover ~ label { color: var(--turmeric); }

/* --------------------------------------------------------------------------
   13 · FORMS
   -------------------------------------------------------------------------- */
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.fld { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.fld--full { grid-column: 1 / -1; }
.fld > label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.fld .rq { color: var(--clay); }
.fld .hint { font-size: .8rem; color: var(--ink-45); }
.fld input, .fld textarea, .fld select {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 15px; font-family: var(--sans); font-size: .95rem; color: var(--ink);
  background: var(--surface);
  transition: border-color var(--t-fast) var(--ease-soft), box-shadow var(--t-fast) var(--ease-soft);
}
.fld select {
  appearance: none; cursor: pointer; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%238C8378' d='M5 6 0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.fld textarea { resize: vertical; min-height: 134px; }
.fld input:focus, .fld textarea:focus, .fld select:focus {
  outline: none; border-color: var(--pine); box-shadow: 0 0 0 4px rgba(30,77,67,.1);
}
.fld input.bad, .fld textarea.bad, .fld select.bad { border-color: var(--clay); }
.fld .err { font-size: .8rem; color: var(--clay-deep); display: none; }
.fld .err.on { display: block; }

.fld .ck input[type="checkbox"], .fld .ck input[type="radio"] {
  width: 17px; height: 17px; padding: 0; flex: 0 0 auto; margin-top: 3px;
  border: 1.5px solid var(--line-firm); border-radius: 5px; background: var(--surface); box-shadow: none;
}
.fld .ck input[type="radio"] { border-radius: 50%; }
.fld .ck input:checked { background: var(--pine); border-color: var(--pine); }

.done {
  display: none; align-items: flex-start; gap: 14px;
  background: var(--pine-soft); border: 1px solid rgba(30,77,67,.22);
  border-radius: var(--r); padding: 18px 20px; margin-bottom: 22px;
}
.done.on { display: flex; }
.done svg { width: 21px; height: 21px; color: var(--pine); flex: 0 0 auto; margin-top: 2px; }
.done strong { display: block; color: var(--pine-deep); }
.done p { font-size: .9rem; margin: 3px 0 0; color: var(--pine); }

.note { font-size: .845rem; color: var(--ink-45); }

.nl { display: flex; gap: 10px; max-width: 450px; margin-top: 22px; }
.nl input {
  flex: 1; min-width: 0; border: 0; border-radius: var(--r-pill);
  padding: 15px 22px; font-family: var(--sans); font-size: .94rem;
}
.nl input:focus { outline: 2.5px solid var(--turmeric); }

/* --------------------------------------------------------------------------
   14 · EDITORIAL COMPONENTS
   -------------------------------------------------------------------------- */
.step { position: relative; }
.step__n {
  font-family: var(--display); font-size: 2.5rem; font-weight: 600; line-height: 1;
  color: var(--clay); opacity: .32; margin-bottom: 12px;
  font-variation-settings: 'SOFT' 30, 'WONK' 1, 'opsz' 48;
}
.step h3 { font-size: 1.1rem; margin-bottom: 7px; }
.step p { font-size: .925rem; margin: 0; }

.feat { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 26px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.feat:last-child { border-bottom: 0; }
.feat h3 { font-size: 1.1rem; margin: 0; }
.feat p { font-size: .96rem; margin: 0; }

.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; height: 100%; display: flex; flex-direction: column; }
.quote__m { font-family: var(--display); font-size: 2.6rem; line-height: .7; color: var(--turmeric); margin-bottom: 16px; font-variation-settings: 'SOFT' 40, 'WONK' 1; }
.quote p { font-size: .99rem; flex: 1; color: var(--ink-70); }
.quote__w { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.quote__w strong { display: block; font-size: .93rem; color: var(--ink); }
.quote__w span { font-size: .82rem; color: var(--ink-45); }

.post { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: inherit; transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease); }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.post__t { aspect-ratio: 16/9; background: linear-gradient(140deg, var(--clay-soft), var(--turmeric-soft)); position: relative; overflow: hidden; }
.post__t img { width: 100%; height: 100%; object-fit: cover; }
.post__b { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post__k { font-size: .715rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: var(--pine); margin-bottom: 9px; }
.post h3 { font-size: 1.06rem; margin-bottom: 9px; }
.post p { font-size: .9rem; flex: 1; }
.post__f { font-size: .81rem; color: var(--ink-45); display: flex; gap: 10px; align-items: center; margin-top: 16px; }
.post__f span + span::before { content: '·'; margin-right: 10px; color: var(--ink-25); }

.band { position: relative; background: var(--pine); border-radius: var(--r-xl); padding: clamp(34px, 5vw, 62px) clamp(26px, 4vw, 54px); overflow: hidden; color: rgba(255,255,255,.76); }
.band h2, .band h3 { color: #fff; }
.band__in { position: relative; z-index: 2; }
.band p { font-size: 1.02rem; max-width: 540px; }
.band__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.band::after {
  content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px;
  background: radial-gradient(circle, rgba(224,163,60,.26), transparent 68%);
  pointer-events: none;
}

.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 26px; text-align: center; }
.stats strong { display: block; font-family: var(--display); font-size: clamp(2rem,3vw,2.6rem); font-weight: 600; color: #fff; line-height: 1; font-variation-settings: 'SOFT' 20, 'opsz' 40; }
.stats span { font-size: .875rem; }

.grp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; height: 100%; display: flex; flex-direction: column; transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease); }
.grp:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.grp__h { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.grp h3 { font-size: 1.04rem; margin-bottom: 4px; }
.grp__m { font-size: .83rem; color: var(--ink-45); }
.grp p { font-size: .92rem; flex: 1; }
.blob { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: 0 0 auto; background: var(--pine-soft); color: var(--pine); }
.blob svg { width: 21px; height: 21px; }
.blob--clay { background: var(--clay-soft); color: var(--clay-deep); }
.blob--turmeric { background: var(--turmeric-soft); color: #A9741D; }

.acc { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.acc + .acc { margin-top: 10px; }
.acc summary {
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--ink); font-size: .99rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 1.4rem; color: var(--clay); line-height: 1; flex: 0 0 auto; transition: transform var(--t-mid) var(--ease); }
.acc[open] summary::after { transform: rotate(45deg); }
.acc__b { padding: 0 22px 20px; font-size: .945rem; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 32px; }
.prose blockquote {
  margin: 28px 0; padding: 22px 26px;
  border-left: 3px solid var(--turmeric); background: var(--turmeric-soft);
  border-radius: 0 var(--r) var(--r) 0; font-size: 1.04rem; color: var(--ink);
  font-family: var(--display); font-variation-settings: 'SOFT' 30, 'opsz' 24;
}

/* --------------------------------------------------------------------------
   15 · FOOTER
   -------------------------------------------------------------------------- */
.ftr { background: var(--pine-deep); color: rgba(255,255,255,.66); padding: clamp(50px, 6vw, 74px) 0 0; position: relative; overflow: hidden; }
.ftr__g { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; position: relative; z-index: 2; }
.ftr h4 { color: #fff; font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin-bottom: 10px; }
.ftr a { color: rgba(255,255,255,.66); font-size: .92rem; }
.ftr a:hover { color: var(--turmeric); }
.ftr .logo__wd { color: #fff; }
.ftr .logo__wd i { color: var(--turmeric); }
.ftr__ab { font-size: .92rem; max-width: 320px; margin-top: 18px; }

.soc { display: flex; gap: 9px; margin-top: 20px; }
.soc a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; transition: all var(--t-fast) var(--ease-soft); }
.soc a:hover { background: var(--turmeric); transform: translateY(-2px); }
.soc svg { width: 16px; height: 16px; color: #fff; }
.soc a:hover svg { color: var(--pine-deep); }

.ftr__bar { margin-top: 50px; border-top: 1px solid rgba(255,255,255,.13); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; font-size: .855rem; position: relative; z-index: 2; }
.ftr__bar ul { display: flex; flex-wrap: wrap; gap: 20px; }
.ftr__bar li { margin: 0; }

/* --------------------------------------------------------------------------
   16 · RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; gap: 46px; }
  .hero__art { max-width: 480px; aspect-ratio: 5/4; }
  .hero__ph--main { inset: 0 18% 10% 0; }
  .hero__ph--sub { width: 38%; }
  .hero__chip { left: -18px; }
  .dir { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .fmob { display: inline-flex; }
  .det { grid-template-columns: 1fr; }
  .side { position: static; }
  .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ftr__g { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 760px) {
  :root { --gut: 20px; --header-h: 68px; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .search { grid-template-columns: 1fr; border-radius: var(--r-lg); }
  .search .btn { width: 100%; }
  .feat { grid-template-columns: 1fr; gap: 10px; }
  .fgrid, .kv, .ticks { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px; }
  .nl { flex-direction: column; }
  .hero { min-height: 0; }
  .hero__chip { left: -18px; }
  .rsum { gap: 18px; }
}

@media (max-width: 540px) {
  .g4 { grid-template-columns: 1fr; }
  .ftr__g { grid-template-columns: 1fr; }
  .ftr__bar { flex-direction: column; align-items: flex-start; }
  .hero__art { aspect-ratio: 4/3; }
  .hero__ph--sub { display: none; }
  .hero__ph--main { inset: 0; }
}

/* --------------------------------------------------------------------------
   17 · THE VILLAGE — painted interactive island
   -------------------------------------------------------------------------- */
.village { position: relative; }
.village__stage {
  position: relative; margin-top: 14px; border-radius: var(--r-xl); overflow: hidden;
  background: var(--paper-warm) url('../sprites/t-sky.webp') center 38% / cover no-repeat;
}
/* canvas grain so the painted sprites and the sky share one material */
.village__stage::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%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='180' height='180' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.village__stage::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse at 50% 42%, transparent 48%, rgba(237,228,216,.55) 100%);
}
#village-canvas { display: block; width: 100%; height: auto; position: relative; z-index: 1; touch-action: pan-y; }
.village--flat .village__stage { display: none; }
.village--live .village__stage { cursor: grab; }
.village--live.hot .village__stage { cursor: pointer; }
.village--live.grabbing .village__stage { cursor: grabbing; }

.village__label {
  position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none;
  background: var(--ink); color: var(--paper);
  padding: 9px 14px; border-radius: var(--r-sm);
  font-size: .84rem; line-height: 1.3; white-space: nowrap;
  opacity: 0; transition: opacity var(--t-fast) var(--ease-soft);
  box-shadow: var(--shadow);
}
.village__label.on { opacity: 1; }
.village__label b { display: block; font-weight: 600; font-size: .9rem; color: inherit; }
.village__label span { color: rgba(253,250,246,.66); font-size: .78rem; }

.village__hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 4;
  font-size: .78rem; color: var(--ink-70); display: flex; align-items: center; gap: 9px;
  pointer-events: none; background: rgba(253,250,246,.72); backdrop-filter: blur(6px);
  padding: 6px 14px; border-radius: var(--r-pill);
}
.village--flat .village__hint { display: none; }
.village__hint::before {
  content: ''; width: 26px; height: 14px; border: 1.5px solid currentColor;
  border-radius: var(--r-pill); opacity: .45; position: relative;
}
.village__hint::after {
  content: ''; position: absolute; left: 21px; top: 50%; width: 5px; height: 5px;
  margin-top: -2.5px; border-radius: 50%; background: currentColor; opacity: .55;
  animation: vdrag 2.6s var(--ease) infinite;
}
@keyframes vdrag { 0%,100% { transform: translateX(0); } 50% { transform: translateX(12px); } }

.village__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: 26px; }
.village--live .village__grid { margin-top: 18px; opacity: .9; }
.vnode {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 15px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
  font-size: .89rem; color: var(--ink-70);
  transition: all var(--t-fast) var(--ease-soft);
}
.vnode:hover { border-color: var(--pine); color: var(--pine); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.vnode i { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.vnode b { font-weight: 550; color: inherit; }
.vnode span { margin-left: auto; font-size: .78rem; color: var(--ink-45); }
.vn-pine i { background: var(--pine); }
.vn-clay i { background: var(--clay); }
.vn-turmeric i { background: var(--turmeric); }
.vn-sand i { background: #BCAA94; }

@media (max-width: 980px) { .village__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .village__grid { grid-template-columns: 1fr; } }

/* Painted canvas melts into the page rather than sitting in a hard box */
#village-canvas {
  border-radius: var(--r-xl);
  -webkit-mask-image: radial-gradient(130% 115% at 50% 48%, #000 56%, transparent 93%);
  mask-image: radial-gradient(130% 115% at 50% 48%, #000 56%, transparent 93%);
}

/* --------------------------------------------------------------------------
   18 · COUNTRY CHOOSER (entry page)
   -------------------------------------------------------------------------- */
.pick { min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); }
.pick__top { padding: clamp(26px, 5vw, 54px) 0 clamp(18px, 3vw, 30px); text-align: center; }
.pick__top .logo { justify-content: center; }
.pick__top h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: clamp(18px, 3vw, 30px) 0 10px;
  text-wrap: balance;
}
.pick__top p { color: var(--ink-70); max-width: 440px; margin: 0 auto; font-size: 1.02rem; }

.pick__tabs {
  flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  padding: 0 var(--gut) clamp(26px, 4vw, 48px); align-items: stretch;
  max-width: 1120px; margin-inline: auto; width: 100%;
}

.tab {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: min(52vh, 440px); padding: 30px; overflow: hidden;
  border-radius: var(--r-xl); border: 1px solid var(--line);
  color: var(--paper); isolation: isolate;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.tab:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--paper); }
.tab img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: -2; transition: transform 1.1s var(--ease);
}
.tab:hover img { transform: scale(1.05); }
.tab::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(185deg, rgba(20,45,38,.18) 0%, rgba(20,45,38,.55) 52%, rgba(14,32,27,.86) 100%);
}
.tab__k {
  font-size: .74rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase;
  color: var(--turmeric); margin-bottom: 10px;
}
.tab h2 {
  font-family: var(--display); font-size: clamp(2rem, 4.4vw, 3.2rem);
  color: #fff; margin: 0 0 8px; letter-spacing: -0.03em;
}
.tab p { color: rgba(255,255,255,.8); font-size: .98rem; margin: 0; }
.tab__go {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 20px;
  font-family: var(--sans); font-weight: 550; font-size: .95rem; color: #fff;
}
.tab__go span {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  transition: background var(--t-fast) var(--ease-soft), transform var(--t-mid) var(--ease);
}
.tab:hover .tab__go span { background: var(--clay); border-color: var(--clay); transform: translateX(4px); }

.pick__foot { padding: 0 var(--gut) clamp(22px, 3vw, 36px); text-align: center; font-size: .86rem; color: var(--ink-45); }

.ctswitch {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line-firm); background: var(--surface);
  font-size: .85rem; font-weight: 550; color: var(--ink-70);
  transition: all var(--t-fast) var(--ease-soft);
}
.ctswitch::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }
.ctswitch:hover { border-color: var(--pine); color: var(--pine); }

@media (max-width: 760px) {
  .pick__tabs { grid-template-columns: 1fr; }
  .tab { min-height: 230px; padding: 24px; }
  .ctswitch { display: none; }
}
