:root {
  --cw-bg: #f3f0e9;
  --cw-bg-soft: #ece7dd;
  --cw-paper: #faf8f3;
  --cw-ink: #171715;
  --cw-muted: #746f66;
  --cw-line: rgba(23, 23, 21, 0.14);
  --cw-accent: #7a6a53;
  --cw-dark: #161613;
  --cw-dark-2: #211f1a;
  --cw-white: #fffdf8;
  --cw-shell: 1280px;
  --cw-radius: 2px;
  --cw-ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cw-bg);
  color: var(--cw-ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.cw-menu-open,
body.cw-lightbox-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--cw-ink); color: var(--cw-white); }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.cw-skip {
  position: fixed; left: 12px; top: 12px; z-index: 9999;
  transform: translateY(-160%);
  background: var(--cw-white); color: var(--cw-ink);
  padding: 10px 14px; transition: transform .2s ease;
}
.cw-skip:focus { transform: translateY(0); }

.cw-shell {
  width: min(calc(100% - 72px), var(--cw-shell));
  margin: 0 auto;
}

.cw-kicker,
.cw-section-index {
  margin: 0;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cw-muted);
}
.cw-kicker-light { color: rgba(255,255,255,.72); }

.cw-display {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(42px, 5.5vw, 82px);
  line-height: .98;
  letter-spacing: -.045em;
}
.cw-display em {
  font-weight: 400;
  color: var(--cw-accent);
}
.cw-display-light { color: var(--cw-white); }
.cw-display-light em { color: #c4b397; }

.cw-lead {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(22px, 2.35vw, 34px);
  line-height: 1.38;
  letter-spacing: -.018em;
}

.cw-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 235px;
  padding: 17px 20px;
  border: 1px solid var(--cw-ink);
  background: transparent;
  color: var(--cw-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .3s var(--cw-ease), color .3s var(--cw-ease), transform .3s var(--cw-ease);
}
.cw-button:hover { background: var(--cw-ink); color: var(--cw-white); transform: translateY(-2px); }
.cw-button-light { border-color: rgba(255,255,255,.65); color: var(--cw-white); }
.cw-button-light:hover { background: var(--cw-white); color: var(--cw-ink); }

.cw-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}
.cw-text-link-light { color: rgba(255,255,255,.88); }

/* Header */
.cw-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  color: var(--cw-white);
  transition: background .35s var(--cw-ease), color .35s var(--cw-ease), box-shadow .35s var(--cw-ease);
}
.cw-header.is-scrolled {
  background: rgba(243,240,233,.94);
  color: var(--cw-ink);
  box-shadow: 0 1px 0 var(--cw-line);
  backdrop-filter: blur(14px);
}
.cw-header-inner {
  width: min(calc(100% - 48px), 1480px);
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 32px;
}
.cw-brand { display: inline-flex; flex-direction: column; gap: 4px; width: max-content; }
.cw-brand-name { font-size: 16px; font-weight: 800; letter-spacing: .10em; }
.cw-brand-meta { font-size: 9px; opacity: .67; letter-spacing: .14em; }
.cw-nav { justify-self: center; }
.cw-menu { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.cw-menu a {
  position: relative;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .055em;
}
.cw-menu a:after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px;
  background: currentColor;
  transition: right .25s var(--cw-ease);
}
.cw-menu a:hover:after { right: 0; }
.cw-header-actions { display: flex; align-items: center; gap: 14px; }
.cw-language { min-width: 0; font-size: 11px; }
.cw-header-cta {
  display: inline-flex; gap: 18px; align-items: center;
  padding: 13px 16px;
  border: 1px solid currentColor;
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.cw-menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; color: currentColor; padding: 10px; }
.cw-menu-toggle span:not(.screen-reader-text) { display: block; height: 1px; width: 100%; background: currentColor; margin: 6px 0; transition: transform .25s ease; }
.cw-menu-toggle.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.cw-menu-toggle.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.cw-mobile-panel { display: none; }

/* Hero */
.cw-hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--cw-white);
  background: var(--cw-dark);
}
.cw-hero:before {
  content: '';
  position: absolute; inset: -2%;
  background-image: var(--cw-hero-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.035);
  animation: cwHeroIn 1.35s var(--cw-ease) forwards;
}
@keyframes cwHeroIn { to { transform: scale(1); } }
.cw-hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,8,.38) 0%, rgba(10,10,8,.06) 34%, rgba(10,10,8,.77) 100%),
    linear-gradient(90deg, rgba(10,10,8,.52) 0%, rgba(10,10,8,0) 62%);
}
.cw-hero-grain {
  position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.35) .45px, transparent .45px);
  background-size: 5px 5px;
  mix-blend-mode: soft-light;
}
.cw-hero-content { position: relative; z-index: 2; padding: 178px 0 126px; }
.cw-hero-title {
  margin: 18px 0 26px;
  max-width: 1050px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(54px, 7.2vw, 112px);
  line-height: .91;
  font-weight: 400;
  letter-spacing: -.055em;
}
.cw-hero-title em { font-weight: 400; color: #d5c5a9; }
.cw-hero-copy { max-width: 610px; margin: 0; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.82); }
.cw-hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 38px; }
.cw-hero-foot {
  position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; gap: 26px; align-items: center;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.68);
}
.cw-hero-foot span + span:before { content: '•'; margin-right: 26px; opacity: .55; }

/* Sections */
.cw-section { padding: 132px 0; }
.cw-editorial-grid { display: grid; grid-template-columns: 220px 1fr; gap: 56px; }
.cw-intro { background: var(--cw-bg); }
.cw-section-body { max-width: 960px; }
.cw-intro .cw-lead { margin-top: 44px; color: #37342f; }
.cw-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 62px;
  border-top: 1px solid var(--cw-line);
  border-bottom: 1px solid var(--cw-line);
}
.cw-stats > div { padding: 26px 24px 28px 0; border-right: 1px solid var(--cw-line); }
.cw-stats > div:last-child { border-right: 0; padding-left: 24px; }
.cw-stats > div:nth-child(2) { padding-left: 24px; }
.cw-stats strong { display: block; margin-bottom: 6px; font-family: Georgia, serif; font-size: 30px; font-weight: 400; }
.cw-stats span { font-size: 10px; color: var(--cw-muted); letter-spacing: .10em; text-transform: uppercase; }

.cw-image-break {
  min-height: 72vh;
  background-color: #d8d3ca;
  background-size: cover;
  background-position: center;
  position: relative;
}
.cw-image-break:after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.36)); }
.cw-image-caption {
  position: absolute; z-index: 2; left: 36px; bottom: 28px;
  color: rgba(255,255,255,.8); font-size: 9px; letter-spacing: .16em;
}

.cw-section-head { margin-bottom: 64px; }
.cw-section-head .cw-section-index { margin-bottom: 18px; }
.cw-section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }

.cw-stay { background: var(--cw-paper); }
.cw-stay-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.cw-stay-copy .cw-lead { font-size: clamp(20px, 2vw, 30px); }
.cw-feature-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 30px 0 36px; color: var(--cw-muted); font-size: 12px; }
.cw-feature-row span:before { content: '—'; margin-right: 8px; }
.cw-stay-collage { position: relative; min-height: 600px; }
.cw-photo { position: absolute; margin: 0; overflow: hidden; background: #ded8ce; }
.cw-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--cw-ease); }
.cw-photo:hover img { transform: scale(1.025); }
.cw-photo-large { inset: 0 13% 12% 0; }
.cw-photo-small { width: 40%; height: 38%; right: 0; bottom: 0; border: 10px solid var(--cw-paper); }

