/* Styles for the redesigned Home, Join Us, Sponsors, About and Summer Camp pages. Loaded after site.css. */

.hp-hero { position: relative; min-height: min(76vh, 600px); display: flex; align-items: center; background: #000; overflow: hidden; }
.hp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hp-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.9) 25%, rgba(0,0,0,.45) 50%, rgba(0,0,0,0) 70%); }
.hp-hero-inner { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.hp-eyebrow { font: italic 700 14px/1 var(--tech); letter-spacing: 1.5px; color: var(--orange); margin-bottom: 14px; }
.hp-hero h1 { font-size: clamp(38px, 4.6vw, 58px); font-style: italic; color: #fff; }
.hp-hero-sub { max-width: 460px; margin: 16px 0 26px; color: #fff; font-size: 18px; }

.hp-stats { background: var(--orange-deep); }
.hp-stats ul { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; padding-top: 22px; padding-bottom: 22px; }
.hp-stats li { text-align: center; color: #fff; font: italic 600 14px/1.2 var(--tech); letter-spacing: .6px; text-transform: uppercase; }
.hp-stats li + li { border-left: 1px solid rgba(255,255,255,.35); }
.hp-stats strong { display: block; font: italic 700 40px/1 var(--heading); margin-bottom: 6px; }

.hp-title { font-size: clamp(30px, 4vw, 40px); font-style: italic; color: #fff; text-align: center; margin-bottom: 30px; }
.hp-title::after { content: ""; display: block; width: 64px; height: 4px; background: var(--orange-bright); margin: 14px auto 0; }
.hp-title.hp-left { text-align: left; }
.hp-title.hp-left::after { margin-left: 0; }

.hp-paths { background: var(--dark); padding: 56px 0; }
.hp-path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hp-path { position: relative; display: block; aspect-ratio: 5 / 6; overflow: hidden; text-decoration: none; color: #fff; background: #000; }
.hp-path img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .4s; opacity: .8; }
.hp-path::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.9) 10%, rgba(0,0,0,0) 60%); }
.hp-path-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px; border-bottom: 4px solid var(--orange-bright); }
.hp-path strong { display: block; font: italic 700 23px/1.1 var(--heading); }
.hp-path small { display: block; font-size: 14px; color: var(--light); margin-top: 6px; padding-right: 30px; }
.hp-path svg { position: absolute; right: 16px; bottom: 18px; width: 24px; height: 24px; fill: var(--orange-bright); transition: transform .2s; }
.hp-path:hover img, .hp-path:focus-visible img { transform: scale(1.05); opacity: 1; }
.hp-path:hover svg { transform: translateX(4px); }

.hp-do { background: var(--black); padding: 56px 0; }
.hp-do-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hp-do img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 16px; }
.hp-num { font: italic 700 14px/1 var(--tech); color: var(--orange); letter-spacing: 1px; }
.hp-do h3 { color: #fff; font-size: 26px; font-style: italic; margin: 6px 0 8px; }

.hp-season { background: var(--mid); padding: 56px 0 60px; }
.hp-timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.hp-timeline li { position: relative; padding-top: 30px; border-top: 3px solid rgba(255,255,255,.35); }
.hp-timeline li::before { content: ""; position: absolute; top: -11px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--orange-bright); border: 3px solid var(--mid); }
.hp-timeline span { font: italic 700 13px/1 var(--tech); letter-spacing: 1px; color: #ffd2b0; }
.hp-timeline h3 { color: #fff; font-size: 22px; font-style: italic; margin: 8px 0 8px; }
.hp-timeline p { color: #f2f2f2; font-size: 15px; }

.hp-why { background: var(--dark); padding: 56px 0; }
.hp-why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hp-why-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hp-first { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); }
.hp-first img { width: 64px; flex: none; background: #fff; padding: 8px; border-radius: 6px; }
.hp-first p { font-size: 14px; color: var(--light); }
.hp-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--orange); text-decoration: none; white-space: nowrap; }
.hp-link svg { width: 16px; height: 16px; fill: currentColor; }
.hp-why-list { list-style: none; display: grid; gap: 20px; }
.hp-why-list li { padding-left: 20px; border-left: 4px solid var(--orange-bright); }
.hp-why-list h3 { color: #fff; font-size: 21px; margin-bottom: 4px; }

.hp-sponsors { background: #fff; color: #222; padding: 52px 0; text-align: center; }
.hp-sponsors h2 { font-size: clamp(28px, 3.6vw, 36px); font-style: italic; color: #111; }
.hp-sponsors p { color: #8f3b08; margin: 8px 0 28px; }

.hp-cta { position: relative; overflow: hidden; background: #000; padding: 80px 0; text-align: center; }
.hp-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.hp-cta-inner { position: relative; }
.hp-cta h2 { font-size: clamp(34px, 5vw, 54px); font-style: italic; color: #fff; margin-bottom: 26px; }
.hp-cta .btn-row { justify-content: center; }

@media (max-width: 960px) {
  .hp-hero::before { background: rgba(0,0,0,.65); }
  .hp-path-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-timeline { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .hp-why-layout { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hp-stats ul { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 20px; }
  .hp-stats li { flex: 0 0 33.333%; }
  .hp-stats li + li { border-left: 0; }
  .hp-stats strong { font-size: 32px; }
  .hp-do-grid { grid-template-columns: 1fr; }
  .hp-path-grid { gap: 10px; }
  .hp-path strong { font-size: 18px; padding-right: 24px; }
  .hp-path-text { padding: 14px 12px; }
  .hp-path svg { right: 10px; bottom: 16px; width: 20px; height: 20px; }
  .hp-path small { display: none; }
  .hp-timeline { grid-template-columns: 1fr; }
}

/* Join Us page */
.jp-steps { background: var(--orange-deep); }
.jp-steps ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.jp-steps li { display: flex; align-items: center; gap: 14px; color: #fff; font-size: 15px; }
.jp-steps span { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; font: italic 700 22px/1 var(--heading); }
.jp-steps strong { display: block; font: italic 700 19px/1.2 var(--heading); }

.jp-foryou { background: var(--dark); padding: 56px 0; }
.jp-foryou-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.jp-foryou-layout > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.jp-lead { color: #fff; margin-bottom: 12px; }
.jp-checks { list-style: none; display: grid; gap: 10px; }
.jp-checks li { display: flex; gap: 10px; align-items: flex-start; }
.jp-checks svg { flex: none; width: 22px; height: 22px; fill: var(--orange-bright); margin-top: 2px; }
.jp-callout { margin-top: 24px; padding: 16px 18px; background: var(--black); border-left: 4px solid var(--orange-bright); color: #fff; }
.jp-callout strong { color: var(--orange); }

.jp-roles { background: var(--black); padding: 56px 0; }
.jp-roles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.jp-team { background: var(--dark); }
.jp-team img { width: 100%; height: 280px; object-fit: cover; }
.jp-team h3 { color: var(--orange); font-size: 22px; font-style: italic; padding: 22px 24px 4px; }
.jp-team ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; padding: 14px 24px 26px; }
.jp-team li { border-left: 3px solid var(--orange-bright); padding-left: 12px; }
.jp-team strong { display: block; color: #fff; font: 600 17px/1.2 var(--heading); }
.jp-team span { font-size: 14px; opacity: .85; }

.jp-timeline { grid-template-columns: repeat(3, 1fr); }

.jp-faq { padding: 56px 0; }
.jp-faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.jp-faq a { color: var(--orange); }

.jp-cta { padding: 90px 0; }
.jp-cta blockquote { max-width: 640px; margin: 0 auto 28px; }
.jp-cta blockquote p { font: italic 600 clamp(24px, 3.2vw, 34px)/1.25 var(--heading); color: #fff; }
.jp-cta cite { display: block; margin-top: 12px; font-style: normal; color: var(--orange); }

@media (max-width: 960px) {
  .jp-foryou-layout, .jp-roles-grid, .jp-faq-layout { grid-template-columns: 1fr; }
  .jp-faq-layout { gap: 10px; }
  .jp-timeline { grid-template-columns: 1fr; row-gap: 36px; }
}
@media (max-width: 680px) {
  .jp-steps ol { grid-template-columns: 1fr; gap: 14px; }
  .jp-team ul { grid-template-columns: 1fr; }
  .jp-team img { height: 220px; }
}

/* Sponsors page */
.sp-hero { display: grid; grid-template-columns: 5fr 6fr; align-items: stretch; }
.sp-hero .hp-hero-img { position: static; grid-column: 2; grid-row: 1; object-position: right center; }
.sp-hero::before { inset: 0 auto 0 calc(5 / 11 * 100% - 1px); width: 40%; background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.85) 15%, rgba(0,0,0,.6) 35%, rgba(0,0,0,.32) 58%, rgba(0,0,0,.12) 80%, rgba(0,0,0,0) 100%); }
.sp-hero .hp-hero-inner { grid-column: 1; grid-row: 1; align-self: center; max-width: none; padding-left: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); margin-right: -100px; }
.sp-wall .logo-grid { margin-bottom: 0; }
.sp-support { background: var(--black); padding: 56px 0; }
.sp-support img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 16px; }
.sp-support h3 { color: #fff; font-size: 24px; font-style: italic; margin: 0 0 8px; }
.sp-trailer { background: var(--mid); padding: 56px 0; }
.sp-trailer-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sp-trailer-layout > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sp-trailer p + p { margin-top: 14px; }
.sp-trailer p { color: #f2f2f2; }
.sp-badge { display: inline-block; background: var(--orange-deep); color: #fff !important; font: italic 700 13px/1 var(--tech); letter-spacing: 1px; padding: 7px 10px; margin-bottom: 14px; }
.sp-cta-text { max-width: 560px; margin: -10px auto 24px; color: #fff; }
@media (max-width: 960px) {
  .sp-hero { grid-template-columns: 1fr; }
  .sp-hero .hp-hero-img { grid-column: 1; height: 300px; }
  .sp-hero::before { display: none; }
  .sp-hero .hp-hero-inner { grid-row: 2; margin: 0; padding: 32px 24px 40px; }
  .sp-trailer-layout { grid-template-columns: 1fr; }
}

/* About page */
.ab-story { background: var(--dark); padding: 56px 0; }
.ab-story-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ab-story-layout > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; }
.ab-story p + p { margin-top: 14px; }
.ab-facts { list-style: none; padding: 0; margin-bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); }
.ab-facts li { font: italic 600 13px/1.2 var(--tech); letter-spacing: .6px; text-transform: uppercase; color: var(--light); }
.ab-facts strong { display: block; font: italic 700 34px/1 var(--heading); color: var(--orange); margin-bottom: 6px; }

.ab-mission { background: var(--black); padding: 56px 0; text-align: center; }
.ab-mission blockquote { max-width: 820px; margin: 0 auto; }
.ab-mission blockquote p { font: italic 600 clamp(21px, 2.6vw, 28px)/1.35 var(--heading); color: #fff; }
.ab-mission .hp-first { justify-content: center; text-align: left; max-width: 620px; margin: 32px auto 0; }

.ab-culture { background: var(--mid); padding: 56px 0; }
.ab-lead { text-align: center; color: #fff; margin: -14px 0 30px; font-size: 18px; }
.ab-culture-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.ab-culture-grid li { display: flex; gap: 16px; align-items: flex-start; background: var(--dark); padding: 18px 20px; border-left: 4px solid var(--orange-bright); }
.ab-culture-grid span { flex: none; font: italic 700 26px/1 var(--heading); color: var(--orange); min-width: 34px; }
.ab-culture-grid p { color: #f2f2f2; font-size: 16px; }

.ab-wins { padding: 56px 0; }

.ab-team { background: var(--dark); padding: 56px 0; }
.ab-team-photo { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; margin-bottom: 32px; }
.ab-team-lists { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.ab-team h3 { color: var(--orange); font-size: 24px; font-style: italic; margin-bottom: 14px; }
.ab-names { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; }
.ab-mentors { grid-template-columns: 1fr; }
.ab-names li { color: #fff; font: 500 17px/1.3 var(--heading); padding-left: 12px; border-left: 3px solid var(--orange-bright); }
.ab-tag { display: inline-block; margin-left: 6px; font: italic 600 11px/1 var(--tech); letter-spacing: .6px; text-transform: uppercase; color: var(--orange); border: 1px solid var(--orange); padding: 3px 5px; vertical-align: 2px; }

@media (max-width: 960px) {
  .ab-story-layout, .ab-culture-grid, .ab-team-lists { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .ab-facts { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .ab-names { grid-template-columns: repeat(2, 1fr); }
  .ab-mentors { grid-template-columns: 1fr; }
  .ab-mission .hp-first { flex-direction: column; text-align: center; }
  .ab-team-photo { aspect-ratio: 4 / 3; }
}

.ab-hero { position: relative; background: #000; overflow: hidden; min-height: min(80vh, 640px); display: flex; align-items: flex-end; }
.ab-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; } /* keeps faces above the title on wide screens */
@media (min-width: 1700px) { .ab-hero-img { object-position: center 50%; } }
.ab-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.75) 32%, rgba(0,0,0,0) 60%); }
.ab-hero-inner { position: relative; z-index: 2; text-align: center; padding-top: 48px; padding-bottom: 48px; }
.ab-hero h1 { font-size: clamp(38px, 4.6vw, 58px); font-style: italic; color: #fff; }
.ab-hero .hp-hero-sub { margin: 12px auto 22px; max-width: 560px; }
.ab-hero .btn-row { justify-content: center; }
.ab-gallery { padding: 56px 0; }
.ab-gallery .gallery-track { padding: 0; scroll-padding: 0; }
.ab-gallery .gallery-arrow { margin-top: 14px; }
@media (max-width: 680px) {
  .ab-hero { display: block; min-height: 0; }
  .ab-hero-img { position: static; height: 240px; object-position: center 80%; }
  .ab-hero::before { display: none; }
  .ab-hero-inner { padding: 28px 24px 40px; }
}

/* Summer Camp page (also uses the About story styles) */
.cp-hero .ab-hero-img { object-position: center 20%; }
.cp-intro-photo { aspect-ratio: 4 / 3 !important; object-position: center 30% !important; }
.cp-facts { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 40px; }
.cp-facts strong { white-space: nowrap; }
#week { scroll-margin-top: 90px; }
.cp-block { padding: 56px 0; }
.cp-dark { background: var(--dark); }
.cp-black { background: var(--black); }
.cp-block-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: center; }
.cp-flip .cp-block-layout { grid-template-columns: 2fr 1fr; }
.cp-flip .cp-block-text { order: 2; }
.cp-block h2 { color: #fff; font-size: clamp(28px, 3.4vw, 36px); font-style: italic; margin: 8px 0 12px; }
.cp-block h2::after { content: ""; display: block; width: 64px; height: 4px; background: var(--orange-bright); margin-top: 14px; }
.cp-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 3 / 2; }
.cp-mosaic img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.cp-mosaic img:first-child { grid-row: span 2; }
.cp-mosaic.two { grid-template-rows: 1fr; }
.cp-mosaic.two img:first-child { grid-row: auto; }
@media (max-width: 960px) {
  .cp-block-layout { grid-template-columns: 1fr; gap: 24px; }
  .cp-flip .cp-block-layout { grid-template-columns: 1fr; }
  .cp-flip .cp-block-text { order: 0; }
}
@media (max-width: 680px) {
  .cp-facts { grid-template-columns: repeat(3, auto); column-gap: 24px; }
  .cp-facts strong { font-size: 28px; }
  .cp-mosaic { aspect-ratio: 1 / 1; gap: 8px; }
  .cp-mosaic.two { aspect-ratio: 2 / 1; }
}

/* Summer Camp hero: orange band with a photo collage */
.cp-hero2 { background: var(--orange-deep); padding: 64px 0 72px; overflow: hidden; }
.cp-hero2-layout { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: center; }
.cp-eyebrow { font: italic 700 14px/1.2 var(--tech); letter-spacing: 1.5px; color: #ffd9bf; margin-bottom: 14px; }
.cp-hero2 h1 { font-size: clamp(38px, 4.6vw, 58px); font-style: italic; color: #fff; line-height: 1.05; }
.cp-hero2 h1 span { display: block; color: #111; }
.cp-hero2-sub { color: #fff; font-size: 18px; max-width: 440px; margin: 16px 0 26px; }
.cp-collage { position: relative; aspect-ratio: 6 / 5; }
.cp-collage figure { position: absolute; margin: 0; background: #fff; padding: 8px; box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.cp-collage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cp-c1 { left: 0; top: 16%; width: 68%; aspect-ratio: 3 / 2; transform: rotate(-3deg); z-index: 2; }
.cp-c1 img { object-position: center 20%; }
.cp-c2 { right: 2%; bottom: 0; width: 52%; aspect-ratio: 3 / 2; transform: rotate(4deg); z-index: 3; }
.cp-c3 { right: 0; top: 0; width: 42%; aspect-ratio: 4 / 5; transform: rotate(6deg); z-index: 1; }
.cp-c3 img { object-position: center top; }
.cp-sticker { position: absolute; left: 4%; bottom: 2%; z-index: 4; width: 116px; height: 116px; border-radius: 50%; background: #111; color: #fff; display: grid; place-content: center; text-align: center; font: italic 700 12px/1.15 var(--tech); letter-spacing: .8px; padding: 0 14px; transform: rotate(-10deg); box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.cp-sticker strong { display: block; font: italic 700 40px/1 var(--heading); color: var(--orange); }

.cp-intro-inner { max-width: 780px; text-align: center; }
.cp-intro .cp-facts { justify-content: center; }
.cp-cta { background: var(--black); }

@media (max-width: 960px) {
  .cp-hero2-layout { grid-template-columns: 1fr; gap: 40px; }
  .cp-collage { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 680px) {
  .cp-hero2 { padding: 40px 0 48px; }
  .cp-collage figure { padding: 5px; }
  .cp-sticker { width: 88px; height: 88px; font-size: 10px; padding: 0 10px; }
  .cp-sticker strong { font-size: 30px; }
}
