/* ==========================================================================
   Valley Silvertown — concept rebuild
   Palette and type follow the approved build prompt: olive / ivory / gold
   with a burgundy call to action. Serif display, clean sans for everything
   else. Compact sections, warm and residential rather than clinical.
   ========================================================================== */

:root {
  --olive-dk: #465536;
  --olive: #66704E;
  --olive-lt: #8FA06B;
  --ivory: #F6F2E9;
  --cream: #FBF8F1;
  --gold: #A78E58;
  --gold-lt: #C9B589;
  --burgundy: #8D2E31;
  --burgundy-dk: #74252A;
  --ink: #2A241F;
  --ink-2: #5A5147;
  --ink-3: #857A6C;
  --line: #DED6C7;
  --line-lt: #EBE5D9;
  --white: #FFFFFF;

  --display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1360px;
  --r: 10px;
  --shadow: 0 2px 10px rgba(42, 36, 31, .06);
  --shadow-lg: 0 14px 40px rgba(42, 36, 31, .12);
}

*, *::before, *::after { box-sizing: border-box; }

/* the UA gives figure a 40px side margin, which silently crushes every
   image tile in a grid cell — reset it before anything else */
figure, blockquote, dl, dd { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

.vs-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.vs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vs-skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--olive-dk); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r) 0;
}
.vs-skip:focus { left: 0; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--olive-dk); outline-offset: 2px; border-radius: 3px;
}

/* ------------------------------------------------------------ type ------ */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; margin: 0; line-height: 1.12; letter-spacing: -.005em; text-wrap: balance; }

.vs-h1 { font-size: clamp(38px, 5.4vw, 62px); }
.vs-h2 { font-size: clamp(30px, 3.6vw, 44px); }
.vs-h3 { font-size: clamp(21px, 2.1vw, 26px); }

.vs-kicker {
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 10px;
}
.vs-lede { font-size: 17.5px; color: var(--ink-2); max-width: 62ch; margin: 0; }
.vs-serif-sub { font-family: var(--display); font-size: clamp(19px, 2vw, 24px); color: var(--olive); font-style: italic; margin: 6px 0 0; }

/* ---------------------------------------------------------- buttons ----- */
.vs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 24px; border: none; border-radius: var(--r);
  font-family: var(--sans); font-size: 14.5px; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.vs-btn svg { flex: none; }