.cw-location { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 760px; background: var(--cw-dark); }
.cw-location-media { background-position: center; background-size: cover; min-height: 620px; }
.cw-location-copy { padding: 100px 9vw; display: flex; align-items: center; color: var(--cw-white); }
.cw-location-copy .cw-section-index { color: rgba(255,255,255,.45); margin-bottom: 22px; }
.cw-location-text { max-width: 590px; margin: 36px 0 28px; color: rgba(255,255,255,.72); line-height: 1.75; font-size: 15px; }
.cw-destinations { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.cw-destinations span { padding: 9px 12px; border: 1px solid rgba(255,255,255,.18); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.cw-facilities-preview { background: var(--cw-bg); }
.cw-facilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--cw-line); border-left: 1px solid var(--cw-line); }
.cw-facility-card { min-height: 190px; padding: 26px; border-right: 1px solid var(--cw-line); border-bottom: 1px solid var(--cw-line); position: relative; transition: background .3s ease, color .3s ease; }
.cw-facility-card:hover { background: var(--cw-dark); color: var(--cw-white); }
.cw-card-no { display: block; margin-bottom: 62px; font-size: 9px; color: var(--cw-muted); letter-spacing: .12em; }
.cw-facility-card:hover .cw-card-no { color: rgba(255,255,255,.5); }
.cw-facility-card h3 { margin: 0; font-family: Georgia, serif; font-weight: 400; font-size: 23px; line-height: 1.22; }

.cw-gallery-preview { background: var(--cw-paper); }
.cw-home-gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 130px; gap: 12px; }
.cw-home-gallery-item { position: relative; overflow: hidden; background: #ddd7ce; }
.cw-home-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--cw-ease), filter .7s var(--cw-ease); }
.cw-home-gallery-item:hover img { transform: scale(1.035); filter: brightness(.78); }
.cw-home-gallery-item span { position: absolute; right: 16px; bottom: 14px; color: #fff; font-size: 10px; letter-spacing: .12em; opacity: 0; transform: translateY(8px); transition: .3s var(--cw-ease); }
.cw-home-gallery-item:hover span { opacity: 1; transform: translateY(0); }
.cw-home-gallery-item-1 { grid-column: span 7; grid-row: span 4; }
.cw-home-gallery-item-2 { grid-column: span 5; grid-row: span 2; }
.cw-home-gallery-item-3 { grid-column: span 5; grid-row: span 2; }
.cw-home-gallery-item-4 { grid-column: span 4; grid-row: span 3; }
.cw-home-gallery-item-5 { grid-column: span 4; grid-row: span 3; }
.cw-home-gallery-item-6 { grid-column: span 4; grid-row: span 3; }

.cw-final-cta { background: var(--cw-dark); color: var(--cw-white); padding: 124px 0; }
.cw-final-cta-inner { max-width: 1060px; }
.cw-final-cta h2 { margin: 16px 0 24px; font-family: Georgia, serif; font-size: clamp(48px, 6vw, 88px); line-height: .98; font-weight: 400; letter-spacing: -.045em; }
.cw-final-cta p:not(.cw-kicker) { max-width: 620px; color: rgba(255,255,255,.65); line-height: 1.7; }
.cw-final-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }

/* Internal pages */
.cw-page-main { min-height: 70vh; }
.cw-page-hero { padding: 176px 0 72px; background: var(--cw-bg-soft); border-bottom: 1px solid var(--cw-line); }
.cw-page-hero .cw-kicker { margin-bottom: 20px; }
.cw-page-hero h1 { margin: 0; max-width: 1000px; font-family: Georgia, serif; font-size: clamp(54px, 7vw, 100px); line-height: .92; font-weight: 400; letter-spacing: -.05em; }
.cw-page-hero-copy { max-width: 560px; margin: 24px 0 0; color: var(--cw-muted); line-height: 1.6; }
.cw-page-content { padding: 92px 0 118px; }
.cw-page-grid { display: grid; grid-template-columns: 240px 1fr; gap: 70px; }
.cw-page-aside { position: sticky; top: 120px; align-self: start; padding-top: 8px; border-top: 1px solid var(--cw-line); }
.cw-page-aside span { display: block; margin: 14px 0 5px; font-size: 11px; letter-spacing: .14em; }
.cw-page-aside p { margin: 0; color: var(--cw-muted); font-size: 12px; }
.cw-entry-content { max-width: 900px; font-size: 17px; line-height: 1.75; }
.cw-entry-content > *:first-child { margin-top: 0; }
.cw-entry-content h1,
.cw-entry-content h2,
.cw-entry-content h3 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.025em; line-height: 1.08; }
.cw-entry-content h2 { font-size: clamp(34px, 4vw, 58px); margin: 0 0 34px; }
.cw-entry-content h3 { font-size: 26px; }
.cw-entry-content p { margin: 0 0 24px; }
.cw-entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.cw-entry-content img { width: 100%; margin: 34px 0; }
.cw-entry-content iframe { max-width: 100%; }
.cw-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.cw-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.cw-narrow { max-width: 920px; }

/* Facilities existing list -> premium cards */
.cw-page-facilities .cw-entry-content > ul,
.cw-page-facilities .cw-entry-content > ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--cw-line);
  border-left: 1px solid var(--cw-line);
}
.cw-page-facilities .cw-entry-content > ul > li,
.cw-page-facilities .cw-entry-content > ol > li {
  min-height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  border-right: 1px solid var(--cw-line);
  border-bottom: 1px solid var(--cw-line);
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.35;
}

/* VikBooking / forms generic compatibility */
.cw-entry-content form,
.cw-entry-content .vbo-search-mainview,
.cw-entry-content .vikbooking,
.cw-entry-content [class*="vbo-"] { max-width: 100%; }
.cw-entry-content input,
.cw-entry-content textarea,
.cw-entry-content select {
  max-width: 100%;
  border: 1px solid var(--cw-line);
  background: #fff;
  color: var(--cw-ink);
  padding: 12px 14px;
}
.cw-entry-content button,
.cw-entry-content input[type="submit"] {
  border: 1px solid var(--cw-ink);
  background: var(--cw-ink);
  color: #fff;
  padding: 12px 16px;
  cursor: pointer;
}

