/* ==========================================================================
   REVO SPORTS ON THE HILL
   Spring Branch, TX  ·  Family Event Center & Sports Complex

   Palette derived from their own logo: the wordmark ink samples #00303C
   (deep cistern teal) and the live-oak mark samples #B4CC84 (sage). Canvas
   is the measured Sweetgreen warm off-white #F4F3E7. ONE accent: a Texas
   sun gold, spent on roughly 2% of pixels.
   ========================================================================== */

/* ---------- 1. Reset + foundation ---------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-width: none;              /* hide the native bar, house rule */
  -ms-overflow-style: none;
}
html::-webkit-scrollbar { width: 0; height: 0; display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  overflow-x: clip;                   /* clip, never hidden: hidden kills fixed/sticky on iOS */
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1rem;                    /* 16px at every viewport, never fluid */
  line-height: 1.62;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, canvas, svg, iframe { max-width: 100%; display: block; }
img, video { height: auto; }

/* ---------- 2. Tokens ---------------------------------------------------- */

:root {
  /* live safe-area value: never freeze this from JS */
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);

  /* colour */
  --cream:     #F4F3E7;
  --cream-2:   #EAE7D6;
  --cream-3:   #DFDCC8;
  --ink:       #0D2F38;
  --ink-soft:  #45565B;
  --deep:      #0B2831;
  --deep-2:    #071F26;
  --on-deep:   #E4E2D3;
  --on-deep-2: #A9B4B4;
  --sage:      #A9C07C;
  --sage-dk:   #47602D;               /* AA-safe sage-family text on cream and cream-2 */
  --gold:      #E8A317;
  --gold-dk:   #C9860B;
  --gold-ink:  #7A5000;               /* AA-safe gold-family text on cream */
  --line:      rgb(13 47 56 / 14%);
  --line-2:    rgb(13 47 56 / 8%);
  --line-deep: rgb(228 226 211 / 14%);

  /* type */
  --font-display: "Satoshi", "Figtree", system-ui, sans-serif;
  --font-body:    "Figtree", system-ui, -apple-system, sans-serif;
  --font-mono:    "Spline Sans Mono", ui-monospace, "SFMono-Regular", monospace;

  /* fluid scale. Hero caps at ~1280 per the measured responsive profile. */
  --t-hero:  clamp(2.9rem, 1.70rem + 5.20vw, 5.25rem);
  --t-h1:    clamp(2.4rem, 1.60rem + 3.40vw, 4.00rem);
  --t-h2:    clamp(1.9rem, 1.35rem + 2.30vw, 3.00rem);
  --t-h3:    clamp(1.4rem, 1.18rem + 0.95vw, 1.95rem);
  --t-h4:    clamp(1.13rem, 1.05rem + 0.36vw, 1.35rem);
  --t-lead:  clamp(1.06rem, 1.00rem + 0.28vw, 1.22rem);
  --t-small: .875rem;
  --t-micro: .75rem;

  /* space */
  --gutter:  clamp(1rem, 0.6rem + 1.6vw, 3rem);
  --container: 1280px;
  --s-1: .5rem;  --s-2: .875rem; --s-3: 1.25rem;
  --s-4: 2rem;   --s-5: 3rem;    --s-6: 4.5rem;
  --band:  clamp(3.5rem, 2.2rem + 5.2vw, 7.5rem);

  /* surface */
  --r-s: 8px;
  --r:   14px;
  --r-l: 22px;
  --header-h: 68px;

  /* the two house curves */
  --e-out:    cubic-bezier(.22, .90, .28, 1);     /* fast attack, long settle */
  --e-in-out: cubic-bezier(.66, 0, .24, 1);
  --d-micro: 150ms;
  --d-mid:   420ms;
  --d-slow:  680ms;
}

@media (min-width: 1024px) { :root { --header-h: 76px; } }

/* ---------- 3. Type ------------------------------------------------------ */

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
h3, h4 { font-weight: 700; letter-spacing: -.022em; line-height: 1.14; }

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }
h4 { font-size: var(--t-h4); }

p { margin: 0 0 var(--s-3); max-width: 66ch; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 58ch;
}

/* mono is spice: real numbers and real dimensions only */
.spec {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  font-weight: 500;
  margin: 0 0 var(--s-2);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--gold);
  flex: none;
}

