/* True Nature UI polish — October 2026
   Progressive enhancement only. The site remains fully usable without this file. */

/* Softer, more tactile navigation */
.site-header {
  transition: background-color .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.site-header.tn-scrolled {
  background: rgba(251, 247, 239, .985);
  border-bottom-color: rgba(209, 196, 174, .9);
  box-shadow: 0 10px 30px rgba(36, 57, 44, .07);
}
.site-header::before { transition: backdrop-filter .28s ease; }
.nav-toggle { transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.nav-toggle:hover { border-color: var(--sage); background: #fff; }
.nav-toggle:active { transform: scale(.96); }
.brand img { transition: transform .28s ease; transform-origin: left center; }
.site-header.tn-scrolled .brand img { transform: scale(.96); }

@media (max-width: 1079px) {
  /* Animate the menu instead of snapping it on/off. */
  .js .site-nav {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    height: calc(100dvh - var(--header-h));
    padding: 16px var(--gutter) 44px;
    overflow-y: auto;
    background: rgba(251,247,239,.985);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .24s ease, transform .24s ease, visibility .24s step-end;
    z-index: 49;
  }
  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: opacity .24s ease, transform .24s ease, visibility 0s;
  }
  .site-nav li {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav-open .site-nav li { opacity: 1; transform: none; }
  .nav-open .site-nav li:nth-child(2) { transition-delay: .035s; }
  .nav-open .site-nav li:nth-child(3) { transition-delay: .07s; }
  .nav-open .site-nav li:nth-child(4) { transition-delay: .105s; }
  .nav-open .site-nav li:nth-child(5) { transition-delay: .14s; }
  .nav-open .site-nav li:nth-child(6) { transition-delay: .175s; }
  .nav-open .site-nav li:nth-child(7) { transition-delay: .21s; }
}

/* The hero image gets a tiny settling movement after load; text never starts hidden. */
@media (prefers-reduced-motion: no-preference) {
  html.tn-ready .hero:not(.cta-band) .hero-media img {
    animation: tn-hero-settle .95s cubic-bezier(.2,.7,.2,1) both;
  }
  @keyframes tn-hero-settle {
    from { transform: scale(1.018); }
    to { transform: scale(1); }
  }
}

/* Scroll reveals. Added by polish.js so content is never hidden when JS is unavailable. */
@media (prefers-reduced-motion: no-preference) {
  .tn-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity .65s cubic-bezier(.22,.61,.36,1) var(--tn-delay, 0ms),
      transform .65s cubic-bezier(.22,.61,.36,1) var(--tn-delay, 0ms);
    will-change: opacity, transform;
  }
  .tn-reveal.tn-visible { opacity: 1; transform: none; will-change: auto; }
}

/* Cards and panels feel touchable without turning the retreat into an app dashboard. */
.card, .stay-card, .card-plain, .included li, .steps li, .fit-panel {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover, .stay-card:hover, .card-plain:hover, .included li:hover, .steps li:hover {
    transform: translateY(-4px);
    border-color: rgba(169,184,154,.8);
    box-shadow: 0 16px 38px rgba(42,46,41,.09);
  }
  .card:hover .card-media img { transform: scale(1.045); }
  .split-media:hover img, .gallery figure:hover img, .collage figure:hover img { transform: scale(1.018); }
}
.card:focus-within, .stay-card:focus-within, .card-plain:focus-within {
  border-color: var(--sage);
  box-shadow: 0 12px 30px rgba(42,46,41,.08);
}
.card-media img, .split-media img, .gallery img, .collage img {
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.split-media, .reel-frame, .gallery figure, .collage figure {
  box-shadow: 0 1px 2px rgba(42,46,41,.04), 0 12px 34px rgba(42,46,41,.07);
}

.btn { box-shadow: 0 1px 0 rgba(255,255,255,.18) inset; }
.btn:not(:active):hover { transform: translateY(-2px); }
.booking-search { transition: box-shadow .28s ease, border-color .28s ease; }
.booking-search:focus-within { border-color: var(--sage); box-shadow: 0 14px 38px rgba(42,46,41,.10); }

.faq details { transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: rgba(169,184,154,.9); background: #fff; box-shadow: 0 8px 22px rgba(42,46,41,.05); }
.faq summary:hover { color: var(--olive-dark); }

/* Give swipeable galleries a clearer mobile rhythm. */
.gallery, .reels { overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; scroll-padding-inline: 2px; }
.gallery figure, .reel { scroll-snap-stop: always; }
@media (max-width: 759px) {
  .gallery { grid-auto-columns: 88%; gap: 14px; }
  .reels { grid-auto-columns: 78%; gap: 16px; }
}

.mobile-bar {
  background: rgba(251,247,239,.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 -12px 30px rgba(36,57,44,.06);
}
.wa-float { transition: transform .22s ease, box-shadow .22s ease; }
.wa-float:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 12px 28px rgba(0,0,0,.25); }

/* New lightweight accommodation film. */
.ambient-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--forest);
  border: 1px solid rgba(230,220,203,.8);
  box-shadow: 0 18px 46px rgba(36,57,44,.12);
  aspect-ratio: 16 / 9;
}
.ambient-media video, .ambient-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.ambient-media::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 56%, rgba(20,27,21,.58) 100%);
}
.ambient-control {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(25,34,27,.58);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font: 600 .82rem/1 var(--sans);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.ambient-control:hover { background: rgba(25,34,27,.78); transform: translateY(-1px); }
.ambient-media noscript a { position: absolute; z-index: 3; right: 14px; bottom: 14px; }
.ambient-caption {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 15px;
  margin: 0;
  padding-right: 116px;
  color: rgba(255,255,255,.94);
  font-size: .86rem;
  text-shadow: 0 1px 10px rgba(0,0,0,.45);
}
.stay-film-copy { max-width: 560px; }
@media (min-width: 900px) {
  .stay-film-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.35fr); gap: 42px; align-items: center; }
}
@media (max-width: 600px) {
  .ambient-media { aspect-ratio: 4 / 3; }
  .ambient-caption { display: none; }
}

