/* Treflyn Barn — cinematic homepage polish v1.6 */

/* —— Page entrance —— */
html.tb-cinematic body.tb-front {
  overflow-x: hidden;
}

body.tb-front.tb-booting .hero-content,
body.tb-front.tb-booting .hero-card {
  opacity: 0;
}

body.tb-front.tb-ready .hero-content {
  animation: cineHeroIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.tb-front.tb-ready .hero-card {
  animation: cineCardIn 1.15s 0.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cineHeroIn {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: none;
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes cineCardIn {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Hero cinematic mesh + ken burns —— */
.hero {
  isolation: isolate;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(201, 166, 107, 0.18), transparent 60%),
    radial-gradient(ellipse 40% 35% at 85% 25%, rgba(224, 196, 154, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(10, 20, 16, 0.35), transparent 70%);
  mix-blend-mode: normal;
  opacity: 0.85;
  animation: none;
}

@keyframes meshDrift {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.06) translate(-1.5%, 1%);
  }
}

.hero-slide {
  overflow: hidden;
}

.hero-slide img {
  transform: scale(1.04);
  transition: transform 7.5s ease-out, opacity 1.1s ease;
  will-change: auto;
}

.hero-slide.active img {
  animation: none;
  transform: scale(1.04); /* was kenBurns */
}

@keyframes kenBurns {
  from {
    transform: scale(1.08) translate(0, 0);
  }
  to {
    transform: scale(1.16) translate(-1.5%, -1%);
  }
}

/* Hero title word stagger */
.hero-content h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  animation: wordUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes wordUp {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-content h1 em {
  /* Solid — animated background-clip:text flickered over slides */
  color: var(--champagne-soft);
  font-style: italic;
}

@keyframes goldShimmer {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

/* Hero scroll cue */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  z-index: 6;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 252, 248, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.35s, color 0.25s;
}

.hero-scroll-cue:hover {
  color: var(--champagne-soft);
}

.hero-scroll-cue .cue-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255, 252, 248, 0.45);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-cue .cue-mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--champagne-soft);
  animation: cueDot 1.8s ease-in-out infinite;
}

@keyframes cueDot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  70% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 0;
  }
}

.hero.is-scrolled-past .hero-scroll-cue {
  opacity: 0;
  pointer-events: none;
}

/* —— Desktop section rail —— */
.section-rail {
  position: fixed;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: none;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.65rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.72);
  border: 1px solid rgba(15, 28, 22, 0.08);
  box-shadow: 0 12px 32px rgba(15, 20, 16, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 1180px) {
  .section-rail {
    display: flex;
  }
}

.section-rail a {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(15, 28, 22, 0.18);
  border: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.25s, box-shadow 0.3s;
}

.section-rail a:hover,
.section-rail a:focus-visible {
  transform: scale(1.35);
  background: var(--champagne);
  outline: none;
}

.section-rail a.active {
  background: var(--forest);
  box-shadow: 0 0 0 3px rgba(201, 166, 107, 0.35);
  transform: scale(1.25);
}

.section-rail a[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  white-space: nowrap;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--forest);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.25s;
}

.section-rail a:hover::after,
.section-rail a:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* —— Sticky header glass —— */
.site-header {
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.35s,
    backdrop-filter 0.4s;
}

.site-header.scrolled {
  background: rgba(255, 252, 248, 0.86) !important;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 8px 28px rgba(15, 20, 16, 0.07);
  border-bottom-color: rgba(201, 166, 107, 0.18);
}

.nav-links a[data-nav] {
  position: relative;
}

.nav-links a[data-nav]::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  bottom: -0.2rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--champagne), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.nav-links a[data-nav].active::after,
.nav-links a[data-nav]:hover::after {
  transform: scaleX(1);
}

/* —— Trust bar marquee pulse —— */
.trust-bar-inner {
  position: relative;
}

.tb-item {
  position: relative;
}