/* Gallery */
.cw-gallery-hero { background: #ded9cf; }
.cw-gallery-section { padding: 56px 0 120px; background: var(--cw-paper); }
.cw-gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 12px; }
.cw-gallery-item { position: relative; min-height: 300px; overflow: hidden; background: #ded8cf; }
.cw-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s var(--cw-ease), filter .75s var(--cw-ease); }
.cw-gallery-item:hover img { transform: scale(1.035); filter: brightness(.78); }
.cw-gallery-view { position: absolute; right: 16px; bottom: 14px; color: #fff; font-size: 10px; letter-spacing: .12em; opacity: 0; transform: translateY(8px); transition: .3s ease; }
.cw-gallery-item:hover .cw-gallery-view { opacity: 1; transform: translateY(0); }
.cw-gallery-pattern-1 { grid-column: span 7; grid-row: span 2; min-height: 620px; }
.cw-gallery-pattern-2 { grid-column: span 5; min-height: 304px; }
.cw-gallery-pattern-3 { grid-column: span 5; min-height: 304px; }
.cw-gallery-pattern-4 { grid-column: span 4; min-height: 420px; }
.cw-gallery-pattern-5 { grid-column: span 4; min-height: 420px; }
.cw-gallery-pattern-6 { grid-column: span 4; min-height: 420px; }
.cw-gallery-pattern-7 { grid-column: span 12; min-height: 520px; }

/* Footer */
.cw-footer { background: #0f0f0d; color: var(--cw-white); }
.cw-footer-top {
  width: min(calc(100% - 72px), var(--cw-shell));
  margin: 0 auto;
  padding: 86px 0 72px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, .7fr);
  gap: 44px;
}
.cw-footer-brand h2 { margin: 10px 0 16px; font-family: Georgia, serif; font-size: 44px; font-weight: 400; letter-spacing: -.035em; }
.cw-footer-brand p:not(.cw-kicker) { max-width: 390px; margin: 0; color: rgba(255,255,255,.54); line-height: 1.65; }
.cw-footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.6; }
.cw-footer-col p { margin: 0; }
.cw-footer-label { color: rgba(255,255,255,.36); font-size: 9px; letter-spacing: .15em; margin-bottom: 8px; }
.cw-footer-col a:hover { color: #fff; }
.cw-footer-bottom {
  width: min(calc(100% - 72px), var(--cw-shell));
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0 26px;
  display: flex; justify-content: space-between; gap: 20px;
  font-size: 10px; color: rgba(255,255,255,.46); letter-spacing: .05em;
}
.cw-footer-bottom strong { color: #fff; }

/* Lightbox */
.cw-lightbox {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(8,8,7,.96);
  display: flex; align-items: center; justify-content: center;
  padding: 54px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.cw-lightbox.is-open { opacity: 1; visibility: visible; }
.cw-lightbox img { max-width: min(92vw, 1500px); max-height: 86vh; width: auto; height: auto; object-fit: contain; }
.cw-lightbox-close { position: absolute; top: 20px; right: 24px; border: 0; background: transparent; color: #fff; font-size: 42px; font-weight: 200; cursor: pointer; }

.cw-error-page { padding: 220px 0 140px; min-height: 75vh; }
.cw-error-page h1 { max-width: 900px; margin: 18px 0; font-family: Georgia, serif; font-weight: 400; font-size: clamp(54px, 8vw, 110px); line-height: .9; }
.cw-error-page p { color: var(--cw-muted); margin-bottom: 34px; }
.cw-post-card { padding: 38px 0; border-bottom: 1px solid var(--cw-line); }
.cw-post-card h2 { font-family: Georgia, serif; font-size: 34px; font-weight: 400; }

/* Motion */
.cw-reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--cw-ease), transform .75s var(--cw-ease); }
.cw-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .cw-reveal { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .cw-header-inner { grid-template-columns: 220px 1fr auto; gap: 18px; }
  .cw-nav { display: none; }
  .cw-header-actions .cw-language { display: none; }
  .cw-header-actions .cw-header-cta { display: none; }
  .cw-menu-toggle { display: block; justify-self: end; }
  .cw-mobile-panel {
    display: block;
    position: fixed; inset: 82px 0 auto 0;
    height: calc(100svh - 82px);
    background: var(--cw-bg);
    color: var(--cw-ink);
    transform: translateX(100%);
    transition: transform .45s var(--cw-ease);
    padding: 42px 34px;
  }
  .cw-mobile-panel.is-open { transform: translateX(0); }
  .cw-mobile-panel .cw-menu { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
  .cw-mobile-panel .cw-menu li { width: 100%; border-bottom: 1px solid var(--cw-line); }
  .cw-mobile-panel .cw-menu a { display: block; padding: 18px 0; font-family: Georgia, serif; font-size: 30px; font-weight: 400; letter-spacing: -.02em; }
  .cw-mobile-contact { display: inline-flex; margin-top: 34px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
  .cw-editorial-grid { grid-template-columns: 160px 1fr; gap: 38px; }
  .cw-stay-grid { gap: 46px; }
  .cw-location-copy { padding: 80px 7vw; }
  .cw-footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .cw-footer-col:last-child { grid-column: 2 / 3; }
}

@media (max-width: 820px) {
  .cw-shell { width: min(calc(100% - 34px), var(--cw-shell)); }
  .cw-header-inner { width: calc(100% - 28px); min-height: 72px; grid-template-columns: 1fr auto; }
  .cw-mobile-panel { top: 72px; height: calc(100svh - 72px); }
  .cw-brand-name { font-size: 14px; }
  .cw-brand-meta { font-size: 8px; }
  .cw-hero { min-height: 92svh; }
  .cw-hero-content { padding: 130px 0 116px; }
  .cw-hero-title { font-size: clamp(49px, 14vw, 74px); line-height: .94; }
  .cw-hero-copy { max-width: 92%; font-size: 14px; }
  .cw-hero-actions { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cw-hero-foot { bottom: 20px; gap: 9px; flex-wrap: wrap; font-size: 8px; }
  .cw-hero-foot span + span:before { margin-right: 9px; }
  .cw-section { padding: 86px 0; }
  .cw-editorial-grid { display: block; }
  .cw-editorial-grid .cw-section-index { margin-bottom: 28px; }
  .cw-intro .cw-lead { margin-top: 32px; }
  .cw-stats { grid-template-columns: 1fr; }
  .cw-stats > div,
  .cw-stats > div:nth-child(2),
  .cw-stats > div:last-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--cw-line); }
  .cw-stats > div:last-child { border-bottom: 0; }
  .cw-image-break { min-height: 56vh; }
  .cw-stay-grid { grid-template-columns: 1fr; }
  .cw-stay-collage { min-height: 510px; margin-top: 16px; }
  .cw-photo-large { inset: 0 10% 13% 0; }
  .cw-photo-small { width: 42%; height: 34%; border-width: 7px; }
  .cw-location { grid-template-columns: 1fr; }
  .cw-location-media { min-height: 56vh; }
  .cw-location-copy { padding: 78px 24px; }
  .cw-section-head-row { display: block; }
  .cw-section-head-row > .cw-text-link { margin-top: 24px; }
  .cw-facilities-grid { grid-template-columns: 1fr; }
  .cw-facility-card { min-height: 150px; }
  .cw-card-no { margin-bottom: 38px; }
  .cw-home-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; gap: 8px; }
  .cw-home-gallery-item-1,
  .cw-home-gallery-item-2,
  .cw-home-gallery-item-3,
  .cw-home-gallery-item-4,
  .cw-home-gallery-item-5,
  .cw-home-gallery-item-6 { grid-column: span 1; grid-row: span 1; }
  .cw-home-gallery-item-1 { grid-column: span 2; grid-row: span 2; }
  .cw-final-cta { padding: 88px 0; }
  .cw-final-actions { flex-direction: column; align-items: flex-start; }
  .cw-page-hero { padding: 132px 0 54px; }
  .cw-page-hero h1 { font-size: clamp(48px, 14vw, 76px); }
  .cw-page-content { padding: 62px 0 90px; }
  .cw-page-grid { grid-template-columns: 1fr; gap: 38px; }
  .cw-page-aside { position: static; }
  .cw-entry-content { font-size: 16px; }
  .cw-page-facilities .cw-entry-content > ul,
  .cw-page-facilities .cw-entry-content > ol { grid-template-columns: 1fr; }
  .cw-gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cw-gallery-pattern-1,
  .cw-gallery-pattern-2,
  .cw-gallery-pattern-3,
  .cw-gallery-pattern-4,
  .cw-gallery-pattern-5,
  .cw-gallery-pattern-6,
  .cw-gallery-pattern-7 { grid-column: span 1; min-height: 280px; }
  .cw-gallery-pattern-1,
  .cw-gallery-pattern-7 { grid-column: span 2; min-height: 460px; }
  .cw-footer-top { width: calc(100% - 34px); grid-template-columns: 1fr 1fr; padding: 68px 0 54px; }
  .cw-footer-brand { grid-column: 1 / -1; }
  .cw-footer-col:last-child { grid-column: auto; }
  .cw-footer-bottom { width: calc(100% - 34px); flex-direction: column; }
}

@media (max-width: 520px) {
  .cw-display { font-size: 44px; }
  .cw-hero-title { font-size: 50px; }
  .cw-button { width: 100%; min-width: 0; }
  .cw-stay-collage { min-height: 400px; }
  .cw-home-gallery { grid-auto-rows: 175px; }
  .cw-gallery-grid { grid-template-columns: 1fr; }
  .cw-gallery-pattern-1,
  .cw-gallery-pattern-2,
  .cw-gallery-pattern-3,
  .cw-gallery-pattern-4,
  .cw-gallery-pattern-5,
  .cw-gallery-pattern-6,
  .cw-gallery-pattern-7 { grid-column: span 1; min-height: 320px; }
  .cw-footer-top { grid-template-columns: 1fr; }
  .cw-footer-brand,
  .cw-footer-col:last-child { grid-column: auto; }
  .cw-lightbox { padding: 20px; }
}

/* =========================================================
   V2 — CODEWAVE010 INTERNAL PAGE SYSTEM
   ========================================================= */

/* Internal pages must never inherit the transparent home header. */
body:not(.home) .cw-header {
  background: rgba(243,240,233,.97);
  color: var(--cw-ink);
  box-shadow: 0 1px 0 var(--cw-line);
  backdrop-filter: blur(14px);
}
body:not(.home) .cw-header.is-scrolled {
  background: rgba(243,240,233,.97);
  color: var(--cw-ink);
}
body:not(.home) .cw-brand,
body:not(.home) .cw-menu a,
body:not(.home) .cw-header-cta,
body:not(.home) .cw-menu-toggle { color: var(--cw-ink); }

/* More confident navigation rhythm. */
.cw-header-inner { min-height: 78px; }
.cw-menu { gap: clamp(18px, 1.65vw, 30px); }
.cw-menu a { font-size: 10.5px; letter-spacing: .075em; text-transform: uppercase; }
.cw-menu .current-menu-item > a:after,
.cw-menu .current_page_item > a:after { right: 0; }
.cw-brand-name { letter-spacing: .13em; }
.cw-header-cta { transition: background .25s ease, color .25s ease; }
.cw-header-cta:hover { background: currentColor; color: var(--cw-bg); }

/* GTranslate: remove the stock-widget feeling as much as the select allows. */
.cw-language select,
.cw-language .gt_selector {
  min-width: 132px !important;
  height: 40px !important;
  padding: 0 34px 0 12px !important;
  border: 1px solid currentColor !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  font-size: 11px !important;
  letter-spacing: .04em !important;
}
body.home:not(.scrolled) .cw-language select,
body.home:not(.scrolled) .cw-language .gt_selector { color: #222 !important; background-color: rgba(255,255,255,.9) !important; }

/* Internal hero: editorial grid, visible navbar, signature hairline. */
.cw-internal-hero {
  padding: 156px 0 74px;
  background:
    linear-gradient(90deg, rgba(23,23,21,.035) 1px, transparent 1px) 0 0 / 25% 100%,
    var(--cw-bg-soft);
  border-top: 1px solid var(--cw-line);
}
.cw-internal-hero-grid {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 64px;
  align-items: end;
}
.cw-internal-index {
  padding-bottom: 9px;
  color: var(--cw-muted);
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.cw-internal-index i {
  display: block;
  width: 72px;
  height: 1px;
  margin-top: 16px;
  background: var(--cw-ink);
  opacity: .32;
}
.cw-internal-title-wrap .cw-kicker { margin-bottom: 16px; }
.cw-internal-title-wrap h1 {
  max-width: 1120px;
  font-size: clamp(58px, 7.2vw, 108px);
  letter-spacing: -.058em;
  line-height: .88;
}

/* Shared CodeWave statement block. */
.cw-page-statement {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: start;
  margin-bottom: 70px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--cw-line);
}
.cw-page-statement h2,
.cw-contact-intro h2,
.cw-location-page-copy h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.052em;
  line-height: .95;
}
.cw-page-statement h2 { font-size: clamp(46px, 5.4vw, 78px); }
.cw-page-statement h2 em,
.cw-contact-intro h2 em,
.cw-location-page-copy h2 em { color: var(--cw-accent); font-weight: 400; }
.cw-page-statement > p:last-child {
  margin: 4px 0 0;
  color: var(--cw-muted);
  font-size: 14px;
  line-height: 1.75;
}

/* Facilities — proper system instead of a long old-school list. */
.cw-facilities-page-v2 { padding-top: 82px; }
.cw-facilities-full-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid var(--cw-line);
  border-left: 1px solid var(--cw-line);
}
.cw-facility-full-card {
  min-height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 26px 26px;
  border-right: 1px solid var(--cw-line);
  border-bottom: 1px solid var(--cw-line);
  transition: background .28s var(--cw-ease), color .28s var(--cw-ease), transform .28s var(--cw-ease);
}
.cw-facility-full-card:hover {
  background: var(--cw-dark);
  color: var(--cw-white);
  transform: translateY(-2px);
}
.cw-facility-full-card .cw-card-no { margin: 0; }
.cw-facility-full-card h3 {
  margin: 0;
  max-width: 92%;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(19px, 1.55vw, 25px);
  line-height: 1.22;
}
.cw-facility-full-card.is-wide {
  grid-column: span 3;
  min-height: 150px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: start;
}
.cw-facility-full-card.is-wide h3 { max-width: 1050px; font-size: 18px; line-height: 1.55; }

/* Contact — cleaner, intentional, commercial. */
.cw-contact-v2 { padding: 86px 0 118px; }
.cw-contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; align-items: start; }
.cw-contact-intro { position: sticky; top: 126px; }
.cw-contact-intro .cw-section-index { margin-bottom: 18px; }
.cw-contact-intro h2 { font-size: clamp(54px, 6vw, 88px); }
.cw-contact-intro > p:last-child { max-width: 430px; margin: 28px 0 0; color: var(--cw-muted); line-height: 1.75; }
.cw-contact-cards { border-top: 1px solid var(--cw-line); }
.cw-contact-card {
  min-height: 178px;
  display: grid;
  grid-template-columns: 125px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--cw-line);
  transition: padding .3s var(--cw-ease), background .3s ease, color .3s ease;
}
.cw-contact-card:hover { padding-left: 18px; padding-right: 18px; background: var(--cw-bg-soft); }
.cw-contact-card > span { font-size: 9px; letter-spacing: .15em; color: var(--cw-muted); }
.cw-contact-card strong { font-family: Georgia, serif; font-size: clamp(23px, 2.25vw, 34px); font-weight: 400; line-height: 1.15; overflow-wrap: anywhere; }
.cw-contact-card i { font-style: normal; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.cw-contact-card-dark { margin-top: 28px; padding: 30px 24px; background: var(--cw-dark); color: var(--cw-white); border-bottom: 0; }
.cw-contact-card-dark:hover { background: #26251f; padding-left: 34px; padding-right: 34px; }
.cw-contact-card-dark > span { color: rgba(255,255,255,.5); }

/* Stay page — preserve editor content, elevate the presentation. */
.cw-stay-page-v2 { padding: 86px 0 130px; background: var(--cw-paper); }
.cw-stay-page-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; align-items: center; }
.cw-stay-page-copy .cw-section-index { margin-bottom: 28px; }
.cw-stay-page-copy .cw-entry-content { max-width: 560px; }
.cw-stay-page-copy .cw-entry-content h2 { font-size: clamp(36px, 4vw, 58px); }
.cw-stay-page-copy .cw-entry-content p { font-family: Georgia, serif; font-size: clamp(21px, 2vw, 30px); line-height: 1.5; }
.cw-stay-page-media { position: relative; min-height: 610px; }
.cw-stay-page-main-img { position: absolute; inset: 0 11% 8% 0; width: 89%; height: 92%; object-fit: cover; }
.cw-stay-page-detail-img { position: absolute; right: 0; bottom: 0; width: 38%; height: 34%; object-fit: cover; border: 9px solid var(--cw-paper); }

/* Location page — stronger dark/cream CodeWave split. */
.cw-location-page-v2 { display: grid; grid-template-columns: 1.06fr .94fr; min-height: 760px; background: var(--cw-dark); color: var(--cw-white); }
.cw-location-page-media { min-height: 700px; background-size: cover; background-position: center; }
.cw-location-page-copy { display: flex; align-items: center; padding: 100px clamp(42px, 7vw, 110px); }
.cw-location-page-copy .cw-section-index { margin-bottom: 22px; color: rgba(255,255,255,.44); }
.cw-location-page-copy h2 { font-size: clamp(54px, 5.5vw, 84px); }
.cw-entry-content-dark { margin-top: 34px; color: rgba(255,255,255,.74); font-size: 15px; line-height: 1.8; }
.cw-entry-content-dark h2,
.cw-entry-content-dark h3 { color: var(--cw-white); }
.cw-entry-content-dark a { color: var(--cw-white); }

/* Hotel page — asymmetric editorial instead of generic page template. */
.cw-hotel-page-v2 { padding: 92px 0 128px; }
.cw-hotel-editorial { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 64px; }
.cw-hotel-mark { border-top: 1px solid var(--cw-ink); padding-top: 18px; position: sticky; top: 126px; align-self: start; }
.cw-hotel-mark span { font-family: Georgia, serif; font-size: 28px; }
.cw-hotel-mark p { margin: 12px 0 0; color: var(--cw-muted); font-size: 9px; line-height: 1.6; letter-spacing: .15em; }
.cw-hotel-copy { max-width: 900px; }
.cw-hotel-copy p { max-width: 820px; font-family: Georgia, serif; font-size: clamp(23px, 2.25vw, 33px); line-height: 1.48; }
.cw-hotel-copy p + p { margin-top: 30px; }

/* Generic internal content also gets a more deliberate rhythm. */
.cw-page-grid { grid-template-columns: 220px 1fr; gap: 64px; }
.cw-page-aside { top: 126px; }
.cw-entry-content { color: #292722; }

/* Slight home polish from live preview. */
.cw-hero-title { font-size: clamp(52px, 6.5vw, 100px); line-height: .93; max-width: 980px; }
.cw-photo-small { width: 35%; height: 31%; right: 1%; bottom: 1%; border-width: 8px; }

@media (max-width: 1100px) {
  .cw-internal-hero-grid,
  .cw-hotel-editorial { grid-template-columns: 170px 1fr; gap: 38px; }
  .cw-page-statement { grid-template-columns: 170px 1fr; }
  .cw-page-statement > p:last-child { grid-column: 2; }
  .cw-facilities-full-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cw-facility-full-card.is-wide { grid-column: span 2; }
  .cw-contact-grid,
  .cw-stay-page-grid { gap: 52px; }
}

@media (max-width: 820px) {
  body:not(.home) .cw-header { min-height: 72px; }
  .cw-internal-hero { padding: 116px 0 54px; background-size: 50% 100%; }
  .cw-internal-hero-grid { display: block; }
  .cw-internal-index { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
  .cw-internal-index i { display: inline-block; width: 46px; margin: 0; }
  .cw-internal-title-wrap h1 { font-size: clamp(50px, 17vw, 76px); line-height: .92; }

  .cw-page-statement { display: block; margin-bottom: 44px; padding-bottom: 38px; }
  .cw-page-statement .cw-section-index { margin-bottom: 20px; }
  .cw-page-statement > p:last-child { margin-top: 24px; }

  .cw-facilities-page-v2 { padding: 64px 0 92px; }
  .cw-facilities-full-grid { grid-template-columns: 1fr; }
  .cw-facility-full-card,
  .cw-facility-full-card.is-wide { grid-column: auto; min-height: 148px; display: flex; }
  .cw-facility-full-card.is-wide h3 { font-size: 17px; }

  .cw-contact-v2 { padding: 64px 0 94px; }
  .cw-contact-grid { grid-template-columns: 1fr; gap: 54px; }
  .cw-contact-intro { position: static; }
  .cw-contact-card { grid-template-columns: 1fr; gap: 14px; min-height: 0; padding: 26px 0; }
  .cw-contact-card i { width: max-content; }
  .cw-contact-card-dark { padding: 28px 22px; }

  .cw-stay-page-v2 { padding: 64px 0 96px; }
  .cw-stay-page-grid { grid-template-columns: 1fr; gap: 48px; }
  .cw-stay-page-media { min-height: 510px; }
  .cw-stay-page-main-img { inset: 0 8% 10% 0; width: 92%; height: 90%; }
  .cw-stay-page-detail-img { width: 42%; height: 31%; border-width: 6px; }

  .cw-location-page-v2 { grid-template-columns: 1fr; }
  .cw-location-page-media { min-height: 54vh; }
  .cw-location-page-copy { padding: 72px 24px 82px; }

  .cw-hotel-page-v2 { padding: 62px 0 94px; }
  .cw-hotel-editorial { grid-template-columns: 1fr; gap: 38px; }
  .cw-hotel-mark { position: static; }
  .cw-hotel-copy p { font-size: clamp(21px, 6.5vw, 28px); }
}

/* =========================================================
   V3 — MOBILE ART DIRECTION / ESPA / GALLERY VIEWER
   ========================================================= */

/* Sitewide ESPA requirement: visible, clean, and separated from the design. */
.cw-espa-strip {
  background: #fff;
  border-top: 1px solid var(--cw-line);
  color: var(--cw-ink);
}
.cw-espa-inner {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.cw-espa-copy { max-width: 390px; }
.cw-espa-copy .cw-section-index { margin-bottom: 9px; }
.cw-espa-copy p { margin: 0; color: var(--cw-muted); font-size: 12px; line-height: 1.55; }
.cw-espa-inner img { width: min(100%, 618px); height: auto; object-fit: contain; }

/* Gallery viewer — intentionally feels like a visual product, not a plugin. */
.cw-lightbox {
  display: grid;
  grid-template-columns: 92px minmax(0,1fr) 92px;
  grid-template-rows: 54px minmax(0,1fr);
  align-items: center;
  padding: 18px 24px 30px;
  touch-action: pan-y;
}
.cw-lightbox-topbar {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: center;
  color: rgba(255,255,255,.62);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
}
.cw-lightbox-counter { color: #fff; }
.cw-lightbox-hint { opacity: .55; }
.cw-lightbox-stage {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.cw-lightbox-stage img,
.cw-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  max-height: calc(100svh - 150px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity .16s ease, transform .16s ease;
}
.cw-lightbox-stage img.is-changing { opacity: .25; transform: scale(.99); }
.cw-lightbox-stage figcaption {
  min-height: 14px;
  color: rgba(255,255,255,.48);
  font-size: 10px;
  letter-spacing: .04em;
}
.cw-lightbox-nav {
  grid-row: 2;
  width: 60px;
  height: 60px;
  justify-self: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.cw-lightbox-nav:hover { background: #fff; color: #111; border-color: #fff; transform: scale(1.04); }
.cw-lightbox-prev { grid-column: 1; }
.cw-lightbox-next { grid-column: 3; }
.cw-lightbox-close { z-index: 2; top: 14px; right: 22px; }

/* Mobile panel — more CodeWave010, less giant default menu. */
@media (max-width: 1100px) {
  .cw-mobile-panel {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0;
    background:
      linear-gradient(90deg, rgba(23,23,21,.045) 1px, transparent 1px) 0 0 / 25% 100%,
      var(--cw-bg);
  }
  .cw-mobile-panel-inner {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 28px 34px 30px;
  }
  .cw-mobile-panel-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--cw-line);
    color: var(--cw-muted);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .15em;
  }
  .cw-mobile-nav { flex: 1; }
  .cw-mobile-panel .cw-menu { counter-reset: cw-mobile-menu; }
  .cw-mobile-panel .cw-menu li {
    position: relative;
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    counter-increment: cw-mobile-menu;
  }
  .cw-mobile-panel .cw-menu li:before {
    content: '0' counter(cw-mobile-menu);
    color: var(--cw-muted);
    font-size: 8px;
    letter-spacing: .13em;
  }
  .cw-mobile-panel .cw-menu a {
    padding: 17px 0 18px;
    font-size: clamp(24px, 7.5vw, 32px);
    line-height: 1;
    text-transform: uppercase;
  }
  .cw-mobile-panel-actions {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 12px;
    padding-top: 24px;
  }
  .cw-mobile-language,
  .cw-mobile-contact {
    min-height: 78px;
    border: 1px solid var(--cw-line);
    padding: 12px 13px;
  }
  .cw-mobile-language { display: flex; flex-direction: column; justify-content: space-between; }
  .cw-mobile-action-label { color: var(--cw-muted); font-size: 8px; letter-spacing: .14em; }
  .cw-mobile-language select,
  .cw-mobile-language .gt_selector {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 32px !important;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--cw-ink) !important;
    box-shadow: none !important;
  }
  .cw-mobile-contact {
    margin: 0;
    border-bottom: 1px solid var(--cw-line);
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    align-items: end;
  }
  .cw-mobile-contact span { grid-column: 1 / -1; color: var(--cw-muted); font-size: 8px; letter-spacing: .14em; }
  .cw-mobile-contact strong { font-family: Georgia, serif; font-size: 17px; font-weight: 400; }
  .cw-mobile-contact i { font-style: normal; font-size: 14px; }
}

@media (max-width: 820px) {
  /* Mobile home should feel deliberately composed rather than a shrunken desktop. */
  body.home:not(.scrolled) .cw-header { background: linear-gradient(180deg, rgba(10,10,8,.42), rgba(10,10,8,0)); }
  .cw-hero { min-height: 100svh; }
  .cw-hero:before { background-position: 56% center; }
  .cw-hero-shade {
    background:
      linear-gradient(180deg, rgba(8,8,7,.46) 0%, rgba(8,8,7,.10) 30%, rgba(8,8,7,.84) 100%),
      linear-gradient(90deg, rgba(8,8,7,.34) 0%, rgba(8,8,7,0) 90%);
  }
  .cw-hero-content { padding: 126px 0 105px; }
  .cw-hero-title {
    max-width: 100%;
    margin-top: 16px;
    margin-bottom: 22px;
    font-size: clamp(43px, 12.6vw, 62px);
    line-height: .92;
    letter-spacing: -.047em;
  }
  .cw-hero-copy { font-size: 13.5px; line-height: 1.55; }
  .cw-hero-actions { margin-top: 26px; gap: 15px; }
  .cw-hero-foot { display: none; }
  .cw-mobile-panel-inner { padding-left: 20px; padding-right: 20px; }
  .cw-mobile-panel-actions { grid-template-columns: 1fr; }

  .cw-espa-inner { min-height: 0; display: block; padding-top: 28px; padding-bottom: 28px; }
  .cw-espa-copy { margin-bottom: 18px; }
  .cw-espa-inner img { width: 100%; max-width: 618px; }

  .cw-lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 42px minmax(0,1fr) 62px;
    padding: 10px 14px 16px;
  }
  .cw-lightbox-topbar { grid-column: 1 / -1; grid-row: 1; justify-content: flex-start; padding-right: 48px; }
  .cw-lightbox-stage { grid-column: 1 / -1; grid-row: 2; }
  .cw-lightbox-stage img,
  .cw-lightbox img { max-height: calc(100svh - 135px); }
  .cw-lightbox-prev,
  .cw-lightbox-next {
    grid-row: 3;
    width: 46px;
    height: 46px;
    border-radius: 0;
  }
  .cw-lightbox-prev { grid-column: 1; justify-self: start; }
  .cw-lightbox-next { grid-column: 2; justify-self: end; }
  .cw-lightbox-hint { display: none; }
}

@media (max-width: 520px) {
  .cw-header-inner { min-height: 66px; }
  .cw-mobile-panel { top: 66px; height: calc(100svh - 66px); }
  .cw-brand-name { font-size: 13px; }
  .cw-brand-meta { font-size: 7px; }
  .cw-hero-content { padding: 112px 0 88px; }
  .cw-hero-title { font-size: clamp(40px, 12.2vw, 48px); line-height: .93; }
  .cw-hero-title br { display: none; }
  .cw-hero-title em { display: block; margin-top: 3px; }
  .cw-hero-copy { max-width: 100%; }
  .cw-hero-actions .cw-text-link { display: none; }
  .cw-hero-actions .cw-button { padding-top: 14px; padding-bottom: 14px; }
  .cw-mobile-panel .cw-menu a { font-size: 25px; }
  .cw-mobile-panel-meta { padding-bottom: 18px; }
  .cw-mobile-panel-actions { padding-top: 18px; }
  .cw-lightbox-stage figcaption { display: none; }
}


/* =========================================================
   V4 — MOTION / CODEWAVE010 SIGNATURE / STRONG ESPA
   ========================================================= */

/* A thin progress signal gives the whole experience a subtle digital pulse. */
.cw-scroll-progress {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}
.cw-scroll-progress span {
  display: block;
  width: 100%; height: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: .72;
  will-change: transform;
}

/* Motion rail — editorial but unmistakably digital. */
.cw-motion-rail {
  overflow: hidden;
  border-top: 1px solid var(--cw-line);
  border-bottom: 1px solid var(--cw-line);
  background: var(--cw-dark);
  color: rgba(255,255,255,.72);
}
.cw-motion-rail-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 14px 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .20em;
  white-space: nowrap;
  animation: cwRail 26s linear infinite;
}
.cw-motion-rail-track span { color: #fff; }
.cw-motion-rail-track i { color: #b5a284; font-style: normal; }
@keyframes cwRail { to { transform: translateX(-50%); } }

/* More alive, but still premium: media reveal + hover depth. */
.cw-reveal-media { overflow: hidden; }
.cw-reveal-media:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--cw-bg-soft);
  transform: scaleX(1);
  transform-origin: right center;
  transition: transform 1s var(--cw-ease) .12s;
  pointer-events: none;
}
.cw-reveal-media.is-visible:after { transform: scaleX(0); }
.cw-image-break,
.cw-location-media { will-change: background-position; }

.cw-photo img,
.cw-home-gallery-item img,
.cw-gallery-item img,
.cw-stay-page-media img {
  transition: transform .9s var(--cw-ease), filter .6s ease;
}
.cw-photo:hover img,
.cw-home-gallery-item:hover img,
.cw-gallery-item:hover img { transform: scale(1.045); }
.cw-home-gallery-item:after,
.cw-gallery-item:after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0);
  transition: inset .35s var(--cw-ease), border-color .35s ease;
  pointer-events: none;
}
.cw-home-gallery-item:hover:after,
.cw-gallery-item:hover:after { inset: 8px; border-color: rgba(255,255,255,.55); }

/* Hero gets a restrained living surface rather than static wallpaper. */
.cw-hero:after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 0 43%, rgba(255,255,255,.055) 49%, transparent 55%);
  transform: translateX(-100%);
  animation: cwHeroSweep 9s ease-in-out 1.6s infinite;
}
@keyframes cwHeroSweep {
  0%, 72%, 100% { transform: translateX(-100%); opacity: 0; }
  80% { opacity: 1; }
  92% { transform: translateX(100%); opacity: 0; }
}
.cw-hero-title em { position: relative; }
.cw-hero-title em:after {
  content: '';
  display: block;
  width: clamp(70px, 10vw, 150px);
  height: 1px;
  margin-top: 13px;
  background: currentColor;
  opacity: .5;
  transform-origin: left;
  animation: cwLineIn 1.2s var(--cw-ease) .65s both;
}
@keyframes cwLineIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Facilities respond like interface elements, not static boxes. */
.cw-facility-card,
.cw-facility-full-card { position: relative; overflow: hidden; }
.cw-facility-card:after,
.cw-facility-full-card:not(.is-wide):after {
  content: '↗';
  position: absolute;
  top: 18px; right: 20px;
  font-size: 12px;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: opacity .28s ease, transform .28s var(--cw-ease);
}
.cw-facility-card:hover:after,
.cw-facility-full-card:not(.is-wide):hover:after { opacity: .7; transform: translate(0,0); }