/* Fresh-photo utility for images supplied after the original build. */
.tn-photo img { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  .tn-reveal { opacity: 1 !important; transform: none !important; }
  .site-header, .brand img, .card, .stay-card, .card-plain, .included li, .steps li,
  .fit-panel, .card-media img, .split-media img, .gallery img, .collage img { transition: none !important; }
}

/* October 4 refinement: smoother navigation, stronger image presentation and calmer motion. */
html {
  scroll-padding-top: calc(var(--header-h) + 18px);
  scrollbar-gutter: stable;
}
main .section, main [id] { scroll-margin-top: calc(var(--header-h) + 18px); }
h1, h2, .section-head { text-wrap: balance; }
p { text-wrap: pretty; }

/* Native page crossfades where supported. Unsupported browsers simply navigate normally. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: tn-page-away .18s ease both; }
::view-transition-new(root) { animation: tn-page-arrive .34s cubic-bezier(.22,.61,.36,1) both; }
@keyframes tn-page-away { to { opacity: .72; } }
@keyframes tn-page-arrive {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

/* Give large photography room to breathe and prevent odd crop flashes during hover/reveal. */
.card-media, .split-media, .gallery figure, .collage figure, .hero-media { overflow: hidden; }
.tn-hd-img { image-rendering: auto; }

@media (prefers-reduced-motion: no-preference) {
  /* Subtle depth on the hero, driven by polish.js. Scale prevents edge gaps while moving. */
  .hero:not(.cta-band) .hero-media {
    transform: translate3d(0, var(--tn-hero-y, 0px), 0) scale(1.025);
    transform-origin: center center;
    will-change: transform;
  }

  /* A short editorial-style opening sequence instead of every element arriving at once. */
  .js .hero-content > *, .js .hero-sub .breadcrumbs {
    opacity: 0;
    transform: translateY(12px);
  }
  html.tn-ready .hero-content > * {
    animation: tn-copy-in .56s cubic-bezier(.22,.61,.36,1) both;
  }
  html.tn-ready .hero-content > *:nth-child(1) { animation-delay: .10s; }
  html.tn-ready .hero-content > *:nth-child(2) { animation-delay: .16s; }
  html.tn-ready .hero-content > *:nth-child(3) { animation-delay: .22s; }
  html.tn-ready .hero-content > *:nth-child(4) { animation-delay: .28s; }
  html.tn-ready .hero-sub .breadcrumbs {
    animation: tn-copy-in .48s cubic-bezier(.22,.61,.36,1) .05s both;
  }
  @keyframes tn-copy-in {
    to { opacity: 1; transform: none; }
  }
}

/* More deliberate section rhythm on large screens, tighter without feeling cramped on phones. */
@media (min-width: 1080px) {
  main .section > .container > .section-head { margin-bottom: clamp(30px, 3vw, 46px); }
  .split { gap: clamp(40px, 5vw, 76px); }
}
@media (max-width: 759px) {
  .section-head { margin-bottom: 24px; }
  .split { gap: 28px; }
  .card-media { min-height: 0; }
}

/* Crisp keyboard navigation and touch targets. */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(103, 122, 78, .55);
  outline-offset: 3px;
}
.site-nav a, .btn, .nav-toggle, .ambient-control { -webkit-tap-highlight-color: transparent; }

