/* massagemalaysia.com design system
   Pandan ink, leaf-mist paper, mangosteen action, serai highlight, massage-oil amber.
   Scroll effects use CSS scroll-driven animations only (no JavaScript). */

@font-face {
  font-family: "Young Serif";
  src: url("../fonts/young-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0f3034;
  --ink-2: #1d4448;
  --paper: #f3f5f0;
  --mist: #e4ebe3;
  --surface: #ffffff;
  --action: #6a2c55;
  --action-deep: #4d1e3d;
  --serai: #dde89a;
  --serai-soft: #eef4c8;
  --amber: #c9974a;
  --moss: #53625c;
  --line: #d2dbd3;
  --warn-bg: #fbf0d9;
  --warn-ink: #6b4a00;

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-ui: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem);
  --step-4: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  --step-5: clamp(2.4rem, 1.5rem + 3.2vw, 4rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 5rem;

  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 26px;
  --shadow-soft: 0 1px 2px rgba(15, 48, 52, 0.06), 0 12px 32px -18px rgba(15, 48, 52, 0.45);
  --shadow-lift: 0 2px 4px rgba(15, 48, 52, 0.08), 0 22px 44px -22px rgba(15, 48, 52, 0.55);
  --measure: 68ch;
  --wide: 1200px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  overflow-x: hidden;
}
img, iframe, picture { max-width: 100%; display: block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: var(--action); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--action-deep); text-decoration-thickness: 2px; }
a:active { color: var(--ink); }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 var(--space-4); text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); margin-top: var(--space-7); }
h3 { font-family: var(--font-ui); font-size: var(--step-1); font-weight: 650; margin-top: var(--space-5); letter-spacing: -0.01em; }
p, ul, ol, dl { margin: 0 0 var(--space-4); }


.wrap { width: min(100% - 2rem, var(--wide)); margin-inline: auto; }
.content { padding-top: var(--space-6); }
.prose { max-width: var(--measure); }
.prose li { margin-bottom: var(--space-2); }
.prose h2:first-child, .prose > .updated + h2 { margin-top: var(--space-5); }

/* ------------------------------------------------------------ header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff;
  background: rgba(15, 48, 52, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-5); min-height: var(--header-h); padding-block: var(--space-2); }
.brand {
  display: inline-flex; align-items: center; margin-right: auto;
  font-family: var(--font-display); font-size: 1.35rem; color: #fff; text-decoration: none; letter-spacing: -0.01em;
}
.brand span { color: var(--serai); }
.brand:hover { color: #fff; }
.brand-mark { width: 30px; height: 30px; color: var(--serai); flex: none; margin-right: 0.5rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
.site-nav a { font-family: var(--font-ui); font-weight: 550; color: #fff; text-decoration: none; padding: var(--space-2) 0; display: inline-block; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--serai); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header :focus-visible { outline-color: var(--serai); }
.lang-switch {
  font-family: var(--font-ui); font-weight: 650; font-size: var(--step--1); color: var(--ink); background: var(--serai);
  text-decoration: none; padding: 0.3rem 0.9rem; border-radius: 999px; transition: background 0.2s;
}
.lang-switch:hover { color: var(--ink); background: #fff; }
@media (max-width: 760px) {
  :root { --header-h: 96px; }
  .site-nav { order: 3; width: 100%; }
  .site-nav ul { gap: 0 var(--space-4); font-size: 0.95rem; }
  .site-nav a { padding: 0.15rem 0 0.35rem; }
}

/* ------------------------------------------------------------ banner (every page) */
.banner {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: clamp(380px, 56vh, 560px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + var(--space-6)) 0 clamp(5rem, 9vw, 7.5rem);
  background: var(--ink);
}
.banner-full { min-height: clamp(560px, 92vh, 860px); }
.banner-media { position: absolute; inset: -8% 0 0 0; z-index: -2; }
.banner-media picture { height: 100%; }
.banner-media img { width: 100%; height: 100%; object-fit: cover; }
.banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 48, 52, 0.55) 0%, rgba(15, 48, 52, 0.15) 32%, rgba(15, 48, 52, 0.55) 68%, rgba(15, 48, 52, 0.9) 100%),
    linear-gradient(90deg, rgba(15, 48, 52, 0.75) 0%, rgba(15, 48, 52, 0) 70%);
}
.banner-inner { position: relative; }
.banner-text { max-width: 46rem; }
.banner h1 { color: #fff; margin-bottom: var(--space-4); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.banner-full h1 { font-size: var(--step-5); max-width: 20ch; }
.banner-shop h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); }
.banner .lede { font-size: var(--step-1); line-height: 1.55; color: rgba(255, 255, 255, 0.9); max-width: 40rem; margin: 0; }
.kicker {
  font-family: var(--font-ui); font-weight: 650; font-size: var(--step--1); color: var(--serai); margin: 0 0 var(--space-3);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.kicker::before { content: ""; width: 2.2rem; height: 1px; background: var(--amber); }
.banner .breadcrumb { margin-bottom: var(--space-5); }
.breadcrumb { font-family: var(--font-ui); font-size: var(--step--1); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.3rem; opacity: 0.55; }
.banner .breadcrumb a, .banner .breadcrumb span { color: rgba(255, 255, 255, 0.85); }
.banner .breadcrumb a:hover { color: #fff; }
.banner :focus-visible { outline-color: var(--serai); }
.banner-credit {
  position: absolute; right: 1rem; bottom: clamp(3.4rem, 6vw, 5rem); z-index: 2; margin: 0;
  font-size: 0.72rem; color: rgba(255, 255, 255, 0.78); max-width: min(90%, 34rem); text-align: right; line-height: 1.4;
}
.banner-credit a { color: inherit; }
.banner-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(44px, 7vw, 110px); fill: var(--paper); z-index: 1; }

/* ripple rings: a nod to oil drops and stones in water */
.banner-ripples { position: absolute; right: 8%; top: 30%; width: 0; height: 0; z-index: -1; pointer-events: none; }
.banner-ripples span {
  position: absolute; left: 50%; top: 50%; border: 1px solid rgba(221, 232, 154, 0.35); border-radius: 50%;
  width: 260px; height: 260px; transform: translate(-50%, -50%) scale(0.4); opacity: 0;
}
.banner-full .banner-ripples span { width: 420px; height: 420px; }

.banner-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-6) 0 var(--space-5); }
.trust-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-family: var(--font-ui); font-size: var(--step--1); color: rgba(255, 255, 255, 0.85); }
.trust-row li { display: inline-flex; align-items: center; gap: 0.45rem; }
.trust-row li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--serai); }