.tb-item strong {
  background: linear-gradient(90deg, #f0d7b0, #fff, #f0d7b0);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
}

.tb-item:hover strong {
  animation: goldShimmer 2.4s ease-in-out infinite;
  color: transparent;
}

/* —— Promise: glass edge + staggered glow —— */
.promise-card {
  border: 1px solid rgba(201, 166, 107, 0.12);
  backdrop-filter: blur(2px);
}

.promise-card.visible {
  animation: cardSettle 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cardSettle {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— About images scrub —— */
.about-images figure {
  position: relative;
}

.about-images figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 252, 248, 0.18) 48%,
    transparent 65%
  );
  transform: translateX(-120%);
  pointer-events: none;
  transition: none;
}

.about-images figure:hover::after {
  animation: shineSweep 0.9s ease;
}

@keyframes shineSweep {
  to {
    transform: translateX(120%);
  }
}

.about-images.reveal.visible .main img {
  animation: imgReveal 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes imgReveal {
  from {
    transform: scale(1.08);
    filter: blur(4px) brightness(0.9);
  }
  to {
    transform: scale(1);
    filter: none;
  }
}

/* —— Pull quote cinema —— */
.pull-quote {
  position: relative;
  overflow: hidden;
}

.pull-quote::before {
  content: "“";
  position: absolute;
  left: 50%;
  top: 0.5rem;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 1;
  color: rgba(201, 166, 107, 0.1);
  pointer-events: none;
}

.pull-quote blockquote p {
  position: relative;
}

.pull-quote.reveal.visible blockquote {
  animation: quoteIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes quoteIn {
  from {
    opacity: 0;
    transform: translateY(16px);
    letter-spacing: 0.04em;
  }
  to {
    opacity: 1;
    transform: none;
    letter-spacing: normal;
  }
}

/* —— Gallery filters —— */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto 1.75rem;
}

.gallery-filters button {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest-soft);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.3s,
    box-shadow 0.3s;
}

.gallery-filters button:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 166, 107, 0.45);
  box-shadow: 0 8px 18px rgba(15, 20, 16, 0.06);
}

.gallery-filters button.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--champagne-soft);
  box-shadow: 0 10px 22px rgba(15, 28, 22, 0.16);
}

.gallery-item {
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item.is-filtering-out {
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}

.gallery-grid.is-filtering .gallery-item:not(.is-hidden) {
  animation: galIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes galIn {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Gallery masonry-ish denser rhythm */
.gallery-item:nth-child(3n) img {
  object-position: center 30%;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 rgba(201, 166, 107, 0);
  transition: box-shadow 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.gallery-item:hover::before {
  box-shadow: inset 0 0 0 2px rgba(201, 166, 107, 0.55);
}

/* —— Experience timeline feel —— */
.exp-grid {
  position: relative;
}

@media (min-width: 900px) {
  .exp-grid::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 42%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(201, 166, 107, 0.45),
      transparent
    );
    z-index: 0;
    pointer-events: none;
  }
}

.exp-card {
  z-index: 1;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}

.exp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(15, 20, 16, 0.14);
}

.exp-visual {
  background-size: cover;
  background-position: center;
}

/* —— Season cards seasonal accents —— */
.season-card:nth-child(1) .s-label {
  color: #5a8f6a;
}
.season-card:nth-child(2) .s-label {
  color: #c9a66b;
}
.season-card:nth-child(3) .s-label {
  color: #b8734a;
}
.season-card:nth-child(4) .s-label {
  color: #6b8cae;
}

.season-card {
  position: relative;
  overflow: hidden;
}

.season-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--champagne), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.season-card:hover::after {
  transform: scaleX(1);
}

/* —— Location points draw-in —— */
.location-point {
  transition: transform 0.35s ease, border-color 0.3s;
}

.location-point .num {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s,
    background 0.25s;
}

.location-point:hover .num {
  transform: scale(1.08);
  color: var(--forest);
  background: rgba(201, 166, 107, 0.2);
}

