/* Rock View Rest Hatton — dark verandah page. Tokens live in tokens.css. */

:root { --header-h: 4.5rem; }

html { scroll-padding-top: calc(var(--header-h) + 8px); }
body { overflow-x: clip; }

.verandah-post {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: var(--c-accent);
  z-index: 20;
  transform-origin: top;
  pointer-events: none;
  animation: post-grow 400ms var(--ease) both;
}

.wrap {
  width: min(calc(100% - var(--gutter) * 2), var(--max-w));
  margin-inline: auto;
}

.skip-link {
  left: 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  position: fixed;
  top: calc(var(--header-h) + 8px);
  z-index: 80;
}

.site-header {
  position: fixed;
  z-index: 15;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(#1C1612, rgb(28 22 18 / .55) 72%, transparent);
}
.site-header.is-solid { background: var(--c-bg); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--header-h);
  padding-left: calc(10px + var(--gutter));
  padding-right: var(--gutter);
}
.wordmark {
  color: var(--c-ink);
  font-family: "Gloock", Georgia, serif;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.desktop-nav { display: none; }
.desktop-nav a {
  color: var(--c-ink);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 8px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.lang-switch a {
  color: var(--c-ink);
  text-decoration: none;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  font-size: .8rem;
  font-weight: 500;
}
[data-lang-switch="en"] { font-family: "Outfit", system-ui, sans-serif; }
.lang-switch a[aria-current="true"] {
  color: var(--c-accent);
  font-weight: 600;
}
a.header-cta { display: none; }
.menu-toggle { flex: none; }

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: rgb(28 22 18 / .72);
  color: var(--c-ink);
}
.icon-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--c-accent);
  color: var(--c-accent-ink);
  font: 600 1rem/1.3 var(--font-body);
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
}
.button:hover { background: #EBB05C; }
.button.secondary,
a.secondary {
  background: transparent;
  color: var(--c-ink);
  border: 1.5px solid var(--c-accent);
}
.button.secondary:hover,
a.secondary:hover { background: var(--c-tint); }
.button:focus-visible,
.sticky-cta a:focus-visible { outline-color: var(--c-ink); }

.hero {
  position: relative;
  display: block;
  color: var(--c-ink);
}
.hero-media {
  position: relative;
  z-index: 0;
  height: 100svh;
  min-height: 34rem;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 70% center;
}
.hero-copy {
  position: relative;
  z-index: 1;
  margin-top: -42svh;
  margin-left: 10px;
  padding: 1.35rem var(--gutter) calc(1.25rem + var(--sticky-cta-h));
  background: rgb(28 22 18 / .88);
}
.hero-badge {
  position: absolute;
  z-index: 1;
  top: calc(var(--header-h) + 8px);
  right: 12px;
  bottom: auto;
  width: max-content;
}
.kicker {
  margin: 0 0 .75rem;
  color: var(--c-muted);
  font-size: var(--fs-0);
  letter-spacing: .04em;
}
#hero-h { width: fit-content; max-width: 18em; }
#hero-h::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  margin-top: .55rem;
  background: var(--c-accent);
  transform-origin: left;
  animation: rule-draw 200ms var(--ease) 400ms both;
}
.hero-subline {
  max-width: 38rem;
  margin: 1rem 0 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.25rem;
}
.fact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.fact-chips li {
  padding: 6px 10px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-tint);
  color: var(--c-ink);
  font-size: var(--fs-0);
}

.section { padding-block: 4rem; }
.section h2 {
  width: fit-content;
  max-width: 100%;
  padding-bottom: .35rem;
  border-bottom: 2px solid var(--c-accent);
}
h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.15rem; }
.lede, .section-intro p { max-width: 42rem; color: var(--c-muted); }
.section-intro { display: grid; gap: .75rem; }

.about-grid { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.prose { display: grid; gap: 1rem; margin-top: 1.25rem; max-width: 65ch; }
.about-figure { position: relative; margin: 0; background: var(--c-surface); border-radius: var(--r-md); overflow: hidden; }
.about-figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 1.5rem 0 0;
}
.highlights div {
  padding: 16px;
  background: var(--c-tint);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}
.highlights dt { color: var(--c-muted); font-size: var(--fs-0); }
.highlights dd { margin: .35rem 0 0; font-weight: 600; overflow-wrap: anywhere; }

.service-list {
  display: grid;
  gap: 1.25rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}
.service-list li { display: flex; gap: 14px; align-items: flex-start; }
.service-icon {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: .15rem;
  color: var(--c-accent);
}
.service-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.service-list h3 { margin: 0; }
.service-list p { margin: .35rem 0 0; color: var(--c-muted); }
.services-note { margin-top: 1.25rem; color: var(--c-muted); font-size: var(--fs-0); }

.gallery-section { background: var(--c-surface); }
.gallery-grid {
  columns: 2;
  column-gap: 12px;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.gallery-grid > li { break-inside: avoid; margin: 0 0 12px; }
.gallery-tile {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-bg);
  color: inherit;
  cursor: pointer;
}
.gallery-tile img { width: 100%; height: auto; object-fit: cover; background: var(--c-bg); }
.is-portrait img { aspect-ratio: 3 / 4; }
.is-landscape img { aspect-ratio: 4 / 3; }
.is-square img { aspect-ratio: 1 / 1; }
.sample-badge {
  display: inline-block;
  width: max-content;
  max-width: calc(100% - 16px);
  padding: 2px 6px;
  border-radius: var(--r-sm);
  background: rgb(224 154 62 / .85);
  color: var(--c-accent-ink);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
  pointer-events: none;
}
.gallery-tile .sample-badge,
.about-figure .sample-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.trust-list li {
  padding: 16px 12px;
  background: var(--c-tint);
  border-radius: var(--r-md);
}
.trust-score {
  margin: 0;
  color: var(--c-accent);
  font-family: "Gloock", Georgia, serif;
  font-size: var(--fs-3);
  font-weight: 400;
  line-height: 1.1;
}
.trust-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--c-ink);
  font-weight: 600;
  text-decoration: none;
}
.trust-list p { margin: 0; color: var(--c-muted); font-size: var(--fs-0); }
.trust-disclaimer { margin-top: 1rem; color: var(--c-muted); font-size: var(--fs-0); max-width: 46rem; }

