/* School Adventure Retreats — scoped stylesheet.
   Every selector prefixed with body.cr-school-retreats.
   Dropped: :root tokens (theme provides), global reset (*,html,body,h*,p,img,a),
            .sr-only, :focus-visible global, .sar-hd* header chrome, .sar-lang,
            .news* newsletter band, .foot* footer rules.
   Literal hex #f4eee3 used for the d2-tracks warm band (not in tokens).
   day-rows: opacity:1 base (never gated). */

/* ============ BUTTONS ============ */
body.cr-school-retreats .btn {
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  font-size: clamp(.92rem, 1.1vw, 1.02rem); display: inline-flex; align-items: center; gap: .55em;
  padding: .95em 1.7em; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap; line-height: 1;
  transition: transform .25s cubic-bezier(.22,1,.36,1), background .25s, color .25s, box-shadow .25s;
}
body.cr-school-retreats .btn--primary { background: #ffde01; color: #0a0a0a; }
body.cr-school-retreats .btn--primary:hover {
  background: #0a0a0a; color: #ffde01; transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.5);
}
body.cr-school-retreats .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
body.cr-school-retreats .btn--ghost:hover { background: #fff; color: #0a0a0a; transform: translateY(-2px); }
body.cr-school-retreats .btn--lg { padding: 1.1em 2em; font-size: clamp(1rem, 1.3vw, 1.15rem); }
body.cr-school-retreats .arr { transition: transform .25s; }
body.cr-school-retreats .btn:hover .arr { transform: translateX(5px); }

/* ============ HERO ============ */
body.cr-school-retreats .hero {
  position: relative; min-height: calc(100vh - 80px); min-height: calc(100dvh - 80px);
  display: flex; align-items: flex-end; overflow: hidden; background: #141414;
}
body.cr-school-retreats .hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
body.cr-school-retreats .hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,.30) 0%, rgba(10,10,10,.34) 38%, rgba(10,10,10,.82) 100%);
}
body.cr-school-retreats .hero__inner {
  position: relative; z-index: 2; width: 100%; max-width: 1280px;
  margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 4rem);
  padding-block: 0 clamp(2.5rem, 6vw, 5rem);
}
body.cr-school-retreats .hero__eyebrow {
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  font-size: .82rem; color: #ffde01; display: inline-block; margin-bottom: .9rem;
}
body.cr-school-retreats .hero h1 {
  color: #fff; font-weight: 800; line-height: .92; text-transform: uppercase;
  font-size: clamp(2.7rem, 7.6vw, 6.2rem); max-width: 15ch; letter-spacing: -.02em;
  text-shadow: 0 2px 18px rgba(0,0,0,.6);
}
body.cr-school-retreats .hero h1 em { font-style: normal; color: #ffde01; }
body.cr-school-retreats .hero__sub {
  color: #f2f2f2; font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.6;
  max-width: 58ch; margin-top: 1.2rem; text-shadow: 0 1px 14px rgba(0,0,0,.7);
}
body.cr-school-retreats .hero__cta { margin-top: 2.1rem; display: flex; gap: 1rem; flex-wrap: wrap; }
body.cr-school-retreats .hero__meta {
  display: flex; gap: 0; margin-top: 2.6rem; flex-wrap: wrap;
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  text-transform: uppercase; color: #fff;
  border-top: 1px solid rgba(255,255,255,.22); padding-top: 1.2rem;
}
body.cr-school-retreats .hero__meta div {
  padding-right: 1.6rem; margin-right: 1.6rem; border-right: 1px solid rgba(255,255,255,.22);
}
body.cr-school-retreats .hero__meta div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
body.cr-school-retreats .hero__meta b {
  display: block; font-size: clamp(1.2rem, 1.8vw, 1.55rem); font-weight: 800; line-height: 1; color: #ffde01;
}
body.cr-school-retreats .hero__meta span { font-size: .74rem; letter-spacing: .08em; opacity: .92; }

/* ============ STICKY CTA BAR ============ */
body.cr-school-retreats .stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: #ffde01; color: #0a0a0a; border-top: 2px solid #e6c400;
  transform: translateY(110%); transition: transform .4s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 -10px 30px -14px rgba(0,0,0,.4);
}
body.cr-school-retreats .stickybar.is-on { transform: translateY(0); }
body.cr-school-retreats .stickybar__in {
  max-width: 1280px; margin-inline: auto; padding: .7rem clamp(1.25rem, 5vw, 4rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
body.cr-school-retreats .stickybar__txt {
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .02em; font-size: clamp(.9rem, 1.4vw, 1.1rem); line-height: 1.05;
}
body.cr-school-retreats .stickybar__txt span {
  display: block;
  font-family: var(--font-body, 'Manrope', system-ui, sans-serif);
  font-weight: 600; text-transform: none;
  letter-spacing: 0; font-size: .78rem; opacity: .78;
}
body.cr-school-retreats .stickybar__cta {
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  font-size: clamp(.85rem, 1.2vw, 1rem); background: #0a0a0a; color: #ffde01;
  padding: .85em 1.5em; border-radius: 999px; text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: .5em; transition: transform .2s, box-shadow .2s;
}
body.cr-school-retreats .stickybar__cta:hover {
  transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(0,0,0,.6);
}
body.cr-school-retreats .stickybar__cta .arr { transition: transform .2s; }
body.cr-school-retreats .stickybar__cta:hover .arr { transform: translateX(4px); }

/* ============ SECTION SCAFFOLD ============ */
body.cr-school-retreats section { position: relative; }
body.cr-school-retreats .band { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
body.cr-school-retreats .band--dark { background: #0a0a0a; color: #fff; }
body.cr-school-retreats .band--warm { background: #faf6f0; }
body.cr-school-retreats .band--warm2 { background: #faf7f2; }
body.cr-school-retreats .band--pale { background: #fff7c8; }
body.cr-school-retreats .wrap { max-width: 1280px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 4rem); }
body.cr-school-retreats .sechead { max-width: 60ch; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
body.cr-school-retreats .sechead h2 {
  font-weight: 800; text-transform: uppercase; line-height: .95;
  font-size: clamp(2.1rem, 5.2vw, 3.8rem);
}
body.cr-school-retreats .band--dark .sechead h2 { color: #fff; }
body.cr-school-retreats .sechead h2 em { font-style: normal; color: #b45309; }
body.cr-school-retreats .band--dark .sechead h2 em { color: #ffde01; }
body.cr-school-retreats .sechead p {
  color: #3a3a3a; font-size: clamp(1.05rem, 1.4vw, 1.2rem); margin-top: .9rem; max-width: 58ch;
}
body.cr-school-retreats .band--dark .sechead p { color: rgba(255,255,255,.78); }
body.cr-school-retreats .sechead .rule {
  display: block; width: 72px; height: 6px; border-radius: 3px; background: #b45309; margin-top: 1.2rem;
}

/* ============ WHY (value points) ============ */
body.cr-school-retreats .why__grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(1rem, 2.4vw, 1.6rem);
}
body.cr-school-retreats .why__lead {
  grid-column: 1 / -1; max-width: 64ch; color: #3a3a3a;
  font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.7; margin-bottom: .6rem;
}
body.cr-school-retreats .why__lead strong { color: #0a0a0a; }
body.cr-school-retreats .vpoint {
  background: #fff; border: 1px solid #e7e0d4; border-radius: 16px;
  padding: clamp(1.4rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: .5rem;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
body.cr-school-retreats .vpoint:hover {
  transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(10,10,10,.35);
}
body.cr-school-retreats .vpoint h3 {
  font-weight: 800; text-transform: uppercase; font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1;
}
body.cr-school-retreats .vpoint h3 .k { color: #b45309; }
body.cr-school-retreats .vpoint p { color: #3a3a3a; font-size: 1rem; line-height: 1.6; }

/* ============ AGE TRACKS ============ */
body.cr-school-retreats .tracks {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.8rem);
}
body.cr-school-retreats .track {
  position: relative; border-radius: 20px; overflow: hidden;
  min-height: clamp(420px, 46vw, 560px);
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate;
}
body.cr-school-retreats .track__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
body.cr-school-retreats .track:hover .track__img { transform: scale(1.06); }
body.cr-school-retreats .track::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,.15) 0%, rgba(10,10,10,.5) 50%, rgba(10,10,10,.9) 100%);
}
body.cr-school-retreats .track__body { position: relative; z-index: 2; padding: clamp(1.5rem, 3vw, 2.4rem); }
body.cr-school-retreats .track__tag {
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  font-size: .78rem; color: #0a0a0a; background: #ffde01; padding: .4em .8em; border-radius: 999px;
  display: inline-block; margin-bottom: .9rem;
}
body.cr-school-retreats .track h3 {
  font-weight: 800; text-transform: uppercase; line-height: .92;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: #fff;
}
body.cr-school-retreats .track__focus {
  margin-top: .7rem; font-size: 1.02rem; color: #f0f0f0; line-height: 1.55; max-width: 42ch;
}
body.cr-school-retreats .track__list {
  list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem;
}
body.cr-school-retreats .track__list li {
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  font-size: .74rem; color: #fff; border: 1px solid rgba(255,255,255,.45);
  padding: .4em .8em; border-radius: 999px;
}
body.cr-school-retreats .track__intensity {
  margin-top: 1.1rem; display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  text-transform: uppercase; font-size: .74rem; letter-spacing: .06em; color: #f0f0f0;
}
body.cr-school-retreats .track__dots { display: flex; gap: .3rem; }
body.cr-school-retreats .track__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); }
body.cr-school-retreats .track__dots i.on { background: #ffde01; }

/* ============ THE 3 DAYS ============ */
body.cr-school-retreats .days { display: flex; flex-direction: column; gap: clamp(1.2rem, 3vw, 2rem); }
body.cr-school-retreats .day {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.2rem, 3vw, 2.5rem);
  align-items: center; background: #161616; border-radius: 20px; overflow: hidden;
}
body.cr-school-retreats .day:nth-child(even) { grid-template-columns: .95fr 1.05fr; }
body.cr-school-retreats .day:nth-child(even) .day__media { order: 2; }
body.cr-school-retreats .day:nth-child(even) .day__body { order: 1; }
body.cr-school-retreats .day__media {
  position: relative; align-self: stretch; min-height: clamp(240px, 28vw, 360px);
}
body.cr-school-retreats .day__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
body.cr-school-retreats .day__body { padding: clamp(1.6rem, 3vw, 2.6rem); color: #fff; }
body.cr-school-retreats .day__n {
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem); line-height: .8;
  color: #ffde01; display: block;
}
body.cr-school-retreats .day__n small {
  display: block; font-size: .8rem; letter-spacing: .18em; color: rgba(255,255,255,.6); margin-top: .4rem;
}
body.cr-school-retreats .day h3 {
  font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1; margin-top: .9rem; color: #fff;
}
body.cr-school-retreats .day__acts {
  list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-direction: column; gap: .55rem;
}
body.cr-school-retreats .day__acts li {
  padding-left: 1.4rem; position: relative; color: rgba(255,255,255,.85);
  font-size: 1.02rem; line-height: 1.5;
}
body.cr-school-retreats .day__acts li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px;
  background: #ffde01; border-radius: 2px; transform: rotate(45deg);
}
body.cr-school-retreats .included {
  margin-top: clamp(1.5rem, 3vw, 2.4rem); background: #161616; border: 1px solid #262626;
  border-radius: 18px; padding: clamp(1.5rem, 3vw, 2.2rem);
}
body.cr-school-retreats .included h3 {
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 800; text-transform: uppercase; color: #fff;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem); margin-bottom: 1rem;
}
body.cr-school-retreats .included ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5,1fr); gap: .8rem;
}
body.cr-school-retreats .included li { display: flex; align-items: center; gap: .6rem; color: #fff; font-size: .95rem; }
body.cr-school-retreats .included li svg { flex: 0 0 auto; color: #ffde01; }

/* ============ ACTIVITIES MOMENTUM STRIP (SIGNATURE) ============ */
body.cr-school-retreats .strip { padding: 0; background: #0a0a0a; overflow: hidden; }
body.cr-school-retreats .strip__head {
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 5vw, 4rem) clamp(1.6rem, 3vw, 2.4rem);
  max-width: 1280px; margin-inline: auto;
}
body.cr-school-retreats .strip__head h2 {
  color: #fff; font-weight: 800; text-transform: uppercase; line-height: .92;
  font-size: clamp(2.1rem, 5.4vw, 4rem);
}
body.cr-school-retreats .strip__head h2 em { font-style: normal; color: #ffde01; }
body.cr-school-retreats .strip__head p {
  color: rgba(255,255,255,.78); margin-top: .8rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 56ch;
}
body.cr-school-retreats .strip__lanes {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 4px; background: #0a0a0a;
}
body.cr-school-retreats .lane {
  position: relative; min-height: clamp(360px, 52vw, 620px); overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end; text-decoration: none; color: #fff;
}
body.cr-school-retreats .lane__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  transform: scale(1.02); transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s;
  filter: saturate(.92) brightness(.82);
}
body.cr-school-retreats .lane::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,.05) 0%, rgba(10,10,10,.25) 45%, rgba(10,10,10,.88) 100%);
  transition: background .5s;
}
body.cr-school-retreats .lane:hover .lane__img,
body.cr-school-retreats .lane:focus-visible .lane__img {
  transform: scale(1.12); filter: saturate(1.05) brightness(.92);
}
body.cr-school-retreats .lane:hover::after,
body.cr-school-retreats .lane:focus-visible::after {
  background: linear-gradient(180deg, rgba(10,10,10,.05) 0%, rgba(10,10,10,.2) 40%, rgba(10,10,10,.78) 100%);
}
body.cr-school-retreats .lane__body {
  position: relative; z-index: 2; padding: clamp(1.1rem, 2vw, 1.8rem); width: 100%;
}
body.cr-school-retreats .lane__label {
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 800; text-transform: uppercase; line-height: .85;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem); letter-spacing: -.01em; display: block;
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
  transform: translateY(0); transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
body.cr-school-retreats .lane__line {
  display: block; overflow: hidden; max-height: 0; opacity: 0;
  transition: max-height .45s cubic-bezier(.2,.7,.2,1), opacity .35s, margin .45s;
  font-family: var(--font-body, 'Manrope', system-ui, sans-serif);
  font-size: .94rem; line-height: 1.4; color: #f0f0f0; margin-top: 0;
}
body.cr-school-retreats .lane:hover .lane__label,
body.cr-school-retreats .lane:focus-visible .lane__label { transform: translateY(-2px); }
body.cr-school-retreats .lane:hover .lane__line,
body.cr-school-retreats .lane:focus-visible .lane__line { max-height: 5em; opacity: 1; margin-top: .6rem; }
body.cr-school-retreats .lane__num {
  position: absolute; top: 1rem; right: 1.1rem; z-index: 2;
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 800; font-size: .9rem; letter-spacing: .1em; color: #ffde01; opacity: .9;
}

/* ============ SAFETY & TRUST ============ */
body.cr-school-retreats .safety__grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
}
body.cr-school-retreats .facts {
  display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(.8rem, 1.6vw, 1.1rem); margin-top: .4rem;
}
body.cr-school-retreats .fact {
  background: #fff; border: 1px solid #e7e0d4; border-radius: 14px;
  padding: clamp(1.1rem, 2vw, 1.5rem); display: flex; flex-direction: column; gap: .3rem;
}
body.cr-school-retreats .fact b {
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 800; text-transform: uppercase; line-height: .95;
  font-size: clamp(1.5rem, 2.4vw, 2rem); color: #0a0a0a;
}
body.cr-school-retreats .fact b .u { color: #b45309; }
body.cr-school-retreats .fact span { font-size: .92rem; color: #3a3a3a; line-height: 1.4; }
body.cr-school-retreats .quote {
  background: #0a0a0a; color: #fff; border-radius: 20px; overflow: hidden; align-self: stretch;
}
body.cr-school-retreats .quote__img { width: 100%; height: clamp(180px, 22vw, 240px); object-fit: cover; }
body.cr-school-retreats .quote__body { padding: clamp(1.5rem, 3vw, 2.2rem); }
body.cr-school-retreats .quote blockquote {
  margin: 0;
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 700; text-transform: uppercase;
  line-height: 1.05; font-size: clamp(1.25rem, 2.2vw, 1.7rem); color: #fff;
}
body.cr-school-retreats .quote blockquote .mark { color: #ffde01; }
body.cr-school-retreats .quote figcaption {
  margin-top: 1.1rem;
  font-family: var(--font-body, 'Manrope', system-ui, sans-serif);
  font-size: .92rem; color: rgba(255,255,255,.72);
}
body.cr-school-retreats .quote figcaption b { color: #fff; font-weight: 700; }

/* ============ FORM / CONVERSION (dark) ============ */
body.cr-school-retreats .book { background: #0a0a0a; color: #fff; }
body.cr-school-retreats .book__in {
  display: grid; grid-template-columns: .82fr 1.18fr;
  gap: clamp(1.6rem, 4vw, 3.5rem); align-items: start;
}
body.cr-school-retreats .book__lead h2 {
  font-weight: 800; text-transform: uppercase; line-height: .95; color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
}
body.cr-school-retreats .book__lead h2 em { font-style: normal; color: #ffde01; }
body.cr-school-retreats .book__lead p { color: rgba(255,255,255,.8); margin-top: 1.1rem; max-width: 44ch; line-height: 1.65; }
body.cr-school-retreats .book__helper {
  margin-top: 1.4rem; display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  text-transform: uppercase; letter-spacing: .04em; font-size: .82rem; color: #ffde01;
}
body.cr-school-retreats .book__courtesy { margin-top: 1.6rem; font-size: .92rem; color: rgba(255,255,255,.72); }
body.cr-school-retreats .book__courtesy a { color: #ffde01; text-decoration: underline; text-underline-offset: 3px; }
body.cr-school-retreats .form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
body.cr-school-retreats .field { display: flex; flex-direction: column; gap: .4rem; }
body.cr-school-retreats .field--full { grid-column: 1 / -1; }
body.cr-school-retreats .field label {
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  font-size: .76rem; color: #ffde01;
}
body.cr-school-retreats .field .req { color: #ffde01; }
body.cr-school-retreats .field input,
body.cr-school-retreats .field select,
body.cr-school-retreats .field textarea {
  font-family: var(--font-body, 'Manrope', system-ui, sans-serif);
  font-size: .96rem; color: #0a0a0a;
  background: #fff; border: 2px solid transparent; border-radius: 10px; padding: .78em .9em; width: 100%;
  transition: box-shadow .2s, border-color .2s;
}
body.cr-school-retreats .field input::placeholder,
body.cr-school-retreats .field textarea::placeholder { color: #6f6f6f; }
body.cr-school-retreats .field input:focus,
body.cr-school-retreats .field select:focus,
body.cr-school-retreats .field textarea:focus {
  outline: none; border-color: #ffde01; box-shadow: 0 0 0 3px rgba(255,222,1,.4);
}
body.cr-school-retreats .field textarea { min-height: 120px; resize: vertical; }
body.cr-school-retreats .phone-row { display: grid; grid-template-columns: 108px 1fr; gap: .6rem; }
body.cr-school-retreats .ages { border: 0; padding: 0; margin: 0; min-width: 0; }
body.cr-school-retreats .ages legend {
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  font-size: .76rem; color: #ffde01; padding: 0; margin-bottom: .4rem;
}
body.cr-school-retreats .checks { display: flex; gap: 1.4rem; flex-wrap: wrap; padding-top: .2rem; }
body.cr-school-retreats .check {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body, 'Manrope', system-ui, sans-serif);
  font-size: .96rem; color: #fff; cursor: pointer;
}
body.cr-school-retreats .check input { width: 18px; height: 18px; accent-color: #ffde01; flex: 0 0 auto; }
body.cr-school-retreats .form__submit { grid-column: 1 / -1; justify-self: start; margin-top: .5rem; }

/* ============ MOTION ============ */
@keyframes cr-sar-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
body.cr-school-retreats .hero__eyebrow,
body.cr-school-retreats .hero h1,
body.cr-school-retreats .hero__sub,
body.cr-school-retreats .hero__cta,
body.cr-school-retreats .hero__meta {
  animation: cr-sar-rise .85s cubic-bezier(.2,.7,.2,1) both;
}
body.cr-school-retreats .hero h1 { animation-delay: .06s; }
body.cr-school-retreats .hero__sub { animation-delay: .16s; }
body.cr-school-retreats .hero__cta { animation-delay: .26s; }
body.cr-school-retreats .hero__meta { animation-delay: .34s; }

/* Staggered reveal — visible by default; class only enhances */
body.cr-school-retreats .reveal { opacity: 1; transform: none; }
body.cr-school-retreats.js-on .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
body.cr-school-retreats.js-on .reveal.is-in { opacity: 1; transform: none; }
body.cr-school-retreats.js-on .reveal[data-d="1"] { transition-delay: .05s; }
body.cr-school-retreats.js-on .reveal[data-d="2"] { transition-delay: .1s; }
body.cr-school-retreats.js-on .reveal[data-d="3"] { transition-delay: .15s; }
body.cr-school-retreats.js-on .reveal[data-d="4"] { transition-delay: .2s; }

/* =====================================================================
   PORTED FROM MOCKUP A — two editorial sections prefixed d2-.
   Literal hex #f4eee3 = A's warm-2 band (not in shared tokens).
   ===================================================================== */

/* ---- TWO AGE TRACKS (A editorial, light warm band) ---- */
body.cr-school-retreats .d2-tracks { background: #f4eee3; padding-block: clamp(3.5rem, 7vw, 6rem); }
body.cr-school-retreats .d2-tracks__head { max-width: 54ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
body.cr-school-retreats .d2-tracks__head h2 {
  font-weight: 800; text-transform: uppercase; line-height: .98; font-size: clamp(2rem, 4.3vw, 3.3rem);
}
body.cr-school-retreats .d2-tracks__head p { color: #3a3a3a; font-size: 1.08rem; line-height: 1.6; margin-top: .7rem; }
body.cr-school-retreats .d2-tracks__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.4rem);
}
body.cr-school-retreats .d2-track {
  background: #fff; border: 1px solid #e6ddcd; border-radius: 6px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 14px 34px -22px rgba(10,10,10,.4);
}
body.cr-school-retreats .d2-track__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
body.cr-school-retreats .d2-track__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
body.cr-school-retreats .d2-track:hover .d2-track__media img { transform: scale(1.04); }
body.cr-school-retreats .d2-track__label {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; font-size: .66rem; color: #fff;
  padding: .4em .8em; background: rgba(180,83,9,.92); border-radius: 2px;
}
body.cr-school-retreats .d2-track__body {
  padding: clamp(1.4rem, 2.5vw, 2rem); display: flex; flex-direction: column; flex: 1;
}
body.cr-school-retreats .d2-track__body h3 {
  font-weight: 800; text-transform: uppercase; line-height: 1;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem); display: flex; align-items: baseline; gap: .5rem;
}
body.cr-school-retreats .d2-track__body h3 span { font-size: .55em; color: #b45309; letter-spacing: .02em; }
body.cr-school-retreats .d2-track__focus { color: #3a3a3a; font-size: 1rem; line-height: 1.65; margin-top: .8rem; }
body.cr-school-retreats .d2-track__list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
body.cr-school-retreats .d2-track__list li {
  font-size: .94rem; color: #3a3a3a; line-height: 1.5; padding-top: .7rem; border-top: 1px solid #e6ddcd;
}
body.cr-school-retreats .d2-track__list b {
  display: block;
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; font-size: .72rem; color: #0a0a0a; margin-bottom: .15rem;
}

/* ---- THE 3 DAYS (A vertical expedition route, lighter warm band) ---- */
body.cr-school-retreats .d2-days { background: #faf6f0; padding-block: clamp(3.5rem, 7vw, 6rem); }
body.cr-school-retreats .d2-days__head { max-width: 52ch; margin-bottom: clamp(2.4rem, 4vw, 3.6rem); }
body.cr-school-retreats .d2-days__head h2 {
  font-weight: 800; text-transform: uppercase; line-height: .96; font-size: clamp(2.1rem, 5vw, 3.6rem);
}
body.cr-school-retreats .d2-days__head p { color: #3a3a3a; font-size: 1.1rem; line-height: 1.6; margin-top: .7rem; }

body.cr-school-retreats .d2-route { list-style: none; margin: 0; padding: 0; position: relative; }
body.cr-school-retreats .d2-route__day {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr) minmax(0,1fr);
  column-gap: clamp(1.4rem, 3vw, 2.6rem); align-items: center;
  padding-block: clamp(1.6rem, 3vw, 2.6rem);
}
body.cr-school-retreats .d2-route__rail {
  position: relative; align-self: stretch; display: flex; justify-content: center;
}
body.cr-school-retreats .d2-route__rail::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; transform: translateX(-50%); background: #e6ddcd;
}
body.cr-school-retreats .d2-route__day:first-child .d2-route__rail::before { top: 50%; }
body.cr-school-retreats .d2-route__day:last-child .d2-route__rail::before { bottom: 50%; }
body.cr-school-retreats .d2-route__node {
  position: relative; z-index: 1; width: 44px; height: 44px; align-self: center; margin-top: 0;
  display: grid; place-items: center; border-radius: 50%;
  background: #0a0a0a; color: #ffde01;
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 700; font-size: 1.25rem; line-height: 1;
  box-shadow: 0 0 0 6px #faf6f0;
}
body.cr-school-retreats .d2-route__media {
  border-radius: 6px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(10,10,10,.5); aspect-ratio: 4/3;
}
body.cr-school-retreats .d2-route__media img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
body.cr-school-retreats .d2-route__day:hover .d2-route__media img { transform: scale(1.03); }
body.cr-school-retreats .d2-route__theme {
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: .8rem; color: #b45309; margin: 0 0 .5rem;
}
body.cr-school-retreats .d2-route__text h3 {
  font-weight: 800; text-transform: uppercase; line-height: 1; font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}
body.cr-school-retreats .d2-route__lede {
  color: #3a3a3a; font-size: 1.02rem; line-height: 1.65; margin-top: .7rem; max-width: 46ch;
}
body.cr-school-retreats .d2-route__acts { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .55rem; }
body.cr-school-retreats .d2-route__acts li {
  position: relative; padding-left: 1.4rem; font-size: .96rem; color: #3a3a3a; line-height: 1.5;
}
body.cr-school-retreats .d2-route__acts li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px;
  background: #ffde01; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #0a0a0a;
}
/* alternate photo side */
body.cr-school-retreats .d2-route__day[data-side="left"] .d2-route__media { grid-column: 2; }
body.cr-school-retreats .d2-route__day[data-side="left"] .d2-route__text { grid-column: 3; }
body.cr-school-retreats .d2-route__day[data-side="right"] .d2-route__media { grid-column: 3; }
body.cr-school-retreats .d2-route__day[data-side="right"] .d2-route__text { grid-column: 2; text-align: right; }
body.cr-school-retreats .d2-route__day[data-side="right"] .d2-route__lede { margin-left: auto; }
body.cr-school-retreats .d2-route__day[data-side="right"] .d2-route__acts li { padding-left: 0; padding-right: 1.4rem; }
body.cr-school-retreats .d2-route__day[data-side="right"] .d2-route__acts li::before { left: auto; right: 0; }

/* what's included (ported) */
body.cr-school-retreats .d2-included {
  margin-top: clamp(2.4rem, 4vw, 3.4rem); padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.6rem, 3vw, 2.4rem);
  background: #0a0a0a; color: #fff; border-radius: 6px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
}
body.cr-school-retreats .d2-included__title {
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: 1.05rem; color: #ffde01; margin: 0;
}
body.cr-school-retreats .d2-included__list {
  list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .7rem 1.6rem;
  font-family: var(--font-heading, 'Mohave', 'Arial Narrow', sans-serif);
  font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .86rem;
}
body.cr-school-retreats .d2-included__list li { position: relative; padding-left: 1.3rem; }
body.cr-school-retreats .d2-included__list li::before {
  content: ""; position: absolute; left: 0; top: .1em; width: 1ch; height: 1ch;
  background: #ffde01;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.2 11.3 2.9 8l1.1-1.1 2.2 2.2L12 3.3 13.1 4.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.2 11.3 2.9 8l1.1-1.1 2.2 2.2L12 3.3 13.1 4.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Day rows: ALWAYS visible (opacity:1 base); subtle staggered entrance on load.
   Never gated on scroll/JS, so this section can never render blank. */
body.cr-school-retreats .d2-reveal-row { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  body.cr-school-retreats .d2-reveal-row { animation: cr-sar-rise .7s cubic-bezier(.2,.7,.2,1) both; }
  body.cr-school-retreats .d2-route__day:nth-of-type(1) { animation-delay: .06s; }
  body.cr-school-retreats .d2-route__day:nth-of-type(2) { animation-delay: .16s; }
  body.cr-school-retreats .d2-route__day:nth-of-type(3) { animation-delay: .26s; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 920px) {
  body.cr-school-retreats .why__grid { grid-template-columns: 1fr; }
  body.cr-school-retreats .tracks { grid-template-columns: 1fr; }
  body.cr-school-retreats .day,
  body.cr-school-retreats .day:nth-child(even) { grid-template-columns: 1fr; }
  body.cr-school-retreats .day__media { order: 0 !important; min-height: clamp(200px, 50vw, 300px); }
  body.cr-school-retreats .day__body { order: 0 !important; }
  body.cr-school-retreats .included ul { grid-template-columns: repeat(2,1fr); }
  body.cr-school-retreats .strip__lanes { grid-template-columns: repeat(2,1fr); }
  body.cr-school-retreats .lane { min-height: clamp(300px, 60vw, 400px); }
  body.cr-school-retreats .lane__line { max-height: 5em; opacity: 1; margin-top: .5rem; }
  body.cr-school-retreats .safety__grid { grid-template-columns: 1fr; }
  body.cr-school-retreats .book__in { grid-template-columns: 1fr; }
  /* d2 responsive */
  body.cr-school-retreats .d2-tracks__grid { grid-template-columns: 1fr; }
  body.cr-school-retreats .d2-route__day {
    grid-template-columns: 48px 1fr; column-gap: 1.2rem; row-gap: 1.2rem; align-items: start;
  }
  body.cr-school-retreats .d2-route__media { grid-column: 2 !important; grid-row: 1; }
  body.cr-school-retreats .d2-route__text { grid-column: 2 !important; grid-row: 2; text-align: left !important; }
  body.cr-school-retreats .d2-route__day[data-side="right"] .d2-route__lede { margin-left: 0; }
  body.cr-school-retreats .d2-route__day[data-side="right"] .d2-route__acts li {
    padding-left: 1.4rem; padding-right: 0;
  }
  body.cr-school-retreats .d2-route__day[data-side="right"] .d2-route__acts li::before { left: 0; right: auto; }
  body.cr-school-retreats .d2-route__rail { align-self: stretch; }
  body.cr-school-retreats .d2-route__rail::before { top: 0 !important; bottom: 0 !important; }
  body.cr-school-retreats .d2-route__day:first-child .d2-route__rail::before { top: 22px !important; }
  body.cr-school-retreats .d2-route__day:last-child .d2-route__rail::before { bottom: auto !important; height: 22px; }
  body.cr-school-retreats .d2-route__node { align-self: start; margin-top: 0; }
}

@media (max-width: 560px) {
  body.cr-school-retreats .hero__meta div { padding-right: 1rem; margin-right: 1rem; }
  body.cr-school-retreats .hero__meta b { font-size: 1.05rem; }
  body.cr-school-retreats .why__grid { grid-template-columns: 1fr; }
  body.cr-school-retreats .facts { grid-template-columns: 1fr; }
  body.cr-school-retreats .included ul { grid-template-columns: 1fr; }
  body.cr-school-retreats .strip__lanes { grid-template-columns: 1fr; }
  body.cr-school-retreats .lane { min-height: 300px; }
  body.cr-school-retreats .form { grid-template-columns: 1fr; }
  body.cr-school-retreats .phone-row { grid-template-columns: 96px 1fr; }
  body.cr-school-retreats .stickybar__in { padding-inline: 1.1rem; }
  body.cr-school-retreats .stickybar__txt span { display: none; }
}

@media (max-width: 380px) {
  body.cr-school-retreats .stickybar__txt { font-size: .82rem; }
  body.cr-school-retreats .stickybar__cta { font-size: .78rem; padding: .75em 1.1em; }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  body.cr-school-retreats .hero__eyebrow,
  body.cr-school-retreats .hero h1,
  body.cr-school-retreats .hero__sub,
  body.cr-school-retreats .hero__cta,
  body.cr-school-retreats .hero__meta { animation: none !important; }
  body.cr-school-retreats .reveal,
  body.cr-school-retreats.js-on .reveal { opacity: 1 !important; transform: none !important; }
  body.cr-school-retreats .stickybar { transition: none !important; }
  body.cr-school-retreats .lane__line { max-height: 5em !important; opacity: 1 !important; margin-top: .6rem !important; }
  /* keep d2 day-rows visible */
  body.cr-school-retreats .d2-reveal-row { opacity: 1 !important; transform: none !important; animation: none !important; }
  body.cr-school-retreats .d2-route__day { animation: none !important; }
  /* bridge: kill lane photo hover/idle transitions */
  body.cr-school-retreats [id^="cr-sar-lane-"] .elementor-widget-image img { transition: none !important; }
}

/* =============================================================================
   CSS BRIDGE — Task 3: native image-widget positioning for cr-sar-* containers
   All selectors scoped under body.cr-school-retreats.
   NOTE: Elementor wraps all container children inside .e-con-inner, so
   direct-child (>) selectors from #cr-sar-X must target .e-con-inner > child.
   Grid layouts go on .e-con-inner (where the actual grid items live).
   Pattern (a) = full-bleed photo; Pattern (b) = card/slot photo.
   ============================================================================= */

/* ── HERO (pattern a: full-bleed bg photo).
   #cr-sar-hero IS the hero root: the Elementor DOM has no `.hero` element, and the
   photo is a separate image widget BEHIND the text — so the dark fallback bg + the
   readability scrim live on the container, and the ported `.hero` rules can't apply. */
body.cr-school-retreats #cr-sar-hero {
  position: relative; overflow: hidden; padding: 0; background: #141414;
  min-height: 100vh; min-height: 100dvh; /* full viewport — fixed transparent header overlaps, like activity/home/club/team heroes */
}
/* Photo widget is inside .e-con-inner, not direct child of #cr-sar-hero */
body.cr-school-retreats #cr-sar-hero > .e-con-inner > .elementor-widget-image {
  position: absolute; inset: 0; z-index: 0; margin: 0; width: 100%; height: 100%;
}
body.cr-school-retreats #cr-sar-hero .elementor-widget-image,
body.cr-school-retreats #cr-sar-hero .elementor-widget-image .elementor-widget-container,
body.cr-school-retreats #cr-sar-hero .elementor-widget-image figure { height: 100%; margin: 0; }
body.cr-school-retreats #cr-sar-hero .elementor-widget-image img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
/* e-con-inner: position context for the absolute photo + full-height flex column,
   content bottom-anchored to match the mockup B hero. */
body.cr-school-retreats #cr-sar-hero > .e-con-inner {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100vh; min-height: 100dvh;
  max-width: none; width: 100%; padding-inline: 0; /* full-bleed photo+scrim; text boxed via .hero__inner */
}
/* readability scrim between photo (z0) and text (z2): left column darkened so the
   white H1 reads over the bright-asphalt photo; right stays clear for the skater;
   bottom anchor for the meta strip. */
body.cr-school-retreats #cr-sar-hero > .e-con-inner::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(8,8,8,.74) 0%, rgba(8,8,8,.48) 34%, rgba(8,8,8,.10) 62%, rgba(8,8,8,0) 78%),
    linear-gradient(180deg, rgba(8,8,8,0) 30%, rgba(8,8,8,.30) 70%, rgba(8,8,8,.62) 100%);
}
/* text overlay above the scrim */
body.cr-school-retreats #cr-sar-hero > .e-con-inner > .elementor-widget-html { position: relative; z-index: 2; width: 100%; }
/* H1 sizing/colour (the ported `.hero h1` descendant rule can't match — no .hero element) */
body.cr-school-retreats #cr-sar-hero h1 {
  color: #fff; font-weight: 800; line-height: .92; text-transform: uppercase;
  font-size: clamp(2.7rem, 7.6vw, 6.2rem); max-width: 15ch; letter-spacing: -.02em;
  text-shadow: 0 2px 18px rgba(0,0,0,.6);
}
body.cr-school-retreats #cr-sar-hero h1 em { font-style: normal; color: #ffde01; }

/* ── STICKYBAR container ── */
/* display:contents drops the container box, but its .e-con-inner keeps Elementor's default
   10px block padding → a 20px dead strip between hero and intro. Zero it so they sit flush. */
body.cr-school-retreats #cr-sar-stickybar { display: contents; }
body.cr-school-retreats #cr-sar-stickybar > .e-con-inner,
body.cr-school-retreats #cr-sar-stickybar .elementor-widget-html { padding: 0; min-height: 0; }

/* ── INTRO ("Off the screens…"): warm bg on the full-width .e-con so it bleeds edge-to-edge
   (was only on the inner .band--warm → boxed → dark side-bands). Content stays boxed by .wrap.
   padding-block:0 + hero padding:0 makes the warm band sit flush under the hero (no dark seam). */
body.cr-school-retreats #cr-sar-intro { background: #faf6f0; padding-block: 0; }
body.cr-school-retreats #cr-sar-intro > .e-con-inner { max-width: none; width: 100%; padding-inline: 0; }
body.cr-school-retreats #cr-sar-intro .band--warm { background: transparent; }

/* ── TRACKS section wrapper ── */
body.cr-school-retreats #cr-sar-tracks {
  background: #f4eee3; padding-block: clamp(3rem, 6vw, 5rem);
}
/* Grid on the SECTION inner only (direct child) — the heading + the two cards.
   Boxed at 1280 with one shared padding so the heading's left edge == the cards' left edge.
   Must NOT use a descendant selector: that leaks the 2-col grid into each card's
   own .e-con-inner and squeezes the photo. */
body.cr-school-retreats #cr-sar-tracks > .e-con-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: clamp(1.2rem, 2.6vw, 2rem);
  max-width: 1280px; margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}
body.cr-school-retreats #cr-sar-tracks > .e-con-inner > .elementor-widget-html { grid-column: 1 / -1; grid-row: 1; }
/* Neutralise the head html's own .d2-tracks/.wrap box + drop its margin so it aligns
   to the grid edge and sits close to the cards (grid gap does the spacing). */
body.cr-school-retreats #cr-sar-tracks .d2-tracks { padding: 0; background: transparent; }
body.cr-school-retreats #cr-sar-tracks .d2-tracks .wrap { max-width: none; margin-inline: 0; padding-inline: 0; }
body.cr-school-retreats #cr-sar-tracks .d2-tracks__head { margin-bottom: 0; }
body.cr-school-retreats #cr-sar-track-1 { grid-column: 1; grid-row: 2; }
body.cr-school-retreats #cr-sar-track-2 { grid-column: 2; grid-row: 2; }
/* card inner: full-width photo (top) stacked over body (below), per mockup .d2-track */
body.cr-school-retreats #cr-sar-track-1 > .e-con-inner,
body.cr-school-retreats #cr-sar-track-2 > .e-con-inner { display: flex; flex-direction: column; height: 100%; }
body.cr-school-retreats #cr-sar-track-1 > .e-con-inner > .elementor-widget-html,
body.cr-school-retreats #cr-sar-track-2 > .e-con-inner > .elementor-widget-html { flex: 1 1 auto; }
/* Inner track heading max-width */
body.cr-school-retreats #cr-sar-tracks .d2-tracks__head { max-width: 54ch; }
/* Track card styling */
body.cr-school-retreats #cr-sar-track-1,
body.cr-school-retreats #cr-sar-track-2 {
  background: #fff; border: 1px solid #e6ddcd; border-radius: 6px;
  overflow: hidden; position: relative;
  box-shadow: 0 14px 34px -22px rgba(10,10,10,.4);
}
/* Track photo: aspect-ratio slot (pattern b) */
body.cr-school-retreats #cr-sar-track-1 .elementor-widget-image img,
body.cr-school-retreats #cr-sar-track-2 .elementor-widget-image img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
}
body.cr-school-retreats #cr-sar-track-1 .elementor-widget-image,
body.cr-school-retreats #cr-sar-track-2 .elementor-widget-image,
body.cr-school-retreats #cr-sar-track-1 .elementor-widget-image .elementor-widget-container,
body.cr-school-retreats #cr-sar-track-2 .elementor-widget-image .elementor-widget-container,
body.cr-school-retreats #cr-sar-track-1 .elementor-widget-image figure,
body.cr-school-retreats #cr-sar-track-2 .elementor-widget-image figure { margin: 0; }
/* Label overlay on track photo. The label lives in the body html widget; Elementor makes
   widgets position:relative, so without this the absolute label anchors to the body (lands
   above the title). Make the inner + html widget static so the offset parent is the card
   (#cr-sar-track-N is position:relative) → label sits over the photo's top-left. */
body.cr-school-retreats #cr-sar-track-1 > .e-con-inner,
body.cr-school-retreats #cr-sar-track-2 > .e-con-inner,
body.cr-school-retreats #cr-sar-track-1 .elementor-widget-html,
body.cr-school-retreats #cr-sar-track-2 .elementor-widget-html { position: static; }
body.cr-school-retreats #cr-sar-track-1 .d2-track__label,
body.cr-school-retreats #cr-sar-track-2 .d2-track__label { position: absolute; top: 14px; left: 14px; z-index: 2; }

/* ── DAYS section: faithful 3-column expedition route (rail | media | text) ──
   Each day container (#cr-sar-day-N) is the grid; its three children carry stable ids:
   -rail (numbered node + connecting line), -media (photo), -text (.d2-route__text).
   Inner released full-width; head + day grids both box at 1280 so they share an edge. */
body.cr-school-retreats #cr-sar-days { background: #faf6f0; padding-block: clamp(3.5rem, 7vw, 6rem); }
body.cr-school-retreats #cr-sar-days > .e-con-inner { max-width: none; width: 100%; padding-inline: 0; gap: 0; }
/* head: strip its own .d2-days/.wrap box so the title aligns to the day grid + tighten title→day-1 */
body.cr-school-retreats #cr-sar-days .d2-days { padding: 0; background: transparent; }
body.cr-school-retreats #cr-sar-days .d2-days__head { margin-bottom: clamp(1rem, 2vw, 1.6rem); }

/* The route grid, boxed at 1280; zero outer .e-con padding so days stack flush (continuous line) */
body.cr-school-retreats #cr-sar-day-1,
body.cr-school-retreats #cr-sar-day-2,
body.cr-school-retreats #cr-sar-day-3 { padding: 0; opacity: 1; }
body.cr-school-retreats #cr-sar-day-1 > .e-con-inner,
body.cr-school-retreats #cr-sar-day-2 > .e-con-inner,
body.cr-school-retreats #cr-sar-day-3 > .e-con-inner {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr) minmax(0,1fr);
  column-gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: center;
  padding-block: clamp(1.4rem, 2.6vw, 2.2rem);
  padding-inline: clamp(1.25rem, 5vw, 4rem);
  max-width: 1280px; margin-inline: auto;
}
/* Rail = col 1, fills the full cell height so the connecting line spans it */
body.cr-school-retreats #cr-sar-day-1-rail,
body.cr-school-retreats #cr-sar-day-2-rail,
body.cr-school-retreats #cr-sar-day-3-rail { grid-column: 1; align-self: stretch; }
body.cr-school-retreats #cr-sar-day-1-rail, body.cr-school-retreats #cr-sar-day-1-rail .elementor-widget-container, body.cr-school-retreats #cr-sar-day-1-rail .d2-route__rail,
body.cr-school-retreats #cr-sar-day-2-rail, body.cr-school-retreats #cr-sar-day-2-rail .elementor-widget-container, body.cr-school-retreats #cr-sar-day-2-rail .d2-route__rail,
body.cr-school-retreats #cr-sar-day-3-rail, body.cr-school-retreats #cr-sar-day-3-rail .elementor-widget-container, body.cr-school-retreats #cr-sar-day-3-rail .d2-route__rail { height: 100%; }
body.cr-school-retreats #cr-sar-day-1-rail .d2-route__rail,
body.cr-school-retreats #cr-sar-day-2-rail .d2-route__rail,
body.cr-school-retreats #cr-sar-day-3-rail .d2-route__rail { align-items: center; }
/* Photo / text alternation by side. day-1 & day-3 = photo left (col2), text right (col3);
   day-2 = photo right (col3), text left (col2, right-aligned). */
/* grid-row:1 is REQUIRED: DOM order is rail,media,text. On day-2 (media col3 before
   text col2) auto-placement advances the cursor past col3, so text's col2 reads as
   "before the cursor" and drops to row 2 — pushing the text under the photo. Pinning
   every media/text item to row 1 keeps them side-by-side and vertically centered. */
body.cr-school-retreats #cr-sar-day-1-media,
body.cr-school-retreats #cr-sar-day-3-media { grid-column: 2; grid-row: 1; }
body.cr-school-retreats #cr-sar-day-1-text,
body.cr-school-retreats #cr-sar-day-3-text { grid-column: 3; grid-row: 1; }
body.cr-school-retreats #cr-sar-day-2-media { grid-column: 3; grid-row: 1; }
body.cr-school-retreats #cr-sar-day-2-text  { grid-column: 2; grid-row: 1; text-align: right; }
body.cr-school-retreats #cr-sar-day-2-text .d2-route__lede { margin-left: auto; }
body.cr-school-retreats #cr-sar-day-2-text .d2-route__acts li { padding-left: 0; padding-right: 1.4rem; }
body.cr-school-retreats #cr-sar-day-2-text .d2-route__acts li::before { left: auto; right: 0; }
/* Connecting line: extend ±padding to bridge the gap between day rows; cap at first/last node */
body.cr-school-retreats #cr-sar-day-1-rail .d2-route__rail::before { top: 50%; bottom: calc(-1 * clamp(1.4rem, 2.6vw, 2.2rem)); }
body.cr-school-retreats #cr-sar-day-2-rail .d2-route__rail::before { top: calc(-1 * clamp(1.4rem, 2.6vw, 2.2rem)); bottom: calc(-1 * clamp(1.4rem, 2.6vw, 2.2rem)); }
body.cr-school-retreats #cr-sar-day-3-rail .d2-route__rail::before { top: calc(-1 * clamp(1.4rem, 2.6vw, 2.2rem)); bottom: 50%; }
/* Always-visible staggered entrance per day (replaces the old .d2-reveal-row wrapper) */
@media (prefers-reduced-motion: no-preference) {
  body.cr-school-retreats #cr-sar-day-1 { animation: cr-sar-rise .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: .06s; }
  body.cr-school-retreats #cr-sar-day-2 { animation: cr-sar-rise .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: .16s; }
  body.cr-school-retreats #cr-sar-day-3 { animation: cr-sar-rise .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: .26s; }
}
/* Day photos: fill slot aspect-ratio 4/3 */
body.cr-school-retreats #cr-sar-day-1-media,
body.cr-school-retreats #cr-sar-day-2-media,
body.cr-school-retreats #cr-sar-day-3-media {
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 18px 40px -24px rgba(10,10,10,.5);
  aspect-ratio: 4/3;
}
body.cr-school-retreats #cr-sar-day-1-media .elementor-widget-image img,
body.cr-school-retreats #cr-sar-day-2-media .elementor-widget-image img,
body.cr-school-retreats #cr-sar-day-3-media .elementor-widget-image img {
  width: 100%; height: 100%; object-fit: cover; display: block; max-width: none;
}
body.cr-school-retreats #cr-sar-day-1-media .elementor-widget-image,
body.cr-school-retreats #cr-sar-day-2-media .elementor-widget-image,
body.cr-school-retreats #cr-sar-day-3-media .elementor-widget-image,
body.cr-school-retreats #cr-sar-day-1-media .elementor-widget-image .elementor-widget-container,
body.cr-school-retreats #cr-sar-day-2-media .elementor-widget-image .elementor-widget-container,
body.cr-school-retreats #cr-sar-day-3-media .elementor-widget-image .elementor-widget-container,
body.cr-school-retreats #cr-sar-day-1-media .elementor-widget-image figure,
body.cr-school-retreats #cr-sar-day-2-media .elementor-widget-image figure,
body.cr-school-retreats #cr-sar-day-3-media .elementor-widget-image figure { height: 100%; margin: 0; }

/* ── LINEUP / STRIP ── */
body.cr-school-retreats #cr-sar-lineup { background: #0a0a0a; overflow: hidden; padding: 0; }
/* Grid on .e-con-inner (where html head widget + lane sub-containers live) */
body.cr-school-retreats #cr-sar-lineup > .e-con-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto 1fr;
  gap: 4px;
  background: #0a0a0a;
  padding: 0;
  max-width: none; width: 100%; /* lanes full-bleed; .strip__head keeps its own max-width:1280 */
}
body.cr-school-retreats #cr-sar-lineup > .e-con-inner > .elementor-widget-html { grid-column: 1 / -1; grid-row: 1; background: transparent; }
body.cr-school-retreats #cr-sar-lane-1 { grid-column: 1; grid-row: 2; }
body.cr-school-retreats #cr-sar-lane-2 { grid-column: 2; grid-row: 2; }
body.cr-school-retreats #cr-sar-lane-3 { grid-column: 3; grid-row: 2; }
body.cr-school-retreats #cr-sar-lane-4 { grid-column: 4; grid-row: 2; }
body.cr-school-retreats #cr-sar-lane-5 { grid-column: 5; grid-row: 2; }
/* Lane containers: position:relative for full-bleed photo */
body.cr-school-retreats #cr-sar-lane-1,
body.cr-school-retreats #cr-sar-lane-2,
body.cr-school-retreats #cr-sar-lane-3,
body.cr-school-retreats #cr-sar-lane-4,
body.cr-school-retreats #cr-sar-lane-5 {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(360px, 52vw, 620px);
}
/* Lane .e-con-inner must also be full-height so absolute image fills it */
body.cr-school-retreats #cr-sar-lane-1 > .e-con-inner,
body.cr-school-retreats #cr-sar-lane-2 > .e-con-inner,
body.cr-school-retreats #cr-sar-lane-3 > .e-con-inner,
body.cr-school-retreats #cr-sar-lane-4 > .e-con-inner,
body.cr-school-retreats #cr-sar-lane-5 > .e-con-inner { height: 100%; position: relative; padding: 0; }
/* Lane photo: full-bleed (pattern a) */
body.cr-school-retreats #cr-sar-lane-1 .elementor-widget-image,
body.cr-school-retreats #cr-sar-lane-2 .elementor-widget-image,
body.cr-school-retreats #cr-sar-lane-3 .elementor-widget-image,
body.cr-school-retreats #cr-sar-lane-4 .elementor-widget-image,
body.cr-school-retreats #cr-sar-lane-5 .elementor-widget-image { position: absolute; inset: 0; z-index: 0; margin: 0; width: 100%; height: 100%; }
body.cr-school-retreats #cr-sar-lane-1 .elementor-widget-image .elementor-widget-container,
body.cr-school-retreats #cr-sar-lane-2 .elementor-widget-image .elementor-widget-container,
body.cr-school-retreats #cr-sar-lane-3 .elementor-widget-image .elementor-widget-container,
body.cr-school-retreats #cr-sar-lane-4 .elementor-widget-image .elementor-widget-container,
body.cr-school-retreats #cr-sar-lane-5 .elementor-widget-image .elementor-widget-container,
body.cr-school-retreats #cr-sar-lane-1 .elementor-widget-image figure,
body.cr-school-retreats #cr-sar-lane-2 .elementor-widget-image figure,
body.cr-school-retreats #cr-sar-lane-3 .elementor-widget-image figure,
body.cr-school-retreats #cr-sar-lane-4 .elementor-widget-image figure,
body.cr-school-retreats #cr-sar-lane-5 .elementor-widget-image figure { height: 100%; margin: 0; }
body.cr-school-retreats #cr-sar-lane-1 .elementor-widget-image img,
body.cr-school-retreats #cr-sar-lane-2 .elementor-widget-image img,
body.cr-school-retreats #cr-sar-lane-3 .elementor-widget-image img,
body.cr-school-retreats #cr-sar-lane-4 .elementor-widget-image img,
body.cr-school-retreats #cr-sar-lane-5 .elementor-widget-image img {
  width: 100%; height: 100%; object-fit: cover; display: block; max-width: none;
  transform: scale(1.02); filter: saturate(.92) brightness(.82);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s;
}
/* Lane html widget: above the photo */
body.cr-school-retreats #cr-sar-lane-1 .elementor-widget-html,
body.cr-school-retreats #cr-sar-lane-2 .elementor-widget-html,
body.cr-school-retreats #cr-sar-lane-3 .elementor-widget-html,
body.cr-school-retreats #cr-sar-lane-4 .elementor-widget-html,
body.cr-school-retreats #cr-sar-lane-5 .elementor-widget-html { position: relative; z-index: 2; width: 100%; }
/* Lane overlay gradient */
body.cr-school-retreats #cr-sar-lane-1::after,
body.cr-school-retreats #cr-sar-lane-2::after,
body.cr-school-retreats #cr-sar-lane-3::after,
body.cr-school-retreats #cr-sar-lane-4::after,
body.cr-school-retreats #cr-sar-lane-5::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,.05) 0%, rgba(10,10,10,.25) 45%, rgba(10,10,10,.88) 100%);
  pointer-events: none;
}
/* Lane hover */
body.cr-school-retreats #cr-sar-lane-1:hover .elementor-widget-image img,
body.cr-school-retreats #cr-sar-lane-2:hover .elementor-widget-image img,
body.cr-school-retreats #cr-sar-lane-3:hover .elementor-widget-image img,
body.cr-school-retreats #cr-sar-lane-4:hover .elementor-widget-image img,
body.cr-school-retreats #cr-sar-lane-5:hover .elementor-widget-image img {
  transform: scale(1.12); filter: saturate(1.05) brightness(.92);
}
/* .lane anchor: fills the lane, text at bottom */
body.cr-school-retreats #cr-sar-lane-1 .lane,
body.cr-school-retreats #cr-sar-lane-2 .lane,
body.cr-school-retreats #cr-sar-lane-3 .lane,
body.cr-school-retreats #cr-sar-lane-4 .lane,
body.cr-school-retreats #cr-sar-lane-5 .lane {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end;
  text-decoration: none; color: #fff;
}

