/* ==========================================================================
   Valley Views Guest Guide - guide.css
   Mobile-first. One column at every width. Zero radius, 2px rules.
   ========================================================================== */

:root {
  /* Palette - olive and sage lifted from the logo */
  --vv-olive:      #4b5a37;
  --vv-olive-deep: #3c4a2c;
  --vv-olive-100:  #e9ebe4;
  --vv-sage:       #9fa697;
  --vv-ink:        #201e1d;
  --vv-ink-soft:   #2d2a26;
  --vv-ink-muted:  #5c5851;
  --vv-ink-faint:  #6b6862;
  --vv-paper:      #f5f3ef;
  --vv-rule:       #e2dfd8;
  --vv-rule-dark:  #201e1d;
  --vv-hover:      #eceae4;
  --vv-alert:      #ec3013;

  /* Spacing scale - 4 8 12 18 26 40, nothing between */
  --vv-1: 4px;
  --vv-2: 8px;
  --vv-3: 12px;
  --vv-4: 18px;
  --vv-5: 26px;
  --vv-6: 40px;

  --vv-gutter: var(--vv-4);
  --vv-font: Archivo, system-ui, -apple-system, "Segoe UI", sans-serif;
  --vv-font-narrow: "Archivo Narrow", Archivo, system-ui, sans-serif;
}

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

/* The search states toggle [hidden] on .vv-browse elements; author display
   declarations would otherwise beat the UA rule. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--vv-paper);
  color: var(--vv-ink);
  font: 400 15.5px/1.62 var(--vv-font);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 92px;              /* clears the fixed manager bar */
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--vv-olive-deep); }
a:hover { color: var(--vv-olive); }

:focus-visible {
  outline: 2px solid var(--vv-olive);
  outline-offset: 2px;
}

::selection { background: var(--vv-olive-100); }

.vv-shell { width: 100%; }

/* Screen-reader only ------------------------------------------------------ */
.vv-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Header - scrolls away. On the guide pages only the search bar below it
   is sticky, so search is always a thumb away without the logo taking room.
   ========================================================================== */

.vv-header {
  background: var(--vv-paper);
  border-bottom: 2px solid var(--vv-rule-dark);
  padding: var(--vv-4) var(--vv-gutter) 14px;
}
.vv-header--guide { border-bottom: 0; padding-bottom: 0; }

.vv-searchbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--vv-paper);
  border-bottom: 2px solid var(--vv-rule-dark);
  padding: 13px var(--vv-gutter) 14px;
}

.vv-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.vv-brand img.vv-mark { height: 24px; width: auto; }
.vv-brand img.vv-word { height: 15px; width: auto; }

.vv-property {
  margin: 7px 0 0;
  font: 600 12px/1 var(--vv-font);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vv-olive);
}

/* Search ------------------------------------------------------------------ */

.vv-search {
  display: flex;
  align-items: center;
  border: 2px solid var(--vv-ink);
  background: #fff;
  margin: 0;
  height: 48px;
}
.vv-search svg { flex: none; margin: 0 10px 0 12px; color: var(--vv-ink-faint); }
.vv-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: 400 16px var(--vv-font);     /* 16px minimum - stops iPhones zooming on focus */
  color: var(--vv-ink);
}
.vv-search input::placeholder { color: var(--vv-ink-faint); }
.vv-search button {
  flex: none;
  width: 44px;
  height: 100%;
  border: 0;
  border-left: 2px solid var(--vv-rule);
  background: transparent;
  font: 400 20px/1 var(--vv-font);
  color: var(--vv-ink);
  cursor: pointer;
}
.vv-search button:hover { background: var(--vv-hover); }
.vv-search[data-empty="true"] button { display: none; }

/* JS not yet ready - hide the field rather than show a dead control */
body:not(.vv-ready) .vv-searchbar { display: none; }

/* ==========================================================================
   Hero - image slot. Falls back to a labelled placeholder if absent.
   ========================================================================== */

