/*
Theme Name: Hamid Portfolio
Description: A personal medical portfolio for Dr. Hamidur Rahman.
Version: 2.0.0
Text Domain: hamid-portfolio
*/
:root{--navy:#062f50;--blue:#07567c;--teal:#007c70;--ink:#16384e;--muted:#4c6676;--line:#dce8ed;--sky:#edf7fc;--paper:#fff;--serif:Georgia,'Times New Roman',serif;--sans:system-ui,-apple-system,'Segoe UI',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 var(--sans)}img{display:block;max-width:100%;height:auto}a{color:inherit;text-decoration:none}button{font:inherit}a:focus-visible,button:focus-visible{outline:3px solid #b57b1d;outline-offset:5px}p{margin:0 0 1.25em}h1,h2,h3{color:var(--navy);line-height:1.12;margin:0 0 .55em}h1,h2{font-family:var(--serif);font-weight:700}h3{font-size:1.3rem}.wrap{width:min(1220px,calc(100% - 64px));margin-inline:auto}.eyebrow{text-transform:uppercase;font-size:.7rem;font-weight:750;letter-spacing:.18em;color:var(--teal);margin-bottom:18px}.skip-link{position:absolute;left:20px;top:-100px;padding:12px;background:white;z-index:100}.skip-link:focus{top:10px}.site-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:20}.header-inner{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}.brand-mark{position:relative;font:700 55px/.85 var(--serif);width:66px;color:var(--navy)}.brand-mark>span{font-size:32px;margin-left:-11px;color:var(--blue)}.brand-mark svg{position:absolute;width:37px;height:37px;left:0;top:4px}.brand-text{font:700 29px/1.1 var(--serif);color:var(--navy)}.brand small{display:block;font:650 7.5px/1.8 var(--sans);text-transform:uppercase;letter-spacing:.1em;margin-top:5px}.site-nav{display:flex;gap:22px;align-items:center;font-size:.76rem;font-weight:600}.site-nav a{padding:10px 0;white-space:nowrap;position:relative}.site-nav a:hover{color:var(--teal)}.site-nav a[aria-current=page]:after{content:'';height:2px;background:var(--teal);position:absolute;bottom:3px;left:0;right:0}.nav-toggle{display:none;border:1px solid var(--line);border-radius:6px;padding:6px 12px;background:white;color:var(--navy)}.hero{background:linear-gradient(110deg,#e7f5fc 0%,#f5fbff 51%,#e7f4f6 100%);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;min-height:606px;gap:24px}.hero-copy{padding:55px 0 48px;position:relative;z-index:2}.hero h1{font-size:clamp(3.8rem,5.8vw,5.5rem);letter-spacing:-.035em;line-height:1.01;margin-bottom:22px}.hero h1 span{color:var(--blue)}.hero-role{font-size:1.08rem;font-weight:700;line-height:1.5;margin-bottom:17px}.hero-intro{max-width:430px;color:var(--muted);font-size:1rem}.button-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:25px}.button{display:inline-flex;align-items:center;justify-content:center;gap:22px;background:var(--navy);color:#fff;border:1px solid var(--navy);border-radius:40px;padding:13px 22px;font-size:.82rem;font-weight:650;line-height:1.4;transition:background .2s,transform .2s}.button:hover{background:var(--teal);border-color:var(--teal);transform:translateY(-2px)}.button.outline{background:transparent;color:var(--navy);border-color:#89b1c3}.button.outline:hover{background:white}.hero-values{display:grid;grid-template-columns:repeat(4,1fr);margin-top:37px;max-width:455px}.hero-values>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;padding:0 12px;border-right:1px solid #c6e0ec;font-size:.67rem;font-weight:600;line-height:1.35}.hero-values>div:first-child{padding-left:0}.hero-values>div:last-child{border:0}.hero-values svg{width:28px;height:28px;color:var(--blue)}.hero-visual{position:relative;align-self:stretch;min-height:580px;display:flex;align-items:flex-end;justify-content:center}.hero-visual:before{content:'';position:absolute;border:1px solid #d0e6e9;border-radius:50%;width:430px;height:430px;top:75px;left:20px;background:#d5eaf2}.portrait-main{width:100%;position:relative;z-index:1;mix-blend-mode:multiply}.portrait-main img{height:555px;width:100%;object-fit:contain;object-position:center bottom}.portrait-inset{position:absolute;width:105px;height:130px;top:50px;right:0;border-radius:70px 70px 12px 12px;border:5px solid white;overflow:hidden;z-index:2;box-shadow:0 12px 35px #07324a18}.portrait-inset img{height:100%;width:100%;object-fit:cover;object-position:center 25%}.portrait-note{position:absolute;bottom:38px;right:-8px;z-index:2;font:italic 17px/1.3 var(--serif);background:#ffffffdf;border-left:3px solid var(--teal);padding:12px 16px;color:var(--blue)}.focus-section{padding:30px 0 57px}.focus-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.focus-card{border-radius:13px;padding:28px;display:flex;flex-direction:column;min-height:310px;position:relative;overflow:hidden;border:1px solid #deedf3;background:#eef7fc}.focus-card.teal{background:#edf8f3;border-color:#d6ece3}.focus-card.gold{background:#fcf7eb;border-color:#efe5ce}.icon-badge{width:48px;height:48px;border-radius:50%;background:#087eab;color:white;display:grid;place-items:center;margin-bottom:23px}.icon-badge svg{width:28px;height:28px}.teal .icon-badge{background:var(--teal)}.gold .icon-badge{background:#bc7723}.card-meta{font-size:.65rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:650}.focus-card h2{font:700 1.38rem/1.25 var(--sans);margin:9px 0 14px}.focus-card p{font-size:.84rem;line-height:1.7}.text-link{font-size:.82rem;font-weight:700;color:var(--blue);display:inline-flex;align-items:center;gap:14px}.text-link:hover{color:var(--teal);text-decoration:underline;text-underline-offset:5px}.focus-card .text-link{margin-top:auto}.about-section{background:#f4f8fb;padding:57px 0}.about-grid{display:grid;grid-template-columns:.85fr 1.3fr .85fr;gap:40px;align-items:center}.about-photo{position:relative;border-radius:9px;overflow:hidden;height:340px}.about-photo img{height:100%;width:100%;object-fit:cover;object-position:center 36%}.about-photo span{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#052c40ee);padding:32px 20px 18px;color:white;font-size:.7rem}.about-copy h2{font-size:2.5rem}.about-copy p{font-size:.9rem}.about-copy .button{margin-top:8px}.milestones{list-style:none;padding:0 0 0 28px;margin:0;border-left:1px solid #cbdfe8}.milestones li{font-size:.76rem;line-height:1.6;margin-bottom:26px;position:relative}.milestones li:before{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:var(--teal);left:-32px;top:8px}.milestones li:last-child{margin-bottom:0}.milestones span{display:block;font-size:.85rem;font-weight:750;color:var(--navy);margin-bottom:3px}.education-section{padding:55px 0;background:linear-gradient(110deg,#062f50,#074b5c);color:#d4e8ef}.education-grid{display:grid;grid-template-columns:1.3fr 1fr .65fr;gap:40px;align-items:center}.education-section h2{font-size:2.8rem;color:white}.education-section .eyebrow{color:#83d6c3}.status-pill{display:inline-block;padding:4px 13px;border:1px solid #5c9eac;color:#b5eadf;border-radius:24px;font-size:.75rem;margin:0 0 20px}.education-section p{font-size:.9rem;max-width:450px}.button.light{background:white;color:var(--navy);border-color:white}.button.light:hover{background:#daeee7}.education-art{transform:rotate(-5deg);position:relative;padding:20px 0}.book-spine{padding:16px 20px;margin:4px 0;font:700 11px/1.3 var(--sans);letter-spacing:.12em;background:#0b385a;border:1px solid #487d94;border-radius:3px 8px 8px 3px;box-shadow:8px 6px 0 #123849,9px 7px 0 #6698aa}.book-spine:nth-child(2){background:#166975;transform:translateX(12px)}.book-spine:nth-child(3){background:#e1d5b9;color:#1b3e4b;transform:translateX(-7px)}.education-art svg{width:65px;height:65px;margin:25px 0 0 40px;stroke:#a6d6d9}.education-list{border-left:1px solid #36727f;padding-left:28px}.education-list>span{font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:#85ccb9}.education-list p{font-size:.79rem;margin:17px 0}.articles-section{padding:65px 0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.section-heading h2{font-size:2.7rem;margin:0}.section-heading .eyebrow{margin-bottom:9px}.articles-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.article-card{border:1px solid var(--line);border-radius:10px;overflow:hidden;display:grid;grid-template-columns:.65fr 1fr}.article-art{background:#e9f4f7;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:18px;padding:25px;text-align:center;color:var(--teal)}.article-art svg{width:55px;height:55px}.article-art span{font:italic 20px/1.3 var(--serif)}.article-copy{padding:25px}.article-copy h3{font-size:1.15rem;line-height:1.35;margin:8px 0 12px}.article-copy p{font-size:.8rem;color:var(--muted)}.journal-note{padding:30px 35px;border-left:2px solid #c5e3e6;align-self:center}.journal-note h3{font:700 1.7rem var(--serif);margin-top:13px}.journal-note p{font-size:.87rem;max-width:370px;color:var(--muted)}.contact-banner{background:#eaf5f3;padding:45px 0;border-top:1px solid #dcece8}.contact-inner{display:flex;justify-content:space-between;align-items:center;gap:25px}.contact-inner h2{font-size:2.5rem}.contact-inner p{font-size:.85rem;margin:0}.contact-inner .eyebrow{margin-bottom:12px}.site-footer{background:#052c43;color:#c8dce4;padding:38px 0}.footer-inner{display:flex;justify-content:space-between;gap:25px;align-items:center}.footer-inner strong{display:block;color:white;font:700 22px var(--serif)}.footer-inner span{display:block;font-size:.68rem;margin:6px 0 12px;letter-spacing:.06em}.footer-inner small{font-size:.65rem;color:#9cb7c2}.footer-links{display:flex;gap:24px;font-size:.75rem}.footer-links a:hover{text-decoration:underline}.content-page{max-width:830px;margin:0 auto;padding:65px 0 75px;min-height:65vh}.content-page h1{font-size:clamp(2.7rem,5vw,4.5rem);margin-bottom:30px}.entry-content{font-size:1rem;line-height:1.85}.entry-content h2{font-size:2rem;margin-top:1.5em}.entry-content h3{margin-top:1.5em}.entry-content a{color:var(--blue);text-decoration:underline;text-underline-offset:4px}.entry-content .button{color:white;text-decoration:none}.entry-content ul{padding-left:22px}.entry-content li{margin-bottom:12px}.entry-content>img,.content-page article>.wp-post-image{border-radius:8px;margin-bottom:30px;max-height:500px;object-fit:contain}.entry-content blockquote{border-left:3px solid var(--teal);padding-left:22px;margin-left:0;color:var(--muted)}.post-nav{margin-top:38px;border-top:1px solid var(--line);padding-top:25px}.archive-list article{padding:26px 0;border-bottom:1px solid var(--line)}.archive-list h2{font-size:1.8rem;margin-top:8px}.consultation-note{background:#f0f7fa;padding:25px;border-radius:9px}
@media(min-width:1400px){.hero-grid{min-height:650px}.portrait-main img{height:610px}}
@media(max-width:1100px){.site-nav{gap:14px;font-size:.7rem}.brand-text{font-size:25px}.brand-mark{width:54px;font-size:48px}.brand small{font-size:6.5px}.about-grid{gap:25px}.hero-grid{grid-template-columns:1.1fr 1fr}.hero h1{font-size:4.1rem}.hero-visual:before{width:340px;height:340px;left:0;top:125px}.portrait-main img{height:500px}.portrait-inset{width:85px;height:110px;top:85px}.portrait-note{font-size:14px;right:0}.hero-role{font-size:.96rem}.about-copy h2{font-size:2rem}.education-grid{gap:25px}.focus-card{padding:23px}.education-list{padding-left:20px}}
@media(max-width:900px){.wrap{width:calc(100% - 44px)}.header-inner{min-height:78px;flex-wrap:wrap;gap:0}.brand-text{font-size:27px}.brand small{font-size:7px}.nav-toggle{display:block}.site-nav{display:none;width:100%;padding:12px 0 20px;flex-wrap:wrap;gap:6px 20px;font-size:.83rem}.site-nav.is-open{display:flex}.hero h1{font-size:3.65rem}.hero-grid{gap:12px;min-height:565px}.hero-copy{padding:40px 0}.hero-role{font-size:.9rem}.hero-intro{font-size:.9rem}.hero-visual{min-height:500px}.portrait-main img{height:450px}.portrait-inset{top:55px;right:0}.portrait-note{bottom:20px;font-size:12px;padding:9px}.hero-values>div{padding:0 8px;font-size:.59rem}.hero-values svg{width:23px;height:23px}.button{padding:12px 17px;font-size:.75rem;gap:12px}.focus-card h2{font-size:1.15rem}.focus-card p{font-size:.77rem}.focus-card{padding:20px}.about-grid{grid-template-columns:1fr 1.3fr}.milestones{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;border-left:0;border-top:1px solid #cbdee6;padding:24px 0 0}.milestones li:before{display:none}.milestones li{margin:0}.education-grid{grid-template-columns:1.5fr 1fr}.education-list{grid-column:1/-1;border-left:0;border-top:1px solid #36727f;padding:18px 0 0;display:flex;flex-wrap:wrap;gap:15px;align-items:center}.education-list p{margin:0}.articles-grid{grid-template-columns:1.4fr 1fr}.article-card{grid-template-columns:1fr}.article-art{min-height:110px;flex-direction:row}.article-art svg{width:35px;height:35px}.journal-note{padding:25px}.footer-links{gap:17px}}
@media(max-width:620px){.wrap{width:calc(100% - 36px)}.brand-text{font-size:25px}.brand small{font-size:6.6px}.brand-mark{width:53px;font-size:47px}.hero-grid{display:flex;flex-direction:column;gap:0}.hero-copy{padding:35px 0 30px;width:100%}.hero .eyebrow{font-size:.59rem;margin-bottom:18px}.hero h1{font-size:3.2rem}.hero-role{font-size:.93rem}.hero-intro{max-width:330px}.hero-values{max-width:none;margin-top:30px}.hero-values>div{font-size:.61rem}.hero-values>div:first-child{padding-left:7px}.hero-visual{width:100%;min-height:360px;height:360px}.portrait-main img{height:365px}.hero-visual:before{width:290px;height:290px;top:30px;left:calc(50% - 145px)}.portrait-inset{top:16px;right:0;width:75px;height:94px}.portrait-note{bottom:15px;right:0;font-size:13px}.focus-section{padding:23px 0 35px}.focus-grid{grid-template-columns:1fr;gap:14px}.focus-card{min-height:0;padding:24px}.icon-badge{width:42px;height:42px;margin-bottom:16px}.focus-card h2{font-size:1.35rem}.focus-card p{font-size:.86rem}.focus-card .text-link{margin-top:5px}.about-section{padding:36px 0}.about-grid{grid-template-columns:1fr;gap:25px}.about-photo{height:300px}.about-copy h2{font-size:2.35rem}.about-copy p{font-size:.9rem}.milestones{grid-column:auto;grid-template-columns:1fr 1fr;gap:22px}.milestones li{font-size:.72rem}.education-section{padding:37px 0}.education-grid{grid-template-columns:1fr;gap:22px}.education-section h2{font-size:2.45rem}.education-art{max-width:280px;margin:0 auto;padding:8px 0;width:100%}.education-art svg{width:48px;height:48px;margin:20px 0 0 40px}.education-list{grid-column:auto;font-size:.7rem;gap:12px 18px}.education-list>span{width:100%}.education-list p{font-size:.74rem}.articles-section{padding:40px 0}.section-heading{align-items:end;gap:12px}.section-heading h2{font-size:2.1rem}.section-heading .text-link{font-size:.7rem;white-space:nowrap}.articles-grid{grid-template-columns:1fr}.article-card{grid-template-columns:1fr}.article-art{min-height:125px}.article-copy{padding:23px}.journal-note{padding:7px 0 7px 20px}.contact-banner{padding:35px 0}.contact-inner{align-items:start;flex-direction:column;gap:15px}.contact-inner h2{font-size:2.2rem}.footer-inner{align-items:start;flex-direction:column}.footer-links{flex-wrap:wrap;font-size:.72rem}.content-page{padding:40px 0 50px}.content-page h1{font-size:3rem}.entry-content{font-size:.95rem}.entry-content h2{font-size:1.7rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