/* ── SAFETY section ── */
body.cr-school-retreats #cr-sar-safety {
  background: #faf7f2; padding-block: clamp(3.5rem, 8vw, 6.5rem);
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}
/* Grid on .e-con-inner (html widget col1, #cr-sar-quote col2) */
body.cr-school-retreats #cr-sar-safety > .e-con-inner {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
}
body.cr-school-retreats #cr-sar-safety > .e-con-inner > .elementor-widget-html { grid-column: 1; grid-row: 1; }
body.cr-school-retreats #cr-sar-safety > .e-con-inner > #cr-sar-quote { grid-column: 2; grid-row: 1; }
/* Quote card */
body.cr-school-retreats #cr-sar-quote {
  background: #0a0a0a; color: #fff; border-radius: 20px; overflow: hidden;
  align-self: start; /* size to photo+text so no empty black below the caption */
}
body.cr-school-retreats #cr-sar-quote .elementor-widget-image img {
  width: 100%; height: clamp(180px, 22vw, 240px); object-fit: cover; display: block;
}
body.cr-school-retreats #cr-sar-quote .elementor-widget-image,
body.cr-school-retreats #cr-sar-quote .elementor-widget-image .elementor-widget-container,
body.cr-school-retreats #cr-sar-quote .elementor-widget-image figure { margin: 0; }
/* The UA default `blockquote { margin: 1em 40px }` leaks past the class rule and indents the
   quote 40px off the caption's left edge. Id-scope kills it so copy + attribution share one edge. */
