/* ═══════════════════════════════════════════════════════════
   MJR Farms Resort, multi-page site layer
   Loads after style.css and reuses its palette, fonts and easing.
   style.css keeps the animated landing scene; this file carries the
   header, page heroes, editorial sections, cards, forms and footer.
   ═══════════════════════════════════════════════════════════ */

:root {
  --r-lg: 26px;
  --shadow-soft: 0 18px 44px -30px rgba(13, 34, 20, .8);
  --shadow-lift: 0 34px 70px -34px rgba(13, 34, 20, .62);
  --nav-h: 74px;
}

/* ═══════════ 1. site header ═══════════ */

.nav {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(247, 251, 243, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(44, 100, 49, .14);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.nav.is-stuck {
  background: rgba(247, 251, 243, .95);
  box-shadow: 0 14px 34px -26px rgba(13, 34, 20, .8);
}

.nav__inner {
  width: var(--shell);
  margin: 0 auto;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  text-decoration: none;
  color: var(--forest-800);
}
.nav__brand img {
  width: 44px;
  height: auto;
  flex: none;
  filter: drop-shadow(0 6px 12px rgba(13, 34, 20, .22));
  transition: transform .5s var(--ease);
}
.nav__brand:hover img { transform: rotate(-6deg) scale(1.06); }

.nav__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.nav__tag {
  display: block;
  font-size: .58rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--green-600);
}

/* the tagline holds "Growing" still and cycles the word after it.
   JS locks the box to the widest word so the brand block never reflows. */
.navrot {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

/* the live word stays in flow to keep the box open; the queued ones
   are stacked over it, out of flow */
.navrot__w {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  white-space: nowrap;
  transform: translateY(115%);
  opacity: 0;
  transition: transform .7s var(--ease-out), opacity .45s ease;
}
.navrot__w.is-on  { position: relative; transform: none; opacity: 1; }
.navrot__w.is-out { transform: translateY(-115%); opacity: 0; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  position: relative;
  display: block;
  padding: .6em .95em;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color .3s, background .3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .34em;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-600);
  transform: translateX(-50%);
  transition: width .4s var(--ease);
}
.nav__link:hover { color: var(--green-700); background: rgba(56, 122, 61, .08); }
.nav__link:hover::after { width: 26px; }

.nav__link[aria-current="page"] { color: var(--green-700); font-weight: 500; }
.nav__link[aria-current="page"]::after { width: 26px; }

/* the gold call to action, used in the bar and again in the drawer */
.btn-book {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .78em 1.5em;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--forest-900);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  box-shadow: 0 12px 26px -14px rgba(184, 181, 0, .9);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s, filter .3s;
}
.btn-book:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 20px 34px -16px rgba(184, 181, 0, .95);
}
.btn-book:active { transform: translateY(0) scale(.98); }

.nav__burger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(44, 100, 49, .28);
  border-radius: 14px;
  background: rgba(255, 255, 255, .7);
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 19px;
  height: 1.8px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--green-700);
  transition: transform .4s var(--ease), opacity .3s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

.nav__scrim {
  position: fixed;
  inset: 0;
  z-index: 68;
  background: rgba(13, 34, 20, .45);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s;
}
body.nav-open .nav__scrim { opacity: 1; visibility: visible; }

/* the scroll bar has to clear the sticky header */
.progress { z-index: 80; }

/* ...and so does anything jumped to from a link. Without this the sticky
   header parks itself right on top of the heading you just navigated to. */
section[id],
.band[id],
.phero[id] { scroll-margin-top: calc(var(--nav-h) + 14px); }

/* ═══════════ 2. page hero ═══════════ */

/* On the home page the animated scene is fixed behind the viewport. Everything
   after the hero rides over it on solid ground, so the scenery reads as a
   backdrop for the headline rather than showing through the cards. */
.home-rest {
  position: relative;
  z-index: 1;
  padding-top: clamp(10px, 2vh, 20px);
  background: var(--paper);
}
.home-rest .vine { margin-top: 0; }

