/* For schools and Partner pages. Builds on styles.css. */
.entry-hero{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(2rem,5vw,6rem);align-items:end;padding:clamp(6.5rem,16vh,10rem) var(--gut) clamp(3rem,8vh,5rem);overflow:clip}
.entry-hero .label{margin-bottom:clamp(1.2rem,3vh,2rem)}
.entry-hero h1{font-size:clamp(4rem,14.5vw,16rem);line-height:1.02;margin-bottom:clamp(1.5rem,4vh,3rem)}
.entry-hero .lede{max-width:46ch}
.entry-kit{align-self:center}

.terms{padding:var(--pad) var(--gut);overflow:hidden}
.terms-in{position:relative}
.terms-in>.label{margin-bottom:clamp(1.2rem,3vh,2rem)}
.terms h2{font-size:clamp(2.8rem,8.4vw,9.4rem);max-width:12ch}
.terms-list,.reach-list{margin-top:clamp(2.5rem,7vh,5rem);border-color:var(--paint-white);max-width:62rem}
.terms-list li,.reach-list li{border-color:var(--paint-white);grid-template-columns:minmax(0,.32fr) minmax(0,1fr)}
.terms-list strong,.reach-list strong{font-size:clamp(1.5rem,3vw,3rem);text-transform:none;letter-spacing:-.045em}
.reach-list{margin:clamp(3rem,8vh,6rem) var(--gut) 0;max-width:none}