/* Slightly quieter image movement on touch devices; keep the richer hover only for pointers. */
@media (hover: none) {
  .card-media img, .split-media img, .gallery img, .collage img { transition-duration: .35s; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  .hero:not(.cta-band) .hero-media { transform: none !important; }
  .js .hero-content > *, .js .hero-sub .breadcrumbs { opacity: 1 !important; transform: none !important; }
}

/* Oct 2026 refinement: cleaner galleries, direct booking and testimonial layouts */
[hidden] { display: none !important; }

.around-rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
}
.around-rooms-grid figure { margin: 0; min-width: 0; }
.around-rooms-grid img {
  display: block;
  width: 100%;
  height: clamp(260px, 28vw, 390px);
  object-fit: cover;
  border-radius: 24px;
}

.activity-wide-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  overflow: hidden;
}
.activity-wide-card .card-media,
.activity-wide-card > img { min-height: 360px; height: 100%; }
.activity-wide-card .card-media img,
.activity-wide-card > img { width: 100%; height: 100%; object-fit: cover; }
.activity-wide-card .card-body { align-self: center; padding: clamp(28px, 4vw, 64px); }

.testimonial-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 32px);
}
.testimonial-video-grid figure { margin: 0; }
.testimonial-video-grid video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 24px;
  background: #13231b;
  box-shadow: 0 18px 50px rgba(35, 49, 39, .10);
}

.morning-silence-note,
.direct-booking-note {
  border: 1px solid rgba(50, 77, 58, .16);
  background: rgba(230, 237, 222, .55);
  border-radius: 20px;
  padding: 18px 22px;
}

.direct-booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.direct-booking-form .field-full { grid-column: 1 / -1; }
.direct-booking-form label { display: grid; gap: 7px; font-weight: 600; }
.direct-booking-form input,
.direct-booking-form select,
.direct-booking-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(30, 54, 39, .22);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fffdf9;
  color: inherit;
  font: inherit;
}
.direct-booking-form textarea { min-height: 130px; resize: vertical; }
.direct-booking-form input:focus,
.direct-booking-form select:focus,
.direct-booking-form textarea:focus {
  outline: 3px solid rgba(184, 77, 38, .18);
  border-color: #b84d26;
}

