/* ============================================================
   LOXLEY FOREST · the redesign layer (2026-10)
   Sits on global.css (its tokens, reset and fonts). Mobile first.
   Look: a field guide at dusk. Forest-deep and linen, one gold,
   Cormorant for voice, Montserrat for wayfinding, engraved marks
   (the acorn, the arrow) as the only ornament.
   ============================================================ */

:root {
  --ink: #142418;              /* the room: one step below forest-deep */
  --on-dark: #f7f3ed;          /* linen */
  --on-dark-muted: #c9c1b1;    /* 9.7:1 on --ink */
  --pad-x: clamp(20px, 5vw, 56px);
  --pad-y: clamp(80px, 12vw, 148px);
  --measure: 34rem;
  --hdr-h: 68px;
  --acorn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath fill='%23c4a265' d='M8 2.2C4.6 2.2 1.9 4.6 1.9 8H14.1C14.1 4.6 11.4 2.2 8 2.2ZM2.8 8.9H13.2C13.2 13.4 10.8 17.2 8 19.2C5.2 17.2 2.8 13.4 2.8 8.9ZM7.6 2.4C7.7 1.2 8.4.4 9.6.1L9.9.7C9 1 8.5 1.6 8.5 2.4Z'/%3E%3C/svg%3E");
}

.v2 { background: var(--ink); }
.v2 main { display: block; }

/* ---- type ---------------------------------------------------------- */
.lf-eyebrow {
  font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 0.6875rem;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0 0 18px;
}
.lf-light .lf-eyebrow, .lf-parch .lf-eyebrow { color: var(--stone); }
.lf-h1, .lf-h2, .lf-h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; margin: 0; text-wrap: balance; }
.lf-h1 { font-size: clamp(2.9rem, 11vw, 6.4rem); line-height: 0.98; letter-spacing: -0.01em; font-weight: 300; }
.lf-h2 { font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1.04; font-weight: 300; }
.lf-h2 em, .lf-h1 em { font-style: italic; color: inherit; font-weight: 300; }
.lf-h3 { font-size: 1.75rem; line-height: 1.15; }
.lf-lead { font-size: clamp(1.25rem, 3.6vw, 1.5rem); line-height: 1.55; max-width: var(--measure); margin: 22px 0 0; }
.lf-body { font-size: 1.2rem; line-height: 1.7; max-width: var(--measure); }
.lf-body p + p { margin-top: 1em; }
.lf-dark { background: var(--ink); color: var(--on-dark); }
.lf-dark .lf-lead, .lf-dark .lf-body { color: var(--on-dark-muted); }
.lf-light { background: var(--linen); color: var(--bark); }
.lf-light .lf-lead, .lf-light .lf-body { color: var(--stone); }
.lf-parch { background: var(--parchment); color: var(--bark); }

/* ---- layout -------------------------------------------------------- */
.lf-sec { padding: var(--pad-y) var(--pad-x); position: relative; }
.lf-wrap { max-width: 1200px; margin: 0 auto; }
.lf-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .lf-split { grid-template-columns: 1fr 1fr; gap: 72px; } .lf-split--flip > :first-child { order: 2; } }
.lf-center { text-align: center; }
.lf-center .lf-lead, .lf-center .lf-body { margin-left: auto; margin-right: auto; }

/* ---- buttons and links --------------------------------------------- */
.lf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 1px solid var(--gold);
  background: var(--gold); color: var(--forest-deep);
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  transition: background 0.25s var(--ease-natural), transform 0.25s var(--ease-natural);
}
.lf-btn:hover { background: var(--gold-light); transform: translateY(-1px); }
.lf-btn:focus-visible, .lf-link:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 3px; }
.lf-light .lf-btn:focus-visible { outline-color: var(--forest-deep); }
.lf-btn svg { width: 13px; height: 16px; }
.lf-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 0.75rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: inherit; text-decoration: none;
  border-bottom: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px;
}
.lf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }

/* ---- acorn bullets and the arrow divider ----------------------------- */
.lf-acorns { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.lf-acorns li { position: relative; padding-left: 30px; font-size: 1.2rem; line-height: 1.5; }
.lf-acorns li::before {
  content: ''; position: absolute; left: 2px; top: 0.32em; width: 13px; height: 16px;
  background: var(--acorn) center / contain no-repeat;
}
.lf-acorns b { font-weight: 600; color: var(--forest-deep); }
.lf-dark .lf-acorns b { color: var(--on-dark); }
.lf-arrow { display: block; width: min(320px, 70%); height: 22px; margin: 0 auto; color: var(--stone); opacity: 0.8; }
.lf-dark .lf-arrow { color: var(--on-dark-muted); opacity: 0.6; }
.lf-arrow--left { margin: 0; }

/* ---- header -------------------------------------------------------- */
.lf-hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 950; height: calc(var(--hdr-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--pad-x) 0; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: background 0.35s var(--ease-natural), box-shadow 0.35s var(--ease-natural);
}
.lf-hdr.is-solid { background: rgba(20, 36, 24, 0.94); box-shadow: 0 1px 0 rgba(196, 162, 101, 0.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lf-hdr__mark { display: block; flex: none; }
.lf-hdr__mark img { width: clamp(176px, 46vw, 236px); height: auto; }
.lf-hdr__nav { display: none; }
.lf-hdr__nav a { color: var(--on-dark); text-decoration: none; font-family: 'Montserrat', sans-serif; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 10px 0; }
.lf-hdr__nav a:hover { color: var(--gold-light); }
.lf-hdr__book { display: none; }
.lf-menu-btn {
  width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; display: grid; place-items: center; color: var(--on-dark);
}
.lf-menu-btn span { display: block; width: 26px; height: 1.5px; background: currentColor; box-shadow: 0 7px 0 currentColor; transform: translateY(-3.5px); transition: transform .3s, box-shadow .3s; }
.lf-menu-open .lf-menu-btn span { box-shadow: none; transform: rotate(45deg); }
.lf-menu-open .lf-menu-btn span::after { content: ''; display: block; width: 26px; height: 1.5px; background: currentColor; transform: rotate(-90deg); }
/* The six links need about 730 px on one line with real fonts (measured 2026-10-21), so they
   show from 1280 px; from 768 to 1279 the header carries the Book button and the menu (the
   floating Book button is phones only, so tablets need this one). No link ever wraps to two lines. */
@media (min-width: 768px) {
  .lf-hdr__book { display: inline-flex; min-height: 44px; padding: 0 20px; margin-left: auto; white-space: nowrap; }
}
@media (min-width: 1280px) {
  .lf-hdr__mark img { width: min(236px, 15.5vw); }
  .lf-hdr__nav { display: flex; gap: clamp(22px, 2.1vw, 30px); margin-left: auto; }
  .lf-hdr__nav a { white-space: nowrap; }
  .lf-hdr__book { margin-left: 0; }
  .lf-menu-btn { display: none; }
}

/* ---- menu (phones) --------------------------------------------------- */
.lf-menu {
  position: fixed; inset: 0; z-index: 940; background: var(--ink); color: var(--on-dark);
  padding: calc(var(--hdr-h) + 24px + env(safe-area-inset-top, 0px)) var(--pad-x) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease-natural), visibility 0s 0.3s;
}
.lf-menu-open .lf-menu { opacity: 1; visibility: visible; transition: opacity 0.3s var(--ease-natural); }
.lf-menu nav { display: grid; }
.lf-menu nav a {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300; font-size: 2.3rem; line-height: 1.2;
  color: var(--on-dark); text-decoration: none; padding: 6px 0 6px 30px; position: relative;
}
.lf-menu nav a::before { content: ''; position: absolute; left: 0; top: 50%; width: 13px; height: 16px; margin-top: -8px; background: var(--acorn) center / contain no-repeat; opacity: 0.55; }
.lf-menu .lf-btn { align-self: flex-start; }
.lf-menu__foot { margin-top: auto; color: var(--on-dark-muted); font-size: 1.05rem; }
@media (min-width: 1280px) { .lf-menu { display: none; } }

/* ---- hero ------------------------------------------------------------ */
.lf-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden; background: var(--ink); }
.lf-hero .hero__media { position: absolute; inset: 0; z-index: 0; }
.lf-hero .hero__media img { width: 100%; height: 100%; object-fit: cover; animation: none; }
.lf-hero__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,36,24,.55) 0%, rgba(20,36,24,0) 22%, rgba(20,36,24,0) 42%, rgba(20,36,24,.86) 78%, var(--ink) 100%); }
.lf-hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad-x) calc(44px + env(safe-area-inset-bottom, 0px)); }
.lf-hero .lf-lead { color: var(--on-dark); opacity: 0.9; max-width: 30rem; }
.lf-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 26px; font-family: 'Montserrat', sans-serif; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--on-dark-muted); }
.lf-proof__stars { color: var(--gold); letter-spacing: 0.12em; font-size: 0.85rem; }
.lf-proof a { color: inherit; }
@media (min-width: 900px) { .lf-hero__inner { padding-bottom: 88px; } }

/* ---- the crossing (opening statement) ------------------------------- */
.lf-statement { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300; font-size: clamp(1.75rem, 5.6vw, 2.9rem); line-height: 1.28; color: var(--forest-deep); max-width: 22em; margin: 0 auto; text-wrap: pretty; }
.lf-statement + .lf-body { margin: 34px auto 0; }