.vs-btn-cta { background: var(--burgundy); color: #fff; }
.vs-btn-cta:hover { background: #74252A; transform: translateY(-1px); }
.vs-btn-line { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.vs-btn-line:hover { border-color: var(--olive); color: var(--olive-dk); background: rgba(255,255,255,.6); }
.vs-btn-olive { background: var(--olive-dk); color: #fff; }
.vs-btn-olive:hover { background: #374429; transform: translateY(-1px); }
.vs-btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.vs-btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* -------------------------------------------------- utility + header ---- */
.vs-utility { background: var(--olive-dk); color: rgba(255,255,255,.9); font-size: 13px; }
.vs-utility-in { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; padding-block: 8px; }
.vs-utility a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.vs-utility a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.vs-utility svg { opacity: .8; flex: none; }

.vs-head {
  position: sticky; top: 0; z-index: 90;
  background: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.vs-head.stuck { box-shadow: 0 2px 16px rgba(42,36,31,.10); border-bottom-color: var(--line-lt); background: rgba(246,242,233,.97); backdrop-filter: blur(8px); }
.vs-head-in { display: flex; align-items: center; gap: 28px; padding-block: 14px; }

.vs-logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.vs-logo .vs-leaf { flex: none; }
.vs-logo-t b { display: block; font-family: var(--display); font-size: 26px; font-weight: 600; line-height: 1.05; letter-spacing: -.01em; color: var(--olive-dk); }
.vs-logo-t small { display: block; font-size: 11.5px; letter-spacing: .12em; color: var(--ink-3); margin-top: 1px; }
.vs-logo-light { color: #fff; }
.vs-logo-light .vs-logo-t b { color: #fff; }
.vs-logo-light .vs-logo-t small { color: rgba(255,255,255,.66); }

.vs-nav { display: flex; gap: 30px; margin-left: auto; }
.vs-nav a {
  position: relative; font-size: 15px; font-weight: 500; color: var(--ink-2);
  text-decoration: none; padding-block: 6px; transition: color .15s;
}
.vs-nav a:hover { color: var(--olive-dk); }
.vs-nav a.on { color: var(--olive-dk); font-weight: 600; }
.vs-nav a.on::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.vs-head-cta { flex: none; }

.vs-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: transparent; cursor: pointer; padding: 0; }
.vs-burger span { display: block; width: 18px; height: 1.8px; background: var(--ink); margin: 3.4px auto; border-radius: 2px; }

/* ---------------------------------------------------------- drawer ------ */
.vs-drawer { position: fixed; inset: 0; z-index: 120; }
.vs-drawer[hidden] { display: none; }
.vs-drawer-bg { position: absolute; inset: 0; background: rgba(42,36,31,.45); }
.vs-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
  background: var(--ivory); padding: 22px; display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto; box-shadow: -8px 0 40px rgba(42,36,31,.2);
  animation: vsSlide .22s ease;
}
@keyframes vsSlide { from { transform: translateX(100%); } }
.vs-drawer-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.vs-x { background: none; border: 0; font-size: 30px; line-height: 1; color: var(--ink-2); cursor: pointer; padding: 0 4px; }
.vs-drawer nav { display: flex; flex-direction: column; margin-bottom: 12px; }
.vs-drawer nav a {
  padding: 13px 4px; border-bottom: 1px solid var(--line-lt);
  font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: none;
}
.vs-drawer nav a.on { color: var(--olive-dk); font-weight: 600; }
.vs-drawer-contact { display: grid; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-lt); }
.vs-drawer-contact a { display: flex; align-items: center; gap: 9px; color: var(--ink-2); text-decoration: none; font-size: 14.5px; }

/* ------------------------------------------------------------ hero ------ */
.vs-hero { position: relative; background: var(--ivory); overflow: hidden; }
.vs-hero-in { display: grid; grid-template-columns: 40% 60%; align-items: stretch; min-height: 360px; }
.vs-hero-copy { padding: 52px 40px 56px 0; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.vs-hero-copy .vs-kicker { letter-spacing: .14em; }
/* one line on desktop only — .vs-hero clips, so nowrap would cut it on a phone */
@media (min-width: 1001px) { .vs-hero-copy .vs-kicker { white-space: nowrap; } }
.vs-hero-copy .vs-h1 { margin-bottom: 16px; }
.vs-hero-copy .vs-h1 em { font-style: normal; color: var(--olive-dk); display: block; }
.vs-hero-copy p { color: var(--ink-2); font-size: 17px; max-width: 46ch; margin: 0 0 26px; }
.vs-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.vs-hero-media { position: relative; }
.vs-hero-media img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.vs-hero-media::after {
  content: ''; position: absolute; inset: 0 auto 0 -1px; width: 22%;
  background: linear-gradient(90deg, var(--ivory) 6%, rgba(246,242,233,0) 100%);
  pointer-events: none;
}
.vs-hero-botanical { position: absolute; left: -60px; top: -30px; width: 280px; opacity: .13; pointer-events: none; z-index: 1; }

/* page heroes (inner pages) */
.vs-phero { position: relative; min-height: 340px; display: flex; align-items: flex-end; background: var(--olive-dk); overflow: hidden; }
.vs-phero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vs-phero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,38,22,.16) 0%, rgba(30,38,22,.52) 62%, rgba(30,38,22,.78) 100%);
}
.vs-phero-in { position: relative; z-index: 2; padding-block: 44px 40px; color: #fff; width: 100%; }
.vs-phero .vs-kicker { color: var(--gold-lt); }
.vs-phero h1 { color: #fff; margin-bottom: 10px; }
.vs-phero p { color: rgba(255,255,255,.88); max-width: 60ch; font-size: 17px; margin: 0; }
.vs-crumbs { font-size: 13px; color: rgba(255,255,255,.7); margin: 0 0 14px; }
.vs-crumbs a { color: rgba(255,255,255,.88); text-decoration: none; }
.vs-crumbs a:hover { text-decoration: underline; }

/* -------------------------------------------------- contact strip ------- */
.vs-strip-hold { position: relative; z-index: 5; margin-top: -34px; }
.vs-strip {
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.vs-strip > div { display: flex; align-items: center; gap: 13px; padding: 17px 22px; border-left: 1px solid var(--line-lt); min-width: 0; }
.vs-strip > div:first-child { border-left: 0; }
.vs-strip .vs-strip-ic { flex: none; color: var(--olive-dk); }
.vs-strip dt { font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 2px; }
.vs-strip dd { margin: 0; font-size: 14.5px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.vs-strip a { color: inherit; text-decoration: none; }
.vs-strip a:hover { color: var(--burgundy); text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------------- sections ----- */
.vs-sec { padding-block: 54px; }
.vs-sec.tight { padding-block: 40px; }
.vs-sec.ivory { background: var(--ivory); }
.vs-sec.white { background: var(--white); }
.vs-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.vs-sec-head p.vs-lede { margin-top: 10px; }

/* intro + values */
.vs-intro { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr); gap: 46px; align-items: start; }
.vs-intro-copy .vs-h2 { margin-bottom: 4px; }
.vs-intro-copy p { color: var(--ink-2); margin: 18px 0 22px; }
.vs-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 20px; }
.vs-value { display: flex; gap: 12px; align-items: flex-start; }
.vs-value-ic {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--olive-dk);
}
.vs-sec.ivory .vs-value-ic { background: var(--white); }
.vs-value b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.vs-value span { display: block; font-size: 13.5px; color: var(--ink-3); line-height: 1.45; margin-top: 3px; }

/* ------------------------------------------------- community strip ------ */
.vs-strip-gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3.4fr); gap: 18px; align-items: stretch; }
/* The card sets the height of the row; the tiles stretch to match it, so the
   strip reads as one band rather than a card beside a row of stamps. */
.vs-strip-card {
  background: var(--ivory); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 20px; display: flex; flex-direction: column; justify-content: center;
}
.vs-strip-card .vs-kicker { margin-bottom: 7px; }
.vs-strip-card .vs-h3 { font-size: 23px; margin: 0 0 8px; }
.vs-strip-card p { font-size: 13.8px; line-height: 1.5; color: var(--ink-2); margin: 0 0 15px; }
.vs-strip-card .vs-btn { height: 40px; padding-inline: 18px; font-size: 13.5px; align-self: flex-start; }
.vs-tiles { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 1fr; gap: 12px; }
.vs-tile { position: relative; border-radius: 12px; overflow: hidden; min-height: 150px; }
.vs-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vs-tile:hover img { transform: scale(1.05); }
.vs-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(30,38,22,0) 0%, rgba(30,38,22,.82) 100%);
  color: #fff; font-size: 13px; font-weight: 600; padding: 26px 12px 10px;
}

/* ------------------------------------------------ alternating rows ------ */
.vs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.vs-row + .vs-row { margin-top: 52px; }
.vs-row.flip .vs-row-media { order: -1; }
.vs-row-media { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.vs-row-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.vs-row-copy p { color: var(--ink-2); margin: 16px 0 0; }
.vs-checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 9px; }
.vs-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.vs-checks li::before {
  content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--olive-lt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ------------------------------------------------------- card grids ----- */
.vs-grid { display: grid; gap: 20px; }
.vs-grid-2 { grid-template-columns: repeat(2, 1fr); }
.vs-grid-3 { grid-template-columns: repeat(3, 1fr); }
.vs-grid-4 { grid-template-columns: repeat(4, 1fr); }

.vs-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.vs-sec.white .vs-card { background: var(--cream); }
.vs-card-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.vs-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vs-card-body h3 { font-size: 24px; }
.vs-card-ko { font-size: 12.5px; letter-spacing: .1em; color: var(--gold); margin: -6px 0 0; }
.vs-card-body p { font-size: 14.8px; color: var(--ink-2); margin: 0; }
.vs-specs { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 7px; }
.vs-specs li { display: flex; gap: 9px; font-size: 14px; color: var(--ink-2); }
.vs-specs li::before { content: ''; flex: none; width: 5px; height: 5px; margin-top: 9px; border-radius: 50%; background: var(--gold); }

.vs-mini { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.vs-sec.white .vs-mini { background: var(--cream); }
.vs-mini-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--line-lt); display: grid; place-items: center; color: var(--olive-dk); }
.vs-sec.ivory .vs-mini { background: var(--white); }
.vs-mini b { display: block; font-size: 15.5px; color: var(--ink); line-height: 1.3; }
.vs-mini span { display: block; font-size: 14px; color: var(--ink-3); margin-top: 4px; line-height: 1.5; }

/* numbered care levels */
.vs-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: lv; }
.vs-level { counter-increment: lv; background: var(--cream); border: 1px solid var(--line); border-top: 3px solid var(--olive); border-radius: 12px; padding: 24px 22px; }
.vs-sec.ivory .vs-level { background: var(--white); }
.vs-level::before {
  content: counter(lv, decimal-leading-zero);
  font-family: var(--display); font-size: 30px; font-weight: 600; color: var(--gold-lt); display: block; line-height: 1; margin-bottom: 10px;
}
.vs-level h3 { font-size: 23px; margin-bottom: 8px; }
.vs-level p { font-size: 14.8px; color: var(--ink-2); margin: 0; }

