/* Diamond Anyanwu — restrained portfolio system */
:root{color-scheme:light;--white:#fff;--paper:#f5f5f7;--ink:#1d1d1f;--muted:#6e6e73;--blue:#0066cc;--line:rgba(29,29,31,.12);--dark:#171719;--radius:28px;--wrap:1160px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:88px}body{margin:0;background:var(--white);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:17px;line-height:1.62}img{display:block;max-width:100%}a{color:inherit;text-decoration:none}button{font:inherit}p,h1,h2,h3{margin-top:0}p{margin-bottom:1.1em}h1,h2,h3{line-height:1.08;letter-spacing:-.045em}h1{font-size:clamp(56px,8vw,104px);font-weight:650;letter-spacing:-.075em}h2{font-size:clamp(40px,5.2vw,68px);font-weight:620;letter-spacing:-.065em}h3{font-size:clamp(23px,2.5vw,32px);font-weight:620}h1 em,h2 em{font-weight:450;font-style:normal;color:var(--muted)}.wrap{width:min(var(--wrap),calc(100% - 64px));margin-inline:auto}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:1000;top:12px;left:12px;padding:12px 18px;background:var(--ink);color:white;border-radius:12px;transform:translateY(-150%)}.skip-link:focus{transform:none}:focus-visible{outline:3px solid #2684ff;outline-offset:4px;border-radius:4px}.site-header{height:72px;position:sticky;z-index:30;top:0;display:flex;align-items:center;justify-content:space-between;padding:0 max(32px,calc((100vw - var(--wrap))/2));background:rgba(255,255,255,.82);border-bottom:1px solid rgba(29,29,31,.07);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px)}.wordmark{display:inline-flex;align-items:center;gap:10px}.mark,.footer-mark{font-size:32px;line-height:1;font-weight:700;letter-spacing:-.09em}.mark span,.footer-mark span{color:var(--blue)}.wordmark-name{font-size:11px;line-height:1.12;font-weight:700;letter-spacing:.09em}.nav{display:flex;align-items:center;gap:clamp(16px,2.15vw,30px)}.nav>a,.footer-nav>a{font-size:15px;color:#424245;transition:color .2s}.nav>a:hover,.footer-nav>a:hover,.text-link:hover,.channel a:hover{color:var(--blue)}.nav-contact,.button-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 18px;border-radius:999px;background:var(--ink);color:white!important;font-size:15px;font-weight:600;transition:transform .2s,background .2s}.nav-contact:hover,.button-primary:hover{background:#3a3a3c;transform:translateY(-1px)}.menu-toggle{display:none}.hero{position:relative;min-height:690px;padding-top:112px;padding-bottom:88px;display:flex;align-items:center}.hero-copy{max-width:900px}.eyebrow{margin:0 0 23px;color:var(--muted);font-size:12px;font-weight:650;letter-spacing:.12em;line-height:1.5}.status-dot{display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:#38a169;vertical-align:1px}.hero h1{margin:0 0 28px}.hero h1 em{color:var(--blue)}.hero-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;max-width:820px}.intro{max-width:570px;margin:0;color:#424245;font-size:clamp(19px,2.2vw,23px);line-height:1.48;letter-spacing:-.02em}.hero-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.text-link{color:var(--blue);font-size:16px;font-weight:600;white-space:nowrap}.hero-links{display:flex;gap:23px;flex-wrap:wrap;margin-top:30px}.hero-links a{font-size:15px;color:var(--muted);text-decoration:underline;text-decoration-color:rgba(29,29,31,.24);text-underline-offset:4px}.hero-links a:hover{color:var(--blue)}.hero-signature{display:flex;align-items:center;gap:14px;margin-top:38px}.portrait-avatar{width:64px;height:64px;object-fit:cover;border-radius:50%;background:var(--paper)}.hero-signature strong,.hero-signature span{display:block}.hero-signature strong{font-size:16px;letter-spacing:-.02em}.hero-signature span{font-size:15px;color:var(--muted)}.hero-orbit{position:absolute;right:2%;top:18%;width:210px;aspect-ratio:1;border:1px solid var(--line);border-radius:50%;pointer-events:none}.hero-orbit:before,.hero-orbit:after{content:"";position:absolute;border:1px solid var(--line);border-radius:50%;inset:20%}.hero-orbit:after{inset:40%;background:var(--paper)}.portrait-panel{max-width:440px}.portrait-frame{overflow:hidden;border-radius:24px;background:var(--paper);aspect-ratio:4/5}.portrait-frame img{width:100%;height:100%;object-fit:cover}.portrait-caption{display:flex;justify-content:space-between;gap:10px;margin-top:13px;color:var(--muted);font-size:11px;font-weight:650;letter-spacing:.1em}.hero .portrait-panel{display:none}.section{padding-top:112px;padding-bottom:112px}.section-label{display:flex;align-items:center;gap:20px;margin-bottom:47px;color:var(--muted);font-size:12px;font-weight:650;letter-spacing:.1em}.section-label .rule{height:1px;flex:1;background:var(--line)}.about-content{display:grid;grid-template-columns:1fr .82fr;gap:9%;align-items:start}.about-content h2{margin:0}.about-text p,.about-story p,.about-details p{color:#515156}.about-text .lead,.about-story .lead{font-size:22px;color:var(--ink);line-height:1.45;letter-spacing:-.025em}.location-note{display:flex;align-items:center;gap:10px;margin-top:28px;color:var(--muted);font-size:15px}.location-icon{color:var(--blue);font-size:20px}.note-line{height:1px;flex:1;background:var(--line)}.about-more{display:inline-block;margin-top:22px}.capabilities{background:var(--dark);color:white}.capabilities .section-label{color:#a1a1a6}.capabilities .section-label .rule{background:rgba(255,255,255,.18)}.cap-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}.cap-item{border-top:1px solid rgba(255,255,255,.25);padding-top:22px}.cap-no{color:#aaa;font-size:12px;letter-spacing:.08em}.cap-item h3{margin:34px 0 16px;font-size:clamp(25px,3vw,38px)}.cap-item p{color:#c6c6ca;font-size:16px;line-height:1.65}.cap-tag{display:block;margin-top:25px;color:#aaa;font-size:11px;font-weight:650;letter-spacing:.09em;line-height:1.6}.experience-head,.projects-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:46px}.experience-head h2,.projects-head h2{margin:0}.experience-head>p,.projects-head>p{max-width:330px;margin:0;color:var(--muted);font-size:17px}.timeline{border-top:1px solid var(--line)}.timeline-row{display:grid;grid-template-columns:190px 1fr 30px;gap:28px;padding:28px 0;border-bottom:1px solid var(--line)}.timeline-date{padding-top:5px;color:var(--muted);font-size:12px;font-weight:650;letter-spacing:.08em}.timeline-main h3{margin:0 0 8px;font-size:23px;letter-spacing:-.035em}.timeline-main p{max-width:720px;color:#515156}.timeline-main .org{margin-bottom:9px;color:var(--blue);font-size:15px;font-weight:600}.timeline-arrow{color:var(--muted)}.projects{background:var(--paper)}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.project-card{min-width:0;padding:26px 28px 28px;background:white;border:1px solid rgba(29,29,31,.07);border-radius:var(--radius);box-shadow:0 4px 18px rgba(29,29,31,.035);display:flex;flex-direction:column;align-items:flex-start;transition:transform .25s,box-shadow .25s}.project-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(29,29,31,.09)}.project-visual{width:100%;height:200px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;margin:0 0 25px;border-radius:20px;background:linear-gradient(135deg,#e9e5ff,#c9d8ff 60%,#e7eefb)}.project-card:nth-child(2) .project-visual{background:linear-gradient(135deg,#202429,#515d61)}.project-card:nth-child(3) .project-visual{background:linear-gradient(135deg,#f4e9d8,#d4e5d8)}.project-card:nth-child(4) .project-visual{background:linear-gradient(135deg,#e1ebf5,#c7d9ed)}.project-card:nth-child(5) .project-visual{background:linear-gradient(135deg,#e8e1d8,#c9b9a6)}.project-card:nth-child(6) .project-visual{background:linear-gradient(135deg,#dce8e5,#b3d3cb)}.visual-glyph{font-size:clamp(58px,8vw,105px);font-weight:650;letter-spacing:-.09em;color:rgba(29,29,31,.78)}.project-card:nth-child(2) .visual-glyph{color:#f5f5f7}.visual-label{position:absolute;left:19px;bottom:16px;font-size:12px;font-weight:600;letter-spacing:.04em;color:rgba(29,29,31,.7)}.project-visual .visual-line{position:absolute;top:24px;right:22px;width:34px;height:1px;background:rgba(29,29,31,.35);transform:rotate(-45deg)}.project-visual .visual-line:nth-of-type(3){top:39px;right:25px}.project-visual .visual-line:nth-of-type(4){top:54px;right:28px}.project-top{display:flex;width:100%;align-items:center;justify-content:space-between;margin-bottom:26px;color:var(--muted);font-size:11px;font-weight:650;letter-spacing:.1em}.project-icon{font-size:19px}.project-card h3{margin:0 0 12px;font-size:32px}.project-summary{max-width:520px;color:#515156;font-size:17px}.badge{display:inline-flex;padding:7px 10px;margin:4px 0 20px;border-radius:999px;background:var(--paper);color:#57575c;font-size:11px;font-weight:650;letter-spacing:.055em;line-height:1.35}.project-card details{width:100%;margin:0 0 20px;border-top:1px solid var(--line);padding-top:15px}.project-card summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;font-size:15px;font-weight:600;list-style:none}.project-card summary::-webkit-details-marker{display:none}.project-card details>p{margin:14px 0 0;color:#626269;font-size:15px;line-height:1.65}.project-link,.project-access{margin-top:auto;padding-top:14px;color:var(--blue);font-size:15px;font-weight:600}.project-access{color:var(--muted)}.project-card-dark{background:#202124;color:white;border-color:transparent}.project-card-dark .project-summary,.project-card-dark details>p{color:#c8c8cd}.project-card-dark .project-top,.project-card-dark .project-access{color:#b8b8bd}.project-card-dark details{border-color:rgba(255,255,255,.18)}.project-card-dark .badge{background:#38393d;color:#dedee2}.project-note{margin:25px 4px 32px;color:var(--muted);font-size:15px}.demo-callout,.resume-callout{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:27px 30px;background:white;border:1px solid var(--line);border-radius:20px}.demo-callout h3{margin:0 0 7px;font-size:22px}.demo-callout p,.resume-callout p{max-width:700px;margin:0;color:#5d5d63;font-size:15px}.demo-callout .nav-contact,.resume-callout .nav-contact{white-space:nowrap}.learning-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.learning-card{padding:25px 27px;border:1px solid var(--line);border-radius:20px}.learning-card .eyebrow{font-size:11px}.learning-card h3{margin:0 0 10px;font-size:24px}.learning-card p{font-size:16px;color:#55555b}.learning-card .small-copy{margin-bottom:0;color:var(--muted);font-size:15px}.resume-callout{margin-top:25px}.resume-callout strong{color:var(--ink)}.beyond{background:var(--paper)}.beyond-layout{display:grid;grid-template-columns:.75fr 1fr;gap:9%}.beyond-layout h2{margin:0}.channels{border-top:1px solid var(--line)}.channel{display:grid;grid-template-columns:42px 1fr;gap:18px;padding:22px 0;border-bottom:1px solid var(--line)}.channel-number{color:var(--muted);font-size:13px}.channel h3{margin:0 0 8px;font-size:23px}.channel p{margin-bottom:9px;color:#55555b;font-size:16px}.channel a{color:var(--blue);font-size:15px;font-weight:600}.about-page{padding-top:90px;padding-bottom:30px}.about-hero>.eyebrow{margin-bottom:18px}.about-hero>h1{text-align:center;font-size:clamp(52px,7vw,88px);margin:0 auto 62px}.about-hero-grid{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:clamp(48px,9vw,120px);align-items:center;max-width:1000px;margin:0 auto}.about-photo{width:100%}.about-photo .portrait-frame{height:400px;aspect-ratio:auto}.about-story{max-width:590px}.about-story p{font-size:17px}.about-story .lead{font-size:24px}.about-details{display:grid;grid-template-columns:1fr 1fr;gap:8%}.about-details article{border-top:1px solid var(--line);padding-top:22px}.about-details h2{margin:30px 0 17px;font-size:34px}.about-cta{margin-top:90px;padding:42px;background:var(--paper);border-radius:24px}.about-cta h2{margin-bottom:14px;font-size:40px}.about-cta p{max-width:650px;color:#55555b}.about-cta-links{display:flex;gap:25px;flex-wrap:wrap;margin-top:24px}.footer{padding:66px 0 24px;background:var(--paper)}.footer-top{display:grid;grid-template-columns:1fr 1fr 1fr;gap:35px;padding-bottom:48px}.footer-mark{display:inline-block;font-size:38px}.footer-message{margin:16px 0 0;font-size:19px;font-weight:600;line-height:1.45;letter-spacing:-.03em}.footer-nav,.contact-links{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.footer-contact{font-size:15px;color:#424245}.footer-contact:hover{color:var(--blue)}.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:20px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}.footer-bottom p{margin:0}.back-top{color:var(--blue)}.header-arrive{animation:header-in .55s ease both}.content-arrive{animation:content-in .8s cubic-bezier(.2,.7,.2,1) both}.reveal-ready:not(.is-revealed){opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}.reveal-ready.is-revealed{opacity:1;transform:none}@keyframes header-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}@keyframes content-in{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.reveal-ready:not(.is-revealed){opacity:1;transform:none}}@media(max-width:900px){.site-header{padding-inline:28px}.nav{gap:14px}.nav>a{font-size:14px}.nav .nav-contact{padding:10px 13px}.wrap{width:min(var(--wrap),calc(100% - 56px))}.hero{min-height:620px;padding-top:95px}.hero-orbit{right:2%;width:155px;top:17%}.cap-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:42px}.experience-head,.projects-head{align-items:flex-start;flex-direction:column}.experience-head>p,.projects-head>p{max-width:520px}.about-content{gap:6%}.timeline-row{grid-template-columns:145px 1fr 22px}.about-hero-grid{gap:46px}.footer-top{grid-template-columns:1fr 1fr}.contact-links{grid-column:2}}
@media(max-width:820px){body{font-size:16px}.wrap{width:calc(100% - 40px)}.site-header{height:64px;padding:0 20px}.menu-toggle{display:flex;width:40px;height:40px;padding:11px 8px;border:0;background:transparent;flex-direction:column;justify-content:center;gap:6px;cursor:pointer}.menu-toggle span{height:2px;width:23px;background:var(--ink);border-radius:2px}.nav{display:none;position:absolute;left:0;right:0;top:64px;padding:14px 20px 22px;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);box-shadow:0 14px 24px rgba(29,29,31,.07);flex-direction:column;align-items:stretch;gap:0}.nav.is-open{display:flex}.nav>a{padding:12px 2px;font-size:16px}.nav .nav-contact{justify-content:center;margin-top:8px;padding:12px}.hero{min-height:auto;padding-top:78px;padding-bottom:76px}.hero-copy{max-width:100%}.hero h1{font-size:clamp(52px,13vw,76px);margin-bottom:24px}.hero-bottom{display:block}.intro{font-size:20px}.hero-actions{margin-top:22px}.hero-links{gap:13px 19px;margin-top:23px}.hero-signature{margin-top:31px}.hero-orbit{width:90px;top:24px;right:20px;opacity:.6}.section{padding-top:78px;padding-bottom:78px}.section-label{margin-bottom:34px;font-size:11px;gap:13px}.about-content,.beyond-layout{grid-template-columns:1fr;gap:32px}.about-content h2,.beyond-layout h2{font-size:44px}.about-text .lead,.about-story .lead{font-size:20px}.cap-grid{grid-template-columns:1fr;gap:34px}.cap-item h3{margin:24px 0 12px}.cap-item p{font-size:16px}.cap-tag{margin-top:18px}.experience-head,.projects-head{gap:17px;margin-bottom:30px}.experience-head h2,.projects-head h2{font-size:44px}.experience-head>p,.projects-head>p{font-size:16px}.timeline-row{grid-template-columns:1fr 20px;gap:8px 14px;padding:23px 0}.timeline-date{grid-column:1/-1}.timeline-main h3{font-size:21px}.timeline-main p{font-size:16px}.timeline-arrow{grid-column:2;grid-row:2}.project-grid,.learning-grid{grid-template-columns:1fr}.project-card{padding:21px;border-radius:24px}.project-visual{height:185px;border-radius:17px;margin-bottom:21px}.project-card h3{font-size:29px}.project-summary{font-size:16px}.project-top{margin-bottom:20px}.demo-callout,.resume-callout{align-items:flex-start;flex-direction:column;padding:23px;border-radius:18px}.learning-card{padding:22px}.learning-card h3{font-size:22px}.beyond-layout{gap:24px}.channel{grid-template-columns:30px 1fr;gap:12px}.channel p{font-size:16px}.channel a{font-size:15px}.about-page{padding-top:60px}.about-hero>h1{font-size:clamp(46px,11vw,65px);margin-bottom:35px}.about-hero-grid{grid-template-columns:1fr;gap:30px}.about-photo{max-width:340px;margin:auto}.about-photo .portrait-frame{height:400px}.about-story{max-width:none}.about-details{grid-template-columns:1fr;gap:38px}.about-details h2{font-size:30px}.about-cta{margin-top:58px;padding:26px 22px}.about-cta h2{font-size:34px}.about-cta-links{gap:15px 22px}.footer{padding:48px 0 20px}.footer-top{grid-template-columns:1fr 1fr;gap:30px 22px;padding-bottom:32px}.footer-top>div:first-child{grid-column:1/-1}.contact-links{grid-column:auto}.footer-message{font-size:18px}.footer-bottom{display:grid;grid-template-columns:1fr auto;gap:10px;font-size:12px}.footer-location{grid-column:1}.back-top{grid-column:2;grid-row:1/3;align-self:center}}
@media(max-width:380px){.wrap{width:calc(100% - 32px)}.site-header{padding-inline:16px}.hero h1{font-size:49px}.hero-actions{gap:13px}.button-primary{padding:10px 14px}.hero-orbit{right:10px}.about-hero>h1{font-size:43px}.project-visual{height:165px}.footer-top{gap:24px 15px}}