.location-map {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 20px 48px rgba(15, 20, 16, 0.12);
}

.location-map::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(201, 166, 107, 0.25);
  pointer-events: none;
  z-index: 1;
}

/* —— Review cards cascade —— */
.reviews-grid-quotes .review-card.visible {
  animation: cardSettle 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reviews-grid-quotes .review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 20, 16, 0.1);
  border-color: rgba(201, 166, 107, 0.35);
}

/* —— Booking form ambient —— */
.booking-wrap {
  position: relative;
}

.booking-form-panel {
  position: relative;
}

.booking-form-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(201, 166, 107, 0.4),
    transparent 40%,
    transparent 60%,
    rgba(201, 166, 107, 0.2)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.field.is-focused label {
  color: var(--champagne-deep);
}

/* —— Final CTA parallax-ready —— */
.final-cta {
  position: relative;
  overflow: hidden;
}

.final-cta-bg {
  will-change: transform;
}

.final-cta-inner h2 em {
  background: linear-gradient(120deg, #f0d7b0, #fff, #c9a66b);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldShimmer 5s ease-in-out infinite;
}

/* —— Back-to-top ring progress (must stay fixed — do not use position:relative) —— */
.back-top {
  overflow: visible !important;
}

.back-top .bt-ring {
  position: absolute;
  inset: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  transform: rotate(-90deg);
  pointer-events: none;
}

.back-top .bt-ring circle {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.back-top .bt-ring .bt-track {
  stroke: rgba(15, 28, 22, 0.12);
}

.back-top .bt-ring .bt-prog {
  stroke: var(--champagne);
  stroke-dasharray: 113;
  stroke-dashoffset: 113;
  transition: stroke-dashoffset 0.12s linear;
}

/* —— Lightbox cinematic —— */
.lightbox.open {
  animation: lbFade 0.35s ease both;
}

.lightbox.open img {
  animation: lbZoom 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes lbFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes lbZoom {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Image load fade —— */
img.tb-img-ready {
  animation: fadeImg 0.55s ease both;
}

@keyframes fadeImg {
  from {
    opacity: 0.35;
    filter: blur(4px);
  }
  to {
    opacity: 1;
    filter: none;
  }
}

/* —— Soft section dividers —— */
.section {
  position: relative;
}

.gallery-section,
.experience-section,
.reviews-section {
  scroll-margin-top: 5rem;
}

#about,
#gallery,
#experience,
#location,
#reviews,
#book {
  scroll-margin-top: 5rem;
}

/* Decorative gold hairline under section heads */
.section-head::after {
  background: linear-gradient(90deg, var(--champagne), transparent) !important;
  height: 2px !important;
  border-radius: 2px;
}

/* —— Ambient float shapes (subtle) —— */
.ambient-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.4;
}

.ambient-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  background: radial-gradient(circle, rgba(201, 166, 107, 0.35), transparent 70%);
  animation: orbFloat 18s ease-in-out infinite;
}

.ambient-orbs span:nth-child(1) {
  width: 280px;
  height: 280px;
  left: -5%;
  top: 20%;
  animation-duration: 22s;
}

.ambient-orbs span:nth-child(2) {
  width: 200px;
  height: 200px;
  right: -3%;
  top: 55%;
  animation-duration: 26s;
  animation-delay: -6s;
}

.ambient-orbs span:nth-child(3) {
  width: 160px;
  height: 160px;
  left: 40%;
  bottom: 10%;
  animation-duration: 20s;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -40px) scale(1.08);
  }
}

/* —— Mobile book bar glass —— */
.mobile-book-bar {
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
}