/* the tree line closing the home page sits on the same solid ground */
.grove { background: var(--paper); }

/* card footer links */
.card__meta a {
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--green-700);
  text-decoration: none;
  transition: color .3s, gap .3s;
}
.card:hover .card__meta a { color: var(--gold-700); }

.phero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(310px, 46vh, 460px);
  margin-bottom: clamp(34px, 6vh, 66px);
  overflow: hidden;
  background: var(--forest-800);
}

.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-drift 18s ease-out forwards;
}
@keyframes hero-drift { to { transform: scale(1); } }

.phero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(13, 34, 20, .9) 0%, rgba(13, 34, 20, .5) 42%, rgba(13, 34, 20, .28) 100%),
    linear-gradient(105deg, rgba(20, 48, 29, .55), transparent 62%);
}

.phero__inner {
  position: relative;
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(30px, 6vh, 58px) 0 clamp(26px, 5vh, 46px);
  color: var(--cream);
}

.phero__title {
  margin: .35rem 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 6.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 14px 40px rgba(13, 34, 20, .5);
}
.phero__title em { font-style: italic; font-weight: 300; color: var(--gold-200); }

.phero__lede {
  margin: .95rem 0 0;
  max-width: 36rem;
  font-size: clamp(.98rem, 3.4vw, 1.1rem);
  color: rgba(238, 244, 230, .92);
}

/* breadcrumbs double as the SEO trail */
.crumbs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5em;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(195, 218, 195, .8);
}
.crumbs li { display: flex; align-items: center; gap: .5em; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: inherit; text-decoration: none; transition: color .3s; }
.crumbs a:hover { color: var(--gold-200); }
.crumbs [aria-current] { color: var(--gold-200); }

/* ═══════════ 3. layout bands ═══════════ */

.band {
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(30px, 6vh, 62px) 0;
}
.band--tight { padding-block: clamp(20px, 4vh, 38px); }

/* full-bleed dark band, for contrast between light sections */
.band--dark {
  width: auto;
  margin-inline: calc(50% - 50vw);
  padding-inline: max(5vw, calc(50vw - var(--shell) / 2));
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(76, 140, 80, .2), transparent 70%),
    linear-gradient(to bottom, var(--forest-700), var(--forest-800));
  color: var(--green-200);
}
.band--dark .sect__title { color: var(--cream); }
.band--dark .sect__lede { color: var(--green-300); }
.band--dark .sect__kicker { color: var(--gold-400); }

.sect__head {
  max-width: 44rem;
  margin: 0 auto clamp(24px, 4vh, 42px);
  text-align: center;
}
.sect__head--left { margin-inline: 0; text-align: left; }

.sect__kicker {
  margin: 0 0 .55rem;
  font-size: clamp(.66rem, 2.5vw, .73rem);
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--green-700);
}

.sect__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.65rem, 5.2vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--forest-800);
}
.sect__title em { font-style: italic; font-weight: 300; color: var(--green-600); }

.sect__lede {
  margin: .9rem 0 0;
  font-size: clamp(.96rem, 3.3vw, 1.05rem);
  color: var(--ink-soft);
}

/* ═══════════ 4. image + text split ═══════════ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 58px);
  margin: 0 0 clamp(30px, 6vh, 64px);
}
.split:last-child { margin-bottom: 0; }
.split--flip .split__media { order: 2; }

.split__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.split__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.split__media:hover img { transform: scale(1.05); }

/* a small gold caption plate riding the corner of the photo */
.split__plate {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: .5em 1.05em;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--forest-900);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  box-shadow: 0 12px 26px -14px rgba(13, 34, 20, .9);
}

.split__body h2,
.split__body h3 {
  margin: 0 0 .7rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 4.6vw, 2.15rem);
  line-height: 1.16;
  letter-spacing: -.02em;
  color: var(--forest-800);
}
.split__body p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: clamp(.95rem, 3.2vw, 1.02rem);
}
.split__body p:last-child { margin-bottom: 0; }
.band--dark .split__body h2,
.band--dark .split__body h3 { color: var(--cream); }
.band--dark .split__body p { color: var(--green-200); }