.price {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  color: var(--ink);
}

/* ---------- 4. Layout ---------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 880px; }

.band { padding-block: var(--band); position: relative; }

.band--deep {
  background: var(--deep);
  color: var(--on-deep-2);
}
.band--deep h1, .band--deep h2, .band--deep h3, .band--deep h4,
.band--deep .display, .band--deep .price { color: var(--on-deep); }
.band--deep .lead { color: var(--on-deep-2); }
.band--deep .eyebrow { color: var(--gold); }

.band--tint { background: var(--cream-2); }

.band__head { margin-bottom: var(--s-5); max-width: 64ch; }
.band__head .lead { margin-top: var(--s-3); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.band--deep .rule { background: var(--line-deep); }

/* ---------- 5. Buttons --------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--d-micro) var(--e-out),
              color var(--d-micro) var(--e-out),
              border-color var(--d-micro) var(--e-out),
              transform var(--d-micro) var(--e-out);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--gold);
  color: #2A1C00;
  border-color: var(--gold);
}
.btn--primary:hover { background: var(--gold-dk); border-color: var(--gold-dk); }

.btn--ink {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn--ink:hover { background: #14424E; border-color: #14424E; }

.btn--line {
  background: transparent;
  color: var(--ink);
  border-color: rgb(13 47 56 / 30%);
}
.btn--line:hover { border-color: var(--ink); background: rgb(13 47 56 / 5%); }

.band--deep .btn--line,
.on-photo .btn--line {
  color: var(--on-deep);
  border-color: rgb(228 226 211 / 42%);
}
.band--deep .btn--line:hover,
.on-photo .btn--line:hover {
  border-color: var(--on-deep);
  background: rgb(228 226 211 / 10%);
}

.btn--sm { min-height: 42px; padding: .55rem 1.15rem; font-size: var(--t-small); }

/* text link with a gold underline that grows */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 34px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 2px;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--d-mid) var(--e-out);
}
.tlink:hover, .tlink:focus-visible { background-size: 100% 2px; }
.band--deep .tlink { color: var(--on-deep); }
.tlink svg { transition: transform var(--d-mid) var(--e-out); }
.tlink:hover svg { transform: translateX(4px); }

/* ---------- 6. Focus + skip link ----------------------------------------- */

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.band--deep :focus-visible { outline-color: var(--gold); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-s) 0;
  font-weight: 600;
}
.skip:focus { left: 0; }

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 7. Header (fixed, safe-area aware) --------------------------- */
/* Five parts, all of them: viewport-fit=cover in the HTML, --safe-t kept
   live in CSS, position:fixed (never sticky), body carries the flow offset,
   and the header is the first element in body after the skip link.        */

.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-top: var(--safe-t);
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: background var(--d-mid) var(--e-out),
              border-color var(--d-mid) var(--e-out);
}
.hdr__in {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

/* over the hero photo the bar is transparent, then it solidifies */
.hdr--over { background: transparent; }
.hdr--over .hdr__link, .hdr--over .brand__name, .hdr--over .brand__sub { color: var(--on-deep); }
.hdr--over .brand__mark { color: var(--cream); }
.hdr--over .burger span { background: var(--on-deep); }

.hdr--solid {
  background: var(--cream);
  border-bottom-color: var(--line);
}
body.nav-open .hdr { background: var(--cream); }

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.brand__mark { color: var(--ink); flex: none; }
.brand__mark svg { width: 34px; height: 34px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -.045em;
  font-size: 1.22rem;
  color: var(--ink);
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
}

.hdr__nav { display: none; align-items: center; gap: clamp(.8rem, .2rem + 1.1vw, 1.7rem); }
.hdr__link {
  position: relative;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: .96rem;
  padding: .4rem 0;
  white-space: nowrap;
}
.hdr__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--d-mid) var(--e-out);
}
.hdr__link:hover::after { transform: scaleX(1); }
.hdr__link[aria-current="page"] { font-weight: 700; }
.hdr__link[aria-current="page"]::after { transform: scaleX(1); }

