/* ==========================================================================
   Limewood Villa — site styles
   Brand: Cream / Paper grounds, Copper accents, Playfair Display + DM Sans
   ========================================================================== */

:root {
  /* Colour — every colour comes from the logo */
  --cream: #f0eee7;
  --paper: #e5e1d6;
  --linen: #faf8f3;
  --copper: #c9946f;
  --copper-deep: #8f5d3c;
  --copper-light: #e3c1a4;
  --ink: #1c1816;
  --body: #3d3530;
  --taupe: #645a53;
  --silver: #a39d97;
  --line: #c8c3b5;
  --line-soft: #d6d2c6;
  --chip: #b5ad9f;

  /* Type */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --gutter: 8vw;
  --header-h: 94px;
  --section-y: clamp(85px, 9vw, 130px);
  --ease: cubic-bezier(.2, .75, .25, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--copper-deep); }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--copper-light); color: var(--ink); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 12px 18px; background: var(--ink); color: var(--cream);
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase; text-decoration: none;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; color: var(--cream); }

/* ---------- Typography ---------- */
.eyebrow {
  display: block;
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--copper-deep);
}
.eyebrow--muted { color: var(--taupe); }
.eyebrow--light { color: var(--copper-light); letter-spacing: .24em; }

.display-1,
.display-2,
.display-3 {
  font-family: var(--serif);
  font-weight: 400;
}
.display-1 {
  font-size: clamp(50px, 7vw, 104px);
  line-height: .93;
  letter-spacing: -.05em;
}
.display-1--xl {
  font-size: clamp(52px, 8.3vw, 122px);
  line-height: .91;
  letter-spacing: -.055em;
}
.display-2 {
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.03;
  letter-spacing: -.045em;
}
.display-3 {
  font-size: clamp(36px, 4vw, 61px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.display-1 em, .display-2 em, .display-3 em, .quote em { font-style: italic; color: var(--copper-deep); }
.on-dark em { color: var(--copper-light); }

.lead { font-size: 16px; line-height: 1.95; color: var(--body); max-width: 600px; }
.lead--lg { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.9; max-width: 660px; }
.small { font-size: 13px; line-height: 1.8; color: var(--body); }
.note { font-size: 12px; line-height: 1.6; color: var(--taupe); }
.price {
  font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--copper-deep);
}
.price small {
  font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .1em; color: var(--taupe);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn span[aria-hidden] { transition: transform .35s var(--ease); }
.btn:hover { background: var(--ink); color: var(--cream); }
.btn:hover span[aria-hidden] { transform: translate(3px, -3px); }
.btn--copper { background: var(--copper); border-color: var(--copper); color: var(--ink); }
.btn--copper:hover { background: var(--copper-deep); border-color: var(--copper-deep); color: var(--cream); }
.btn--light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--block { display: flex; width: 100%; min-height: 52px; }

.link-arrow {
  display: inline-block;
  padding: 14px 0 7px;
  border-bottom: 1px solid var(--taupe);
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .3s, color .3s;
}
.link-arrow span[aria-hidden] { margin-left: 10px; color: var(--copper-deep); display: inline-block; transition: transform .35s var(--ease); }
.link-arrow:hover { color: var(--copper-deep); border-color: var(--copper-deep); }
.link-arrow:hover span[aria-hidden] { transform: translate(3px, -3px); }
.link-arrow--light { color: #fff; border-color: rgba(255,255,255,.6); }
.link-arrow--light span[aria-hidden] { color: var(--copper-light); }
.link-arrow--light:hover { color: var(--copper-light); border-color: var(--copper-light); }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  border: 1px solid var(--chip);
  padding: 9px 11px;
  font-size: 11px;
  letter-spacing: .09em;
  color: var(--body);
}

/* ---------- Layout helpers ---------- */
.section { padding: var(--section-y) var(--gutter); }
.section--paper { background: var(--paper); }
.section--tight { padding-top: clamp(60px, 6vw, 84px); padding-bottom: clamp(60px, 6vw, 84px); }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px 30px; margin-bottom: clamp(36px, 4vw, 55px);
}
.section-head__aside { max-width: 320px; margin: 0 0 8px; }
.rule-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px;
  border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 20px;
  font-size: 11px; letter-spacing: .19em; text-transform: uppercase; color: var(--copper-deep);
}
.rule-bar span { color: var(--taupe); letter-spacing: .12em; }
.rule-bar strong { font-weight: 500; }