/* links inside running prose: the rest of the site sends people out through
   buttons, so this is the only underlined link style on the page */
.inline-link {
  color: var(--green-700);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 181, 0, .55);
  transition: color .3s, border-color .3s;
}
.inline-link:hover { color: var(--gold-700); border-color: var(--gold-700); }
.band--dark .inline-link { color: var(--cream); }
.band--dark .inline-link:hover { color: var(--gold-400); }

/* ticked feature list */
.ticks { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.ticks li {
  position: relative;
  padding: .3em 0 .3em 1.9em;
  font-size: clamp(.92rem, 3.2vw, .99rem);
  color: var(--ink-soft);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--green-600);
  border-bottom: 2px solid var(--green-600);
  transform: rotate(-45deg);
}
.band--dark .ticks li { color: var(--green-200); }
.band--dark .ticks li::before { border-color: var(--gold-400); }

/* ═══════════ 5. photo cards ═══════════ */

.cards {
  display: grid;
  /* min() keeps the track from being wider than its container: a bare
     minmax(268px,...) forces a 268px column even at 300px wide and pushes the
     page sideways */
  grid-template-columns: repeat(auto-fit, minmax(min(268px, 100%), 1fr));
  gap: clamp(16px, 2.4vw, 26px);
}
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid rgba(44, 100, 49, .16);
  background: linear-gradient(180deg, #fff, rgba(236, 244, 231, .9));
  box-shadow: var(--shadow-soft);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .55s;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(44, 100, 49, .34);
  box-shadow: var(--shadow-lift);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-100);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.card:hover .card__media img { transform: scale(1.07); }

.card__chip {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: .38em .9em;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(13, 34, 20, .68);
  backdrop-filter: blur(6px);
}
.card__chip--gold { color: var(--forest-900); background: rgba(214, 211, 74, .92); }

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(18px, 2.6vw, 24px);
}

.card__title {
  margin: 0 0 .45rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 3.6vw, 1.24rem);
  letter-spacing: -.01em;
  color: var(--forest-800);
}

.card__text {
  margin: 0;
  font-size: clamp(.9rem, 3.1vw, .96rem);
  color: var(--ink-soft);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5em 1em;
  margin-top: auto;
  padding-top: 1rem;
}
.card__price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.16rem;
  color: var(--green-700);
}
.card__price small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: .8;
}

/* lets a whole card act as one link without nesting anchors */
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ═══════════ 6. amenity tiles ═══════════ */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tile {
  display: flex;
  align-items: center;
  gap: .85em;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(154, 194, 157, .26);
  background: rgba(255, 255, 255, .06);
  font-size: .93rem;
  transition: transform .45s var(--ease), background .45s;
}
.tile:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .12); }

.tile__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--green-600), var(--green-800));
  color: var(--gold-200);
}
.tile__icon svg { width: 21px; height: 21px; }

/* light-background variant */
.band:not(.band--dark) .tile {
  border-color: rgba(44, 100, 49, .18);
  background: rgba(255, 255, 255, .72);
  color: var(--ink-soft);
}
.band:not(.band--dark) .tile:hover { background: #fff; }

/* ═══════════ 7. gallery ═══════════ */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 168px;
  gap: 14px;
}
.gal {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gal:hover img { transform: scale(1.08); }
.gal--tall { grid-row: span 2; }
.gal--wide { grid-column: span 2; }

/* ═══════════ 8. numbered steps ═══════════ */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(212px, 100%), 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  position: relative;
  counter-increment: step;
  padding: 26px 22px 22px;
  border-radius: 18px;
  border: 1px solid rgba(44, 100, 49, .18);
  background: rgba(255, 255, 255, .74);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: .5rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold-600);
}
.step h3 {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.06rem;
  color: var(--forest-800);
}
.step p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

