/* Roshan's Guest House — lane house, coral road-stripe, contained gallery strip. */

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

body {
  padding-bottom: calc(var(--sticky-cta-h) + env(safe-area-inset-bottom));
}

figure { margin: 0; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: var(--c-bg);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: var(--c-surface);
  border-bottom-color: var(--c-line);
}

.header-bar {
  width: min(var(--max-w), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.6rem 0;
}

.wordmark {
  flex: 1 1 10rem;
  font-family: "Syne", Georgia, sans-serif;
  font-weight: 700;
  color: var(--c-ink);
  text-decoration: none;
  font-size: 1.05rem;
  line-height: 1.15;
}

.lang-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.lang-nav a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  background: var(--c-surface);
  color: var(--c-ink);
  text-decoration: none;
  font-size: 0.9rem;
}

.lang-nav a[aria-current="true"] {
  background: var(--c-accent);
  color: var(--c-accent-ink);
  border-color: var(--c-accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.6rem 1.15rem;
  border-radius: var(--r-md);
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  max-width: 100%;
}

.button-primary { background: var(--c-accent); color: var(--c-accent-ink); }
.button-secondary { background: var(--c-surface); color: var(--c-ink); border-color: var(--c-ink); }
.button[hidden] { display: none; }

.site-header a.header-cta { display: none; }

.menu-toggle {
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-surface);
  color: var(--c-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-glyph,
.menu-glyph::before,
.menu-glyph::after {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.menu-glyph::before,
.menu-glyph::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-glyph::before { top: -6px; }
.menu-glyph::after { top: 6px; }

.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--c-surface);
}

.primary-nav a {
  color: var(--c-ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.35rem 0.2rem;
}

.primary-nav.is-open { display: flex; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgb(26 35 48 / .45);
  z-index: 55;
}

.nav-backdrop[hidden] { display: none; }

.hero--split-type-right { background: var(--c-bg); }

.hero-media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 46vh;
  background: var(--c-surface);
  overflow: hidden;
}

@media (max-width: 768px) and (max-height: 760px) {
  .hero-media { max-height: 34vh; }
}

.hero-media picture,
.about-media picture { display: block; width: 100%; height: 100%; }

.hero-media img,
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 68%;
  border-radius: 0;
}

.hero-copy {
  border-left: var(--stripe) solid var(--c-accent);
  margin: 1.25rem var(--gutter) 2rem;
  padding: 0.25rem 0 0.25rem 1rem;
  max-width: 40rem;
}

.kicker {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-0);
  color: var(--c-accent);
}

.hero-copy h1 { margin-bottom: 0.75rem; }
.subline { margin: 0 0 1rem; max-width: 38rem; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
}

.chips li {
  background: var(--c-tint);
  color: var(--c-ink);
  border-radius: var(--r-md);
  padding: 0.4rem 0.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
#hero { padding: 0; }

.about-grid, .contact-grid { display: grid; gap: 1.5rem; }

.about-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--c-surface);
  overflow: hidden;
}

.about-copy h2, .wrap h2 { margin-bottom: 0.8rem; }
.lede { margin-top: 0; max-width: 40rem; }

.highlights, .hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  margin: 1rem 0 0;
}

.highlights dt, .hours dt { font-weight: 600; }
.highlights dd, .hours dd { margin: 0; }

.service-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  max-width: 36rem;
}

.service-row {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  border-left: var(--stripe) solid var(--c-accent);
  padding: 0.9rem 0 0.9rem 0.9rem;
}

.service-row svg {
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  color: var(--c-accent);
  margin-top: 0.15rem;
}

.service-row h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.service-row p { margin: 0; color: var(--c-muted); }
.note { color: var(--c-muted); }

.gallery-strip {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0 var(--gutter) 0.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
}

.gallery-tile {
  flex: 0 0 78%;
  scroll-snap-align: start;
  min-width: 0;
}

.gallery-tile button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--c-surface);
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  color: inherit;
}

.gallery-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  background: var(--c-surface);
}

.sample-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.2;
  color: #fff;
  background: #1a2330;
  border-radius: var(--r-md);
  padding: 0.28rem 0.55rem;
}