/* --------------------------------------------------------- gallery ------ */
.vs-filters { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 26px; }
.vs-filter {
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink-2);
  border-radius: 999px; padding: 9px 18px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.vs-filter:hover { border-color: var(--olive); color: var(--olive-dk); }
.vs-filter[aria-pressed="true"] { background: var(--olive-dk); border-color: var(--olive-dk); color: #fff; }

.vs-masonry { columns: 4; column-gap: 14px; }
.vs-ph { break-inside: avoid; margin: 0 0 14px; position: relative; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--ivory); }
.vs-ph img { width: 100%; transition: transform .5s ease; }
.vs-ph:hover img { transform: scale(1.04); }
.vs-ph figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(30,38,22,0), rgba(30,38,22,.8));
  color: #fff; font-size: 13.5px; font-weight: 600; padding: 30px 14px 12px;
  opacity: 0; transition: opacity .2s ease;
}
.vs-ph:hover figcaption, .vs-ph:focus-within figcaption { opacity: 1; }
.vs-ph[hidden] { display: none; }

.vs-lightbox { position: fixed; inset: 0; z-index: 160; background: rgba(24,28,18,.94); display: grid; place-items: center; padding: 32px; }
.vs-lightbox[hidden] { display: none; }
.vs-lightbox img { max-width: min(1200px, 94vw); max-height: 80vh; width: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.vs-lb-cap { color: #fff; text-align: center; margin-top: 16px; font-size: 15px; }
.vs-lb-cap small { display: block; color: rgba(255,255,255,.55); font-size: 13px; margin-top: 4px; }
.vs-lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.35); color: #fff; font-size: 26px; cursor: pointer; display: grid; place-items: center;
}
.vs-lb-btn:hover { background: rgba(0,0,0,.6); }
.vs-lb-prev { left: 20px; } .vs-lb-next { right: 20px; }
.vs-lb-close { position: absolute; top: 18px; right: 20px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.35); color: #fff; font-size: 26px; cursor: pointer; }