.split-intro {
  display: grid; grid-template-columns: .7fr 1.3fr; gap: 8vw; align-items: start;
}
.split-intro__side {
  padding-top: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); line-height: 1.8;
}
.enquire-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; align-items: start; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }

/* Photo frame: image with numeral / caption */
.photo { position: relative; overflow: hidden; background: var(--paper); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.photo:hover img { transform: scale(1.035); }
.photo__num {
  position: absolute; left: 22px; bottom: 14px;
  font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: #fff;
  text-shadow: 0 1px 14px rgba(0,0,0,.4); pointer-events: none;
}

/* ---------- Header (shared include) ---------- */
.site-header {
  position: fixed; z-index: 100; top: 0; left: 0; right: 0;
  color: #fff;
  transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header__inner {
  min-height: var(--header-h);
  padding: 12px 5vw;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  transition: min-height .45s var(--ease), border-color .45s var(--ease);
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand__mark { width: 42px; height: auto; transition: width .45s var(--ease); }
.brand__name { font-family: var(--serif); font-size: 22px; letter-spacing: -.01em; white-space: nowrap; }
.brand__name em { font-style: italic; color: var(--copper-light); transition: color .45s; }

.primary-nav ul { display: flex; gap: clamp(18px, 2.6vw, 38px); }
.primary-nav a {
  position: relative; display: flex; align-items: center; min-height: 44px;
  color: inherit; text-decoration: none;
  font-size: 11px; font-weight: 500; letter-spacing: .19em; text-transform: uppercase;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.primary-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.primary-nav a[aria-current="page"] { color: var(--copper-light); }
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta {
  font-size: 11px; font-weight: 500; letter-spacing: .17em; text-transform: uppercase;
  color: inherit; text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid currentColor; padding: 14px 0 8px;
}
.header-cta:hover { color: var(--copper-light); }
.header-cta span { margin-left: 12px; color: var(--copper-light); }

.menu-toggle {
  display: none; position: relative; width: 48px; height: 48px; padding: 0;
  background: transparent; border: 1px solid rgba(255,255,255,.45); border-radius: 50%;
  color: inherit; cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  position: absolute; left: 50%; width: 18px; height: 1px; margin-left: -9px; background: currentColor;
  transition: transform .4s var(--ease), opacity .3s;
}
.menu-toggle__bars { top: 50%; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ''; left: 0; margin: 0; }
.menu-toggle__bars::before { transform: translateY(-6px); }
.menu-toggle__bars::after { transform: translateY(6px); }
.menu-open .menu-toggle__bars { background: transparent; }
.menu-open .menu-toggle__bars::before { transform: rotate(45deg); background: var(--ink); }
.menu-open .menu-toggle__bars::after { transform: rotate(-45deg); background: var(--ink); }

/* Solid state after scroll */
.site-header.is-solid {
  background: rgba(240, 238, 231, .94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line-soft);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.site-header.is-solid .site-header__inner { min-height: 74px; border-color: transparent; }
.site-header.is-solid .brand__mark { width: 36px; }
.site-header.is-solid .brand__name em,
.site-header.is-solid .header-cta span,
.site-header.is-solid .primary-nav a[aria-current="page"] { color: var(--copper-deep); }
.site-header.is-solid .header-cta:hover { color: var(--copper-deep); }
.site-header.is-solid .menu-toggle { border-color: var(--chip); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 30px) 7vw 36px;
  background: var(--cream); color: var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-open .site-header { color: var(--ink); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .site-header .brand__name em { color: var(--copper-deep); }
.menu-open .site-header__inner { border-color: var(--line-soft); }
.menu-open .menu-toggle { border-color: var(--chip); }
.mobile-menu__nav a {
  display: flex; align-items: baseline; gap: 18px; padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(32px, 8vw, 46px); line-height: 1.1; letter-spacing: -.03em;
  color: var(--ink); text-decoration: none;
}
.mobile-menu__nav a small { min-width: 22px; font-style: normal; font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--copper-deep); }
.mobile-menu__nav a[aria-current="page"] { font-style: italic; color: var(--copper-deep); }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 22px; padding-top: 34px; }
.mobile-menu__foot p { font-size: 13px; line-height: 1.7; color: var(--taupe); }
.mobile-menu__foot a:not(.btn) { color: var(--ink); text-decoration: none; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 640px; height: 78svh; max-height: 760px;
  display: flex; align-items: flex-end;
  background: #8c7a69; color: #fff;
}
.hero--home { height: 100svh; min-height: 680px; max-height: 980px; }
.hero--tall { max-height: 820px; height: 86svh; }
.hero__media { position: absolute; inset: 0; }
.hero__media img,
.hero__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero--home .hero__media { inset: -4%; animation: lwCinema 24s ease-in-out infinite alternate; }
.hero--home .hero__media--video { inset: 0; animation: none; background: #3a2f28 url("../video/limewood-hero-poster.jpg") center / cover no-repeat; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(28,22,18,.8) 0%, rgba(28,22,18,.52) 42%, rgba(28,22,18,.12) 100%),
    linear-gradient(0deg, rgba(28,22,18,.55), transparent 55%),
    linear-gradient(180deg, rgba(28,22,18,.45), transparent 24%);
}
.hero__frame { position: absolute; inset: 16px; border: 1px solid rgba(255,255,255,.16); pointer-events: none; }
.hero__content {
  position: relative; z-index: 2;
  padding: 0 10vw 110px; max-width: 1080px;
}
.hero--home .hero__content { padding-bottom: clamp(110px, 13vh, 150px); }
.hero__lede { margin: 29px 0 34px; font-size: 16px; line-height: 1.85; color: rgba(255,255,255,.88); max-width: 440px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 20px 27px; align-items: center; }
.hero__bar {
  position: absolute; z-index: 2; left: 5vw; right: 5vw; bottom: 30px;
  display: flex; flex-wrap: wrap; gap: 8px 12px; justify-content: space-between;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.78);
}
.hero__bar a { color: inherit; text-decoration: none; }
.hero__bar a:hover { color: #fff; }
.hero__bar .accent { color: var(--copper-light); }
.hero__meta {
  position: absolute; z-index: 2; right: 6vw; bottom: clamp(110px, 14vh, 160px);
  writing-mode: vertical-rl; display: flex; gap: 15px; align-items: center;
  font-size: 10px; letter-spacing: .22em; color: rgba(255,255,255,.8);
}
.hero__meta::before { content: ''; width: 1px; height: 60px; background: var(--copper); }
.hero-woodbar { font-style: italic; font-size: clamp(72px, 11vw, 168px); line-height: .9; letter-spacing: -.04em; }
.hero-woodbar + .by { margin: 14px 0 34px; font-size: 13px; letter-spacing: .36em; text-transform: uppercase; color: var(--copper-light); }

/* ---------- Home: intro ---------- */
.photo-pair { margin-top: 65px; display: grid; grid-template-columns: 1fr .48fr; gap: 18px; align-items: end; }
.photo-pair .photo:first-child { height: clamp(300px, 34vw, 480px); }
.photo-pair .photo:last-child { height: clamp(190px, 20vw, 285px); }

/* ---------- Room chapters ---------- */
.chapter {
  min-height: 620px;
  display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: 7vw;
  padding: 36px 0; border-bottom: 1px solid var(--line);
}
.chapter--flip { grid-template-columns: .82fr 1.18fr; }
.chapter--flip .chapter__media { order: 2; }
.chapter--top { border-bottom: 0; border-top: 1px solid var(--line); padding: 40px 0; min-height: 600px; }
.chapter__media { height: clamp(360px, 42vw, 600px); }
.chapter__body { padding: 30px 3vw 30px 0; }
.chapter--flip .chapter__body { padding: 30px 0 30px 3vw; }
.chapter__kicker { font-size: 11px; letter-spacing: .2em; color: var(--copper-deep); text-transform: uppercase; }
.chapter__title { margin: 22px 0; }
.chapter__text { font-size: 15px; line-height: 1.9; color: var(--body); max-width: 380px; }
.chapter .chips { margin: 27px 0 32px; }
.chapter .price { margin-bottom: 25px; }
.chapter__actions { display: flex; flex-wrap: wrap; gap: 20px 24px; align-items: center; }
.facts { margin: 28px 0 30px; max-width: 400px; font-size: 14px; }
.facts > div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-size: 11px; letter-spacing: .17em; color: var(--taupe); text-transform: uppercase; }
.facts dd { margin: 0; text-align: right; }

/* ---------- Home: spaces carousel ---------- */
.spaces { overflow: hidden; padding-left: 0; padding-right: 0; }
.spaces .section-head, .spaces .rule-bar, .spaces__hint { margin-left: var(--gutter); margin-right: var(--gutter); }
.spaces__controls { display: flex; gap: 9px; margin-top: 24px; }
.circle-btn {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--silver); border-radius: 50%; background: transparent; color: var(--ink);
  cursor: pointer; transition: background-color .3s, color .3s, border-color .3s;
}
.circle-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.spaces__track {
  display: flex; gap: 15px; align-items: stretch;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 10px var(--gutter) 24px;
}
.spaces__track::-webkit-scrollbar { display: none; }
.space-card {
  position: relative; flex: 0 0 28%; min-width: 260px; height: 530px; overflow: hidden;
  opacity: .7; scroll-snap-align: start;
  transition: flex-basis .7s var(--ease), opacity .5s;
}
.space-card.is-active { flex-basis: 51%; opacity: 1; }
.space-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.space-card:hover img { transform: scale(1.04); }
.space-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(28,22,18,.85), transparent 68%); pointer-events: none; }
.space-card__hit { position: absolute; inset: 0; z-index: 1; background: transparent; border: 0; cursor: pointer; }
.space-card__body { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 26px; color: #fff; pointer-events: none; }
.space-card__tag { font-size: 11px; letter-spacing: .2em; color: var(--copper-light); text-transform: uppercase; }
.space-card__title { margin: 10px 0; font-family: var(--serif); font-weight: 400; font-size: clamp(27px, 3vw, 42px); line-height: 1.05; }
.space-card__more {
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows .6s var(--ease), opacity .5s;
}
.space-card__more > div { overflow: hidden; }
.space-card.is-active .space-card__more { grid-template-rows: 1fr; opacity: 1; }
.space-card__more p { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.88); max-width: 380px; }
.space-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 17px; }
.space-card__note { font-family: var(--serif); font-style: italic; font-size: 19px; color: #e6c3a3; }
.space-card__foot a { pointer-events: auto; padding: 12px 0 6px; border-bottom: 1px solid rgba(255,255,255,.7); color: #fff; text-decoration: none; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.space-card__foot a:hover { color: var(--copper-light); border-color: var(--copper-light); }
.spaces__hint { margin-top: 20px; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--taupe); }

/* ---------- Quote ---------- */
.quote-block { text-align: center; padding: clamp(85px, 9vw, 115px) 20px; display: flex; flex-direction: column; align-items: center; }
.quote-mark { font-family: var(--serif); font-size: 100px; color: var(--copper); line-height: .6; }
.quote {
  margin: 28px auto; max-width: 900px;
  font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5.6vw, 76px); line-height: 1.08; letter-spacing: -.04em;
}
.quote-block .eyebrow { margin: 0; font-size: 10px; color: var(--taupe); }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.testimonial { border-top: 1px solid var(--ink); padding-top: 26px; display: flex; flex-direction: column; gap: 22px; }
.testimonial blockquote { font-family: var(--serif); font-size: 21px; line-height: 1.5; letter-spacing: -.01em; }
.testimonial figcaption { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--copper-deep); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 1.15fr .85fr .8fr; grid-template-rows: 260px 260px; gap: 12px; }
.gallery .photo:nth-child(1) { grid-row: span 2; }
.gallery .photo:nth-child(3) { grid-column: 3; grid-row: 1 / span 2; }
.gallery--room { grid-template-columns: 1.2fr .8fr; grid-template-rows: 240px 240px; }
.gallery--room .photo:nth-child(3) { grid-column: auto; grid-row: auto; }

