/* Krazy Home v5 — Thai day-of-week colors + warm multi-page */
/* Default accent = Thursday orange; JS sets data-thai-day from Asia/Bangkok */

:root {
  --cream: #faf7f2;
  --cream2: #f0e8dc;
  --sand: #e8dcc8;
  --ink: #1a1410;
  --ink2: #4a3f36;
  --muted: #7a6e62;
  --white: #ffffff;
  --green: #2a5238;
  --green2: #1a3524;
  /* accent = Thai color of the day (overridden by data-thai-day) */
  --accent: #d97706;
  --accent-deep: #b45309;
  --accent-soft: #fbbf24;
  --accent-tint: rgba(217, 119, 6, 0.12);
  --shadow: 0 14px 40px rgba(26, 20, 16, 0.1);
  --shadow-sm: 0 4px 14px rgba(26, 20, 16, 0.07);
  --r: 18px;
  --rs: 12px;
  --font-d: "Cormorant Garamond", Georgia, serif;
  --font-b: "Kanit", system-ui, sans-serif;
  --max: 1080px;
  --nav: 68px;
  --day-label: "Thai color of the day";
}

/* Sunday red · Monday yellow · Tuesday pink · Wednesday green · Thursday orange · Friday blue · Saturday purple */
html[data-thai-day="0"] {
  --accent: #c62828; --accent-deep: #8e0000; --accent-soft: #ef5350;
  --accent-tint: rgba(198, 40, 40, 0.12); --day-label: "Sunday · แดง red";
}
html[data-thai-day="1"] {
  --accent: #f0b429; --accent-deep: #c4890a; --accent-soft: #fcd34d;
  --accent-tint: rgba(240, 180, 41, 0.16); --day-label: "Monday · เหลือง yellow";
  --ink: #1c1708;
}
html[data-thai-day="2"] {
  --accent: #db2777; --accent-deep: #9d174d; --accent-soft: #f472b6;
  --accent-tint: rgba(219, 39, 119, 0.12); --day-label: "Tuesday · ชมพู pink";
}
html[data-thai-day="3"] {
  --accent: #25964b; --accent-deep: #166534; --accent-soft: #4ade80;
  --accent-tint: rgba(37, 150, 75, 0.12); --day-label: "Wednesday · เขียว green";
}
html[data-thai-day="4"] {
  --accent: #ea580c; --accent-deep: #c2410c; --accent-soft: #fb923c;
  --accent-tint: rgba(234, 88, 12, 0.12); --day-label: "Thursday · ส้ม orange";
}
html[data-thai-day="5"] {
  --accent: #2563eb; --accent-deep: #1d4ed8; --accent-soft: #60a5fa;
  --accent-tint: rgba(37, 99, 235, 0.12); --day-label: "Friday · ฟ้า blue";
}
html[data-thai-day="6"] {
  --accent: #7c3aed; --accent-deep: #5b21b6; --accent-soft: #a78bfa;
  --accent-tint: rgba(124, 58, 237, 0.12); --day-label: "Saturday · ม่วง purple";
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background .4s ease;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: 0; }
ul { list-style: none; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Day chip */
.day-chip {
  display: none;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--accent-deep);
  background: var(--accent-tint);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  padding: .28rem .65rem;
  border-radius: 999px;
  white-space: nowrap;
}
.day-chip::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent);
}
@media (min-width: 980px) {
  .day-chip { display: inline-flex; }
}