/* Prominent, sitewide funding banner. It is deliberately separated from the
   visual concept so it remains unmistakable on every page. */
.cw-espa-strip {
  position: relative;
  overflow: hidden;
  background: #fff;
  color: #171715;
  border-top: 1px solid #d7d7d2;
  border-bottom: 1px solid #d7d7d2;
}
.cw-espa-strip:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23,23,21,.045) 1px, transparent 1px) 0 0 / 25% 100%;
  pointer-events: none;
}
.cw-espa-marker {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #171715;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.cw-espa-inner {
  position: relative;
  min-height: 174px;
  display: grid;
  grid-template-columns: minmax(260px,.72fr) minmax(440px,1.28fr);
  gap: 64px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
}
.cw-espa-copy { max-width: 420px; }
.cw-espa-copy .cw-section-index { margin-bottom: 10px; color: #53514d; }
.cw-espa-copy h2 {
  margin: 0 0 10px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px,2.35vw,36px);
  font-weight: 400;
  letter-spacing: -.035em;
}
.cw-espa-copy p { margin: 0; color: #706e68; font-size: 11px; line-height: 1.55; }
.cw-espa-banner-frame {
  justify-self: end;
  width: min(100%, 620px);
  padding: 15px 18px;
  border: 1px solid #d8d8d3;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.055);
}
.cw-espa-banner-frame img { width: 100%; height: auto; object-fit: contain; }

/* Internal pages: stronger CodeWave010 grid + interaction. */
.cw-internal-hero { position: relative; overflow: hidden; }
.cw-internal-hero:after {
  content: 'CW010';
  position: absolute;
  right: 4vw; bottom: -22px;
  font-size: clamp(82px, 12vw, 180px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.08em;
  color: rgba(23,23,21,.026);
  pointer-events: none;
}
.cw-page-content,
.cw-gallery-section { position: relative; }
.cw-page-content:before,
.cw-gallery-section:before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(23,23,21,.025) 1px, transparent 1px) 0 0 / 25% 100%;
}
.cw-page-content > *, .cw-gallery-section > * { position: relative; z-index: 1; }

