/* your wellness NYC · California recovery camp · prototype
   Brand book (Deka Agency): Inter Tight for headings and text, Playfair Display italic for the emphasised word.
   Colours: green 263F12, mint B9C798, cream F6EDE7, dark cream DBBAA4, orange F67936 (tiny accents only). */

:root {
  --green: #263f12;
  --green-deep: #1b2e0c;
  --mint: #b9c798;
  --cream: #f6ede7;
  --sand: #dbbaa4;
  --orange: #f67936;
  --white: #fff;
  --ink: #1e2916;
  --text: #37412d;
  --muted: #6a7360;
  --line: rgba(38, 63, 18, .16);
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --pad: 20px;
  --col: 480px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: #e9e0d9; -webkit-text-size-adjust: 100%; }  /* in-page links glide with our own easing, see app.js */
html.is-locked { overflow: hidden; }
body {
  position: relative; margin: 0 auto; max-width: var(--col); min-height: 100svh;
  background: var(--cream); color: var(--ink);
  font: 400 16px/1.55 var(--sans); letter-spacing: .003em;
  -webkit-font-smoothing: antialiased;
  box-shadow: 0 0 60px rgba(38, 63, 18, .1);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 12px; }

/* ---------- shared pieces ---------- */
.logo {
  display: block; width: 124px; aspect-ratio: 1410 / 490; background: currentColor;
  -webkit-mask: url(photos/logo-mask.png) center / contain no-repeat;
          mask: url(photos/logo-mask.png) center / contain no-repeat;
}
.label { font: 500 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.display { margin-top: 14px; font: 400 clamp(31px, 8.7vw, 40px)/1.08 var(--sans); letter-spacing: -.024em; color: var(--green); text-wrap: balance; }
.display:first-child { margin-top: 0; }  /* a heading with no label above it sits flush with the section's own spacing */
.display em, .hero-title em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.012em; }
.body { margin-top: 18px; max-width: 34em; font-size: 16.5px; line-height: 1.6; color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  height: 54px; padding: 0 30px; border-radius: 999px;
  font: 500 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, transform .15s ease;
}
.btn:active { transform: scale(.985); }
.btn--green { background: var(--green); color: var(--cream); }
.btn--green:hover { background: var(--green-deep); }
.btn--light { background: var(--cream); color: var(--green); }
.btn--light:hover { background: var(--white); }
.btn--block { display: flex; width: 100%; }
.btn--sm { height: 44px; padding: 0 22px; font-size: 14px; }

.ph-tag {
  display: inline-block; padding: 3px 8px; border: 1px dashed currentColor; border-radius: 4px;
  font: 500 10px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; opacity: .75; vertical-align: middle;
}
.placeholder { margin-top: 28px; padding: 18px; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); font-size: 14.5px; }
.placeholder p { margin-top: 8px; }
.note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.note--center { text-align: center; }

.section { padding: 40px var(--pad); }
.section--flush { padding-left: 0; padding-right: 0; }
.section--white { background: var(--white); }
.pad { padding: 0 var(--pad); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { padding: 14px 0 14px 14px; border-left: 1px solid var(--line); }
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts b { display: block; font: 500 16px/1.2 var(--sans); color: var(--green); white-space: nowrap; }
.facts span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.3; color: var(--muted); }

/* ---------- hero · brand cover: full-bleed photo with a warm tint, when and where in the top corners,
   logo, headline and one button in the centre ---------- */
.hero {
  /* A full screen on phones, and never taller than the iPhone 18 Pro / Pro Max screen shape
     (402 × 874 and 440 × 956 points, about 1 : 2.174). The photo is framed for exactly that shape. */
  position: relative; min-height: min(100svh, calc(min(100vw, var(--col)) * 2.1742)); display: flex; flex-direction: column;
  padding: 20px var(--pad) 24px; color: var(--white); overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }  /* the phone photo file is 402 : 874, so on that screen nothing is cropped */
.hero-tint { position: absolute; z-index: -1; inset: 0; background: linear-gradient(rgba(48, 34, 22, .42), rgba(48, 34, 22, .24) 42%, rgba(28, 20, 12, .66)); }

