:root {
    --cobalt:    #1F3A93;
    --cobalt-75: #566BAD;
    --cobalt-50: #8F9CC8;
    --cobalt-25: #C6CDE3;
    --cobalt-10: #E8EBFA;
    --charcoal:  #414143;
    --char-75:   #706F71;
    --char-50:   #9F9FA0;
    --char-25:   #CFCFCF;
    --yellow:    #FDB82C;

    --ela:     #F57430;  /* orange. Subject colours match the live pages, which are the
                          authority; an earlier mapping here had ela pink / math teal /
                          science green / ss orange and was wrong. */
    --math:    #3E9E72;
    --science: #00B2A9;
    --ss:      #FF366D;

    --ela-fill:     #FDEBE0;
    --math-fill:    #E2F3EA;
    --science-fill: #DFF5F3;
    --ss-fill:      #FFE9EF;

    --ground:   #FFFFFF;
    --band:     #F5F7FD;
    --surface:  #FFFFFF;
    --ink:      var(--charcoal);
    --ink-soft: var(--char-75);
    --ink-mute: #86868B;
    --rule:     #DFE3F0;
    --head:     var(--cobalt);
    --link:     var(--cobalt);
    --shadow:   0 1px 2px rgba(31,58,147,.05), 0 8px 24px -12px rgba(31,58,147,.18);
  }

  @media (prefers-color-scheme: dark) {
    :root {
      --ground:   #14161F;
      --band:     #191C27;
      --surface:  #1D2130;
      --ink:      #DDDFE8;
      --ink-soft: #A8ACBC;
      --ink-mute: #82869A;
      --rule:     #2C3145;
      --head:     #9DB0EE;
      --link:     #9DB0EE;
      --cobalt-10: #232840;
      --cobalt-25: #3A4266;
      --cobalt-50: #6C7BB4;
      --shadow:   0 1px 2px rgba(0,0,0,.3), 0 10px 28px -14px rgba(0,0,0,.65);

      --ela:     #FF9257;
      --math:    #63C494;
      --science: #2FCFC5;
      --ss:      #FF6D94;

      --ela-fill:     #392318;
      --math-fill:    #17301F;
      --science-fill: #10312F;
      --ss-fill:      #3A2029;
    }
  }

  :root[data-theme="dark"] {
    --ground:   #14161F;
    --band:     #191C27;
    --surface:  #1D2130;
    --ink:      #DDDFE8;
    --ink-soft: #A8ACBC;
    --ink-mute: #82869A;
    --rule:     #2C3145;
    --head:     #9DB0EE;
    --link:     #9DB0EE;
    --cobalt-10: #232840;
    --cobalt-25: #3A4266;
    --cobalt-50: #6C7BB4;
    --shadow:   0 1px 2px rgba(0,0,0,.3), 0 10px 28px -14px rgba(0,0,0,.65);
    --ela:     #FF9257;
    --math:    #63C494;
    --science: #2FCFC5;
    --ss:      #FF6D94;
    --ela-fill:     #392318;
    --math-fill:    #17301F;
    --science-fill: #10312F;
    --ss-fill:      #3A2029;
  }

  :root[data-theme="light"] {
    --ground:   #FFFFFF;
    --band:     #F5F7FD;
    --surface:  #FFFFFF;
    --ink:      #414143;
    --ink-soft: #706F71;
    --ink-mute: #86868B;
    --rule:     #DFE3F0;
    --head:     #1F3A93;
    --link:     #1F3A93;
    --cobalt-10: #E8EBFA;
    --cobalt-25: #C6CDE3;
    --cobalt-50: #8F9CC8;
    --shadow:   0 1px 2px rgba(31,58,147,.05), 0 8px 24px -12px rgba(31,58,147,.18);
    --ela:     #F57430;
    --math:    #3E9E72;
    --science: #00B2A9;
    --ss:      #FF366D;
    --ela-fill:     #FDEBE0;
    --math-fill:    #E2F3EA;
    --science-fill: #DFF5F3;
    --ss-fill:      #FFE9EF;
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: "Roboto", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3, h4 {
    font-family: "Raleway", Arial, sans-serif;
    color: var(--head);
    text-wrap: balance;
    margin: 0;
  }

  a { color: var(--link); }

  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
  .wrap.wide { max-width: 1400px; }
  .narrow { max-width: 720px; }

  .band { background: var(--band); }

  section { padding: 64px 0; border-top: 1px solid var(--rule); }
  section:first-of-type { border-top: 0; }

  .eyebrow {
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin: 0 0 10px;
  }

  h2.sec {
    font-weight: 700;
    font-size: clamp(26px, 3.4vw, 34px);
    letter-spacing: -.01em;
    margin-bottom: 8px;
  }

  .sec-lede {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 62ch;
    margin: 0 0 34px;
  }

  /* ---------- hero ---------- */

  .hero { padding: 72px 0 58px; }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 48px;
    align-items: center;
  }

  .initiative-name {
    font-weight: 800;
    font-size: clamp(58px, 11vw, 108px);
    line-height: .92;
    letter-spacing: -.035em;
    text-transform: uppercase;
    margin: 0 0 4px;
  }
  .initiative-name .un { color: var(--cobalt-50); }

  .dq {
    font-family: "Raleway", Arial, sans-serif;
    font-weight: 600;
    font-size: clamp(19px, 2.4vw, 25px);
    line-height: 1.32;
    color: var(--head);
    margin: 14px 0 16px;
    max-width: 20ch;
  }

  .hero p.product {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 46ch;
    margin: 0 0 24px;
  }

  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
  .chip {
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 5px 13px;
    border: 1.5px solid currentColor;
  }
  .chip.ela { color: var(--ela); }
  .chip.math { color: var(--math); }
  .chip.science { color: var(--science); }
  .chip.ss { color: var(--ss); }

  .btn {
    display: inline-block;
    font-family: "Raleway", Arial, sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .01em;
    background: var(--yellow);
    color: #2B2B2D;
    text-decoration: none;
    border: 0;
    border-radius: 6px;
    padding: 14px 28px;
    cursor: pointer;
    box-shadow: 0 2px 0 rgba(0,0,0,.14);
  }
  .btn:hover { filter: brightness(1.06); }
  .btn:focus-visible { outline: 3px solid var(--head); outline-offset: 3px; }
  .btn.secondary {
    background: transparent;
    color: var(--head);
    border: 1.5px solid var(--cobalt-25);
    box-shadow: none;
  }
  .btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
  .btn-note { font-size: 15px; color: var(--ink-mute); }

  .ph {
    border: 1.5px dashed var(--cobalt-25);
    background: var(--cobalt-10);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: var(--head);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .04em;
    line-height: 1.5;
  }
  .ph.banner { aspect-ratio: 4 / 3; }

  .calendar {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid var(--rule);
  }

  .hero-logo { display: flex; justify-content: center; }
  .hero-logo img {
    width: 100%;
    max-width: 460px;
    height: auto;
    border-radius: 14px;
    display: block;
  }

  /* ---------- contest strip ---------- */

  .contest-strip { background: var(--cobalt); color: #fff; padding: 14px 0; }
  .contest-strip .wrap {
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; flex-wrap: wrap;
  }
  .cs-dates { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
  .cs-label {
    font-family: "Roboto", Arial, sans-serif;
    font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
    color: var(--yellow);
  }
  .cs-window { font-size: 16.5px; color: #EDF0FC; }
  .cs-window b { font-weight: 500; color: #fff; }
  .cs-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .btn-portal { padding: 10px 20px; font-size: 15px; }
  .cs-link { color: #C6CDE3; font-size: 15.5px; text-decoration: underline; text-underline-offset: 3px; }
  .cs-link:hover { color: #fff; }

  /* ---------- at a glance ---------- */

  .glance { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; margin-bottom: 24px; max-width: 900px; }
  .grow {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px solid var(--rule);
  }
  .grow:first-child { border-top: 1px solid var(--rule); }
  .grow .k {
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    flex: 0 0 auto;
    min-width: 170px;
  }
  .grow .lead {
    flex: 1 1 auto;
    border-bottom: 1.5px dotted var(--cobalt-25);
    transform: translateY(-4px);
    min-width: 12px;
  }
  .grow .v { flex: 0 1 auto; text-align: right; max-width: 62%; }
  .grow .v em { font-style: normal; color: var(--ink-mute); }

  .alacarte {
    max-width: 900px;
    font-family: "Raleway", Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(18px, 2.2vw, 21px);
    color: var(--head);
    background: var(--cobalt-10);
    border-radius: 8px;
    padding: 18px 22px;
    margin: 0;
    text-wrap: balance;
  }

  /* ---------- subject cards ---------- */

  .cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .card {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-top: 4px solid var(--accent);
    border-radius: 10px;
    padding: 26px 26px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
  }
  .card.ela     { --accent: var(--ela);     --fill: var(--ela-fill); }
  .card.math    { --accent: var(--math);    --fill: var(--math-fill); }
  .card.science { --accent: var(--science); --fill: var(--science-fill); }
  .card.ss      { --accent: var(--ss);      --fill: var(--ss-fill); }

  .card h3 {
    font-weight: 800;
    font-size: 16px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 3px;
  }
  .anchor {
    font-family: "Raleway", Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.25;
    color: var(--head);
    margin: 0 0 6px;
    text-wrap: balance;
  }
  .framework {
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rule);
  }
  .topic {
    display: block;
    font-size: 15px;
    line-height: 1.4;
    color: var(--ink-soft);
    margin-top: 3px;
  }

  ol.lessons { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 1px; }
  ol.lessons li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 9px 8px 9px 6px;
    border-radius: 5px;
    font-size: 16px;
    line-height: 1.4;
  }
  ol.lessons li .n {
    font-family: "Raleway", Arial, sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.5;
    color: var(--accent);
    background: var(--fill);
    border-radius: 4px;
    text-align: center;
    padding: 2px 0;
  }
  ol.lessons li.shared { background: var(--band); }
  ol.lessons li.shared .n { color: var(--ink-mute); background: transparent; border: 1px solid var(--rule); }
  ol.lessons li.shared .t { color: var(--ink-soft); }
  .shared-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-left: 6px;
    white-space: nowrap;
  }

  .contributes {
    margin-top: auto;
    border-top: 1px solid var(--rule);
    padding-top: 16px;
    font-size: 15.5px;
    line-height: 1.45;
    color: var(--ink-soft);
  }
  .contributes .lbl {
    display: block;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
  }

  /* ---------- video ---------- */

  .video-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }
  .video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    background: var(--cobalt);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #C6CDE3;
    font-size: 14px;
    letter-spacing: .04em;
  }
  .video-embed .play {
    width: 74px; height: 74px;
    border-radius: 50%;
    background: var(--yellow);
    position: relative;
  }
  .video-embed .play::after {
    content: "";
    position: absolute;
    top: 50%; left: 54%;
    transform: translate(-50%, -50%);
    border-left: 24px solid #2B2B2D;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
  }

  /* ---------- two-col ---------- */

  .two { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px; }

  ul.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
  ul.ticks li { position: relative; padding-left: 26px; font-size: 17px; }
  ul.ticks li::before {
    content: "";
    position: absolute;
    left: 4px; top: .62em;
    width: 8px; height: 8px;
    border-radius: 2px;
    background: var(--cobalt-50);
  }

  h3.sub {
    font-weight: 700;
    font-size: 20px;
    margin: 0 0 14px;
  }

  .callout {
    background: var(--cobalt-10);
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 22px;
    font-size: 15px;
    color: var(--ink);
  }

  /* ---------- winners ---------- */

  .three { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
  .four { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
  .winner .ph { aspect-ratio: 4 / 3; margin-bottom: 10px; }
  .winner .place {
    font-family: "Raleway", Arial, sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--head);
  }
  .winner .who { font-size: 16px; color: var(--ink-soft); }

  /* ---------- winners slider ---------- */

  .slide-year {
    font-family: "Raleway", Arial, sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--head);
    margin: 0 0 18px;
  }
  .slider-nav {
    display: flex; align-items: center; justify-content: center; gap: 18px;
    margin-top: 26px;
  }
  .arrow {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--cobalt-25);
    background: transparent;
    color: var(--head);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }
  .arrow:hover { border-color: var(--head); }
  .arrow:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
  .dots { display: flex; gap: 9px; }
  .dot {
    width: 10px; height: 10px; padding: 0;
    border-radius: 50%;
    border: 0;
    background: var(--cobalt-25);
    cursor: pointer;
  }
  .dot.is-on { background: var(--head); }
  .dot:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

  /* ---------- request ---------- */

  .form-shell {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 26px;
    box-shadow: var(--shadow);
  }
  .field { margin-bottom: 14px; }
  .field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 5px;
  }
  .field .box {
    border: 1px solid var(--rule);
    border-radius: 5px;
    padding: 10px 12px;
    color: var(--ink-mute);
    font-size: 16px;
    background: var(--ground);
  }
  .field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }

  .jf-label {
    font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink-mute); margin: 0 0 14px;
  }
  .jf-label span { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0; text-transform: none; font-size: 12px; }
  .jf-frame { border: 1.5px dashed var(--cobalt-25); border-radius: 8px; padding: 18px; }
  .jf-note { font-size: 14px; color: var(--ink-mute); margin: 14px 0 0; }

  footer.pagefoot {
    padding: 34px 0 60px;
    color: var(--ink-mute);
    font-size: 15px;
    border-top: 1px solid var(--rule);
  }

  /* ---------- sticky cta ---------- */

  .sticky {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: var(--cobalt);
    color: #fff;
    padding: 12px 0;
    z-index: 40;
    transform: translateY(110%);
    transition: transform .28s ease;
    box-shadow: 0 -6px 24px -10px rgba(0,0,0,.4);
  }
  .sticky.show { transform: translateY(0); }
  .sticky .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
  .sticky .msg { font-family: "Raleway", Arial, sans-serif; font-weight: 600; font-size: 17px; }
  .sticky .msg .u { color: var(--cobalt-25); }

  @media (prefers-reduced-motion: reduce) {
    .sticky { transition: none; }
  }

  /* ---------- responsive ---------- */

  @media (max-width: 1180px) {
    .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  }
  @media (max-width: 860px) {
    .hero-grid { grid-template-columns: minmax(0,1fr); gap: 30px; }
    .ph.banner { aspect-ratio: 16 / 9; }
    .two { grid-template-columns: minmax(0,1fr); gap: 32px; }
    .video-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
    .three, .four { grid-template-columns: minmax(0,1fr); }
  }
  @media (max-width: 620px) {
    body { font-size: 16.5px; }
    section { padding: 48px 0; }
    .cards { grid-template-columns: minmax(0,1fr); }
    .grow { flex-wrap: wrap; }
    .grow .k { min-width: 100%; }
    .grow .lead { display: none; }
    .grow .v { text-align: left; max-width: 100%; }
    .field-row { grid-template-columns: minmax(0,1fr); }
  }


  /* ---------- More Opportunities additions ---------- */

    .wrap { max-width: 1036px; }

  :root { --pin-yjam: #FDB82C; --pin-hhm: #00B2A9; --say: #F3F5FC; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --say: #1A1F31; } }
  :root[data-theme="dark"] { --say: #1A1F31; }

  .page-name {
    font-weight: 800;
    font-size: clamp(34px, 4.9vw, 52px);
    line-height: .98;
    letter-spacing: -.03em;
    text-transform: uppercase;
    margin: 0 0 18px;
  }
  .page-name .m { display: block; color: var(--cobalt-50); }
  .hero .lede { font-size: 19px; color: var(--ink-soft); max-width: 36ch; margin: 0 0 26px; }

  /* what's on the page now: the hero's right column */
  .now { display: flex; flex-direction: column; gap: 14px; }
  .now-label {
    font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
    color: var(--ink-mute); margin: 0 0 2px;
  }
  a.pinned {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 14px 16px 14px 14px;
    text-decoration: none;
    color: var(--ink);
    box-shadow: var(--shadow);
    position: relative;
  }
  a.pinned::before {
    content: "";
    position: absolute; top: -6px; left: 50%;
    width: 13px; height: 13px; border-radius: 50%;
    background: var(--pin);
    box-shadow: 0 2px 0 rgba(0,0,0,.18);
    transform: translateX(-50%);
  }
  a.pinned.yjam { --pin: var(--pin-yjam); }
  a.pinned.hhm  { --pin: var(--pin-hhm); }
  a.pinned:hover { border-color: var(--cobalt-25); }
  a.pinned:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
  a.pinned img { width: 88px; height: 88px; object-fit: cover; border-radius: 6px; display: block; border: 1px solid var(--rule); }
  .pinned .t { font-family: "Raleway", Arial, sans-serif; font-weight: 700; font-size: 18px; color: var(--head); line-height: 1.25; display: block; }
  .pinned .d { font-size: 15px; color: var(--ink-soft); line-height: 1.4; display: block; margin-top: 3px; }
  .pinned .when { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); display: block; margin-top: 6px; }

  /* YJAM */
  .yjam-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 44px; align-items: center; }
  .due {
    display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
    background: var(--cobalt); color: #fff; border-radius: 999px;
    padding: 6px 16px; margin: 0 0 18px; font-size: 15px;
  }
  .due .k { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); }
  .due b { font-weight: 500; }
  .guide-cover { display: block; width: 100%; max-width: 330px; margin: 0 auto; border-radius: 8px; border: 1px solid var(--rule); box-shadow: var(--shadow); }
  .prose p { margin: 0 0 14px; max-width: 62ch; }

  /* HHM header */
  .theme-line {
    font-family: "Raleway", Arial, sans-serif;
    font-weight: 800;
    font-size: clamp(30px, 4.6vw, 46px);
    line-height: 1.02;
    letter-spacing: -.02em;
    color: var(--head);
    margin: 18px 0 4px;
  }
  .theme-line span { display: block; font-weight: 600; font-size: .52em; letter-spacing: 0; color: var(--ink-soft); margin-top: 8px; }
  .hhm-dates { color: var(--science); }

  /* activity index */
  .index { max-width: 900px; margin: 30px 0 0; }
  .index a.grow { text-decoration: none; color: var(--ink); }
  .index a.grow:hover .k2 { text-decoration: underline; text-underline-offset: 3px; }
  .index .k2 { font-family: "Raleway", Arial, sans-serif; font-weight: 700; font-size: 17.5px; color: var(--head); flex: 0 1 auto; }
  .index .feat { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #2B2B2D; background: var(--yellow); border-radius: 4px; padding: 2px 7px; margin-left: 8px; white-space: nowrap; position: relative; top: -2px; }
  .index .v { color: var(--ink-soft); font-size: 15.5px; font-variant-numeric: tabular-nums; }

  /* activity layout */
  .act-head { margin-bottom: 26px; }
  h3.act { font-weight: 800; font-size: clamp(26px, 3.2vw, 32px); letter-spacing: -.01em; margin: 0 0 12px; }
  .meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 14px; font-size: 15.5px; color: var(--ink-soft); }
  .meta b { font-weight: 500; color: var(--ink); }
  .connect { font-size: 16.5px; max-width: 68ch; margin: 0; }
  .connect b { font-weight: 500; }

  .act-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 20px); }
  figure { margin: 0; }
  figure img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--rule); background: #fff; }
  figcaption { font-size: 13.5px; line-height: 1.45; color: var(--ink-mute); margin-top: 8px; }
  figcaption .show { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--head); margin-bottom: 2px; }

  ol.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: flex; flex-direction: column; gap: 18px; }
  ol.steps > li { counter-increment: s; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
  ol.steps > li::before {
    content: counter(s);
    font-family: "Raleway", Arial, sans-serif; font-weight: 700; font-size: 13px;
    color: var(--head); background: var(--cobalt-10); border-radius: 50%;
    width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; margin-top: 1px;
  }
  ol.steps p { margin: 0 0 8px; }
  ol.steps p:last-child { margin-bottom: 0; }
  ol.steps ul { margin: 6px 0 0; padding-left: 20px; }
  ol.steps ul li { margin-bottom: 3px; }

  .say {
    background: var(--say);
    border-left: 3px solid var(--cobalt-50);
    border-radius: 0 8px 8px 0;
    padding: 12px 18px 13px;
    margin: 8px 0 0;
    font-size: 16.5px;
  }
  .say .lbl { display: block; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--head); margin-bottom: 4px; }
  .say p { margin: 0 0 10px; }
  .say p:last-child { margin-bottom: 0; }

  .ask { font-style: italic; }

  .teacher-note {
    border: 1.5px solid var(--cobalt-25);
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 28px;
    font-size: 16px;
  }
  .teacher-note b { font-weight: 500; color: var(--head); }
  .credit { font-size: 14px; color: var(--ink-mute); font-style: italic; margin: 18px 0 0; }

  .dl {
    display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; align-items: center;
    background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 12px;
  }
  .dl img { width: 74px; height: auto; border-radius: 3px; border: 1px solid var(--rule); display: block; background: #fff; }
  .dl .btn { padding: 10px 16px; font-size: 14.5px; }
  .dl .fn { display: block; font-size: 13px; color: var(--ink-mute); margin-bottom: 7px; }

  /* artwork set */
  .works { display: flex; flex-direction: column; gap: 0; }
  .work {
    display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px;
    padding: 30px 0; border-top: 1px solid var(--rule); align-items: start;
  }
  .work:last-child { border-bottom: 1px solid var(--rule); }
  .work .imgs { display: flex; flex-direction: column; gap: 10px; }
  .work h4 { font-weight: 700; font-size: 21px; margin: 0 0 4px; }
  .work h4 i { font-style: italic; }
  .cred { font-size: 14px; color: var(--ink-mute); line-height: 1.5; margin: 0 0 14px; }
  .work .first { font-size: 15.5px; margin: 0 0 12px; }

  details.reveal { border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); }
  details.reveal > summary {
    cursor: pointer; list-style: none; padding: 11px 16px;
    font-family: "Raleway", Arial, sans-serif; font-weight: 700; font-size: 15.5px; color: var(--head);
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
  }
  details.reveal > summary::-webkit-details-marker { display: none; }
  details.reveal > summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--cobalt-50); }
  details.reveal[open] > summary::after { content: "\2212"; }
  details.reveal > summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 8px; }
  details.reveal .body { padding: 2px 16px 16px; font-size: 16px; }
  details.reveal .body p { margin: 0 0 11px; }
  .then { font-size: 15.5px; margin: 12px 0 0; }
  .then b { font-weight: 500; color: var(--head); }

  /* other four activities */
  .acts4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
  .act-card {
    background: var(--surface); border: 1px solid var(--rule); border-radius: 10px;
    padding: 24px 24px 20px; box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 14px;
  }
  .act-card h3 { font-weight: 800; font-size: 22px; line-height: 1.2; margin: 0; }
  .act-card .meta { margin: 0; font-size: 14.5px; gap: 4px 18px; }
  .act-card .connect { font-size: 15.5px; color: var(--ink-soft); }
  .act-card .dl { background: var(--band); border-color: transparent; }
  .act-card details.reveal .body { font-size: 15.5px; }
  .act-card .say { font-size: 15.5px; }
  .act-card ol.steps { gap: 14px; }
  .act-card ol.steps > li { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
  .act-card ol.steps > li::before { width: 23px; height: 23px; font-size: 11.5px; }
  .ph.unsplash { aspect-ratio: 3 / 2; font-size: 12.5px; padding: 12px; }
  .ph-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }

  .instr { border-top: 1px solid var(--rule); padding-top: 16px; font-size: 15.5px; }
  .instr-h { font-family: "Raleway", Arial, sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--head); margin: 0 0 12px; }
  .full-hint { font-size: 14.5px; color: var(--ink-mute); margin: -20px 0 26px; }

  /* papel picado */
  .papel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 44px; align-items: center; }
  .papel-imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .papel-imgs img { width: 100%; height: auto; display: block; background: #fff; border-radius: 4px; border: 1px solid var(--rule); padding: 8px; }

  /* resources */
  ul.links { list-style: none; margin: 0; padding: 0; max-width: 820px; }
  ul.links li { padding: 15px 0; border-bottom: 1px solid var(--rule); }
  ul.links li:first-child { border-top: 1px solid var(--rule); }
  ul.links a { font-family: "Raleway", Arial, sans-serif; font-weight: 700; font-size: 17.5px; text-underline-offset: 3px; }
  ul.links a::after { content: " \2197"; font-family: "Roboto", Arial, sans-serif; font-weight: 400; color: var(--cobalt-50); }
  ul.links span { display: block; font-size: 15.5px; color: var(--ink-soft); margin-top: 2px; }
  ul.links li.flag a { color: var(--ink-mute); }
  .flagtag { display: inline-block; font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #8A5A00; background: color-mix(in srgb, var(--yellow) 30%, var(--ground)); border-radius: 4px; padding: 1px 6px; margin-left: 8px; vertical-align: 2px; }

  @media (max-width: 860px) {
    .page-name { font-size: 8.4vw; }
    .yjam-grid, .act-grid, .papel-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .side { position: static; }
    .acts4 { grid-template-columns: minmax(0, 1fr); }
    .work { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .work .imgs { max-width: 420px; }
  }
  @media (max-width: 620px) {
    .index .v { text-align: left; }
  }

  /* ---------- live-site additions ---------- */
  .site-head .wrap {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 12px 24px; padding-top: 20px; padding-bottom: 20px;
    border-bottom: 4px solid #C7CEE4;
  }
  .site-head img { height: 48px; width: auto; display: block; }
  .site-head nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: "Raleway", Arial, sans-serif; font-weight: 500; font-size: 15px; }
  .site-head nav a { text-decoration: none; }
  .site-head nav a:hover { color: var(--science); }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-head img { background: #fff; border-radius: 6px; padding: 4px 8px; box-sizing: content-box; } }
  :root[data-theme="dark"] .site-head img { background: #fff; border-radius: 6px; padding: 4px 8px; box-sizing: content-box; }
  .hero { border-top: 0; }

  a.zoom { display: block; cursor: zoom-in; }
  a.zoom:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
  figure a.zoom img { display: block; }
  .ph-row figure { margin: 0; }
  .ph-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; display: block; }
  .ph-row figcaption { font-size: 12.5px; color: var(--ink-mute); margin-top: 4px; line-height: 1.4; }

  dialog.viewer {
    border: 0; padding: 0; margin: 0; max-width: none; max-height: none;
    width: 100vw; height: 100dvh; background: #000;
  }
  dialog.viewer::backdrop { background: #000; }
  dialog.viewer img { width: 100%; height: 100%; object-fit: contain; display: block; }
  dialog.viewer button {
    position: absolute; top: 14px; right: 14px;
    font: 500 14px/1 "Roboto", Arial, sans-serif; letter-spacing: .06em;
    color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px; padding: 10px 16px; cursor: pointer;
  }
  dialog.viewer button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

  footer.site-foot { border-top: 1px solid var(--rule); background: var(--band); padding: 40px 0 56px; font-size: 15px; color: var(--ink-soft); }
  footer.site-foot p { margin: 0 0 8px; max-width: 64ch; }
  footer.site-foot .who { font-family: "Raleway", Arial, sans-serif; font-weight: 600; color: var(--head); }

  @media (max-width: 620px) {
    .wrap { padding: 0 16px; }
    .ph-row { grid-template-columns: minmax(0, 1fr); }
  }
  @media print {
    .site-head nav, .btn-row, .now, dialog.viewer { display: none !important; }
    .side { position: static; }
  }

/* ---------- expandable sections ---------- */
details.reveal { margin-top: 10px; }
details.reveal .say-body {
  background: var(--say); border-left: 3px solid var(--cobalt-50);
  border-radius: 0 0 8px 0; margin: 0 12px 12px; padding: 12px 16px 13px; font-size: 16.5px;
}
details.reveal .say-body p { margin: 0 0 10px; }
details.reveal .say-body p:last-child { margin-bottom: 0; }
details.instr { border-top: 1px solid var(--rule); padding-top: 0; }
details.instr .body { padding-top: 6px; }

/* ---------- five more works: slider ---------- */
.work-tabs {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px;
  margin: 0 0 6px; scroll-margin-top: 16px;
}
.work-tab {
  display: flex; flex-direction: column; gap: 8px; align-items: stretch; text-align: left;
  background: var(--surface); border: 1.5px solid var(--rule); border-radius: 10px;
  padding: 8px 8px 10px; cursor: pointer; color: var(--ink-soft);
  font: 500 14px/1.3 "Raleway", Arial, sans-serif;
}
.work-tab img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; background: var(--band); }
.work-tab b { color: var(--cobalt-50); margin-right: 6px; font-weight: 700; }
.work-tab:hover { border-color: var(--cobalt-25); color: var(--head); }
.work-tab[aria-selected="true"] { border-color: var(--head); color: var(--head); box-shadow: var(--shadow); }
.work-tab[aria-selected="true"] b { color: var(--head); }
.work-tab:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.works.is-slider .work { border-bottom: 1px solid var(--rule); }
.works .work[hidden] { display: none; }
.work-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.work-foot .btn { padding: 10px 18px; font-size: 15px; }
.work-count { font-size: 14px; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .work-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .work-tab { flex: 0 0 132px; scroll-snap-align: start; }
}
@media (max-width: 620px) {
  .work-foot .btn { font-size: 13.5px; padding: 9px 12px; }
  .work-count { display: none; }
}
@media print {
  .work-tabs, .work-foot { display: none !important; }
  .works .work[hidden] { display: grid !important; }
}

/* ---------- chapters: one per resource, matching its pin in the hero ---------- */
.chapter-yjam { --chapter: var(--pin-yjam); }
.chapter-hhm  { --chapter: var(--pin-hhm); }
.chapter-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 20px; border-top: 5px solid var(--chapter); padding-top: 22px; margin: 0 0 30px;
}
h2.chapter-name {
  font-weight: 800; font-size: clamp(30px, 4vw, 42px); line-height: 1.05; letter-spacing: -.02em;
  display: flex; align-items: center; gap: 14px;
}
.chapter-name .pin {
  flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%;
  background: var(--chapter); box-shadow: 0 2px 0 rgba(0,0,0,.18);
}
.chapter-when {
  margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--head); background: var(--surface); border: 1.5px solid var(--chapter);
  border-radius: 999px; padding: 6px 14px;
}
.chapter-hhm .theme-line { margin-top: 0; font-size: clamp(24px, 3.2vw, 32px); color: var(--head); }

.block { border-top: 1px solid var(--rule); margin-top: 56px; padding-top: 52px; }
h3.block-h { font-weight: 700; font-size: clamp(24px, 3vw, 30px); letter-spacing: -.01em; margin: 0 0 8px; }

.works-inset { background: var(--band); border-radius: 14px; padding: 30px 30px 26px; margin-top: 44px; }
h4.inset-h { font-weight: 700; font-size: 24px; margin: 0 0 6px; }
.inset-lede { font-size: 17px; color: var(--ink-soft); max-width: 62ch; margin: 0 0 30px; }
.works-inset .full-hint { margin: -22px 0 22px; }
.works-inset .work-tab { background: var(--surface); }

.act-card h4 { font-weight: 800; font-size: 22px; line-height: 1.2; margin: 0; }
.act-card .eyebrow { margin: 0 0 -8px; font-size: 12px; }
.acts4 .papel-card {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px; align-items: center;
}
.papel-card > div:first-child { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

.block.going {
  border-top: 0; background: var(--band); border-radius: 14px; padding: 32px 32px 18px;
}
.block.going ul.links li:first-child { border-top-color: var(--cobalt-25); }

@media (max-width: 860px) {
  .acts4 .papel-card { grid-template-columns: minmax(0, 1fr); }
  .works-inset { padding: 22px 16px 18px; margin-left: -8px; margin-right: -8px; }
  .block.going { padding: 24px 18px 10px; }
}

/* ---------- HHM activity list: compact, two columns ---------- */
.chapter-hhm .glance.index {
  max-width: none; margin: 26px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px;
  border-top: 1px solid var(--rule);
}
.chapter-hhm .index a.grow { padding: 9px 0; border-top: 0; }
.chapter-hhm .index .lead { display: none; }
.chapter-hhm .index .k2 { font-size: 15.5px; flex: 1 1 auto; }
.chapter-hhm .index .v { font-size: 14px; color: var(--ink-mute); white-space: nowrap; }
.chapter-hhm .index .feat { font-size: 10px; padding: 1px 6px; margin-left: 6px; }
@media (max-width: 720px) {
  .chapter-hhm .glance.index { grid-template-columns: minmax(0, 1fr); }
  .chapter-hhm .index a.grow { flex-wrap: nowrap; }
}

/* ---------- five more works: tighter ---------- */
.works-inset { padding: 22px 24px 18px; margin-top: 36px; }
h4.inset-h { font-size: 21px; margin-bottom: 4px; }
.inset-lede { font-size: 16px; margin-bottom: 22px; }
.works-inset .full-hint { margin: -16px 0 16px; font-size: 13.5px; }
.work-tabs { gap: 8px; }
.work-tab { padding: 6px 6px 8px; gap: 6px; font-size: 13px; border-radius: 8px; }
.work-tab img { aspect-ratio: 16 / 9; border-radius: 5px; }
.works-inset .work { grid-template-columns: 230px minmax(0, 1fr); gap: 26px; padding: 22px 0; }
.works-inset .work h4 { font-size: 19px; }
.works-inset .cred { margin-bottom: 10px; }
.work-foot { margin-top: 14px; }
.work-foot .btn { padding: 8px 14px; font-size: 14px; }
@media (max-width: 860px) {
  .works-inset .work { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .works-inset .work .imgs { max-width: 320px; }
  .work-tab { flex: 0 0 116px; }
}