/* Lightbox feels less like a utility and more like a photographic viewer. */
.cw-lightbox { background: rgba(7,7,6,.985); }
.cw-lightbox-stage:before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.035), transparent 48%);
  pointer-events: none;
}
.cw-lightbox-stage { position: relative; }
.cw-lightbox-nav { backdrop-filter: blur(10px); }

@media (hover:hover) and (pointer:fine) {
  .cw-text-link { transition: letter-spacing .25s var(--cw-ease), opacity .25s ease; }
  .cw-text-link:hover { letter-spacing: .115em; }
}

@media (max-width: 820px) {
  .cw-motion-rail-track { animation-duration: 20s; padding: 11px 0; font-size: 8px; gap: 18px; }
  .cw-hero:after { display: none; }
  .cw-hero-title em:after { margin-top: 9px; width: 78px; }
  .cw-reveal-media:after { transition-duration: .72s; }
  .cw-home-gallery-item:hover img,
  .cw-gallery-item:hover img { transform: none; }

  .cw-espa-marker {
    position: static;
    width: 100%; height: 28px;
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 7px;
  }
  .cw-espa-inner {
    display: block;
    min-height: 0;
    padding-top: 24px;
    padding-bottom: 26px;
  }
  .cw-espa-copy { margin-bottom: 18px; }
  .cw-espa-copy h2 { font-size: 25px; }
  .cw-espa-banner-frame { width: 100%; padding: 10px; }
}

