:root {
  --paper: #fafaf6;
  --white: #fff;
  --ink: #172c40;
  --muted: #566675;
  --blue: #2458a6;
  --line: #d4dcd9;
  --pale: #eaf0f2;
  --accent: #d9e7ba;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.06;
}
h1 em,
h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  color: var(--blue);
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(48px, 5.8vw, 86px);
}
h2 {
  font-size: clamp(36px, 4.1vw, 58px);
}
h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  border-radius: 0;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
a:hover {
  color: var(--blue);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(100%, 1280px);
  margin: auto;
  padding-left: 48px;
  padding-right: 48px;
}
.section {
  padding-top: 104px;
  padding-bottom: 104px;
}
.eyebrow {
  display: block;
  font:
    500 10px/1.5 Inter,
    sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 25px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 17px 24px;
  background: var(--blue);
  color: white;
  border: 1px solid var(--blue);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.btn span {
  font-size: 20px;
  line-height: 1;
}
.btn.outline {
  background: transparent;
  color: var(--blue);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
}
.text-link:hover {
  border-color: var(--blue);
}
.actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: white;
  padding: 15px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}
.brand img {
  width: 58px;
  height: 60px;
  object-fit: contain;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav > a,
.has-sub > a {
  font-size: 12px;
  white-space: nowrap;
  padding: 10px 0;
}
nav a[aria-current="page"] {
  color: var(--blue);
  box-shadow: 0 1px var(--blue);
}
nav .btn {
  padding: 13px 18px;
  color: white;
  box-shadow: none;
}
.nav-join {
  border-bottom: 1px solid var(--line);
}
.has-sub {
  position: relative;
  display: flex;
  align-items: center;
}
.has-sub > a {
  position: relative;
  padding-right: 14px;
}
.has-sub > a:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 0.42em;
  height: 0.42em;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-70%) rotate(45deg);
}
.sub {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 150px;
  background: white;
  border: 1px solid var(--line);
  padding: 8px;
  display: none;
}
.has-sub:hover .sub,
.has-sub:focus-within .sub {
  display: block;
}
.sub a {
  display: block;
  padding: 10px;
  font-size: 12px;
}
.sub a:hover {
  background: var(--pale);
}
.menu {
  display: none;
  background: transparent;
  padding: 10px 16px;
  border: 1px solid var(--line);
  cursor: pointer;
  color: var(--ink);
}
.hero {
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 66px;
  padding-bottom: 66px;
}
.hero h1 {
  margin-bottom: 25px;
}
.hero .tag {
  max-width: 420px;
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 14px;
}
.hero-description {
  font-size: 14px;
  color: var(--muted);
  max-width: 390px;
  margin-bottom: 30px;
}
.hero-meta {
  margin-top: 52px;
  display: flex;
  gap: 26px;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.hero-art {
  background: #edf2f1;
  border: 1px solid var(--line);
}
.hero-art img {
  width: 100%;
}
.drawing-label,
.drawing-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  gap: 14px;
}
.drawing-label {
  font-size: 8px;
  letter-spacing: 0.11em;
  border-bottom: 1px solid var(--line);
}
.drawing-foot {
  border-top: 1px solid var(--line);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 22px;
}
.drawing-foot span:last-child {
  font:
    24px Inter,
    sans-serif;
}
.numbers {
  background: white;
  border-bottom: 1px solid var(--line);
}
.numbers-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
.impact-intro {
  padding: 38px 32px 38px 0;
  align-self: center;
}
.impact-intro .eyebrow {
  margin-bottom: 13px;
  font-size: 9px;
}
.impact-intro h2 {
  font-size: 28px;
  margin: 0;
}
.stat {
  border-left: 1px solid var(--line);
  padding: 35px;
}
.stat strong {
  display: block;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.05em;
}
.stat strong span {
  display: inline;
  color: var(--blue);
  font-size: 30px;
}
.stat > span {
  font-size: 11px;
  color: var(--muted);
}
.section-heading {
  margin-bottom: 48px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.program-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
}
.big {
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
}
.program-list {
  border-top: 1px solid var(--line);
}
.program-list > a {
  display: grid;
  grid-template-columns: 30px 1fr 25px;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  transition: padding 0.2s;
}
.program-list > a:hover {
  padding-left: 10px;
}
.program-list > a > span {
  font: 10px monospace;
  color: var(--blue);
  padding-top: 6px;
}
.program-list h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.program-list p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.program-list b {
  font-size: 22px;
  font-weight: 400;
}
.mission {
  background: var(--pale);
  border-block: 1px solid var(--line);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
}
.split h2 {
  margin: 0;
}
.split .text-link {
  margin-top: 14px;
}
.split.single {
  display: block;
  max-width: 950px;
}
.split.single .big {
  font-size: 25px;
}
.enroll-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border: 1px solid var(--line);
  background: white;
}
.enroll-card, .join-band {
  background-image:
    linear-gradient(125deg, transparent 59%, rgba(177, 151, 103, .19) 59%, transparent calc(59% + 1.5px)),
    linear-gradient(125deg, transparent 68%, rgba(177, 151, 103, .19) 68%, transparent calc(68% + 1.5px));
  background-size: min(22vw, 240px) 100%;
  background-position: right center;
  background-repeat: no-repeat;
}
.enroll-card > div:last-child {
  padding: 58px;
}
.enroll-card h2 {
  margin-bottom: 22px;
}
.enroll-card p {
  font-size: 15px;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 28px;
}
.enroll-card > img {
  width: 170px;
  align-self: center;
  justify-self: center;
}
.enroll-graphic {
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 390px;
  background-color: var(--blue);
  background-image:
    linear-gradient(#ffffff16 1px, transparent 1px),
    linear-gradient(90deg, #ffffff16 1px, transparent 1px);
  background-size: 35px 35px;
  color: white;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.huge-arrow {
  font-size: 160px;
  align-self: flex-end;
  font-weight: 400;
  line-height: 0.8;
}
.enroll-card .small-note {
  font-size: 11px;
  margin: 22px 0 0;
}
.small-note a {
  text-decoration: underline;
}
.join-band {
  background: #e5edfc;
  border-block: 1px solid #bccce8;
}
.join-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 100px;
  padding-top: 70px;
  padding-bottom: 70px;
  align-items: center;
}
.join-layout .eyebrow {
  color: var(--ink);
}
.join-layout h2 {
  font-size: 48px;
  margin: 0;
}
.join-layout p {
  font-size: 16px;
}
.chapter-actions {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 26rem;
  gap: 0.75rem;
}
.chapter-actions > .btn {
  flex: 1 1 12rem;
  min-width: 0;
  margin: 0;
  white-space: nowrap;
}
.join-layout .btn {
  background: var(--ink);
  border-color: var(--ink);
}
.join-layout .btn:hover {
  background: var(--blue);
}
footer {
  border-top: 1px solid var(--line);
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, transparent calc(72% - 1px), rgba(23, 44, 64, .055) 72%, transparent calc(72% + 1px)),
    linear-gradient(146deg, transparent calc(77% - 1px), rgba(23, 44, 64, .07) 77%, transparent calc(77% + 1px));
}
.foot {
  padding-top: 55px;
  padding-bottom: 45px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
}
.foot img {
  width: 65px;
  height: auto;
  margin-bottom: 20px;
}
.foot p {
  font-size: 13px;
  color: var(--muted);
}
.foot-links {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
.social {
  width: 28px;
  height: 28px;
  margin-top: 8px;
}
.social svg {
  width: 18px;
  fill: var(--ink);
}
.legal {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.legal a {
  margin-left: 16px;
}
.page-hero {
  padding: 75px 0;
  background-color: var(--pale);
  background-image: linear-gradient(
    90deg,
    transparent 74.9%,
    #bacbd144 75%,
    transparent 75.1%
  );
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.card {
  padding: 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.card .num {
  font: 12px monospace;
  color: var(--blue);
  margin-bottom: 55px;
}
.card h3 {
  font-size: 25px;
  line-height: 1.2;
}
.card p {
  font-size: 14px;
  color: var(--muted);
}
.subhead {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 28px;
}
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.photo {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--pale);
  display: grid;
  place-items: center;
  font:
    40px Georgia,
    serif;
  color: var(--blue);
  overflow: hidden;
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
}
.member-body {
  padding: 22px 0;
}
.member h3 {
  font-size: 21px;
  margin: 0 0 8px;
}
.member p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.member .in {
  font-size: 11px;
  display: inline-block;
  border-bottom: 1px solid var(--line);
  margin-top: 14px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding-top: 64px;
  padding-bottom: 70px;
}
.auth-story h1 {
  font-size: 60px;
  margin-bottom: 16px;
}
.auth-story img {
  width: 360px;
  max-width: 100%;
}
.auth-story > p {
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0;
}
.auth-panel {
  align-self: center;
  max-width: 480px;
  width: 100%;
  padding: 35px 0;
}
.auth-panel h2 {
  font-size: 39px;
  margin-bottom: 18px;
}
.auth-panel > p {
  color: var(--muted);
  font-size: 13px;
}
.auth-panel .eyebrow {
  margin-bottom: 20px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
fieldset:disabled {
  opacity: 0.55;
}
form label,
.portal-tools label {
  display: block;
  font-size: 12px;
  margin-bottom: 18px;
}
input:not([type="checkbox"]),
select {
  width: 100%;
  padding: 13px 12px;
  border: 1px solid #a9b8bd;
  background: white;
  color: var(--ink);
  margin-top: 6px;
  min-width: 0;
}
input[type="checkbox"] {
  accent-color: var(--blue);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin: 3px 0;
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.consent {
  display: flex;
  gap: 12px !important;
  font-size: 11px;
  align-items: flex-start;
}
form label.consent {
  display: flex;
}
.consent a {
  text-decoration: underline;
}
form .btn {
  width: 100%;
  margin-top: 4px;
}
.forgot {
  display: inline-block;
  font-size: 11px;
  text-decoration: underline;
  margin-top: 20px;
}
.auth-switch {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 24px;
}
.auth-switch a {
  color: var(--blue);
  text-decoration: underline;
}
#auth-notice:not(:empty) {
  padding: 14px;
  background: var(--pale);
  border-left: 2px solid var(--blue);
  font-size: 12px;
  margin-bottom: 22px;
}
#auth-notice[data-error="true"] {
  border-color: #a13730;
  color: #792a25;
}
#legacy-access {
  padding-top: 15px;
  font-size: 12px;
}
.portal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.portal-top h1 {
  font-size: 64px;
}
.portal-top p {
  margin: 20px 0 0;
  color: var(--muted);
}
.portal-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 45px;
}
.portal-heading h2 {
  margin: 0;
}
.portal-heading p {
  font-size: 14px;
  color: var(--muted);
}
.portal-tools {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 24px;
  padding: 22px;
  background: var(--pale);
  margin-bottom: 30px;
}
.portal-tools label {
  margin: 0;
}
.lesson-list {
  border-top: 1px solid var(--line);
}
.lesson-row {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 30px 10px;
}
.lesson-row .num {
  font-size: 12px;
  color: var(--blue);
}
.lesson-row h3 {
  margin: 5px 0 10px;
}
.lesson-row p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.lesson-row .eyebrow {
  font-size: 9px;
  margin: 0;
}
.lesson-row .pending {
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 10px;
}
.portal-help {
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding-top: 30px;
}
.portal-help h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.portal-help p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
}
.portal-status {
  padding: 25px;
  border: 1px solid var(--line);
  font-size: 15px;
}
.portal-status a {
  display: inline-block;
  margin-top: 15px;
}
.empty-state {
  padding: 40px 0;
  color: var(--muted);
}
@media (min-width: 1500px) {
  .hero-grid {
    padding-top: 88px;
    padding-bottom: 88px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    padding-left: 30px;
    padding-right: 30px;
  }
  nav {
    gap: 16px;
  }
  nav > a,
  .has-sub > a {
    font-size: 11px;
  }
  .hero-grid {
    gap: 25px;
  }
  .hero-meta {
    gap: 16px;
    font-size: 8px;
  }
  .program-layout,
  .split,
  .join-layout {
    gap: 55px;
  }
  .stat {
    padding: 35px 24px;
  }
  .stat strong {
    font-size: 44px;
  }
  .auth-layout {
    gap: 50px;
  }
  .enroll-card > div:last-child {
    padding: 38px;
  }
}
@media (min-width: 921px) {
  nav {
    align-items: baseline;
  }
  .has-sub {
    display: block;
  }
  .has-sub > a {
    display: block;
  }
}
@media (max-width: 920px) {
  .has-sub {
    display: block;
  }
  .menu {
    display: block;
  }
  nav {
    display: none;
    position: absolute;
    top: 88px;
    left: 20px;
    right: 20px;
    border: 1px solid var(--line);
    background: white;
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    max-height: calc(100dvh - 108px);
    overflow: auto;
  }
  nav.open {
    display: flex;
  }
  nav > a,
  .has-sub > a {
    font-size: 14px;
    padding: 10px;
    display: block;
  }
  .sub {
    position: static;
    display: block;
    border: 0;
    padding-left: 20px;
  }
  .has-sub > a:after {
    display: none;
  }
  .nav-join {
    border: 0;
  }
  nav .btn {
    margin: 10px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 53px;
  }
  .hero .tag {
    font-size: 17px;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-meta {
    flex-direction: column;
    gap: 5px;
    margin-top: 30px;
  }
  .actions {
    gap: 14px;
  }
  .numbers-card {
    grid-template-columns: repeat(3, 1fr);
  }
  .impact-intro {
    grid-column: 1/-1;
    padding: 28px 0;
  }
  .stat {
    border-top: 1px solid var(--line);
    padding: 24px;
  }
  .stat:nth-child(2) {
    border-left: 0;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card .num {
    margin-bottom: 25px;
  }
  .team {
    grid-template-columns: repeat(2, 1fr);
  }
  .auth-story h1 {
    font-size: 48px;
  }
  .auth-layout {
    gap: 35px;
  }
  .join-layout h2 {
    font-size: 39px;
  }
  .program-layout {
    gap: 38px;
  }
}
@media (max-width: 680px) {
  .wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
  .nav {
    min-height: 76px;
  }
  .brand img {
    height: 50px;
    width: 49px;
  }
  nav {
    top: 76px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 42px;
    padding-bottom: 35px;
    gap: 35px;
  }
  .hero h1 {
    font-size: 57px;
  }
  .hero .tag {
    font-size: 19px;
  }
  .hero-meta {
    flex-direction: row;
    gap: 20px;
    margin-top: 30px;
  }
  .hero-art {
    max-width: 460px;
    width: 100%;
    justify-self: center;
  }
  .drawing-label {
    font-size: 7px;
  }
  .hero-art img {
    max-height: 390px;
    object-fit: contain;
  }
  .impact-intro {
    padding: 26px 0;
  }
  .stat {
    padding: 24px 12px;
  }
  .stat strong {
    font-size: 34px;
  }
  .stat strong span {
    font-size: 23px;
  }
  .stat > span {
    font-size: 9px;
  }
  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .section-heading {
    margin-bottom: 32px;
  }
  .program-layout,
  .split,
  .join-layout,
  .enroll-card {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .big {
    font-size: 17px;
  }
  .program-list h3 {
    font-size: 19px;
  }
  .mission .split {
    gap: 28px;
  }
  .enroll-card > div:last-child {
    padding: 30px 25px;
  }
  .enroll-graphic {
    min-height: 240px;
    padding: 30px;
    font-size: 27px;
  }
  .huge-arrow {
    font-size: 115px;
  }
  .enroll-card > img {
    margin-top: 35px;
    width: 100px;
  }
  .join-layout {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .join-layout h2 {
    font-size: 38px;
  }
  .foot {
    grid-template-columns: 1fr;
    padding-top: 40px;
    gap: 30px;
  }
  .legal {
    gap: 15px;
  }
  .legal a {
    margin-left: 0;
    margin-right: 14px;
  }
  .page-hero {
    padding: 50px 0;
  }
  .page-hero h1 {
    font-size: 50px;
  }
  .split.single .big {
    font-size: 20px;
  }
  .team {
    gap: 20px;
  }
  .member h3 {
    font-size: 18px;
  }
  .member p {
    font-size: 11px;
  }
  .auth-layout {
    display: block;
    padding-top: 35px;
    padding-bottom: 40px;
  }
  .auth-story h1 {
    font-size: 40px;
  }
  .auth-story img,
  .auth-story > p {
    display: none;
  }
  .auth-story .eyebrow {
    font-size: 8px;
    margin-bottom: 15px;
  }
  .auth-panel {
    padding-top: 28px;
    max-width: none;
    border-top: 1px solid var(--line);
    margin-top: 24px;
  }
  .auth-panel h2 {
    font-size: 34px;
  }
  .auth-panel .eyebrow {
    display: none;
  }
  .portal-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .portal-top h1 {
    font-size: 48px;
  }
  .portal-heading {
    display: block;
  }
  .portal-heading p {
    margin-top: 20px;
  }
  .portal-tools {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .lesson-row {
    grid-template-columns: 30px 1fr;
    gap: 12px;
  }
  .lesson-row > .pending,
  .lesson-row > .btn {
    grid-column: 2;
    justify-self: start;
  }
  .portal-status {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

.arrow {
  display: inline-block;
  transform: rotate(-45deg);
  font-family: Arial, sans-serif;
}

/* Student studio: original portal structure, architectural presentation. */
.portal-heading > p {
  max-width: 440px;
  line-height: 1.8;
}
.portal-destinations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
.portal-destination {
  padding: 32px;
  min-height: 330px;
  background: #edf2f5;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}
.portal-destination:last-child {
  border-right: 0;
}
.portal-destination:hover {
  background: #e0eafa;
}
.portal-destination h3 {
  font-size: 28px;
  margin: 24px 0 12px;
}
.portal-destination p {
  font-size: 13px;
  color: var(--muted);
}
.bonus-destination {
  background: #f0f1e6;
}
.news-destination {
  background: #eeedf3;
}
.draft-icon {
  font: 36px/1 monospace;
  color: var(--blue);
  border: 1px solid #acbfce;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
}
.destination-action {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid #becbd3;
}
.portal-return {
  margin: 0 0 40px;
}
#curriculum-view,
#announcements-view {
  scroll-margin-top: 110px;
}
#curriculum-title,
#announcements-title {
  scroll-margin-top: 110px;
}
.lesson-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border: 0;
}
.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 32px;
  min-height: 330px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  background: #fff;
}
.module-card::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 20px;
  width: 64px;
  height: 64px;
  background:
    repeating-linear-gradient(90deg, transparent 0 15px, #2458a61a 15px 16px),
    repeating-linear-gradient(0deg, transparent 0 15px, #2458a61a 15px 16px);
  pointer-events: none;
}
.module-card[data-category="bonus"] {
  border-top-color: #849559;
  background: #fdfdf9;
}
.module-number {
  margin-bottom: 24px;
  font: 14px monospace;
}
.module-card h3 {
  font-size: 30px;
  max-width: 85%;
  margin: 12px 0 18px;
}
.module-card p {
  max-width: 430px;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 30px;
}
.module-card > .btn,
.module-card > .pending {
  margin-top: auto;
  align-self: flex-start;
}
.module-card .pending {
  padding: 12px 16px;
  border-color: var(--line);
  background: var(--paper);
}
.announcements-list {
  border-top: 1px solid var(--line);
}
.announcement {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.announcement time {
  font-size: 12px;
  color: var(--blue);
  padding-top: 7px;
}
.announcement h3 {
  font-size: 30px;
  margin-bottom: 20px;
}
.announcement p {
  font-size: 15px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.85;
  margin-bottom: 8px;
}
@media (max-width: 920px) {
  .portal-destination {
    padding: 24px;
  }
  .portal-destination h3 {
    font-size: 23px;
  }
}
@media (max-width: 680px) {
  .portal-destinations,
  .lesson-list {
    grid-template-columns: 1fr;
  }
  .portal-destination {
    min-height: 280px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .portal-destination:last-child {
    border-bottom: 0;
  }
  .module-card {
    padding: 25px;
    min-height: 310px;
  }
  .module-card h3 {
    font-size: 27px;
  }
  .announcement {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 30px 0;
  }
  .announcement h3 {
    font-size: 26px;
  }
}

.team-panel {
  box-sizing: border-box;
  width: 100%;
  max-width: 720px;
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding: clamp(16px, 2vw, 24px);
  background: var(--pale);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.team-panel h2 {
  grid-column: 1 / -1;
  font-size: clamp(24px, 2.5vw, 34px);
  margin: 0;
}
.team-panel figure { margin: 0; }
.team-panel img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}
.team-panel figcaption {
  margin-top: 8px;
  color: var(--blue);
  font-size: 12px;
  line-height: 1.4;
}