.mobile-book-bar.show {
  animation: barSlide 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes barSlide {
  from {
    transform: translateY(110%);
  }
  to {
    transform: translateY(0);
  }
}

/* —— Reduced motion —— */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh,
  .hero-slide.active img,
  .hero-content h1 em,
  .hero-scroll-cue .cue-mouse::after,
  .ambient-orbs span,
  .nav-cta,
  .final-cta-inner h2 em {
    animation: none !important;
  }

  body.tb-front.tb-ready .hero-content,
  body.tb-front.tb-ready .hero-card,
  .gallery-grid.is-filtering .gallery-item,
  .promise-card.visible,
  .reviews-grid-quotes .review-card.visible {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .hero-content h1 .word {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* —— Small screens —— */
@media (max-width: 720px) {
  .hero-scroll-cue {
    bottom: 1rem;
    font-size: 0.6rem;
  }

  .gallery-filters {
    gap: 0.4rem;
  }

  .gallery-filters button {
    font-size: 0.7rem;
    padding: 0.42rem 0.8rem;
  }
}

/* =========================================================
   v1.7 — Deeper homepage elevate
   ========================================================= */

/* Stats band (vertical spacing owned by flow.css) */
.stats-band {
  position: relative;
  z-index: 2;
}

.stats-band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg, 22px);
  background:
    linear-gradient(145deg, rgba(255, 252, 248, 0.98), rgba(247, 242, 234, 0.96));
  border: 1px solid rgba(201, 166, 107, 0.22);
  box-shadow:
    0 24px 50px rgba(15, 20, 16, 0.08),
    0 0 0 1px rgba(255, 252, 248, 0.6) inset;
}

.stat-cell {
  text-align: center;
  padding: 0.35rem 0.25rem;
  position: relative;
}

.stat-cell:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.35rem;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201, 166, 107, 0.45), transparent);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--forest);
  letter-spacing: -0.02em;
}

.stat-value-text {
  background: linear-gradient(120deg, var(--champagne-deep), var(--champagne-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 700px) {
  .stats-band-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.5rem;
  }
  .stat-cell:nth-child(2)::after {
    display: none;
  }
}

/* Atmosphere marquee strip */
.atmosphere-strip {
  padding: 1.25rem 0 1.75rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(240, 235, 227, 0.5), transparent);
}

.atmosphere-track {
  display: flex;
  gap: 0.65rem;
  width: max-content;
  animation: atmMarquee 42s linear infinite;
}

.atmosphere-strip:hover .atmosphere-track {
  animation-play-state: paused;
}

.atm-chip {
  flex-shrink: 0;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--forest-soft);
  background: var(--paper);
  border: 1px solid rgba(201, 166, 107, 0.28);
  box-shadow: 0 6px 16px rgba(15, 20, 16, 0.04);
  transition: transform 0.3s var(--ease), background 0.25s, color 0.25s;
}

.atm-chip:hover {
  transform: translateY(-3px) scale(1.04);
  background: var(--forest);
  color: var(--champagne-soft);
  border-color: var(--forest);
}

@keyframes atmMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Gallery count */
.gallery-count {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--champagne-deep);
}

/* Filmstrip */
.filmstrip-section {
  padding: 1rem 0 3rem;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(201, 166, 107, 0.08), transparent 60%),
    var(--ivory);
}

.filmstrip-head {
  margin-bottom: 1.25rem;
  text-align: center;
}

.filmstrip-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--forest);
}

.filmstrip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem max(1.5rem, calc((100vw - var(--max, 1180px)) / 2 + 1.5rem));
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filmstrip::-webkit-scrollbar {
  display: none;
}

.filmstrip.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.film-card {
  flex: 0 0 min(72vw, 340px);
  scroll-snap-align: center;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 40px rgba(15, 20, 16, 0.12);
  border: 1px solid rgba(15, 28, 22, 0.06);
  transform: scale(0.96);
  transition: transform 0.45s var(--ease), box-shadow 0.4s;
}

.film-card:hover,
.film-card.is-center {
  transform: scale(1);
  box-shadow: 0 22px 50px rgba(15, 20, 16, 0.16);
  z-index: 1;
}