@media (max-width: 700px) {
  .banner { min-height: 440px; }
  .banner-full { min-height: 640px; }
  .banner-credit { left: 1rem; right: 1rem; text-align: left; bottom: 2.8rem; }
  .banner-ripples { display: none; }
}

/* ------------------------------------------------------------ buttons and links */
.button {
  display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-ui); font-weight: 650;
  background: var(--action); color: #fff; text-decoration: none; padding: 0.8rem 1.4rem; border-radius: 999px;
  border: 2px solid var(--action); transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.button:hover { background: var(--action-deep); border-color: var(--action-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.button:active { transform: translateY(0); }
.button.ghost-light { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.button.ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.text-link { font-family: var(--font-ui); font-weight: 650; }

/* ------------------------------------------------------------ section scaffolding */
.section { margin-top: var(--space-8); }
.section-head { text-align: center; max-width: 42rem; margin: 0 auto var(--space-6); }
.section-head h2 { margin: var(--space-3) 0 var(--space-3); }
.section-head p { color: var(--moss); margin: 0; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 0.9rem; color: var(--amber); }
.ornament span { width: 3.5rem; height: 1px; background: currentColor; opacity: 0.6; }
.ornament svg { width: 30px; height: 30px; }
.band {
  margin-top: var(--space-8); padding: var(--space-8) 0; background: var(--ink); color: #fff; position: relative;
  border-radius: var(--radius-l) var(--radius-l) 0 0;
}
.band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--radius-l); background: var(--paper); border-radius: var(--radius-l) var(--radius-l) 0 0; }
.band .section-head p { color: rgba(255, 255, 255, 0.78); }
.band h2 { color: #fff; }
.band { padding-bottom: calc(var(--space-8) + var(--radius-l)); }

/* ------------------------------------------------------------ state cards */
.state-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.state-card a {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 12.5rem; padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-m); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.state-card-media { position: absolute; inset: 0; z-index: -2; }
.state-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.state-card a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 48, 52, 0) 30%, rgba(15, 48, 52, 0.88) 100%); }
.state-card-name { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; }
.state-card .count { font-family: var(--font-ui); font-size: var(--step--1); color: var(--serai); margin-top: 0.2rem; }
.state-card a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.state-card a:hover img { transform: scale(1.06); }
.state-card a:focus-visible { outline-offset: 4px; }
.pending-note { margin-top: var(--space-4); color: var(--moss); font-size: var(--step--1); text-align: center; }

