/* Approved black / lime visual theme. Portfolio content stays in the original pages. */
:root{color-scheme:dark;--ink:#edf2fc;--blue:#9aff28;--sky:#1c2734;--citrus:#9aff28;--paper:#10141c;--line:#394657;--background:#10141c;--foreground:#edf2fc;--card:#1c2431;--card-foreground:#edf2fc;--primary:#9aff28;--primary-foreground:#152018;--secondary:#1c2734;--secondary-foreground:#edf2fc;--muted:#182230;--muted-foreground:#c4cfe1;--accent:#9aff28;--accent-foreground:#152018;--border:#394657}
html{scroll-padding-top:135px}body{background:#10141c;color:#edf2fc;font-family:Arial,Helvetica,sans-serif}img{max-width:100%}a{color:inherit}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid #9aff28;outline-offset:5px}section[id]{scroll-margin-top:135px}
body h1,body h2,body h3,body h4{font-family:Arial,Helvetica,sans-serif!important;font-weight:400!important;color:#edf2fc;letter-spacing:-.035em;line-height:1.2}body p{color:#d0d9e9}body .kicker{color:#9aff28;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:400;letter-spacing:.08em;font-size:12px}body .wordmark{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:400;letter-spacing:-1px;font-size:27px;color:#edf2fc}
body .site-header{background:#10141cf5;border-color:#394657;backdrop-filter:blur(16px)}body .desktop-nav a{color:#d0d9e9}body .desktop-nav a:hover,body .desktop-nav a[aria-current]{color:#9aff28}body .mobile-menu{color:#edf2fc}body .mobile-menu nav{background:#1c2431;color:#edf2fc;border-color:#394657}
body .button.primary,body .button.light{background:#9aff28;color:#152018;border:1px solid #9aff28;border-radius:6px;box-shadow:none;font-weight:500;text-transform:none;letter-spacing:0}body .button:hover{transform:translateY(-2px);box-shadow:0 5px 18px #0003}body .text-link,body .card-link,body .source-link{color:#9aff28;border-color:currentColor;font-weight:400;text-transform:none;letter-spacing:0}
/* The introduction and its three project gateways form one complete opening. */
.tech-opening{background:#10141c}.tech-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:64px;align-items:center;padding:58px 6% 44px;max-width:1440px;margin:auto}.tech-copy{min-width:0}.tech-welcome{font-size:13px;letter-spacing:.02em;margin:0 0 24px;color:#d0d9e9}.tech-hero h1{font-size:clamp(44px,5.1vw,70px);letter-spacing:-.055em;line-height:1.05;margin:0 0 26px}.tech-hero .tech-lead{color:#9aff28;font-size:23px;line-height:1.45;margin:0 0 28px;max-width:650px}.tech-bio p{font-size:16px;line-height:1.8;margin:0 0 20px}.tech-actions{display:flex;flex-wrap:wrap;gap:25px;align-items:center;margin-top:30px}.tech-actions .text-link{color:#edf2fc;font-size:14px}.tech-actions .button{min-height:48px;font-size:14px}
.tech-portrait{position:relative;padding:38px 8%;margin:0;min-width:0;background-image:radial-gradient(#71829b60 1px,transparent 1px);background-size:22px 22px}.tech-window{background:#1c2431;border:1px solid #394657;border-radius:12px;box-shadow:0 25px 60px #0004;overflow:hidden;transform:rotate(-2deg);max-width:390px;margin:auto}.tech-windowbar{background:#252e3c;display:flex;align-items:center;justify-content:space-between;padding:16px 18px;gap:15px;font-family:ui-monospace,monospace;font-size:11px;color:#d0d9e9;letter-spacing:.06em}.tech-windowbar .dots{letter-spacing:4px;color:#9aff28}.tech-window img{display:block;width:100%;aspect-ratio:3/3.5;object-fit:cover;object-position:center 25%}.tech-window figcaption{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#d0d9e9;font-size:13px;line-height:1.7;padding:20px}.tech-brace{position:absolute;font-family:ui-monospace,monospace;font-size:65px;font-weight:400;color:#9aff28}.tech-brace.left{left:0;top:20%}.tech-brace.right{right:0;bottom:10%}
.intro-projects{padding:0 6% 48px;max-width:1440px;margin:auto}.project-gateways{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.project-gateway{padding:26px 24px;background:#1c2431;border:1px solid #394657;border-radius:14px;min-width:0}.project-gateway:nth-child(2){background:#24302a;border-color:#288757}.project-gateway .category{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;letter-spacing:.08em;line-height:1.5;color:#9aff28}.project-gateway h2{font-size:22px;line-height:1.35;margin:20px 0 13px;letter-spacing:-.03em}.project-gateway p{font-size:14px;line-height:1.7;margin:0}.project-gateway a:hover{text-decoration:underline;text-underline-offset:4px}
/* Preserve the original content, photographs, evidence and full project pages. */
body .trail-nav{background:#182230;border-color:#394657;color:#edf2fc}body .trail-nav span{color:#9aff28}body .trail-nav a{color:#edf2fc}body .section{padding:76px 6%;border-color:#394657}body .section-heading>p:last-child:not(.kicker){color:#c4cfe1}body .section-heading h2,body .music h2{font-size:clamp(30px,3.6vw,48px);line-height:1.18}body .section-heading{margin-bottom:40px}
body .teacher-feature{background:#182230;margin:0;border:0;border-bottom:1px solid #394657}body .teacher-quote{background:transparent;border-color:#288757;color:#edf2fc;box-shadow:none}body .teacher-quote blockquote{color:#edf2fc;font-weight:400}body .teacher-quote figcaption,body .teacher-quote figcaption span,body .teacher-quote figcaption strong,body .science-photo figcaption{color:#c4cfe1}body .teacher-quote .text-link{color:#9aff28}body .science-photo img{border-radius:12px;box-shadow:none}body .science-photo{transform:none;background:transparent}
body .project,body .project.sky,body .project.ink,body .project.citrus,body .project.sand{background:#1c2431;color:#edf2fc;border:1px solid #394657;border-radius:14px;box-shadow:none}body .project.ink{background:#202b27;border-color:#288757}body .project .topline{color:#c4cfe1;border-color:#394657;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:400}body .project p,body .project .project-summary,body .project .project-date{color:#d0d9e9}body .project .role-label{color:#9aff28}body .project h3{color:#edf2fc}body .project .card-link{color:#9aff28;border-color:#9aff28}body .real-project-visual figcaption,body .project.ink .real-project-visual figcaption{color:#c4cfe1}body .real-project-visual img{border:1px solid #394657;border-radius:10px}
body .public-code{background:#182230;border:1px solid #394657;border-radius:14px}body .code-grid a{background:#1c2431;color:#edf2fc;border-color:#394657}body .code-grid a strong{font-weight:400;color:#9aff28}body .code-grid a span{color:#c4cfe1}
body .ascent,body .academics,body .community,body .music,body .about{background:#182230;color:#edf2fc}body .ascent h2,body #academics .section-heading h2{color:#edf2fc}body .ascent-grid,body .academic-grid,body .academic-stats,body .music-copy,body .music-copy>div{border-color:#394657}body .ascent-grid article,body .academic-grid article,body .academic-stats>div,body .course-detail>div{background:#1c2431;color:#edf2fc;border-color:#394657}body .ascent-grid b,body .academic-grid span,body .academic-stats strong,body .music-copy span{color:#9aff28}body .ascent-grid p,body .academic-grid p,body .academic-stats span,body .course-detail p,body .music-copy p{color:#d0d9e9}
body .award-list,body .award-list article{border-color:#394657}body .award-list .featured-award,body .award-list .featured-award:nth-of-type(4){background:#1c2431;box-shadow:none;border-radius:12px}body .award-list div span{color:#c4cfe1}body .award-list p{color:#9aff28}body .award-mark img{filter:brightness(0) invert(1);opacity:1}body .community-grid article,body .community-grid article:first-child{background:#1c2431;border:1px solid #394657;border-radius:12px}body .community-grid article>b{color:#9aff28}body .community-grid p{color:#d0d9e9}
body .journey-feature{background:#10141c;border-color:#394657}body .journey-feature img{border-radius:14px}body .outdoor-grid article,body .outdoor-grid .outdoor-feature{background:#1c2431;color:#edf2fc;border:1px solid #394657;border-radius:12px}body .outdoor-grid p{color:#d0d9e9}body .outdoor-grid .kicker,body .outdoor-grid .trail-symbol{color:#9aff28}body .outdoor-feature:before,body .outdoor-feature:after{display:none}body .favorites-feature{background:#182230}body .favorite-preview img{border-radius:10px}
body .page-breadcrumb,body .detail-nav{background:#10141c;border-color:#394657;color:#c4cfe1}body .detail-hero,body .detail-hero.sky,body .detail-hero.ink,body .detail-hero.citrus,body .detail-hero.sand{background:#182230;color:#edf2fc;border-color:#394657}body .detail-role{color:#9aff28}body .detail-lead{color:#d0d9e9}body .detail-grid,body .detail-grid article{background:#10141c;color:#edf2fc;border-color:#394657}body .detail-grid b{color:#9aff28}body .detail-grid p{color:#d0d9e9}body .project-context,body .project-proof,body .proof-grid,body .next-project{background:#182230;color:#edf2fc;border-color:#394657}body .skill-tags li{background:#24302a;color:#9aff28;border-color:#288757}body .visit-note{color:#c4cfe1}body .next-title{color:#edf2fc}body .profile-grid,body .profile-grid>div,body .profile-links,body .profile-links a{background:#10141c;color:#edf2fc;border-color:#394657}body .favorites-page article{background:#1c2431;color:#edf2fc;border-color:#394657}body footer{background:#10141c;color:#c4cfe1;border-color:#394657}body .footer-top{color:#9aff28}
body .athletics-section{background:#10141c;color:#edf2fc}
body .favorites-page .collage figure{background:#1c2431}
body .favorites-page .collage figcaption{background:#1c2431;color:#d0d9e9;font-weight:400;border-bottom:1px solid #394657}
body .favorites-page .eyebrow{display:block;border:0;padding:0;margin:32px 0 18px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;font-weight:400;color:#9aff28}
section[id]{scroll-margin-top:0}
@media(max-width:520px){html{scroll-padding-top:190px}}
.game-resources{margin-top:34px;padding:28px;border:1px solid #394657;border-radius:12px;background:#1c2431}.game-resources h2{font-size:26px}.game-resources .actions{gap:24px}.game-resources a{font-size:15px;color:#9aff28;text-decoration:underline;text-underline-offset:5px}
@media(max-width:1000px){.tech-hero{gap:38px;padding-top:42px}.tech-hero h1{font-size:56px}.tech-hero .tech-lead{font-size:21px}.tech-bio p{font-size:15px}.project-gateway{padding:23px 18px}.project-gateway h2{font-size:20px}}
@media(max-width:700px){.tech-hero{grid-template-columns:1fr;padding:34px 6% 28px;gap:30px}.tech-hero h1{font-size:48px}.tech-portrait{max-width:370px;width:100%;margin:auto}.tech-window{max-width:290px}.tech-brace{font-size:52px}.project-gateways{gap:12px}.project-gateway{padding:20px 14px}.project-gateway h2{font-size:18px}.project-gateway p{font-size:13px}.project-gateway .category{font-size:11px;letter-spacing:0}.tech-actions{gap:20px}.tech-actions .button{font-size:13px}.tech-actions .text-link{font-size:13px}body .section{padding:50px 6%}}
@media(max-width:520px){.project-gateways{grid-template-columns:1fr}.project-gateway{padding:24px}.project-gateway h2{font-size:22px}.project-gateway p{font-size:14px}.tech-hero h1{font-size:44px}.tech-window figcaption{font-size:12px}.tech-actions{align-items:flex-start}body .section-heading h2,body .music h2{font-size:32px}body .detail-hero h1{font-size:38px!important}body .detail-hero{padding:36px 6%}body .site-header .desktop-nav{gap:2px 12px}body .site-header .desktop-nav a{min-height:32px}body .teacher-feature{gap:30px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none!important}}

/* Consistent lime actions and visible separation on the dark theme. */
body .project .card-link,
body .project.ink .card-link{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  min-height:48px;padding:12px 20px;background:#9aff28;color:#10141c;
  border:1px solid #9aff28;border-radius:6px;font-size:14px;font-weight:500;
  text-decoration:none;transition:background .18s ease,border-color .18s ease;
}
body .project .card-link:hover,
body .project.ink .card-link:hover{background:#bcff70;border-color:#bcff70;color:#10141c;opacity:1}
.project-gateway{border-top:3px solid #9aff28}
.project-gateway:nth-child(2){background:#1c2431;border-color:#288757;border-top-color:#9aff28}
.project-gateway:nth-child(2) h2 a{color:#9aff28}
body .project.ink{background:#1c2431;border-color:#288757}
body #projects{border-top:3px solid #9aff28}
body .project .topline{border-bottom-color:#9aff28}
body .teacher-quote{border-left-color:#9aff28}

/* Five clear top-level choices; secondary destinations stay in More. */
html{scroll-padding-top:100px}
body .site-header{flex-wrap:nowrap;min-height:78px;gap:24px}
body .site-header .desktop-nav{flex-basis:auto;flex-wrap:nowrap;gap:24px}
body .site-header .desktop-nav>a,
body .nav-more>summary{min-height:44px;font-size:13px;font-weight:400}
.nav-more{position:relative}
.nav-more>summary{display:flex;align-items:center;gap:8px;color:#d0d9e9;cursor:pointer;list-style:none;white-space:nowrap}
.nav-more>summary::-webkit-details-marker{display:none}
.nav-more>summary span{color:#9aff28;transition:transform .18s ease}
.nav-more[open]>summary,.nav-more>summary:hover{color:#9aff28}
.nav-more[open]>summary span{transform:rotate(180deg)}
.nav-dropdown{position:absolute;right:0;top:calc(100% + 8px);z-index:30;min-width:220px;padding:8px;background:#1c2431;border:1px solid #288757;border-top:3px solid #9aff28;border-radius:8px;box-shadow:0 16px 40px #0006;max-height:calc(100svh - 160px);overflow-y:auto}
body .site-header .nav-dropdown a{display:flex;min-height:44px;padding:10px 14px;border-radius:4px;font-size:13px;font-weight:400;color:#edf2fc}
body .site-header .nav-dropdown a:hover,
body .site-header .nav-dropdown a:focus-visible{background:#2b3b2b;color:#9aff28}
@media(max-width:700px){
  html{scroll-padding-top:140px}
  body .site-header{flex-wrap:wrap;gap:2px;padding:10px 5%}
  body .site-header .desktop-nav{flex-basis:100%;justify-content:space-between;gap:8px}
  body .site-header .desktop-nav>a,body .nav-more>summary{font-size:12px}
}
@media(max-width:380px){body .site-header .desktop-nav{gap:5px}body .site-header .desktop-nav>a,body .nav-more>summary{font-size:11px}}

/* Electric blue, vivid green and neon lime. */
.project-gateway:nth-child(1){background:#1055d8;border-color:#438cff;border-top-color:#9aff28}
.project-gateway:nth-child(2){background:#007044;border-color:#31db86;border-top-color:#9aff28}
.project-gateway:nth-child(3){background:#9aff28;border-color:#9aff28;border-top-color:#1055d8;color:#10141c}
.project-gateway:nth-child(1) .category,.project-gateway:nth-child(2) .category{color:#fff}
.project-gateway p{color:#fff}
.project-gateway:nth-child(3) .category,.project-gateway:nth-child(3) h2,
.project-gateway:nth-child(3) h2 a,.project-gateway:nth-child(3) p{color:#10141c}
body .project.sky{background:#1055d8;border-color:#438cff;--project-accent:#9aff28}
body .project.ink{background:#007044;border-color:#31db86;--project-accent:#9aff28}
body .project.citrus{background:#0068b5;border-color:#31a4ff;--project-accent:#9aff28}
body .project.sand{background:#9aff28;border-color:#9aff28;--project-accent:#10141c;color:#10141c}
body .project-list>.project{border-top:3px solid var(--project-accent,#9aff28)}
body .project .topline{border-bottom-color:var(--project-accent,#9aff28);color:#fff}
body .project .role-label{color:var(--project-accent,#9aff28);opacity:1}
body .project .project-date{opacity:1}
body .project p,body .project .project-summary,body .project .project-date{color:#fff}
body .project .role-label{color:var(--project-accent,#9aff28)}
body .project .real-project-visual figcaption,body .project.ink .real-project-visual figcaption{color:#fff}
body .project.sand h3,body .project.sand p,body .project.sand .project-summary,
body .project.sand .project-date,body .project.sand .topline,
body .project.sand .real-project-visual figcaption{color:#10141c}
body .project.sand .card-link{background:#10141c;border-color:#10141c;color:#9aff28}
body .project.sand .card-link:hover{background:#05265d;border-color:#05265d;color:#9aff28}
body .teacher-feature{background:#071f43;border-bottom-color:#438cff}
body .ascent{background:#052d24;--section-accent:#9aff28}
body #academics{background:#0a44aa;--section-accent:#9aff28}
body #recognition{background:#006a44;--section-accent:#9aff28}
body #leadership{background:#061d40;--section-accent:#31a4ff}
body #music{background:#006a44;--section-accent:#9aff28}
body #athletics{background:#0845a1;--section-accent:#9aff28}
body .favorites-feature{background:#071f43;--section-accent:#9aff28}
body .ascent,body #academics,body #recognition,body #leadership,
body #music,body #athletics,body .favorites-feature{border-top:3px solid var(--section-accent)}
body #academics .kicker,body #recognition .kicker,body #leadership .kicker,
body #music .kicker,body #athletics .kicker,body .favorites-feature .kicker{color:#9aff28}
body #academics .academic-grid article,body #academics .academic-stats>div{background:#05265d;border-color:#438cff}
body #academics .section-heading>p:last-child,body #recognition .section-heading>p:last-child,
body #athletics .section-heading>p:last-child,body #music .music-copy p,
body #recognition .award-list div span{color:#fff}
body #recognition .award-list .featured-award{background:#00472e;border-color:#31db86}
body #leadership .community-grid article{background:#0b4fb9;border-color:#438cff}
body #athletics .outdoor-grid article{background:#05265d;border-color:#438cff}
body #music .music-copy>div{border-color:#31db86}
body .detail-hero.sky{background:#1055d8;border-bottom:3px solid #9aff28}
body .detail-hero.ink{background:#007044;border-bottom:3px solid #9aff28}
body .detail-hero.citrus{background:#0068b5;border-bottom:3px solid #9aff28}
body .detail-hero.sand{background:#9aff28;color:#10141c;border-bottom:3px solid #1055d8}
body .detail-hero .detail-lead,body .detail-hero .real-project-visual figcaption{color:#fff}
body .detail-hero.sand h1,body .detail-hero.sand h2,body .detail-hero.sand p,
body .detail-hero.sand .detail-role,body .detail-hero.sand .detail-lead,
body .detail-hero.sand .kicker,body .detail-hero.sand .real-project-visual figcaption{color:#10141c}
body .detail-hero.sand .button.primary{background:#10141c;border-color:#10141c;color:#9aff28}
body #projects .section-heading h2{color:#9aff28}
body .skip-link{background:#9aff28;color:#10141c;border-radius:4px}

/* Keep the restored portfolio stories within the approved technology theme. */
body .project-thread{margin-top:36px;padding:36px;background:#05265d;border:1px solid #438cff;border-top:3px solid #9aff28;border-radius:14px}
body .project-thread>p:not(.kicker){max-width:980px;color:#edf2fc;font-size:18px;line-height:1.75}
body .project-thread h3{max-width:1000px;color:#9aff28;font-size:clamp(25px,3vw,36px);line-height:1.3;margin:24px 0}
body .project-thread h3 em{font:inherit;color:inherit}
body #leadership .community-grid article:last-child{grid-column:auto}
body .story-hero{display:block;padding-block:56px}
body .story-hero h1{margin:18px 0 20px}
body .story-hero .detail-role{margin:0}
body .story-hero .detail-lead{max-width:920px;margin:28px 0 0;line-height:1.5}
@media(max-width:520px){body .project-thread{padding:24px}body .project-thread>p:not(.kicker){font-size:16px}}

/* Readable monospace project roles */
html body .role-label { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; font-size: clamp(18px, 1.65vw, 24px) !important; line-height: 1.5; }

html body .public-code .code-heading h3 { color:#9aff28; margin:0; }
.code-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; }
.github-profile-link { display:inline-flex; align-items:center; gap:10px; color:#9aff28; padding:8px 0; }
.github-profile-link svg { flex-shrink:0; }

/* Academic quote and supporting details */
html body #academics > .teacher-quote { max-width:none; margin:40px 0; padding:32px; background:#101c35; border:1px solid #ffffff26; border-left:3px solid #9aff28; border-radius:12px; display:grid; grid-template-columns:minmax(0,2fr) minmax(190px,1fr); gap:36px; align-items:center; }
html body #academics > .teacher-quote blockquote { margin:0; font-family:inherit; font-size:clamp(17px,1.45vw,22px); line-height:1.75; }
html body #academics > .teacher-quote figcaption { margin:0; font-size:14px; line-height:1.7; }
html body #academics > .teacher-quote figcaption strong { color:#9aff28; }
html body #academics > .teacher-quote a { display:inline-block; width:auto; margin-top:16px; }
html body #academics .course-detail { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-top:0; }
html body #academics .course-detail > div { padding:28px 30px; border:1px solid #ffffff26; border-radius:12px; background:#1c2431; }
html body #academics .course-detail h3 { color:#9aff28; margin:0 0 16px; font-size:22px; }
html body #academics .course-detail p { margin:0; line-height:1.8; }
@media(max-width:760px){html body #academics > .teacher-quote {grid-template-columns:1fr;gap:24px;padding:24px;} html body #academics .course-detail {grid-template-columns:1fr;} html body #academics .course-detail > div {padding:24px;}}

html body .tech-welcome { color:#9aff28; }

/* Keep teacher perspectives together with the childhood photo. */
html body .teacher-feature { align-items:start; }
html body .teacher-feature .teacher-quotes-more { grid-column:1 / -1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; }
html body .teacher-feature .teacher-quote { max-width:none; margin:0; padding:24px 28px; border-left:3px solid #9aff28; }
html body .teacher-feature blockquote { font-family:inherit; font-size:clamp(18px,1.6vw,24px); line-height:1.65; margin:0 0 24px; }
html body .teacher-feature .teacher-quote figcaption { font-size:14px; line-height:1.7; }
html body .teacher-feature .teacher-quote figcaption strong { color:#9aff28; }
html body .teacher-feature .teacher-quote a { display:inline-block; width:auto; margin-top:16px; }
html body #academics .course-detail { margin-top:32px; }
@media(max-width:760px){html body .teacher-feature .teacher-quotes-more {grid-template-columns:1fr;} html body .teacher-feature .teacher-quote {padding:20px;}}

/* Compact music overview. */
html body #music { display:block; padding-block:36px; }
html body #music .music-copy { display:grid; grid-template-columns:1fr 1fr; gap:32px; border-top:1px solid #ffffff40; }
html body #music .music-copy > div { padding:20px 0 0; border-bottom:0; }
html body #music .music-copy h3 { margin:8px 0; font-size:24px; }
html body #music .music-copy p { margin:8px 0; line-height:1.6; }
html body #music .source-link { margin-top:4px; }
@media(max-width:760px){html body #music .music-copy {grid-template-columns:1fr;gap:16px;}}

/* Reduce tile whitespace without changing typography. */
html body #leadership .community-grid { gap:16px; }
html body #leadership .community-grid article { min-height:0; padding:18px 22px; }
html body #leadership .community-grid h3 { margin:10px 0; }
html body #leadership .community-grid p { margin:8px 0; max-width:none; }
html body #leadership .community-grid .card-link { margin-top:10px; }

/* Consistent alternating recognition rows, without numbering. */
html body #recognition .award-list article { grid-template-columns:minmax(0,1fr) auto; margin-inline:0; padding:24px; border-radius:10px; border-bottom:1px solid #31db86; }
html body #recognition .award-list article:nth-child(odd) { background:#00472e; }
html body #recognition .award-list article:nth-child(even) { background:#006b47; }
@media(max-width:620px){html body #recognition .award-list article {grid-template-columns:1fr;padding:20px;} html body #recognition .award-list time,html body #recognition .award-mark {grid-column:auto;}}


/* Shared section header: label, phrase, description. */
html body main > .section:has(> .section-heading) { padding-top:48px; }
html body main .section > .section-heading { display:grid; grid-template-columns:minmax(140px,.55fr) minmax(0,1.25fr) minmax(0,.8fr); align-items:start; gap:32px; margin:0 0 32px; }
html body main .section > .section-heading > .kicker { margin:0; padding-top:6px; color:#9aff28; font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size:13px; font-weight:500; line-height:1.6; letter-spacing:.1em; text-transform:none; }
html body main .section > .section-heading > h2 { margin:0; color:#9aff28; font-family:"Trebuchet MS",Arial,sans-serif!important; font-size:clamp(29px,3vw,42px)!important; font-weight:500!important; line-height:1.25!important; letter-spacing:-.035em; }
html body main .section > .section-heading > p:not(.kicker) { margin:0; padding-top:6px; color:#d0d9e9; font-size:16px!important; font-weight:400; line-height:1.7; }
@media(max-width:900px){html body main .section > .section-heading {grid-template-columns:1fr;gap:12px;margin-bottom:28px;} html body main .section > .section-heading > .kicker,html body main .section > .section-heading > p:not(.kicker) {padding-top:0;}}

html body #projects .project-thread { background:#10141c; }

html body .about-profile h2 {font-size:22px;line-height:1.3;color:#9aff28;margin:28px 0 10px;letter-spacing:-.02em;}
html body .about-profile h2 + p {margin-top:0;}

/* A readable personal profile with a proportionate portrait. */
html body .about-profile {max-width:1200px;margin:0 auto;padding:64px 6%;display:grid;grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr);gap:56px;align-items:start;border:0;}
html body .about-profile > div:last-child {padding:0;}
html body .about-profile .photo-slot {border:0;min-height:0;}
html body .about-profile .photo-slot img {width:100%;height:auto;max-height:none;display:block;border-radius:12px;}
html body .about-profile h1 {font-size:clamp(38px,4vw,56px)!important;line-height:1.15;margin:12px 0 20px;}
html body .about-profile .detail-lead {font-size:24px;line-height:1.5;color:#9aff28;margin:0 0 24px;}
html body .about-profile p:not(.kicker):not(.detail-lead) {font-size:17px;line-height:1.75;margin:0 0 20px;max-width:650px;}
html body .about-profile .profile-links {margin-top:28px;}
@media(max-width:760px){html body .about-profile {grid-template-columns:1fr;padding:36px 6%;gap:28px;}html body .about-profile .photo-slot {max-width:240px;}html body .about-profile .detail-lead {font-size:22px;}}

/* Slightly tighter project tiles, preserving text and image dimensions. */
@media(min-width:761px){html body .project-list>.project{padding-top:.9rem!important;padding-bottom:.9rem!important}}
@media(max-width:760px){html body .project-list>.project{padding-top:1rem!important;padding-bottom:1rem!important}}

/* Remove nested vertical whitespace without resizing project content. */
html body .project-list>.project .project-body{padding-top:0;padding-bottom:0}
html body .project-list>.project .real-project-visual{margin-top:0}

/* Compact the project conclusion and transition into My Journey. */
html body #projects{padding-bottom:24px}
html body #projects + .journey-feature{padding-top:24px}
html body #projects .project-thread{margin-top:24px;padding-top:20px;padding-bottom:20px}
html body #projects .project-thread>.kicker{margin:0 0 14px}
html body #projects .project-thread>p:not(.kicker){margin:0}
html body #projects .project-thread h3{margin:16px 0 0}

/* Consistent compact spacing across portfolio pages. */
html body main > .section{padding-top:36px;padding-bottom:36px}
html body main > .section:has(> .section-heading){padding-top:36px}
html body main .section > .section-heading{margin-bottom:24px}
html body .page-breadcrumb{padding-top:12px;padding-bottom:12px}
html body .detail-hero{padding-top:32px;padding-bottom:32px;row-gap:24px}
html body .detail-hero.compact-story,html body .detail-hero.story-hero{display:block}
html body .detail-hero.compact-story>.kicker,html body .detail-hero.story-hero>.kicker{margin:0 0 14px}
html body .detail-hero.compact-story>h1,html body .detail-hero.story-hero>h1{margin:0 0 16px}
html body .detail-hero.compact-story>.detail-role,html body .detail-hero.story-hero>.detail-role{margin:0}
html body .detail-hero.compact-story>.detail-lead,html body .detail-hero.story-hero>.detail-lead{margin:20px 0 0}
html body .detail-grid article{min-height:0;padding-top:24px;padding-bottom:24px}
html body .detail-grid article p:last-child{margin-bottom:0}
html body .detail-actions,html body .project-context,html body .next-project{padding-top:24px;padding-bottom:24px}
html body .project-context> :first-child{margin-top:0}
html body .project-context> :last-child{margin-bottom:0}
html body #projects{padding-bottom:24px}
html body #projects + .journey-feature{padding-top:24px}
@media(max-width:760px){html body main>.section,html body main>.section:has(>.section-heading){padding-top:28px;padding-bottom:28px}html body .detail-hero{padding-top:28px;padding-bottom:28px}}

html body .game-on-hero{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:36px;align-items:center}
html body .game-on-hero .kicker{margin:0 0 14px}
html body .game-on-hero h1{margin:0 0 16px}
html body .game-on-hero .detail-role{margin:0}
html body .game-on-hero .detail-lead{margin:20px 0 0}
html body .game-on-hero figure{margin:0}
html body .game-on-hero figure .text-link{display:inline-block;margin-top:12px}
@media(max-width:760px){html body .game-on-hero{grid-template-columns:1fr;gap:24px}}

html body .detail-grid article>p{margin-top:16px}

/* One compact puzzle story, with its image beside the text. */
html body .puzzle-compact{grid-template-columns:minmax(0,1.5fr) minmax(220px,.5fr);gap:36px;padding-top:24px;padding-bottom:24px;align-items:center}
html body .puzzle-compact .kicker{margin:0 0 10px}
html body .puzzle-compact h1{margin:0 0 12px}
html body .puzzle-compact .detail-role{margin:0}
html body .puzzle-compact .detail-lead{margin:16px 0}
html body .puzzle-compact p:last-child{margin-bottom:0}
html body .puzzle-compact figure{margin:0}
@media(max-width:760px){html body .puzzle-compact{grid-template-columns:1fr;gap:20px}html body .puzzle-compact figure{max-width:280px}}

/* My Journey uses the same compact tile treatment as featured projects. */
html body main>.journey-tile{margin:0 6% 24px;padding:20px 2.2rem;border:1px solid #394657;border-top:3px solid #9aff28;border-radius:14px;background:#1c2431;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:3rem;align-items:center}
html body .journey-tile .kicker{color:#9aff28;margin:0 0 12px}
html body .journey-tile h2{font-size:clamp(27px,3vw,40px)!important;letter-spacing:-.03em;margin:0 0 16px;line-height:1.25}
html body .journey-tile p:not(.kicker){margin:0 0 20px}
html body .journey-tile .actions{margin:0}
html body .journey-tile>img{width:100%;height:auto;max-height:400px;object-fit:contain;border-radius:10px}
@media(max-width:760px){html body main>.journey-tile{grid-template-columns:1fr;padding:20px;gap:24px}}

/* Compact portfolio tiles and grouped academic details. */
html body .project-list{gap:16px}
html body .project-list>.project{padding-left:24px;padding-right:24px}
html body .project-list .project-body{grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:28px}
html body .project-list .project-body h3{font-size:clamp(25px,2.5vw,32px);margin:8px 0 12px}
html body .project-list .project-summary{font-size:16px;line-height:1.6;margin:0 0 12px}
html body .project-list .real-project-visual img{max-height:230px}
html body .project-list .project-date{margin:8px 0}
html body .ascent-grid article,html body .community-grid article{padding:20px}
html body .ascent-grid h3,html body .community-grid h3{font-size:23px;margin-top:12px}
html body main>.journey-tile{padding:20px 24px;gap:28px}
html body .journey-tile>img{max-height:240px}
html body #academics .academic-grid{gap:14px;border:0;margin-top:20px;scroll-margin-top:90px}
html body #academics .academic-grid article{min-height:0;padding:20px;border:1px solid #438cff;border-radius:10px}
html body #academics .academic-grid h3{font-size:21px;margin:14px 0 10px;line-height:1.3}
html body #academics .academic-grid p{font-size:16px;line-height:1.6;margin:0}
html body #academics .academic-grid p.academic-value{font-size:36px;line-height:1.15;color:#9aff28;margin:12px 0}
html body #academics .academic-value small{display:block;font-size:13px;line-height:1.5;color:#d0d9e9;font-weight:400;margin-top:5px}
html body #academics .academic-courses{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}
html body #academics .test-scores{margin:12px 0 0}
html body #academics .test-scores>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid #438cff55}
html body #academics .test-scores>div:last-child{border-bottom:0}
html body #academics .test-scores dt{font-size:14px;line-height:1.4}
html body #academics .test-scores dd{margin:0;color:#9aff28;font-size:28px;line-height:1.15}
html body #academics .course-detail{gap:14px;margin-top:14px}
html body #academics .course-detail>div{padding:20px}
html body #academics .course-detail h3{font-size:21px;margin-bottom:10px}
html body #academics .course-detail p{font-size:16px;line-height:1.6}
@media(max-width:760px){html body .project-list .project-body{grid-template-columns:1fr;gap:16px}html body #academics .academic-overview,html body #academics .academic-courses{grid-template-columns:1fr}html body .project-list>.project{padding-left:18px;padding-right:18px}html body .project-list .real-project-visual img{max-height:200px}}

/* Three compact endorsements, with full quotes and source letters retained. */
html body main>#teachers{display:block;padding-top:24px;padding-bottom:24px}
html body #teachers .teacher-heading{display:flex;align-items:center;gap:16px;margin-bottom:18px}
html body #teachers .teacher-heading img{width:64px;height:64px;object-fit:cover;border-radius:8px}
html body #teachers .teacher-heading h2{font-size:26px;margin:0;line-height:1.25}
html body #teachers .teacher-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
html body #teachers .teacher-quote{padding:14px 16px;margin:0;background:#101c35;border-left:2px solid #9aff28;border-radius:6px;display:flex;flex-direction:column}
html body #teachers blockquote{font-size:16px;line-height:1.5;margin:0 0 12px}
html body #teachers .teacher-quote figcaption{font-size:12px;line-height:1.5;margin-top:auto}
html body #teachers .teacher-quote figcaption span{display:block;margin-top:4px}
html body #teachers .teacher-quote a{margin-top:8px;font-size:13px}
@media(max-width:760px){html body #teachers .teacher-cards{grid-template-columns:1fr;gap:12px}html body #teachers .teacher-heading h2{font-size:23px}}

/* Slim recognition rows and community cards. */
html body #recognition .award-list article{padding:14px 18px;gap:16px;align-items:center}
html body #recognition .award-list h3{font-size:23px;margin:3px 0 5px;line-height:1.25}
html body #recognition .award-list p{margin:0 0 4px}
html body #recognition .award-list .source-link{font-size:13px;margin-top:6px}
html body #recognition .award-mark img{width:100px;max-height:90px;object-fit:contain}
html body #leadership .community-grid{gap:12px}
html body #leadership .community-grid article{padding:12px 16px;min-height:0}
html body #leadership .community-grid h3{font-size:21px;margin:4px 0 6px}
html body #leadership .community-grid p{font-size:15px;line-height:1.5;margin:6px 0}
html body #leadership .community-grid .card-link{margin-top:6px;padding-bottom:4px;font-size:13px}

/* Compact music, athletics, and the three-photo personal preview. */
html body main>#music,html body main>#athletics,html body main>.favorites-feature{padding-top:24px;padding-bottom:24px}
html body #music>.section-heading,html body #athletics>.section-heading,html body .favorites-feature>.section-heading{margin-bottom:16px}
html body #music .music-copy{gap:20px}
html body #music .music-copy>div,html body #music .music-copy>div:first-child{padding:12px 0 0;min-height:0}
html body #music .music-copy h3{font-size:21px;margin:6px 0}
html body #music .music-copy p{font-size:15px;line-height:1.5;margin:6px 0}
html body #music .music-copy .source-link{font-size:13px;margin-top:6px}
html body #athletics .outdoor-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border:0}
html body #athletics .outdoor-grid article{padding:14px 16px;min-height:0;grid-column:auto}
html body #athletics .outdoor-grid .kicker{margin:0 0 6px}
html body #athletics .outdoor-grid h3{font-size:21px;margin:6px 0}
html body #athletics .outdoor-grid p:last-child{font-size:15px;line-height:1.5;margin:6px 0 0}
html body #athletics .trail-symbol{display:none}
html body .favorites-feature .favorite-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0}
html body .favorites-feature .favorite-preview img{display:block;width:100%;height:180px;max-height:180px;object-fit:contain;border-radius:8px;background:#10141c}
html body .favorites-feature .button{padding:10px 16px;font-size:14px;min-height:44px}
@media(max-width:760px){html body #athletics .outdoor-grid{grid-template-columns:1fr}html body .favorites-feature .favorite-preview{gap:8px}html body .favorites-feature .favorite-preview img{height:130px;max-height:130px}}
@media(max-width:480px){html body .favorites-feature .favorite-preview img{height:100px;max-height:100px}}

/* Dense academic and recognition layouts: use width, not empty vertical space. */
html body main>#academics,html body main>#recognition{padding-top:22px;padding-bottom:22px}
html body #academics>.section-heading,html body #recognition>.section-heading{display:grid;grid-template-columns:auto 1fr;gap:8px 24px;align-items:baseline;margin:0 0 12px}
html body #academics>.section-heading .kicker,html body #recognition>.section-heading .kicker{margin:0}
html body #academics>.section-heading h2,html body #recognition>.section-heading h2{font-size:28px;margin:0;max-width:none}
html body #academics>.section-heading>p:last-child,html body #recognition>.section-heading>p:last-child{grid-column:1/-1;max-width:none;width:auto;font-size:15px;line-height:1.45;margin:0}
html body #academics>.text-link{margin:0 0 8px;padding:0;font-size:13px;min-height:0;border:0}
html body #academics .academic-grid{gap:8px;margin-top:8px}
html body #academics .academic-grid article{padding:12px 14px}
html body #academics .academic-grid article>span{font-size:10px;letter-spacing:.08em}
html body #academics .academic-grid h3{font-size:18px;margin:5px 0}
html body #academics .academic-grid p{font-size:14px;line-height:1.4;margin:0}
html body #academics .academic-grid p.academic-value{font-size:28px;line-height:1.1;margin:6px 0}
html body #academics .academic-value small{font-size:12px;margin:3px 0 0}
html body #academics .test-scores{margin:5px 0 0;display:grid;grid-template-columns:.6fr .8fr 1.4fr;gap:10px}
html body #academics .test-scores>div{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:4px 0;border:0}
html body #academics .test-scores dt{font-size:12px}
html body #academics .test-scores dd{font-size:26px}
html body #academics .course-detail{margin-top:8px;gap:8px}
html body #academics .course-detail>div{padding:12px 14px}
html body #academics .course-detail h3{font-size:18px;margin:0 0 5px}
html body #academics .course-detail p{font-size:14px;line-height:1.4}
html body #recognition .award-list{border:0;display:grid;gap:5px}
html body #recognition .award-list article{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(140px,.5fr);gap:18px;padding:12px 16px;min-height:0;align-items:center;border:0;border-radius:8px}
html body #recognition .award-list p{font-size:10px;line-height:1.3;margin:0 0 4px;letter-spacing:.08em}
html body #recognition .award-list h3{font-size:18px;line-height:1.25;margin:0}
html body #recognition .award-description{font-size:14px;line-height:1.4;color:#fff}
html body #recognition .award-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}
html body #recognition .award-list .source-link{display:inline;font-size:13px;line-height:1.4;margin:0;padding:0;min-height:0;border:0;width:auto}
html body #recognition .award-mark img{width:55px;height:55px;object-fit:contain}
html body main>#teachers{padding-top:18px;padding-bottom:18px}
html body #teachers .teacher-heading{gap:12px;margin-bottom:12px}
html body #teachers .teacher-heading img{width:42px;height:42px}
html body #teachers .teacher-heading h2{font-size:24px}
html body #teachers .teacher-cards{gap:10px;align-items:start}
html body #teachers .teacher-quote{padding:12px;min-width:0}
html body #teachers blockquote{font-size:14px;line-height:1.45;margin:0 0 8px}
html body #teachers .teacher-quote figcaption{margin:0;font-size:11px;line-height:1.4}
html body #teachers .teacher-quote figcaption strong{display:block;margin:0}
html body #teachers .teacher-quote figcaption span{margin:4px 0}
html body #teachers .teacher-quote a{display:inline;font-size:12px;margin:0;padding:0;min-height:0;border:0;width:auto}
@media(max-width:760px){html body #recognition .award-list article{grid-template-columns:1fr;gap:6px;padding:12px 14px}html body #recognition .award-actions{justify-content:flex-start}html body #academics>.section-heading,html body #recognition>.section-heading{grid-template-columns:1fr;gap:6px}html body #academics>.section-heading h2,html body #recognition>.section-heading h2{font-size:25px}}
html body #academics .course-detail{padding:0;margin-top:8px}
html body #academics>.section-heading h2,html body #recognition>.section-heading h2{font-size:28px!important}

/* Compact project themes moved to More About Me. */
.about-project-themes{max-width:1200px;margin:0 auto 40px;padding:0 24px}
.about-project-themes .project-gateways{gap:14px;margin:0}
.about-project-themes .project-gateway{padding:18px 20px;min-height:0;border-radius:12px}
.about-project-themes .project-gateway .category{font-size:11px;letter-spacing:.08em;margin:0 0 12px}
.about-project-themes .project-gateway h2{font-size:22px;line-height:1.2;margin:0 0 8px}
.about-project-themes .project-gateway p{font-size:14px;line-height:1.5;margin:0}
@media(max-width:700px){.about-project-themes .project-gateways{grid-template-columns:1fr}.about-project-themes .project-gateway{padding:16px}}

/* Smaller, consistent detail pages reached from Leadership & Community. */
html body.compact-leadership-page main{max-width:1100px;margin:0 auto;font-size:15px;line-height:1.6}
html body.compact-leadership-page .page-breadcrumb{padding:12px 24px;font-size:13px}
html body.compact-leadership-page .detail-hero{padding:24px;gap:24px;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
html body.compact-leadership-page .detail-hero h1{font-size:30px!important;line-height:1.2;margin:8px 0 12px;letter-spacing:-.025em}
html body.compact-leadership-page .kicker{font-size:11px;margin:0 0 10px}
html body.compact-leadership-page .detail-role{font-size:14px;margin:0 0 12px}
html body.compact-leadership-page .detail-hero .detail-lead{font-size:17px;line-height:1.5;margin:12px 0 0}
html body.compact-leadership-page .detail-hero p:not([class]){font-size:15px;margin:12px 0 0}
html body.compact-leadership-page .real-project-visual{margin:0;min-height:0}
html body.compact-leadership-page .real-project-visual img{width:100%;height:auto!important;max-height:240px;object-fit:contain}
html body.compact-leadership-page figcaption{font-size:12px;line-height:1.5}
html body.compact-leadership-page .detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
html body.compact-leadership-page .detail-grid article{padding:20px;min-height:0}
html body.compact-leadership-page .detail-grid b{font-size:13px}
html body.compact-leadership-page .detail-grid article p{font-size:15px;line-height:1.6;margin:10px 0 0}
html body.compact-leadership-page .detail-actions,html body.compact-leadership-page .project-context,html body.compact-leadership-page .next-project,html body.compact-leadership-page .project-proof{padding:20px 24px;gap:16px}
html body.compact-leadership-page .project-context>p:not(.kicker),html body.compact-leadership-page .project-proof>p{font-size:15px;line-height:1.6}
html body.compact-leadership-page .project-proof h2,html body.compact-leadership-page .next-title{font-size:23px;line-height:1.3;margin:0 0 12px}
html body.compact-leadership-page .project-proof img{width:auto;max-width:100%;height:auto;max-height:280px;object-fit:contain;margin:12px auto}
html body.compact-leadership-page .proof-grid{gap:16px}
html body.compact-leadership-page .proof-grid figure{margin:0}
html body.compact-leadership-page .teacher-quote{max-width:none;margin:16px 0 0;padding:14px 18px}
html body.compact-leadership-page .teacher-quote blockquote{font-family:inherit;font-size:16px;line-height:1.55;margin:0 0 10px}
html body.compact-leadership-page .teacher-quote figcaption{gap:4px;font-size:12px}
html body.compact-leadership-page .button,html body.compact-leadership-page .text-link{font-size:13px}
html body.compact-leadership-page .button{min-height:38px;padding:10px 14px}
html body.compact-leadership-page .skill-tags{gap:8px;margin:12px 0}
html body.compact-leadership-page .skill-tags li{font-size:12px;padding:6px 10px}
@media(max-width:700px){html body.compact-leadership-page .detail-hero,html body.compact-leadership-page .detail-grid{grid-template-columns:1fr}html body.compact-leadership-page .detail-hero{padding:20px;gap:18px}html body.compact-leadership-page .detail-hero h1{font-size:27px!important}html body.compact-leadership-page .detail-grid article{padding:16px 20px}html body.compact-leadership-page .project-proof img{max-height:240px}}
/* Tight reading layout: small images and short horizontal information rows. */
html body.compact-leadership-page main{max-width:1040px}
html body.compact-leadership-page .page-breadcrumb{padding:6px 18px}
html body.compact-leadership-page .detail-hero{padding:16px 18px;gap:16px;grid-template-columns:minmax(0,1fr) 260px}
html body.compact-leadership-page .detail-hero h1{font-size:26px!important;margin:4px 0 8px}
html body.compact-leadership-page .detail-role{font-size:13px;margin:0 0 8px}
html body.compact-leadership-page .detail-hero .detail-lead{font-size:16px;line-height:1.45;margin:8px 0 0}
html body.compact-leadership-page .real-project-visual img{max-height:150px}
html body.compact-leadership-page .detail-grid{display:block}
html body.compact-leadership-page .detail-grid article{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;padding:10px 18px;border-right:0;border-bottom:1px solid #394657}
html body.compact-leadership-page .detail-grid article p{font-size:14px;line-height:1.5;margin:0}
html body.compact-leadership-page .detail-actions,html body.compact-leadership-page .project-context,html body.compact-leadership-page .next-project,html body.compact-leadership-page .project-proof{padding:12px 18px;gap:10px}
html body.compact-leadership-page .project-context>p:not(.kicker),html body.compact-leadership-page .project-proof>p{font-size:14px;margin:8px 0}
html body.compact-leadership-page .project-proof h2,html body.compact-leadership-page .next-title{font-size:20px;margin:0 0 8px}
html body.compact-leadership-page .project-proof img{max-height:180px;margin:8px auto}
html body.compact-leadership-page .teacher-quote{margin:10px 0 0;padding:10px 12px}
html body.compact-leadership-page .teacher-quote blockquote{font-size:14px;line-height:1.5;margin:0 0 6px}
html body.compact-leadership-page .teacher-quote a{display:inline;width:auto;border:0;padding:0}
html body.compact-leadership-page .actions{margin:10px 0;gap:10px}
html body.compact-leadership-page .skill-tags{margin:8px 0;gap:6px}
html body.compact-leadership-page .skill-tags li{padding:4px 8px}
@media(max-width:650px){html body.compact-leadership-page .detail-hero{grid-template-columns:1fr}html body.compact-leadership-page .real-project-visual{max-width:280px;margin:0 auto}html body.compact-leadership-page .detail-grid article{grid-template-columns:1fr;gap:4px}html body.compact-leadership-page .detail-hero h1{font-size:25px!important}}

html body.compact-leadership-page .next-project{min-height:0;margin:0;padding:10px 18px;align-items:center}
html body.compact-leadership-page .next-project .next-title{margin:0;font-size:18px}
html body.compact-leadership-page .project-context{min-height:0}

html body.compact-leadership-page main img{max-width:100%;object-fit:contain}
html body.compact-leadership-page img.recognition-badge{width:150px!important;height:auto!important;max-height:120px!important;display:block;margin:12px 0!important;background:#fff;padding:8px;border-radius:6px}