.contact-grid { display: grid; gap: 2rem; margin-top: 1.5rem; }
.contact-details { margin: 1.25rem 0 0; }
.contact-details > div { padding-block: .35rem; }
.contact-details dt, .meta-label { color: var(--c-muted); font-size: var(--fs-0); }
.contact-details dd { margin: .15rem 0 0; }
.contact-details a, .maps-link {
  color: var(--c-ink);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: 1rem;
  text-underline-offset: .2em;
}
.phone-links { display: flex; flex-wrap: wrap; gap: 4px 1rem; }
.hours-unconfirmed { max-width: 36rem; margin: .35rem 0 0; }
.map-card {
  display: grid;
  gap: .75rem;
  align-content: start;
  padding: 1.25rem;
  background: var(--c-tint);
  border-radius: var(--r-lg);
}
.map-card h3 { margin: 0; font-family: var(--font-body); }
.map-card p { margin: 0; }

.site-footer {
  padding: 2.5rem 0 calc(2.5rem + var(--sticky-cta-h));
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
}
.footer-top, .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.footer-top p, .footer-bottom, .preview-notice { color: var(--c-muted); }
.back-top {
  color: var(--c-ink);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.preview-notice { margin-top: 1.5rem; max-width: 62rem; }
.offer-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: .5rem;
  color: var(--c-ink);
}
.offer-link[hidden] { display: none; }

.sticky-cta {
  position: fixed;
  z-index: 30;
  left: 10px;
  right: 0;
  bottom: 0;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
  background: var(--c-bg);
  box-shadow: var(--shadow-1);
}
.sticky-cta .button { width: 100%; }
body:has(dialog[open]) .sticky-cta { visibility: hidden; }

dialog {
  border: 0;
  padding: 0;
  color: var(--c-ink);
  background: var(--c-surface);
  box-shadow: var(--shadow-1);
  max-width: none;
}
dialog::backdrop { background: rgb(12 9 7 / .72); }
.drawer {
  width: 100%;
  height: 100dvh;
  max-height: 100%;
  margin: 0;
  padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom)) calc(10px + var(--gutter));
  overflow-y: auto;
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.drawer-nav { display: grid; gap: 4px; padding-block: 1.25rem; }
.drawer-nav a {
  color: var(--c-ink);
  text-decoration: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--c-line);
}
.drawer .button { width: 100%; margin-top: 1rem; }

.lightbox {
  width: min(64rem, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  overflow: auto;
  border-radius: var(--r-lg);
}
.viewer-toolbar, .viewer-bottom { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 16px; }
.viewer-toolbar span { font-size: 11px; font-weight: 600; }
.viewer-image { background: var(--c-bg); min-height: 12rem; }
.viewer-image img { width: 100%; height: min(62dvh, 40rem); object-fit: contain; background: var(--c-bg); }
#viewer-caption { margin: 0; flex: 1; }
.viewer-controls { display: flex; align-items: center; gap: 8px; }
.viewer-count { font-variant-numeric: tabular-nums; min-width: 4ch; text-align: center; }

.image-unavailable { position: relative; min-height: 8rem; background: var(--c-tint); }
.image-unavailable img { visibility: hidden; }
.image-unavailable::after {
  content: attr(data-fallback-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: var(--c-muted);
  text-align: center;
}

a, button { scroll-margin-top: calc(var(--header-h) + 12px); scroll-margin-bottom: calc(var(--sticky-cta-h) + 12px); }

@keyframes post-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes rule-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 359px) {
  .wordmark { font-size: 1.12rem; }
  .header-inner { flex-wrap: wrap; padding-block: 4px; }
  .trust-list { grid-template-columns: 1fr; }
  #hero-h { font-size: 1.8rem; }
  .hero-media img { object-position: 58% 42%; }
}

@media (min-width: 768px) {
  .hero-media img { object-position: center 55%; }
  .section { padding-block: 5rem; }
  .about-grid { grid-template-columns: 5fr 7fr; align-items: start; }
  .about-figure { order: -1; }
  .contact-grid { grid-template-columns: 1.1fr .9fr; align-items: start; }
}

@media (min-width: 1024px) {
  :root { --sticky-cta-h: 0px; }
  .desktop-nav { display: flex; gap: 4px; margin-left: auto; }
  .header-inner > .lang-switch { margin-left: 0; }
  a.header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .sticky-cta { display: none; }
  .hero-media { height: 86vh; min-height: 36rem; }
  .hero-copy {
    width: min(36rem, calc(100% - 10px - var(--gutter) * 2));
    margin-top: -34vh;
    margin-left: calc(10px + var(--gutter));
    background: linear-gradient(to bottom, rgb(28 22 18 / .12), rgb(28 22 18 / .86) 18%, #1C1612 78%);
  }
  .service-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
  .service-list li { flex-direction: column; gap: 10px; }
  .gallery-grid { columns: 3; }
  .site-footer { padding-bottom: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .verandah-post, #hero-h::after { animation: none; transform: none; }
}