.hdr__cta { display: none; }
.hdr__tel {
  display: none;
  font-family: var(--font-mono);
  font-size: var(--t-small);
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.hdr--over .hdr__tel { color: var(--on-deep); }

@media (min-width: 1024px) { .hdr__nav, .hdr__cta { display: flex; } }
@media (min-width: 1180px) { .hdr__tel { display: inline-flex; align-items: center; gap: .4rem; } }

/* burger */
.burger {
  width: 46px; height: 46px;
  display: grid;
  place-content: center;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--d-mid) var(--e-out), opacity var(--d-micro) linear;
}
body.nav-open .burger span { background: var(--ink); }
body.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Declared AFTER the base rule on purpose. At equal specificity the later
   declaration wins, so putting this above would silently do nothing. */
@media (min-width: 1024px) { .burger { display: none; } }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--cream);
  padding: calc(var(--safe-t) + var(--header-h) + var(--s-4)) var(--gutter) calc(var(--safe-b) + var(--s-4));
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--d-mid) var(--e-out),
              transform var(--d-mid) var(--e-out),
              visibility 0s linear var(--d-mid);
}
body.nav-open .drawer {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.drawer a.drawer__link {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.03em;
  font-size: clamp(1.75rem, 1.3rem + 2.2vw, 2.5rem);
  color: var(--ink);
  text-decoration: none;
  padding: .45rem 0;
  border-bottom: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.drawer a.drawer__link .spec { color: var(--sage-dk); }
.drawer__foot { margin-top: auto; padding-top: var(--s-4); display: grid; gap: var(--s-2); }
@media (min-width: 1024px) { .drawer { display: none; } }

/* ---------- 8. Hero ------------------------------------------------------ */

.hero {
  position: relative;
  min-height: min(92svh, 880px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--safe-t) + var(--header-h) + var(--s-5));
  padding-bottom: 0;
  isolation: isolate;
  background: var(--deep);
}
/* Positive stacking everywhere a photo sits behind content.
   Negative z-index children are painted BELOW the background of an ancestor
   that also has overflow:hidden, which silently blanks the photo. Never use
   a negative z-index for a background image on this site. */
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgb(7 31 38 / 92%) 0%, rgb(7 31 38 / 74%) 28%,
                    rgb(7 31 38 / 30%) 58%, rgb(7 31 38 / 46%) 100%);
}
.hero__in { width: 100%; padding-bottom: var(--s-5); position: relative; z-index: 2; }
.on-photo, .on-photo h1, .on-photo .display { color: var(--on-deep); }
.on-photo .eyebrow { color: var(--gold); }

.hero h1 {
  font-size: var(--t-hero);
  max-width: 15ch;
  color: #FBFAF3;
  text-shadow: 0 2px 30px rgb(7 31 38 / 45%);
}
.hero__lead {
  margin-top: var(--s-3);
  max-width: 46ch;
  color: #DCDFD8;
  font-size: var(--t-lead);
  line-height: 1.55;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }

/* spec rail under the hero: real, measured facts about the place */
.specrail {
  border-top: 1px solid rgb(228 226 211 / 20%);
  margin-top: var(--s-5);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.specrail__i {
  padding: var(--s-3) 0;
  border-bottom: 1px solid rgb(228 226 211 / 12%);
}
.specrail__i:nth-child(odd) { padding-right: var(--s-3); }
.specrail__n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.35rem);
  letter-spacing: -.04em;
  color: #FBFAF3;
  line-height: 1;
}
.specrail__l {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #B9C0BA;
  margin-top: .45rem;
}
@media (min-width: 760px) {
  .specrail { grid-template-columns: repeat(4, 1fr); border-bottom: 0; }
  .specrail__i { border-bottom: 0; padding-right: var(--s-3); }
  .specrail__i + .specrail__i { border-left: 1px solid rgb(228 226 211 / 14%); padding-left: var(--s-4); }
}