.trust-list { list-style: none; margin: 0; padding: 0; }
.trust-score {
  margin: 0;
  font-family: "Syne", Georgia, sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 0.95;
  color: var(--c-accent);
}
.trust-list a { font-weight: 600; }
.disclaimer { color: var(--c-muted); max-width: 40rem; }

.contact-block {
  border-left: var(--stripe) solid var(--c-accent);
  padding-left: 1rem;
  margin-top: 1rem;
}

.contact-block p { margin: 0 0 0.7rem; }
.contact-block a { color: var(--c-ink); }

.map-card h3 { margin-bottom: 0.8rem; }
.map-card { display: grid; align-content: start; gap: 0.75rem; }
.map-link { min-height: 44px; display: inline-flex; align-items: center; }
.map-frame iframe { width: 100%; height: 280px; border: 0; background: var(--c-tint); }

.site-footer { padding: 0 0 2.5rem; }
.site-footer .wrap { display: grid; gap: 0.7rem; }
.tagline { font-family: var(--font-display); font-weight: 700; margin: 0; }
.prototype-notice { color: var(--c-muted); max-width: 42rem; }
.offer-cta { justify-self: start; }

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--c-surface);
  box-shadow: var(--shadow-1);
}

.sticky-cta .button { width: min(100%, 28rem); }

[data-frame] { position: relative; }
.frame-fallback {
  display: none;
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  margin: 0;
  padding: 0.45rem 0.6rem;
  background: var(--c-surface);
  color: var(--c-ink);
}
[data-frame].is-broken .frame-fallback { display: block; }
[data-frame].is-broken img { visibility: hidden; }

dialog {
  width: min(920px, calc(100% - 1.5rem));
  border: 0;
  padding: 0.8rem;
  background: var(--c-surface);
  color: var(--c-ink);
}

dialog::backdrop { background: rgb(26 35 48 / .72); }

.viewer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.viewer-bar button {
  min-height: 44px;
  min-width: 44px;
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
}

.viewer-close { margin-left: auto; }

.viewer-frame {
  background: var(--c-surface);
  min-height: 12rem;
}

.viewer-frame img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 0;
  background: var(--c-surface);
}

.viewer-frame figcaption { margin-top: 0.6rem; }

@media (min-width: 769px) {
  .hero--split-type-right {
    display: grid;
    grid-template-columns: 56% 44%;
    min-height: 76vh;
    align-items: stretch;
  }

  .hero-media {
    aspect-ratio: auto;
    max-height: none;
    min-height: 76vh;
    height: 100%;
  }

  .hero-copy {
    max-width: 26rem;
    margin: 0;
    padding: 2rem 1.5rem 2rem 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .gallery-tile { flex-basis: 42%; }
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
}

@media (min-width: 1024px) {
  .menu-toggle, .nav-backdrop { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    background: transparent;
  }
  .site-header a.header-cta { display: inline-flex; white-space: nowrap; }
  .primary-nav a, .lang-nav { white-space: nowrap; }
  .lang-nav { flex-wrap: nowrap; }
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
  .wordmark { font-size: 1.05rem; white-space: nowrap; }
  .primary-nav { gap: 0.7rem; }
  .gallery-tile { flex-basis: 24%; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .header-bar { flex-wrap: wrap; row-gap: 0.2rem; }
  .wordmark { order: 1; }
  .lang-nav { order: 2; margin-left: auto; }
  .site-header a.header-cta { order: 3; margin-left: 0.6rem; }
  .primary-nav { order: 4; flex: 1 0 100%; }
}

@media (min-width: 1200px) {
  .header-bar { flex-wrap: nowrap; }
  .wordmark { font-size: 1.15rem; }
}

@media (min-width: 1280px) {
  .gallery-tile { flex-basis: 18.5rem; }
}

@media (max-width: 1023px) {
  .primary-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    width: min(20rem, 100%);
    z-index: 60;
    padding: 1rem var(--gutter) 2rem;
    overflow: auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: hero-enter 500ms var(--ease) both; }
}

@keyframes hero-enter {
  from { transform: translateX(16px); }
  to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy { animation: none; }
}