/* ------------------------------------------------------- visit form ----- */
.vs-visit { position: relative; background: var(--ivory); border-block: 1px solid var(--line-lt); overflow: hidden; }
.vs-visit-art { position: absolute; left: -40px; bottom: -40px; width: 260px; opacity: .3; pointer-events: none; }
.vs-visit-art svg { width: 100%; height: auto; }
.vs-visit-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 40px; align-items: center; padding-block: 44px; }
.vs-visit-copy p { color: var(--ink-2); font-size: 15.5px; margin: 12px 0 0; }
.vs-visit-ko { font-size: 14px !important; color: var(--olive) !important; }

.vs-form-row { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: start; }
.vs-field { display: flex; flex-direction: column; min-width: 0; }
.vs-field label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.vs-field label i { color: var(--burgundy); font-style: normal; margin-left: 2px; }
.vs-field input, .vs-field select, .vs-field textarea {
  width: 100%; height: 46px; padding: 0 14px; font: inherit; font-size: 15px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink);
}
.vs-field textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.vs-field input:focus, .vs-field textarea:focus, .vs-field select:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(102,112,78,.15); }
.vs-field input[aria-invalid="true"], .vs-field textarea[aria-invalid="true"] { border-color: var(--burgundy); background: #FDF6F5; }
.vs-field-go { justify-content: flex-end; }
.vs-field-go .vs-btn { width: 100%; }
.vs-err { color: var(--burgundy); font-size: 12.5px; margin-top: 5px; min-height: 0; }
.vs-err:empty { display: none; }
.vs-form-note { font-size: 13px; color: var(--ink-3); margin: 14px 0 0; }
.vs-form-done {
  display: flex; gap: 13px; align-items: flex-start; margin-top: 16px; padding: 16px 18px;
  background: var(--white); border: 1px solid var(--olive-lt); border-left: 4px solid var(--olive); border-radius: var(--r);
}
.vs-form-done svg { flex: none; color: var(--olive); margin-top: 2px; }
.vs-form-done b { display: block; font-size: 15.5px; }
.vs-form-done span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 3px; }