/* Nav — clean, no duplicates */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav);
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s, background .4s;
}
.nav.scrolled {
  border-bottom-color: rgba(26, 20, 16, 0.06);
  box-shadow: var(--shadow-sm);
  background: color-mix(in srgb, var(--cream) 96%, transparent);
}
.nav-in {
  height: 100%;
  width: min(100% - 1.25rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.logo {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-d); font-weight: 600; font-size: 1.15rem;
  color: var(--green2); flex-shrink: 0;
}
.logo img {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--accent-soft);
  transition: border-color .4s;
}
.nav-links {
  display: flex; align-items: center; gap: .1rem; flex-wrap: nowrap;
}
.nav-links a {
  padding: .4rem .7rem;
  font-size: .88rem;
  color: var(--ink2);
  border-radius: 999px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-deep);
  background: var(--accent-tint);
}
.nav-links .cta {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 500 !important;
  padding: .45rem 1rem !important;
  margin-left: .35rem;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 35%, transparent);
}
.nav-links .cta:hover {
  background: var(--accent-deep) !important;
  color: #fff !important;
}
.nav-toggle {
  display: none; width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .8rem 1.35rem; border-radius: 999px; font-weight: 500; font-size: .95rem;
  transition: transform .2s, box-shadow .2s, background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-p {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 18px color-mix(in srgb, var(--accent) 35%, transparent);
}
.btn-p:hover { background: var(--accent-deep); }
.btn-s {
  background: #fff; color: var(--green2);
  border: 1.5px solid rgba(42, 82, 56, 0.2);
}
.btn-s:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn-g {
  background: rgba(255,255,255,.14); color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}

/* Hero */
.hero {
  position: relative; min-height: min(92svh, 900px);
  display: grid; place-items: end center;
  padding: calc(var(--nav) + 1.5rem) 0 3rem; color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background: var(--green2); }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%; min-height: 100%;
}
.hero-ov {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26,53,36,.28) 0%, rgba(26,53,36,.1) 38%, rgba(26,20,16,.8) 100%),
    linear-gradient(90deg, rgba(26,20,16,.45) 0%, transparent 58%);
}
.hero-in { position: relative; z-index: 2; width: min(100% - 2rem, var(--max)); }
.badge {
  display: inline-flex; padding: .35rem .85rem; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  font-size: .8rem; letter-spacing: .03em; margin-bottom: .85rem;
}
.hero h1 {
  font-family: var(--font-d); font-weight: 600;
  font-size: clamp(2.35rem, 6vw, 4rem); line-height: 1.06; max-width: 14ch; margin-bottom: .7rem;
}
.hero h1 em { font-style: italic; color: var(--accent-soft); }
.hero .lead {
  font-size: clamp(1rem, 2vw, 1.18rem); max-width: 36ch; opacity: .95; margin-bottom: 1rem;
}
.price-pill {
  display: inline-flex; align-items: baseline; gap: .35rem;
  background: var(--accent-soft); color: var(--ink);
  padding: .5rem 1rem; border-radius: 999px; font-weight: 600; margin-bottom: 1rem;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 30%, transparent);
}
.price-pill strong { font-family: var(--font-d); font-size: 1.45rem; }
.price-pill small { font-weight: 400; font-size: .82rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: .9rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .45rem 1rem; font-size: .9rem; opacity: .92; }

/* Sections */
section.block { padding: 4.25rem 0; }
.eyebrow {
  display: inline-block; font-size: .76rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .5rem;
}
.h2 {
  font-family: var(--font-d); font-size: clamp(1.85rem, 3.8vw, 2.6rem);
  font-weight: 600; color: var(--green2); line-height: 1.15; margin-bottom: .6rem;
}
.sub { color: var(--muted); font-size: 1.04rem; max-width: 52ch; }
.center { text-align: center; }
.head { margin-bottom: 2.25rem; }
.head.center { margin-left: auto; margin-right: auto; max-width: 640px; }
.soft { background: #fff; }
.cream { background: var(--cream); }
.cream2 { background: var(--cream2); }
.deep {
  background: linear-gradient(145deg, var(--green2) 0%, color-mix(in srgb, var(--accent-deep) 35%, var(--green2)) 100%);
  color: var(--cream);
}
.deep .h2 { color: var(--cream); }
.deep .sub { color: rgba(250, 247, 242, 0.72); }
.deep .eyebrow { color: var(--accent-soft); }

.grid2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.4rem; align-items: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.quote {
  font-family: var(--font-d); font-size: clamp(1.25rem, 2.3vw, 1.6rem);
  font-style: italic; color: var(--green2); line-height: 1.4; margin-bottom: 1rem;
}
.prose p { color: var(--ink2); margin-bottom: .95rem; font-size: 1.02rem; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.15rem; }
.tag {
  padding: .28rem .7rem; background: var(--accent-tint); color: var(--accent-deep);
  border-radius: 999px; font-size: .8rem;
}

.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.photo-stack figure {
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--sand);
}
.photo-stack img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.photo-stack figure:first-child { grid-row: span 2; }
.photo-stack figure:first-child img { aspect-ratio: auto; min-height: 100%; }

