
/* ============================================================
   Krung Travel — #/memoir
   Namespaced .kt-* ; page-scoped via body.is-krung.
   Does NOT touch global :root tokens.
   ============================================================ */
body.is-krung { background: #f7d9c6; }
body.is-krung .site-footer, body.is-krung .grain { display: none !important; }
body.is-krung .kt-nav { display: none !important; }
body.is-krung .kt-back { display: none !important; }
body.is-krung .site-main { max-width: none; padding: 0; margin: 0; }
body.is-krung { overflow-x: clip; }

.kt-root {
  --kt-peach: #f7d9c6;
  --kt-peach-2: #fbe7da;
  --kt-peach-3: #fdf0e7;
  --kt-ink: #1d1a1c;
  --kt-muted: #5c5156;
  --kt-light: #8a7f83;
  --kt-orange: #f39419;
  --kt-star: #f7c325;
  --kt-red: #ff4d5e;
  --kt-ease: cubic-bezier(.65,0,.35,1);
  --kt-out: cubic-bezier(.16,1,.3,1);
  --kt-pad: clamp(20px, 9.5vw, 170px);
  position: relative;
  min-height: 100vh;
  background: var(--kt-peach);
  color: var(--kt-ink);
  font-family: "Urbanist", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
.kt-root a, .kt-root button, .kt-root input { cursor: none; }
.kt-root * { box-sizing: border-box; }

.kt-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, #f7d9c6 0, #f7d9c6 115vh, #fbe7da 175vh, #fdf0e7 100%); }

/* ---------- cursor ---------- */
.kt-cursor { position: fixed; left: 0; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px;
  border-radius: 50%; background: rgba(72,62,68,.55); pointer-events: none; z-index: 9999;
  transition: width .25s var(--kt-out), height .25s var(--kt-out), margin .25s var(--kt-out),
              background .25s var(--kt-out), border .25s var(--kt-out);
  will-change: transform; mix-blend-mode: normal; }
.kt-root.is-hovering .kt-cursor { width: 38px; height: 38px; margin: -19px 0 0 -19px; background: rgba(72,62,68,.35); }
.kt-root.is-pressing .kt-cursor { width: 44px; height: 44px; margin: -22px 0 0 -22px;
  background: transparent; border: 5px solid rgba(20,16,18,.9); }
.kt-root.is-rec .kt-cursor { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
.kt-root.is-rec.is-hovering .kt-cursor { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
.kt-root.is-rec.is-pressing .kt-cursor { width: 62px; height: 62px; margin: -31px 0 0 -31px; border-width: 7px; }

/* ---------- nav ---------- */
.kt-nav { position: fixed; inset: 0 0 auto 0; height: 74px; z-index: 95;
  display: flex; align-items: center; gap: 0; padding: 0 var(--kt-pad);
  color: rgba(255,255,255,.92); border-bottom: 1px solid rgba(255,255,255,.28);
  background: transparent; border-radius: 0;
  transition: background .5s var(--kt-ease), color .5s var(--kt-ease), border-color .5s var(--kt-ease); }
.kt-nav.is-solid { background: rgba(247,217,198,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--kt-ink); border-bottom-color: rgba(29,26,28,.08); }
.kt-logo { font-weight: 300; font-size: 26px; letter-spacing: -.01em; background: none; border: 0; color: inherit; padding: 0; }
.kt-divider { width: 1px; height: 42px; background: currentColor; opacity: .45; margin: 0 28px; }
.kt-visitors { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: inherit; background: none; border: 0; padding: 0; opacity: .92; }
.kt-visitors svg { opacity: .8; }
.kt-links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 44px; }
.kt-link { position: relative; font-size: 14.5px; color: inherit; text-decoration: none; padding: 4px 0; }
.kt-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--kt-out); }
.kt-link:hover::after { transform: scaleX(1); }
.kt-nav-right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.kt-host { font-size: 14px; color: inherit; text-decoration: none; }
.kt-globe { display: inline-flex; background: none; border: 0; color: inherit; padding: 0; opacity: .95; }
.kt-pill { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px 0 16px;
  border: 1.5px solid currentColor; border-radius: 9px; background: none; color: inherit; }
.kt-pill .kt-burger { display: inline-flex; flex-direction: column; gap: 4px; }
.kt-pill .kt-burger i { display: block; width: 16px; height: 1.5px; background: currentColor; }
.kt-pill .kt-avatar { width: 22px; height: 22px; border-radius: 50%; background: currentColor; display: grid; place-items: center; }
.kt-pill .kt-avatar svg { width: 12px; height: 12px; }

/* ---------- hero ---------- */
.kt-hero { position: relative; height: calc(100svh - var(--kt-hdr, 74px)); min-height: 620px; overflow: hidden; z-index: 1; }
.kt-slides { position: absolute; inset: 0; }
.kt-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; will-change: transform; }
.kt-slide.is-live { opacity: 1; z-index: 2; pointer-events: auto; }
.kt-slide.is-incoming { opacity: 1; z-index: 3; }
.kt-photo { position: absolute; inset: -3%; background-size: cover; background-position: center 62%; transform: scale(1.04); will-change: transform; }
.kt-slide[data-i="1"] .kt-photo { background-position: center 55%; }
.kt-slide[data-i="2"] .kt-photo { background-position: center 40%; }
.kt-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(84,64,74,.42) 0%, rgba(84,64,74,.08) 26%, transparent 46%); }
@keyframes kt-rise { to { transform: translateY(0); } }