/* ------------------------------------------------------------ CTA ------- */
.vs-cta { background: var(--olive-dk); color: #fff; padding-block: 48px; }
.vs-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.vs-cta h2 { color: #fff; }
.vs-cta p { color: rgba(255,255,255,.8); margin: 10px 0 0; max-width: 54ch; }
.vs-cta .vs-kicker { color: var(--gold-lt); }
.vs-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ------------------------------------------------------- contact -------- */
.vs-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: start; }
.vs-contact-cards { display: grid; gap: 14px; }
.vs-ccard { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.vs-ccard:hover { border-color: var(--olive); transform: translateY(-2px); }
.vs-ccard .vs-mini-ic { background: var(--ivory); }
.vs-ccard b { display: block; font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.vs-ccard span { display: block; font-size: 16px; font-weight: 600; color: var(--ink); margin-top: 3px; }
.vs-ccard small { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 3px; font-weight: 400; }

.vs-faq { border-top: 1px solid var(--line); }
.vs-faq details { border-bottom: 1px solid var(--line); }
.vs-faq summary {
  cursor: pointer; padding: 18px 40px 18px 0; position: relative; list-style: none;
  font-family: var(--display); font-size: 21px; font-weight: 600; color: var(--ink);
}
.vs-faq summary::-webkit-details-marker { display: none; }
.vs-faq summary::after {
  content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 24px; font-weight: 300; color: var(--olive); line-height: 1;
}
.vs-faq details[open] summary::after { content: '\2013'; }
.vs-faq details p { margin: 0 0 20px; color: var(--ink-2); font-size: 15.5px; max-width: 72ch; }

/* ------------------------------------------------------------ footer ---- */
.vs-foot { background: var(--olive-dk); color: rgba(255,255,255,.76); font-size: 14.5px; }
.vs-foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 46px 38px; }
.vs-foot h3 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 16px; }
.vs-foot-brand p { margin: 16px 0 0; max-width: 42ch; line-height: 1.6; }
.vs-foot-ig { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; color: rgba(255,255,255,.8); text-decoration: none; font-size: 14px; }
.vs-foot-ig:hover { color: #fff; }
.vs-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.vs-foot-col a { color: rgba(255,255,255,.76); text-decoration: none; }
.vs-foot-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.vs-foot-contact a, .vs-foot-fax { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: rgba(255,255,255,.76); text-decoration: none; }
.vs-foot-contact svg { flex: none; opacity: .7; margin-top: 2px; }
.vs-foot-stay p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; }
.vs-stay { display: flex; gap: 8px; }
.vs-stay input {
  flex: 1; min-width: 0; height: 44px; padding: 0 14px; font: inherit; font-size: 14.5px;
  border: 1px solid rgba(255,255,255,.22); border-radius: var(--r);
  background: rgba(255,255,255,.07); color: #fff;
}
.vs-stay input::placeholder { color: rgba(255,255,255,.45); }
.vs-stay input:focus { outline: none; border-color: var(--gold-lt); background: rgba(255,255,255,.12); }
.vs-stay button { width: 46px; height: 44px; flex: none; border: 0; border-radius: var(--r); background: var(--burgundy); color: #fff; cursor: pointer; display: grid; place-items: center; }
.vs-stay button:hover { background: #74252A; }
.vs-foot-stay small { display: block; margin-top: 9px; font-size: 13px; color: var(--gold-lt); }
.vs-foot-bar {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 16px; border-top: 1px solid rgba(255,255,255,.13);
  font-size: 13px; color: rgba(255,255,255,.55);
}

/* concept banner */
.vs-demo-flag {
  background: #241E19; color: rgba(255,255,255,.62); text-align: center;
  font-size: 12.5px; padding: 10px 18px;
}
.vs-demo-flag b { color: var(--gold-lt); }
.vs-demo-flag a { color: var(--gold-lt); }

/* ======================================================== responsive ==== */
@media (max-width: 1180px) {
  .vs-nav { gap: 22px; }
  .vs-values { grid-template-columns: repeat(2, 1fr); }
  .vs-intro { grid-template-columns: 1fr; gap: 30px; }
  .vs-masonry { columns: 3; }
  .vs-strip-gallery { grid-template-columns: 1fr; }
  .vs-tiles { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .vs-tile { scroll-snap-align: start; }
}

@media (max-width: 1000px) {
  .vs-nav, .vs-head-cta { display: none; }
  .vs-burger { display: block; margin-left: auto; }
  .vs-hero-in { grid-template-columns: 1fr; }
  .vs-hero-copy { padding: 40px 0 34px; }
  .vs-hero-media { order: -1; }
  .vs-hero-media img { min-height: 260px; max-height: 340px; }
  .vs-hero-media::after { inset: auto 0 -1px 0; width: auto; height: 34%; background: linear-gradient(0deg, var(--ivory) 4%, rgba(246,242,233,0) 100%); }
  .vs-strip { grid-template-columns: repeat(2, 1fr); }
  .vs-strip > div:nth-child(3) { border-left: 0; }
  .vs-strip > div:nth-child(n+3) { border-top: 1px solid var(--line-lt); }
  .vs-row, .vs-row.flip .vs-row-media { grid-template-columns: 1fr; order: 0; }
  .vs-row-media { order: -1 !important; }
  .vs-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .vs-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .vs-levels { grid-template-columns: 1fr; }
  .vs-visit-in { grid-template-columns: 1fr; gap: 26px; }
  .vs-form-row { grid-template-columns: repeat(2, 1fr); }
  .vs-field-go { grid-column: 1 / -1; }
  .vs-contact-grid { grid-template-columns: 1fr; }
  .vs-foot-in { grid-template-columns: 1fr 1fr; gap: 32px; }
  .vs-masonry { columns: 2; }
}

@media (max-width: 620px) {
  .vs-wrap { padding-inline: 18px; }
  .vs-utility-in { gap: 6px 18px; font-size: 12.3px; padding-block: 7px; }
  .vs-utility a:first-child { width: 100%; justify-content: center; }
  .vs-logo-t b { font-size: 22px; }
  .vs-sec { padding-block: 40px; }
  .vs-strip { grid-template-columns: 1fr; }
  .vs-strip > div { border-left: 0; }
  .vs-strip > div + div { border-top: 1px solid var(--line-lt); }
  .vs-strip-hold { margin-top: -24px; }
  .vs-grid-2, .vs-grid-3, .vs-grid-4 { grid-template-columns: 1fr; }
  .vs-form-row { grid-template-columns: 1fr; }
  .vs-masonry { columns: 1; }
  .vs-tiles { grid-template-columns: repeat(5, 74vw); }
  .vs-foot-in { grid-template-columns: 1fr; gap: 28px; }
  .vs-cta-in { flex-direction: column; align-items: flex-start; }
  .vs-phero { min-height: 290px; }
  .vs-lb-btn { width: 42px; height: 42px; }
  .vs-lb-prev { left: 8px; } .vs-lb-next { right: 8px; }
}

/* ======================================================= virtual tour ===
   A guided walkthrough: route down the left, one stop on the stage, the
   detail shots for that stop underneath. Replaces the client's empty
   /virtual-tour/ page. */

.vs-phero-sm { min-height: 300px; }

.vs-tour { padding-block: 44px 56px; background: var(--ivory); }
.vs-tour-grid { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 32px; align-items: start; }

/* --- route list --- */
.vs-route {
  position: sticky; top: 96px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 16px; max-height: calc(100vh - 120px); display: flex; flex-direction: column;
}
.vs-route-head { padding: 0 6px 12px; border-bottom: 1px solid var(--line-lt); margin-bottom: 8px; }
.vs-route-head .vs-kicker { margin-bottom: 4px; }
.vs-route-head .vs-h3 { font-size: 22px; }
.vs-route-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; display: grid; gap: 2px; }
.vs-route-btn {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  background: none; border: 0; border-radius: 9px; padding: 9px 10px; cursor: pointer;
  font: inherit; color: var(--ink-2); transition: background .14s, color .14s;
}
.vs-route-btn:hover { background: var(--ivory); color: var(--olive-dk); }
.vs-route-n {
  flex: none; font-family: var(--display); font-size: 15px; font-weight: 600;
  color: var(--gold); min-width: 22px; font-variant-numeric: tabular-nums;
}
.vs-route-t { font-size: 14.6px; font-weight: 600; line-height: 1.25; }
.vs-route-t small { display: block; font-size: 11.5px; font-weight: 400; color: var(--ink-3); letter-spacing: .06em; margin-top: 1px; }
.vs-route-btn.on { background: var(--olive-dk); color: #fff; }
.vs-route-btn.on .vs-route-n { color: var(--gold-lt); }
.vs-route-btn.on .vs-route-t small { color: rgba(255,255,255,.62); }

/* --- stage --- */
.vs-stage-frame {
  position: relative; border-radius: 16px; overflow: hidden;
  background: var(--olive-dk); box-shadow: var(--shadow-lg);
}
.vs-stop { position: relative; margin: 0; }
.vs-stop[hidden] { display: none; }

.vs-stop figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 74px 34px 28px;
  background: linear-gradient(180deg, rgba(28,34,20,0) 0%, rgba(28,34,20,.55) 42%, rgba(28,34,20,.92) 100%);
  color: #fff;
}
.vs-stop-n {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
  color: var(--gold-lt); margin-bottom: 8px; font-variant-numeric: tabular-nums;
}
.vs-stop figcaption h2 { font-family: var(--display); font-size: clamp(27px, 3.2vw, 38px); font-weight: 600; color: #fff; margin: 0 0 8px; }
.vs-stop figcaption p { margin: 0; max-width: 64ch; font-size: 15.6px; line-height: 1.6; color: rgba(255,255,255,.9); }

.vs-stage-nav {
  position: absolute; top: 38%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.45); background: rgba(24,30,16,.42);
  color: #fff; font-size: 26px; line-height: 1; display: grid; place-items: center;
  backdrop-filter: blur(4px); transition: background .15s, transform .15s;
}
.vs-stage-nav:hover { background: rgba(24,30,16,.75); }
.vs-stage-nav.prev { left: 16px; }
.vs-stage-nav.next { right: 16px; }

/* --- bar --- */
.vs-stage-bar { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.vs-play {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  height: 42px; padding: 0 18px; border-radius: var(--r); cursor: pointer;
  border: 1.5px solid var(--line); background: var(--cream); color: var(--ink);
  font: inherit; font-size: 14px; font-weight: 600;
}
.vs-play:hover { border-color: var(--olive); color: var(--olive-dk); }
.vs-play-ic {
  width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}
.vs-play[aria-pressed="true"] { background: var(--olive-dk); border-color: var(--olive-dk); color: #fff; }
.vs-play[aria-pressed="true"] .vs-play-ic {
  width: 10px; height: 12px; border: 0;
  background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 7px, currentColor 7px 10px);
}
.vs-progress { flex: 1; height: 4px; background: var(--line); border-radius: 3px; overflow: hidden; }
.vs-progress span { display: block; height: 100%; width: 0; background: var(--olive); border-radius: 3px; transition: width .35s ease; }
.vs-stage-hint { flex: none; font-size: 12.5px; color: var(--ink-3); }

/* --- detail shots --- */
.vs-stop-details { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; margin-top: 16px; }
.vs-stop-details:empty { display: none; }
.vs-detail { position: relative; border-radius: 11px; overflow: hidden; aspect-ratio: 16/10; background: var(--line-lt); }
.vs-detail img { width: 100%; height: 100%; object-fit: cover; }
.vs-detail span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 9px;
  background: linear-gradient(180deg, rgba(28,34,20,0), rgba(28,34,20,.82));
  color: #fff; font-size: 12.5px; font-weight: 600;
}

@media (max-width: 1000px) {
  /* minmax(0,1fr) + min-width:0 — without them the 13-across route list
     inherits min-width:auto and drags the whole page sideways */
  .vs-tour-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .vs-tour-grid > * { min-width: 0; }
  .vs-route { position: static; max-height: none; min-width: 0; }
  .vs-route-list {
    grid-auto-flow: column; grid-auto-columns: minmax(158px, 1fr);
    overflow-x: auto; gap: 8px; padding-bottom: 6px;
    scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  }
  .vs-route-list li { scroll-snap-align: start; }
  .vs-route-btn { flex-direction: column; align-items: flex-start; gap: 4px; }
  .vs-stop figcaption { padding: 56px 20px 20px; }
  .vs-stop-plane img { aspect-ratio: 4/3; }
}

@media (max-width: 620px) {
  .vs-stage-bar { flex-wrap: wrap; }
  .vs-stage-hint { display: none; }
  .vs-progress { order: 3; width: 100%; flex: 1 0 100%; }
  .vs-stop-details { grid-auto-flow: row; grid-auto-columns: auto; }
  .vs-stage-nav { width: 40px; height: 40px; font-size: 22px; }
  .vs-stage-nav.prev { left: 8px; } .vs-stage-nav.next { right: 8px; }
}

/* =================================================== tour: depth & motion ===
   The photographs are flat, so there is no real 3D here. What sells the
   movement is: a perspective push through Z when you change room, a slow
   drift while a room is on screen, and a small parallax against the pointer
   so the frame behaves like a window rather than a slide. All of it is
   switched off under prefers-reduced-motion. */

.vs-stage-frame { perspective: 1500px; perspective-origin: 50% 46%; --tx: 0px; --ty: 0px; }

.vs-stop { transform-style: preserve-3d; }

.vs-stop-view {
  position: relative; overflow: hidden; border-radius: inherit;
  transform-style: preserve-3d;
}

/* the layer the pointer moves — slightly oversized so it never shows an edge */
.vs-stop-plane {
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) scale(1.06);
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.vs-stop-plane img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }

/* a soft edge so the frame reads as a window into the room */
.vs-stop-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(0,0,0,0) 52%, rgba(20,26,14,.28) 100%),
    linear-gradient(180deg, rgba(20,26,14,.14) 0%, rgba(0,0,0,0) 26%);
}