/* ------------------------------------------------------------ guide cards */
.guide-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.guide-cards.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.guide-card a {
  display: flex; flex-direction: column; height: 100%; background: var(--surface); color: var(--ink); text-decoration: none;
  border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.guide-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.guide-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.guide-card-title { font-family: var(--font-display); font-size: var(--step-1); padding: var(--space-4) var(--space-5) 0; line-height: 1.25; }
.guide-card-sum { color: var(--moss); font-size: 0.95rem; padding: var(--space-2) var(--space-5) var(--space-5); }
.guide-card a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.guide-card a:hover img { transform: scale(1.05); }
.guide-card a:hover .guide-card-title { color: var(--action); }
.band .guide-card a { background: var(--ink-2); color: #fff; box-shadow: none; }
.band .guide-card-sum { color: rgba(255, 255, 255, 0.75); }
.band .guide-card a:hover .guide-card-title { color: var(--serai); }

/* ------------------------------------------------------------ how we check */
.how { display: grid; gap: var(--space-7); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 880px) { .how { grid-template-columns: 1fr 1fr; } }
.how-media { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-lift); }
.how-media img { width: 100%; height: auto; }
.how h2 { margin-top: 0; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: var(--space-5) 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 var(--space-5) 3.6rem; border-left: 1px solid var(--line); margin-left: 1.3rem; }
.steps li:last-child { border-left-color: transparent; }
.steps li::before {
  content: counter(step); position: absolute; left: -1.3rem; top: -0.2rem; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--serai); color: var(--ink); font-family: var(--font-display); font-size: 1.1rem;
}
.steps h3 { margin: 0 0 var(--space-1); }
.steps p { margin: 0; color: var(--moss); }

/* ------------------------------------------------------------ shop listings */
.listing-grid { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.listing {
  position: relative; background: var(--surface); border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: var(--space-2); padding: 0 var(--space-5) var(--space-5); transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.listing:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.listing-media { margin: 0 calc(-1 * var(--space-5)) var(--space-3); aspect-ratio: 16 / 9; overflow: hidden; }
.listing-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.listing:hover .listing-media img { transform: scale(1.05); }
.listing h3 { margin: 0; font-size: 1.15rem; }
.listing h3 a { color: var(--ink); text-decoration: none; }
.listing h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.listing h3 a:hover { color: var(--action); }
.listing h3 a:focus-visible { outline: none; }
.listing:focus-within { outline: 3px solid var(--action); outline-offset: 3px; }
.listing .where { color: var(--moss); font-size: var(--step--1); margin: 0; font-family: var(--font-ui); }
.listing .services { margin: 0; font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.listing .meta { margin-top: auto; padding-top: var(--space-2); display: flex; flex-wrap: wrap; gap: var(--space-2); }

.area-group { margin-top: var(--space-7); }
.area-group > h2 { margin-top: 0; font-size: var(--step-2); display: flex; align-items: center; gap: var(--space-4); }
.area-group > h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--amber), transparent); }
.intro { font-size: 1.08rem; }
.toc { background: var(--surface); border-radius: var(--radius-m); padding: var(--space-4) var(--space-5); max-width: var(--measure); box-shadow: var(--shadow-soft); }
.toc h2 { font-family: var(--font-ui); font-size: var(--step-0); font-weight: 650; margin: 0 0 var(--space-2); }
.toc ol { margin: 0; padding-left: 1.2em; }
.area-jump { margin-top: var(--space-5); max-width: none; }
.area-jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.area-jump a { display: inline-block; background: var(--mist); color: var(--ink); text-decoration: none; padding: 0.3rem 0.85rem; border-radius: 999px; font-family: var(--font-ui); font-size: 0.92rem; }
.area-jump a:hover { background: var(--serai); }