.mini {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r); padding: 1.4rem 1.25rem; transition: .25s;
}
.mini:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.mini h3 { font-family: var(--font-d); font-size: 1.25rem; color: #fff; margin: .45rem 0 .35rem; }
.mini p { color: rgba(250,247,242,.78); font-size: .92rem; }
.mini .ic { font-size: 1.5rem; }

/* Slider */
.slider {
  position: relative; border-radius: calc(var(--r) + 4px); overflow: hidden;
  background: #111; box-shadow: var(--shadow); aspect-ratio: 4/5; max-height: 70vh;
}
.slider-track {
  display: flex; height: 100%;
  transition: transform .55s cubic-bezier(.22,.8,.28,1);
}
.slider-slide { min-width: 100%; height: 100%; position: relative; }
.slider-slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-slide .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1.15rem 1rem;
  background: linear-gradient(transparent, rgba(20,14,10,.8));
  color: #fff; font-size: .92rem;
}
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.93); color: var(--ink);
  display: grid; place-items: center; font-size: 1.25rem; z-index: 3;
  box-shadow: var(--shadow-sm);
}
.slider-btn.prev { left: .7rem; }
.slider-btn.next { right: .7rem; }
.slider-dots {
  position: absolute; bottom: .8rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .35rem; z-index: 3;
}
.slider-dots button {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45);
}
.slider-dots button.on { background: #fff; width: 20px; border-radius: 999px; }

.room-side {
  background: #fff; border-radius: calc(var(--r) + 4px); padding: 1.65rem;
  box-shadow: var(--shadow); border: 1px solid rgba(26,20,16,.05);
  position: sticky; top: calc(var(--nav) + .75rem);
}
.room-side h2 { font-family: var(--font-d); font-size: 1.75rem; color: var(--green2); }
.room-side .price {
  font-family: var(--font-d); font-size: 2rem; font-weight: 700;
  color: var(--accent); margin: .45rem 0 .2rem;
}
.room-side .price span { font-family: var(--font-b); font-size: .92rem; font-weight: 400; color: var(--muted); }
.room-side .lede { color: var(--ink2); font-size: .94rem; margin-bottom: .95rem; }
.amenity { display: grid; gap: .4rem; margin-bottom: 1.15rem; }
.amenity li {
  display: flex; gap: .5rem; align-items: center; color: var(--ink2); font-size: .92rem;
}
.amenity li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0;
}
.note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: .7rem; }

.window-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: 1.4rem; }
.window-strip figure {
  border-radius: var(--rs); overflow: hidden; position: relative;
  box-shadow: var(--shadow-sm); aspect-ratio: 3/4; background: var(--sand);
}
.window-strip img { width: 100%; height: 100%; object-fit: cover; }
.window-strip figcaption {
  position: absolute; inset: auto 0 0; padding: 1.4rem .65rem .5rem;
  background: linear-gradient(transparent, rgba(20,14,10,.72)); color: #fff; font-size: .78rem;
}

/* Explore cards */
.explore-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.explore-card {
  display: grid; grid-template-rows: 200px 1fr; background: #fff;
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,20,16,.05); transition: .25s;
}
.explore-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.explore-card .pic { overflow: hidden; background: var(--sand); }
.explore-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.explore-card:hover .pic img { transform: scale(1.04); }
.explore-card .body { padding: 1.1rem 1.2rem 1.3rem; }
.explore-card h3 {
  font-family: var(--font-d);
  font-size: clamp(1.05rem, 2.6vw, 1.28rem);
  line-height: 1.25;
  color: var(--green2);
  margin-bottom: .3rem;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  hyphens: auto;
}
.explore-card p { color: var(--ink2); font-size: .91rem; margin-bottom: .65rem; }
.explore-card .links { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  display: inline-flex; padding: .28rem .65rem; border-radius: 999px;
  background: var(--cream2); color: var(--accent-deep); font-size: .76rem; font-weight: 500;
}
.chip.maps { background: var(--accent-tint); color: var(--accent-deep); }

.food-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: .7rem; }
.food-grid figure {
  border-radius: var(--rs); overflow: hidden; background: var(--sand);
  box-shadow: var(--shadow-sm); aspect-ratio: 1;
}
.food-grid img { width: 100%; height: 100%; object-fit: cover; }
.food-grid figcaption {
  font-size: .76rem; padding: .4rem .45rem .5rem; color: var(--ink2); background: #fff; text-align: center;
}

.timeline { display: grid; gap: 1rem; max-width: 680px; margin: 0 auto; }
.tl-item {
  display: grid; grid-template-columns: 88px 1fr; gap: 1rem;
  padding: 1.05rem 1.2rem; background: #fff; border-radius: var(--r);
  border-left: 3px solid var(--accent); box-shadow: var(--shadow-sm);
}
.tl-item .yr { font-family: var(--font-d); font-weight: 600; color: var(--accent); }
.tl-item h3 { font-family: var(--font-d); font-size: 1.15rem; color: var(--green2); margin-bottom: .2rem; }
.tl-item p { color: var(--ink2); font-size: .92rem; }