/* ═══════════ 9. forms ═══════════ */

.formcard {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(44, 100, 49, .18);
  background: linear-gradient(180deg, #fff, rgba(236, 244, 231, .82));
  box-shadow: var(--shadow-soft);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 18px;
}
.field--full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: .4em; }

.field > label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-700);
}
.field .req { color: var(--gold-700); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .82em 1em;
  font: inherit;
  font-size: 16px;              /* stops iOS zooming the page on focus */
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(44, 100, 49, .26);
  border-radius: 13px;
  outline: none;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { min-height: 116px; resize: vertical; }

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--green-600) 50%),
    linear-gradient(135deg, var(--green-600) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.6em;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--green-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(107, 164, 111, .18);
}
.field input:user-invalid,
.field select:user-invalid { border-color: #C2703F; }

.field__hint { font-size: .78rem; color: var(--ink-soft); opacity: .78; }

.form__note {
  min-height: 1.5em;
  margin: 1rem 0 0;
  font-size: .92rem;
  color: var(--green-700);
}
.form__note.is-error { color: #A8482A; }

.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;              /* comfortable touch target */
  padding: .9em 1.7em;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: .93rem;
  font-weight: 500;
  letter-spacing: .03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s, filter .3s, background .3s, color .3s;
}
.btn:active { transform: translateY(0) scale(.98); }

.btn--gold {
  color: var(--forest-900);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  box-shadow: 0 14px 30px -16px rgba(184, 181, 0, .9);
}
.btn--gold:hover { transform: translateY(-3px); filter: brightness(1.07); }

.btn--green {
  color: var(--cream);
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  box-shadow: 0 14px 30px -16px rgba(28, 58, 32, .9);
}
.btn--green:hover { transform: translateY(-3px); filter: brightness(1.08); }

.btn--ghost {
  color: var(--green-700);
  background: transparent;
  border-color: rgba(44, 100, 49, .4);
}
.btn--ghost:hover { background: rgba(56, 122, 61, .1); transform: translateY(-3px); }

.band--dark .btn--ghost,
.cta .btn--ghost { color: var(--green-200); border-color: rgba(154, 194, 157, .45); }
.band--dark .btn--ghost:hover,
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .12); }

/* ═══════════ 10. contact rows, map, FAQ ═══════════ */

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1em;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(44, 100, 49, .16);
  background: rgba(255, 255, 255, .74);
}
.contact-row__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--green-600), var(--green-800));
  color: var(--gold-200);
}
.contact-row__icon svg { width: 20px; height: 20px; }
.contact-row h3 {
  margin: 0 0 .2rem;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green-700);
}
.contact-row p,
.contact-row address {
  margin: 0;
  font-style: normal;
  font-size: .96rem;
  color: var(--ink-soft);
}
.contact-row a {
  color: var(--forest-800);
  text-decoration: none;
  overflow-wrap: anywhere;
  border-bottom: 1px solid rgba(184, 181, 0, .6);
}
.contact-row a:hover { color: var(--green-600); }

.map-frame {
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid rgba(44, 100, 49, .2);
  box-shadow: var(--shadow-soft);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 360px; border: 0; }

.faq { display: grid; gap: 12px; max-width: 50rem; margin-inline: auto; }

.faq details {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(44, 100, 49, .18);
  background: rgba(255, 255, 255, .78);
  transition: border-color .35s, box-shadow .35s;
}
.faq details[open] { border-color: rgba(44, 100, 49, .34); box-shadow: var(--shadow-soft); }