/* clouds */
.kt-clouds { position: absolute; left: -4%; right: -4%; pointer-events: none; mix-blend-mode: screen; }
.kt-clouds--bottom { bottom: -6%; height: 78%; z-index: 7; }
.kt-clouds--bottom i { position: absolute; inset: 0; background-size: cover; background-position: center bottom;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 38%); mask-image: linear-gradient(180deg, transparent 0%, #000 38%); }
.kt-clouds--bottom i:nth-child(1) { animation: kt-drift-a 26s ease-in-out infinite alternate; }
.kt-clouds--bottom i:nth-child(2) { transform: scaleX(-1); opacity: .85; animation: kt-drift-b 34s ease-in-out infinite alternate; }
@keyframes kt-drift-a { from { transform: translateX(-2.5%); } to { transform: translateX(2.5%); } }
@keyframes kt-drift-b { from { transform: scaleX(-1) translateX(-3%) translateY(0); } to { transform: scaleX(-1) translateX(3%) translateY(-4%); } }
.kt-clouds--top { top: -30%; height: 80%; opacity: 0; z-index: 6; }
.kt-clouds--top i { position: absolute; inset: 0; background-size: cover; background-position: center top; transform: scaleY(-1);
  -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 55%); mask-image: linear-gradient(0deg, transparent 0%, #000 55%); }
.kt-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 8; pointer-events: none;
  background: linear-gradient(180deg, rgba(247,217,198,0) 0%, rgba(247,217,198,.45) 45%, rgba(247,217,198,.92) 82%, #f7d9c6 100%); }

/* rail */
.kt-rail { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 20; pointer-events: none; }
.kt-ring { position: absolute; border: 1.6px solid rgba(255,255,255,.5); border-radius: 50%; pointer-events: none;
  transform: translate(-50%,-50%); opacity: 0; transition: opacity .8s var(--kt-out), left .9s var(--kt-ease), top .9s var(--kt-ease), width .9s var(--kt-ease), height .9s var(--kt-ease); }
.kt-root.is-entered .kt-ring { opacity: 1; }
.kt-thumb { position: absolute; border-radius: 50%; overflow: hidden; border: 3px solid rgba(255,255,255,.92);
  box-shadow: 0 10px 26px rgba(60,30,30,.28); padding: 0; background: #d9b7a7 center/cover no-repeat; pointer-events: auto;
  transform: translate(-50%,-50%) scale(0); transition: width .34s var(--kt-out), height .34s var(--kt-out),
    left .34s var(--kt-out), top .34s var(--kt-out), box-shadow .3s var(--kt-ease), border-color .3s; }
.kt-root.is-entered .kt-thumb { transform: translate(-50%,-50%) scale(1); }
.kt-thumb::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 9px solid rgba(255,255,255,.55);
  opacity: 0; transition: opacity .5s; pointer-events: none; }
.kt-thumb.is-lit::after { opacity: 1; }
.kt-thumb:hover { transform: translate(-50%,-50%) scale(1.07); box-shadow: 0 16px 34px rgba(50,20,20,.4); }
.kt-connector { position: absolute; height: 3px; border-radius: 3px; background: #fff; transform-origin: right center;
  transform: translateY(-50%) scaleX(0); transition: left .34s var(--kt-out), top .34s var(--kt-out), transform .4s var(--kt-out); opacity: 0; }
.kt-root.is-entered .kt-connector { opacity: 1; }
.kt-cap { position: absolute; text-align: right; color: #fff; max-width: 250px; transform: translateY(-50%);
  transition: left .9s var(--kt-ease), top .9s var(--kt-ease), opacity .4s; }
.kt-cap-bar { position: absolute; right: calc(100% + 16px); top: 50%; width: 3px; transform: translateY(-50%) scaleY(0);
  background: #fff; transform-origin: top center; transition: transform .6s var(--kt-out); }
.kt-cap h2 { margin: 0 0 6px; font-weight: 300; font-size: clamp(26px, 2.75vw, 40px); line-height: 1.05; text-shadow: 0 1px 2px rgba(50,15,15,.45), 0 10px 34px rgba(50,15,15,.5); }
.kt-cap p { margin: 0; font-size: clamp(12px, 1vw, 14.5px); line-height: 1.45; opacity: .88; text-shadow: 0 1px 10px rgba(60,20,20,.3); }
.kt-cap.is-hidden { opacity: 0; }
.kt-cap.is-shown .kt-cap-bar { transform: translateY(-50%) scaleY(1); }
.kt-cap.is-shown h2, .kt-cap.is-shown p { animation: kt-clip .46s var(--kt-out) forwards; }
@keyframes kt-clip { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }

.kt-mist-band { position: absolute; top: 0; bottom: 0; width: 34vw; z-index: 12; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(255,236,226,.75), rgba(255,236,226,0) 70%); filter: blur(10px); }

/* search */
.kt-search { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(20vh + 2px); z-index: 40;
  width: min(900px, 100% - 40px); height: 90px; border-radius: 26px; background: rgba(255,255,255,.93);
  box-shadow: 0 18px 60px rgba(120,70,60,.16); display: flex; align-items: center; gap: 6px; padding: 9px 10px 9px 16px;
  opacity: 0; translate: 0 30px; transition: opacity 1s var(--kt-out), translate 1s var(--kt-out); }
.kt-root.is-entered .kt-search { opacity: 1; translate: 0 0; }
.kt-field { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 0 14px;
  height: 60px; border-radius: 14px; background: transparent; border: 0; text-align: left;
  transition: background .3s, box-shadow .3s, height .3s; }
.kt-field--wide { flex: 1.35 1 0; }
.kt-field:hover, .kt-field.is-active { background: #fff; height: 72px; box-shadow: 0 8px 24px rgba(120,80,70,.14); }
.kt-field svg { flex: none; opacity: .55; }
.kt-field .kt-fl { display: block; font-size: 21px; font-weight: 500; line-height: 1.1; color: var(--kt-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kt-field .kt-fs { display: block; margin-top: 3px; font-size: 13px; color: var(--kt-light); white-space: nowrap; }
.kt-send { flex: none; width: 40px; height: 40px; border-radius: 11px; border: 0; background: #111; color: #fff;
  display: grid; place-items: center; margin-left: 6px; transition: transform .3s var(--kt-out); }
.kt-send:hover { transform: scale(1.1) rotate(-8deg); }

.kt-pop { position: absolute; z-index: 60; background: #fff; border-radius: 18px; box-shadow: 0 26px 70px rgba(90,50,40,.24);
  padding: 16px 16px 12px; opacity: 0; translate: 0 -8px; pointer-events: none; transition: opacity .3s, translate .3s; }
.kt-pop.is-open { opacity: 1; translate: 0 0; pointer-events: auto; }
.kt-pop-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-weight: 600; font-size: 15px; }
.kt-pop-head button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: #f4ece8; display: grid; place-items: center; }
.kt-cal { display: grid; grid-template-columns: repeat(7, 34px); gap: 2px; }
.kt-cal span { font-size: 11px; color: var(--kt-light); text-align: center; padding: 4px 0; }
.kt-cal button { width: 34px; height: 34px; border: 0; background: none; border-radius: 10px; font-size: 14px;
  color: var(--kt-ink); display: grid; place-items: center; }
.kt-cal button.is-mute { color: #c9bfc2; }
.kt-cal button.is-edge { background: #111; color: #fff; }
.kt-cal button.is-band { background: #fdeadd; border-radius: 0; }
.kt-cal button.is-band-start { border-radius: 10px 0 0 10px; }
.kt-cal button.is-band-end { border-radius: 0 10px 10px 0; }
.kt-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 2px; min-width: 260px; }
.kt-row p { margin: 0; }
.kt-row b { display: block; font-weight: 600; font-size: 15px; }
.kt-row span { font-size: 12.5px; color: var(--kt-light); }
.kt-stepper { display: flex; align-items: center; gap: 12px; }
.kt-stepper button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #e3d6cf; background: #fff; font-size: 16px; line-height: 1; }
.kt-stepper em { font-style: normal; min-width: 14px; text-align: center; font-weight: 600; }

/* stays */
.kt-stays { position: relative; z-index: 30; margin-top: -17vh; padding: 0 var(--kt-pad) 90px; }
.kt-stays-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.kt-stays h2 { font-family: "Gilda Display", Georgia, serif; font-weight: 400; font-size: clamp(26px, 2.45vw, 36px); margin: 0; letter-spacing: .01em; }
.kt-seeall { white-space: nowrap; border: 1.4px solid var(--kt-ink); border-radius: 20px; background: none; color: var(--kt-ink);
  padding: 9px 20px; font-size: 13.5px; transition: background .3s, color .3s; }
.kt-seeall:hover { background: var(--kt-ink); color: #fff; }
.kt-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(14px, 2.2vw, 30px); }
.kt-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 203/268; background: #e8cbbb;
  box-shadow: 0 12px 30px rgba(110,60,50,.16); opacity: 0; translate: 0 40px;
  transition: translate .8s var(--kt-out), opacity .8s var(--kt-out), box-shadow .5s, transform .5s var(--kt-out); }
.kt-card.is-in { opacity: 1; translate: 0 0; }
.kt-card:hover { transform: translateY(-6px); box-shadow: 0 24px 46px rgba(90,45,35,.26); }
.kt-card .kt-card-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.2s var(--kt-ease); }
.kt-card:hover .kt-card-img { transform: scale(1.07); }
.kt-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(20,10,10,.28) 72%, rgba(15,8,8,.78) 100%); }
.kt-card > * { position: relative; z-index: 2; }
.kt-price { position: absolute; left: 10px; top: 10px; z-index: 3; background: rgba(255,255,255,.82); backdrop-filter: blur(6px);
  border-radius: 6px; padding: 4px 8px; font-size: 11.5px; font-weight: 600; }
.kt-price i { font-style: normal; opacity: .6; font-weight: 500; }
.kt-heart { position: absolute; right: 10px; top: 10px; z-index: 3; width: 30px; height: 30px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); display: grid; place-items: center; transition: transform .25s var(--kt-out); }
.kt-heart svg { width: 15px; height: 15px; fill: none; stroke: #4a4045; stroke-width: 1.8; }
.kt-heart.is-on svg { fill: var(--kt-red); stroke: var(--kt-red); }
.kt-heart.is-on { transform: scale(1.35); }
.kt-card-meta { position: absolute; left: 12px; right: 12px; bottom: 11px; z-index: 3; color: #fff; }
.kt-card-meta h3 { margin: 0 0 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15.5px; font-weight: 600; letter-spacing: .01em; }
.kt-card-meta .kt-area { display: flex; align-items: center; gap: 5px; font-size: 11.5px; opacity: .9; }
.kt-stars { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; font-size: 11.5px; }
.kt-meta-row { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.kt-star-ico { width: 10px; height: 10px; fill: var(--kt-star); }

/* detail */
.kt-detail { position: fixed; inset: var(--kt-hdr, 74px) 0 0 0; z-index: 60; background: #fff; overflow-y: auto; opacity: 0; pointer-events: none;
  transition: opacity .55s var(--kt-ease); }
.kt-detail.is-open { opacity: 1; pointer-events: auto; }
.kt-detail-band { position: absolute; left: 0; right: 0; top: 0; height: 290px; background: var(--kt-peach); }
.kt-detail-inner { position: relative; max-width: 1320px; margin: 0 auto; padding: 108px var(--kt-pad) 80px; }
.kt-crumb { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--kt-ink); margin-bottom: 22px; flex-wrap: wrap; }
.kt-crumb span { opacity: .45; }
.kt-crumb b { font-weight: 500; color: var(--kt-muted); }
.kt-crumb button { background: none; border: 0; padding: 0; font: inherit; color: inherit; }
.kt-cols { display: grid; grid-template-columns: 1.18fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.kt-mainimg { position: relative; aspect-ratio: 512/445; border-radius: 10px; overflow: hidden; background: #ead0c3; }
.kt-mainimg .kt-mi { position: absolute; inset: 0; background-size: cover; background-position: center; }
.kt-thumbs3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.kt-thumbs3 div { position: relative; aspect-ratio: 1; border-radius: 10px; background-size: cover; background-position: center;
  transition: transform .35s var(--kt-out); }
.kt-thumbs3 div:hover { transform: translateY(-4px); }
.kt-plus9 { position: absolute; inset: 0; border-radius: 10px; background: rgba(20,12,14,.5); color: #fff; display: grid; place-items: center; font-size: 18px; }
.kt-title2 { font-family: "Gilda Display", Georgia, serif; font-weight: 400; font-size: clamp(28px, 3.2vw, 38px); margin: 0 0 10px; }
.kt-hostrow { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--kt-muted); }
.kt-hostrow img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.kt-about { margin-top: 26px; }
.kt-about h4 { font-family: "Gilda Display", Georgia, serif; font-weight: 400; font-size: 20px; margin: 0 0 10px; }
.kt-about p { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--kt-muted); }
.kt-book { margin-top: 26px; border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(120,70,60,.14); padding: 20px; }
.kt-book .kt-bprice { font-size: 26px; font-weight: 700; }
.kt-book .kt-bprice i { font-style: normal; font-size: 13px; font-weight: 500; color: var(--kt-light); }
.kt-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 12px; background: #f6f3f2; border-radius: 12px; padding: 12px; }
.kt-dates div span { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--kt-light); margin-bottom: 4px; }
.kt-dates div b { font-size: 14px; font-weight: 600; }
.kt-book-rows { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 14px; }
.kt-booknow { width: 100%; height: 48px; border: 0; border-radius: 24px; background: var(--kt-orange); color: #fff;
  font-size: 15px; font-weight: 600; transition: background .4s; }
.kt-booknow.is-done { background: #2f9e52; }
.kt-rate { display: flex; align-items: center; gap: 12px; margin: 24px 0; padding: 16px 0; border-top: 1px solid #eee6e3; border-bottom: 1px solid #eee6e3; flex-wrap: wrap; }
.kt-rate b { font-size: 17px; }
.kt-rate .kt-red-stars { display: inline-flex; gap: 2px; }
.kt-rate .kt-red-stars svg { width: 12px; height: 12px; fill: var(--kt-red); }
.kt-avs { display: flex; margin-left: auto; }
.kt-avs img { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; margin-left: -10px; }
.kt-ratebtn { border: 1.4px solid var(--kt-ink); border-radius: 20px; background: none; padding: 9px 18px; font-size: 13px; }
.kt-amen h4 { font-family: "Gilda Display", Georgia, serif; font-weight: 400; font-size: 20px; margin: 0 0 14px; }
.kt-amen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 12px; }
.kt-amen-grid div { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--kt-muted); }
.kt-amen-grid svg { width: 19px; height: 19px; stroke: var(--kt-ink); fill: none; stroke-width: 1.3; }
.kt-similar { margin-top: 70px; }
.kt-similar h3 { font-family: "Gilda Display", Georgia, serif; font-weight: 400; font-size: clamp(22px, 2vw, 30px); margin: 0 0 20px; }
.kt-similar .kt-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.kt-fly { position: fixed; z-index: 88; border-radius: 12px; overflow: hidden; background-size: cover; background-position: center; pointer-events: none; }

/* reveal helper */
.kt-rv { opacity: 0; translate: 0 26px; }
.kt-rv.is-in { opacity: 1; translate: 0 0; transition: opacity .7s var(--kt-out), translate .7s var(--kt-out); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .kt-links, .kt-host { display: none; }
  .kt-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kt-cols { grid-template-columns: 1fr; }
  .kt-similar .kt-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kt-thumb { }
}
@media (max-width: 640px) {
  .kt-nav { padding: 0 20px; gap: 0; }
  .kt-visitors, .kt-divider { display: none; }
  .kt-cap, .kt-connector { display: none; }
  .kt-search { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: auto; padding: 12px; bottom: 16vh; }
  .kt-field { height: 54px; }
  .kt-field:hover, .kt-field.is-active { height: 58px; }
  .kt-field .kt-fl { font-size: 16px; }
  .kt-field .kt-fs { font-size: 11px; }
  .kt-send { width: 100%; grid-column: 1 / -1; height: 46px; border-radius: 12px; }
  .kt-stays { margin-top: -8vh; padding-bottom: 60px; }
  .kt-detail-inner { padding-top: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  .kt-root *, .kt-root *::before, .kt-root *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

/* page wrapper reset for this route */
body.is-krung .page-view { padding: 0; max-width: none; margin: 0; }
body.is-krung .site-main { display: block; }


/* fixed layers need their own tokens (they live on <body>) */
.kt-detail, .kt-cursor, .kt-nav {
  --kt-peach: #f7d9c6;
  --kt-ink: #1d1a1c;
  --kt-muted: #5c5156;
  --kt-light: #8a7f83;
  --kt-orange: #f39419;
  --kt-star: #f7c325;
  --kt-red: #ff4d5e;
  --kt-ease: cubic-bezier(.65,0,.35,1);
  --kt-out: cubic-bezier(.16,1,.3,1);
  --kt-pad: clamp(20px, 9.5vw, 170px);
  font-family: "Urbanist", system-ui, sans-serif;
  color: var(--kt-ink);
}
.kt-detail a, .kt-detail button { cursor: none; }
body.is-krung:not(.kt-has-detail) .kt-detail { display: none; }


@media (max-width: 640px) {
  .kt-card-meta h3 { font-size: 13.5px; }
  .kt-card-meta .kt-area { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .kt-meta-row { display: none; }
  .kt-stays h2 { font-size: 24px; }
  .kt-seeall { padding: 8px 14px; font-size: 12px; }
  .kt-stays-head { align-items: flex-start; }
}


/* touch / no-precision pointers: hide the custom cursor */
@media (hover: none), (pointer: coarse) {
  .kt-cursor { display: none !important; }
  .kt-root, .kt-root a, .kt-root button { cursor: auto; }
}


/* back to site home */
.kt-back { position: fixed; z-index: 96; top: 88px; left: clamp(20px, 9.5vw, 170px);
  display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px 0 13px;
  border-radius: 999px; border: 1px solid rgba(29,26,28,.12);
  background: rgba(255,255,255,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #1d1a1c; font-size: 13px; box-shadow: 0 6px 22px rgba(60,30,20,.18); letter-spacing: .02em; text-decoration: none;
  transition: background .35s var(--kt-ease), color .35s var(--kt-ease), border-color .35s var(--kt-ease), transform .25s var(--kt-out); }
.kt-back:hover { transform: translateX(-2px); background: #fff; }
.kt-back svg { width: 14px; height: 14px; }
.kt-back.is-solid { background: rgba(255,255,255,.92); }
body.kt-has-detail .kt-back { display: none; }
@media (max-width: 640px) {
  .kt-back { top: 78px; left: 14px; height: 32px; padding: 0 12px 0 9px; font-size: 11.5px; }
}

/* ============================================================
   DARK SKIN — 作品探索融入站體（#080A10 / paper / acid）
   ============================================================ */
body.is-krung { background: #080a10; }

.kt-root {
  --kt-peach: #080a10;
  --kt-peach-2: #0a0d13;
  --kt-peach-3: #0c0f16;
  --kt-ink: #f4f0e5;
  --kt-muted: #c4bfb2;
  --kt-light: #8f8b81;
  --kt-orange: #c8f542;
  --kt-star: #f7c325;
  --kt-red: #ff7a7a;
  --kt-hair: rgba(244, 240, 229, 0.10);
  --kt-hair-2: rgba(244, 240, 229, 0.20);
  --kt-glass: rgba(12, 15, 22, 0.72);
  background: #080a10;
  color: var(--kt-ink);
}

.kt-bg {
  background:
    radial-gradient(90% 60% at 78% 0%, rgba(200, 245, 66, 0.05), transparent 62%),
    linear-gradient(180deg, #080a10 0, #080a10 115vh, #0a0d13 175vh, #0c0f16 100%);
}

/* hero chrome over photos */
.kt-fade { background: linear-gradient(180deg, rgba(8, 10, 16, 0) 0%, rgba(8, 10, 16, 0.35) 62%, #080a10 100%); }
.kt-ring { border-color: rgba(244, 240, 229, 0.20); }
.kt-thumb { border-color: rgba(244, 240, 229, 0.88); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45); }
.kt-thumb::after { border-color: rgba(244, 240, 229, 0.26); }
.kt-connector, .kt-cap-bar { background: rgba(244, 240, 229, 0.72); }
.kt-cap { color: #f4f0e5; }
.kt-cap h2 { color: #f4f0e5; }
.kt-cap p { color: rgba(244, 240, 229, 0.78); }
.kt-index { color: rgba(244, 240, 229, 0.72); }
.kt-index b { color: #f4f0e5; }
.kt-scroll { color: rgba(244, 240, 229, 0.55); }

/* search bar */
.kt-search { background: var(--kt-glass); border: 1px solid var(--kt-hair); box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45); }
.kt-field { color: var(--kt-ink); }
.kt-field:hover, .kt-field.is-active { background: rgba(244, 240, 229, 0.07); box-shadow: none; }
.kt-fs { color: var(--kt-light); }
.kt-fv { color: var(--kt-ink); }
.kt-send { background: var(--kt-orange); color: #0b0d10; }
.kt-send svg { stroke: #0b0d10; }

/* popovers */
.kt-pop { background: #0c0f16; color: var(--kt-ink); border: 1px solid var(--kt-hair); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.kt-cal button { color: var(--kt-ink); }
.kt-cal button.is-mute { color: #5b5850; }
.kt-cal button:hover { background: rgba(244, 240, 229, 0.08); }
.kt-cal button.is-range { background: rgba(200, 245, 66, 0.16); color: #f4f0e5; }
.kt-cal button.is-edge, .kt-cal button.is-on { background: var(--kt-orange); color: #0b0d10; }
.kt-cal .kt-dow { color: var(--kt-light); }
.kt-stepper button { border-color: var(--kt-hair-2); background: transparent; color: var(--kt-ink); }
.kt-stepper button:hover { background: rgba(244, 240, 229, 0.08); }

/* stays */
.kt-stays h2 { color: var(--kt-ink); }
.kt-seeall { border-color: var(--kt-hair-2); color: var(--kt-ink); }
.kt-seeall:hover { background: var(--kt-orange); color: #0b0d10; border-color: var(--kt-orange); }
.kt-card { background: #0c0f16; border: 1px solid rgba(244, 240, 229, 0.07); }
.kt-card::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(5, 6, 9, 0.42) 70%, rgba(5, 6, 9, 0.9) 100%); }
.kt-price { background: rgba(8, 10, 16, 0.62); color: #f4f0e5; border: 1px solid rgba(244, 240, 229, 0.14); }
.kt-heart { background: rgba(8, 10, 16, 0.62); color: #f4f0e5; border: 1px solid rgba(244, 240, 229, 0.14); }
.kt-heart.is-on { background: var(--kt-orange); color: #0b0d10; border-color: var(--kt-orange); }
.kt-card-meta { color: #f4f0e5; }
.kt-area { color: rgba(244, 240, 229, 0.62) !important; }

/* detail */
.kt-detail { background: #080a10; color: var(--kt-ink); }
.kt-detail-band { background: linear-gradient(180deg, rgba(200, 245, 66, 0.08), rgba(200, 245, 66, 0) 78%); }
.kt-crumb { color: var(--kt-light); }
.kt-crumb b, .kt-crumb strong { color: var(--kt-muted); }
.kt-close { background: rgba(8, 10, 16, 0.66); color: #f4f0e5; border: 1px solid rgba(244, 240, 229, 0.16); }
.kt-close:hover { background: rgba(8, 10, 16, 0.9); }
.kt-detail h1 { color: var(--kt-ink); }
.kt-host { color: var(--kt-muted); }
.kt-about h3, .kt-amen h3, .kt-similar h3 { color: var(--kt-ink); }
.kt-about p { color: var(--kt-muted); }
.kt-amen li { color: var(--kt-muted); }
.kt-amen svg { stroke: var(--kt-light); }
.kt-plus9 { background: rgba(8, 10, 16, 0.62); color: #f4f0e5; }
.kt-book { background: #0c0f16; border: 1px solid var(--kt-hair); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.kt-book .kt-date-xs { color: var(--kt-light); }
.kt-book .kt-date { color: var(--kt-ink); }
.kt-booknow { background: var(--kt-orange); color: #0b0d10; }
.kt-avs img { border-color: #080a10; }
.kt-rate { color: var(--kt-muted); }
.kt-ratebtn { border-color: var(--kt-hair-2); color: var(--kt-ink); }
.kt-ratebtn:hover { background: rgba(244, 240, 229, 0.08); }
.kt-simwrap { background: transparent; }

@media (max-width: 640px) {
  .kt-search { background: rgba(10, 12, 18, 0.82); }
}

/* ==========================================================================
   DARK SKIN — 與站上 Obsidian 調一致（底 #080A10、紙白 #F4F0E5、萊姆 #C8F542）
   以同選擇器後寫覆蓋，不改動上面的版面與動態。
   ========================================================================== */
body.is-krung { background: #080a10; }

.kt-root {
  --kt-peach: #080a10;
  --kt-peach-2: #0a0d13;
  --kt-peach-3: #0c1016;
  --kt-ink: #f4f0e5;
  --kt-muted: #c4bfb2;
  --kt-light: #8f8b81;
  --kt-orange: #c8f542;
  --kt-star: #f7c325;
  --kt-red: #ff6b6b;
  --kt-hair: rgba(244, 240, 229, 0.1);
  --kt-hair-2: rgba(244, 240, 229, 0.22);
  --kt-glass: rgba(10, 13, 18, 0.72);
  background: #080a10;
  color: var(--kt-ink);
}

.kt-bg {
  background:
    radial-gradient(80% 55% at 82% -8%, rgba(200, 245, 66, 0.1), transparent 62%),
    radial-gradient(60% 45% at 6% 6%, rgba(200, 245, 66, 0.035), transparent 70%),
    linear-gradient(180deg, #080a10 0, #080a10 110vh, #0a0d13 190vh, #0c1016 100%);
}

.kt-slide .kt-tint {
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.58) 0%, rgba(5, 7, 11, 0.16) 30%, transparent 56%);
}


.kt-ring { border-color: rgba(244, 240, 229, 0.2); }
.kt-thumb { border-color: rgba(244, 240, 229, 0.88); }
.kt-thumb::after { border-color: rgba(244, 240, 229, 0.26); }
.kt-connector { background: rgba(244, 240, 229, 0.66); }
.kt-cap { color: var(--kt-ink); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 14px 44px rgba(0, 0, 0, 0.6); }
.kt-cap-bar { background: rgba(244, 240, 229, 0.66); }

.kt-search {
  background: var(--kt-glass);
  border: 1px solid var(--kt-hair);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.kt-field:hover,
.kt-field.is-active { background: rgba(244, 240, 229, 0.07); box-shadow: none; }
.kt-fs { color: var(--kt-light); }
.kt-send { background: var(--kt-orange); color: #0b0d10; }
.kt-send:hover { filter: brightness(1.06); }

.kt-pop {
  background: #0c1016;
  border: 1px solid var(--kt-hair);
  color: var(--kt-ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.kt-cal button { color: var(--kt-ink); }
.kt-cal button:hover { background: rgba(244, 240, 229, 0.08); }
.kt-cal button.is-edge { background: var(--kt-orange); color: #0b0d10; }
.kt-cal button.is-on { background: var(--kt-orange); color: #0b0d10; }
.kt-stepper button {
  border: 1px solid var(--kt-hair-2);
  background: transparent;
  color: var(--kt-ink);
}
.kt-stepper button:hover { border-color: var(--kt-orange); color: var(--kt-orange); }

.kt-seeall { border-color: var(--kt-hair-2); color: var(--kt-ink); background: transparent; }
.kt-seeall:hover { background: var(--kt-orange); border-color: var(--kt-orange); color: #0b0d10; }

.kt-card { background: #0c1016; border: 1px solid var(--kt-hair); }
.kt-card::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(4, 5, 8, 0.32) 70%, rgba(4, 5, 8, 0.85) 100%);
}
.kt-price {
  background: rgba(8, 10, 16, 0.72);
  border: 1px solid var(--kt-hair);
  color: var(--kt-ink);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.kt-heart { background: rgba(8, 10, 16, 0.66); border: 1px solid var(--kt-hair); }
.kt-heart svg { stroke: var(--kt-ink); }
.kt-heart:hover { background: var(--kt-orange); border-color: var(--kt-orange); }
.kt-heart:hover svg { stroke: #0b0d10; }
.kt-card-meta { color: var(--kt-ink); }
.kt-card-meta .kt-area { color: rgba(244, 240, 229, 0.68); }

.kt-detail { background: #080a10; color: var(--kt-ink); }
.kt-detail-band { background: linear-gradient(180deg, rgba(200, 245, 66, 0.1), rgba(200, 245, 66, 0) 88%); }
.kt-crumb { color: var(--kt-light); }
.kt-crumb a { color: var(--kt-muted); }
.kt-hostrow { color: var(--kt-muted); }
.kt-plus9 { background: rgba(6, 8, 12, 0.62); color: var(--kt-ink); }
.kt-book {
  background: #0c1016;
  border: 1px solid var(--kt-hair);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}
.kt-booknow { background: var(--kt-orange); color: #0b0d10; }
.kt-booknow:hover { filter: brightness(1.05); }
.kt-rate { border-top-color: var(--kt-hair); border-bottom-color: var(--kt-hair); }
.kt-ratebtn { border: 1px solid var(--kt-hair-2); color: var(--kt-ink); background: transparent; }
.kt-ratebtn:hover { background: var(--kt-orange); border-color: var(--kt-orange); color: #0b0d10; }
.kt-amen { color: var(--kt-ink); }
.kt-amen-grid { color: var(--kt-muted); }
.kt-avs img { border-color: #080a10; }

/* DARK — body 層元件（詳情頁／游標／導覽／飛行層）自己的變數塊，需同步覆寫 */
.kt-detail,
.kt-cursor,
.kt-nav,
.kt-fly {
  --kt-peach: #080a10;
  --kt-peach-2: #0a0d13;
  --kt-peach-3: #0c1016;
  --kt-ink: #f4f0e5;
  --kt-muted: #c4bfb2;
  --kt-light: #8f8b81;
  --kt-orange: #c8f542;
  --kt-star: #f7c325;
  --kt-red: #ff6b6b;
  --kt-hair: rgba(244, 240, 229, 0.1);
  --kt-hair-2: rgba(244, 240, 229, 0.22);
}

.kt-detail { background: #080a10; color: var(--kt-ink); }
.kt-detail-band { background: linear-gradient(180deg, rgba(200, 245, 66, 0.1), rgba(200, 245, 66, 0) 88%); }
.kt-title2,
.kt-about h4,
.kt-amen h4,
.kt-similar h3 { color: #f4f0e5; }
.kt-about p { color: var(--kt-muted); }
.kt-mainimg { background: #0c1016; }
.kt-book .kt-bprice { color: #f4f0e5; }
.kt-book .kt-bprice i { color: var(--kt-light); }
.kt-dates { background: rgba(244, 240, 229, 0.05); border: 1px solid var(--kt-hair); }
.kt-dates div span { color: var(--kt-light); }
.kt-dates div b { color: #f4f0e5; }
.kt-rate { border-top-color: var(--kt-hair); border-bottom-color: var(--kt-hair); }
.kt-ratebtn { border-color: var(--kt-hair-2); color: var(--kt-ink); background: transparent; }
.kt-ratebtn:hover { background: var(--kt-orange); border-color: var(--kt-orange); color: #0b0d10; }
.kt-amen-grid div { color: var(--kt-muted); }
.kt-amen-grid svg { stroke: var(--kt-ink); }
.kt-avs img { border-color: #0c1016; }
.kt-plus9 { background: rgba(6, 8, 12, 0.62); color: var(--kt-ink); }
.kt-crumb { color: var(--kt-light); }
.kt-hostrow { color: var(--kt-muted); }
.kt-fly { background-color: #0c1016; }

/* DARK — 日曆／人數 popover 細節 */
.kt-pop-head button {
  background: rgba(244, 240, 229, 0.08);
  border: 1px solid var(--kt-hair);
  color: var(--kt-ink);
}
.kt-pop-head button:hover { background: rgba(244, 240, 229, 0.16); }
.kt-cal button.is-mute { color: #5b5850; }
.kt-cal button.is-band { background: rgba(200, 245, 66, 0.12); border-radius: 0; color: #f4f0e5; }
.kt-cal button.is-edge { background: var(--kt-orange); color: #0b0d10; }
.kt-stepper button { background: transparent; border-color: var(--kt-hair-2); }
.kt-stepper em { color: var(--kt-ink); }

/* DARK — 觸控裝置不需要自訂游標（避免左上角出現殘影） */
@media (hover: none), (pointer: coarse) {
  .kt-cursor { display: none !important; }
}

/* DARK — 日曆箭頭與窄卡標題 */
.kt-pop-head button svg,
.kt-pop-head button svg * { stroke: var(--kt-ink); }
@media (max-width: 640px) {
  .kt-card-meta h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .kt-card-meta { bottom: 12px; }
}

/* DARK — 讓首屏下緣更早沉入底色，stays 區自成一塊暗面 */
.kt-fade {
  height: 58%;
  background: linear-gradient(180deg, rgba(8, 10, 16, 0) 0%, rgba(8, 10, 16, 0.45) 48%, rgba(8, 10, 16, 0.9) 82%, #080a10 100%);
}
.kt-stays { padding-top: 4px; }

/* DARK — 標題說明需壓在底部漸層之上 */
.kt-cap { z-index: 12; }
.kt-fade {
  height: 52%;
  background: linear-gradient(180deg, rgba(8, 10, 16, 0) 0%, rgba(8, 10, 16, 0.4) 52%, rgba(8, 10, 16, 0.86) 84%, #080a10 100%);
}

/* DARK — caption legibility without the big headline */
.kt-cap h2,
.kt-cap p {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 2px 12px rgba(0, 0, 0, 0.55), 0 12px 40px rgba(0, 0, 0, 0.45);
}
.kt-cap p { color: rgba(244, 240, 229, 0.92); }

/* caption scrim so the copy stays legible on any photo */
.kt-cap::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -22px -30px -22px -34px;
  border-radius: 26px;
  background: radial-gradient(120% 110% at 76% 50%, rgba(6, 8, 12, 0.62), rgba(6, 8, 12, 0.18) 62%, rgba(6, 8, 12, 0) 78%);
  pointer-events: none;
}

.kt-cap::before { z-index: 0; }
.kt-cap h2, .kt-cap p { position: relative; z-index: 1; }

/* soften the scrim so no rectangle edge shows */
.kt-cap::before {
  inset: -44px -56px;
  border-radius: 0;
  background: radial-gradient(74% 86% at 66% 50%, rgba(6, 8, 12, 0.6) 0%, rgba(6, 8, 12, 0.34) 46%, rgba(6, 8, 12, 0) 74%);
}

/* caption: no box — darken the right side of the photo instead */
.kt-cap::before { display: none; }
.kt-tint {
  background:
    linear-gradient(90deg, rgba(8, 10, 16, 0) 38%, rgba(8, 10, 16, 0.34) 64%, rgba(8, 10, 16, 0.52) 82%, rgba(8, 10, 16, 0.56) 100%),
    linear-gradient(180deg, rgba(8, 10, 16, 0.34) 0%, rgba(8, 10, 16, 0.06) 24%, rgba(8, 10, 16, 0) 46%);
}

/* extra local falloff behind the caption (no hard edges) */
.kt-tint {
  background:
    radial-gradient(46% 42% at 64% 50%, rgba(6, 8, 12, 0.5) 0%, rgba(6, 8, 12, 0.22) 52%, rgba(6, 8, 12, 0) 74%),
    linear-gradient(90deg, rgba(8, 10, 16, 0) 38%, rgba(8, 10, 16, 0.34) 64%, rgba(8, 10, 16, 0.52) 82%, rgba(8, 10, 16, 0.56) 100%),
    linear-gradient(180deg, rgba(8, 10, 16, 0.34) 0%, rgba(8, 10, 16, 0.06) 24%, rgba(8, 10, 16, 0) 46%);
}
.kt-cap h2 { font-weight: 400; }

/* paragraph: no clip animation, so nothing is ever half-revealed */
.kt-cap.is-shown p { animation: none; opacity: 1; }

/* hero video */
.kt-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  pointer-events: none;
  background: #080a10;
}
@media (max-width: 820px) {
  .kt-video { object-position: center 40%; }
}

/* video slides: sharp frame anchored left, blurred ambience fills the rest */
.kt-video-bg {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  filter: blur(30px) saturate(1.05) brightness(0.5);
  transform: scale(1.06);
  pointer-events: none;
}
.kt-video {
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 820px) {
  .kt-video {
    object-fit: cover;
    object-position: 62% 38%;
  }
  .kt-video-bg { filter: blur(24px) brightness(0.45); }
}

@media (max-width: 820px) { .kt-video { object-position: 68% 38%; } }

.kt-thumb:active { transform: translate(-50%, -50%) scale(0.94); }
.kt-thumb:focus-visible { outline: 2px solid var(--kt-orange); outline-offset: 4px; }

/* caption must sit above photo/video and mist */
.kt-cap { z-index: 14; }
.kt-photo { z-index: 0; }
.kt-mist-band { z-index: 6; }

/* video fills the hero (no side gap) */
.kt-video {
  object-fit: cover;
  object-position: center 42%;
}
.kt-video-bg { display: none; }
@media (max-width: 820px) {
  .kt-video { object-fit: cover; object-position: 68% 40%; }
}

@media (max-width: 820px) { .kt-video { object-position: 54% 40%; } }

/* search row removed — caption takes the space on small screens */
.kt-search { display: none !important; }
.kt-stays { margin-top: 0; padding-top: clamp(28px, 4vw, 64px); }

@media (max-width: 820px) {
  .kt-cap {
    display: block !important;
    left: 20px !important;
    right: 104px !important;
    top: auto !important;
    bottom: clamp(56px, 12vh, 120px) !important;
    transform: none !important;
    max-width: none;
    text-align: left;
  }
  .kt-cap h2 { font-size: clamp(24px, 6.6vw, 34px); line-height: 1.12; margin-bottom: 8px; }
  .kt-cap p { font-size: 13px; line-height: 1.5; opacity: .92; }
  .kt-cap-bar, .kt-connector { display: none; }
}

/* pull the stays heading into the hero fade so the bottom isn't empty */
.kt-stays { margin-top: calc(-1 * clamp(40px, 9vh, 96px)); padding-top: 0; }

@media (max-width: 820px) {
  .kt-cap { bottom: clamp(84px, 17vh, 160px) !important; }
  .kt-stays { margin-top: -18px; padding-top: 0; }
}

@media (max-width: 820px) { .kt-stays { margin-top: 0; } }

/* tint must cover the caption at all three rail positions */
.kt-tint {
  background:
    radial-gradient(50% 62% at 64% 50%, rgba(6, 8, 12, 0.5) 0%, rgba(6, 8, 12, 0.24) 55%, rgba(6, 8, 12, 0) 76%),
    linear-gradient(90deg, rgba(8, 10, 16, 0) 38%, rgba(8, 10, 16, 0.34) 64%, rgba(8, 10, 16, 0.52) 82%, rgba(8, 10, 16, 0.56) 100%),
    linear-gradient(180deg, rgba(8, 10, 16, 0.34) 0%, rgba(8, 10, 16, 0.06) 24%, rgba(8, 10, 16, 0) 46%);
}

/* soft halo behind the caption, follows it at any rail position */
.kt-cap::before {
  display: block;
  position: absolute;
  content: "";
  inset: -46px -54px;
  border-radius: 50%;
  background: rgba(6, 8, 12, 0.52);
  filter: blur(40px);
  z-index: -1;
}

.kt-cap::before {
  inset: -58px -66px;
  background: rgba(6, 8, 12, 0.74);
  filter: blur(26px);
}

.kt-cap::before { z-index: 0; }

/* stronger right-side grade so captions read on bright photos */
.kt-tint {
  background:
    radial-gradient(52% 64% at 66% 50%, rgba(6, 8, 12, 0.46) 0%, rgba(6, 8, 12, 0.2) 55%, rgba(6, 8, 12, 0) 78%),
    linear-gradient(90deg, rgba(8, 10, 16, 0) 30%, rgba(8, 10, 16, 0.3) 52%, rgba(8, 10, 16, 0.62) 74%, rgba(8, 10, 16, 0.7) 100%),
    linear-gradient(180deg, rgba(8, 10, 16, 0.34) 0%, rgba(8, 10, 16, 0.06) 24%, rgba(8, 10, 16, 0) 46%);
}

.kt-cap::before { display: none !important; }

.kt-tint { z-index: 3; }

/* caption legibility: tight dark halo on the glyphs, no box */
.kt-cap h2 { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 6px 26px rgba(0, 0, 0, 0.55); }
.kt-cap p {
  color: #f4f0e5;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 26px rgba(0, 0, 0, 0.6);
}

/* caption as a glass card: guaranteed contrast on any photo */
.kt-cap {
  padding: 18px 22px 20px;
  border-radius: 14px;
  background: rgba(8, 10, 16, 0.42);
  border: 1px solid rgba(244, 240, 229, 0.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  backdrop-filter: blur(16px) saturate(1.05);
  box-shadow: 0 18px 50px rgba(4, 6, 10, 0.35);
}
.kt-cap h2 { text-shadow: none; }
.kt-cap p { color: rgba(244, 240, 229, 0.88); text-shadow: none; }

/* keep the caption as plain type (no card) — matches the rest of the page */
.kt-cap {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.kt-cap h2 { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 6px 24px rgba(0, 0, 0, 0.5); }
.kt-cap p { color: #f4f0e5; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 2px 10px rgba(0, 0, 0, 0.75); }

/* slide 2 video framing (rider sits left of centre) */
.kt-slide[data-i="1"] .kt-video { object-position: 50% 45%; }
@media (max-width: 820px) {
  .kt-slide[data-i="1"] .kt-video { object-position: 56% 42%; }
}

/* ---------------- civilisation cards ---------------- */
.kt-stays .kt-grid { gap: clamp(14px, 1.6vw, 26px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kt-civ {
  position: relative;
  aspect-ratio: 2 / 3.1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 229, 0.16);
  background: #0a0d13;
  cursor: pointer;
}
.kt-civ .kt-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.92) contrast(1.02);
  transform: scale(1.02);
  transition: transform 900ms var(--kt-out), filter 600ms var(--kt-ease);
}
.kt-civ::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.55) 0%, rgba(6, 8, 12, 0) 34%, rgba(6, 8, 12, 0.72) 78%, rgba(6, 8, 12, 0.94) 100%);
  pointer-events: none;
}
.kt-civ-frame {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(244, 240, 229, 0.22);
  border-radius: 7px;
  pointer-events: none;
  z-index: 2;
}
.kt-civ-num {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 3;
  font-family: var(--f-display);
  font-size: clamp(15px, 1.15vw, 19px);
  letter-spacing: 0.14em;
  color: rgba(244, 240, 229, 0.9);
}
.kt-civ-body {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  color: #f4f0e5;
}
.kt-civ-kicker {
  display: block;
  font-family: var(--f-mono, ui-monospace, monospace);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 240, 229, 0.55);
  margin-bottom: 10px;
}
.kt-civ-body h3 {
  margin: 0 0 4px;
  font-family: var(--f-display);
  font-size: clamp(19px, 1.5vw, 25px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.kt-civ-body em {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acid, #c8f542);
  margin-bottom: 8px;
}
.kt-civ-body p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(244, 240, 229, 0.62);
}
.kt-civ:hover .kt-card-img { transform: scale(1.08); filter: saturate(1.05) contrast(1.05); }
.kt-civ:hover { border-color: rgba(200, 245, 66, 0.55); }
.kt-civ:hover .kt-civ-frame { border-color: rgba(200, 245, 66, 0.32); }

@media (max-width: 1100px) { .kt-stays .kt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .kt-stays .kt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kt-civ-body h3 { font-size: 16px; } .kt-civ-body p { display: none; } }

.kt-civ-tag {
  position: absolute;
  top: 19px;
  right: 20px;
  z-index: 3;
  font-family: var(--f-mono, ui-monospace, monospace);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 240, 229, 0.45);
}
.kt-civ::after {
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.5) 0%, rgba(6, 8, 12, 0) 30%, rgba(6, 8, 12, 0.5) 66%, rgba(6, 8, 12, 0.88) 86%, rgba(6, 8, 12, 0.97) 100%);
}
.kt-civ-body h3 { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6); }
.kt-civ-body em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kt-civ-body p { color: rgba(244, 240, 229, 0.7); }

.kt-civ-body h3 { text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7); }
.kt-civ::after { background: linear-gradient(180deg, rgba(6, 8, 12, 0.5) 0%, rgba(6, 8, 12, 0) 28%, rgba(6, 8, 12, 0.55) 62%, rgba(6, 8, 12, 0.9) 84%, rgba(6, 8, 12, 0.98) 100%); }
@media (max-width: 640px) { .kt-civ-body em { display: none; } }

.kt-civ::after {
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.45) 0%, rgba(6, 8, 12, 0) 26%, rgba(6, 8, 12, 0.62) 54%, rgba(6, 8, 12, 0.93) 76%, rgba(6, 8, 12, 0.98) 100%);
}
.kt-civ-body p { color: rgba(244, 240, 229, 0.76); }

/* remove the decorative fog/cloud overlays */
.kt-clouds, .kt-mist-band { display: none !important; }

/* slide 3 video framing */
.kt-slide[data-i="2"] .kt-video { object-position: 72% 44%; }
@media (max-width: 820px) {
  .kt-slide[data-i="2"] .kt-video { object-position: 64% 42%; }
}

@media (max-width: 820px) {
  .kt-rail { margin-top: -7vh; }
}

/* first card uses its own illustrated cover (contains its own frame + numeral) */
.kt-civ--art {
  border-color: rgba(196, 166, 112, 0.42);
  background: #0a0f18;
}
.kt-civ--art .kt-card-img {
  background-size: contain;
  background-position: center 44%;
  background-repeat: no-repeat;
  background-color: #0a0f18;
}
.kt-civ--art::after {
  background: linear-gradient(180deg, rgba(6, 9, 16, 0) 58%, rgba(6, 9, 16, 0.55) 76%, rgba(6, 9, 16, 0.86) 100%);
}
.kt-civ--art .kt-civ-body { bottom: 20px; left: 22px; right: 22px; }
.kt-civ--art .kt-civ-body h3 {
  font-size: clamp(20px, 1.7vw, 26px);
  letter-spacing: 0.08em;
}
.kt-civ--art .kt-civ-body em {
  color: rgba(214, 189, 138, 0.92);
  letter-spacing: 0.2em;
  margin-top: 8px;
}
.kt-civ--art .kt-civ-body p { color: rgba(236, 231, 220, 0.78); }

/* art card: mount the artwork above a caption strip */
.kt-civ--art .kt-card-img {
  inset: 12px 12px 112px;
  background-size: contain;
  background-position: center center;
  background-color: transparent;
}
.kt-civ--art::after { background: none; }
.kt-civ--art .kt-civ-body {
  left: 18px;
  right: 18px;
  bottom: 16px;
  text-align: left;
}
.kt-civ--art .kt-civ-body::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 10px;
  background: rgba(196, 166, 112, 0.28);
}
.kt-civ--art .kt-civ-body h3 {
  font-size: 19px;
  letter-spacing: 0.06em;
}
.kt-civ--art .kt-civ-body em {
  font-size: 9px;
  margin-top: 5px;
  letter-spacing: 0.18em;
}
.kt-civ--art .kt-civ-body p {
  font-size: 10.5px;
  margin-top: 6px;
  line-height: 1.5;
  color: rgba(236, 231, 220, 0.7);
}

@media (max-width: 640px) {
  .kt-civ--art .kt-card-img {
    inset: 0;
    background-size: cover;
    background-position: center 24%;
  }
  .kt-civ--art::after {
    background: linear-gradient(180deg, rgba(6, 9, 16, 0) 52%, rgba(6, 9, 16, 0.6) 74%, rgba(6, 9, 16, 0.9) 100%);
  }
  .kt-civ--art .kt-civ-body { bottom: 14px; left: 14px; right: 14px; }
  .kt-civ--art .kt-civ-body::before { display: none; }
  .kt-civ--art .kt-civ-body h3 { font-size: 17px; }
}

@media (max-width: 640px) {
  .kt-civ--art .kt-civ-body { bottom: 22px; left: 16px; right: 16px; }
  .kt-civ--art .kt-civ-body h3 { font-size: 16.5px; }
}

@media (max-width: 640px) {
  .kt-civ-tag { display: none; }
  .kt-civ-num { font-size: 22px; }
}

/* ---------------- card flip overlay ---------------- */
body.kt-has-flip { overflow: hidden; }

.kt-flip {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 6, 10, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.32s ease;
}
.kt-flip.is-open { opacity: 1; }

.kt-flip-stage {
  width: min(86vw, 380px);
  aspect-ratio: 3 / 4;
  perspective: 1600px;
}

.kt-flip-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.78s cubic-bezier(0.2, 0.86, 0.2, 1);
}
.kt-flip.is-open .kt-flip-card { transform: rotateY(180deg); }

.kt-flip-face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.kt-flip-front {
  background-color: #0c1016;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(196, 166, 112, 0.35);
}

.kt-flip-back {
  transform: rotateY(180deg);
  background: #05070b;
  border: 1px solid rgba(196, 166, 112, 0.35);
}
.kt-flip-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kt-flip-close {
  position: absolute;
  top: clamp(16px, 3vh, 30px);
  right: clamp(16px, 3vw, 34px);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(244, 240, 229, 0.24);
  background: rgba(12, 16, 22, 0.66);
  color: #f4f0e5;
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, transform 0.25s ease;
}
.kt-flip-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.kt-flip-close:hover { background: rgba(200, 245, 66, 0.16); transform: rotate(90deg); }

/* play affordance on the card itself */
.kt-civ--play { cursor: pointer; }
.kt-civ-play {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 4;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(244, 240, 229, 0.5);
  background: rgba(6, 9, 14, 0.42);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #f4f0e5;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease;
}
.kt-civ-play svg { width: 20px; height: 20px; fill: currentColor; margin-left: 3px; }
.kt-civ--play:hover .kt-civ-play,
.kt-civ--play:focus-visible .kt-civ-play { opacity: 1; transform: scale(1); background: rgba(200, 245, 66, 0.22); }

@media (hover: none) {
  .kt-civ--play .kt-civ-play { opacity: 0.92; transform: scale(0.92); }
}

/* caption that appears while a card video plays */
.kt-flip-note {
  position: absolute;
  left: 50%;
  bottom: clamp(26px, 7vh, 72px);
  width: min(86vw, 560px);
  margin: 0;
  transform: translateX(-50%) translateY(10px);
  text-align: center;
  color: rgba(244, 240, 229, 0.92);
  font-family: var(--f-display, "Songti TC", "Songti SC", serif);
  font-size: clamp(13px, 1.5vw, 15px);
  letter-spacing: 0.08em;
  line-height: 1.9;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease 0.55s, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.55s;
}
.kt-flip.is-open .kt-flip-note {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.kt-flip-note { text-wrap: balance; }
@media (max-width: 480px) {
  .kt-flip-note { width: min(88vw, 560px); font-size: 13px; letter-spacing: 0.05em; line-height: 1.85; }
}