.entry-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,21rem);gap:clamp(1.5rem,4vw,4rem);align-items:start;padding:var(--pad) var(--gut)}
.entry-form{display:grid;min-width:0;border-bottom:var(--lw) solid var(--ebony)}
.entry-sec{display:grid;grid-template-columns:clamp(3rem,9vw,9rem) minmax(0,1fr);gap:1rem clamp(1rem,3vw,3rem);padding:clamp(1.6rem,4vh,3rem) 0;border-top:var(--lw) solid var(--ebony)}
.entry-no{font-variation-settings:'wdth' 90;font-weight:700;font-size:clamp(3.4rem,9vw,9rem);line-height:1.02;color:var(--ink-day)}
.entry-fields{display:grid;gap:1.3rem;min-width:0}
.entry-fields h2{font-size:clamp(2.2rem,5vw,4.8rem)}
.entry-fields>p{max-width:58ch;font-weight:500}
.row{display:grid;grid-template-columns:1fr 1fr;gap:1.3rem clamp(1rem,2vw,2rem)}
.field{display:grid;gap:.3rem;min-width:0}
.field>span{font-family:var(--f-display);font-variation-settings:'wdth' 90;font-weight:700;font-size:.85rem;letter-spacing:.07em;text-transform:uppercase}
.field input,.field select,.field textarea{width:100%;min-height:3.1rem;padding:.55rem 0;border:0;border-bottom:3px solid var(--ebony);border-radius:0;background:none;font-size:1.2rem;font-weight:500;transition:border-color .25s ease}
.field textarea{resize:vertical;line-height:1.45}
.field select{appearance:none;background:linear-gradient(45deg,transparent 50%,var(--ebony) 50%) calc(100% - .6rem) 55%/.5rem .5rem no-repeat,linear-gradient(135deg,var(--ebony) 50%,transparent 50%) calc(100% - .1rem) 55%/.5rem .5rem no-repeat}
.field input::placeholder,.field textarea::placeholder{color:rgba(23,16,12,.38)}
.field input:focus,.field select:focus,.field textarea:focus{outline:0;border-bottom-color:var(--ebony)}
.field.bad input,.field.bad select{border-bottom-color:var(--pen)}
.field.bad>span::after{content:" / needed";color:var(--pen)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.team-block{padding-top:1.2rem;border-top:3px solid rgba(23,16,12,.16)}
.team-head{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:.9rem}
.team-head h3{font-size:clamp(1.8rem,3.4vw,3rem)}
.chips{display:flex;flex-wrap:wrap;gap:.5rem}
.chip{min-height:2.9rem;padding:.55rem 1rem;border-radius:4px;box-shadow:inset 0 0 0 3px var(--ebony);font-family:var(--f-display);font-variation-settings:'wdth' 90;font-weight:700;font-size:1.1rem;letter-spacing:-.045em;text-transform:lowercase;transition:transform .16s var(--ease-out),background-color .2s ease,color .2s ease}
.chip:active{transform:scale(.95)}
.chip[aria-pressed=true]{background:var(--c1);color:var(--on-c1)}
.err{color:var(--pen);font-weight:600}
.err:empty{display:none}
#sendBtn[disabled]{opacity:.55;pointer-events:none}
.entry-summary{position:sticky;top:5rem;display:grid;gap:1.1rem;padding:1.6rem;border-radius:4px;background:var(--ebony);color:var(--chalk)}
.entry-summary>.label{opacity:.7}
.entry-summary h3{font-size:clamp(1.8rem,2.6vw,2.6rem);overflow-wrap:anywhere;color:var(--ink-night)}
.sum-row{padding-top:1rem;border-top:3px solid rgba(238,240,234,.2)}
.sum-row>div{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;font-weight:600}
.sum-row b{font-weight:500;opacity:.65}
.sum-row p{margin-top:.4rem;opacity:.6;text-transform:lowercase}
.sum-row p.has{opacity:1}
.sum-note{font-size:.88rem;opacity:.65}

.partner-hero{padding-top:clamp(6.5rem,16vh,10rem)}
.reach .days-head{min-height:0}
.reach-label{margin:clamp(2.5rem,6vh,4rem) var(--gut) 0}
.board-3{grid-template-columns:minmax(0,.7fr) minmax(0,1.25fr) minmax(0,1.5fr);margin-top:1rem}
.next{padding:var(--pad) var(--gut);display:grid;gap:clamp(1.2rem,3vh,2rem);justify-items:start}
.next h2{font-size:clamp(3rem,9.4vw,10.4rem);max-width:12ch}
.next-host{display:flex;align-items:center;flex-wrap:wrap;gap:.8rem 1.4rem;margin-top:clamp(1rem,3vh,2rem);padding-top:1.6rem;border-top:var(--lw) solid var(--chalk);width:100%}
.next-host img{width:auto;height:clamp(2.6rem,5vw,4rem);object-fit:contain}
.next-note{font-weight:500;opacity:.8}

@media (max-width:900px){
  .board-3{grid-template-columns:1fr 1fr}
  .board-3>div:last-child{grid-column:1/-1}
  .entry-hero{grid-template-columns:1fr}
  .entry-kit{display:none}
  .entry-wrap{grid-template-columns:1fr}
  .entry-summary{position:static;order:-1}
  .terms .marks{opacity:.3}
  .terms-list li,.reach-list li{grid-template-columns:1fr}
}
@media (max-width:520px){
  .row{grid-template-columns:1fr}
  .entry-sec{grid-template-columns:1fr;gap:.6rem}
  .entry-no{font-size:3.4rem}
  .entry-actions .btn{width:100%;justify-content:space-between}
}

/* registration page: the eye goes to the headline, the three facts, then the button */
.entry-hero .hl{color:var(--ink-day)}
.entry-keys{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 clamp(1.2rem,3vh,2rem)}
.entry-keys li{padding:.55rem .95rem;border-radius:4px;background:var(--ebony);color:var(--paint-white);font-size:.95rem}
.entry-keys li:first-child{background:var(--c1);color:var(--on-c1)}
.entry-hero .hero-actions{align-items:center;gap:1.4rem}
.btn-primary{background:var(--c1);color:var(--on-c1)}
.btn-primary::before{background:var(--ebony)}
@media (hover:hover) and (pointer:fine){.btn-primary:hover{color:var(--paint-white)}}
@media (max-width:520px){.entry-hero .hero-actions{display:grid;justify-items:start}.entry-hero .btn-primary{width:100%;justify-content:space-between}}

/* registration hero: the team photo runs full width at the top, the headline and highlights sit under it */
.entry-hero{padding-top:clamp(4.6rem,9vh,5.6rem)}
.entry-photo{margin:0 calc(var(--gut) * -1) clamp(1.8rem,5vh,3rem);height:clamp(22rem,62vh,44rem);overflow:hidden;position:relative}
.entry-photo img{object-position:50% 22%}
.entry-photo::after{content:"";position:absolute;inset:auto 0 0 0;height:22%;background:linear-gradient(rgba(238,240,234,0),var(--chalk))}
.entry-hero h1{font-size:clamp(3.4rem,10vw,10rem)}
@media (max-width:900px){.entry-photo{height:auto;aspect-ratio:4/3.2}}

/* registration hero, photo behind the headline: the team photo fills the first screen and darkens
   towards the bottom, where the headline, the three facts and the register button sit in white */
.entry-hero{position:relative;min-height:100dvh;display:flex;flex-direction:column;justify-content:flex-end;padding:6rem var(--gut) clamp(2rem,6vh,3.6rem);overflow:hidden}
.entry-photo{position:absolute;inset:0;margin:0;height:auto;aspect-ratio:auto;z-index:0}
.entry-photo img{object-position:50% 28%}
.entry-photo::after{inset:0;height:auto;background:linear-gradient(180deg,rgba(18,18,18,.5) 0%,rgba(18,18,18,0) 16%,rgba(18,18,18,0) 34%,rgba(18,18,18,.72) 62%,rgba(18,18,18,.95) 100%)}
.entry-hero-copy{position:relative;z-index:1;max-width:60rem}
.entry-hero h1{font-size:clamp(3rem,7.4vw,7.6rem);margin-bottom:clamp(1rem,2.5vh,1.6rem)}
.entry-hero .hl{color:var(--ink-night)}
.entry-hero .lede{color:rgba(251,247,238,.86);font-size:clamp(1rem,.95rem + .4vw,1.25rem)}
.entry-keys li{background:rgba(251,247,238,.16);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.entry-keys li:first-child{background:var(--c1)}
@media (max-width:900px){
  .entry-photo{height:auto;aspect-ratio:auto}
  .entry-photo img{object-position:52% 30%}
  .entry-hero{padding-bottom:2rem}
}
@media (max-width:900px){
  .entry-photo::after{background:linear-gradient(180deg,rgba(18,18,18,.5) 0%,rgba(18,18,18,0) 12%,rgba(18,18,18,.15) 22%,rgba(18,18,18,.8) 40%,rgba(18,18,18,.96) 100%)}
}

/* hero text readability: a stronger, even shade over the whole photo, darker again behind the copy,
   plus a soft shadow under every line of text */
.entry-photo::after{background:
  linear-gradient(90deg,rgba(12,12,12,.78) 0%,rgba(12,12,12,.45) 50%,rgba(12,12,12,.15) 100%),
  linear-gradient(180deg,rgba(12,12,12,.55) 0%,rgba(12,12,12,.25) 25%,rgba(12,12,12,.6) 55%,rgba(12,12,12,.95) 100%)}
.entry-hero-copy{text-shadow:0 2px 18px rgba(0,0,0,.55),0 1px 3px rgba(0,0,0,.5)}
.entry-hero .label{color:#fff;opacity:1}
.entry-hero .lede{color:#fff}
.entry-keys li{background:rgba(12,12,12,.55);text-shadow:none}
.entry-keys li:first-child{background:var(--c1)}
.entry-hero .btn{text-shadow:none}
@media (max-width:900px){
  .entry-photo::after{background:linear-gradient(180deg,rgba(12,12,12,.55) 0%,rgba(12,12,12,.3) 14%,rgba(12,12,12,.72) 30%,rgba(12,12,12,.9) 48%,rgba(12,12,12,.97) 100%)}
}
.entry-hero{align-items:flex-start}

/* registration hero on the new palette */
.entry-hero .hl{color:var(--ink-night)}
