/* =========================================================
   V11 — vector wave transitions + deliberate mobile layout.
   Mobile is composed independently rather than shrinking desktop.
   ========================================================= */
:root{--v11-blue:#4d5dfa;--v11-green:#29a71a;--v11-paper:#f6f7fb;--v11-ink:#111318}

/* Crisp, full-width vector waves — no raster scaling or square edges. */
.wave-band{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  margin:0!important;
  background:var(--band-color)!important;
  padding-top:148px!important;
  padding-bottom:148px!important;
}
.wave-band--blue{--band-color:var(--v11-blue)}
.wave-band--green{--band-color:var(--v11-green)}
.wave-band::before,.wave-band::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:-1px!important;
  width:calc(100% + 2px)!important;
  height:122px!important;
  z-index:1!important;
  pointer-events:none!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:100% 100%!important;
  -webkit-mask:none!important;
  mask:none!important;
}
.wave-band::before{
  top:-1px!important;
  bottom:auto!important;
  transform:none!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath fill='%23f6f7fb' d='M0 0H1440V40C1195 145 955 18 716 84C470 153 238 18 0 102V0Z'/%3E%3C/svg%3E")!important;
}
.wave-band::after{
  top:auto!important;
  bottom:-1px!important;
  transform:none!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath fill='%23f6f7fb' d='M0 55C220 145 470 24 720 91C985 162 1210 28 1440 86V160H0V55Z'/%3E%3C/svg%3E")!important;
}
.wave-band--green::after{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 55C220 145 470 24 720 91C985 162 1210 28 1440 86V160H0V55Z'/%3E%3C/svg%3E")!important;
}
.wave-band>.container{position:relative!important;z-index:2!important}

/* Parents' documents are the primary action. */
.parents-card--documents{
  border-width:5px!important;
  background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,var(--v11-blue),var(--v11-green)) border-box!important;
  box-shadow:0 20px 50px rgba(38,52,122,.18)!important;
}