/* the room breathes while you are standing in it */
@keyframes vsDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.13) translate3d(-1.1%, -0.9%, 0); }
}
.vs-stop.on .vs-stop-plane img { animation: vsDrift 22s ease-in-out infinite alternate; }

/* ---- walking between rooms ----
   forward: the room you leave recedes, the next one comes at you.
   back: the reverse. The Z distance is what makes it read as walking
   rather than sliding. */
@keyframes vsWalkInFwd {
  from { opacity: 0; transform: translateZ(300px) scale(.97); }
  to   { opacity: 1; transform: translateZ(0) scale(1); }
}
@keyframes vsWalkInBack {
  from { opacity: 0; transform: translateZ(-260px) scale(1.04); }
  to   { opacity: 1; transform: translateZ(0) scale(1); }
}
@keyframes vsWalkOutFwd {
  from { opacity: 1; transform: translateZ(0) scale(1); }
  to   { opacity: 0; transform: translateZ(-300px) scale(1.05); }
}
@keyframes vsWalkOutBack {
  from { opacity: 1; transform: translateZ(0) scale(1); }
  to   { opacity: 0; transform: translateZ(280px) scale(.96); }
}

.vs-stop.walk-in-fwd   { animation: vsWalkInFwd   .62s cubic-bezier(.2, .7, .3, 1) both; }
.vs-stop.walk-in-back  { animation: vsWalkInBack  .62s cubic-bezier(.2, .7, .3, 1) both; }
.vs-stop.walk-out-fwd  { animation: vsWalkOutFwd  .46s ease-in both; position: absolute; inset: 0; z-index: 1; }
.vs-stop.walk-out-back { animation: vsWalkOutBack .46s ease-in both; position: absolute; inset: 0; z-index: 1; }

/* the frame dips slightly as you step through — a footfall, not a bounce */
@keyframes vsStep {
  0%   { transform: scale(1); }
  38%  { transform: scale(.988); }
  100% { transform: scale(1); }
}
.vs-stage-frame.stepping { animation: vsStep .58s ease-out; }

/* a direction cue on the arrows */
.vs-stage-nav { transition: background .15s, transform .25s cubic-bezier(.2,.7,.3,1); }
.vs-stage-nav.next:hover { transform: translateY(-50%) translateX(3px); }
.vs-stage-nav.prev:hover { transform: translateY(-50%) translateX(-3px); }

/* detail thumbnails lift toward the viewer */
.vs-detail { transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s; }
.vs-detail:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 12px 28px rgba(42,36,31,.22); }

@media (prefers-reduced-motion: reduce) {
  .vs-stop.on .vs-stop-plane img { animation: none; }
  .vs-stop-plane { transform: none; transition: none; }
  .vs-stop.walk-in-fwd, .vs-stop.walk-in-back { animation: none; }
  .vs-stop.walk-out-fwd, .vs-stop.walk-out-back { display: none; }
  .vs-stage-frame.stepping { animation: none; }
}