.hero-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 0; }
.hero-main .logo { width: 104px; margin-bottom: 30px; }
.hero-title { font: 300 clamp(42px, 12.4vw, 56px)/1.02 var(--sans); letter-spacing: -.03em; }
.hero-main .btn { margin-top: 30px; }

/* hero button · glass: frosted, hairline border, small capitals, an arrow that nudges on hover */
.btn--hero {
  height: 58px; padding: 0 8px 0 30px; gap: 16px;
  background: rgba(246, 237, 231, .14); color: var(--white); border: 1px solid rgba(246, 237, 231, .62);
  -webkit-backdrop-filter: blur(12px) saturate(1.1); backdrop-filter: blur(12px) saturate(1.1);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
}
.btn--hero:hover { background: rgba(246, 237, 231, .24); }
.btn-arrow { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(246, 237, 231, .62); transition: transform .28s var(--ease); }
.btn--hero:hover .btn-arrow, .btn--hero:active .btn-arrow { transform: translateX(3px); }

/* hero intro, after the brand book's cover clip: the logo comes into focus on solid green,
   the green lifts to show the photo, the headline follows word by word, the corner labels arrive last */
.hero::after { content: ""; position: absolute; z-index: 0; inset: 0; background: var(--green); opacity: 0; pointer-events: none; animation: veil 1s .45s var(--ease) backwards; }  /* rests at 0, so the photo shows when motion is turned off */
.hero-main { position: relative; z-index: 1; }
.corner { z-index: 1; animation: fade-in .9s 1.35s ease backwards; }
.hero-bg { animation: drift 40s ease-in-out infinite alternate; }
.hero-main .logo { animation: focus .8s .1s var(--ease) backwards; }
.hero-title .w { display: inline-block; animation: focus-word .85s var(--ease) backwards; animation-delay: calc(.7s + var(--i) * .09s); }
.btn--hero { animation: rise-in .7s 1.1s var(--ease) backwards; }
/* kept deliberately quiet: small blur, a few pixels of travel, about two seconds in all */
@keyframes veil { from { opacity: 1; } to { opacity: 0; } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.03); } }  /* starts as an exact fit, then breathes very slightly */
@keyframes focus { from { opacity: 0; filter: blur(6px); transform: scaleX(1.04); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes focus-word { from { opacity: 0; filter: blur(5px); transform: translateY(6px); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes refocus { from { opacity: .35; filter: blur(3px); } to { opacity: 1; filter: blur(0); } }

/* scroll reveals, in the same soft focus: text settles in, photos and rows follow one after another */
html.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); transition-delay: var(--d, 0ms); }
html.js .reveal--focus { filter: blur(3px); }
html.js .reveal--photo { transform: translateY(8px) scale(.985); }
html.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
.amount.is-swap { animation: refocus .4s var(--ease); }
.corner { position: absolute; font: 500 10px/1.55 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.corner--tl { top: calc(22px + env(safe-area-inset-top)); left: var(--pad); }
.corner--tr { top: calc(22px + env(safe-area-inset-top)); right: var(--pad); text-align: right; }
/* the price sits with the button it belongs to */
.hero-price { margin-top: 16px; font: 500 10.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: .92; animation: fade-in .9s 1.3s ease backwards; }
/* a small cue that the page continues */
.hero-down {
  position: absolute; z-index: 1; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); margin-left: -22px;
  display: grid; place-items: center; width: 44px; height: 44px; color: var(--white); opacity: .85;
  animation: fade-in .9s 1.55s ease backwards;
}
.hero-down svg { animation: nudge-down 2.8s 2.6s ease-in-out infinite; }
@keyframes nudge-down { 0%, 100% { transform: none; } 50% { transform: translateY(3px); } }

/* ---------- idea / who ---------- */
.idea-who { margin-top: 40px; }
.who { counter-reset: who; margin-top: 10px; }
.who li { counter-increment: who; position: relative; padding: 17px 0 17px 44px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.45; color: var(--text); }
.who li::before { content: "0" counter(who); position: absolute; left: 0; top: 20px; font: 500 11px/1.4 var(--sans); letter-spacing: .12em; color: var(--muted); }
.who b { font-weight: 500; color: var(--ink); }

/* ---------- galleries: photo mosaics ---------- */
.gallery { display: grid; grid-auto-flow: dense; gap: 8px; margin-top: 12px; padding: 0 var(--pad); }
.gallery-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 24px; padding: 0 var(--pad); font: 400 11px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.gallery-count { color: var(--green); font-weight: 500; }
.shot { position: relative; min-width: 0; }
.shot-btn { display: block; width: 100%; position: relative; cursor: zoom-in; border-radius: var(--r); overflow: hidden; }
.shot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--sand); transition: transform .5s ease; }
.shot-btn:hover img { transform: scale(1.025); }
.shot figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.gallery--wide .shot img { aspect-ratio: 4 / 3; }
/* a long gallery shows its first rows and a button for the rest (how many photos close the rows depends on the layout,
   so the cut is set per screen size below); without scripts everything shows and there is no button */