@media (max-width: 520px) {
  .cw-espa-copy p { font-size: 10px; }
  .cw-espa-banner-frame { overflow-x: auto; }
  .cw-espa-banner-frame img { min-width: 430px; }
}

@media (prefers-reduced-motion: reduce) {
  .cw-motion-rail-track,
  .cw-hero:after,
  .cw-hero-title em:after { animation: none !important; }
  .cw-motion-rail-track { transform: none !important; }
  .cw-reveal-media:after { display: none; }
}
@media (min-width: 821px) and (prefers-reduced-motion: no-preference) {
  .cw-hero:before { transform: translateY(var(--cw-hero-y, 0px)) scale(1.02); }
}
.cw-reveal-media { position: relative; }
@media (min-width: 821px) and (prefers-reduced-motion: no-preference) {
  .cw-hero:before { animation: none; transform: translateY(var(--cw-hero-y, 0px)) scale(1.02); transition: transform .08s linear; }
}

/* =========================================================
   V5 — Brand integration + refined amenity system
   ========================================================= */

/* New identity in the header: symbol + restrained wordmark. */
.cw-brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.cw-brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 5px 12px rgba(0,0,0,.08));
}
.cw-brand-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cw-brand-name { white-space: nowrap; }
.cw-brand-meta { white-space: nowrap; }

