/* Standalone pages, contact page and the travel blog. */
@layer pages {

.page-layout {
  display: grid;
  gap: var(--space-7);
}
@media (min-width: 960px) {
  .page-layout {
    grid-template-columns: minmax(0, 1fr) 20rem;
    align-items: start;
  }
  .page-aside {
    position: sticky;
    top: calc(var(--header-height) + var(--space-5));
  }
}

/* ---- contact ---- */
.contact-form-title {
  margin-bottom: var(--space-5);
}
.contact-sub {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-4) 0 var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
}
.contact-hours {
  color: var(--color-muted);
}

/* ---- blog ---- */
.article-byline {
  margin-bottom: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-muted);
}
.article-body {
  font-size: var(--text-lg);
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
}
.article-related {
  margin-top: var(--space-7);
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.article-related h2 {
  margin-bottom: var(--space-3);
}

/* ---- standard pages ---- */
.prose-page {
  font-size: var(--text-lg);
  line-height: 1.7;
}
.prose-page > p:first-child {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.45;
}
.contact-card .eyebrow {
  margin-bottom: var(--space-2);
}

/* ---- contact ---- */
.contact-methods {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  text-decoration: none;
  transition: border-color var(--duration-fast) var(--ease), transform var(--duration) var(--ease);
}
a.contact-method:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}
.contact-method-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-sage-tint);
  color: var(--color-primary);
}
.contact-method-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-muted);
}
.contact-method-value {
  display: block;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contact-sub .icon {
  color: var(--color-sage);
}
.contact-plan {
  display: grid;
  gap: var(--space-3);
}
.contact-plan .eyebrow {
  margin: 0;
}

/* ---- listings: category chips and a lead article ---- */
.filter-chips {
  margin-bottom: var(--space-6);
}
@media (min-width: 900px) {
  .article-grid--lead > li:first-child {
    grid-column: 1 / -1;
  }
  .article-grid--lead > li:first-child .article-link {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    column-gap: var(--space-7);
  }
  .article-grid--lead > li:first-child .article-media {
    grid-row: 1 / span 4;
    margin: 0;
  }
  .article-grid--lead > li:first-child .article-link > :not(.article-media) {
    grid-column: 2;
  }
  .article-grid--lead > li:first-child .article-title {
    font-size: var(--text-2xl);
  }
}

/* ---- article preview banner (staff only) and share links ---- */
/* Fixed to the bottom so it never sits under the transparent header. */
.preview-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: var(--z-banner);
  box-shadow: 0 -4px 16px rgb(0 0 0 / 0.15);
  padding: var(--space-3) 0;
  background: var(--color-accent);
  color: var(--color-night);
  font-size: var(--text-sm);
}
.preview-banner a {
  color: inherit;
  font-weight: 600;
}
.share {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}
.share-title {
  margin-bottom: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.share-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.share-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding: 0 var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.share-link:hover {
  border-color: var(--color-primary);
  background: var(--color-sage-tint);
}
.share-link .icon {
  width: 1rem;
  height: 1rem;
}
body:has(.preview-banner) {
  padding-bottom: 3.5rem;
}

/* ---- about (templates/content/about.html) ----
   Sections of the editable About text, each in its own layout. */
.about-intro-inner {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
.about-intro-text h2,
.about-band-text h2,
.about-gallery-head h2 {
  font-size: var(--text-3xl);
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.about-prose {
  margin-top: var(--space-5);
  max-width: 38rem;
}
.about-prose p:first-child {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
  color: var(--color-primary-dark);
}
.about-intro-photos {
  position: relative;
  padding-bottom: var(--space-8);
}
.about-intro-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.about-intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Two photographs, overlapping: landscape frames by default, portrait ones keep
   their shape (.is-portrait), so no photograph is cropped against its grain. */
.about-intro-photo--main {
  aspect-ratio: 4 / 3;
  width: 86%;
}
.about-intro-photo--inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--color-background);
  box-shadow: var(--shadow-panel);
}
.about-intro-photo--main.is-portrait {
  aspect-ratio: 4 / 5;
  width: 70%;
}
.about-intro-photo--inset.is-portrait {
  aspect-ratio: 4 / 5;
  width: 36%;
}
@media (min-width: 960px) {
  .about-intro-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--space-8);
  }
}

/* Full-width photograph with the text on a panel. */
.about-band {
  position: relative;
  display: grid;
  align-content: center;
  min-height: clamp(30rem, 80svh, 44rem);
  padding-block: var(--space-section);
  background: var(--color-night);
  color: var(--color-on-dark);
  isolation: isolate;
  overflow: hidden;
}
.about-band-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.about-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(var(--rgb-night-deep) / 0.66);
}
@media (min-width: 960px) {
  .about-band::after {
    background: linear-gradient(to right, rgb(var(--rgb-night-deep) / 0.82), rgb(var(--rgb-night-deep) / 0.35) 65%, transparent);
  }
}
.about-band-text {
  max-width: 36rem;
}
.about-band-text p {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  color: var(--color-on-dark-soft);
}

/* "What sets us apart": photograph cards. */
.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: var(--space-5);
  margin: var(--space-7) 0 0;
  padding: 0;
  list-style: none;
}
.about-feature {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-background);
  box-shadow: var(--shadow-card);
}
.about-feature-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.about-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.about-feature-body {
  padding: var(--space-5) var(--space-5) var(--space-6);
}
.about-feature-number {
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-accent-text);
}
.about-feature h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}
.about-feature p {
  color: var(--color-muted);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .about-feature:hover .about-feature-media img {
    transform: scale(1.05);
  }
}

/* "Loved by travellers": text, then a strip of photographs to swipe through. */
.about-gallery-head {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}
.about-gallery-head .lead {
  max-width: 40rem;
}
@media (min-width: 960px) {
  .about-gallery-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
  }
}
.about-reel {
  display: flex;
  gap: var(--space-4);
  margin: 0;
  padding: 0 var(--gutter) var(--space-3);
  list-style: none;
  position: relative; /* keeps visually hidden text inside, so it cannot widen the page */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
}
/* One height for every photograph; the width follows its shape. */
.about-reel-item {
  flex: none;
  height: clamp(14rem, 9rem + 18vw, 22rem);
  aspect-ratio: 3 / 2;
  max-width: 86vw;
  overflow: hidden;
  border-radius: var(--radius-lg);
  scroll-snap-align: start;
}
.about-reel-item.is-portrait {
  aspect-ratio: 4 / 5;
}
.about-reel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visit {
  display: grid;
  gap: var(--space-7);
  align-items: start;
}
@media (min-width: 960px) {
  .about-visit {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  }
}

} /* end @layer pages */