.vv-hero {
  margin: 0;
  border-bottom: 2px solid var(--vv-rule-dark);
  background: #dcd9d2;
  aspect-ratio: 16 / 7;
  position: relative;
  overflow: hidden;
}
.vv-hero img { width: 100%; height: 100%; object-fit: cover; }
/* Each photo is cropped to keep its building in frame */
body[data-property="house"]  .vv-hero img { object-position: 50% 78%; }
body[data-property="studio"] .vv-hero img { object-position: 50% 40%; }
.vv-hero figcaption { display: none; }
.vv-hero.is-empty img { display: none; }
.vv-hero.is-empty figcaption {
  display: block;
  position: absolute;
  left: 14px; right: 14px; bottom: 12px;
  font: 600 9.5px/1.5 var(--vv-font-narrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vv-ink-faint);
}
.vv-hero.is-empty::before {
  content: "";
  position: absolute; inset: 0;
  background: no-repeat center / 34px 34px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%239fa697' stroke-width='1.6'%3E%3Crect x='2.5' y='4' width='19' height='16'/%3E%3Cpath d='M2.5 16l5-5 4 4 3.5-3.5 6.5 6.5'/%3E%3Ccircle cx='8.5' cy='9' r='1.6'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Welcome
   ========================================================================== */

.vv-welcome:empty { display: none; }
.vv-welcome {
  margin: 0;
  padding: var(--vv-4) var(--vv-gutter);
  font-size: 16.5px;
  line-height: 1.5;
  border-bottom: 2px solid var(--vv-rule-dark);
  text-wrap: pretty;
}

/* ==========================================================================
   Accordion
   ========================================================================== */

.vv-sections { padding: 0 var(--vv-gutter); }

.vv-section { border-bottom: 2px solid var(--vv-rule); }

.vv-section > summary {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 17px 0;
  cursor: pointer;
  list-style: none;
}
.vv-section > summary::-webkit-details-marker { display: none; }
.vv-section > summary:hover { opacity: 0.62; }

.vv-num {
  flex: none;
  width: 16px;
  font: 600 11px/1 var(--vv-font-narrow);
  letter-spacing: 0.08em;
  color: var(--vv-olive);
}
.vv-section-title {
  flex: 1;
  font: 600 17px/1.25 var(--vv-font);
  color: var(--vv-ink);
}
.vv-chev {
  flex: none;
  display: flex;
  align-items: center;
  transition: transform 180ms ease-out;
}
.vv-section[open] .vv-chev { transform: rotate(180deg); }

.vv-section-body { padding: 0 0 22px; }
.vv-section[open] .vv-section-body { animation: vv-open 180ms ease-out; }
@keyframes vv-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .vv-chev { transition: none; }
  .vv-section[open] .vv-section-body { animation: none; }
}

/* Blocks ----------------------------------------------------------------- */

.vv-p {
  margin: 0 0 13px;
  color: var(--vv-ink-soft);
  text-wrap: pretty;
}

.vv-note {
  margin: 0 0 13px;
  border-left: 3px solid var(--vv-olive);
  background: var(--vv-olive-100);
  padding: var(--vv-3) 13px;
  font-size: 15px;
  line-height: 1.58;
  color: var(--vv-ink-soft);
}

.vv-h {
  margin: var(--vv-4) 0 10px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--vv-rule);
  font: 600 12px/1 var(--vv-font);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vv-ink-faint);
}