.faq summary {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 17px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  font-size: clamp(.96rem, 3.2vw, 1.02rem);
  color: var(--forest-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: auto;
  flex: none;
  border-right: 2px solid var(--green-600);
  border-bottom: 2px solid var(--green-600);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }

.faq__answer { padding: 0 20px 18px; margin: 0; font-size: .96rem; color: var(--ink-soft); }

/* ═══════════ 11. closing call to action ═══════════ */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-inline: calc(50% - 50vw);
  padding: clamp(46px, 9vh, 96px) max(5vw, calc(50vw - var(--shell) / 2));
  text-align: center;
  color: var(--cream);
}
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(13, 34, 20, .84), rgba(13, 34, 20, .72));
}
.cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 5.6vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -.02em;
  color: #fff;
}
.cta h2 em { font-style: italic; font-weight: 300; color: var(--gold-200); }
.cta p {
  margin: 1rem auto 0;
  max-width: 34rem;
  color: rgba(238, 244, 230, .88);
  font-size: clamp(.96rem, 3.3vw, 1.05rem);
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 1.8rem;
}

/* ═══════════ 12. site footer ═══════════ */

.sitefoot {
  position: relative;
  overflow: hidden;                 /* keeps the drifting leaves inside */
  padding: clamp(38px, 7vh, 72px) 0 0;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(76, 140, 80, .2), transparent 70%),
    linear-gradient(to bottom, var(--forest-700), var(--forest-900));
  color: var(--green-200);
}

/* ── leaves hanging in the air over the footer ──
   Each leaf is three nested spans, and each span animates one axis on its own
   period: bob, sway, turn. Because the three durations never divide evenly the
   combined path keeps wandering instead of looping on a visible beat, which is
   what stops it reading as a slide and starts it reading as air. */

.foliage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* the content has to sit above the drift */
.sitefoot__grid,
.sitefoot__base { position: relative; z-index: 1; }

.fleaf {
  position: absolute;
  animation: leaf-bob var(--bob, 9s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}
.fleaf__sway {
  display: block;
  animation: leaf-sway var(--sway, 13s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}
.fleaf__spin {
  display: block;
  color: var(--green-400);
  animation: leaf-turn var(--turn, 7s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}
.fleaf svg { display: block; width: 100%; height: auto; }

@keyframes leaf-bob {
  from { transform: translateY(calc(var(--lift, 20px) * -1)); }
  to   { transform: translateY(var(--lift, 20px)); }
}
@keyframes leaf-sway {
  from { transform: translateX(calc(var(--drift, 26px) * -1)); }
  to   { transform: translateX(var(--drift, 26px)); }
}
@keyframes leaf-turn {
  from { transform: rotate(var(--tilt-a, -16deg)); }
  to   { transform: rotate(var(--tilt-b, 20deg)); }
}

/* a few embers of light between them, as in the old grove */
.spark {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-200), rgba(214, 211, 74, 0) 70%);
  animation:
    leaf-sway var(--sway, 16s) ease-in-out infinite alternate,
    spark-blink var(--blink, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform, opacity;
}
@keyframes spark-blink {
  0%, 100% { opacity: .12; }
  50%      { opacity: .85; }
}

.sitefoot__grid {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 30px 40px;
}

.sitefoot h3 {
  margin: 0 0 .9rem;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.sitefoot__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.sitefoot__brand img { width: 52px; height: auto; }
.sitefoot__brand span {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--cream);
}

.sitefoot p,
.sitefoot address {
  margin: 0 0 .6rem;
  font-style: normal;
  font-size: .93rem;
  line-height: 1.75;
}

/* studio credit under the brand blurb; the double class outranks .sitefoot p */
.sitefoot .sitefoot__by {
  margin: .9rem 0 0;
  font-size: .85rem;
  letter-spacing: .03em;
  color: var(--green-300);
}
.sitefoot__by a {
  color: var(--green-200);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 181, 0, .5);
  transition: color .3s;
}
.sitefoot__by a:hover { color: var(--gold-400); }

.sitefoot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.sitefoot ul a,
.sitefoot .inline-link {
  color: var(--green-200);
  text-decoration: none;
  font-size: .93rem;
  /* the email address is one long unbreakable token on a 320px screen */
  overflow-wrap: anywhere;
  transition: color .3s, padding-left .3s;
}
.sitefoot ul a:hover { color: var(--gold-400); padding-left: 5px; }
.sitefoot .inline-link { border-bottom: 1px solid rgba(184, 181, 0, .5); }
.sitefoot .inline-link:hover { color: var(--gold-400); }

.sitefoot__base {
  width: var(--shell);
  margin: clamp(28px, 5vh, 48px) auto 0;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(154, 194, 157, .16);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: .8rem;
  letter-spacing: .05em;
  color: var(--green-300);
  opacity: .8;
}

/* the studio credit sits on its own row on narrow screens, so it must not
   inherit the underline treatment of the bigger footer links */
.sitefoot__credit a {
  color: var(--green-200);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 181, 0, .45);
  transition: color .3s;
}
.sitefoot__credit a:hover { color: var(--gold-400); }