.cw-mobile-brand-lockup { display: flex; align-items: center; gap: 11px; }
.cw-mobile-brand-lockup img { width: 44px; height: 44px; object-fit: contain; }
.cw-mobile-brand-lockup div { display: flex; flex-direction: column; gap: 3px; }
.cw-mobile-brand-lockup strong { font-size: 12px; letter-spacing: .12em; }
.cw-mobile-brand-lockup div span { font-size: 7px; letter-spacing: .16em; opacity: .56; }

/* Footer uses the complete identity. */
.cw-footer-logo {
  display: block;
  width: min(100%, 270px);
  height: auto;
  margin: -24px 0 8px -8px;
}
.cw-footer-brand p { margin-top: 0 !important; }

/* Homepage facilities: six useful categories, not a raw legacy list. */
.cw-facilities-grid-v5 {
  border: 0;
  gap: 12px;
  background: transparent;
}
.cw-facility-category {
  min-height: 250px;
  border: 1px solid var(--cw-line) !important;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255,255,255,.16);
}
.cw-facility-category:after { display: none !important; }
.cw-facility-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cw-facility-category .cw-card-no { margin: 3px 0 0; }
.cw-facility-icon {
  width: 46px;
  height: 46px;
  border: 1px solid var(--cw-line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cw-ink);
  transition: background .28s var(--cw-ease), color .28s ease, border-color .28s ease, transform .28s var(--cw-ease);
}
.cw-facility-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.cw-facility-card-copy { max-width: 92%; }
.cw-facility-meta { display: block; margin-bottom: 9px; color: var(--cw-muted); font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.cw-facility-category h3 { font-size: clamp(23px, 2vw, 30px); line-height: 1.06; }
.cw-facility-category p { margin: 14px 0 0; color: var(--cw-muted); font-size: 11px; line-height: 1.55; }
.cw-facility-category:hover { background: var(--cw-dark); color: var(--cw-white); transform: translateY(-3px); }
.cw-facility-category:hover .cw-facility-icon { color: var(--cw-white); border-color: rgba(255,255,255,.34); transform: rotate(-4deg); }
.cw-facility-category:hover .cw-facility-meta,
.cw-facility-category:hover p,
.cw-facility-category:hover .cw-card-no { color: rgba(255,255,255,.56); }

/* Facilities page: grouped, readable and much calmer than 30 raw boxes. */
.cw-facility-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.cw-facility-group {
  min-height: 390px;
  padding: 28px 30px 30px;
  border: 1px solid var(--cw-line);
  background: rgba(255,255,255,.18);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 42px;
  transition: transform .3s var(--cw-ease), background .3s ease, color .3s ease;
}
.cw-facility-group:nth-child(1),
.cw-facility-group:nth-child(4) { background: #ebe5da; }
.cw-facility-group-head { display: flex; align-items: flex-start; justify-content: space-between; }
.cw-facility-group-head .cw-card-no { margin: 4px 0 0; }
.cw-facility-group-copy { align-self: end; }
.cw-facility-group-copy .cw-facility-meta { margin-bottom: 10px; }
.cw-facility-group h3 {
  margin: 0 0 22px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(30px, 2.65vw, 43px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -.035em;
}
.cw-facility-group ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cw-line); }
.cw-facility-group li {
  position: relative;
  padding: 10px 0 10px 16px;
  border-bottom: 1px solid var(--cw-line);
  color: #555148;
  font-size: 12px;
  line-height: 1.4;
}
.cw-facility-group li:before { content: ''; position: absolute; left: 0; top: 16px; width: 4px; height: 4px; border-radius: 50%; background: var(--cw-accent); }
.cw-facility-group:hover { transform: translateY(-3px); background: var(--cw-dark); color: var(--cw-white); }
.cw-facility-group:hover .cw-facility-icon { color: var(--cw-white); border-color: rgba(255,255,255,.3); }
.cw-facility-group:hover .cw-facility-meta,
.cw-facility-group:hover .cw-card-no,
.cw-facility-group:hover li { color: rgba(255,255,255,.68); }
.cw-facility-group:hover ul,
.cw-facility-group:hover li { border-color: rgba(255,255,255,.14); }
.cw-facility-group:hover li:before { background: #d4c09d; }
.cw-facilities-note {
  margin-top: 14px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  border: 1px solid var(--cw-line);
  color: var(--cw-muted);
  font-size: 12px;
  line-height: 1.6;
}
.cw-facilities-note span { color: var(--cw-ink); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cw-facilities-note p { margin: 0; }

/* The original individual-card system is no longer used on the facilities page. */
.cw-facilities-page-v2 .cw-facilities-full-grid { display: none; }

/* Slightly calmer human copy benefits from a little more readable width. */
.cw-hero-copy { max-width: 660px; }
.cw-page-statement > p:last-child { max-width: 340px; }

@media (max-width: 1100px) {
  .cw-header-inner { grid-template-columns: 230px 1fr auto; gap: 20px; }
  .cw-brand-mark { width: 39px; height: 39px; }
  .cw-brand-name { font-size: 13px; }
  .cw-brand-meta { font-size: 7px; }
  .cw-facility-group { min-height: 360px; }
}

@media (max-width: 820px) {
  .cw-brand { gap: 7px; }
  .cw-brand-mark { width: 34px; height: 34px; }
  .cw-brand-name { font-size: 12px; }
  .cw-brand-meta { font-size: 6px; letter-spacing: .11em; }
  .cw-mobile-panel-meta { align-items: center; }
  .cw-mobile-brand-lockup img { width: 38px; height: 38px; }

  .cw-facilities-grid-v5 { grid-template-columns: 1fr; gap: 9px; }
  .cw-facility-category { min-height: 205px; padding: 20px; }
  .cw-facility-category h3 { font-size: 28px; }

  .cw-facility-groups { grid-template-columns: 1fr; gap: 10px; }
  .cw-facility-group { min-height: 0; padding: 22px 20px; gap: 34px; }
  .cw-facility-group h3 { font-size: 34px; }
  .cw-facilities-note { grid-template-columns: 1fr; gap: 8px; }

  .cw-footer-logo { width: 220px; margin-top: -12px; }
}

@media (max-width: 420px) {
  .cw-brand-mark { width: 31px; height: 31px; }
  .cw-brand-name { font-size: 11px; }
  .cw-brand-meta { display: none; }
  .cw-facility-category { min-height: 185px; }
  .cw-facility-category p { font-size: 10px; }
  .cw-facility-group h3 { font-size: 31px; }
  .cw-facility-group li { font-size: 11px; }
}

/* Footer lockup uses the new emblem with live, crisp typography. */
.cw-footer-brand-lockup { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.cw-footer-mark { width: 72px; height: 72px; object-fit: contain; flex: 0 0 auto; }
.cw-footer-brand-lockup h2 { margin: 0 0 5px; font-size: 40px; }
.cw-footer-brand-lockup span { color: rgba(255,255,255,.48); font-size: 8px; letter-spacing: .16em; }
.cw-footer-logo { display: none; }

@media (max-width: 820px) {
  .cw-footer-brand-lockup { gap: 12px; }
  .cw-footer-mark { width: 58px; height: 58px; }
  .cw-footer-brand-lockup h2 { font-size: 34px; }
}