body.cr-school-retreats #cr-sar-quote blockquote { margin: 0; }
/* Attribution was computing #333 (a leaked default) → invisible on black. Force a legible light. */
body.cr-school-retreats #cr-sar-quote figcaption { color: rgba(255,255,255,.82); margin-top: 1.85rem; }
body.cr-school-retreats #cr-sar-quote figcaption b { color: #fff; }
/* Stat numbers: the .u span (the "6" in 1:6 and the "10" in 10 yrs) was rendering small
   (something shrinks .u) — force it to match the rest of the number so it reads. */
body.cr-school-retreats #cr-sar-safety .fact b .u { font-size: 1em; line-height: inherit; vertical-align: baseline; }

/* ── FORM section ── */
body.cr-school-retreats #cr-sar-form { background: #0a0a0a; color: #fff; }

/* ── RESPONSIVE: day rows, tracks, lineup stack on mobile ── */
@media (max-width: 920px) {
  /* Days collapse to rail | content: photo over text, rail spans both rows */
  body.cr-school-retreats #cr-sar-day-1 > .e-con-inner,
  body.cr-school-retreats #cr-sar-day-2 > .e-con-inner,
  body.cr-school-retreats #cr-sar-day-3 > .e-con-inner {
    grid-template-columns: 48px 1fr; column-gap: 1.1rem; row-gap: 1rem; align-items: start;
  }
  body.cr-school-retreats #cr-sar-day-1-rail,
  body.cr-school-retreats #cr-sar-day-2-rail,
  body.cr-school-retreats #cr-sar-day-3-rail { grid-column: 1; grid-row: 1 / span 2; }
  body.cr-school-retreats #cr-sar-day-1-media,
  body.cr-school-retreats #cr-sar-day-2-media,
  body.cr-school-retreats #cr-sar-day-3-media { grid-column: 2 !important; grid-row: 1; }
  body.cr-school-retreats #cr-sar-day-1-text,
  body.cr-school-retreats #cr-sar-day-2-text,
  body.cr-school-retreats #cr-sar-day-3-text { grid-column: 2 !important; grid-row: 2; text-align: left !important; }
  body.cr-school-retreats #cr-sar-day-2-text .d2-route__lede { margin-left: 0; }
  body.cr-school-retreats #cr-sar-day-2-text .d2-route__acts li { padding-left: 1.4rem; padding-right: 0; }
  body.cr-school-retreats #cr-sar-day-2-text .d2-route__acts li::before { left: 0; right: auto; }
  body.cr-school-retreats #cr-sar-lane-1,
  body.cr-school-retreats #cr-sar-lane-2,
  body.cr-school-retreats #cr-sar-lane-3,
  body.cr-school-retreats #cr-sar-lane-4,
  body.cr-school-retreats #cr-sar-lane-5 { min-height: clamp(300px, 60vw, 400px); }
  body.cr-school-retreats #cr-sar-tracks > .e-con-inner { grid-template-columns: 1fr; }
  body.cr-school-retreats #cr-sar-track-1 { grid-column: 1; grid-row: 2; }
  body.cr-school-retreats #cr-sar-track-2 { grid-column: 1; grid-row: 3; }
  body.cr-school-retreats #cr-sar-lineup > .e-con-inner { grid-template-columns: repeat(2, 1fr); }
  body.cr-school-retreats #cr-sar-lane-1 { grid-column: 1; }
  body.cr-school-retreats #cr-sar-lane-2 { grid-column: 2; }
  body.cr-school-retreats #cr-sar-lane-3 { grid-column: 1; }
  body.cr-school-retreats #cr-sar-lane-4 { grid-column: 2; }
  body.cr-school-retreats #cr-sar-lane-5 { grid-column: 1; }
  body.cr-school-retreats #cr-sar-safety > .e-con-inner { grid-template-columns: 1fr; }
  body.cr-school-retreats #cr-sar-safety > .e-con-inner > #cr-sar-quote { grid-column: 1; grid-row: 2; }
}
@media (max-width: 560px) {
  body.cr-school-retreats #cr-sar-lineup > .e-con-inner { grid-template-columns: 1fr; }
  body.cr-school-retreats #cr-sar-lane-1,
  body.cr-school-retreats #cr-sar-lane-2,
  body.cr-school-retreats #cr-sar-lane-3,
  body.cr-school-retreats #cr-sar-lane-4,
  body.cr-school-retreats #cr-sar-lane-5 { grid-column: 1; min-height: 300px; }
}