.video-box {
  border-radius: calc(var(--r) + 4px); overflow: hidden; box-shadow: var(--shadow);
  background: #000; aspect-ratio: 16/9; max-width: 900px; margin: 0 auto;
}
.video-box video { width: 100%; height: 100%; object-fit: cover; }

.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: start; }
.info-block {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r); padding: 1.15rem 1.3rem; margin-bottom: .85rem;
}
.info-block h3 { font-family: var(--font-d); color: var(--accent-soft); font-size: 1.15rem; margin-bottom: .3rem; }
.info-block p, .info-block li { color: rgba(250,247,242,.88); font-size: .93rem; }
.info-block a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 2px; }
.book-card {
  background: var(--cream); color: var(--ink); border-radius: calc(var(--r) + 4px);
  padding: 1.65rem; box-shadow: var(--shadow);
}
.book-card h2 { font-family: var(--font-d); font-size: 1.65rem; color: var(--green2); margin-bottom: .3rem; }
.book-form { display: grid; gap: .7rem; margin-top: .95rem; }
.book-form label { display: grid; gap: .22rem; font-size: .8rem; font-weight: 500; color: var(--ink2); }
.book-form input, .book-form select, .book-form textarea {
  padding: .68rem .8rem; border: 1.5px solid rgba(26,20,16,.12); border-radius: var(--rs);
  font: inherit; background: #fff;
}
.book-form input:focus, .book-form select:focus, .book-form textarea:focus {
  outline: none; border-color: var(--accent);
}
.book-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.form-status { font-size: .86rem; color: var(--green); min-height: 1.2em; }

.faq-list { max-width: 700px; margin: 0 auto; display: grid; gap: .5rem; }
.faq-item {
  background: #fff; border-radius: var(--rs); border: 1px solid rgba(26,20,16,.07); overflow: hidden;
}
.faq-item summary {
  padding: .9rem 1.1rem; font-weight: 500; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem; color: var(--green2);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.15rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 1.1rem 1rem; color: var(--ink2); font-size: .93rem; }
.faq-item a { color: var(--accent); text-decoration: underline; }