/* ---------- Forms ---------- */
.form-panel {
  background: var(--linen); border: 1px solid var(--line-soft); padding: 34px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 25px;
}
.form-panel .full { grid-column: 1 / -1; }
.field { display: block; font-size: 11px; font-weight: 500; letter-spacing: .17em; text-transform: uppercase; color: var(--taupe); }
.field input, .field select, .field textarea {
  display: block; width: 100%; margin-top: 12px; padding: 12px 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--silver); border-radius: 0;
  color: var(--ink); font-family: var(--sans); font-size: 16px; letter-spacing: 0; text-transform: none;
  transition: border-color .3s;
}
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 24px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238f5d3c' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper-deep); }
.field.is-invalid input, .field.is-invalid select { border-color: #a23b2a; }
.form-status { font-size: 13px; color: var(--copper-deep); min-height: 1em; }

.contact-lines { display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.6; color: var(--body); border-top: 1px solid var(--line); padding-top: 20px; max-width: 400px; }
.contact-lines b { font-weight: 500; font-size: 11px; letter-spacing: .17em; color: var(--taupe); margin-right: 8px; }
.contact-lines a { color: inherit; text-decoration: none; }
.contact-lines a:hover { color: var(--copper-deep); }

/* Booking aside on room page */
.booking-card { background: var(--linen); border: 1px solid var(--line-soft); padding: 34px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 100px; }
.booking-card__price { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.booking-card__price > span:first-child { font-size: 11px; letter-spacing: .2em; color: var(--taupe); }
.booking-card .price { font-size: 34px; }

/* ---------- Detail stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.stats > div { padding: 22px 16px; display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--line); }
.stats > div:first-child { padding-left: 0; border-left: 0; }
.stats dt { font-size: 11px; letter-spacing: .17em; color: var(--taupe); text-transform: uppercase; }
.stats dd { margin: 0; font-family: var(--serif); font-size: 22px; }

.detail-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 7vw; align-items: start; }

/* Pillars (values / day plan) */
.pillar { border-top: 1px solid var(--ink); padding-top: 22px; }
.pillar__k { font-size: 11px; letter-spacing: .2em; color: var(--copper-deep); }
.pillar h3 { margin: 14px 0 12px; font-family: var(--serif); font-weight: 400; font-size: 29px; }
.pillar p { font-size: 15px; line-height: 1.8; color: var(--body); }

/* At-a-glance counters */
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.glance > * { padding: 36px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; transition: background-color .35s; }
.glance > *:first-child { border-left: 0; padding-left: 0; }
a.glance__item:hover { background: rgba(229,225,214,.55); }
.glance__big { font-family: var(--serif); font-size: clamp(44px, 4.5vw, 64px); line-height: 1; }
.glance__label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }

/* Map */
.map { position: relative; min-height: 460px; background: var(--line-soft); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.18) contrast(.95); }

