/* Self-hosted fonts (v1.3.0) — no external font origins */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/fraunces-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/fraunces-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/fraunces-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/fraunces-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/karla-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/karla-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/karla-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Anuphan'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/anuphan-thai-400-normal.woff2') format('woff2'); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Anuphan'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/anuphan-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Anuphan'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/anuphan-thai-500-normal.woff2') format('woff2'); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Anuphan'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/anuphan-thai-600-normal.woff2') format('woff2'); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }

/* Tree Roots Retreat — design system
   Tokens sampled from the brand logo: forest green ink on warm cream.
   Signature motif: the root line (hairline + descending root tick). */

:root {
  --ink:     #17251B;
  --deep:    #24422E;
  --primary: #35573F;
  --moss:    #6E7F70;
  --line:    #D9DFD3;
  --paper:   #FCF8F2;
  --surface: #FFFFFF;
  --bark:    #8A6A4C;
  --radius:  14px;
  --shadow:  0 10px 30px rgba(23, 37, 27, 0.10);
  --font-display: 'Fraunces', 'Anuphan', serif;
  --font-body: 'Karla', 'Anuphan', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
html[lang="th"] body { line-height: 1.75; }
html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] h3 { line-height: 1.35; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Signature: the root line kicker ---------- */
.kicker {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 1.4em;
  padding-bottom: 10px;
  position: relative;
  display: inline-block;
}
.kicker::after {
  content: "";
  position: absolute;
  left: 0; right: -28px; bottom: 0;
  height: 1px;
  background: var(--primary);
}
.kicker::before {
  content: "";
  position: absolute;
  right: -28px; bottom: -7px;
  width: 1px; height: 8px;
  background: var(--primary);
}
.kicker-light { color: #E9EFE4; }
.kicker-light::after, .kicker-light::before { background: #E9EFE4; }

/* ---------- Layout ---------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container.narrow, .narrow-p { max-width: 760px; }
.narrow-p { margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.center .kicker { margin-left: auto; margin-right: auto; }
.section { padding: 84px 0; }
.section-tint { background: #F3F0E6; }
.section-deep { background: var(--deep); color: #EEF2E9; }
.section-deep h2, .section-deep h3 { color: #FBF9F1; }
.mt-lg { margin-top: 56px; }
.fine { font-size: 0.88rem; color: var(--moss); }
.fine-light { color: #C4D0C0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252, 248, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-word {
  font-family: var(--font-display); font-size: 0.95rem; line-height: 1.1;
  color: var(--ink); letter-spacing: 0.04em; text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) {
  text-decoration: none; color: var(--ink);
  font-size: 0.95rem; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover { border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--primary); }
.lang-switch { color: var(--moss) !important; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle-bar { display: block; width: 24px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform 0.25s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 999px;
  text-decoration: none; border: 1.5px solid transparent;
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--primary); color: #FBF9F1; }
.btn-light { background: #FBF9F1; color: var(--deep); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.section-deep .btn-ghost, .cta-final .btn-ghost { color: #FBF9F1; border-color: #FBF9F1; }
.btn-wide { width: 100%; text-align: center; }
.nav-reserve { padding: 10px 22px; }
.text-link { font-weight: 700; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 82vh; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; transform: scale(1.06); }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,37,27,0.25), rgba(23,37,27,0.62)); }
.hero-content { position: relative; z-index: 2; max-width: 1140px; margin: 0 auto; padding: 90px 24px; color: #FBF9F1; width: 100%; }
.hero-content h1 { color: #FBF9F1; max-width: 14ch; margin-bottom: 0.35em; }
html[lang="th"] .hero-content h1 { max-width: none; }
.hero-sub { font-size: 1.15rem; max-width: 46ch; }
.hero-root { display: block; width: 320px; max-width: 70%; height: auto; color: #FBF9F1; margin: 8px 0 18px; opacity: 0.95; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.06); } }

.page-hero { padding: 90px 0 30px; }
.page-hero .hero-sub { color: var(--moss); font-size: 1.2rem; }

/* ---------- Facts strip ---------- */
.facts-strip { background: var(--deep); color: #E9EFE4; }
.facts-inner {
  max-width: 1140px; margin: 0 auto; padding: 14px 24px;
  display: flex; flex-wrap: wrap; gap: 10px 42px;
  font-size: 0.92rem; justify-content: center;
}

/* ---------- Splits ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-rev .split-media { order: 2; }
.split-media { margin: 0; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-text .kicker { margin-bottom: 1em; }

/* ---------- Grids and cards ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 8px; }
.value-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px;
}
.value-card h3 { margin-bottom: 0.4em; }
.value-card p { margin: 0; font-size: 0.95rem; color: #3C4A40; }

.chip-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 0; margin: 0; }
.chip-row li {
  border: 1px solid var(--primary); color: var(--primary);
  border-radius: 999px; padding: 8px 18px; font-size: 0.92rem; font-weight: 500;
}

.perk-grid { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.perk-grid li { padding-left: 24px; position: relative; }
.perk-grid li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 12px; height: 1.5px; background: var(--primary);
}
.perk-grid li::after {
  content: ""; position: absolute; left: 11px; top: 0.62em;
  width: 1.5px; height: 7px; background: var(--primary);
}

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 24px 0; }
.review-card {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.review-card p { font-family: var(--font-display); font-size: 1.02rem; line-height: 1.5; }
.review-card footer { font-size: 0.85rem; color: var(--moss); }

.animal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.animal-grid figure { margin: 0; }
.animal-grid img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; }
.animal-grid figcaption { font-size: 0.9rem; color: var(--moss); margin-top: 8px; text-align: center; }

/* ---------- Schedule table ---------- */
.table-wrap { overflow-x: auto; margin: 18px 0; }
.schedule-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.schedule-table th, .schedule-table td {
  text-align: left; padding: 14px 18px;
  border-bottom: 1px solid rgba(233, 239, 228, 0.25);
}
.schedule-table th {
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: #C4D0C0;
}
.schedule-table td:first-child { font-weight: 700; }

/* ---------- Experiences ---------- */
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 26px; }
.exp-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.exp-card img { aspect-ratio: 4/3; object-fit: cover; }
.exp-body { padding: 24px; }
.exp-price { color: var(--bark); font-weight: 700; font-size: 0.95rem; }
.exp-actions { display: flex; gap: 10px; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0;
  font-family: var(--font-display); font-size: 1.12rem; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%;
  transform: translateY(-50%); color: var(--primary);
  font-size: 1.4rem; font-family: var(--font-body);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 22px; color: #3C4A40; }

/* ---------- Reserve page ---------- */
.book-primary {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 36px;
}
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 22px 0; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; text-decoration: none;
  text-align: center; color: var(--ink);
  transition: transform 0.18s, box-shadow 0.18s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card img { margin: 12px auto 0; border-radius: 8px; }
.contact-card p { margin: 6px 0 0; color: var(--moss); font-size: 0.92rem; word-break: break-all; }
.hours-block { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 10px; }
.conditions-list { padding-left: 22px; }
.conditions-list li { margin-bottom: 14px; }

/* ---------- Map ---------- */
.map-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); min-height: 380px;
}
.map-frame iframe {
  width: 100%; height: 100%; min-height: 380px; border: 0; display: block;
  filter: grayscale(0.25) saturate(0.85);
}

/* ---------- Final CTA ---------- */
.cta-final { background: var(--deep); color: #EEF2E9; }
.cta-final h2 { color: #FBF9F1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C4D0C0; }
.footer-inner {
  padding: 64px 0 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px;
}
.footer-brand img { margin-bottom: 14px; }
.footer-tag { font-family: var(--font-display); color: #E9EFE4; }
.footer-col h4 {
  color: #E9EFE4; font-family: var(--font-body); font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.1em;
}
.footer-col a { display: block; color: #C4D0C0; text-decoration: none; padding: 5px 0; font-size: 0.95rem; }
.footer-col a:hover { color: #FBF9F1; }
.footer-hours { font-size: 0.85rem; margin: 10px 0 4px; }
.footer-base {
  border-top: 1px solid rgba(196, 208, 192, 0.2);
  max-width: 1140px; margin: 0 auto; padding: 20px 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.82rem;
}
.social-row { display: flex; gap: 14px; margin-top: 16px; }
.social-row a { color: #C4D0C0; }
.social-row a:hover { color: #FBF9F1; }

/* ---------- Scroll reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
  html { scroll-behavior: auto; }
}

/* Anchor targets clear the sticky header */
#schedule, #experiences, #conditions, #location { scroll-margin-top: 90px; }

/* ---------- Root Bot ---------- */
.bot-toggle {
  position: fixed; right: 20px; bottom: 20px; z-index: 150;
  display: flex; align-items: center; gap: 10px;
  background: var(--deep); color: #FBF9F1; border: 0; cursor: pointer;
  border-radius: 999px; padding: 12px 20px 12px 14px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  box-shadow: var(--shadow);
}
.bot-toggle svg { display: block; }
.bot-panel {
  position: fixed; right: 20px; bottom: 84px; z-index: 150;
  width: 360px; max-width: calc(100vw - 32px);
  height: 480px; max-height: calc(100vh - 120px);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 18px 50px rgba(23,37,27,0.25);
  display: flex; flex-direction: column; overflow: hidden;
}
.bot-panel[hidden] { display: none; }
.bot-head {
  display: flex; align-items: center; gap: 10px;
  background: var(--deep); color: #FBF9F1; padding: 12px 16px;
}
.bot-head strong { font-family: var(--font-display); font-weight: 500; flex: 1; }
.bot-close { background: none; border: 0; color: #FBF9F1; font-size: 1.3rem; cursor: pointer; padding: 4px 8px; }
.bot-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bot-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 0.93rem; line-height: 1.5; }
.bot-msg-bot { background: var(--surface); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.bot-msg-user { background: var(--primary); color: #FBF9F1; align-self: flex-end; border-bottom-right-radius: 4px; }
.bot-msg a { color: var(--primary); font-weight: 700; }
.bot-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 10px; }
.bot-chip {
  background: none; border: 1px solid var(--primary); color: var(--primary);
  border-radius: 999px; padding: 6px 12px; font-size: 0.82rem; cursor: pointer;
  font-family: var(--font-body);
}
.bot-form { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.bot-input {
  flex: 1; font-size: 16px; font-family: var(--font-body);
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px;
  background: var(--surface); color: var(--ink);
}
.bot-send {
  background: var(--primary); color: #FBF9F1; border: 0; cursor: pointer;
  border-radius: 999px; padding: 10px 18px; font-weight: 700; font-family: var(--font-body); font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split-rev .split-media { order: 0; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .animal-grid { grid-template-columns: 1fr 1fr; }
  .exp-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 10px 24px 22px;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; width: 100%; }
  .nav-reserve { margin-top: 10px; }
  .nav-toggle { display: block; }
  .value-grid, .review-grid, .perk-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: 72vh; }
}

/* ============ v1.0.1 — contact form, notices, 404, polish ============ */

/* Contact form */
.contact-form { margin-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-field label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--deep); }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 15px; width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 150px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(53, 87, 63, 0.14);
}
.contact-form .btn-wide { margin-top: 6px; }
.cf-turnstile { margin: 4px 0 16px; min-height: 65px; }

/* Honeypot: removed from flow, invisible, still submittable by bots */
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Notices */
.notice { border-radius: 12px; padding: 18px 22px; margin-bottom: 26px; border: 1px solid; }
.notice p { margin: 4px 0 0; }
.notice-ok  { background: #EEF4EA; border-color: #BFD3B4; color: var(--deep); }
.notice-err { background: #F8EEE9; border-color: #E0C4B4; color: #6B3A22; }

/* Contact alternatives */
.contact-alt { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.contact-alt h2 { margin-bottom: 6px; }
.contact-alt-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* 404 */
.e404-code {
  font-family: var(--font-display); font-size: clamp(4.5rem, 12vw, 8rem);
  line-height: 1; color: var(--line); margin: 0 0 6px; letter-spacing: 0.02em;
}
.kicker-center::after { left: 50%; right: auto; width: 140%; max-width: 260px; transform: translateX(-50%); }
.kicker-center::before { right: auto; left: calc(50% + 70px); }
.e404-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 22px; }
.e404-links a { color: var(--deep); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color 0.2s ease, color 0.2s ease; }
.e404-links a:hover { color: var(--primary); border-color: var(--primary); }

/* ---- Polish pass ---- */

/* Visible keyboard focus everywhere, without hurting mouse users */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 2px; }

/* Buttons: quiet lift on hover, honest press state */
.btn { transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(23, 37, 27, 0.12); }
.btn:active { transform: translateY(0); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* Images: subtle rounding consistency + zoom restraint on cards */
.split img, .exp-card img, .animal-card img { transition: transform 0.6s ease; }
.exp-card:hover img, .animal-card:hover img { transform: scale(1.025); }
@media (prefers-reduced-motion: reduce) { .exp-card:hover img, .animal-card:hover img { transform: none; } }

/* Contact cards: match the button language on hover */
.contact-card { transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease; }
.contact-card:hover { border-color: var(--primary); box-shadow: 0 8px 24px rgba(23, 37, 27, 0.09); transform: translateY(-2px); }

/* Schedule table: readable on narrow screens */
@media (max-width: 640px) {
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .schedule-table { min-width: 520px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* Selection color in brand */
::selection { background: var(--deep); color: var(--paper); }

/* ============ v1.0.3 — movement layer, kicker growth, mobile bot ============ */

/* Drifting leaves layer inside the hero */
.hero-leaves { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.hero-leaves .leaf { position: absolute; top: 0; left: 0; color: rgba(251, 249, 241, 0.5); will-change: transform; }
.hero-leaves .leaf:nth-child(3n) { color: rgba(110, 127, 112, 0.55); }
.hero-leaves .leaf svg { width: 100%; height: 100%; display: block; }
.hero-content { position: relative; z-index: 2; will-change: transform, opacity; }

/* Kicker root line grows in (width transition; rAF-critical motion lives in JS) */
.kicker-armed::after { transform-origin: left center; transform: scaleX(0); transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s; }
.kicker-armed::before { opacity: 0; transition: opacity 0.4s ease 0.85s; }
.kicker-grown::after { transform: scaleX(1); }
.kicker-grown::before { opacity: 1; }
.kicker-center.kicker-armed::after { transform-origin: center; transform: translateX(-50%) scaleX(0); }
.kicker-center.kicker-grown::after { transform: translateX(-50%) scaleX(1); }

/* Staggered children inside revealed grids */
html.js .reveal :is(.value-grid, .review-grid, .exp-grid, .animal-grid, .contact-grid, .perk-grid) > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
html.js .reveal.visible :is(.value-grid, .review-grid, .exp-grid, .animal-grid, .contact-grid, .perk-grid) > * {
  opacity: 1; transform: none;
}
html.js .reveal.visible :is(.value-grid, .review-grid, .exp-grid, .animal-grid, .contact-grid, .perk-grid) > *:nth-child(2) { transition-delay: 0.08s; }
html.js .reveal.visible :is(.value-grid, .review-grid, .exp-grid, .animal-grid, .contact-grid, .perk-grid) > *:nth-child(3) { transition-delay: 0.16s; }
html.js .reveal.visible :is(.value-grid, .review-grid, .exp-grid, .animal-grid, .contact-grid, .perk-grid) > *:nth-child(4) { transition-delay: 0.24s; }
html.js .reveal.visible :is(.value-grid, .review-grid, .exp-grid, .animal-grid, .contact-grid, .perk-grid) > *:nth-child(5) { transition-delay: 0.32s; }
html.js .reveal.visible :is(.value-grid, .review-grid, .exp-grid, .animal-grid, .contact-grid, .perk-grid) > *:nth-child(6) { transition-delay: 0.40s; }

/* Typing indicator */
.bot-typing { display: inline-flex; gap: 5px; }
.bot-dot { font-size: 9px; line-height: 1; color: var(--moss); }

/* Mobile: Tree Bot sizing */
@media (max-width: 480px) {
  .bot-toggle { padding: 0; width: 56px; height: 56px; border-radius: 50%; justify-content: center; }
  .bot-toggle-label { display: none; }
  .bot-panel {
    left: 12px; right: 12px; bottom: 78px; width: auto;
    height: min(72dvh, 560px); max-height: calc(100dvh - 100px);
  }
  .bot-msgs { max-height: none; flex: 1; }
}

/* Mobile: general size tuning */
@media (max-width: 480px) {
  .section { padding: 52px 0; }
  .hero-full { min-height: 86svh; }
  .hero-content h1 { font-size: clamp(2.1rem, 9.5vw, 2.9rem); }
  .facts-inner { gap: 8px 18px; font-size: 0.82rem; }
  .btn { padding: 13px 22px; }
  .e404-code { font-size: 4rem; }
}

/* v1.0.4: skip link, footer credit */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--deep); color: var(--paper); padding: 12px 20px;
  border-radius: 0 0 10px 0; text-decoration: none; font-weight: 700;
}
.skip-link:focus { left: 0; }
.footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a:hover { color: var(--paper); }

/* ============ v1.0.5 — new pages, week grid, density, bot visibility ============ */

/* Density: tighter rhythm across the site (item 7) */
.section { padding: 64px 0; }
.page-hero { padding: 72px 0 36px; }
.page-hero .hero-sub { margin-bottom: 10px; }
.section .kicker + h2 { margin-top: 10px; }
.narrow-p { max-width: 62ch; }

/* Photo page-hero (reserve) */
.page-hero-photo { position: relative; color: #FBF9F1; padding: 110px 0 64px; overflow: hidden; }
.page-hero-photo .ph-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-photo .ph-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-photo .ph-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,37,27,0.55), rgba(23,37,27,0.75)); }
.page-hero-photo .container { position: relative; z-index: 1; }
.page-hero-photo h1, .page-hero-photo .hero-sub, .page-hero-photo p { color: #FBF9F1; }
.page-hero-photo .kicker { color: #D8C29A; }

/* Package rows + teaser cards */
.pkg-rows { margin: 20px 0 24px; border-top: 1px solid var(--line); }
.pkg-rows > div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pkg-rows dt { font-weight: 700; color: var(--deep); font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; }
.pkg-rows dd { margin: 0; text-align: right; }
.pkg-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 24px; }
.pkg-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; text-decoration: none; color: var(--ink); transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease; }
.pkg-card:hover { border-color: var(--primary); box-shadow: 0 10px 28px rgba(23,37,27,0.1); transform: translateY(-2px); }
.pkg-card h3 { font-family: var(--font-display); margin: 0 0 8px; }
.pkg-card span { color: var(--primary); font-weight: 700; }

/* Story cards */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.story-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease; }
.story-card:hover { border-color: var(--primary); box-shadow: 0 14px 34px rgba(23,37,27,0.12); transform: translateY(-3px); }
.story-media { aspect-ratio: 4 / 5; overflow: hidden; }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.story-card:hover .story-media img { transform: scale(1.04); }
.story-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.story-no { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--moss); margin: 0; }
.story-body h2 { font-size: 1.35rem; margin: 0; }
.story-read { color: var(--primary); font-weight: 700; margin-top: auto; padding-top: 8px; }

/* A week here — editorial root-line timetable */
.wk-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin: 20px 0 8px; }
.wk-key { display: inline-flex; align-items: center; gap: 9px; font-size: 0.86rem; letter-spacing: 0.05em; text-transform: uppercase; color: #C9D4C8; }
.wk-key::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.wk-key-i::before { background: #D8C29A; box-shadow: 0 0 8px rgba(216, 194, 154, 0.6); }
.wk-key-a::before { border: 2px solid #8FA593; }
.wk-stay30 { font-size: 0.88rem; color: #D8C29A; font-style: italic; }

.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 30px; border-top: 1px solid rgba(251, 249, 241, 0.22); }
.week-day { padding: 26px 18px 30px 20px; border-right: 1px solid rgba(251, 249, 241, 0.12); min-width: 0; }
.week-day:last-child { border-right: 0; }
.wd-name { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: 1.12rem; color: #FBF9F1; margin: 0 0 20px; letter-spacing: 0.01em; }
.week-rest .wd-name { color: #D8C29A; }

.wd-line { list-style: none; margin: 0; padding: 0 0 0 18px; position: relative; display: flex; flex-direction: column; gap: 18px; }
.wd-line::before { content: ""; position: absolute; left: 4px; top: 4px; bottom: 4px; width: 1px;
  background: linear-gradient(180deg, #D8C29A 0%, rgba(216, 194, 154, 0.45) 55%, rgba(143, 165, 147, 0.25) 100%); }
.wd-line li { position: relative; }
.wd-line li::before { content: ""; position: absolute; left: -18px; top: 4px; width: 9px; height: 9px; border-radius: 50%; }
.wd-line li.wk-i::before { background: #D8C29A; box-shadow: 0 0 10px rgba(216, 194, 154, 0.55); }
.wd-line li.wk-a::before { border: 2px solid #8FA593; background: var(--deep); left: -19px; top: 3px; }
.wk-time { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #D8C29A; margin-bottom: 2px; }
.wk-act { display: block; font-size: 0.92rem; line-height: 1.4; color: #E9EEE6; }
.week-rest .wk-act { color: #D5DDD2; }
.wd-rest-note { margin: 18px 0 0; padding-left: 18px; font-size: 0.85rem; font-style: italic; color: #A9B8AC; line-height: 1.55; }

/* Root-line grow + node stagger on reveal */
html.js .reveal .wd-line::before { transform: scaleY(0); transform-origin: top; transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--col-d, 0.1s); }
html.js .reveal.visible .wd-line::before { transform: scaleY(1); }
html.js .reveal .wd-line li { opacity: 0; transform: translateY(8px); transition: opacity 0.55s ease, transform 0.55s ease; transition-delay: calc(var(--col-d, 0.1s) + var(--li-d, 0s)); }
html.js .reveal.visible .wd-line li { opacity: 1; transform: none; }
.week-day:nth-child(1) { --col-d: 0.05s; } .week-day:nth-child(2) { --col-d: 0.15s; }
.week-day:nth-child(3) { --col-d: 0.25s; } .week-day:nth-child(4) { --col-d: 0.35s; }
.week-day:nth-child(5) { --col-d: 0.45s; } .week-day:nth-child(6) { --col-d: 0.55s; }
.week-day:nth-child(7) { --col-d: 0.65s; }
.wd-line li:nth-child(1) { --li-d: 0.1s; } .wd-line li:nth-child(2) { --li-d: 0.22s; }
.wd-line li:nth-child(3) { --li-d: 0.34s; } .wd-line li:nth-child(4) { --li-d: 0.46s; }
.wd-line li:nth-child(5) { --li-d: 0.58s; } .wd-line li:nth-child(6) { --li-d: 0.7s; }

/* Info band: three ruled editorial columns */
.week-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 56px; }
.week-info-col { border-top: 2px solid #D8C29A; padding-top: 20px; }
.week-info-col h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; color: #FBF9F1; margin: 0 0 14px; }
.week-info-col p, .week-info-col li { color: #D5DDD2; font-size: 0.95rem; line-height: 1.65; }
.root-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.root-list li { position: relative; padding-left: 22px; }
.root-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 1px; background: #D8C29A; }
.root-list li::after { content: ""; position: absolute; left: 5px; top: 5px; width: 1px; height: 9px; background: #D8C29A; opacity: 0.7; }
.pass-rows { margin: 16px 0 10px; }
.pass-rows > div { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px solid rgba(251, 249, 241, 0.14); color: #D5DDD2; font-size: 0.93rem; }
.pass-rows dt { letter-spacing: 0.02em; }
.pass-rows dd { margin: 0; font-family: var(--font-display); font-size: 1.12rem; color: #D8C29A; }
.good-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.good-list li { position: relative; padding-left: 18px; }
.good-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; border: 1px solid #8FA593; background: none; }

/* Week responsive: horizontal snap rail below 1180 */
@media (max-width: 1180px) {
  .week-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 240px; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 12px;
    scrollbar-width: thin; scrollbar-color: rgba(216,194,154,0.5) transparent; }
  .week-day { scroll-snap-align: start; }
  .week-grid::-webkit-scrollbar { height: 5px; }
  .week-grid::-webkit-scrollbar-thumb { background: rgba(216, 194, 154, 0.45); border-radius: 3px; }
  .week-info { grid-template-columns: 1fr; gap: 30px; }
}

/* Long stay includes grid */
.inc-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0 8px; padding: 0; }
.inc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; font-weight: 500; position: relative; padding-left: 40px; }
.inc-card::before { content: ""; position: absolute; left: 18px; top: 24px; width: 10px; height: 2px; background: var(--bark); }
.inc-card::after { content: ""; position: absolute; left: 22px; top: 26px; width: 2px; height: 8px; background: var(--bark); }
.link-light { color: inherit; font-weight: 700; }

/* Policy columns */
.policy-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.policy-cols h2 { font-size: 1.4rem; margin-top: 26px; }
.policy-cols h2:first-child { margin-top: 0; }

/* FAQ groups */
.faq-group { padding: 26px 0 8px; }
.faq-group-tint { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px 14px; }
.faq-group .kicker { margin-bottom: 14px; }
.faq-more { margin-top: 30px; font-size: 1.02rem; }
.faq-more a { color: var(--primary); font-weight: 700; }

/* Contact icon buttons + social row */
.btn-ico { display: inline-flex; align-items: center; gap: 9px; }
.contact-social { margin-top: 26px; }
.contact-social .social-row a { color: var(--deep); }
.contact-social .social-row a:hover { color: var(--primary); }

/* Tree Bot: visible (item 16) */
.bot-toggle {
  background: var(--bark); color: #FFF8EE;
  border: 2px solid rgba(255, 248, 238, 0.5);
  font-size: 1rem; padding: 15px 22px;
  box-shadow: 0 10px 28px rgba(23, 37, 27, 0.35);
}
.bot-toggle:hover { background: #9A7857; transform: translateY(-2px); }
.bot-head { background: var(--bark); }

/* Mobile nav: item 3 */
@media (max-width: 960px) {
  .site-nav.open { padding: 16px 20px 20px; gap: 4px; }
  .site-nav.open a:not(.btn) { font-size: 1rem; padding: 9px 0; }
  .site-nav.open .btn { margin-top: 10px; align-self: flex-start; }
}

@media (max-width: 860px) {
  .pkg-teaser, .policy-cols { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .week-info { grid-template-columns: 1fr; }
  .inc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .inc-grid { grid-template-columns: 1fr; }
}

/* Scroll progress root (grows down the left edge as you read) */
.scroll-root { position: fixed; left: 0; top: 0; bottom: 0; width: 3px; z-index: 200; pointer-events: none; }
.scroll-root i { display: block; width: 100%; height: 0; background: linear-gradient(180deg, var(--primary), var(--bark)); }
@media (max-width: 760px) { .scroll-root { display: none; } }

/* Image wipe reveal on split media */
html.js .reveal .split-media img { clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s; }
html.js .reveal.visible .split-media img { clip-path: inset(0 0 0 0); }
html.js .reveal .split-rev .split-media img, html.js .reveal .split-flip .split-media img { clip-path: inset(0 0 0 100%); }
html.js .reveal.visible .split-rev .split-media img, html.js .reveal.visible .split-flip .split-media img { clip-path: inset(0 0 0 0); }

/* v1.0.8: wellness pass block */
.pass-block { margin-top: 44px; border-top: 2px solid #D8C29A; padding-top: 22px; }
.pass-block h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; color: #FBF9F1; margin: 0 0 10px; }
.pass-block p { color: #D5DDD2; font-size: 0.95rem; }

/* v1.0.8: story articles */
.story-body-col { max-width: 720px; }
.story-body-col > p { font-size: 1.06rem; line-height: 1.8; }
.story-body-col h2 { font-family: var(--font-display); font-weight: 500; margin: 44px 0 16px; }
.story-fig { margin: 36px 0; }
.story-fig img, .story-fig video { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.story-fig figcaption { margin-top: 10px; font-size: 0.86rem; font-style: italic; color: var(--moss); }
.story-quote { margin: 44px 0; padding: 6px 0 6px 26px; border-left: 2px solid var(--bark); }
.story-quote p { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.5; color: var(--deep); margin: 0 0 8px; }
.story-quote cite { font-style: normal; font-size: 0.88rem; color: var(--moss); }
.story-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 32px 0; }
.story-photo-grid .story-fig { margin: 0; }
.story-facts { margin: 24px 0; border-top: 1px solid var(--line); }
.story-facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.story-facts dt { font-weight: 700; color: var(--deep); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.story-facts dd { margin: 0; }
.story-credit { margin-top: 40px; font-size: 0.86rem; }
.story-credit a { color: var(--moss); }
.root-list-dark li { color: var(--ink); }
.root-list-dark li::before, .root-list-dark li::after { background: var(--bark); }
.story-hero { min-height: 480px; display: flex; align-items: flex-end; }
@media (max-width: 700px) { .story-photo-grid { grid-template-columns: 1fr; } }

/* ============ v1.1.0 — mobile UX & polish pass ============ */

/* Fluid display type: scales smoothly instead of jumping at breakpoints */
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.2; }
.hero-full h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); }

/* Comfortable tap targets everywhere (44px minimum) */
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.site-nav a { min-height: 40px; display: inline-flex; align-items: center; }
.footer-col a { min-height: 40px; display: flex; align-items: center; }
.footer-col a { padding: 2px 0; }
a, button { -webkit-tap-highlight-color: rgba(53, 87, 63, 0.15); }
.btn:active { transform: scale(0.97); }

/* Visible keyboard focus without hurting mouse users */
:focus-visible { outline: 2px solid var(--bark); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-color: var(--deep); }

/* Anchor jumps: smooth, and clear of the sticky header */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
#week, #schedule, #experiences, #conditions { scroll-margin-top: 84px; }

/* Prevent iOS zoom-on-focus: inputs must be 16px+ */
input, select, textarea, .bot-input input { font-size: 16px; }

/* Safe areas for notched phones (bot toggle sits in the corner) */
#rootbot .bot-toggle { margin-right: env(safe-area-inset-right, 0); margin-bottom: env(safe-area-inset-bottom, 0); }

/* Week rail on mobile: edge fade + swipe hint so the scroll is discoverable */
@media (max-width: 1180px) {
  .week-wrap { position: relative; }
  .week-grid { -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
  .week-grid::after { content: ""; display: block; min-width: 24px; }
}

/* Mobile hero: real viewport units, tighter facts strip */
@media (max-width: 760px) {
  .hero-full { min-height: 86svh; }
  .hero-full .hero-content { padding-bottom: 40px; }
  .facts-strip { gap: 8px 18px; padding: 14px 18px; font-size: 0.85rem; }
  .page-hero-photo { padding: 84px 0 44px; }
  .story-hero { min-height: 380px; }
  .section { padding: 48px 0; }
  .split, .split-rev, .split-flip { gap: 22px; }
  .story-quote p { font-size: 1.25rem; }
  .story-body-col > p { font-size: 1rem; line-height: 1.75; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .exp-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .cta-row { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
  .cta-row .btn { width: 100%; }
}

/* Card hover language unified (desktop) */
@media (hover: hover) {
  .value-card, .exp-card { transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease; }
  .value-card:hover, .exp-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(23, 37, 27, 0.1); border-color: var(--primary); }
}

/* Section rhythm: gentle tint alternation so long pages never feel flat */
.section-tint + .section-tint { background: var(--paper); }

/* v1.1.1: new brand mark */
.brand-mark { display: block; width: 52px; height: auto; }
.site-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 120px; height: auto; opacity: 0.95; }
.bot-mark { display: block; width: 26px; height: auto; }
@media (max-width: 760px) { .brand-mark { width: 44px; } }

/* ============ v1.2.0 — world-class polish ============ */

/* Hero sub: clean two-line rag */
.hero-full .hero-sub { max-width: 30ch; }

/* Split media: give the parallax transform room without clipping jumps */
.split-media { overflow: hidden; border-radius: var(--radius); }
.split-media img { will-change: transform; }

/* Reveal stagger for card grids (each card arrives a beat apart) */
html.js .reveal .value-grid > *, html.js .reveal .exp-grid > *,
html.js .reveal .story-grid > *, html.js .reveal .pkg-teaser > *,
html.js .reveal .inc-grid > * {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js .reveal.visible .value-grid > *, html.js .reveal.visible .exp-grid > *,
html.js .reveal.visible .story-grid > *, html.js .reveal.visible .pkg-teaser > *,
html.js .reveal.visible .inc-grid > * { opacity: 1; transform: none; }
.reveal .value-grid > *:nth-child(1), .reveal .exp-grid > *:nth-child(1), .reveal .story-grid > *:nth-child(1), .reveal .inc-grid > *:nth-child(1) { transition-delay: 0.05s; }
.reveal .value-grid > *:nth-child(2), .reveal .exp-grid > *:nth-child(2), .reveal .story-grid > *:nth-child(2), .reveal .inc-grid > *:nth-child(2) { transition-delay: 0.16s; }
.reveal .value-grid > *:nth-child(3), .reveal .exp-grid > *:nth-child(3), .reveal .story-grid > *:nth-child(3), .reveal .inc-grid > *:nth-child(3) { transition-delay: 0.27s; }
.reveal .value-grid > *:nth-child(4), .reveal .exp-grid > *:nth-child(4), .reveal .inc-grid > *:nth-child(4) { transition-delay: 0.38s; }
.reveal .inc-grid > *:nth-child(5) { transition-delay: 0.49s; }
.reveal .inc-grid > *:nth-child(6) { transition-delay: 0.6s; }

/* FAQ: animated open/close */
.faq-item summary { cursor: pointer; position: relative; padding-right: 34px; transition: color 0.2s ease; }
.faq-item summary:hover { color: var(--primary); }
.faq-item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--bark); border-bottom: 2px solid var(--bark);
  transform: rotate(45deg); transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq-item p { animation: faq-open 0.35s ease; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Brand selection color */
::selection { background: rgba(216, 194, 154, 0.5); color: var(--ink); }

/* Refined link language */
p a, .story-body-col a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(53, 87, 63, 0.35); text-underline-offset: 3px; transition: text-decoration-color 0.2s ease; }
p a:hover, .story-body-col a:hover { text-decoration-color: var(--primary); }

/* Buttons: consistent lift */
.btn { transition: transform 0.18s ease, box-shadow 0.22s ease, background-color 0.2s ease, color 0.2s ease; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(23, 37, 27, 0.16); }
}

/* Subtle branded scrollbar (WebKit) */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #C9CFC2; border-radius: 6px; border: 3px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: var(--moss); }

/* Reduced motion: quiet the CSS layer (the rAF signature layer stays, per spec) */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal .value-grid > *, html.js .reveal .exp-grid > *,
  html.js .reveal .story-grid > *, html.js .reveal .pkg-teaser > *,
  html.js .reveal .inc-grid > *, html.js .reveal .wd-line li,
  html.js .reveal .split-media img { transition: none; opacity: 1; transform: none; clip-path: none; }
  html.js .reveal .wd-line::before { transition: none; transform: none; }
  .faq-item p { animation: none; }
}

/* v1.2.1 — review fixes */
/* Reserve talk-first cards: 2x2 (no orphan), email never overflows */
.contact-grid { grid-template-columns: 1fr 1fr; }
.contact-grid .contact-card { overflow-wrap: anywhere; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }

/* Contact form fills its column cleanly */
.contact-form { max-width: 100%; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; }

/* Policy pages: stacked lists read better than ragged two-col grids */
.policy-cols .perk-grid { grid-template-columns: 1fr; gap: 10px; }

/* The Place hero: driftwood corridor reads best framed lower */


/* faq_more alignment inside container */
.faq-more { margin-top: 34px; }

/* ============ v1.3.0 ============ */

/* Compact, refined nav (both breakpoints) */
.site-header { --header-h: 64px; }
.site-header .container { min-height: 64px; }
.site-nav a:not(.btn) { font-size: 0.95rem; position: relative; padding: 6px 2px; }
.site-nav a:not(.btn):not(.lang-switch)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--bark); transform: scaleX(0); transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 1180px) and (min-width: 961px) { .site-nav { gap: 16px; } .site-nav a:not(.btn) { font-size: 0.9rem; } }
@media (max-width: 960px) {
  .site-nav.open { position: absolute; right: 14px; left: auto; top: calc(100% + 8px);
    width: min(320px, calc(100vw - 28px)); border-radius: 14px;
    box-shadow: 0 18px 44px rgba(23, 37, 27, 0.22); border: 1px solid var(--line);
    padding: 14px 18px 18px; gap: 2px; }
  .site-nav.open a:not(.btn) { font-size: 0.98rem; padding: 8px 2px; }
  .site-nav.open .btn { margin-top: 12px; width: 100%; }
  .site-nav.open .lang-switch { margin-top: 6px; }
}

/* Booking embed */
.booking-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 14px 40px rgba(23,37,27,0.08); }
.booking-embed iframe { display: block; width: 100%; height: min(78vh, 900px); border: 0; }
@media (max-width: 760px) { .booking-embed iframe { height: 82svh; } }

/* Reserve cards v2 */
.contact-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 16px 22px; text-align: center; }
.cc-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.cc-wa { background: #25D366; }
.cc-line { background: #06C755; }
.cc-mail { background: var(--deep); }
.cc-form { background: var(--bark); }
.cc-sub { font-size: 0.85rem; color: var(--moss); }
.cc-email { overflow-wrap: anywhere; }
.cc-qr { border-radius: 8px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .contact-grid { grid-template-columns: 1fr; } }

/* FAQ more card */
.faq-more-card { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 28px 30px; text-align: center; }
.faq-more-card p:first-child { font-family: var(--font-display); font-size: 1.25rem; color: var(--deep); margin: 0 0 16px; }
.faq-more-card .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Stat strips (long stay, pet policy) */
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0 0 36px; }
.stat { border-top: 2px solid var(--bark); padding-top: 14px; }
.stat-n { display: block; font-family: var(--font-display); font-size: 2.3rem; color: var(--deep); line-height: 1.1; }
.stat-l { font-size: 0.88rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--moss); }
@media (max-width: 560px) { .stat-strip { grid-template-columns: 1fr; gap: 14px; } }

/* Fancy numbered conditions */
.conditions-fancy { counter-reset: cond; list-style: none; padding: 0; }
.conditions-fancy li { counter-increment: cond; position: relative; padding: 18px 0 18px 64px; border-bottom: 1px solid var(--line); }
.conditions-fancy li::before { content: counter(cond, decimal-leading-zero); position: absolute; left: 0; top: 14px;
  font-family: var(--font-display); font-size: 1.7rem; color: var(--bark); }

/* Residents lightbox */
.animal-grid figure { cursor: zoom-in; transition: transform 0.2s ease; }
.animal-grid figure:hover { transform: translateY(-3px); }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(23, 37, 27, 0.92);
  display: none; align-items: center; justify-content: center; flex-direction: column; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(760px, 92vw); max-height: 78vh; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox-cap { color: #FBF9F1; font-family: var(--font-display); font-size: 1.2rem; margin-top: 16px; }
.lightbox-close { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #FBF9F1; font-size: 2.4rem; cursor: pointer; line-height: 1; }
.no-scroll { overflow: hidden; }

/* Pet note balance */
.pet-note { max-width: 52ch; margin-left: auto; margin-right: auto; }

/* h2 rule draw on reveal */
html.js .reveal h2 { position: relative; }
html.js .reveal .container > h2::after, html.js .reveal .split-copy h2::after { content: ""; position: absolute; left: 0; bottom: -8px; height: 1px; width: 56px; background: var(--bark); transform: scaleX(0); transform-origin: left; transition: transform 0.7s ease 0.25s; }
html.js .reveal.visible .container > h2::after, html.js .reveal.visible .split-copy h2::after { transform: scaleX(1); }


/* v1.4.0 — review fixes: CTA band, pet note, footer */
.cta-final { text-align: center; }
.cta-final h2 { margin: 0 auto 22px; }
.cta-final h2::before, .cta-final h2::after { display: none; } /* stray root tick out of the centered band */
.cta-final .fine, .cta-final .pet-note { color: #C9D4C6; margin-top: 18px; }
.cta-final .fine a, .cta-final .pet-note a { color: #E8DCC0; text-decoration: underline; text-underline-offset: 3px; }
.cta-final .fine a:hover, .cta-final .pet-note a:hover { color: #FBF9F1; }

/* Footer: tighter, balanced, deliberate */
.site-footer { padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px 48px; align-items: start; }
.footer-brand img { width: 96px; }
.footer-tag { font-size: 0.95rem; max-width: 24ch; line-height: 1.6; }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 0.14em; margin-bottom: 14px; opacity: 0.75; }
.footer-col a { padding: 3px 0; min-height: 34px; font-size: 0.95rem; opacity: 0.9; transition: opacity 0.15s ease, transform 0.15s ease; }
.footer-col a:hover { opacity: 1; transform: translateX(2px); }
.footer-col .fine { opacity: 0.7; }
.footer-explore-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.footer-bottom { margin-top: 44px; border-top: 1px solid rgba(251, 249, 241, 0.12); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 0.85rem; }
.footer-bottom .fver { opacity: 0.35; font-size: 0.75rem; }
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-explore-cols { grid-template-columns: 1fr 1fr; }
}

/* v1.4.0 — animation layer v3 */
/* Section headings: gold root-underline draws in on reveal */
.section .container > h2, .section .split-text h2, .cta-final h2 { position: relative; padding-bottom: 12px; }
html.js .reveal .container > h2::after, html.js .reveal .split-text h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 64px;
  background: linear-gradient(90deg, var(--bark), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
html.js .reveal.visible .container > h2::after, html.js .reveal.visible .split-text h2::after { transform: scaleX(1); }
.center > h2::after, .cta-final h2::after { left: 50% !important; transform-origin: center !important; margin-left: -32px; }

/* Facts strip: items cascade up on load */
html.js .facts-strip span { opacity: 0; transform: translateY(8px); animation: fact-in 0.6s ease forwards; }
html.js .facts-strip span:nth-child(1) { animation-delay: 0.9s; }
html.js .facts-strip span:nth-child(2) { animation-delay: 1.05s; }
html.js .facts-strip span:nth-child(3) { animation-delay: 1.2s; }
@keyframes fact-in { to { opacity: 1; transform: none; } }

/* Review cards join the stagger family + lift on hover */
html.js .reveal .review-grid > * { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.visible .review-grid > * { opacity: 1; transform: none; }
.reveal .review-grid > *:nth-child(1) { transition-delay: 0.05s; }
.reveal .review-grid > *:nth-child(2) { transition-delay: 0.14s; }
.reveal .review-grid > *:nth-child(3) { transition-delay: 0.23s; }
.reveal .review-grid > *:nth-child(4) { transition-delay: 0.32s; }
.reveal .review-grid > *:nth-child(5) { transition-delay: 0.41s; }
.reveal .review-grid > *:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal .container > h2::after, html.js .reveal .split-text h2::after { transition: none; transform: scaleX(1); }
  html.js .facts-strip span { animation: none; opacity: 1; transform: none; }
  html.js .reveal .review-grid > * { transition: none; opacity: 1; transform: none; }
}

/* ============ v1.4.1 — mobile review fixes (final cascade, wins by order) ============ */

/* WEEK TIMETABLE ON PHONES: stacked day cards. The horizontal rail is
   for tablets only; on a phone each day reads as its own block. */
@media (max-width: 760px) {
  .week-grid {
    display: block; overflow: visible;
    -webkit-mask-image: none; mask-image: none;
    padding-bottom: 0; border-top: 0;
  }
  .week-grid::after { display: none; }
  .week-day {
    min-width: 0; border-top: 1px solid rgba(251, 249, 241, 0.22);
    padding: 18px 0 22px; scroll-snap-align: none;
  }
  .week-day h3 { font-size: 1.35rem; margin-bottom: 12px; }
  .week-day li { padding: 7px 0 7px 26px; }
  .week-info { grid-template-columns: 1fr; gap: 26px; }
}

/* Tree Bot FAB on phones: compact circle, mark actually visible */
@media (max-width: 760px) {
  .bot-toggle {
    width: 58px; height: 58px; padding: 0 !important;
    border-radius: 50%; justify-content: center;
    box-shadow: 0 8px 22px rgba(23, 37, 27, 0.35);
  }
  .bot-toggle .bot-mark { width: 28px; height: auto; }
  .bot-toggle-label { display: none; }
}

/* FAQ on phones: tighter group cards, no sticky hover color on touch */
.faq-item summary { color: var(--deep); }
@media (hover: hover) { .faq-item summary:hover { color: var(--primary); } }
@media (max-width: 760px) {
  .faq-group { padding: 18px 16px; }
  .faq-item summary { font-size: 1.05rem; line-height: 1.45; padding-right: 30px; }
}

/* Centered CTA underline stays centered on phones */
@media (max-width: 760px) {
  .cta-final h2::after { left: 50%; margin-left: -32px; transform-origin: center; }
}

/* v1.5.1: on-site availability picker */
.avail-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; box-shadow: 0 14px 40px rgba(23, 37, 27, 0.07); }
.avail-card h2 { margin-top: 0; }
.avail-form { display: grid; grid-template-columns: 1fr 1fr 110px auto; gap: 14px; align-items: end; margin-top: 18px; }
.avail-field label { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--moss); margin-bottom: 7px; font-weight: 700; }
.avail-field input, .avail-field select { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 12px; background: #fff; font: inherit; color: var(--ink); }
.avail-field input:focus, .avail-field select:focus { outline: 2px solid var(--bark); outline-offset: 1px; border-color: var(--bark); }
.avail-go { white-space: nowrap; }
@media (max-width: 760px) {
  .avail-form { grid-template-columns: 1fr 1fr; }
  .avail-go { grid-column: 1 / -1; }
  .avail-card { padding: 22px 18px; }
}

/* v1.5.2: footer balance + visible version */
.footer-inner { grid-template-columns: 1.1fr 1fr 0.7fr 1.1fr; gap: 44px 56px; }
.footer-explore-cols a, .footer-col > a { white-space: nowrap; }
.footer-tag { margin-top: 14px; }
.footer-bottom { border-top: 1px solid rgba(251, 249, 241, 0.12); margin-top: 44px; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; font-size: 0.85rem; }
.footer-bottom-inner .fver { margin-right: 200px; }
.footer-bottom .fver { opacity: 0.75; font-size: 0.82rem; letter-spacing: 0.04em; }
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 34px 40px; }
  .footer-bottom { padding-right: 0; padding-bottom: 84px; } /* clear the Tree Bot FAB */
}

/* v1.5.2 final: outer bottom bar is a band, inner aligns to container */
.footer-bottom { display: block; padding: 0; }
@media (max-width: 900px) { .footer-bottom-inner { padding-bottom: 88px; } .footer-bottom-inner .fver { margin-right: 0; } }

/* v1.5.2 final: book page composition */
.page-book .page-hero { padding-bottom: 8px; }
.page-book #avail.section { padding-top: 18px; }
.trust-row { list-style: none; display: flex; gap: 10px 28px; flex-wrap: wrap; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.trust-row li { font-size: 0.88rem; color: var(--moss); padding-left: 22px; position: relative; }
.trust-row li::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 7px; border-left: 2px solid var(--bark); border-bottom: 2px solid var(--bark); transform: rotate(-45deg); }
@media (max-width: 760px) { .trust-row { flex-direction: column; gap: 10px; } }
