/* ============================================================================
   Educators — its own composition.
   The hero is one photograph of a real classroom, full bleed, with the words
   low on the left where the room is darkest. The three moves read across the
   page as a row, and the photograph beneath them runs edge to edge and crosses
   down into the next section, so the two interlock.
   ========================================================================== */

/* ---- hero ---- */
/* min-height, never height. With a fixed height and overflow:hidden this box
   does not grow when its content needs more room - it CLIPS, and because the
   content is bottom-aligned what gets cut is the TOP of the headline. On a
   1080p monitor a Chrome window with a bookmarks bar is about 860px tall, and
   "Stop Fighting Screen Disengagement." lost 81px of its first line behind the
   fixed header. Every width in the device sweep was paired with a full-screen
   height, so the sweep never saw it; the client did, in his own browser.
   max() keeps the 700px floor on a short screen. */
.ehero{position:relative;min-height:max(700px,88svh);overflow:hidden;background:var(--void);
  display:flex;align-items:flex-end}
.ehero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:54% 34%}
.ehero::after{content:"";position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(11,19,43,.93) 0%,rgba(11,19,43,.78) 34%,rgba(11,19,43,.18) 72%,rgba(11,19,43,.06) 100%),
    linear-gradient(0deg,rgba(11,19,43,.88) 0%,rgba(11,19,43,.1) 46%,rgba(11,19,43,.42) 100%)}
.ehero__in{position:relative;z-index:3;width:100%;padding-top:150px;padding-bottom:clamp(58px,5.6vw,104px)}
.ehero h1{margin:0 0 24px;max-width:15ch}
.ehero__sub{max-width:580px;margin:0 0 38px;color:rgba(224,225,221,.88)}
.ehero__acts{display:flex;gap:14px;flex-wrap:wrap}

/* ---- same curriculum, new ways in ---- */
/* no max-width here: this element is also a .wrap, which is margin:0 auto, so a
   width on it centres the whole heading away from the content below. The
   measure goes on the h2. */
.ways__head{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.ways__head h2{color:var(--ink);margin:0;max-width:13ch}
.ways__head h2 em{font-style:normal;color:var(--violet)}

.ways{margin-top:clamp(50px,5vw,92px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(36px,3.6vw,76px) clamp(28px,3.4vw,74px);align-items:start}
.way__n{font-family:'SG';font-weight:400;font-size:15px;letter-spacing:.14em;color:var(--violet);
  margin:0 0 20px;display:block}
.ways h3{font-family:'SG';font-weight:400;font-size:clamp(22px,1.78vw,31px);line-height:1.08;
  letter-spacing:-.018em;color:var(--ink);margin:0 0 14px;max-width:20ch}
.ways p:not(.way__n){margin:0;color:#404A63;max-width:52ch;font-size:clamp(16px,1.05vw,17.5px)}

/* the photograph runs edge to edge and crosses into the section below */
.wide{position:relative;z-index:2;margin-top:clamp(70px,7vw,130px);
  margin-bottom:clamp(-170px,-8.5vw,-110px);margin-left:40px;margin-right:40px}
.wide img{width:100%;height:clamp(300px,34vw,620px);object-fit:cover;object-position:50% 12%;
  box-shadow:0 60px 120px -50px rgba(11,19,43,.8)}

/* ---- two statements side by side on the dark ground ---- */
.pair{background:var(--void-2);position:relative;overflow:hidden;
  padding-top:clamp(150px,13vw,240px);padding-bottom:clamp(74px,6.4vw,118px)}
.pair .stars{opacity:.42}
.pair h2.d3{font-size:clamp(26px,2.3vw,40px);line-height:1.1}
.pair__g{position:relative;z-index:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(36px,5vw,110px);align-items:start}
.pair h2{color:#fff;margin:0 0 22px;max-width:12ch}
.pair h2.pair__h2{max-width:none}
.pair p{margin:0;color:rgba(224,225,221,.84);max-width:44ch}
.pair__note{display:block;margin-top:18px !important;font-size:15.5px;color:rgba(224,225,221,.6) !important}

@media (max-width:1200px){
  .ehero{height:auto;min-height:0}
  .ehero__in{padding-top:160px;padding-bottom:62px}
  .ehero img{position:absolute}
  .ways{grid-template-columns:1fr;gap:clamp(34px,4vw,54px)}
  .ways h3{max-width:none}
  .ways p:not(.way__n){max-width:54ch}
  .way__n{margin-bottom:12px}
  .pair__g{grid-template-columns:1fr;gap:clamp(40px,6vw,70px)}
  .pair h2{max-width:none}
  .pair{padding-top:clamp(150px,20vw,230px)}
}
@media (max-width:820px){
  .ehero__acts{display:grid;grid-template-columns:1fr;gap:12px;width:100%;max-width:420px}
  .ehero__acts .cta{text-align:center}
  .wide img{height:clamp(240px,52vw,340px)}
  .wide{margin-bottom:-70px}
  .pair{padding-top:120px}
}

/* ---- the game side, as a five row list (added 8 Nov with the buyer's brief) ---- */
.quest .q{display:grid;grid-template-columns:70px minmax(0,.86fr) minmax(0,1.4fr);
  gap:clamp(18px,2.6vw,46px);align-items:baseline;
  padding:clamp(24px,2.4vw,36px) 0;border-top:1px solid rgba(26,35,64,.13)}
.quest .q:first-child{border-top:0;padding-top:0}
.quest .q:last-child{padding-bottom:0}
.q__n{font-family:'SG';font-weight:400;font-size:15px;letter-spacing:.14em;
  color:var(--violet);margin:0}
.quest h3{font-family:'SG';font-weight:400;font-size:clamp(22px,1.72vw,30px);line-height:1.1;
  letter-spacing:-.018em;color:var(--ink);margin:0}
.quest p:not(.q__n){margin:0;color:#404A63;font-size:clamp(16px,1.08vw,18px);line-height:1.56}
@media (max-width:1200px){
  .quest .q{grid-template-columns:58px minmax(0,1fr);gap:12px clamp(14px,2vw,26px);
    align-items:start}
  .quest h3{grid-column:2;margin-bottom:10px}
  .quest p:not(.q__n){grid-column:2;max-width:62ch}
}
@media (max-width:820px){
  .quest .q{grid-template-columns:minmax(0,1fr);gap:10px}
  .q__n{margin-bottom:4px}
  .quest h3{grid-column:1}
  .quest p:not(.q__n){grid-column:1}
}

/* ---- the standards head the quest section never had (added 9 Nov, Don's
       confirmation that the Minnesota K-12 Academic Standards are considered
       before a quest is generated). Heading left, paragraph right, so the
       paragraph is read in a column of its own rather than running the full
       1584px of content width. ---- */
.quest__head{display:grid;grid-template-columns:70px minmax(0,.86fr) minmax(0,1.4fr);
  gap:clamp(18px,2.6vw,46px);align-items:start}
.quest__head h2{grid-column:1 / 3;color:var(--ink);margin:0}
.quest__head .lede{grid-column:3}
.quest__head h2 em{font-style:normal;color:var(--violet)}
.quest__head .lede{margin:0;color:#404A63}
.quest__rows{margin-top:clamp(48px,4.8vw,90px)}
@media (max-width:1200px){
  .quest__head{grid-template-columns:minmax(0,1fr);gap:18px}
  .quest__head .lede{max-width:62ch}
}