/* Contact channels */
.channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.channels > * { padding: 0 24px 40px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; }
.channels > *:first-child { padding-left: 0; border-left: 0; }
.channels__k { font-size: 11px; letter-spacing: .2em; color: var(--copper-deep); }
.channels__v { font-family: var(--serif); font-size: 22px; line-height: 1.45; overflow-wrap: anywhere; }
.channels__v a { color: inherit; text-decoration: none; }
.channels__v a:hover, a.channels__item:hover .channels__v { color: var(--copper-deep); }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 0; background: transparent; border: 0; text-align: left; cursor: pointer;
  font-family: var(--serif); font-size: 22px; color: var(--ink);
}
.faq__icon { position: relative; flex-shrink: 0; width: 14px; height: 14px; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; top: 50%; left: 0; width: 14px; height: 1px; background: var(--copper-deep); transition: transform .4s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0 0 22px; font-size: 15px; line-height: 1.8; color: var(--body); max-width: 520px; }
.faq__a a { color: var(--copper-deep); }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }

/* Tabs (Woodbar) */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 11px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; cursor: pointer;
  transition: background-color .3s, color .3s;
}
.tab[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.tab-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 6vw; align-items: center; border-top: 1px solid var(--ink); padding-top: 40px; }
.tab-panel[hidden] { display: none; }
.tab-panel .photo { height: clamp(300px, 32vw, 440px); }
.tab-panel h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -.035em; margin: 16px 0 20px; }
.tab-panel ul { margin-top: 26px; border-top: 1px solid var(--line); }
.tab-panel li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.tab-panel li span:first-child { font-size: 11px; letter-spacing: .17em; text-transform: uppercase; color: var(--taupe); padding-top: 3px; }