/* Page hero */
.page-hero {
  padding: calc(var(--nav) + 2.25rem) 0 1.85rem;
  background:
    radial-gradient(ellipse at top right, var(--accent-tint), transparent 55%),
    var(--cream);
}
.page-hero h1 {
  font-family: var(--font-d); font-size: clamp(1.95rem, 4.2vw, 2.85rem);
  color: var(--green2); line-height: 1.12; margin-bottom: .55rem;
}
.page-hero .lead { color: var(--ink2); font-size: 1.08rem; max-width: 48ch; }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: .65rem; }
.crumbs a { color: var(--accent); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.blog-card {
  background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,20,16,.05); display: flex; flex-direction: column; transition: .25s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--sand); }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .body { padding: 1.1rem 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.blog-card .meta { font-size: .74rem; color: var(--muted); margin-bottom: .35rem; }
.blog-card h3 {
  font-family: var(--font-d); font-size: 1.22rem; color: var(--green2);
  margin-bottom: .35rem; line-height: 1.25;
}
.blog-card p { color: var(--ink2); font-size: .9rem; flex: 1; }
.blog-card .read { margin-top: .8rem; color: var(--accent); font-weight: 500; font-size: .87rem; }

.article { max-width: 700px; margin: 0 auto; padding-bottom: 3rem; }
.article h2 { font-family: var(--font-d); font-size: 1.5rem; color: var(--green2); margin: 1.7rem 0 .55rem; }
.article h3 { font-family: var(--font-d); font-size: 1.22rem; color: var(--green); margin: 1.2rem 0 .35rem; }
.article p, .article li { color: var(--ink2); margin-bottom: .85rem; font-size: 1.04rem; line-height: 1.75; }
.article ul, .article ol { margin: 0 0 1rem 1.15rem; list-style: disc; }
.article ol { list-style: decimal; }
.article img { border-radius: var(--r); margin: 1.15rem 0; box-shadow: var(--shadow-sm); width: 100%; }
.article blockquote {
  border-left: 3px solid var(--accent); padding: .4rem 0 .4rem 1.05rem; margin: 1.2rem 0;
  font-family: var(--font-d); font-size: 1.22rem; font-style: italic; color: var(--green2);
}
.article .cta-box {
  background: var(--cream2); border-radius: var(--r); padding: 1.3rem; margin: 1.6rem 0;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}
.article a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.footer { background: var(--ink); color: rgba(250,247,242,.72); padding: 2.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1.6rem; margin-bottom: 1.5rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: .55rem; }
.footer-brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.footer-brand span { font-family: var(--font-d); font-size: 1.25rem; color: var(--cream); font-weight: 600; }
.footer h4 { font-family: var(--font-d); color: var(--cream); margin-bottom: .5rem; }
.footer a { display: block; padding: .18rem 0; font-size: .9rem; }
.footer a:hover { color: var(--accent-soft); }
.footer-bot {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: .9rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .78rem;
}

.heart-div { text-align: center; color: var(--accent-soft); font-size: 1.15rem; padding: .4rem 0; opacity: .75; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .grid2, .book-grid, .footer-grid { grid-template-columns: 1fr; }
  .grid3, .blog-grid { grid-template-columns: 1fr; }
  .window-strip { grid-template-columns: 1fr 1fr; }
  .room-side { position: static; }
  .photo-stack figure:first-child { grid-row: auto; }
  .explore-list { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; inset: var(--nav) 0 auto; background: var(--cream);
    flex-direction: column; align-items: stretch; padding: .85rem;
    border-bottom: 1px solid rgba(26,20,16,.08); box-shadow: var(--shadow);
    transform: translateY(-120%); opacity: 0; pointer-events: none; transition: .3s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .75rem 1rem; border-radius: var(--rs); }
  .nav-links .cta { margin-left: 0; text-align: center; }
  .nav-toggle { display: flex; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .book-form .row { grid-template-columns: 1fr; }
  .day-chip { display: none !important; }
}
@media (max-width: 560px) {
  section.block { padding: 3.1rem 0; }
  .window-strip { grid-template-columns: 1fr; }
  .slider { aspect-ratio: 3/4; max-height: none; }
  .tl-item { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .slider-track { transition: none; }
}

/* ===== Media player (video) ===== */
.media-player {
  max-width: 880px;
  margin: 0 auto;
  background: #0f0c0a;
  border-radius: calc(var(--r) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.06);
}
.media-frame {
  position: relative;
  background: #000;
  /* original phone tour is 9:16 — keep true aspect, never stretch */
  aspect-ratio: 9 / 16;
  width: min(100%, 420px);
  max-height: min(78vh, 760px);
  margin: 0 auto;
}
@media (min-width: 900px) {
  .media-frame {
    width: min(100%, 480px);
    max-height: min(80vh, 820px);
  }
}
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* letterbox if needed, never crop/stretch */
  object-position: center center;
  background: #000;
  display: block;
}
.media-bigplay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  background: rgba(15,12,10,.28);
  color: #fff;
  transition: opacity .25s, background .25s;
  z-index: 2;
}
.media-bigplay.is-hidden { opacity: 0; pointer-events: none; }
.media-bigplay-icon {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent);
  font-size: 1.4rem;
  box-shadow: 0 8px 28px color-mix(in srgb, var(--accent) 45%, transparent);
  padding-left: 4px;
}
.media-bigplay-label {
  font-size: .92rem; font-weight: 500; letter-spacing: .03em;
  background: rgba(0,0,0,.35); padding: .35rem .85rem; border-radius: 999px;
}
.media-bar {
  display: flex; align-items: center; gap: .55rem;
  padding: .7rem .85rem .85rem;
  background: linear-gradient(180deg, #1a1512, #0f0c0a);
  color: #fff;
}
.media-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.1);
  color: #fff; font-size: .85rem; flex-shrink: 0;
}
.media-btn:hover { background: rgba(255,255,255,.18); }
.media-progress {
  flex: 1; height: 6px; border-radius: 999px;
  background: rgba(255,255,255,.15); cursor: pointer;
  position: relative; overflow: hidden;
}
.media-progress-fill {
  height: 100%; width: 0%;
  background: var(--accent);
  border-radius: 999px;
  transition: width .1s linear;
}
.media-time {
  font-size: .78rem; opacity: .85; min-width: 2.5rem; text-align: right;
  font-variant-numeric: tabular-nums;
}
.media-note {
  text-align: center; font-size: .78rem; color: rgba(255,255,255,.45);
  padding: 0 .85rem .85rem; background: #0f0c0a;
}