/* page hero for interior pages */
.phero {
  position: relative;
  padding-top: calc(var(--safe-t) + var(--header-h) + var(--band));
  padding-bottom: var(--band);
  background: var(--deep);
  isolation: isolate;
  overflow: hidden;
}
.phero__media { position: absolute; inset: 0; z-index: 0; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.phero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgb(7 31 38 / 93%) 0%, rgb(7 31 38 / 78%) 48%, rgb(7 31 38 / 52%) 100%);
}
.phero > .wrap { position: relative; z-index: 2; }
.phero h1 { max-width: 17ch; color: #FBFAF3; }
.phero .lead { margin-top: var(--s-3); color: #D3D8D2; }

/* ---------- 9. The Grounds: the signature -------------------------------- */

.grounds__grid { display: grid; gap: var(--s-4); align-items: start; }
@media (min-width: 1000px) {
  .grounds__grid { grid-template-columns: minmax(0, 1.45fr) minmax(300px, .85fr); gap: var(--s-5); }
}

.plan {
  position: relative;
  background: #0E2F39;
  border: 1px solid var(--line-deep);
  border-radius: var(--r-l);
  overflow: hidden;
}
.plan svg { width: 100%; height: auto; display: block; touch-action: manipulation; }

.plan__hint {
  position: absolute;
  left: var(--s-3); bottom: var(--s-3);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-deep-2);
  background: rgb(7 31 38 / 72%);
  border: 1px solid var(--line-deep);
  padding: .4rem .7rem;
  border-radius: 999px;
  pointer-events: none;
  transition: opacity var(--d-mid) var(--e-out);
}
.plan.is-touched .plan__hint { opacity: 0; }

/* zone shapes */
.zone { cursor: pointer; outline: none; }
.zone__shape {
  fill: #1B4A56;
  stroke: #2F6B78;
  stroke-width: 1.5;
  transition: fill var(--d-mid) var(--e-out), stroke var(--d-mid) var(--e-out);
}
.zone__label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  fill: #9FB2B4;
  pointer-events: none;
  transition: fill var(--d-mid) var(--e-out);
}
.zone__num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  fill: #7E9599;
  pointer-events: none;
  transition: fill var(--d-mid) var(--e-out);
}
.zone:hover .zone__shape,
.zone:focus-visible .zone__shape,
.zone.is-active .zone__shape {
  fill: var(--gold);
  stroke: #FFD37A;
}
.zone:hover .zone__label,
.zone:focus-visible .zone__label,
.zone.is-active .zone__label { fill: #2A1C00; }
.zone:hover .zone__num,
.zone:focus-visible .zone__num,
.zone.is-active .zone__num { fill: #2A1C00; }
.zone:focus-visible .zone__shape { stroke-width: 3; stroke: #FFF; }

.zone--soft .zone__shape { fill: #16404B; stroke: #24586380; }
.zone--soft:hover .zone__shape,
.zone--soft.is-active .zone__shape { fill: var(--sage); stroke: #C6DBA0; }
.zone--soft:hover .zone__label,
.zone--soft.is-active .zone__label { fill: #1B2B10; }
.zone--soft:hover .zone__num,
.zone--soft.is-active .zone__num { fill: #1B2B10; }

.plan__ground { fill: #0A252E; }
.plan__grass  { fill: #113A44; }
.plan__tree   { fill: #17505C; }
.plan__drive  { fill: none; stroke: #23545F; stroke-width: 9; stroke-linecap: round; }
.plan__cap    { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .1em; fill: #5E787D; text-transform: uppercase; }

/* detail card */
.zinfo {
  background: var(--deep-2);
  border: 1px solid var(--line-deep);
  border-radius: var(--r-l);
  padding: var(--s-4);
  min-height: 340px;
  display: flex;
  flex-direction: column;
}
.zinfo__media {
  aspect-ratio: 16 / 10;
  border-radius: var(--r);
  overflow: hidden;
  background: #0E2F39;
  margin-bottom: var(--s-3);
}
.zinfo__media img { width: 100%; height: 100%; object-fit: cover; }
.zinfo__n { color: var(--gold); }
.zinfo h3 { margin: .35rem 0 .5rem; }
.zinfo p { font-size: .95rem; color: var(--on-deep-2); }
.zinfo__facts {
  list-style: none;
  margin: var(--s-3) 0 0;
  padding: 0;
  display: grid;
  gap: .4rem;
}
.zinfo__facts li {
  display: flex;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--on-deep-2);
  align-items: baseline;
}
.zinfo__facts li::before { content: ""; width: 5px; height: 5px; background: var(--sage); flex: none; transform: translateY(-2px); }
.zinfo__cta { margin-top: auto; padding-top: var(--s-3); }
.zinfo.is-swapping { opacity: .35; }
.zinfo { transition: opacity 180ms var(--e-out); }

/* ---------- 10. Offering grid (asymmetric, never 3 equal cards) ---------- */

.offer { display: grid; gap: var(--s-3); }
@media (min-width: 700px)  { .offer { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .offer { grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(0, auto); }
  .offer__a { grid-column: span 7; grid-row: span 2; }
  .offer__b { grid-column: span 5; }
  .offer__c { grid-column: span 5; }
}

.ocard {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 230px;
  padding: var(--s-4);
  border-radius: var(--r-l);
  overflow: hidden;
  text-decoration: none;
  color: var(--on-deep);
  isolation: isolate;
  background: var(--deep);
}
.offer__a.ocard { min-height: 420px; }
.ocard__media { position: absolute; inset: 0; z-index: 0; }
.ocard__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--d-slow) var(--e-out);
}
.ocard:hover .ocard__media img { transform: scale(1.045); }
/* Bottom-weighted so the copy stays legible while the top of the card still
   shows the photograph. A linear ramp over a short card buries the image. */
.ocard::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top,
    rgb(7 31 38 / 94%) 0%,
    rgb(7 31 38 / 86%) 38%,
    rgb(7 31 38 / 42%) 66%,
    rgb(7 31 38 / 14%) 100%);
}
/* the tall card has far more room, so it can carry a gentler ramp */
.offer__a.ocard::after {
  background: linear-gradient(to top,
    rgb(7 31 38 / 92%) 0%,
    rgb(7 31 38 / 72%) 30%,
    rgb(7 31 38 / 30%) 62%,
    rgb(7 31 38 / 10%) 100%);
}
.ocard > *:not(.ocard__media) { position: relative; z-index: 2; }
.ocard h3 { color: #FBFAF3; }
.ocard p { color: #CFD5D0; font-size: .94rem; margin: .5rem 0 0; max-width: 42ch; }
.ocard__go {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: var(--s-3);
  font-weight: 600; font-size: .95rem;
  color: var(--gold);
}
.ocard__go svg { transition: transform var(--d-mid) var(--e-out); }
.ocard:hover .ocard__go svg { transform: translateX(5px); }

/* ---------- 11. Packages (2 + 1 feature) --------------------------------- */

.pk { display: grid; gap: var(--s-3); }
@media (min-width: 820px) { .pk { grid-template-columns: 1fr 1fr; } }

.pkc {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
}
.band--tint .pkc { background: #FBFAF2; }
.pkc__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-2); }
.pkc__price { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.5rem); line-height: 1; }
.pkc__meta {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sage-dk);
  margin-top: .5rem;
}
.pkc ul { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: grid; gap: .55rem; }
.pkc li { display: flex; gap: .6rem; font-size: .94rem; line-height: 1.45; }
.pkc li svg { flex: none; margin-top: .3rem; color: var(--sage-dk); }
.pkc__foot { margin-top: auto; padding-top: var(--s-4); }

/* The wide feature package.
   Written as .pkc.pkf so it outranks `.band--tint .pkc`, which would
   otherwise repaint this card cream and leave its light text invisible. */
.pkc.pkf {
  grid-column: 1 / -1;
  display: grid;
  gap: 0;
  background: var(--deep);
  border-radius: var(--r-l);
  overflow: hidden;
  color: var(--on-deep-2);
  border: 0;
  padding: 0;
}
@media (min-width: 820px) { .pkf { grid-template-columns: 1.05fr 1fr; } }
.pkf__media { min-height: 240px; position: relative; }
.pkf__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pkf__body { padding: var(--s-4); display: flex; flex-direction: column; }
.pkf h3, .pkf .price, .pkf .price.pkc__price { color: var(--on-deep); }
.pkf li, .pkf p { color: var(--on-deep-2); }
.pkf li svg { color: var(--sage); }
.pkf .pkc__meta { color: var(--sage); }
.pkf__tag {
  position: absolute;
  top: var(--s-3); left: var(--s-3);
  background: var(--gold);
  color: #2A1C00;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: .35rem .7rem;
  border-radius: 999px;
  z-index: 2;
}

/* ---------- 12. Space cards (parties page) ------------------------------- */

.spaces { display: grid; gap: var(--s-5); }
.space {
  display: grid;
  gap: var(--s-4);
  align-items: center;
  scroll-margin-top: calc(var(--safe-t) + var(--header-h) + var(--s-4));
}
@media (min-width: 900px) {
  .space { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
  .space:nth-child(even) .space__media { order: 2; }
}
.space__media {
  border-radius: var(--r-l);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-2);
}
.space__media img { width: 100%; height: 100%; object-fit: cover; }
.space__n {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: .14em;
  color: var(--gold-ink);
  text-transform: uppercase;
}
/* gold-ink is a dark brown tuned for cream. On a deep band it needs the
   bright gold instead, or it drops to about 2:1. */
.band--deep .space__n { color: var(--gold); }
.space h3 { margin: .4rem 0 var(--s-2); }
.space__facts {
  list-style: none; padding: 0;
  margin: var(--s-3) 0 0;
  display: flex; flex-wrap: wrap; gap: .45rem;
}
.space__facts li {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .75rem;
  color: var(--ink-soft);
}
.band--deep .space__facts li { border-color: var(--line-deep); color: var(--on-deep-2); }

/* ---------- 13. The Corral mosaic ---------------------------------------- */

.zoo {
  display: grid;
  gap: var(--s-2);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px)  { .zoo { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .zoo { grid-template-columns: repeat(4, 1fr); } }

.animal {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--cream-2);
  isolation: isolate;
}
.animal--tall { grid-row: span 2; aspect-ratio: 1 / 2.06; }
@media (max-width: 699px) { .animal--tall { grid-row: span 1; aspect-ratio: 1; } }
.animal img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--d-slow) var(--e-out);
}
.animal:hover img { transform: scale(1.06); }
.animal figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--s-3) var(--s-2) var(--s-2);
  background: linear-gradient(to top, rgb(7 31 38 / 88%), transparent);
  color: #FBFAF3;
}
.animal__name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: 1.02rem;
  line-height: 1.1;
}
.animal__what {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #BDC6BE;
  margin-top: .2rem;
}

/* ---------- 14. Camp / session list -------------------------------------- */

.sess { list-style: none; margin: 0; padding: 0; }
.sess li {
  display: grid;
  gap: .3rem var(--s-3);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--line-deep);
  align-items: baseline;
}
.band--tint .sess li, .band:not(.band--deep) .sess li { border-top-color: var(--line); }
.sess li:last-child { border-bottom: 1px solid var(--line-deep); }
.band--tint .sess li:last-child, .band:not(.band--deep) .sess li:last-child { border-bottom-color: var(--line); }
@media (min-width: 720px) {
  .sess li { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: center; }
}
.sess__name { font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.band--deep .sess__name { color: var(--on-deep); }
.sess__when {
  font-family: var(--font-mono);
  font-size: var(--t-small);
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.band--deep .sess__when { color: var(--on-deep-2); }
.sess__price {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.band--deep .sess__price { color: var(--gold); }

/* ---------- 15. Rate table ----------------------------------------------- */

.rates { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rates caption { text-align: left; margin-bottom: var(--s-2); color: var(--ink-soft); font-size: var(--t-small); }
.rates th, .rates td { padding: .85rem .75rem; text-align: left; border-bottom: 1px solid var(--line); }
.rates thead th {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage-dk);
  font-weight: 500;
  border-bottom-width: 1.5px;
}
.rates th:first-child, .rates td:first-child { padding-left: 0; }
.rates td:not(:first-child) {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rates tbody th { font-weight: 600; color: var(--ink); }
.tablescroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tablescroll table { min-width: 460px; }

/* Rate tables on a deep band. Without this the row headers inherit --ink
   (near-black on near-black, about 1.1:1) and vanish entirely. */
.band--deep .rates { color: var(--on-deep-2); }
.band--deep .rates caption { color: var(--on-deep-2); }
.band--deep .rates th,
.band--deep .rates td { border-bottom-color: var(--line-deep); }
.band--deep .rates thead th { color: var(--sage); }
.band--deep .rates tbody th { color: var(--on-deep); }
.band--deep .rates td { color: var(--on-deep); }

/* ---------- 16. Tier cards (membership) ---------------------------------- */

.tiers { display: grid; gap: var(--s-3); }
@media (min-width: 780px)  { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier {
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: var(--s-4);
  background: #FBFAF2;
  display: flex; flex-direction: column;
}
.tier--feature { background: var(--deep); border-color: var(--deep); color: var(--on-deep-2); }
.tier--feature h3, .tier--feature .price { color: var(--on-deep); }
.tier--feature li svg { color: var(--sage); }
.tier--feature .pkc__meta { color: var(--sage); }
.tier ul { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: grid; gap: .5rem; }
.tier li { display: flex; gap: .55rem; font-size: .92rem; line-height: 1.45; }
.tier li svg { flex: none; margin-top: .28rem; color: var(--sage-dk); }
.tier__foot { margin-top: auto; padding-top: var(--s-4); }

/* ---------- 17. Prose blocks (policies, what to bring) ------------------- */

.cols2 { display: grid; gap: var(--s-4); }
@media (min-width: 860px) { .cols2 { grid-template-columns: 1fr 1fr; gap: var(--s-5); } }
.cols3 { display: grid; gap: var(--s-4); }
@media (min-width: 700px)  { .cols3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cols3 { grid-template-columns: repeat(3, 1fr); } }

.note {
  border-left: 2px solid var(--gold);
  padding-left: var(--s-3);
}
.note h4 { margin-bottom: .4rem; }
.note p { font-size: .95rem; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.checks li { display: flex; gap: .65rem; font-size: .96rem; line-height: 1.5; }
.checks li svg { flex: none; margin-top: .35rem; color: var(--sage-dk); }
.band--deep .checks li svg { color: var(--sage); }

/* schedule */
.sched { list-style: none; margin: 0; padding: 0; }
.sched li {
  display: grid;
  grid-template-columns: 6.6rem 1fr;
  gap: var(--s-2);
  padding: .55rem 0;
  border-bottom: 1px solid var(--line-2);
  font-size: .95rem;
}
.sched li:last-child { border-bottom: 0; }
.sched time {
  font-family: var(--font-mono);
  font-size: var(--t-small);
  color: var(--sage-dk);
  font-variant-numeric: tabular-nums;
}

/* ---------- 18. FAQ ------------------------------------------------------ */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-3) 2.5rem var(--s-3) 0;
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: var(--t-h4);
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: .35rem; top: 50%;
  width: 12px; height: 2px;
  background: var(--ink);
  transform: translateY(-50%);
}
.faq summary::before {
  content: "";
  position: absolute;
  right: .35rem; top: 50%;
  width: 12px; height: 2px;
  background: var(--ink);
  transform: translateY(-50%) rotate(90deg);
  transition: transform var(--d-mid) var(--e-out), opacity var(--d-mid) var(--e-out);
}
.faq details[open] summary::before { transform: translateY(-50%) rotate(0deg); opacity: 0; }
.faq details > div { padding: 0 0 var(--s-3); }
.faq p { font-size: .96rem; }

/* ---------- 19. Contact / visit ------------------------------------------ */

.vgrid { display: grid; gap: var(--s-5); }
@media (min-width: 940px) { .vgrid { grid-template-columns: 1fr 1fr; } }

.nap { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.nap li { display: grid; grid-template-columns: 1.9rem 1fr; gap: var(--s-2); align-items: start; }
.nap svg { color: var(--sage-dk); margin-top: .2rem; }
.band--deep .nap svg { color: var(--sage); }
.nap__k {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage-dk);
  display: block;
  margin-bottom: .18rem;
}
.band--deep .nap__k { color: var(--sage); }
.nap__v { color: var(--ink); font-weight: 500; }
.band--deep .nap__v { color: var(--on-deep); }
.nap a { color: inherit; }
a.nap__v { display: inline-block; padding-block: .28rem; }

.hours { list-style: none; margin: 0; padding: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: var(--s-3);
  padding: .5rem 0;
  border-bottom: 1px solid var(--line-2);
  font-size: .95rem;
}
.band--deep .hours li { border-bottom-color: var(--line-deep); }
.hours li:last-child { border-bottom: 0; }
.hours time, .hours span:last-child {
  font-family: var(--font-mono);
  font-size: var(--t-small);
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}
.band--deep .hours span:last-child { color: var(--on-deep-2); }
.hours li.is-today { font-weight: 600; }
.hours li.is-today span:last-child { color: var(--gold-ink); }
.band--deep .hours li.is-today span:last-child { color: var(--gold); }

.dirs { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.dirs li { padding: .7rem 0; border-bottom: 1px solid var(--line-2); font-size: .94rem; }
.band--deep .dirs li { border-bottom-color: var(--line-deep); }
.dirs strong { color: var(--ink); display: block; font-size: .95rem; }
.band--deep .dirs strong { color: var(--on-deep); }

.mapembed {
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--cream-2);
}
.mapembed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- 20. Form ----------------------------------------------------- */

.form { display: grid; gap: var(--s-3); }
.field { display: grid; gap: .4rem; }
.field label {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage-dk);
  font-weight: 500;
}
.band--deep .field label { color: var(--sage); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #FBFAF2;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: .8rem .9rem;
  min-height: 48px;
  width: 100%;
  transition: border-color var(--d-micro) var(--e-out), box-shadow var(--d-micro) var(--e-out);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgb(232 163 23 / 22%);
}
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: #A33418; }
.field__err { font-size: var(--t-small); color: #A33418; display: none; }
.field.is-bad .field__err { display: block; }
.form__row { display: grid; gap: var(--s-3); }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: var(--t-small); color: var(--ink-soft); }

.formok {
  display: none;
  border: 1px solid var(--sage-dk);
  background: rgb(169 192 124 / 16%);
  border-radius: var(--r);
  padding: var(--s-4);
}
.formok h3 { margin-bottom: .5rem; }
.form.is-sent { display: none; }
.formok.is-shown { display: block; }

/* ---------- 21. CTA band ------------------------------------------------- */

.cta {
  position: relative;
  isolation: isolate;
  text-align: left;
  overflow: hidden;
}
.cta__media { position: absolute; inset: 0; z-index: 0; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.cta__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgb(7 31 38 / 94%) 12%, rgb(7 31 38 / 76%) 58%, rgb(7 31 38 / 48%) 100%);
}
.cta > .wrap { position: relative; z-index: 2; }
.cta h2 { color: #FBFAF3; max-width: 18ch; }
.cta .lead { color: #D2D7D1; }
.cta__row { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }

/* ---------- 22. Footer --------------------------------------------------- */

.ft {
  background: var(--deep-2);
  color: var(--on-deep-2);
  padding-top: var(--band);
  padding-bottom: calc(var(--safe-b) + var(--s-4));
}
.ft__crest {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: var(--s-2);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line-deep);
}
.ft__crest svg { width: 56px; height: 56px; color: var(--sage); }
.ft__crest .brand__name { color: var(--on-deep); font-size: 1.5rem; }
.ft__crest .brand__sub { color: var(--on-deep-2); }
.ft__grid {
  display: grid;
  gap: var(--s-4);
  padding-block: var(--s-5);
}
@media (min-width: 720px)  { .ft__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ft__grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: var(--s-5); } }
.ft h4 {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: var(--s-2);
}
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
/* inline-block + vertical padding lifts these past the 24px minimum target
   size without the halos of adjacent links overlapping each other */
.ft a {
  color: var(--on-deep-2);
  text-decoration: none;
  font-size: .95rem;
  display: inline-block;
  padding-block: .32rem;
}
.ft a:hover { color: var(--on-deep); text-decoration: underline; }
.ft__legal {
  border-top: 1px solid var(--line-deep);
  padding-top: var(--s-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  justify-content: space-between;
  font-size: var(--t-small);
  color: #7C8B8C;
}
.ft__legal p { margin: 0; max-width: none; }

/* ---------- 23. Reveal (gated on .js so nothing hides without script) ---- */

.js .rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--d-slow) var(--e-out), transform var(--d-slow) var(--e-out);
}
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-2 { transition-delay: 70ms; }
.js .rv-3 { transition-delay: 140ms; }
.js .rv-4 { transition-delay: 210ms; }
.js .rv-5 { transition-delay: 280ms; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; }
}

/* ---------- 24. Utility -------------------------------------------------- */

.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.center-x { display: flex; justify-content: center; }
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
main { position: relative; z-index: 2; }