/* ---- booking --------------------------------------------------------- */
.lf-book { scroll-margin-top: var(--hdr-h); }
.lf-book__head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.lf-book .gh-calendar, .lf-book .gh-summary, .lf-book .gh-checkout, .lf-book .gh-wait { box-shadow: 0 18px 48px rgba(26, 46, 26, 0.08); }
.lf-book__alt { text-align: center; margin-top: 30px; font-size: 1.1rem; color: var(--stone); }
.lf-book__alt a { color: var(--forest-deep); border-bottom: 1px solid currentColor; }

/* ---- facts ------------------------------------------------------------ */
.lf-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 20px; }
.lf-facts li { border-top: 1px solid rgba(247, 243, 237, 0.18); padding-top: 16px; }
.lf-facts b { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300; font-size: clamp(2.4rem, 9vw, 3.6rem); line-height: 1; color: var(--on-dark); font-variant-numeric: lining-nums; }
.lf-facts span { display: block; margin-top: 8px; font-family: 'Montserrat', sans-serif; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }
@media (min-width: 900px) { .lf-facts { grid-template-columns: repeat(4, 1fr); } }

/* ---- chapters ---------------------------------------------------------- */
.lf-chapters { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad-x); margin: 44px calc(var(--pad-x) * -1) 0; padding: 0 var(--pad-x) 8px; scrollbar-width: none; }
.lf-chapters::-webkit-scrollbar { display: none; }
.lf-chapter { scroll-snap-align: start; margin: 0; }
.lf-chapter img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.lf-chapter figcaption { padding-top: 16px; }
.lf-chapter .lf-h3 { color: var(--on-dark); }
.lf-chapter p { margin: 6px 0 0; color: var(--on-dark-muted); font-size: 1.1rem; line-height: 1.5; }
.lf-chapter__n { font-family: 'Montserrat', sans-serif; font-size: 0.6875rem; letter-spacing: 0.28em; color: var(--on-dark-muted); text-transform: uppercase; display: block; margin-bottom: 6px; }
@media (min-width: 900px) { .lf-chapters { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 56px 0 0; padding: 0; } }

/* ---- photo blocks ------------------------------------------------------ */
.lf-photo { margin: 0; }
.lf-photo img { width: 100%; height: auto; }
.lf-photo--tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.lf-bg { position: absolute; inset: 0; z-index: 0; }
.lf-bg img { width: 100%; height: 100%; object-fit: cover; }
.lf-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,36,24,.88), rgba(20,36,24,.78) 40%, rgba(20,36,24,.93)); }
.lf-over { position: relative; z-index: 1; }

/* ---- reviews ----------------------------------------------------------- */
/* Every story is in the page from the first byte (the builder writes them all), so nothing
   swaps in and nothing shifts. The track scrolls sideways with snap: a swipe on a phone, the
   arrows or the arrow keys anywhere. js/reviews.js only adds the arrows' work, the count and a
   slow turn that stops for good at a touch, and never runs for reduced motion. */
.lf-reviews { overflow: hidden; }
.lf-reviews__head { text-align: center; margin: 0 auto 28px; }
/* the rating: the number beside five acorns shaded to it; gold here is the acorns' own */
/* "Give a Stay", the home page's band through December 24 (build_v2.GIVE_A_STAY) */
.lf-give .lf-h2 { max-width: 22ch; margin: 14px auto 0; }
.lf-give .lf-actions { margin-top: 26px; }

.lf-rating { display: inline-flex; align-items: center; gap: 14px; margin: 22px 0 0; flex-wrap: wrap; }
/* the count line under the rating (build_v2.REVIEW_COUNT, read from the review list at build): its own row */
.lf-rating__count { flex-basis: 100%; font-family: 'Montserrat', sans-serif; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--stone); font-variant-numeric: lining-nums; }
.lf-rating__n { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 2.1rem; line-height: 1; color: var(--forest-deep); font-variant-numeric: lining-nums; }
.lf-rating__acorns { display: inline-flex; gap: 6px; }
.lf-rating__acorns i {
  display: block; width: 18px; height: 22px;
  background: linear-gradient(90deg, var(--gold) var(--f), rgba(107, 99, 87, 0.3) var(--f));
  -webkit-mask: var(--acorn) center / contain no-repeat; mask: var(--acorn) center / contain no-repeat;
}
/* phones: the controls sit above the cards, right under the rating, where the fixed Book button
   (phones only, bottom right) never covers them; from 768 px they move below the cards */
.lf-rv { display: flex; flex-direction: column; }
/* the track bleeds to the screen's edge on phones, so the next story peeks in. Each card is as
   tall as its own story, top-aligned; all are in the page from the start, so nothing shifts. */