/* Audio card */
.audio-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.25rem;
  max-width: 880px; margin: 0 auto;
  padding: 1.5rem 1.6rem;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,20,16,.06);
}
.audio-card-text { flex: 1; min-width: 220px; }
.audio-card-controls { display: flex; align-items: center; gap: .75rem; }
.audio-card audio { display: none; }

/* Map teaser */
.map-teaser {
  border-radius: var(--r);
  overflow: hidden;
  background:
    linear-gradient(160deg, var(--accent-tint), transparent 55%),
    var(--cream2);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem 1.5rem;
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .85rem;
}
.map-teaser .pin {
  font-size: 2.4rem; line-height: 1;
}

/* ===== Pai Memories gallery ===== */
.memory-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: .65rem;
  margin-top: 1.5rem;
}
.memory-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  border: 0;
  padding: 0;
  display: block;
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
  transition: transform .35s cubic-bezier(.22,.8,.28,1), box-shadow .35s ease;
}
.memory-card:hover,
.memory-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  outline: none;
}
.memory-card:focus-visible {
  box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow);
}
.memory-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 3/4;
  transition: transform .55s cubic-bezier(.22,.8,.28,1);
}
.memory-card:hover img { transform: scale(1.04); }
.memory-card .mem-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem .9rem .75rem;
  background: linear-gradient(transparent, rgba(18,12,8,.82));
  color: #fff;
  font-size: .82rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.memory-card:hover .mem-cap,
.memory-card:focus-visible .mem-cap {
  opacity: 1;
  transform: none;
}
.memory-card .mem-tag {
  position: absolute;
  top: .55rem;
  left: .55rem;
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .22rem .55rem;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: var(--green2);
  font-weight: 500;
  backdrop-filter: blur(4px);
}
/* mosaic sizes */
.memory-card.span-4 { grid-column: span 4; }
.memory-card.span-3 { grid-column: span 3; }
.memory-card.span-6 { grid-column: span 6; }
.memory-card.span-8 { grid-column: span 8; }
.memory-card.tall img { aspect-ratio: 3/4; }
.memory-card.wide img { aspect-ratio: 4/3; }
.memory-card.hero-mem img { aspect-ratio: 16/11; }

.memory-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .65rem;
  margin-top: 1.4rem;
}
.memory-strip .memory-card img { aspect-ratio: 3/4; }

/* Lightbox */
.lb-root {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(10, 8, 6, .88);
  backdrop-filter: blur(8px);
}
.lb-root.open { display: flex; }
.lb-root[hidden] { display: none !important; }
.lb-inner {
  position: relative;
  max-width: min(920px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.lb-inner img {
  max-width: 100%;
  max-height: min(78vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  background: #1a1410;
}
.lb-cap {
  color: rgba(255,255,255,.92);
  text-align: center;
  font-size: .95rem;
  max-width: 36rem;
  line-height: 1.45;
}
.lb-close, .lb-nav {
  position: absolute;
  border: 0;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.lb-close { top: .5rem; right: .5rem; position: fixed; }
.lb-nav.prev { left: max(.5rem, calc(50% - 480px)); top: 50%; transform: translateY(-50%); position: fixed; }
.lb-nav.next { right: max(.5rem, calc(50% - 480px)); top: 50%; transform: translateY(-50%); position: fixed; }
.lb-count {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  letter-spacing: .04em;
}
body.lb-open { overflow: hidden; }

@media (max-width: 900px) {
  .memory-gallery { grid-template-columns: repeat(6, 1fr); }
  .memory-card.span-4, .memory-card.span-3, .memory-card.span-6, .memory-card.span-8 {
    grid-column: span 3;
  }
  .memory-card.hero-mem { grid-column: span 6; }
  .memory-strip { grid-template-columns: repeat(2, 1fr); }
  .lb-nav.prev { left: .5rem; }
  .lb-nav.next { right: .5rem; }
}
@media (max-width: 560px) {
  .memory-gallery { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .memory-card.span-4, .memory-card.span-3, .memory-card.span-6, .memory-card.span-8,
  .memory-card.hero-mem {
    grid-column: span 1;
  }
  .memory-card.hero-mem { grid-column: span 2; }
  .memory-card .mem-cap { opacity: 1; transform: none; font-size: .72rem; padding: 1.6rem .55rem .55rem; }
  .memory-card .mem-tag { font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .memory-card, .memory-card img { transition: none; }
}