.film-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease), filter 0.4s;
  user-select: none;
  pointer-events: none;
}

.film-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.film-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 1rem 0.85rem;
  background: linear-gradient(transparent, rgba(8, 14, 11, 0.78));
  color: #fffcf8;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.filmstrip-hint {
  text-align: center;
  margin-top: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.8;
}

/* Day rhythm timeline */
.day-rhythm {
  margin-top: 3.25rem;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: var(--radius-lg, 22px);
  background:
    linear-gradient(160deg, #0f1c16 0%, #1a2e24 55%, #15241d 100%);
  color: rgba(255, 252, 248, 0.88);
  box-shadow: 0 28px 60px rgba(15, 20, 16, 0.18);
  position: relative;
  overflow: hidden;
}

.day-rhythm::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 90% 10%, rgba(201, 166, 107, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(224, 196, 154, 0.08), transparent 50%);
  pointer-events: none;
}

.day-rhythm-head {
  position: relative;
  text-align: center;
  margin-bottom: 1.75rem;
}

.day-rhythm-head .eyebrow {
  color: var(--champagne-soft);
}

.day-rhythm-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  color: #fffcf8;
}

.day-timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

@media (min-width: 860px) {
  .day-timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
  }
  .day-timeline::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 2.15rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 166, 107, 0.5), transparent);
  }
}

.day-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem 1rem 1fr;
  gap: 0.65rem 0.75rem;
  align-items: start;
  padding: 0.85rem 0.4rem;
}

@media (min-width: 860px) {
  .day-timeline li {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 0 0.4rem;
  }
}

.dt-time {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--champagne-soft);
  padding-top: 0.15rem;
}

.dt-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 0 4px rgba(201, 166, 107, 0.2);
  margin-top: 0.35rem;
  justify-self: center;
  animation: dotPulse 2.4s ease-in-out infinite;
}

.day-timeline li:nth-child(2) .dt-dot { animation-delay: 0.3s; }
.day-timeline li:nth-child(3) .dt-dot { animation-delay: 0.6s; }
.day-timeline li:nth-child(4) .dt-dot { animation-delay: 0.9s; }
.day-timeline li:nth-child(5) .dt-dot { animation-delay: 1.2s; }

.day-timeline strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: #fffcf8;
  margin-bottom: 0.2rem;
}

.day-timeline p {
  font-size: 0.86rem;
  line-height: 1.5;
  opacity: 0.72;
  margin: 0;
}

/* Featured review carousel */
.reviews-featured {
  position: relative;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  padding: 0 3rem;
}

.rf-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg, 22px);
  background:
    linear-gradient(165deg, #fffcf8 0%, #f4efe6 100%);
  border: 1px solid rgba(201, 166, 107, 0.28);
  box-shadow: 0 20px 48px rgba(15, 20, 16, 0.08);
}

.rf-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.rf-slide {
  flex: 0 0 100%;
  padding: 2.4rem 2rem 2rem;
  text-align: center;
  opacity: 0.35;
  transform: scale(0.96);
  transition: opacity 0.45s, transform 0.45s;
}

.rf-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.rf-slide .stars {
  color: var(--champagne);
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.rf-slide blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--forest);
  margin: 0 0 1.1rem;
}

.rf-slide footer {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.rf-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 20, 16, 0.08);
  transition: background 0.25s, color 0.25s, transform 0.3s, border-color 0.25s;
  z-index: 2;
}

.rf-nav:hover {
  background: var(--forest);
  color: var(--champagne-soft);
  border-color: var(--forest);
  transform: translateY(-50%) scale(1.06);
}

.rf-prev { left: 0; }
.rf-next { right: 0; }

.rf-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.rf-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(15, 28, 22, 0.18);
  cursor: pointer;
  transition: transform 0.25s, background 0.25s, width 0.3s;
}

.rf-dots button.is-active {
  background: var(--champagne-deep);
  width: 22px;
  border-radius: 999px;
}