.lf-rv__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 26rem); gap: 14px; align-items: start;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad-x);
  margin: 0 calc(var(--pad-x) * -1); padding: 4px var(--pad-x) 8px; scrollbar-width: none;
}
.lf-rv__track::-webkit-scrollbar { display: none; }
.lf-rv__track:focus-visible { outline: 2px solid var(--forest-deep); outline-offset: -2px; }
.lf-rv__card {
  scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; gap: 28px;
  background: var(--cream); padding: clamp(28px, 6vw, 44px) clamp(24px, 5vw, 40px); box-shadow: 0 14px 40px rgba(26, 46, 26, 0.06);
}
.lf-rv__quote { margin: 0; }
.lf-rv__quote p {
  margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300; font-style: italic;
  font-size: clamp(1.4rem, 4.6vw, 1.65rem); line-height: 1.38; color: var(--forest-deep); text-wrap: pretty;
}
.lf-rv__by { font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); border-top: 1px solid rgba(107, 99, 87, 0.22); padding-top: 18px; }
/* the controls take their room from the start; without script they are kept but unseen */
.lf-rv__nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 22px; min-height: 48px; }
html:not(.js) .lf-rv__nav { visibility: hidden; }
.lf-rv__btn {
  width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid rgba(44, 34, 25, 0.32); background: transparent;
  color: var(--forest-deep); display: grid; place-items: center; cursor: pointer; transition: background 0.25s, border-color 0.25s, opacity 0.25s;
}
.lf-rv__btn svg { width: 18px; height: 18px; }
.lf-rv__btn--prev svg { transform: scaleX(-1); }
.lf-rv__btn:hover { background: rgba(44, 34, 25, 0.06); border-color: rgba(44, 34, 25, 0.55); }
.lf-rv__btn:focus-visible { outline: 2px solid var(--forest-deep); outline-offset: 3px; }
.lf-rv__btn:disabled { opacity: 0.32; cursor: default; background: transparent; }
.lf-rv__count { margin: 0; min-width: 5.5em; text-align: center; font-family: 'Montserrat', sans-serif; font-size: 0.75rem; letter-spacing: 0.16em; color: var(--stone); font-variant-numeric: tabular-nums; }
.lf-rv__count b { font-weight: 500; color: var(--forest-deep); }
.lf-rv__pause { margin-left: 8px; width: 40px; height: 40px; border-color: rgba(44, 34, 25, 0.2); }
.lf-rv__pause span { width: 8px; height: 10px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.lf-rv__pause.is-paused span { width: 0; height: 0; border: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.lf-rv__pause[hidden] { display: none; }
.lf-rv__live { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 768px) {
  .lf-reviews__head { margin-bottom: 44px; }
  .lf-rv__nav { order: 1; margin: 30px 0 0; }
  .lf-rv__track { grid-auto-columns: min(46%, 28rem); gap: 20px; }
}
@media (min-width: 1080px) {
  /* inside the page's measure on desktop: three stories and the edge of a fourth */
  .lf-rv__track { margin: 0; padding: 4px 0 8px; scroll-padding-inline: 0; grid-auto-columns: calc((100% - 3 * 22px) / 3.25); gap: 22px; }
  .lf-rv__quote p { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .lf-rv__pause { display: none; } }
/* the quiet link to /reviews under the carousel */
.lf-reviews__more { margin: 26px 0 0; text-align: center; }
.lf-reviews__more .lf-link { color: var(--forest-deep); }
.lf-reviews__more .lf-link:focus-visible { outline-color: var(--forest-deep); }
@media (min-width: 768px) { .lf-reviews__more { margin-top: 18px; } }

/* ---- list signup -------------------------------------------------------- */
.lf-signup { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; max-width: 30rem; }
.lf-signup label { flex: 1 1 100%; font-family: 'Montserrat', sans-serif; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }
.lf-signup input[type="email"] { flex: 1 1 14rem; min-height: 52px; padding: 0 16px; border: 1px solid rgba(247,243,237,.35); background: rgba(247,243,237,.06); color: var(--on-dark); font: 400 1.1rem 'Cormorant Garamond', Georgia, serif; }
.lf-signup input[type="email"]::placeholder { color: var(--on-dark-muted); }
.lf-signup input[type="email"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lf-signup .lf-btn { flex: 0 0 auto; }

/* ---- drive times -------------------------------------------------------- */
.lf-drive { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; max-width: 26rem; font-family: 'Montserrat', sans-serif; font-size: 0.875rem; letter-spacing: 0.04em; }
.lf-drive li { display: contents; }
.lf-drive span { color: var(--on-dark-muted); }
.lf-drive b { font-weight: 500; color: var(--on-dark); text-align: right; font-variant-numeric: tabular-nums; }

/* ---- footer ------------------------------------------------------------- */
.lf-foot { background: #0f1b11; color: var(--on-dark-muted); padding: 64px var(--pad-x) calc(96px + env(safe-area-inset-bottom, 0px)); }
.lf-foot__grid { max-width: 1200px; margin: 0 auto; display: grid; gap: 40px; }
.lf-foot img { width: 220px; height: auto; }
.lf-foot nav { display: grid; gap: 4px; }
.lf-foot a { color: var(--on-dark); text-decoration: none; font-size: 1.15rem; padding: 6px 0; display: inline-block; }
.lf-foot a:hover { color: var(--gold-light); }
.lf-foot__small { font-family: 'Montserrat', sans-serif; font-size: 0.75rem; letter-spacing: 0.06em; display: flex; flex-wrap: wrap; gap: 8px 22px; border-top: 1px solid rgba(196,162,101,.18); padding-top: 22px; }
.lf-foot__small a { font-size: 0.75rem; padding: 0; color: var(--on-dark-muted); }
@media (min-width: 900px) { .lf-foot__grid { grid-template-columns: 1.4fr 1fr 1fr; } .lf-foot__small { grid-column: 1 / -1; } }

/* ---- motion: rise into view, once. Visible without JavaScript. ---------- */
.js .lf-rise { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-natural), transform 0.7s var(--ease-natural); }
.js .lf-rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .lf-rise { opacity: 1; transform: none; transition: none; } }

/* the old progress bar and page fade stay off the redesign */
.v2 .scroll-progress { display: none; }
.v2 { animation: none; }

/* the hero's pause control: moving video longer than five seconds can be stopped */
.lf-hero__pause {
  position: absolute; z-index: 3; right: calc(var(--pad-x) - 8px); bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(247, 243, 237, 0.45); background: rgba(20, 36, 24, 0.35);
  display: grid; place-items: center; color: var(--on-dark); cursor: pointer;
}
/* hidden until the film is playing (js/global.js unhides it on "playing"): display:grid above would otherwise override
   the hidden attribute, and an iPhone, which never plays the film, showed a dead pause icon over the still (the audit, 2026-11-08) */
.lf-hero__pause[hidden] { display: none; }
.lf-hero__pause span { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.lf-hero__pause.is-paused span { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.lf-hero__pause:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (min-width: 900px) { .lf-hero__pause { bottom: 88px; } }
@media (prefers-reduced-motion: reduce) { .lf-hero__pause { display: none; } }

/* ---- inner pages ------------------------------------------------------ */
.lf-hero--page { min-height: 86svh; }
.lf-chips { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lf-chips li { font-family: 'Montserrat', sans-serif; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest-deep); border: 1px solid rgba(196, 162, 101, 0.55); padding: 9px 14px; }
.lf-gallery .lf-chapter img { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .lf-gallery { grid-template-columns: repeat(5, 1fr); } .lf-gallery .lf-chapter img { aspect-ratio: 3 / 4; } }
.lf-signup__done { flex: 1 1 100%; margin: 4px 0 0; color: var(--on-dark); font-size: 1.15rem; }

/* ---- the hero, phones: the picture above, the words below on the forest ----
   Nothing is printed over the glowing canvas, so every word reads. */
@media (max-width: 767px) {
  .lf-hero, .lf-hero--page { display: block; min-height: 0; }
  .lf-hero .hero__media { position: relative; inset: auto; height: 62svh; min-height: 380px; }
  .lf-hero .hero__media::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 120px; z-index: 1; background: linear-gradient(180deg, rgba(20,36,24,.7), rgba(20,36,24,0)); }
  .lf-hero .hero__media::after { content: ''; position: absolute; inset: auto 0 0 0; height: 34%; z-index: 1; background: linear-gradient(180deg, rgba(20,36,24,0), var(--ink)); }
  .lf-hero .hero__media video, .lf-hero .hero__media picture, .lf-hero .hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .lf-hero .hero__media picture img { width: 100%; height: 100%; object-fit: cover; }
  .lf-hero__shade { display: none; }
  .lf-hero__inner { margin-top: -28px; padding-top: 0; padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
  .lf-hero .lf-h1 { font-size: clamp(2.6rem, 11.5vw, 3.4rem); }
  .lf-hero__pause { top: calc(max(62svh, 380px) - 60px); bottom: auto; }
}
/* desktop: the words sit on a darkened left third, clear of the treehouse */
@media (min-width: 768px) {
  .lf-hero__shade { background: linear-gradient(90deg, rgba(20,36,24,.88) 0%, rgba(20,36,24,.62) 34%, rgba(20,36,24,0) 64%), linear-gradient(180deg, rgba(20,36,24,.5) 0%, rgba(20,36,24,0) 20%, rgba(20,36,24,0) 70%, rgba(20,36,24,.75) 100%); }
  .lf-hero__inner > * { max-width: 34rem; }
}
@media (max-width: 767px) { .lf-hero__pause { top: calc(max(62svh, 380px) - 96px); } }

/* the treehouse page, desktop: an editorial split, the words on the forest, the photograph whole */
@media (min-width: 900px) {
  .lf-hero--page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; min-height: 92svh; }
  .lf-hero--page .hero__media { position: relative; inset: auto; grid-column: 2; grid-row: 1; height: 100%; min-height: 92svh; }
  .lf-hero--page .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .lf-hero--page .lf-hero__shade { display: none; }
  .lf-hero--page .lf-hero__inner { grid-column: 1; grid-row: 1; padding: calc(var(--hdr-h) + 48px) clamp(32px, 4vw, 72px) 64px var(--pad-x); }
  .lf-hero--page .lf-h1 { font-size: clamp(2.8rem, 4.6vw, 4.6rem); }
}

.lf-btn--ghost { background: transparent; color: var(--on-dark); border-color: rgba(247, 243, 237, 0.55); }
.lf-btn--ghost:hover { background: rgba(247, 243, 237, 0.08); }
.lf-hero--page picture { display: block; width: 100%; height: 100%; }
.lf-hero--page picture img { width: 100%; height: 100%; object-fit: cover; }

/* the hero frame clips its picture, and the old site's scroll-scale stays off the new hero
   (it slid the poster out below the frame on phones: Mick's "gap", 2026-10-13) */
.lf-hero .hero__media { overflow: hidden; }
.lf-hero .hero__media img { transform: none !important; }

/* phones: more air around the words (Mick, 2026-10-13: "the text is still kind of crammed") */
@media (max-width: 767px) {
  :root { --pad-x: 24px; --pad-y: 88px; }
  .lf-h1 { line-height: 1.05; }
  .lf-h2 { font-size: clamp(2rem, 8.6vw, 2.6rem); line-height: 1.1; }
  .lf-lead { font-size: 1.15rem; line-height: 1.62; margin-top: 18px; }
  .lf-body { font-size: 1.12rem; line-height: 1.72; }
  .lf-body p + p { margin-top: 1.1em; }
  .lf-statement { font-size: 1.6rem; line-height: 1.34; }
  .lf-acorns { gap: 16px; }
  .lf-acorns li { font-size: 1.12rem; }
  .lf-eyebrow { letter-spacing: 0.24em; margin-bottom: 14px; }
  .lf-actions { margin-top: 28px; }
}

/* clip, not hidden: hidden turns the body into a scroll box of its own, and then nothing on the
   page can stay pinned while it scrolls (the crossing's stage needs to) */
html, body.v2 { overflow-x: clip; }

/* ---- the crossing, walked (js/crossing.js) --------------------------
   A tall section with a stage pinned inside it: scrolling the section
   walks the bridge. Without script, or with reduced motion, the stage
   shows one still engraving and the words sit on it as a paragraph. */
.lf-walk { position: relative; background: #1a2e1a; color: var(--on-dark); }
.lf-walk__stage { position: relative; height: 100svh; min-height: 520px; overflow: hidden; }
.lf-walk__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lf-walk__words {
  position: absolute; left: var(--pad-x); right: var(--pad-x); top: calc(var(--hdr-h) + 7svh);
  max-width: 21ch; margin: 0 auto; text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 300;
  font-size: clamp(1.9rem, 6.6vw, 3.3rem); line-height: 1.14; text-wrap: balance;
  text-shadow: 0 0 22px #1a2e1a, 0 0 6px #1a2e1a, 0 0 2px #1a2e1a;
}
.lf-walk__line { margin: 0; }
.lf-walk__count { display: none; }
/* the way past the walk, always in reach (Mick, 2026-10-14: "we just make it bold") */
.lf-walk__skip {
  position: absolute; right: var(--pad-x); bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid rgba(247, 243, 237, 0.7); background: rgba(20, 36, 24, 0.72); color: var(--on-dark);
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.6875rem; letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none; transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.lf-walk__skip:hover, .lf-walk__skip:focus-visible { background: rgba(247, 243, 237, 0.12); }
/* across: the way in, in linen (gold stays the Book button's alone) */
.lf-walk__skip.is-there { background: var(--linen); border-color: var(--linen); color: var(--forest-deep); }

/* walking: the section is the length of the walk, the stage holds still while you scroll it */
.js .lf-walk.is-ready:not(.is-still) { height: 560svh; }
.js .lf-walk.is-ready:not(.is-still) .lf-walk__stage { position: sticky; top: 0; }
.js .lf-walk.is-ready:not(.is-still) .lf-walk__line {
  position: absolute; left: 0; right: 0; top: 0; opacity: 0; will-change: opacity, transform;
}
.js .lf-walk.is-ready:not(.is-still) .lf-walk__count {
  display: grid; gap: 10px; position: absolute; left: var(--pad-x); bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  width: min(52vw, 230px); color: var(--on-dark);
}
.lf-walk__count p { margin: 0; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.lf-walk__count b {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300; font-size: 3.1rem; line-height: 0.9;
  font-variant-numeric: lining-nums tabular-nums; min-width: 2.1ch;
}
.lf-walk__count span {
  font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--on-dark-muted);
}
.lf-walk__bar { position: relative; height: 1px; background: rgba(247, 243, 237, 0.32); }
.lf-walk__mark { position: absolute; left: 0; right: 0; top: -9px; height: 0; }
.lf-walk__mark svg { position: absolute; left: -6px; top: 0; width: 12px; height: 15px; color: var(--gold); }
/* the phone Book button sits bottom right; the skip link moves up out of its way */
@media (max-width: 767px) { .lf-walk__skip { bottom: auto; top: calc(var(--hdr-h) + 12px); } .js .lf-walk.is-ready:not(.is-still) .lf-walk__count { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }
/* still: the words sit on the engraving as one paragraph */
.lf-walk.is-still .lf-walk__words { font-size: clamp(1.4rem, 5vw, 2.1rem); max-width: 24ch; }
.lf-walk.is-still .lf-walk__line { display: inline; }
/* without script: the opening view as a still engraving (loaded only then) */
/* the poster: for browsers without script, and for phones when js/crossing.js PHONE_STILL is on (one picture, no scene) */
html:not(.js) .lf-walk__stage, .lf-walk.is-poster .lf-walk__stage { background: #1a2e1a url("../images/crossing/crossing-still-phone.webp") center / cover no-repeat; }
.lf-walk.is-poster .lf-walk__stage canvas, .lf-walk.is-poster .lf-walk__skip, .lf-walk.is-poster .lf-walk__count { display: none; }
@media (min-width: 768px) { html:not(.js) .lf-walk__stage { background-image: url("../images/crossing/crossing-still-desk.webp"); } }
/* the crossing as a film (build_v2.CROSSING_FILM, 2026-11-08): one screen, the loop's first frame as the poster under the
   loop (js/v2.js plays it, .lf-loop__video), the words as the still path shows them, no engraving fetched even without script */
html:not(.js) .lf-walk--film .lf-walk__stage, .lf-walk--film .lf-walk__stage { background-image: none; }
.lf-walk--film picture { position: absolute; inset: 0; display: block; }
.lf-walk--film picture img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lf-walk--film .lf-walk__words { z-index: 1; }
.lf-walk--film .lf-loop__pause { right: calc(var(--pad-x) - 8px); bottom: calc(40px + env(safe-area-inset-bottom, 0px)); z-index: 3; }
/* the phone Book button sits bottom right; the pause button sits where the skip link sat */
@media (max-width: 767px) { .lf-walk--film .lf-loop__pause { bottom: auto; top: calc(var(--hdr-h) + 12px); } }
/* on a desk the words sit top right over the dark trees: the lit canvas walks up the left half of the frame (the Critic
   measured it at 15 to 50 per cent across at 1024 and 1280 wide), so the left would put the last lines on it */
@media (min-width: 768px) { .lf-walk--film .lf-walk__words { left: auto; right: var(--pad-x); margin: 0; text-align: right; max-width: 22ch; top: calc(var(--hdr-h) + 10svh); } }

/* A phone number never breaks across lines (2026-10-22). */
a[href^="tel:"] { white-space: nowrap; }

/* ---- talk to Mick (js/talk.js): the card for a visitor who is hesitating -------------
   Floats over light and dark sections alike: forest-deep with a linen hairline and a deep
   shadow. No gold (gold is the Book button's). Phones: full width in the 16 px gutters,
   above the phone Book button. Desktop: a 360 px card bottom right. Fixed, so nothing on
   the page moves when it comes or goes. is-top: lifted under the header when a checkout
   button is below it; is-away: out of the way when one is under both places. */
.lf-talk {
  position: fixed; z-index: 920; left: 16px; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  max-width: 420px; margin-left: auto; padding: 22px;
  background: var(--forest-deep); color: var(--on-dark);
  border: 1px solid rgba(247, 243, 237, 0.22); box-shadow: 0 18px 48px rgba(8, 16, 9, 0.5);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.32s var(--ease-natural), transform 0.32s var(--ease-natural);
}
.lf-talk.is-in { opacity: 1; transform: none; pointer-events: auto; }
.lf-talk.is-top { top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + 12px); bottom: auto; }
.lf-talk.is-away { visibility: hidden; }
.lf-talk:focus, .lf-talk:focus-visible { outline: none; }   /* the card takes focus for screen readers; its buttons show the ring */
.lf-talk__x {
  position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; display: grid; place-items: center;
  padding: 0; border: 0; background: none; color: var(--on-dark-muted); cursor: pointer;
}
.lf-talk__x:hover { color: var(--on-dark); }
.lf-talk__x:focus-visible { outline: 2px solid var(--on-dark); outline-offset: -4px; }
.lf-talk__h {
  margin: 0; padding-right: 36px; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400;
  font-size: 1.7rem; line-height: 1.12; color: var(--on-dark);
}
.lf-talk__p { margin: 10px 0 0; font-size: 1.12rem; line-height: 1.5; color: var(--on-dark-muted); }
.lf-talk__phone { margin: 12px 0 0; font-size: 1.12rem; line-height: 1.5; color: var(--on-dark); }
.lf-talk__phone a { color: var(--on-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lf-talk__phone a:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 3px; }
.lf-talk__call { display: flex; width: 100%; min-height: 48px; margin-top: 16px; padding: 0 16px; }
/* The email on /book (2026-10-24, js/talk.js CARD_EMAIL): one field and one button above the call line, which
   steps down a size beneath it so the card stays short on a phone. Linen, never gold. */
.lf-talk__ask { margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(247, 243, 237, 0.18); }
.lf-talk__form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lf-talk__email {
  flex: 1 1 10rem; min-width: 0; min-height: 48px; padding: 0 12px; border: 1px solid var(--cream); border-radius: 0;
  background: var(--cream); color: var(--bark); font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px; /* 16px stops iOS zooming into the field */
}
.lf-talk__email::placeholder { color: var(--stone); opacity: 1; }
.lf-talk__email:focus { outline: 2px solid var(--on-dark); outline-offset: 2px; }
.lf-talk__email[aria-invalid="true"] { outline: 2px solid var(--on-dark); outline-offset: 2px; }
.lf-btn.lf-talk__go {
  flex: 1 0 auto; min-height: 48px; padding: 0 14px; letter-spacing: 0.12em;
  background: var(--on-dark); border-color: var(--on-dark); color: var(--forest-deep);
}
.lf-btn.lf-talk__go:hover { background: #ffffff; }
.lf-btn.lf-talk__go[aria-disabled="true"] { opacity: 0.6; cursor: default; transform: none; }
.lf-talk__done { color: var(--on-dark); }
.lf-talk__done:focus { outline: none; }
.lf-talk.has-ask .lf-talk__talk .lf-talk__h { padding-right: 0; font-size: 1.3rem; }
.lf-talk.has-ask .lf-talk__talk .lf-talk__p,
.lf-talk.has-ask .lf-talk__talk .lf-talk__phone { margin-top: 6px; font-size: 1rem; }
.lf-talk.has-ask .lf-talk__talk .lf-talk__call { margin-top: 12px; }
.lf-talk__sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (min-width: 768px) {
  .lf-talk { left: auto; right: 24px; bottom: 24px; width: 360px; }
}
/* is-inline (2026-10-26): on /book before checkout the card is set into the quote card, under
   the Book button's row, in the page's flow (js/talk.js home()). Same look and words; it covers
   nothing, so it needs no float, no shadow and no width of its own. */
.lf-talk.is-inline {
  position: relative; z-index: auto; inset: auto; width: auto; max-width: none;
  margin: 20px 0 0; box-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .lf-talk { transition: none; transform: none; }
}

/* ---- a film in the page (the interior beside "The original" on /treehouses, 2026-10-29) ---- */
/* The still (the poster) shows first and stays where video is off; js/v2.js gives the clip its
   source near the screen and it fades in over the still once it plays, as the hero's does. */
.lf-or { display: grid; gap: 40px; }
@media (min-width: 900px) { .lf-or { grid-template-columns: minmax(0, 1fr) auto; gap: 72px; align-items: center; } }
/* the whole film fits the screen under the header at any shape: its width follows the height left */
.lf-loop { position: relative; margin: 0; width: min(100%, calc((100vh - var(--hdr-h) - 48px) * 9 / 16)); margin-inline: auto; aspect-ratio: 9 / 16; overflow: hidden; background: var(--forest-deep); }
@media (min-width: 900px) { .lf-loop { width: min(380px, 30vw, calc((100vh - var(--hdr-h) - 48px) * 9 / 16)); } }
.lf-loop img, .lf-loop__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lf-loop__video { opacity: 0; transition: opacity 0.8s ease; }
.lf-loop__video.is-playing { opacity: 1; }
.lf-loop__pause {
  position: absolute; z-index: 2; right: 12px; bottom: 12px;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(247, 243, 237, 0.45); background: rgba(20, 36, 24, 0.35);
  display: grid; place-items: center; color: var(--on-dark); cursor: pointer;
}
.lf-loop__pause[hidden] { display: none; }
.lf-loop__pause span { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.lf-loop__pause.is-paused span { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.lf-loop__pause:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .lf-loop__video, .lf-loop__pause { display: none; } }
