:focus-visible {
  outline-color: var(--accent);
}

.eyebrow {
  color: var(--brand-dark);
}

.roots-hero .eyebrow {
  color: var(--brand);
}

.roots-hero::before {
  background-position: center 46%;
}

.roots-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
}

.roots-intro-copy {
  min-width: 0;
}

.roots-intro-image {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.roots-intro-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.roots-intro-image figcaption {
  padding: 12px 16px 15px;
  color: var(--muted);
  font-size: 0.9rem;
}

.roots-intro-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.roots-intro-facts li {
  min-width: 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.roots-intro-facts strong,
.roots-intro-facts span {
  display: block;
}

.roots-intro-facts strong {
  color: var(--brand-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1;
}

.roots-intro-facts span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.roots-stay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.roots-stay-card {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(23, 33, 28, 0.08);
  scroll-margin-top: 110px;
}

.roots-stay-card:target {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.roots-stay-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--night);
}

.roots-stay-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.roots-stay-area {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  min-width: 64px;
  min-height: 42px;
  padding: 6px 12px;
  place-items: center;
  color: #fff;
  background: rgba(16, 23, 19, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
}

.roots-stay-body {
  padding: clamp(22px, 3vw, 30px);
}

.roots-stay-heading {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.roots-stay-heading h3,
.roots-facility-copy h3 {
  margin: 0;
}

.roots-stay-body > p {
  margin: 16px 0 0;
  color: var(--muted);
}

.roots-stay-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.roots-stay-specs li {
  min-width: 0;
  padding: 13px;
  background: #f7f4ed;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.roots-stay-specs__wide {
  grid-column: 1 / -1;
}

.roots-stay-specs strong,
.roots-stay-specs span {
  display: block;
}

.roots-stay-specs strong {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
}

.roots-stay-specs span {
  margin-top: 4px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.roots-stay-details {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.roots-stay-details summary {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 42px 12px 0;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.roots-stay-details summary::-webkit-details-marker {
  display: none;
}

.roots-stay-details summary span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: right;
}

.roots-stay-details summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
}

.roots-stay-details[open] summary::after {
  content: "−";
}

.roots-stay-detail-content {
  padding: 6px 0 24px;
}

.roots-photo-grid,
.roots-facility-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.roots-gallery a {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--line);
  border-radius: 6px;
  cursor: zoom-in;
}

.roots-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.roots-gallery a:hover img,
.roots-gallery a:focus-visible img {
  transform: scale(1.035);
}

.roots-gallery a:focus-visible {
  z-index: 1;
  outline-color: var(--accent);
  outline-offset: 3px;
}

.roots-video {
  margin-top: 28px;
}

.roots-video h4 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.roots-video video {
  display: block;
  width: min(100%, 390px);
  max-height: 680px;
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: var(--night);
  border-radius: 6px;
}

.roots-video p {
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.roots-stay-enquiry {
  width: 100%;
  margin-top: 20px;
}

.roots-facility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.roots-facility-card {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(23, 33, 28, 0.07);
  scroll-margin-top: 110px;
}

.roots-facility-copy {
  padding: 24px 24px 20px;
}

.roots-facility-copy h3 {
  margin-top: 12px;
}

.roots-facility-copy p {
  margin: 12px 0 0;
  color: var(--muted);
}

.roots-facility-gallery {
  padding: 0 24px 24px;
}

.roots-facility-gallery a:first-child:nth-last-child(2),
.roots-facility-gallery a:first-child:nth-last-child(2) ~ a {
  aspect-ratio: 4 / 3;
}

.roots-final-section {
  background: linear-gradient(180deg, var(--paper), #f3efe7);
}

.roots-final-enquiry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(30px, 6vw, 84px);
  padding: clamp(30px, 5vw, 52px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.roots-final-enquiry .lead {
  max-width: 720px;
}

.roots-final-actions {
  display: grid;
  gap: 12px;
  min-width: min(100%, 270px);
}

body.roots-lightbox-open {
  overflow: hidden;
}

.roots-lightbox[hidden] {
  display: none;
}

.roots-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  background: rgba(12, 18, 16, 0.9);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.roots-lightbox.is-open {
  opacity: 1;
}

.roots-lightbox__stage {
  display: grid;
  justify-items: center;
  max-width: 100%;
}

.roots-lightbox__image {
  max-width: min(1180px, 92vw);
  max-height: 80dvh;
  object-fit: contain;
  background: var(--night);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
}

.roots-lightbox__close,
.roots-lightbox__nav {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
}

.roots-lightbox__close {
  position: absolute;
  top: clamp(14px, 3vw, 26px);
  right: clamp(14px, 3vw, 26px);
  font-size: 2rem;
}

.roots-lightbox__nav {
  position: absolute;
  top: 50%;
  font-size: 1.65rem;
  transform: translateY(-50%);
}

.roots-lightbox__prev {
  left: clamp(10px, 3vw, 30px);
}

.roots-lightbox__next {
  right: clamp(10px, 3vw, 30px);
}

.roots-lightbox__caption,
.roots-lightbox__counter {
  max-width: min(920px, 92vw);
  margin: 12px auto 0;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.roots-lightbox__counter {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

@media (max-width: 1024px) {
  .roots-intro-layout,
  .roots-final-enquiry {
    grid-template-columns: 1fr;
  }

  .roots-facility-grid {
    grid-template-columns: 1fr;
  }

  .roots-final-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .roots-hero::before {
    background-image: linear-gradient(180deg, rgba(16, 23, 19, 0.82), rgba(16, 23, 19, 0.5)), var(--hero-image);
  }

  .roots-stay-grid {
    grid-template-columns: 1fr;
  }

  .roots-intro-facts {
    grid-template-columns: 1fr;
  }

  .roots-intro-facts li {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
  }

  .roots-intro-facts span {
    margin-top: 0;
  }

  .roots-lightbox__nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }
}

@media (max-width: 560px) {
  .roots-stay-body,
  .roots-facility-copy {
    padding: 20px;
  }

  .roots-stay-specs,
  .roots-final-actions {
    grid-template-columns: 1fr;
  }

  .roots-stay-specs__wide {
    grid-column: auto;
  }

  .roots-stay-details summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .roots-stay-details summary span {
    text-align: left;
  }

  .roots-facility-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 20px 20px;
  }

  .roots-final-enquiry {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .roots-gallery img,
  .roots-lightbox {
    transition: none;
  }
}