/* Final composition and progressive motion. */
.hero{flex-direction:column;justify-content:center;text-align:center;min-height:760px;padding-block:105px 80px}
.hero-copy{width:100%;max-width:930px}
.hero h1{font-size:clamp(76px,9.5vw,128px);letter-spacing:-.065em;line-height:1.01;margin-bottom:30px}
.hero h1 em{background:linear-gradient(110deg,#2997ff,#0066cc 65%,#594fc7);background-clip:text;-webkit-background-clip:text;color:transparent;font-weight:650}
.hero .eyebrow{font-size:13px;letter-spacing:.17em;color:#515156}
.hero-bottom{display:flex;flex-direction:column;align-items:center;gap:28px;margin-inline:auto}
.intro{max-width:660px;font-size:23px;line-height:1.5}
.hero-actions,.hero-links{justify-content:center}
.hero-links{margin-top:23px}
.button-primary{background:#0071e3;padding:13px 24px;font-weight:500}
.button-primary:hover{background:#0077ed}
.hero-signature{justify-content:center;text-align:left;margin-top:44px}
.portrait-avatar{width:48px;height:48px;object-position:center 35%}
.hero-signature strong{font-size:14px}
.hero-signature span{font-size:13px}
.about{border-top:1px solid var(--line)}
.location-note{flex-wrap:wrap}
.project-card:nth-child(2) .visual-label{color:#ddd}
.project-card:nth-child(2) .visual-line{background:#aaa}
.project-card summary span{transition:transform .2s}
.project-card details[open] summary span{transform:rotate(45deg)}
.reveal-ready{transition:opacity .7s ease,transform .7s ease}
.about-hero>.eyebrow{text-align:center}
@media(prefers-reduced-motion:no-preference){.site-header{animation:header-in .65s ease both}.hero-copy{animation:content-in .9s .1s both}.hero-signature{animation:content-in .9s .3s both}}
@media(max-width:820px){.hero{min-height:710px;padding-block:75px 70px}.hero h1{font-size:clamp(66px,12vw,92px)}.intro{font-size:20px;max-width:570px}.hero-actions{margin-top:0}.wordmark-name{font-size:12px;letter-spacing:-.015em}.hero-signature span{max-width:235px;line-height:1.4}.nav{max-height:calc(100dvh - 64px);overflow-y:auto}.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(4px) rotate(45deg)}.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-4px) rotate(-45deg)}.menu-toggle span{transition:transform .2s}}
@media(max-width:380px){.hero h1{font-size:64px}.hero .eyebrow{font-size:12px}.intro{font-size:19px}.hero{min-height:690px;padding-top:64px}.hero-actions{gap:18px}.hero-signature{gap:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.reveal-ready{opacity:1!important;transform:none!important}}