/* status badges: text + shape, not colour alone */
.badge { display: inline-flex; align-items: center; gap: 0.4em; font-family: var(--font-ui); font-size: 0.8rem; font-weight: 650; padding: 0.15em 0.7em; border-radius: 999px; border: 1px solid currentColor; line-height: 1.6; }
.badge::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: currentColor; }
.badge.high { color: #1d5a3a; background: #e3f1e8; }
.badge.medium { color: #5b4a00; background: var(--serai-soft); }
.badge.medium::before { border-radius: 1px; }
.badge.low { color: #7a2b2b; background: #f8e6e4; }

/* ------------------------------------------------------------ shop profile */
.profile { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 920px) { .profile { grid-template-columns: minmax(0, 1fr) 21rem; align-items: start; } }
.profile article > h2 { font-size: var(--step-2); }
.verify-panel {
  background: var(--surface); border-radius: var(--radius-m); padding: var(--space-5); position: sticky; top: calc(var(--header-h) + 1rem);
  box-shadow: var(--shadow-soft); border-top: 4px solid var(--amber);
}
.verify-panel h2 { margin-top: 0; font-family: var(--font-ui); font-weight: 650; font-size: var(--step-1); }
.verify-panel dl { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-4); font-size: 0.95rem; margin: 0; }
.verify-panel dt { color: var(--moss); }
.verify-panel dd { margin: 0; }
.facts { background: var(--surface); border-radius: var(--radius-m); padding: var(--space-5); box-shadow: var(--shadow-soft); }
.facts dl { display: grid; grid-template-columns: minmax(7rem, max-content) 1fr; gap: var(--space-3) var(--space-5); margin: 0; }
.facts dt { font-family: var(--font-ui); font-weight: 650; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .facts dl { grid-template-columns: 1fr; gap: 0; } .facts dd { margin-bottom: var(--space-3); } }
.map-actions { margin: var(--space-4) 0; }
.map-frame { border-radius: var(--radius-m); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-soft); }
.map-frame iframe { width: 100%; height: 360px; border: 0; }
.notice { background: var(--warn-bg); color: var(--warn-ink); border-left: 4px solid var(--amber); padding: var(--space-3) var(--space-4); border-radius: var(--radius-s); font-size: 0.95rem; max-width: var(--measure); }
.notice strong { color: inherit; }
.source-note { font-size: var(--step--1); color: var(--moss); border-top: 1px solid var(--line); padding-top: var(--space-4); margin-top: var(--space-6); max-width: var(--measure); }

/* ------------------------------------------------------------ guides */
.guide { position: relative; }
.updated { font-family: var(--font-ui); font-size: var(--step--1); color: var(--moss); }
.guide h2 { position: relative; padding-top: var(--space-4); }
.guide h2::before { content: ""; position: absolute; top: 0; left: 0; width: 2.5rem; height: 2px; background: var(--amber); }
.guide dt { margin-top: var(--space-4); }
.guide dd { margin-left: 0; }
.guide-layout { display: grid; gap: var(--space-7); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .guide-layout { grid-template-columns: minmax(0, var(--measure)) 18rem; justify-content: space-between; align-items: start; } }
.guide-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.guide-aside h2 { font-family: var(--font-ui); font-weight: 650; font-size: var(--step-0); margin: var(--space-5) 0 var(--space-3); }
.guide-aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.guide-aside a { display: grid; grid-template-columns: 4.5rem 1fr; gap: var(--space-3); align-items: center; text-decoration: none; color: var(--ink); background: var(--surface); border-radius: var(--radius-s); padding: 0.4rem; box-shadow: var(--shadow-soft); transition: transform 0.25s; }
.guide-aside a:hover { transform: translateX(4px); color: var(--action); }
.guide-aside img { width: 4.5rem; height: 3.2rem; object-fit: cover; border-radius: 4px; }
.guide-aside span { font-family: var(--font-display); font-size: 0.98rem; line-height: 1.25; }
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: var(--serai); transform-origin: left; transform: scaleX(0); }

table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.table-wrap { overflow-x: auto; max-width: 100%; margin-top: var(--space-5); background: var(--surface); border-radius: var(--radius-m); box-shadow: var(--shadow-soft); }
th, td { text-align: left; padding: var(--space-3); border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-family: var(--font-ui); font-weight: 650; }
.credits img { border-radius: var(--radius-s); width: 120px; height: auto; }