/* Comparison table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rates { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.rates th { text-align: left; font-weight: 500; font-size: 11px; letter-spacing: .17em; text-transform: uppercase; color: var(--taupe); padding: 16px 0; border-bottom: 1px solid var(--ink); }
.rates td { padding: 20px 12px 20px 0; border-bottom: 1px solid var(--line); color: var(--taupe); }
.rates td:first-child a { font-family: var(--serif); font-size: 22px; color: var(--ink); text-decoration: none; }
.rates td:first-child a:hover { color: var(--copper-deep); }
.rates .num { text-align: right; padding-right: 0; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--copper-deep); }

/* Related rooms cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.room-card { position: relative; display: block; height: 440px; overflow: hidden; color: #fff; text-decoration: none; }
.room-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.room-card:hover img { transform: scale(1.05); }
.room-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(28,22,18,.82), transparent 65%); }
.room-card__body { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.room-card__k { font-size: 11px; letter-spacing: .2em; color: #e3bd9c; text-transform: uppercase; }
.room-card__t { font-family: var(--serif); font-size: 32px; line-height: 1.05; }
.room-card__p { font-family: var(--serif); font-style: italic; font-size: 18px; color: #e6c3a3; }
.room-card:hover { color: #fff; }

/* ---------- Footer (shared include) ---------- */
.site-footer { background: var(--cream); border-top: 1px solid var(--line-soft); }
.site-footer__top {
  padding: clamp(60px, 7vw, 96px) 6vw clamp(44px, 5vw, 64px);
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px;
}
.site-footer__brand img { width: 128px; height: auto; }
.site-footer__brand p { margin-top: 22px; font-family: var(--serif); font-size: 22px; line-height: 1.3; letter-spacing: -.02em; max-width: 260px; }
.site-footer__brand p em { color: var(--copper-deep); }
.footer-col h2 { margin: 0 0 18px; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--copper-deep); }
.footer-col li + li { margin-top: 8px; }
.footer-col a, .footer-col p { font-size: 14px; line-height: 1.7; color: var(--body); text-decoration: none; }
.footer-col a:hover { color: var(--copper-deep); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--chip); border-radius: 50%;
  color: var(--ink); transition: background-color .3s, color .3s, border-color .3s;
}
.socials a:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.site-footer__bottom {
  padding: 24px 6vw; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px;
  font-size: 12px; color: var(--taupe);
}
.site-footer__bottom a { color: inherit; text-decoration: none; }
.site-footer__bottom a:hover { color: var(--copper-deep); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; z-index: 90; right: 22px; bottom: 22px;
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 16px;
  background: var(--ink); color: var(--cream); border-radius: 26px; text-decoration: none;
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 10px 30px -10px rgba(28,22,18,.55);
  transform: translateY(90px); opacity: 0; transition: transform .5s var(--ease), opacity .5s, background-color .3s;
}
.wa-float.is-visible { transform: none; opacity: 1; }
.wa-float:hover { background: var(--copper-deep); color: #fff; }
.wa-float svg { color: var(--copper-light); }

/* ---------- Home: sticky scroll storytelling (rooms) ----------
   Default = a plain list of rooms (no JS / very short screens).
   .story--live (added by main.js) pins the stage and swaps rooms on scroll. */
.story { --story-n: 6; --story-top: calc(74px + 3.5vh); }
.story__intro { padding: var(--section-y) var(--gutter) 0; }
.story__outro { display: flex; justify-content: center; padding: 48px var(--gutter) var(--section-y); }
.story__stage { padding: 0 var(--gutter); }
.story__item {
  display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: 7vw;
  padding: 36px 0; border-bottom: 1px solid var(--line);
}
.story__media { height: clamp(360px, 42vw, 600px); }
.story__body { padding: 30px 3vw 30px 0; }
.story__body .chips { margin: 27px 0 32px; }
.story__body .price { margin-bottom: 25px; }
.story__rail { display: none; }

.story--live .story__track { position: relative; height: calc(100svh + (var(--story-n) - 1) * 75svh); }
.story--live .story__stage {
  position: sticky; top: 0; height: 100svh; padding: 0; overflow: hidden;
}
.story--live .story__items { position: absolute; inset: var(--story-top) var(--gutter) 5vh; }
.story--live .story__item {
  position: absolute; inset: 0; padding: 0; border: 0;
  visibility: hidden; pointer-events: none;
  transition: visibility 0s .9s;
}
.story--live .story__item.is-active { visibility: visible; pointer-events: auto; transition-delay: 0s; z-index: 2; }
.story--live .story__media {
  height: 100%;
  opacity: 0; clip-path: inset(0 0 0 0);
  transition: opacity .9s var(--ease);
}
.story--live .story__media img { transform: scale(1.1); transition: transform 1.6s var(--ease); }
.story--live .story__item.is-active .story__media { opacity: 1; }
.story--live .story__item.is-active .story__media img { transform: scale(1); }
.story--live .story__media .photo__num { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .8s var(--ease); }
.story--live .story__item.is-active .photo__num { opacity: 1; transform: none; transition-delay: .35s; }
.story--live .photo:hover img { transform: scale(1); }

.story--live .story__body > * {
  opacity: 0; transform: translateY(26px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.story--live .story__item.is-active .story__body > * {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .9s var(--ease);
}
.story--live .story__item.is-active .story__body > :nth-child(1) { transition-delay: .18s; }
.story--live .story__item.is-active .story__body > :nth-child(2) { transition-delay: .26s; }
.story--live .story__item.is-active .story__body > :nth-child(3) { transition-delay: .34s; }
.story--live .story__item.is-active .story__body > :nth-child(4) { transition-delay: .42s; }
.story--live .story__item.is-active .story__body > :nth-child(5) { transition-delay: .48s; }
.story--live .story__item.is-active .story__body > :nth-child(6) { transition-delay: .54s; }

/* Progress rail */
.story--live .story__rail {
  display: flex; gap: 14px; position: absolute; z-index: 3;
  right: calc(var(--gutter) / 2 - 18px); top: 50%; transform: translateY(-50%);
}
.story__line { position: relative; width: 1px; background: var(--line); }
.story__fill { position: absolute; inset: 0; background: var(--copper-deep); transform-origin: top; transform: scaleY(0); }
.story__rail ol { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.story__rail button {
  display: flex; align-items: center; min-height: 34px; padding: 0 4px; background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 10px; letter-spacing: .14em; color: var(--taupe);
  transition: color .3s;
}
.story__rail button:hover { color: var(--ink); }
.story__rail button[aria-current="true"] { color: var(--copper-deep); font-weight: 600; }

@media (max-width: 900px) {
  .story__item { grid-template-columns: 1fr; gap: 10px; padding: 28px 0 40px; }
  .story__body { padding: 20px 0 0; }
  .story__media { height: clamp(300px, 70vw, 520px); }

  .story { --story-top: calc(var(--header-h) + 10px); }
  .story--live .story__items { inset: var(--story-top) var(--gutter) 22px; }
  .story--live .story__item { grid-template-rows: minmax(0, 1fr) auto; align-items: stretch; gap: 18px; }
  .story--live .story__media { height: auto; min-height: 0; }
  .story--live .story__body { padding: 0; }
  .story--live .chapter__title { margin: 10px 0 8px; font-size: clamp(30px, 7.4vw, 44px); }
  .story--live .chapter__text { font-size: 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .story--live .story__body .chips { display: none; }
  .story--live .story__body .price { margin: 12px 0 14px; font-size: 21px; }

  .story--live .story__rail {
    top: calc(var(--story-top) + 12px); right: auto; left: calc(var(--gutter) + 12px); transform: none;
    padding: 0 6px; border-radius: 20px; background: rgba(28,22,18,.42);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .story--live .story__line { display: none; }
  .story--live .story__rail ol { flex-direction: row; gap: 0; }
  .story--live .story__rail button { min-height: 32px; padding: 0 7px; color: rgba(255,255,255,.7); }
  .story--live .story__rail button[aria-current="true"] { color: #fff; }
}
@media (max-width: 650px) {
  .story__intro { padding-left: 20px; padding-right: 20px; }
  .story__stage { padding: 0 20px; }
  .story--live .story__items { left: 20px; right: 20px; }
  .story--live .story__rail { left: 32px; }
}

/* ---------- Motion ---------- */
@keyframes lwRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes lwCinema { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.2%, .7%); } }
.rise { opacity: 0; animation: lwRise .9s .2s var(--ease) forwards; }
.rise-2 { opacity: 0; animation: lwRise .8s .45s var(--ease) forwards; }
.rise-3 { opacity: 0; animation: lwRise .8s .65s var(--ease) forwards; }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .rise-2, .rise-3 { opacity: 1; animation: none; }
  .hero--home .hero__media { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .primary-nav ul { gap: 20px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  :root { --header-h: 80px; }
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .glance, .channels { grid-template-columns: 1fr 1fr; }
  .glance > *:nth-child(3), .channels > *:nth-child(3) { border-left: 0; padding-left: 0; }
  .glance > *:nth-child(n+3) { border-top: 1px solid var(--line); }
  .channels > *:nth-child(n+3) { padding-top: 32px; }
  .testimonials { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 900px) {
  :root { --gutter: 6vw; }
  .split-intro, .two-col, .enquire-grid, .detail-grid, .tab-panel { grid-template-columns: 1fr; gap: 44px; }
  .chapter, .chapter--flip { grid-template-columns: 1fr; min-height: 0; gap: 10px; padding: 28px 0 40px; }
  .chapter--flip .chapter__media { order: 0; }
  .chapter__body, .chapter--flip .chapter__body { padding: 20px 0 0; }
  .chapter__media { height: clamp(300px, 70vw, 520px); }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .cards-3 > :nth-child(3) { display: none; }
  .hero__meta { display: none; }
  .booking-card { position: static; }
  .map { min-height: 380px; }
  .space-card { flex-basis: 70%; }
  .space-card.is-active { flex-basis: 70%; }
}

@media (max-width: 650px) {
  :root { --header-h: 72px; }
  body { font-size: 15px; }
  .site-header__inner { padding: 10px 16px; }
  .brand__mark { width: 36px; }
  .brand__name { font-size: 20px; }
  .section { padding-left: 20px; padding-right: 20px; }
  .spaces { padding-left: 0; padding-right: 0; }
  .spaces .section-head, .spaces .rule-bar, .spaces__hint { margin-left: 20px; margin-right: 20px; }
  .spaces__track { padding-left: 20px; padding-right: 20px; }
  .space-card, .space-card.is-active { flex-basis: 84%; min-width: 0; height: 480px; opacity: 1; }
  .space-card .space-card__more { grid-template-rows: 1fr; opacity: 1; }
  .hero { min-height: 600px; height: 88svh; }
  .hero--home { min-height: 640px; height: 100svh; }
  .hero__content { padding: 0 20px 100px; }
  .hero__bar { left: 20px; right: 20px; bottom: 26px; }
  .hero__bar > :last-child { display: none; }
  .hero__frame { inset: 10px; }
  .photo-pair { grid-template-columns: 1fr .62fr; margin-top: 44px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; }
  .gallery .photo:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
  .gallery .photo:nth-child(3) { grid-column: auto; grid-row: auto; }
  .gallery .photo:nth-child(4) { grid-column: 1 / -1; }
  .gallery--room { grid-template-rows: 260px 180px; }
  .gallery--room .photo:nth-child(1) { grid-column: 1 / -1; }
  .gallery--room .photo:nth-child(4) { grid-column: auto; }
  .form-panel { grid-template-columns: 1fr; padding: 26px 22px; }
  .grid-4 { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .cards-3 > :nth-child(3) { display: block; }
  .room-card { height: 380px; }
  .glance, .channels { grid-template-columns: 1fr; }
  .glance > *, .channels > * { border-left: 0 !important; padding-left: 0 !important; padding-right: 0; }
  .glance > * + * { border-top: 1px solid var(--line); }
  .channels > * { padding-bottom: 28px; }
  .channels > * + * { padding-top: 28px; border-top: 1px solid var(--line); }
  .stats { grid-template-columns: 1fr; }
  .stats > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .stats > div:first-child { border-top: 0; }
  .site-footer__top { grid-template-columns: 1fr; gap: 34px; padding-left: 20px; padding-right: 20px; }
  .site-footer__bottom { padding-left: 20px; padding-right: 20px; padding-bottom: 90px; }
  .wa-float { right: 16px; bottom: 16px; padding: 0; width: 52px; justify-content: center; }
  .wa-float span { display: none; }
  .faq__q { font-size: 19px; }
  .rule-bar strong { display: none; }
}