/* ═══════════ 13. tablets and phones ═══════════ */

@media (max-width: 1040px) {
  .sitefoot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .nav__burger { display: block; }

  /* the links become a sheet that slides down from under the bar */
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 69;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px max(5vw, 18px) 22px;
    background: rgba(247, 251, 243, .98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(44, 100, 49, .18);
    box-shadow: 0 26px 44px -30px rgba(13, 34, 20, .9);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: transform .42s var(--ease), opacity .34s ease, visibility .42s;
  }
  body.nav-open .nav__links { transform: none; opacity: 1; visibility: visible; }

  .nav__link { padding: .85em 1em; font-size: 1rem; border-radius: 12px; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { background: rgba(56, 122, 61, .1); }

  /* the CTA stays in the bar on mobile: it is the point of the page */
  .nav__inner > .btn-book { padding: .7em 1.05em; font-size: .74rem; letter-spacing: .04em; }

  .split { grid-template-columns: 1fr; gap: 22px; }
  .split--flip .split__media { order: 0; }
  .split__media img { min-height: 220px; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
}

@media (max-width: 620px) {
  :root { --nav-h: 66px; }

  .nav__brand img { width: 38px; }
  .nav__name { font-size: .94rem; }
  .nav__tag { font-size: .53rem; letter-spacing: .2em; }
  .nav__inner { gap: 10px; }
  .nav__inner > .btn-book { padding: .68em .9em; font-size: .68rem; }

  .field-grid { grid-template-columns: 1fr; }
  .sitefoot__grid { grid-template-columns: 1fr; gap: 26px; }
  .sitefoot__base { justify-content: center; text-align: center; }
  .gallery { grid-auto-rows: 128px; gap: 10px; }

  /* full-width buttons are easier to hit than centred pills */
  .cta__actions .btn,
  .form__actions .btn,
  .form__actions button { width: 100%; justify-content: center; }

  .phero { min-height: 300px; }
  .map-frame iframe { height: 280px; }
  .split__media img { min-height: 190px; }
}

/* small phones: the brand block, the CTA and the burger all compete for one
   row, so tighten everything before anything is allowed to overflow */
@media (max-width: 420px) {
  .nav__inner { gap: 8px; }
  .nav__brand { gap: 8px; }
  .nav__tag { font-size: .5rem; letter-spacing: .13em; }
  .nav__inner > .btn-book { padding: .62em .8em; font-size: .64rem; letter-spacing: .02em; }
  .nav__burger { width: 42px; height: 42px; border-radius: 12px; }
  .sect__head { text-align: left; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 168px; }
  .gal--wide, .gal--tall { grid-column: auto; grid-row: auto; }
}

/* below this the tagline is the first thing that has to go */
@media (max-width: 340px) {
  .nav__tag { display: none; }
}

/* ═══════════ 14. reduced motion ═══════════ */

@media (prefers-reduced-motion: reduce) {
  .phero__media img { animation: none; transform: none; }
  .card, .card__media img, .split__media img, .gal img, .tile, .btn, .btn-book {
    transition: none !important;
  }
  .card:hover, .tile:hover, .btn:hover, .btn-book:hover { transform: none; }
  .foliage { display: none; }
  .card:hover .card__media img,
  .split__media:hover img,
  .gal:hover img { transform: none; }
}
