/* Portrait-led student features: shared rhythm, individual colour and composition. */
.profile-editorial {
  --muted: color-mix(in srgb, var(--ink) 72%, var(--paper));
  --line: color-mix(in srgb, var(--ink) 17%, var(--paper));
  --sky: color-mix(in srgb, var(--blue) 7%, var(--paper));
  --display: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  background: var(--paper); color: var(--ink);
}
.profile-editorial :is(.shell, .reading-shell) { width: min(1160px, calc(100% - 96px)); }
.profile-editorial > .oy-header { background: var(--hero-ground); border-bottom-color: transparent; transition: background-color .2s; }
.profile-editorial[data-hero-tone="dark"]:not(.profile-scrolled) > .oy-header { --oy-ink: #fff; --oy-blue: #fff; }
.profile-editorial[data-hero-tone="dark"]:not(.profile-scrolled) .oy-header :is(.oy-brand, .oy-brand > svg, .oy-wordmark small) { color: #fff; }
.profile-editorial[data-hero-tone="dark"]:not(.profile-scrolled) .oy-header .oy-contact { background: #f8faff; color: #1952bb; }
.profile-editorial.profile-scrolled > .oy-header,
.profile-editorial > .oy-header:has(.oy-menu[aria-expanded="true"]) { background: var(--oy-paper); border-bottom-color: var(--oy-line); }
.profile-editorial > .oy-header:has(.oy-menu[aria-expanded="true"]) { --oy-ink: #10294a; --oy-blue: #1952bb; }
.profile-editorial[data-hero-tone="dark"] .oy-header:has(.oy-menu[aria-expanded="true"]) :is(.oy-brand, .oy-brand > svg, .oy-wordmark small) { color: #1952bb; }
.profile-editorial .profile {
  position: relative; isolation: isolate; width: 100%; margin: 0; min-height: 620px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr;
  align-items: center; gap: 12px 56px; padding: 28px max(48px, calc((100vw - 1160px) / 2)) 54px;
  background: var(--hero-ground); color: var(--hero-ink); overflow: hidden;
}
.profile-editorial .profile > .back-link { position: relative; z-index: 2; font-size: 12px; color: inherit; min-height: 36px; opacity: .8; }
.profile-editorial .profile-copy { z-index: 2; position: relative; min-width: 0; padding: 20px 0; display: flex; flex-direction: column; align-items: flex-start; }
.profile-editorial .profile h1 { font-family: var(--display); font-size: 29px; line-height: 1.4; font-weight: 400; letter-spacing: .04em; }
.profile-editorial .profile h2 { order: 1; font-family: var(--display); font-size: clamp(36px, 4.1vw, 58px); line-height: 1.34; font-weight: 500; letter-spacing: -.025em; max-width: 11em; text-wrap: balance; margin: 20px 0 24px; }
.profile-editorial .profile .identity { order: 2; margin: 0; font-size: 14px; line-height: 1.8; color: inherit; }
.profile-editorial .profile :is(.student-background, .profile-background) { order: 3; color: inherit; opacity: .74; font-size: 12px; line-height: 1.8; margin-top: 8px; max-width: 34em; }
.profile-editorial .profile .math-note { order: 3; border-color: currentColor; color: inherit; }
.profile-editorial .profile-actions { order: 4; margin-top: 30px; gap: 16px 24px; }
.profile-editorial .profile-actions .button { border-radius: 30px; min-height: 44px; padding-inline: 24px; font-weight: 500; font-size: 13px; background: var(--ink); color: var(--paper); }
.profile-editorial .profile-actions .text-link { color: inherit; font-size: 13px; font-weight: 400; }
.profile-editorial[data-hero-tone="dark"] .profile-actions .button { background: var(--paper); color: var(--ink); }
.profile-editorial .profile-photo { display: block; grid-column: 2; grid-row: 1 / 3; width: min(100%, var(--portrait-width)); max-width: none; min-height: 0; height: auto; aspect-ratio: auto; justify-self: center; margin: 0; background: transparent; overflow: visible; border-radius: 2px; }
.profile-editorial .profile-photo picture { display: block; padding: 0; border: 0; background: transparent; border-radius: 2px; }
.profile-editorial .profile-photo img { width: 100%; height: auto; max-height: 570px; aspect-ratio: auto; object-fit: contain; border-radius: 2px; }
.profile-editorial.hero-intimate .profile-photo { width: min(100%, 354px); }
.profile-editorial.hero-artwork .profile-photo { padding: 24px; background: #fff; }
.profile-editorial.hero-wide .profile { min-height: 580px; height: clamp(580px, 47vw, 680px); padding-bottom: 50px; background: var(--hero-ground); }
.profile-editorial.hero-wide .profile-copy { max-width: 510px; }
.profile-editorial.hero-wide .profile-photo { position: absolute; grid-area: auto; inset: 0 0 0 auto; width: 82%; height: 100%; z-index: 0; }
.profile-editorial.hero-wide .profile-photo picture { width: 100%; height: 100%; }
.profile-editorial.hero-wide .profile-photo img { width: 100%; height: 100%; max-height: none; object-fit: contain; object-position: right center; border-radius: 0; }
.profile-editorial.hero-wide .profile::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--hero-ground) 8%, var(--hero-ground) 30%, color-mix(in srgb, var(--hero-ground) 65%, transparent) 43%, transparent 67%); }
.profile-editorial .profile-directory { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 32px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.profile-directory a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); font-size: 13px; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.profile-directory a:hover { color: var(--ink); text-decoration: underline; }
.profile-editorial .profile-introduction { padding: 44px 0 12px; }
.profile-editorial .profile-introduction .intro { font-family: var(--display); max-width: 39em; margin: 0 auto; font-size: clamp(18px, 1.85vw, 24px); line-height: 1.9; text-align: center; text-wrap: pretty; }
.profile-editorial :is(.student-story, .story-notes) { padding: 48px 0 64px; border: 0; }
.profile-editorial :is(.student-story-grid, .notes-grid, .lemon-story-grid) { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.profile-editorial :is(.student-story, .story-notes) :is(picture, img) { border-radius: 2px; }
.profile-editorial :is(.student-story, .story-notes) img { height: auto; aspect-ratio: auto; object-fit: contain; }
.profile-editorial :is(.student-story-grid, .notes-grid, .lemon-story-grid) > :is(figure, picture, aside) { margin: 0; width: 100%; max-width: 430px; justify-self: center; }
.profile-editorial .notes-copy { max-width: none; counter-reset: story-chapter; }
.profile-editorial .notes-copy > div { position: relative; padding: 24px 0 26px 46px; border-top: 1px solid var(--line); }
.profile-editorial .notes-copy > div::before { counter-increment: story-chapter; content: counter(story-chapter, decimal-leading-zero); position: absolute; top: 27px; left: 0; color: var(--blue); font: italic 24px/1 var(--display); }
.profile-editorial .notes-copy > div + div { margin-top: 0; }
.profile-editorial .notes-copy h2 { font-family: var(--display); font-size: clamp(23px, 2.05vw, 29px); line-height: 1.5; letter-spacing: -.02em; font-weight: 500; text-wrap: pretty; }
.profile-editorial .notes-copy p { margin-top: 13px; color: var(--muted); line-height: 1.95; font-size: 15px; }
.profile-editorial .source-note { color: var(--blue); font-size: 12px; line-height: 1.8; margin-top: 16px; }
.profile-editorial .written-story-grid .notes-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.profile-editorial .student-quote { background: var(--sky); padding: 44px 0; text-align: center; }
.profile-editorial .student-quote blockquote { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.65; max-width: 28em; margin: auto; text-wrap: balance; }
.profile-editorial .quote-context { margin: 20px auto 0; color: var(--muted); }
.profile-editorial :is(.student-moment, .lemon-meeting) { padding-block: 64px; gap: 60px; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.profile-editorial .lemon-meeting { grid-template-columns: 1fr 1fr; }
.profile-editorial[data-student="mocha"] .student-moment { grid-template-columns: minmax(0, 1fr) 320px; }
.profile-editorial :is(.student-moment, .lemon-meeting) img { object-fit: contain; height: auto; aspect-ratio: auto; border-radius: 2px; }
.profile-editorial :is(.student-moment, .lemon-meeting) h2,
.profile-editorial :is(.interview-heading, .work-copy, .homework-heading, .student-releases, .music-platforms, .works-heading, .experience-heading, .laura-song, .binyan-song) h2 { font-family: var(--display); font-size: clamp(27px, 2.8vw, 37px); font-weight: 500; line-height: 1.45; letter-spacing: -.02em; text-wrap: pretty; }
.profile-editorial :is(.student-moment, .lemon-meeting) p { color: var(--muted); font-size: 15px; line-height: 1.95; }
.profile-editorial :is(.interview-section, .student-releases, .music-platforms, .experience-section) { border-top: 1px solid var(--line); padding-block: 52px; }
.profile-editorial .interview-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; gap: 40px; margin-top: 28px; }
.profile-editorial .chapters { margin-top: 0; }
.profile-editorial .chapters li + li { border-color: var(--line); }
.profile-editorial .chapters a { font-size: 14px; min-height: 52px; }
.profile-editorial .chapter-time { color: var(--blue); }
.profile-editorial .media-frame { border-radius: 4px; }
.profile-editorial .play-icon { width: 58px; height: 58px; font-size: 20px; box-shadow: none; }
.profile-editorial :is(.work-section, .homework-section, .cocreate-section, .laura-cocreate, .binyan-cocreate) { background: var(--sky); padding-block: 56px; }
.profile-editorial .work-grid, .profile-editorial .homework-row { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.profile-editorial .homework-row { padding-block: 36px; }
.profile-editorial .homework-row:last-child { padding-bottom: 0; }
.profile-editorial .work-copy { max-width: 620px; }
.profile-editorial .work-copy > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.95; margin-top: 16px; }
.profile-editorial .work-copy .listening-note { color: var(--ink); border-left: 2px solid var(--line); padding-left: 16px; }
.profile-editorial .multiple-works > .reading-shell { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.profile-editorial .multiple-works .homework-heading { grid-column: 1 / -1; }
.profile-editorial .multiple-works .homework-row { grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 28px 0 0; border-top: 1px solid var(--line); align-items: start; }
.profile-editorial .multiple-works .work-copy h2 { font-size: 24px; }
.profile-editorial .multiple-works .work-copy > p:not(.eyebrow) { font-size: 14px; }
.profile-editorial .release-list a { padding-block: 22px; }
.profile-editorial .release-list a > div { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px; align-items: baseline; }
.profile-editorial .release-list h3 { font-family: var(--display); font-weight: 500; font-size: 23px; }
.profile-editorial .release-list p { margin: 0; font-size: 13px; }
.profile-editorial .release-list a > span { font-size: 12px; }
.profile-editorial .story-footer { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding-block: 32px; border-top: 1px solid var(--line); }
.profile-editorial .story-footer .brand { color: var(--blue); font-size: 18px; }
.profile-editorial main > section[id] { scroll-margin-top: calc(var(--oy-header-height) + 18px); }
@media (max-width: 1050px) {
  .profile-editorial :is(.shell, .reading-shell) { width: calc(100% - 64px); }
  .profile-editorial .profile { width: 100%; padding-inline: 32px; gap: 20px 32px; min-height: 560px; }
  .profile-editorial .profile h2 { font-size: 39px; }
  .profile-editorial.hero-wide .profile-copy { max-width: 390px; }
  .profile-editorial .profile-photo img { max-height: 500px; }
  .profile-editorial .interview-grid { gap: 28px; }
  .profile-editorial .multiple-works .homework-row { grid-template-columns: 130px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 760px) {
  .profile-editorial :is(.shell, .reading-shell) { width: calc(100% - 40px); }
  .profile-editorial .profile, .profile-editorial.hero-wide .profile {
    width: 100%; min-height: 0; height: auto; display: flex; flex-direction: column; align-items: stretch; padding: 16px 20px 32px; gap: 0;
  }
  .profile-editorial .profile-copy, .profile-editorial.hero-wide .profile-copy { width: 100%; max-width: none; padding: 22px 0 28px; }
  .profile-editorial .profile h1 { font-size: 23px; letter-spacing: .02em; }
  .profile-editorial .profile h2 { max-width: none; margin: 15px 0 20px; font-size: clamp(31px, 8.5vw, 42px); line-height: 1.4; text-wrap: pretty; }
  .profile-editorial .profile .identity { font-size: 13px; }
  .profile-editorial .profile :is(.student-background, .profile-background) { font-size: 11px; }
  .profile-editorial .profile-actions { margin-top: 22px; gap: 12px 22px; }
  .profile-editorial .profile-actions .button { padding-inline: 20px; }
  .profile-editorial .profile-photo, .profile-editorial.hero-wide .profile-photo { position: relative; inset: auto; width: min(100%, var(--portrait-width)); height: auto; margin: 0 auto; align-self: center; }
  .profile-editorial .profile-photo img, .profile-editorial.hero-wide .profile-photo img { width: 100%; height: auto; max-height: 470px; object-fit: contain; aspect-ratio: auto; }
  .profile-editorial.hero-wide .profile::after { display: none; }
  .profile-editorial.hero-artwork .profile-photo { padding: 18px; }
  .profile-editorial .profile-directory { justify-content: flex-start; gap: 0 22px; padding: 12px 0; }
  .profile-directory a { font-size: 12px; min-height: 40px; }
  .profile-editorial .profile-introduction { padding: 30px 0 0; }
  .profile-editorial .profile-introduction .intro { font-size: 19px; text-align: left; line-height: 1.85; }
  .profile-editorial :is(.student-story, .story-notes) { padding: 32px 0 40px; }
  .profile-editorial :is(.student-story-grid, .notes-grid, .lemon-story-grid) { display: flex; flex-direction: column; align-items: stretch; gap: 30px; }
  .profile-editorial :is(.student-story-grid, .notes-grid, .lemon-story-grid) > :is(figure, picture, aside) { width: min(100%, 400px); margin-inline: auto; }
  .profile-editorial :is(.student-story, .story-notes) img { max-height: 470px; width: 100%; }
  .profile-editorial .written-story-grid .notes-copy { display: block; }
  .profile-editorial .notes-copy > div { padding: 22px 0 26px 36px; }
  .profile-editorial .notes-copy > div::before { top: 28px; font-size: 21px; }
  .profile-editorial .notes-copy h2 { font-size: 23px; }
  .profile-editorial .notes-copy p { font-size: 15px; }
  .profile-editorial .student-quote { padding: 34px 0; }
  .profile-editorial .student-quote blockquote { font-size: 25px; text-align: left; }
  .profile-editorial :is(.student-moment, .lemon-meeting), .profile-editorial[data-student="mocha"] .student-moment { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .profile-editorial :is(.student-moment, .lemon-meeting) figure { width: min(100%, 400px); margin-inline: auto; }
  .profile-editorial .interview-grid { grid-template-columns: 1fr; gap: 20px; }
  .profile-editorial :is(.interview-section, .student-releases, .music-platforms, .experience-section) { padding-block: 38px; }
  .profile-editorial :is(.work-section, .homework-section, .cocreate-section, .laura-cocreate, .binyan-cocreate) { padding-block: 38px; }
  .profile-editorial .work-grid, .profile-editorial .homework-row { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .profile-editorial :is(.work-media, .homework-media) { width: min(240px, 100%); margin-inline: auto; }
  .profile-editorial .multiple-works > .reading-shell { display: block; }
  .profile-editorial .multiple-works .homework-row { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 30px; padding-top: 30px; }
  .profile-editorial .multiple-works .work-copy h2 { font-size: 28px; }
  .profile-editorial .multiple-works .work-copy > p:not(.eyebrow) { font-size: 15px; }
  .profile-editorial .release-list a { grid-template-columns: 1fr; gap: 10px; padding-block: 20px; }
  .profile-editorial .release-list a > div { display: block; }
  .profile-editorial .release-list p { margin-top: 8px; }
  .profile-editorial .story-footer { padding-block: 26px; }
}
@media (prefers-reduced-motion: reduce) { .profile-editorial > .oy-header { transition: none; } }
/* Individually art-directed from each student's original photograph. */
.profile-editorial[data-student="adong"] { --ink: #203e4c; --blue: #35677e; --paper: #f5f8f8; --hero-ground: #e2edf0; --hero-ink: #203e4c; --portrait-width: 420px; }
.profile-editorial[data-student="anyongsi"] { --ink: #343d30; --blue: #526143; --paper: #f7f8f3; --hero-ground: #e8ecdf; --hero-ink: #343d30; --portrait-width: 430px; }
.profile-editorial[data-student="binyan"] { --ink: #324247; --blue: #526e76; --paper: #f7f9f8; --hero-ground: #e4ecec; --hero-ink: #324247; --portrait-width: 415px; }
.profile-editorial[data-student="chenmo"] { --ink: #242748; --blue: #414b86; --paper: #f7f6fb; --hero-ground: #080e2c; --hero-ink: #fff; --portrait-width: 1100px; }
.profile-editorial[data-student="chibao"] { --ink: #303b42; --blue: #4b6270; --paper: #f5f7f8; --hero-ground: #15212a; --hero-ink: #f4f6f7; --portrait-width: 354px; }
.profile-editorial[data-student="chunye"] { --ink: #354138; --blue: #536c5c; --paper: #f6f8f4; --hero-ground: #e5eae2; --hero-ink: #354138; --portrait-width: 410px; }
.profile-editorial[data-student="dalongbao"] { --ink: #313e51; --blue: #496b8e; --paper: #f5f7fa; --hero-ground: #172840; --hero-ink: #f6f8fc; --portrait-width: 610px; }
.profile-editorial[data-student="ember"] { --ink: #343948; --blue: #596880; --paper: #f6f8fa; --hero-ground: #e9eff2; --hero-ink: #343948; --portrait-width: 630px; }
.profile-editorial[data-student="frank"] { --ink: #413b35; --blue: #76634e; --paper: #faf8f4; --hero-ground: #e9e3d9; --hero-ink: #413b35; --portrait-width: 510px; }
.profile-editorial[data-student="grace"] { --ink: #513c49; --blue: #86657d; --paper: #fbf7fa; --hero-ground: #eee0e9; --hero-ink: #513c49; --portrait-width: 390px; }
.profile-editorial[data-student="guaidan"] { --ink: #42362d; --blue: #826043; --paper: #faf7f3; --hero-ground: #261e19; --hero-ink: #fff7eb; --portrait-width: 390px; }
.profile-editorial[data-student="hakki"] { --ink: #343e44; --blue: #4e6972; --paper: #f7f9f9; --hero-ground: #e6eeef; --hero-ink: #343e44; --portrait-width: 440px; }
.profile-editorial[data-student="huaiyun"] { --ink: #344331; --blue: #56734e; --paper: #f7f9f3; --hero-ground: #e6eddd; --hero-ink: #344331; --portrait-width: 420px; }
.profile-editorial[data-student="jialulu"] { --ink: #29394e; --blue: #456584; --paper: #f5f7fb; --hero-ground: #0b1c30; --hero-ink: #f6f9ff; --portrait-width: 390px; }
.profile-editorial[data-student="jucilang"] { --ink: #343054; --blue: #61558b; --paper: #f8f6fc; --hero-ground: #18112f; --hero-ink: #faf7ff; --portrait-width: 1100px; }
.profile-editorial[data-student="junruo"] { --ink: #34443e; --blue: #646d46; --paper: #f9f8f1; --hero-ground: #152c2a; --hero-ink: #fff8e7; --portrait-width: 390px; }
.profile-editorial[data-student="laoma"] { --ink: #493b33; --blue: #805e4c; --paper: #faf7f3; --hero-ground: #e9e0d7; --hero-ink: #493b33; --portrait-width: 390px; }
.profile-editorial[data-student="laura"] { --ink: #493b39; --blue: #80615b; --paper: #faf7f5; --hero-ground: #ede2dc; --hero-ink: #493b39; --portrait-width: 505px; }
.profile-editorial[data-student="lemon"] { --ink: #3d4430; --blue: #697344; --paper: #f8f9f3; --hero-ground: #e7eadb; --hero-ink: #3d4430; --portrait-width: 390px; }
.profile-editorial[data-student="liuke"] { --ink: #323c3c; --blue: #5e7370; --paper: #f6f8f7; --hero-ground: #e1e8e5; --hero-ink: #323c3c; --portrait-width: 425px; }
.profile-editorial[data-student="lulu"] { --ink: #354652; --blue: #597586; --paper: #f7f9fb; --hero-ground: #e3eaf0; --hero-ink: #354652; --portrait-width: 545px; }
.profile-editorial[data-student="mocha"] { --ink: #4a3c47; --blue: #7d687e; --paper: #faf7fb; --hero-ground: #eee5ed; --hero-ink: #4a3c47; --portrait-width: 515px; }
.profile-editorial[data-student="qianle"] { --ink: #443e35; --blue: #796c53; --paper: #f9f8f3; --hero-ground: #e8e3d9; --hero-ink: #443e35; --portrait-width: 320px; }
.profile-editorial[data-student="rin"] { --ink: #344154; --blue: #596c86; --paper: #f6f7fa; --hero-ground: #e2e6ef; --hero-ink: #344154; --portrait-width: 660px; }
.profile-editorial[data-student="weiben"] { --ink: #383b3c; --blue: #5d686d; --paper: #f7f8f8; --hero-ground: #e5e7e7; --hero-ink: #383b3c; --portrait-width: 505px; }
.profile-editorial[data-student="xiaocai"] { --ink: #34463f; --blue: #5b7467; --paper: #f6f9f6; --hero-ground: #e3ebe5; --hero-ink: #34463f; --portrait-width: 610px; }
.profile-editorial[data-student="yanhuayan"] { --ink: #2c4149; --blue: #4e7482; --paper: #f4f8fa; --hero-ground: #101f28; --hero-ink: #f3faff; --portrait-width: 400px; }
.profile-editorial[data-student="yuchuan"] { --ink: #453d32; --blue: #786849; --paper: #faf8f2; --hero-ground: #e9e2d4; --hero-ink: #453d32; --portrait-width: 430px; }
.profile-editorial[data-student="zhangyao"] { --ink: #4b352f; --blue: #8b5f4c; --paper: #fbf7f3; --hero-ground: #331e1b; --hero-ink: #fff6ee; --portrait-width: 520px; }
.profile-editorial[data-student="zhubai"] { --ink: #30394b; --blue: #546382; --paper: #f6f7fa; --hero-ground: #101827; --hero-ink: #f5f7ff; --portrait-width: 1100px; }
.profile-editorial[data-student="zimo"] { --ink: #403f34; --blue: #6d7153; --paper: #f9f9f3; --hero-ground: #e6e7d9; --hero-ink: #403f34; --portrait-width: 420px; }

/* Longer headlines keep complete phrases instead of a stranded final character. */
.profile-editorial:is([data-student="ember"], [data-student="zhubai"], [data-student="zhangyao"]) .profile h2 { font-size: clamp(32px, 3.55vw, 48px); }