@media (max-width: 820px) {
  .around-rooms-grid,
  .testimonial-video-grid,
  .direct-booking-form { grid-template-columns: 1fr; }
  .around-rooms-grid img { height: auto; aspect-ratio: 4 / 3; }
  .activity-wide-card { display: block; }
  .activity-wide-card .card-media,
  .activity-wide-card > img { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
  .direct-booking-form .field-full { grid-column: auto; }
}
.facility-text-card {
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:300px;
  background:linear-gradient(145deg, rgba(228,234,220,.75), rgba(255,253,249,.95));
  border:1px solid rgba(62,90,63,.14);
}
.facility-text-card .card-body { padding:clamp(28px,4vw,52px); }
.direct-booking-form .field-wide { grid-column: 1 / -1; }
@media (max-width:820px){ .direct-booking-form .field-wide { grid-column:auto; } }
.testimonial-video-grid video { aspect-ratio: 9 / 16; max-height: 720px; }
.testimonial-video-grid figure { max-width: 430px; width: 100%; justify-self: center; }

/* Verified October 8 fixes: readable content, complete portraits and reliable controls. */
.fade-in, .tn-reveal, .js .hero-content > *, .js .hero-sub .breadcrumbs {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}
@keyframes tn-gentle-entry { from { opacity: .8; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .tn-reveal.tn-visible { animation: tn-gentle-entry .4s ease-out both; }
  html.tn-ready .hero-content > *, html.tn-ready .hero-sub .breadcrumbs { animation: tn-gentle-entry .45s ease-out both; }
}
.pizza-note { max-width: 760px; margin-inline: auto; }
.booking-search, .direct-booking-form { min-width: 0; }
.direct-booking-form .field, .direct-booking-form input, .direct-booking-form select { min-width: 0; }
.direct-booking-form .field-full { margin: 0; }
.direct-booking-note strong, .direct-booking-note span { display: block; }
.sirvoy-unavailable #sirvoy-booking-engine { display: none; }
.filter-count { margin: 12px 0 24px; }
.no-js .nav-toggle, .no-js .filters, .no-js .ambient-control, .no-js .sirvoy-pending { display: none; }
.no-js .site-header { position: relative; }
.no-js .site-nav li { opacity: 1; transform: none; }
.filters button, .socials a, .ambient-control { min-width: 44px; min-height: 44px; }
.lightbox { padding: 60px 60px 92px; }
.lightbox .lb-stage { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; }
.lightbox img, .lightbox video { max-width: 100%; max-height: calc(100dvh - 156px); object-fit: contain; }
.lightbox .lb-cap { margin: 0; max-height: 68px; overflow-y: auto; line-height: 1.4; }
.lightbox button { font: 400 32px/1 var(--sans); }
.ice-bath-portrait { display: block; width: 100%; height: auto !important; }
.ice-bath-portrait img { display: block; width: 100%; height: auto !important; aspect-ratio: 2 / 3 !important; object-fit: contain !important; transform: none !important; }
.card-media:has(.ice-bath-portrait) { aspect-ratio: auto; }
.ice-bath-card { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: center; }
.ice-bath-card .card-media { width: 100%; max-width: 360px; margin-inline: auto; background: transparent; }
.ice-bath-card .card-body { padding: clamp(24px, 4vw, 60px); }
@media (min-width: 1080px) {
  .activities-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .activities-grid > .card { grid-column: span 2; }
  .activities-grid > #massage, .activities-grid > #cooking-class { grid-column: span 3; }
  .activities-grid > .ice-bath-card, .activities-grid > .activity-wide-card { grid-column: 1 / -1; }
}
.collage figure:has(.ice-bath-portrait) { grid-row: span 2; }
.collage figure:has(.ice-bath-portrait) picture { height: 100% !important; display: flex; align-items: center; background: var(--sand); }
.collage figure:has(.ice-bath-portrait) img { object-fit: contain !important; }
@media (max-width: 1079px) {
  .js .wa-float { visibility: hidden; }
  .js body.scrolled .wa-float { visibility: visible; }
  .mobile-bar { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .site-nav { overscroll-behavior: contain; }
}
@media (max-width: 759px) {
  .booking-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ice-bath-card { display: block; }
  .ice-bath-card .card-media { max-width: none; }
  .lightbox { padding-inline: 14px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 82px; transform: none; }
  .lightbox .lb-cap { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .tn-reveal, .tn-reveal.tn-visible, html.tn-ready .hero-content > *, html.tn-ready .hero-sub .breadcrumbs { animation: none !important; }
  .card:hover, .stay-card:hover, .btn:hover, .card:hover .card-media img, .split-media:hover img, .gallery figure:hover img, .collage figure:hover img, .wa-float:hover { transform: none !important; }
}
@media (max-width: 380px) {
  .booking-search { grid-template-columns: minmax(0, 1fr); }
  .booking-search .field-guests, .booking-search .btn, .booking-search .note { grid-column: auto; }
  .icon-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .icon-row li { min-width: 0; }
  .icon-row li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* October 10 supplied photographs: preserve complete people and room compositions. */
.photo-natural picture, .photo-natural img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain;
}
.photo-natural:hover img { transform: none; }
.practice-photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.schedule-photo-grid { display: grid; gap: 18px; align-content: start; }
.food-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.food-photo-grid figure, .pizza-photo-grid figure, .room-photo-gallery figure { margin: 0; min-width: 0; }
.food-photo-grid picture, .pizza-photo-grid picture { display: block; overflow: hidden; border-radius: var(--radius-s); background: var(--sand); }
.food-photo-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center; display: block; }
.food-photo-grid figure:nth-child(5) img { object-position: center top; }
.food-photo-grid figcaption, .pizza-photo-grid figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); }
.pizza-story { max-width: none; }
.pizza-story > div:first-child { max-width: 760px; margin: 0 auto 32px; }
.pizza-photo-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: center; gap: clamp(18px, 3vw, 40px); }
.pizza-photo-grid img { display: block; width: 100%; height: auto; }
.room-photo-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; background: var(--sand); }
.room-photo-gallery figure:first-child { grid-column: 1 / -1; }
.room-photo-gallery img { width: 100%; height: auto; display: block; object-fit: contain; }
.room-photo-gallery figure:not(:first-child) img { aspect-ratio: 2 / 1; object-fit: cover; }
.room-photo-gallery img[role="button"], [data-lightbox] img { cursor: zoom-in; }
@media (max-width: 759px) {
  .practice-photo-grid { grid-template-columns: 1fr; }
  .food-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .pizza-photo-grid { grid-template-columns: minmax(0, 1fr); }
  .pizza-photo-grid figure:first-child { width: min(100%, 420px); justify-self: center; }
  /* Wide group photos sit above the title on phones, keeping every guest visible. */
  .hero-group-photo .hero-media { position: relative; aspect-ratio: var(--group-photo-ratio, 4 / 3); transform: none !important; }
  .hero-group-photo .hero-media img { object-position: center; animation: none !important; transform: none !important; }
  .hero-group-photo.hero-dogs .hero-media { aspect-ratio: 2.16 / 1; }
  .hero-group-photo .hero-content { min-height: 0; padding-top: 26px; padding-bottom: 36px; }
  .hero-group-photo::after { background: linear-gradient(180deg,rgba(20,26,18,.2),transparent 38%); }
  .hero-group-photo .breadcrumbs { bottom: auto; }
}
@media (max-width: 479px) {
  .food-photo-grid { grid-template-columns: minmax(0, 1fr); }
  .food-photo-grid img { aspect-ratio: auto; height: auto; }
}
