/* =========================================================
   Modern Writing Lab: About page
   Loads on top of site.css and terms.css (top bar, sheets,
   stop headers, buttons, rooms, toast).
   ========================================================= */

.ab-quiet *, .ab-quiet *::before, .ab-quiet *::after { animation: none !important; transition: none !important; }

/* ---------- hero ---------- */
.ab-title { margin: 0; font-size: clamp(56px, 14vw, 140px); font-weight: 800; letter-spacing: -.055em; line-height: .88; max-width: 10ch; }
.ab-title em { color: var(--blue); }
.ab-route { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 8px; }
.ab-route a {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px;
  border: 1.5px dashed var(--ink); border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 16px;
  transition: transform .25s var(--ease-spring), background-color .2s;
}
.ab-route a span { font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--ink-2); }
.ab-route a:hover { transform: translateY(-2px); background: var(--card); border-style: solid; }
@media (min-width: 700px) { .ab-route { grid-template-columns: repeat(3, 1fr); max-width: 760px; } }
@media (min-width: 900px) {
  .ab-hero { display: grid; grid-template-columns: 1.2fr 1fr; column-gap: 48px; align-items: end; }
  .ab-hero > .kicker, .ab-route { grid-column: 1 / -1; }
  .ab-hero .kt-lede { margin-bottom: 8px; }
}

.ab-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.ab-sec { border-top: 2px solid var(--ink); margin-top: 40px; padding-top: 36px; }
@media (min-width: 900px) { .ab-sec { margin-top: 60px; padding-top: 48px; } }
.src { margin: 14px 0 0; font-family: var(--f-mono); font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }

/* ---------- 01 teacher: staff badge + words ---------- */
.teacher { display: grid; gap: 22px; }
@media (min-width: 900px) { .teacher { grid-template-columns: minmax(300px, 380px) 1fr; gap: 48px; align-items: start; } }
.badge {
  margin: 0; padding: 0 0 6px; border: 2px solid var(--ink); border-radius: var(--r-l); background: var(--card);
  box-shadow: var(--shadow-hard); overflow: hidden; transform: rotate(-1.5deg);
  transition: transform .4s var(--ease-spring);
}
.badge:hover { transform: rotate(0deg) translateY(-3px); }
.badge-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: var(--tang); color: #fff; border-bottom: 2px solid var(--ink); }
.badge-k { font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.badge-dot { width: 34px; height: 10px; border-radius: 999px; background: var(--paper); border: 2px solid var(--ink); }
.badge-name { padding: 18px 20px 10px; font-size: clamp(32px, 6vw, 40px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.badge-row { display: grid; grid-template-columns: 112px 1fr; gap: 10px; padding: 10px 20px; border-top: 1px solid var(--hair); font-size: 16px; }
.badge-row dt { font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-2); padding-top: 2px; }
.badge-row dd { margin: 0; font-weight: 600; }
.teacher-intro { margin: 0; font-size: clamp(19px, 2.2vw, 22px); line-height: 1.45; max-width: 52ch; }
.quote { margin: 24px 0 0; padding: 0 0 0 20px; border-left: 4px solid var(--blue); max-width: 60ch; }
.quote blockquote { margin: 0; }
.quote p { margin: 0; font-size: clamp(20px, 2.4vw, 25px); font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }
.quote figcaption { margin-top: 10px; font-family: var(--f-mono); font-size: 13px; color: var(--ink-2); }
.quote figcaption::before { content: "— "; }

/* ---------- 02 the brains: portrait, spec sheet, glaze ---------- */
.builder { display: grid; gap: 26px; }
@media (min-width: 900px) { .builder { grid-template-columns: minmax(280px, 400px) 1fr; gap: 52px; align-items: start; } }
.portrait { margin: 0; max-width: 420px; }
.portrait img { height: auto;
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border: 2px solid var(--ink); border-radius: var(--r-l); box-shadow: 6px 6px 0 var(--blue); background: var(--sky);
}
.portrait img { background: repeating-linear-gradient(135deg, var(--sky) 0 18px, color-mix(in srgb, var(--sky) 70%, var(--card)) 18px 36px); }
.portrait-cap { margin-top: 14px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.portrait-cap span { font-family: var(--f-mono); font-weight: 400; font-size: 13px; color: var(--ink-2); letter-spacing: 0; }
@media (max-width: 899px) { .portrait { max-width: 340px; } }

.builder-lede { margin: 0; font-size: clamp(20px, 2.4vw, 24px); line-height: 1.4; max-width: 46ch; }
.spec { margin: 22px 0 0; border: 2px solid var(--ink); border-radius: var(--r-m); background: var(--card); overflow: hidden; max-width: 680px; }
.spec-row { display: grid; gap: 2px 16px; padding: 12px 16px; border-top: 1px solid var(--hair); }
.spec-row:first-child { border-top: 0; }
.spec-row dt { font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-2); }
.spec-row dd { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.35; }
@media (min-width: 560px) { .spec-row { grid-template-columns: 160px 1fr; align-items: baseline; } }
.spec-hot { background: var(--pink); }
.spec-hot dt { color: var(--ink); }
.spec-hot b { font-weight: 800; }

.glaze { margin-top: 22px; padding: 18px 20px 20px; border: 2px solid var(--ink); border-radius: var(--r-l); background: var(--lime); box-shadow: var(--shadow-hard); max-width: 680px; }
.glaze-head { display: flex; align-items: center; gap: 14px; }
.glaze-k { margin: 0; font-family: var(--f-mono); font-size: 13px; white-space: nowrap; }
.glaze-bar { flex: 1; height: 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); overflow: hidden; }
.glaze-bar i { display: block; height: 100%; width: 0; background: var(--tang); transition: width .5s var(--ease-spring); }
.glaze.maxed .glaze-bar i { background: var(--blue); }
.glaze-line { margin: 14px 0 16px; min-height: 2.7em; font-size: clamp(20px, 2.4vw, 24px); font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.glaze-line.pop { animation: popin .4s var(--ease-spring); }
.glaze-act { display: flex; flex-wrap: wrap; gap: 10px; }
.glaze .btn-ghost:hover { background: var(--card); }

/* ---------- 03 for real ---------- */
.real-lede { margin: 0; font-size: clamp(19px, 2.2vw, 22px); line-height: 1.45; max-width: 56ch; }
.creds { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .creds { grid-template-columns: repeat(3, 1fr); } }
.cred { --c: var(--card); display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 2px solid var(--ink); border-radius: var(--r-m); background: var(--c); }
.cred p { margin: 4px 0 0; font-size: 16px; line-height: 1.45; }
.cred-k { font-family: var(--f-mono); font-size: 12.5px; }
.cred-h { font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.c-lime { --c: var(--lime); } .c-sky { --c: var(--sky); } .c-peach { --c: var(--peach); }

.robo { display: flex; align-items: center; gap: 14px 22px; max-width: 820px; margin: 22px 0 0; padding: 18px 20px; border: 2px solid var(--ink); border-radius: var(--r-m); background: var(--mint); box-shadow: 4px 4px 0 var(--ink); font-size: 16px; line-height: 1.45; }
.robo p { margin: 0; flex: 1; }
.robo-h { display: block; font-size: 20px; letter-spacing: -.015em; margin-bottom: 2px; }
.robo-go { display: inline-flex; align-items: center; flex: none; text-decoration: none; white-space: nowrap; }
@media (max-width: 600px) { .robo { flex-direction: column; align-items: flex-start; } }

@media (prefers-reduced-motion: reduce) { .badge, .badge:hover { transform: none; } }