/* ============ FORM — STATUS / VALIDATION STATES ============ */
/* Base status region (hidden by default via HTML hidden attr) */
body.cr-school-retreats .form__status {
  grid-column: 1 / -1;
  padding: .75em 1em;
  border-radius: 8px;
  font-family: var(--font-body, 'Manrope', system-ui, sans-serif);
  font-size: .92rem;
  line-height: 1.55;
  margin-top: .25rem;
  /* AA on #0a0a0a dark bg: both colours exceed 4.5:1 */
}
body.cr-school-retreats .form__status.is-error {
  background: rgba(220, 38, 38, .15);
  color: #fca5a5; /* ~5.6:1 on #0a0a0a */
  border: 1px solid rgba(220, 38, 38, .4);
}
body.cr-school-retreats .form__status.is-ok {
  background: rgba(34, 197, 94, .12);
  color: #86efac; /* ~6.1:1 on #0a0a0a */
  border: 1px solid rgba(34, 197, 94, .35);
}

/* Invalid input highlight — keeps 44px touch height (inputs already have .78em padding) */
body.cr-school-retreats .field input[aria-invalid="true"],
body.cr-school-retreats .field select[aria-invalid="true"],
body.cr-school-retreats .field textarea[aria-invalid="true"] {
  border-color: #fca5a5;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .35);
}