/* ------------------------------------------------------------ footer */
.site-footer { position: relative; margin-top: var(--space-8); background: var(--ink); color: #d9e4de; padding: var(--space-7) 0 var(--space-6); font-size: 0.95rem; }
.footer-wave { position: absolute; left: 0; right: 0; top: -79px; width: 100%; height: 80px; fill: var(--ink); }
.footer-brand { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-6); }
.footer-brand p { margin: 0; font-family: var(--font-display); font-size: var(--step-1); color: #fff; max-width: 32rem; }
.footer-flower { width: 46px; height: 46px; color: var(--serai); flex: none; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.site-footer h2 { font-family: var(--font-ui); font-weight: 650; font-size: var(--step-0); margin: 0 0 var(--space-3); color: var(--serai); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--space-2); }
.site-footer .fine { margin-top: var(--space-6); border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: var(--space-4); color: #b5c6be; max-width: 80ch; }
.site-footer :focus-visible { outline-color: var(--serai); }

/* ------------------------------------------------------------ scroll effects
   Progressive enhancement: only where scroll-driven animations exist and the
   reader hasn't asked for reduced motion. Elsewhere everything is static. */
@keyframes rise { from { opacity: 0; transform: translateY(36px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes parallax { from { transform: translateY(0) scale(1.08); } to { transform: translateY(14%) scale(1); } }
@keyframes banner-text-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-40px); } }
@keyframes header-solid { from { background: rgba(15, 48, 52, 0); border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; } to { background: rgba(15, 48, 52, 0.94); } }
@keyframes progress { to { transform: scaleX(1); } }
@keyframes ripple { 0% { transform: translate(-50%, -50%) scale(0.35); opacity: 0; } 25% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; } }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

@media (prefers-reduced-motion: no-preference) {
  .banner-ripples span { animation: ripple 7s ease-out infinite; }
  .banner-ripples span:nth-child(2) { animation-delay: 2.3s; }
  .banner-ripples span:nth-child(3) { animation-delay: 4.6s; }
  .banner-media img { animation: kenburns 2.4s cubic-bezier(.2, .7, .2, 1) both; }

  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 5% cover 28%; }
    .listing-grid .listing:nth-child(3n+2) { animation-range: entry 10% cover 32%; }
    .listing-grid .listing:nth-child(3n+3) { animation-range: entry 15% cover 36%; }
    .state-cards .state-card:nth-child(4n+2), .guide-cards .guide-card:nth-child(3n+2) { animation-range: entry 10% cover 32%; }
    .state-cards .state-card:nth-child(4n+3), .guide-cards .guide-card:nth-child(3n+3) { animation-range: entry 15% cover 36%; }
    .state-cards .state-card:nth-child(4n+4) { animation-range: entry 20% cover 40%; }

    .banner { view-timeline: --banner block; }
    .banner-media { animation: parallax linear both; animation-timeline: --banner; animation-range: exit 0% exit 100%; }
    .banner-media img { animation: none; }
    .banner-text { animation: banner-text-out linear both; animation-timeline: --banner; animation-range: exit 10% exit 70%; }
  }
  @supports (animation-timeline: scroll()) {
    .site-header { animation: header-solid linear both; animation-timeline: scroll(root); animation-range: 0 220px; }
    .read-progress { animation: progress linear both; animation-timeline: scroll(root); }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .map-frame, .banner-media, .banner-wave, .banner-ripples, .read-progress { display: none; }
  .banner { color: var(--ink); min-height: 0; padding: 0; background: none; }
  .banner h1, .banner .lede { color: var(--ink); text-shadow: none; }
  body { background: #fff; }
}

/* ------------------------------------------------------------ shop page: actions, prices, ratings */
.button-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.button.secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.button.secondary:hover { background: var(--mist); color: var(--ink); border-color: var(--ink); }
.button.waze { background: #33ccff; border-color: #33ccff; color: #0b2a33; }
.button.waze:hover { background: #12a9de; border-color: #12a9de; color: #06181d; }
.button svg { width: 1.1em; height: 1.1em; flex: none; }
.highlights { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; margin: var(--space-4) 0 0; }
.highlights li { background: var(--serai-soft); color: var(--ink); border-radius: 999px; padding: 0.35rem 0.9rem; font-family: var(--font-ui); font-size: 0.9rem; }
.price-table td.price { font-family: var(--font-ui); font-weight: 650; white-space: nowrap; }
.price-table td.note { color: var(--moss); font-size: 0.88rem; }
.price-meta, .rating-meta { color: var(--moss); font-size: 0.9rem; margin-top: var(--space-3); max-width: var(--measure); }
.rating-card { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3) var(--space-5); align-items: center; background: var(--surface); border-radius: var(--radius-m); padding: var(--space-5); box-shadow: var(--shadow-soft); }
.rating-score { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.rating-score small { font-size: 1rem; color: var(--moss); }
.stars { --pct: 0%; display: inline-block; font-size: 1.15rem; letter-spacing: 2px; line-height: 1;
  background: linear-gradient(90deg, var(--amber) var(--pct), var(--line) var(--pct)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating-count { font-family: var(--font-ui); margin: 0.2rem 0 0; }
.rating-topics { grid-column: 1 / -1; margin: 0; }
.rating-topics ul { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; margin: var(--space-2) 0 0; }
.rating-topics li { border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem 0.75rem; font-size: 0.88rem; }
@media (max-width: 520px) { .rating-card { grid-template-columns: 1fr; } .button-row .button { flex: 1 1 100%; justify-content: center; } }
.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; }
.card-rating, .card-price { font-family: var(--font-ui); font-size: 0.85rem; font-weight: 650; }
.card-rating { color: var(--warn-ink); }
.card-rating span { font-weight: 400; color: var(--moss); }
.card-price { color: var(--action); }