@media (max-width:780px){
  html,body{max-width:100%;overflow-x:hidden}
  body{font-size:14px;background:var(--v11-paper)}
  .container{width:calc(100% - 24px)!important;max-width:560px!important;margin-inline:auto!important}
  .page-dots-nav{display:none!important}

  /* Header and mobile drawer */
  .site-header{height:62px!important;padding:7px 0!important;background:rgba(255,255,255,.96)!important;box-shadow:0 7px 22px rgba(18,28,74,.12)!important}
  .header-inner{height:48px!important;min-height:48px!important}
  .brand img{width:92px!important;height:auto!important}
  .menu-toggle{width:42px!important;height:42px!important;border-radius:15px!important;background:#fff!important;box-shadow:0 7px 18px rgba(27,38,91,.13)!important}
  .menu-toggle span,.menu-toggle span::before,.menu-toggle span::after{background:var(--v11-green)!important}
  .mobile-menu{width:min(88vw,330px)!important;padding:18px!important;background:#fff!important}
  .mobile-menu-head img{width:105px!important}
  .mobile-nav{gap:8px!important;margin-top:18px!important}
  .mobile-nav a{padding:13px 15px!important;border-radius:15px!important;color:#15171d!important;background:#f5f6fa!important;font-size:15px!important;font-weight:900!important}
  .mobile-nav a:nth-child(odd)[aria-current="page"],.mobile-nav a:nth-child(odd):hover{background:var(--v11-blue)!important;color:#fff!important}
  .mobile-nav a:nth-child(even)[aria-current="page"],.mobile-nav a:nth-child(even):hover{background:var(--v11-green)!important;color:#fff!important}

  /* Hero: compact, layered, no overlaps. */
  .ref-hero{min-height:690px!important;height:690px!important}
  .ref-hero::after{height:76px!important;bottom:-1px!important}
  .ref-hero__inner{display:block!important;min-height:690px!important;height:690px!important;padding:82px 12px 0!important}
  .ref-hero__copy{position:relative!important;z-index:8!important;max-width:460px!important;margin:0 auto!important;text-align:left!important}
  .ref-hero h1{font-size:clamp(29px,8.5vw,36px)!important;line-height:1.02!important;letter-spacing:-.035em!important}
  .ref-hero__copy h1 span{white-space:normal!important}
  .ref-hero p{max-width:420px!important;margin:15px 0 0!important;font-size:13.5px!important;line-height:1.48!important;text-align:left!important}
  .ref-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin-top:20px!important;justify-content:stretch!important}
  .ref-actions .ref-button{width:100%!important;min-width:0!important;min-height:44px!important;padding:10px 12px!important;font-size:13px!important}
  .hero-people{height:315px!important;bottom:0!important;overflow:hidden!important}
  .hero-people__halo{bottom:-76px!important;width:410px!important;max-width:none!important}
  .hero-person--one{--person-width:335px!important;--person-right:calc(50% - 167px)!important;--person-bottom:-35px!important}
  .hero-person--two{--person-width:350px!important;--person-right:calc(50% - 175px)!important;--person-bottom:-39px!important}
  .hero-person--three{--person-width:240px!important;--person-right:calc(50% - 120px)!important;--person-bottom:-39px!important}
  .hero-person--four{--person-width:300px!important;--person-right:calc(50% - 150px)!important;--person-bottom:-38px!important}
  .hero-people__dots,.hero-people__dots--edge{display:none!important}

  /* Shared section headings */
  .ref-surface{padding:44px 0!important}
  .ref-heading{margin-bottom:25px!important;text-align:center!important}
  .ref-heading__ghost{font-size:clamp(39px,12vw,52px)!important;line-height:.92!important}
  .ref-pill{min-height:32px!important;padding:6px 15px!important;font-size:12px!important}
  .ref-heading__note{max-width:330px!important;margin:11px auto 0!important;font-size:12.5px!important;line-height:1.45!important}
  .ref-orb{display:none!important}

  /* Welcome wheel becomes a clean card grid. */
  .ref-welcome{padding-top:38px!important;padding-bottom:28px!important}
  .ref-feature-wheel{display:grid!important;grid-template-columns:1fr 1fr!important;gap:11px!important;width:100%!important;height:auto!important;margin:18px auto 30px!important;padding-top:142px!important}
  .ref-feature-wheel__photo{top:0!important;width:132px!important;height:132px!important;border-width:4px!important}
  .ref-mini-card,.ref-mini-card--one,.ref-mini-card--two,.ref-mini-card--three,.ref-mini-card--four,.ref-mini-card--five{
    position:relative!important;inset:auto!important;width:auto!important;min-width:0!important;min-height:105px!important;margin:0!important;padding:26px 10px 14px!important;transform:none!important;text-align:center!important;border-radius:20px!important;
  }
  .ref-mini-card--five{grid-column:1/-1!important;width:calc(50% - 6px)!important;justify-self:center!important}
  .ref-mini-card img{width:44px!important;height:44px!important;margin:-49px auto 9px!important}
  .ref-mini-card h3{font-size:14px!important;line-height:1.12!important}
  .ref-mini-card p{margin-top:7px!important;font-size:11.5px!important;line-height:1.35!important}

  /* About and photo mosaic */
  .ref-large-card{border-radius:25px!important}
  .ref-about-card{display:block!important;margin-top:0!important;padding:18px!important}
  .ref-about-card__copy{padding:5px 3px 18px!important;text-align:left!important}
  .ref-about-card__copy h2{font-size:25px!important;line-height:1.05!important;text-align:left!important}
  .ref-about-card__copy p{font-size:12.5px!important;line-height:1.5!important}
  .ref-mosaic{display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:150px 120px 120px!important;gap:7px!important;border-width:5px!important;border-radius:21px!important}
  .ref-mosaic figure{grid-column:auto!important;grid-row:auto!important;min-height:0!important}
  .ref-mosaic__one{grid-column:1/-1!important}
  .ref-mosaic img{width:100%!important;height:100%!important;object-fit:cover!important}
  .ref-mosaic figcaption{font-size:11px!important;padding:6px 8px!important}

  /* Shifts compact enough for a phone. */
  .ref-shifts-card{margin-top:24px!important;padding:18px!important}
  .ref-card-title{margin-bottom:15px!important}
  .ref-card-title h2{font-size:25px!important}
  .ref-card-title strong{font-size:12px!important}
  .ref-card-title p{margin-top:10px!important;padding:10px!important;font-size:11px!important;line-height:1.35!important}
  .ref-shift-list{gap:10px!important}
  .ref-shift{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important;padding:14px 12px!important;border-radius:18px!important}
  .ref-shift h3{font-size:17px!important}
  .ref-shift p{font-size:11.5px!important}
  .status{font-size:9.5px!important;padding:5px 7px!important}
  .ref-shift__price{text-align:right!important}
  .ref-shift__price strong{font-size:18px!important;white-space:nowrap!important}
  .ref-shift__price del{font-size:11px!important}
  .shared-shifts .trip-primary-cta,.shared-shifts .home-shifts-cta{width:100%!important;min-width:0!important;max-width:300px!important;margin:22px auto 0!important;padding:14px 20px!important;font-size:15px!important}

  /* Camp moments: deliberate vertical story card. */
  .camp-moments{display:flex!important;flex-direction:column!important;gap:14px!important;margin:22px 0 0!important;padding:12px!important;border-radius:27px!important}
  .camp-moments__gallery{display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:225px 105px!important;gap:8px!important;min-height:0!important}
  .camp-moments__main{grid-column:1/-1!important;grid-row:1!important}
  .camp-moments__small{grid-row:2!important;min-height:0!important}
  .camp-moments__small--top{grid-column:1!important}.camp-moments__small--bottom{grid-column:2!important}
  .camp-moments__gallery figure{border-radius:19px!important}
  .camp-moments__gallery figcaption{font-size:10px!important;padding:9px!important}
  .camp-moments__main figcaption strong{font-size:14px!important}
  .camp-moments__copy{padding:15px 9px 9px!important}
  .camp-moments__eyebrow{font-size:10px!important;padding:6px 11px!important}
  .camp-moments__copy h2{margin-top:12px!important;font-size:24px!important;line-height:1.05!important}
  .camp-moments__copy p{font-size:12.5px!important;line-height:1.45!important}
  .camp-moments__points{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .camp-moments__points span{min-height:44px!important;padding:8px!important;font-size:11px!important}
  .camp-moments__link{width:100%!important;margin-top:14px!important}

  /* Mobile vector waves and program */
  .wave-band{padding-top:88px!important;padding-bottom:88px!important}
  .wave-band::before,.wave-band::after{height:72px!important}
  .wave-band .ref-heading{margin-bottom:22px!important}
  .wave-band .ref-heading__ghost{color:rgba(255,255,255,.68)!important}
  .wave-band .ref-heading__note{color:rgba(255,255,255,.95)!important}
  .ref-program-card{padding:9px!important;border-radius:24px!important}
  .ref-program-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;padding:7px!important;border-radius:18px!important}
  .ref-program-tab{min-height:42px!important;padding:8px 7px!important;font-size:10.5px!important;line-height:1.15!important;border-radius:13px!important}
  .ref-program-tab:last-child{grid-column:1/-1!important;width:50%!important;justify-self:center!important}
  .ref-program-stage{padding:7px!important;border-width:0!important;border-radius:20px!important}
  .ref-program-stage>img{height:265px!important;min-height:265px!important;border-radius:15px!important}
  .ref-program-stage__caption{right:12px!important;bottom:12px!important;left:12px!important;padding:13px 14px!important;border-radius:15px!important}
  .ref-program-stage__caption h3{font-size:17px!important}.ref-program-stage__caption p{font-size:11px!important;line-height:1.35!important}

  /* Benefits and extra comfort */
  .ref-benefits{padding-top:40px!important;padding-bottom:34px!important}
  .benefits-bento{grid-template-columns:1fr 1fr!important;gap:10px!important;width:100%!important}
  .benefit-tile,.benefit-tile:nth-child(n){min-height:138px!important;padding:15px 12px!important;transform:none!important;border-radius:20px!important}
  .benefit-tile__number{width:34px!important;height:34px!important;font-size:10px!important}
  .benefit-tile h3{font-size:15px!important}.benefit-tile p{font-size:10.5px!important;line-height:1.35!important}
  .ref-extra-card--v5{margin-top:22px!important;padding:18px!important;border-radius:24px!important}
  .ref-extra-card--v5 h2{font-size:23px!important}
  .ref-extra-card--v5 .ref-extra-grid{grid-template-columns:1fr!important;gap:10px!important}
  .ref-extra-card--v5 .ref-extra-grid section{padding:17px!important;border-radius:17px!important}
  .ref-extra-card--v5 .ref-extra-grid h3{font-size:15px!important}.ref-extra-card--v5 .ref-extra-grid ul{font-size:11px!important}

  /* Territory: use the clean desktop cards in a mobile grid; hide the old rail. */
  .ref-territory-card{padding:18px!important}
  .ref-territory-card>h2{font-size:23px!important;margin:12px 0 15px!important}
  .ref-map{padding:7px!important;border-radius:19px!important}.ref-map img{max-height:190px!important;object-fit:contain!important}
  .ref-territory-mobile{display:none!important}
  .ref-territory-desktop{display:block!important;padding-bottom:16px!important}
  .ref-territory-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important}
  .ref-territory-grid::before{display:none!important}
  .ref-territory-grid article,.ref-territory-grid article:nth-child(even){display:block!important;min-height:150px!important;padding:14px 10px!important;transform:none!important;text-align:center!important;border-radius:18px!important}
  .ref-territory-grid article img{width:42px!important;height:42px!important;margin:0 auto 8px!important}
  .ref-territory-grid article h3{font-size:14px!important}.ref-territory-grid article p{font-size:10.5px!important;line-height:1.35!important}
  .territory-community-v9{margin-top:20px!important;padding:11px!important;border-radius:24px!important}
  .territory-community-v9__head{padding:15px 10px 4px!important}
  .territory-community-v9__head h3{font-size:24px!important}.territory-community-v9__head p{font-size:12px!important}
  .territory-community-v9__gallery{grid-template-columns:1fr 1fr!important;grid-template-rows:230px 120px!important;gap:8px!important}
  .territory-community-v9__main{grid-column:1/-1!important;grid-row:1!important}
  .territory-community-v9__gallery figure:nth-child(2){grid-column:1!important;grid-row:2!important}
  .territory-community-v9__gallery figure:nth-child(3){grid-column:2!important;grid-row:2!important}
  .territory-community-v9__gallery figure{border-radius:17px!important}
  .territory-community-v9__amenities{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .territory-community-v9__amenities span{min-height:46px!important;padding:8px!important;font-size:10.5px!important;border-radius:14px!important}
  .territory-community-v9__cta{width:100%!important;max-width:280px!important;margin:8px auto 3px!important}

  /* Internal page rhythm and compact cards */
  body:not(:has(.reference-home)) .page-hero,.trip-body .page-hero,.archive-body .page-hero,.contacts-page .page-hero{padding:84px 0 16px!important}
  .page-heading .display-title,.display-title{font-size:clamp(42px,13vw,58px)!important;line-height:.92!important}
  .page-heading .eyebrow{font-size:11px!important;padding:7px 13px!important}
  .section{padding:38px 0!important}.section--compact{padding:30px 0!important}
  .trip-page .ref-shifts-card{margin-top:0!important}
  .discount-grid{gap:12px!important}.discount-card{grid-template-columns:78px 1fr!important;gap:14px!important;padding:15px!important;border-radius:20px!important}
  .discount-value{width:78px!important;height:78px!important;font-size:29px!important}
  .faq-section-v7 .section-display-title{font-size:34px!important;line-height:1!important;text-align:center!important}
  .faq-item{border-radius:18px!important}.faq-question{padding:16px!important;font-size:13px!important}.faq-icon{width:34px!important;height:34px!important}
  .archive-tools{gap:10px!important;margin-bottom:20px!important}.album-grid{gap:16px!important}.album-card{border-radius:20px!important}.album-cover{height:210px!important}
  .season-title{margin:24px 0 14px!important;font-size:35px!important}
  .contact-office-card,.contact-camp-card{grid-template-columns:1fr!important;padding:12px!important;border-radius:23px!important}
  .contact-map-wrap,.camp-map-wrap{min-height:250px!important}.contact-map{min-height:250px!important;height:250px!important}.contact-details,.office-details{padding:18px!important}
  .contact-social-card{grid-template-columns:1fr!important;padding:18px!important}.contact-social-links{grid-template-columns:1fr!important}

  /* Parents mobile */
  .parents-hero{padding:84px 0 22px!important}
  .parents-content{padding:18px 0 38px!important}
  .parents-columns{grid-template-columns:1fr!important;gap:16px!important}
  .parents-column{gap:16px!important}
  .parents-card{min-height:0!important;padding:18px!important;border-radius:23px!important}
  .parents-card h2{font-size:23px!important;margin-bottom:16px!important}.parents-card h3{font-size:14px!important}.parents-card p,.parents-card li{font-size:11.5px!important;line-height:1.42!important}
  .parents-card--documents{border-width:5px!important}
  .documents-download-panel{grid-template-columns:56px minmax(0,1fr)!important;gap:14px!important;padding:13px!important;text-align:left!important}
  .documents-download-panel__icon{width:56px!important;height:56px!important;margin:0!important}
  .documents-download-panel__button{width:100%!important;justify-content:center!important;padding:10px!important;font-size:11.5px!important}
  .documents-download-panel small{font-size:9.5px!important}
  .parents-certificates{padding:24px 0 44px!important}.parents-certificates__card{padding:18px!important}.parents-certificates__grid{grid-template-columns:1fr 1fr!important;gap:12px!important}

  /* Compact footer */
  .site-footer{padding-top:28px!important}
  .footer-main{grid-template-columns:1fr 1fr!important;gap:18px 14px!important;padding-bottom:20px!important}
  .footer-brand{grid-column:1/-1!important}.footer-brand img{width:115px!important}.footer-brand p{max-width:300px!important;font-size:11.5px!important}
  .footer-col h2{font-size:17px!important;margin-bottom:8px!important}.footer-col a,.footer-col p{font-size:10.5px!important;line-height:1.35!important}
  .footer-col:last-child{grid-column:1/-1!important}
  .footer-contact-icon{width:17px!important;height:17px!important;flex-basis:17px!important}
  .footer-bottom{padding:13px 0!important;font-size:9.5px!important}
  .floating-contact-shell .floating-contact{width:48px!important;height:48px!important;right:12px!important;bottom:12px!important}
  .floating-contact-shell .floating-contact img{width:32px!important;height:32px!important}
}

@media (max-width:380px){
  .container{width:calc(100% - 18px)!important}
  .ref-hero h1{font-size:28px!important}
  .ref-actions{grid-template-columns:1fr!important;gap:8px!important}
  .ref-hero{height:735px!important;min-height:735px!important}.ref-hero__inner{height:735px!important;min-height:735px!important}
  .hero-people{height:305px!important}
  .ref-feature-wheel,.benefits-bento,.ref-territory-grid{grid-template-columns:1fr!important}
  .ref-mini-card--five{grid-column:auto!important;width:100%!important}
  .ref-shift{grid-template-columns:1fr!important}.ref-shift__price{text-align:left!important}
  .ref-program-tabs{grid-template-columns:1fr!important}.ref-program-tab:last-child{grid-column:auto!important;width:100%!important}
  .territory-community-v9__amenities{grid-template-columns:1fr!important}
  .footer-main{grid-template-columns:1fr!important}.footer-brand,.footer-col:last-child{grid-column:auto!important}
}

/* Direct SVG edges guarantee a smooth full-width curve in every browser. */
.wave-band::before,.wave-band::after{display:none!important}
.wave-edge{position:absolute;left:0;width:100%;height:124px;z-index:1;display:block;pointer-events:none}
.wave-edge--top{top:-1px}
.wave-edge--bottom{bottom:-1px}
@media(max-width:780px){.wave-edge{height:74px}}
