/* =========================================================
   V6 — homepage refinement based on the original brandbook.
   ========================================================= */

html{scroll-behavior:smooth;scroll-padding-top:92px}

/* Alternating blue / green navigation accents. */
.desktop-nav a::after{height:3px}
.desktop-nav a:nth-child(odd)::after{background:var(--ref-blue)}
.desktop-nav a:nth-child(even)::after{background:var(--ref-green)}
.mobile-nav a:nth-child(odd)[aria-current="page"],.mobile-nav a:nth-child(odd):hover{color:var(--ref-blue)}
.mobile-nav a:nth-child(even)[aria-current="page"],.mobile-nav a:nth-child(even):hover{color:var(--ref-green)}

/* Hero: text on the left, animated transparent children on the right. */
.ref-hero{min-height:690px}
.ref-hero::before{background:linear-gradient(90deg,rgba(7,10,22,.82) 0%,rgba(7,10,22,.68) 43%,rgba(7,10,22,.38) 68%,rgba(7,10,22,.56) 100%)}
.ref-hero::after{z-index:4}
.ref-hero__inner{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(380px,.98fr);gap:26px;min-height:690px}
.ref-hero__copy{position:relative;z-index:6}
.hero-people{position:relative;z-index:3;align-self:stretch;min-width:0;pointer-events:none}
.hero-people__halo{position:absolute;right:-5%;bottom:24px;width:min(630px,112%);height:auto;opacity:.92;filter:drop-shadow(0 0 30px rgba(255,255,255,.16))}
.hero-people__stage{position:absolute;inset:0;overflow:visible}
.hero-person{--person-width:92%;--person-right:-1%;--person-bottom:2px;position:absolute;right:var(--person-right);bottom:var(--person-bottom);width:var(--person-width);max-width:none;height:auto;opacity:0;transform:translateY(14px) scale(.985);transform-origin:center bottom;filter:drop-shadow(0 18px 22px rgba(0,0,0,.25));transition:opacity 1.15s ease,transform 1.15s ease;will-change:opacity,transform}
.hero-person.is-active{opacity:1;transform:translateY(0) scale(1)}
.hero-person--one{--person-width:100%;--person-right:-5%;--person-bottom:8px}
.hero-person--two{--person-width:105%;--person-right:-7%;--person-bottom:2px}
.hero-person--three{--person-width:72%;--person-right:10%;--person-bottom:0px}
.hero-person--four{--person-width:94%;--person-right:-2%;--person-bottom:0px}
.hero-people__dots{position:absolute;right:8%;bottom:91px;z-index:8;display:flex;gap:7px}
.hero-people__dots span{width:8px;height:8px;border-radius:999px;background:rgba(255,255,255,.42);transition:width .3s ease,background .3s ease}
.hero-people__dots span.is-active{width:25px;background:#fff}

/* Full-wave section backgrounds. These are transparent PNG silhouettes,
   not rectangular fills, so the white page remains visible around the edges. */
.wave-band{position:relative;isolation:isolate;overflow:hidden;background:transparent!important;padding-top:165px!important;padding-bottom:165px!important}
.wave-band::before{content:"";position:absolute;inset:0;z-index:0;width:100%;height:100%;background-position:center;background-repeat:no-repeat;background-size:100% 100%;pointer-events:none}
.wave-band::after{display:none!important}
.wave-band--blue::before{background-image:url('../assets/images/hero/wave-blue.png')}
.wave-band--green::before{background-image:url('../assets/images/hero/wave-green.png')}
.wave-band>.container{position:relative;z-index:2}
.wave-band .ref-heading__ghost{color:rgba(255,255,255,.26)!important;text-shadow:0 1px 0 rgba(0,0,0,.03)}
.wave-band .ref-heading__note{color:#fff!important}
.wave-band .ref-heading__ghost,.wave-band .ref-heading__note{opacity:1}

/* Story block that replaces the obsolete external video. */
.camp-story-card{margin-top:42px}
.camp-story-stage{min-height:470px}
.camp-story-stage img{height:100%;min-height:470px;object-position:center}

/* Benefits: a deliberate 3 × 2 composition, no empty floating numbers. */
.benefits-bento{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;width:min(980px,100%)}
.benefit-tile,.benefit-tile:nth-child(n){grid-column:auto!important;min-height:176px}
.benefit-tile:nth-child(2),.benefit-tile:nth-child(5){transform:translateY(18px)}
.benefit-tile:hover{transform:translateY(-4px)}
.benefit-tile:nth-child(2):hover,.benefit-tile:nth-child(5):hover{transform:translateY(13px)}
.ref-extra-card--v5{margin-top:48px}

/* Territory ending: balanced text + amenities + two uncropped photos. */
.territory-showcase{display:grid;grid-template-columns:minmax(250px,.82fr) minmax(320px,1.08fr) minmax(280px,.96fr);gap:18px;margin-top:42px;padding:18px;border:1px solid rgba(77,93,250,.11);border-radius:32px;background:linear-gradient(135deg,#f8f9ff 0%,#f4fbf2 100%);box-shadow:0 16px 36px rgba(18,31,87,.12)}
.territory-showcase__copy{display:flex;flex-direction:column;justify-content:center;padding:30px 26px;border-radius:24px;background:#fff}
.territory-showcase__eyebrow{display:inline-flex;align-self:flex-start;padding:8px 16px;border-radius:999px;color:#fff;background:var(--ref-green);font-size:12px;font-weight:900}
.territory-showcase__copy h3{margin:18px 0 0;font-size:clamp(25px,2.35vw,34px);font-weight:900;line-height:1.08}
.territory-showcase__copy p{margin:16px 0 0;font-size:14px;font-weight:600;line-height:1.55}
.territory-showcase__copy strong{margin-top:24px;color:var(--ref-blue);font-size:16px;font-weight:900;line-height:1.32}
.territory-showcase__amenities{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-content:center}
.territory-showcase__amenities span{display:flex;min-width:0;min-height:74px;align-items:center;gap:12px;padding:13px 15px;border-radius:19px;background:#fff;box-shadow:0 8px 21px rgba(23,35,89,.09);font-size:13px;font-weight:900;line-height:1.25}
.territory-showcase__amenities b{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border-radius:11px;color:#fff;background:var(--ref-blue);font-size:11px;font-weight:900}
.territory-showcase__amenities span:nth-child(even) b{background:var(--ref-green)}
.territory-showcase__visual{display:grid;grid-template-rows:1.25fr .75fr;gap:12px;min-height:420px}
.territory-showcase__photo{position:relative;min-width:0;margin:0;overflow:hidden;border-radius:23px;background:#dfe5ff;box-shadow:0 10px 24px rgba(21,32,82,.12)}
.territory-showcase__photo img{display:block;width:100%;height:100%;object-fit:cover}
.territory-showcase__photo--main img{object-position:center 43%}
.territory-showcase__photo--small img{object-position:center 35%}
.territory-showcase__photo::after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(to top,rgba(10,15,47,.78),transparent)}
.territory-showcase__photo figcaption{position:absolute;right:16px;bottom:14px;left:16px;z-index:2;color:#fff;font-size:14px;font-weight:900;line-height:1.25}

/* Compact fixed anchor navigation for the homepage. */
.page-dots-nav{position:fixed;top:50%;right:18px;z-index:40;display:flex;flex-direction:column;gap:9px;transform:translateY(-50%)}
.page-dots-nav a{position:relative;display:flex;width:18px;height:34px;align-items:center;justify-content:center;border-radius:999px;background:rgba(255,255,255,.84);box-shadow:0 5px 17px rgba(18,28,74,.18);backdrop-filter:blur(10px)}
.page-dots-nav i{display:block;width:6px;height:18px;border-radius:999px;background:#cfd3df;transition:height .25s ease,background .25s ease,transform .25s ease}
.page-dots-nav a:nth-child(odd):hover i,.page-dots-nav a:nth-child(odd).is-active i{height:25px;background:var(--ref-blue)}
.page-dots-nav a:nth-child(even):hover i,.page-dots-nav a:nth-child(even).is-active i{height:25px;background:var(--ref-green)}
.page-dots-nav span{position:absolute;right:30px;top:50%;width:max-content;padding:7px 11px;border-radius:10px;color:#fff;background:#111827;font-size:11px;font-style:normal;font-weight:800;opacity:0;transform:translate(8px,-50%);pointer-events:none;transition:opacity .18s ease,transform .18s ease}
.page-dots-nav span::after{content:"";position:absolute;top:50%;right:-5px;width:10px;height:10px;background:#111827;transform:translateY(-50%) rotate(45deg)}
.page-dots-nav a:hover span,.page-dots-nav a:focus-visible span{opacity:1;transform:translate(0,-50%)}

@media (max-width:1180px){
  .page-dots-nav{display:none}
  .ref-hero__inner{grid-template-columns:minmax(0,1fr) minmax(330px,.82fr)}
  .hero-person--one{--person-width:112%;--person-right:-13%}
  .hero-person--two{--person-width:116%;--person-right:-15%}
  .hero-person--three{--person-width:81%;--person-right:4%}
  .hero-person--four{--person-width:104%;--person-right:-8%}
  .territory-showcase{grid-template-columns:1fr 1.25fr}
  .territory-showcase__visual{grid-column:1/-1;grid-template-columns:1.25fr .75fr;grid-template-rows:300px;min-height:0}
}

@media (max-width:900px){
  .ref-hero{min-height:700px}
  .ref-hero__inner{grid-template-columns:1fr 330px;min-height:700px;gap:10px}
  .ref-hero__copy{text-align:left}
  .ref-hero h1{font-size:40px}
  .ref-hero p{font-size:16px}
  .hero-people__halo{right:-20%;width:140%}
  .benefits-bento{grid-template-columns:repeat(2,minmax(0,1fr))}
  .benefit-tile:nth-child(2),.benefit-tile:nth-child(5){transform:none}
}

@media (max-width:780px){
  .ref-hero{min-height:780px;background-position:center}
  .ref-hero::before{background:linear-gradient(to bottom,rgba(7,10,22,.78) 0%,rgba(7,10,22,.65) 53%,rgba(7,10,22,.5) 100%)}
  .ref-hero__inner{display:flex;min-height:780px;align-items:flex-start;justify-content:flex-start;padding-top:108px;padding-bottom:0}
  .ref-hero__copy{z-index:7;max-width:100%;text-align:center}
  .ref-hero h1{font-size:35px}
  .ref-hero p{max-width:560px;margin-inline:auto;font-size:15px}
  .ref-actions{justify-content:center}
  .hero-people{position:absolute;right:0;bottom:0;left:0;z-index:3;height:400px}
  .hero-people__halo{right:50%;bottom:-20px;width:520px;transform:translateX(50%)}
  .hero-person--one{--person-width:430px;--person-right:calc(50% - 215px);--person-bottom:-2px}
  .hero-person--two{--person-width:455px;--person-right:calc(50% - 228px);--person-bottom:-4px}
  .hero-person--three{--person-width:305px;--person-right:calc(50% - 153px);--person-bottom:-6px}
  .hero-person--four{--person-width:390px;--person-right:calc(50% - 195px);--person-bottom:-5px}
  .hero-people__dots{right:50%;bottom:77px;transform:translateX(50%)}
  .wave-band{padding-top:126px!important;padding-bottom:126px!important}
  .camp-story-stage{min-height:350px}
  .camp-story-stage img{min-height:350px}
  .benefits-bento{grid-template-columns:1fr 1fr}
  .territory-showcase{grid-template-columns:1fr;padding:12px;border-radius:26px}
  .territory-showcase__copy{padding:25px 20px}
  .territory-showcase__amenities{grid-template-columns:1fr 1fr}
  .territory-showcase__visual{grid-column:auto;grid-template-columns:1.18fr .82fr;grid-template-rows:250px}
}

@media (max-width:520px){
  .ref-hero{min-height:750px}
  .ref-hero__inner{min-height:750px;padding-top:96px}
  .ref-hero h1{font-size:30px}
  .ref-hero p{font-size:14px}
  .hero-people{height:370px}
  .hero-people__halo{width:440px}
  .hero-person--one{--person-width:370px;--person-right:calc(50% - 185px)}
  .hero-person--two{--person-width:390px;--person-right:calc(50% - 195px)}
  .hero-person--three{--person-width:270px;--person-right:calc(50% - 135px)}
  .hero-person--four{--person-width:340px;--person-right:calc(50% - 170px)}
  .wave-band{padding-top:105px!important;padding-bottom:105px!important}
  .benefits-bento{grid-template-columns:1fr}
  .territory-showcase__amenities{grid-template-columns:1fr}
  .territory-showcase__visual{grid-template-columns:1fr;grid-template-rows:235px 180px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .hero-person{transition:none}
}
.wave-band::before{-webkit-mask:none!important;mask:none!important;transform:none!important;left:0!important;right:0!important;top:0!important;bottom:0!important}