.vv-list {
  list-style: none;
  margin: 0 0 13px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.vv-list li {
  padding-left: 13px;
  border-left: 2px solid var(--vv-rule);
  color: var(--vv-ink-soft);
  line-height: 1.58;
  text-wrap: pretty;
}

/* Checklist -------------------------------------------------------------- */

.vv-check {
  list-style: none;
  margin: 0 0 15px;
  padding: 0;
  border-top: 2px solid var(--vv-rule);
}
.vv-check button {
  display: flex;
  align-items: flex-start;
  gap: var(--vv-3);
  width: 100%;
  min-height: 48px;
  padding: var(--vv-3) 0;
  text-align: left;
  border: 0;
  border-bottom: 2px solid var(--vv-rule);
  background: transparent;
  cursor: pointer;
  font: 400 15px/1.45 var(--vv-font);
  color: var(--vv-ink-soft);
}
.vv-check button:hover { background: var(--vv-hover); }
.vv-box {
  flex: none;
  width: 20px; height: 20px;
  margin-top: 1px;
  border: 2px solid var(--vv-ink);
  display: flex; align-items: center; justify-content: center;
  color: transparent;
}
.vv-check button[aria-pressed="true"] .vv-box {
  border-color: var(--vv-olive);
  background: var(--vv-olive);
  color: #fff;
}
.vv-check button[aria-pressed="true"] .vv-check-label {
  color: #8a867f;
  text-decoration: line-through;
}

/* Link lists ------------------------------------------------------------- */

.vv-links {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  border-top: 2px solid var(--vv-rule);
}
.vv-links a {
  display: block;
  min-height: 48px;
  padding: var(--vv-3) 0;
  border-bottom: 2px solid var(--vv-rule);
  text-decoration: none;
}
.vv-links a:hover { background: var(--vv-hover); }
.vv-links .vv-link-label {
  display: flex;
  align-items: center;
  gap: var(--vv-2);
  font: 600 15px var(--vv-font);
  color: var(--vv-olive-deep);
}
.vv-links .vv-link-note {
  display: block;
  margin-top: 3px;
  font: 400 14px/1.5 var(--vv-font);
  color: var(--vv-ink-muted);
}

.vv-chips {
  list-style: none;
  margin: 0 0 15px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.vv-chips a {
  display: block;
  border: 2px solid #d5d2ca;
  padding: var(--vv-2) 10px;
  font: 500 13px var(--vv-font);
  color: var(--vv-olive-deep);
  text-decoration: none;
}
.vv-chips a:hover { border-color: var(--vv-olive); background: var(--vv-olive-100); }

/* Contacts --------------------------------------------------------------- */

.vv-contact-group + .vv-contact-group { margin-top: 20px; }
.vv-contact-group h4 {
  margin: 0;
  font: 600 12px/1 var(--vv-font);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vv-ink-faint);
}
.vv-contact-meta {
  margin: 5px 0 0;
  font: 400 14px/1.5 var(--vv-font);
  color: var(--vv-ink-muted);
}
.vv-contact-rows {
  list-style: none;
  margin: 9px 0 0;
  padding: 0;
  border-top: 2px solid var(--vv-rule);
}
.vv-contact-rows a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--vv-3);
  min-height: 50px;
  padding: 13px 0;
  border-bottom: 2px solid var(--vv-rule);
  text-decoration: none;
}
.vv-contact-rows a:hover { background: var(--vv-hover); }
.vv-contact-label { font: 400 14.5px/1.35 var(--vv-font); color: var(--vv-ink-soft); }
.vv-contact-value { flex: none; font: 600 15px var(--vv-font); color: var(--vv-olive-deep); }
.vv-contact-value[data-urgent] { color: var(--vv-alert); }

/* ==========================================================================
   Search states
   ========================================================================== */

.vv-results { padding: var(--vv-4) var(--vv-gutter) var(--vv-6); }

.vv-answer {
  border: 2px solid var(--vv-olive);
  background: var(--vv-olive-100);
  padding: 15px var(--vv-4);
  margin-bottom: var(--vv-4);
}
.vv-answer .vv-kicker {
  font: 600 11.5px/1 var(--vv-font);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vv-olive);
}
.vv-answer h3 { margin: 9px 0 0; font: 700 17px/1.25 var(--vv-font); }
.vv-answer p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; color: #35322e; }

.vv-result-count {
  font: 600 11.5px/1 var(--vv-font);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vv-ink-faint);
  margin-bottom: var(--vv-3);
}

.vv-result-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--vv-rule);
}
.vv-result-list button {
  display: block;
  width: 100%;
  padding: 14px 0;
  text-align: left;
  border: 0;
  border-bottom: 2px solid var(--vv-rule);
  background: transparent;
  cursor: pointer;
  font-family: var(--vv-font);
}
.vv-result-list button:hover { background: var(--vv-hover); }
.vv-result-head { display: flex; align-items: baseline; gap: 9px; }
.vv-result-snippet {
  margin-top: 5px;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--vv-ink-muted);
}

mark {
  background: var(--vv-olive-100);
  color: var(--vv-ink);
  padding: 0 1px;
}