/* Booking reply pulse */
.aside-reply {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.95rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: rgba(201, 166, 107, 0.12);
  border: 1px solid rgba(201, 166, 107, 0.22);
  font-size: 0.8rem;
  line-height: 1.35;
  color: rgba(255, 252, 248, 0.88);
}

.reply-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6dcea0;
  box-shadow: 0 0 0 0 rgba(109, 206, 160, 0.5);
  animation: replyPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes replyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(109, 206, 160, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(109, 206, 160, 0); }
}

/* Lightbox meta */
.lightbox-meta {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 252, 248, 0.9);
  z-index: 5;
  max-width: min(90vw, 520px);
}

.lightbox-meta .lightbox-counter {
  position: static;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  opacity: 0.8;
}

.lightbox-caption {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

/* Hero kicker underline draw */
.hero-kicker {
  position: relative;
  display: inline-block;
}

.hero-kicker::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2em;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--champagne-soft), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease);
}

body.tb-ready .hero-kicker::after {
  transform: scaleX(1);
  transition-delay: 0.6s;
}

/* Promise cards number counter glow */
.promise-card .p-num {
  font-variant-numeric: tabular-nums;
}

/* Sleep cards stacked lift */
.sleep-card {
  transition: transform 0.45s var(--ease), box-shadow 0.4s;
}

.sleep-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(15, 20, 16, 0.12);
}

/* FAQ premium open */
.faq-item {
  transition: box-shadow 0.35s, border-color 0.3s, transform 0.35s;
  border-radius: 12px;
  overflow: hidden;
}

.faq-item.open {
  box-shadow: 0 14px 36px rgba(15, 20, 16, 0.08);
  border-color: rgba(201, 166, 107, 0.35);
  transform: translateY(-2px);
}

/* Host card glow ring */
.host-photo {
  box-shadow: 0 0 0 0 rgba(201, 166, 107, 0.3);
  animation: hostRing 3.5s ease-in-out infinite;
}

@keyframes hostRing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 166, 107, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(201, 166, 107, 0); }
}

/* Scroll progress richer */
.scroll-progress {
  height: 3px !important;
  background: linear-gradient(
    90deg,
    var(--champagne-deep),
    var(--champagne-soft),
    #fff6e6,
    var(--champagne)
  ) !important;
  background-size: 200% 100% !important;
  animation: progShimmer 4s linear infinite;
}

@keyframes progShimmer {
  from { background-position: 0% 0; }
  to { background-position: 200% 0; }
}

/* Section number watermark on major sections */
.about-section,
.gallery-section,
.experience-section,
.location-section,
.reviews-section,
.booking-section {
  position: relative;
}

/* Soft vignette on hero */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, transparent 40%, rgba(8, 14, 11, 0.35) 100%);
  opacity: 0.7;
}

/* Nav CTA stronger pulse when not scrolled */
.nav-cta {
  box-shadow: 0 0 0 0 rgba(201, 166, 107, 0.4);
}

.site-header:not(.scrolled) .nav-cta {
  animation: nudge 3.2s ease-in-out infinite, ctaGlow 2.8s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 166, 107, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(201, 166, 107, 0); }
}

/* Reduced motion for new bits */
@media (prefers-reduced-motion: reduce) {
  .atmosphere-track,
  .reply-dot,
  .dt-dot,
  .host-photo,
  .scroll-progress,
  .site-header:not(.scrolled) .nav-cta {
    animation: none !important;
  }
  .filmstrip {
    scroll-behavior: auto;
  }
}

@media (max-width: 640px) {
  .reviews-featured {
    padding: 0 2.4rem;
  }
  .rf-slide {
    padding: 1.75rem 1.25rem 1.5rem;
  }
  .day-rhythm {
    padding: 1.5rem 1rem 1.25rem;
  }
  .film-card img {
    height: 200px;
  }
}