.gallery-more { display: none; justify-content: center; margin-top: 16px; padding: 0 var(--pad); }
html.js .gallery-more { display: flex; }
.btn--more { height: 46px; padding: 0 20px 0 26px; gap: 8px; border: 1px solid rgba(38, 63, 18, .34); color: var(--green); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; transition: background-color .2s ease, opacity .2s ease, transform .15s ease; }
.btn--more:hover { background: rgba(38, 63, 18, .06); }
.gallery-more.is-leaving .btn--more { opacity: 0; }

@media (max-width: 899px) {
  /* reviews sit in one row: a long one folds to seven lines and opens in place, so short ones are not stretched to its height */
  .review-text { max-height: calc(15px * 1.55 * 7); overflow: hidden; }
  .review-text.is-clamped { -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
  .review.is-open .review-text { max-height: none; }
  html.js .gallery--more:not(.is-open) .shot:nth-child(n+11) { display: none; }   /* ten photos close five rows */
  /* camp, three columns: two large photos (the first on the left, the 13th on the right), each landscape photo across the
     full width, single tiles between. 16 singles + 2 × 4 = 24 cells, so the rows close; a different number of photos needs
     the large tiles re-counted. */
  .gallery[data-gallery="camp"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery[data-gallery="camp"] .shot:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery[data-gallery="camp"] .shot:nth-child(13) { grid-column: 2 / span 2; grid-row: span 2; }
  .shot--land { grid-column: 1 / -1; }
  .shot--land img { aspect-ratio: 3 / 2; }
  /* house, six columns: one photo across the full width, then two thirds + one third, then halves */
  .gallery--wide { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gallery--wide .shot { grid-column: span 3; }
  .gallery--wide .shot:first-child { grid-column: 1 / -1; }
  .gallery--wide .shot:first-child img { aspect-ratio: 3 / 2; }
  .gallery--wide .shot:nth-child(2) { grid-column: span 4; }
  .gallery--wide .shot:nth-child(3) { grid-column: span 2; }
  /* a tile that spans rows, or sits beside a wider photo, takes its height from the grid and not from its own photo */
  :is(.gallery[data-gallery="camp"] .shot:first-child, .gallery[data-gallery="camp"] .shot:nth-child(13), .gallery--wide .shot:nth-child(3)) { display: flex; flex-direction: column; }
  :is(.gallery[data-gallery="camp"] .shot:first-child, .gallery[data-gallery="camp"] .shot:nth-child(13), .gallery--wide .shot:nth-child(3)) .shot-btn { flex: 1; min-height: 0; }
  :is(.gallery[data-gallery="camp"] .shot:first-child, .gallery[data-gallery="camp"] .shot:nth-child(13), .gallery--wide .shot:nth-child(3)) img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}

/* ---------- reviews: a row of cards to swipe on phones, two columns on desktop ---------- */
.reviews-label { margin-top: 44px; padding: 0 var(--pad); }
.reviews {
  display: flex; gap: 10px; margin-top: 16px; padding: 0 var(--pad);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad);
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.reviews::-webkit-scrollbar { display: none; }
.review { flex: 0 0 88%; display: flex; flex-direction: column; scroll-snap-align: start; padding: 24px 22px 22px; border-radius: var(--r); background: var(--white); }
.review blockquote { margin: 0; }
.review p { font-size: 15px; line-height: 1.55; color: var(--text); }
.review p + p { margin-top: 12px; }
.review .review-lead { font: italic 400 22px/1.24 var(--serif); letter-spacing: -.01em; color: var(--green); }
.review-text { margin-top: 16px; }
.review-more { align-self: flex-start; margin-top: 12px; padding: 2px 0; font: 500 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--green); border-bottom: 1px solid rgba(38, 63, 18, .34); }
.review figcaption { margin-top: auto; padding-top: 22px; }
.review figcaption a { display: inline-block; margin: -10px 0; padding: 10px 0; font: 500 15px/1.3 var(--sans); color: var(--green); text-decoration: underline; text-decoration-color: rgba(38, 63, 18, .34); text-decoration-thickness: 1px; text-underline-offset: 4px; }   /* the person's Instagram handle, as they write it; the padding only enlarges the tap area */
.review figcaption a:hover { text-decoration-color: currentColor; }

/* ---------- programme: one card per day, nothing collapsed ---------- */
.tabs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 30px; }
.tab { position: relative; z-index: 1; padding: 11px 2px 10px; border: 1px solid var(--line); border-radius: var(--r); text-align: center; transition: color .35s var(--ease), border-color .35s var(--ease); }
.tab b { display: block; font: 500 14.5px/1.15 var(--sans); }
.tab span { display: block; margin-top: 4px; font-size: 11px; line-height: 1.2; color: var(--muted); transition: color .35s var(--ease); }
.tab[aria-selected="true"] { border-color: transparent; color: var(--cream); }
.tab[aria-selected="true"] span { color: rgba(246, 237, 231, .78); }
/* the green highlight is one piece that glides to the chosen day */
.tab-ink { position: absolute; top: 0; bottom: 0; left: 0; width: calc((100% - 18px) / 4); border-radius: var(--r); background: var(--green); transform: translateX(calc(var(--i, 0) * (100% + 6px))); transition: transform .4s var(--ease); pointer-events: none; }
.days { position: relative; margin-top: 10px; overflow: hidden; }
.day.is-entering { position: absolute; top: 0; left: 0; right: 0; }  /* during a slide the incoming day sits over the outgoing one */
.day { display: none; padding: 24px 20px 10px; border-radius: 14px; background: var(--cream); }
.day.is-active { display: block; }
.day-head { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.day-title { margin-top: 6px; font: 400 27px/1.1 var(--sans); letter-spacing: -.02em; color: var(--green); }
.rows li { display: grid; grid-template-columns: 82px 1fr; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.4; color: var(--text); }
.rows li:last-child { border-bottom: 0; }
.rows time { font: 500 11.5px/1.9 var(--sans); letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.rows li.is-key span { font-weight: 500; color: var(--ink); }

/* ---------- included ---------- */
.checks { margin-top: 26px; border-top: 1px solid var(--line); }
.checks li { position: relative; padding: 15px 0 15px 32px; border-bottom: 1px solid var(--line); line-height: 1.4; }
.checks li::before { content: ""; position: absolute; left: 3px; top: 21px; width: 12px; height: 6px; border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: rotate(-45deg); }
.checks b { font-weight: 500; }
.checks span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }

/* ---------- price + booking: the one deep-green block ---------- */
.book { background: var(--green); color: var(--cream); }
.book .label { color: var(--mint); }
.book .display { color: var(--cream); }
.book .display em { color: var(--mint); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 28px; padding: 4px; border: 1px solid rgba(246, 237, 231, .3); border-radius: 999px; }
.seg button { height: 44px; border-radius: 999px; font: 500 14.5px/1 var(--sans); transition: background-color .2s, color .2s; }
.seg button[aria-checked="true"] { background: var(--cream); color: var(--green); }
.price { margin-top: 30px; }
.price-main { display: flex; align-items: baseline; gap: 12px; }
.amount { display: inline-block; font: 300 64px/1 var(--sans); letter-spacing: -.04em; }
.per { font-size: 15px; opacity: .8; }
.price-sub { margin-top: 10px; font-size: 14px; opacity: .8; }
.sum { margin-top: 20px; border-top: 1px solid rgba(246, 237, 231, .26); }
.sum div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(246, 237, 231, .26); font-size: 15px; }
.sum dd { font-weight: 500; font-variant-numeric: tabular-nums; }
.sum-strong dd { font: 400 21px/1 var(--sans); }
.scarcity { display: flex; align-items: center; gap: 10px; margin-top: 18px; font: 500 11.5px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--mint); }
.scarcity .dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.book-form { margin-top: 34px; padding: 24px 20px 22px; border-radius: 16px; background: var(--white); color: var(--ink); }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; margin-bottom: 7px; font: 500 11px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input {
  width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--white); color: var(--ink); font: 400 16px/1 var(--sans); outline: none;
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: #a3a99b; }
.field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(38, 63, 18, .12); }
.field.is-bad input { border-color: #b4532a; box-shadow: 0 0 0 3px rgba(180, 83, 42, .12); }
.form .btn { margin-top: 6px; }
.fine { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
.steps { counter-reset: st; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; margin: 28px 0 10px; }   /* four steps, two by two */
.steps li { counter-increment: st; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.35; color: var(--text); }
.steps li::before { content: "0" counter(st); display: block; margin-bottom: 6px; font: 500 11px/1 var(--sans); letter-spacing: .12em; color: var(--muted); }

/* ---------- refund policy: a quiet line under the booking steps that opens in place ---------- */
.policy { margin-top: 8px; border-top: 1px solid var(--line); }
.policy summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 52px; font: 500 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--green); cursor: pointer; list-style: none; }
.policy summary::-webkit-details-marker { display: none; }
.policy summary::after { content: ""; flex: none; width: 11px; height: 11px; background: linear-gradient(var(--green), var(--green)) center / 100% 1px no-repeat, linear-gradient(var(--green), var(--green)) center / 1px 100% no-repeat; transition: transform .25s; }
.policy[open]:not(.is-closing) summary::after { transform: rotate(45deg); }
.policy-title { margin-top: 14px; font: 500 11px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.policy summary + .policy-title, .policy .details-body > .policy-title:first-child { margin-top: 2px; }
.policy li { position: relative; margin-top: 8px; padding-left: 14px; font-size: 14px; line-height: 1.5; color: var(--text); }
.policy li::before { content: ""; position: absolute; left: 0; top: .68em; width: 4px; height: 4px; border-radius: 50%; background: var(--green); }
.policy li b { font-weight: 500; color: var(--ink); }
.policy ul:last-child { padding-bottom: 6px; }

/* ---------- faq ---------- */
.faq { margin-top: 26px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 60px; padding: 10px 0; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 11px; height: 11px; background: linear-gradient(var(--green), var(--green)) center / 100% 1px no-repeat, linear-gradient(var(--green), var(--green)) center / 1px 100% no-repeat; transition: transform .25s; }
.faq details[open]:not(.is-closing) summary::after { transform: rotate(45deg); }
.details-body { overflow: hidden; }   /* the script wraps an answer in this to slide it open and shut */
.faq details p { padding: 0 0 18px; max-width: 36em; color: var(--text); font-size: 15.5px; }

/* ---------- footer ---------- */
.footer { padding: 52px var(--pad) calc(116px + env(safe-area-inset-bottom)); background: var(--green); color: var(--cream); }
.footer-logo { width: 138px; }
.footer-cols { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(246, 237, 231, .26); font: 400 11.5px/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.footer-link { display: inline-flex; align-items: center; min-height: 40px; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.footer-proto { margin-top: 22px; font-size: 12px; opacity: .6; }

/* ---------- sticky bar ---------- */
.sticky {
  position: fixed; z-index: 30; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom));
  width: min(calc(100vw - 20px), calc(var(--col) - 20px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 7px 7px 22px;
  border-radius: 999px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px -14px rgba(30, 41, 22, .45), 0 0 0 1px var(--line);
  /* hidden: faded out and a little lower. It rises and fades in softly; visibility keeps it from catching taps while hidden. */
  opacity: 0; visibility: hidden; transform: translate(-50%, 12px);
  transition: opacity .45s var(--ease), transform .5s var(--ease), visibility 0s linear .5s;
}
.sticky.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.sticky-info b { display: block; font: 500 16px/1.15 var(--sans); color: var(--green); }
.sticky-info span { display: block; margin-top: 2px; font: 500 10px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- photo viewer ---------- */
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(17, 26, 9, .97); color: var(--cream); animation: fade .2s ease; }
.lb-track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; padding: 64px 12px 84px; scroll-snap-align: center; scroll-snap-stop: always; cursor: zoom-out; }
.lb-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 6px; cursor: default; }
.lb-top { position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: calc(8px + env(safe-area-inset-top)) 10px 0 20px; pointer-events: none; }
.lb-count, .lb-cap { font: 500 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.lb-count { font-variant-numeric: tabular-nums; }
.lb-close, .lb-nav { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(246, 237, 231, .3); }
.lb-close { pointer-events: auto; }
.lb-cap { position: absolute; inset: auto 0 calc(30px + env(safe-area-inset-bottom)); text-align: center; pointer-events: none; }
.lb-nav { display: none; position: absolute; top: 50%; margin-top: -22px; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
@media (hover: hover) and (pointer: fine) { .lb-nav { display: grid; } }

@keyframes fade { from { opacity: 0; } }
/* Reduced motion (html.calm, set in the head from the system setting): gentle fades stay;
   movement, blur, the slow photo zoom and the drifting wordmark are switched off. */
html.calm .hero-bg, html.calm .hero-down svg { animation: none; }
html.calm .hero-main .logo, html.calm .hero-title .w, html.calm .btn--hero { animation-name: fade-in; }
html.calm .amount.is-swap { animation: none; }
html.calm .reveal, html.calm .reveal--focus, html.calm .reveal--photo { transform: none; filter: none; }
html.calm .sticky { transform: translate(-50%, 0); transition: opacity .4s ease, visibility 0s linear .4s; }  /* a plain fade, no movement */
html.calm .sticky.is-on { transition-delay: 0s; }
html.calm .shot-btn:hover img, html.calm .btn--hero:hover .btn-arrow { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html:not(.js) *, html:not(.js) *::before, html:not(.js) *::after { animation: none !important; transition: none !important; }
}

/* ================= desktop ================= */
@media (min-width: 900px) {
  :root { --pad: max(48px, calc((100vw - 1120px) / 2)); --r: 12px; }
  html { background: var(--cream); }
  body { max-width: none; box-shadow: none; font-size: 17px; }
  .section { padding-top: 60px; padding-bottom: 60px; }
  .label { font-size: 12px; }
  .display { margin-top: 18px; font-size: clamp(46px, 4.4vw, 62px); }
  .body { margin-top: 24px; font-size: 18px; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; align-items: start; }
  .placeholder { max-width: 560px; }

  /* Hero on wide screens: a spread like the brand book's — solid green, text on the left, the photo framed on the right.
     The photo file is only 1386 × 1161, so it is shown at a size it can fill sharply (about 510 × 640 at most)
     instead of being stretched across the whole screen. */
  .hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 64px; padding: 96px var(--pad) 88px; background: var(--green); }
  .hero-tint { display: none; }
  .hero picture { order: 2; position: relative; z-index: 0; justify-self: end; height: min(66svh, 640px); aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--r); overflow: hidden; }
  .hero-bg { z-index: 0; object-position: 50% 50%; }  /* the desktop photo file is 4 : 5, the shape of its frame */
  .hero-main { order: 1; align-items: flex-start; text-align: left; padding: 0; }
  .hero-main .logo { width: 148px; margin-bottom: 44px; }
  .hero-title { font-size: clamp(54px, 5.2vw, 80px); }
  .hero-main .btn { margin-top: 40px; height: 58px; padding: 0 10px 0 34px; }
  .corner { font-size: 11.5px; }
  .corner br { display: none; }
  .corner--tl, .corner--tr { top: 34px; }
  .corner--tl { left: var(--pad); }
  .corner--tr { right: var(--pad); }
  .hero-price { margin-top: 20px; font-size: 11.5px; }
  .hero-down { bottom: 20px; }

  /* idea */
  .idea-who { margin-top: 6px; }
  .who li { padding: 21px 0 21px 56px; font-size: 18px; }
  .who li::before { top: 26px; }

  /* galleries: wider gaps; no hint line, the pointer already shows that photos open */
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
  .gallery-meta { display: none; }
  html.js .gallery--more:not(.is-open) .shot:nth-child(n+12) { display: none; }   /* eleven photos close three rows */
  .gallery-more { margin-top: 28px; }
  /* camp: 5 × 5 — the lead photo over 2 × 2, each landscape photo over two columns, seventeen single tiles */
  .gallery[data-gallery="camp"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .gallery--wide .shot:first-child, .gallery[data-gallery="camp"] .shot:first-child { grid-column: span 2; grid-row: span 2; }
  .shot--land { grid-column: span 2; }
  /* tiles that span take their height from the rows, not from the photo */
  :is(.gallery--wide .shot:first-child, .gallery[data-gallery="camp"] .shot:first-child, .shot--land) { display: flex; flex-direction: column; }
  :is(.gallery--wide .shot:first-child, .gallery[data-gallery="camp"] .shot:first-child, .shot--land) .shot-btn { flex: 1; min-height: 0; }
  :is(.gallery--wide .shot:first-child, .gallery[data-gallery="camp"] .shot:first-child, .shot--land) img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .gallery--wide .shot:nth-child(n+6) { grid-column: span 2; }
  .gallery--wide .shot:nth-child(n+6) img { aspect-ratio: 16 / 9; }
  /* reviews: two columns, nothing to swipe */
  .reviews-label { margin-top: 72px; }
  .reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; overflow: visible; align-items: stretch; }
  .review { padding: 32px 32px 28px; }
  .review p { font-size: 16px; }
  .review .review-lead { font-size: 26px; }
  .facts { max-width: 680px; margin-top: 52px; }
  .facts li { padding: 18px 0 18px 22px; }
  .facts b { font-size: 20px; }
  .facts span { font-size: 13.5px; }

  /* programme: all four days side by side */
  .tabs { display: none; }
  .days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 52px; align-items: start; }
  .day, .day.is-active { display: block; margin-top: 0; padding: 28px 24px 12px; }
  .rows li { grid-template-columns: 74px 1fr; font-size: 15px; }

  /* included, booking, faq */
  .checks { margin-top: 10px; }
  .checks li { padding: 19px 0 19px 38px; font-size: 18px; }
  .checks li::before { top: 27px; }
  .checks span { font-size: 14.5px; }
  .book .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; align-items: center; }
  .seg { max-width: 420px; }
  .amount { font-size: 96px; }
  .book-form { margin-top: 0; padding: 40px; border-radius: 20px; }
  .faq { margin-top: 10px; }
  .faq summary { min-height: 70px; font-size: 19px; }
  .faq details p { font-size: 17px; }

  /* footer, overlays */
  .footer { display: grid; grid-template-columns: 1fr auto; gap: 0 40px; align-items: end; padding: 68px var(--pad) 120px; }
  .footer-logo { width: 180px; }
  .footer-cols { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 44px; }
  .footer-proto { grid-column: 1 / -1; }
  .sticky { width: 460px; }
  .lb-slide { padding: 72px 96px 96px; }
}
@media (min-width: 900px) and (max-width: 1139px) {
  .days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { gap: 56px; }
}