.vv-none { border: 2px solid var(--vv-ink); padding: var(--vv-4); }
.vv-none h3 { margin: 0; font: 700 17px/1.3 var(--vv-font); }
.vv-none p { margin: 7px 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--vv-ink-muted); }
.vv-suggest { display: flex; flex-wrap: wrap; gap: var(--vv-2); }
.vv-suggest button {
  border: 2px solid var(--vv-ink);
  background: transparent;
  padding: var(--vv-2) 11px;
  min-height: 40px;
  font: 600 13px var(--vv-font);
  color: var(--vv-ink);
  cursor: pointer;
}
.vv-suggest button:hover { background: var(--vv-ink); color: var(--vv-paper); }
.vv-call-manager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: var(--vv-4);
  background: var(--vv-olive);
  color: #fff;
  padding: 13px 14px;
  min-height: 50px;
  font: 600 14px var(--vv-font);
  text-decoration: none;
}
.vv-call-manager:hover { background: var(--vv-olive-deep); color: #fff; }
.vv-call-manager span:last-child { font-weight: 400; opacity: 0.85; }

/* ==========================================================================
   Footer
   ========================================================================== */

.vv-footer {
  margin: var(--vv-5) var(--vv-gutter) 0;
  border-top: 2px solid var(--vv-rule-dark);
  padding-top: 20px;
}
.vv-actions { display: flex; flex-direction: column; gap: 9px; }
.vv-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 50px;
  border: 2px solid var(--vv-ink);
  padding: 13px 14px;
  text-decoration: none;
  font: 600 15px var(--vv-font);
  color: var(--vv-ink);
}
.vv-action:hover { background: var(--vv-ink); color: var(--vv-paper); }
.vv-action .vv-action-meta { font-weight: 400; font-size: 13px; opacity: 0.7; }

.vv-colophon {
  margin-top: var(--vv-5);
  padding-top: var(--vv-4);
  border-top: 2px solid var(--vv-rule);
  display: flex;
  align-items: center;
  gap: 11px;
}
.vv-colophon img { height: 20px; width: auto; opacity: 0.75; }
.vv-colophon span { font: 400 13px/1.5 var(--vv-font); color: var(--vv-ink-faint); }

.vv-quote {
  margin: 14px 0 var(--vv-6);
  font: italic 400 14.5px/1.55 var(--vv-font);
  color: var(--vv-olive);
  text-wrap: pretty;
}

/* ==========================================================================
   Manager bar - fixed call-to-action, bottom of screen
   ========================================================================== */

.vv-manager-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--vv-3);
  height: 58px;
  padding: 0 var(--vv-gutter);
  background: var(--vv-olive-deep);
  color: #fff;
  text-decoration: none;
  font: 600 15px var(--vv-font);
  border-top: 2px solid var(--vv-rule-dark);
}
.vv-manager-banner:hover { background: var(--vv-olive); color: #fff; }
.vv-manager-banner .vv-manager-banner-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 400;
  font-size: 13px;
}

/* ==========================================================================
   Scaling up - same single column, just roomier. No new layout appears.
   ========================================================================== */

@media (min-width: 600px) {
  :root { --vv-gutter: var(--vv-6); }
  .vv-shell, .vv-manager-banner > * { max-width: 620px; }
  .vv-shell { margin: 0 auto; }
  .vv-manager-banner { justify-content: center; }
  .vv-manager-banner { padding: 0 var(--vv-6); }
  .vv-manager-banner > * { flex: none; }
  .vv-manager-banner { gap: var(--vv-6); }
}

@media (min-width: 1024px) {
  .vv-shell { max-width: 720px; }
  body { font-size: 16.5px; }
  .vv-section-title { font-size: 19px; }
  .vv-welcome { font-size: 18px; }
}

/* Print - a guest guide on the fridge is a real use case ------------------ */
@media print {
  body { padding-bottom: 0; background: #fff; }
  .vv-header, .vv-searchbar, .vv-manager-banner, .vv-results, .vv-hero { display: none !important; }
  .vv-section-body { display: block !important; padding-bottom: 14px; }
  .vv-section > summary { min-height: 0; padding: 10px 0; }
  .vv-chev { display: none; }
  a { color: #000; text-decoration: none; }
}
