/* Beranda dan dashboard mengikuti komposisi pada referensi REEDHA. */
.site-header{height:70px;box-shadow:0 2px 14px #142b4a08}.brand{display:flex;align-items:center;gap:8px;font-size:14px;letter-spacing:.12em}.brand-mark{display:inline-grid;width:24px;height:26px;place-items:center;background:var(--navy);color:#fff!important;font-size:17px;letter-spacing:-.08em;clip-path:polygon(0 0,75% 0,100% 25%,100% 100%,74% 100%,74% 43%,49% 43%,49% 100%,22% 100%,22% 25%,0 25%)}.site-nav{gap:23px}.site-nav>a:not(.nav-contact){font-size:11px;font-weight:600;color:#344a64}.site-nav .nav-home{color:var(--blue)!important;border-bottom:2px solid var(--blue);padding-block:23px 20px}.site-nav .nav-search{font-size:22px!important;line-height:1}.site-nav .nav-contact{padding:8px 17px;border-radius:20px;background:var(--navy);color:#fff;font-size:11px}
.home-hero{display:grid;grid-template-columns:1.02fr .98fr;gap:25px;align-items:center;min-height:510px;padding-block:43px 35px}.home-hero-copy{padding-left:18px}.home-hero .eyebrow{margin-bottom:16px;font-size:9px;color:#367ac0}.home-hero h1{max-width:520px;font-size:clamp(39px,4vw,55px);line-height:1.12;letter-spacing:-.045em;font-weight:700}.home-hero .hero-lead{max-width:480px;margin-top:15px;font-size:13px;line-height:1.75}.home-hero .button-row{margin-top:18px}.home-hero .button{min-height:38px;padding-inline:15px;font-size:10px;border-radius:5px}.home-focus{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px;padding:14px 16px;background:#f1f6fb;border-radius:8px}.home-focus>div{display:flex;gap:11px;align-items:center;min-width:0}.home-focus>div+div{border-left:1px solid #dce6f0;padding-left:13px}.focus-icon,.skill-icon{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#2472bb;font-size:19px}.home-focus strong,.home-focus small{display:block}.home-focus strong{color:var(--navy);font-size:9px}.home-focus small{margin-top:3px;color:#77879a;font-size:8px;line-height:1.45}
.home-portrait-wrap{height:405px;position:relative;padding:15px 12px 15px 0}.home-portrait-wrap:before{content:"";position:absolute;inset:20px 0 15px 48px;background:linear-gradient(145deg,#e9f0f7,#f9fbfd);transform:skewX(-8deg);border-radius:8px}.home-portrait{position:relative;width:100%;height:100%;object-fit:cover;border-radius:9px;box-shadow:0 15px 38px #142b4a1c}.portrait-placeholder{position:relative;height:100%;overflow:hidden;display:grid;place-items:center;border-radius:9px;background:radial-gradient(ellipse at 75% 35%,#fff 0,#f8fafc 28%,transparent 62%),linear-gradient(140deg,#dfe9f3,#f7f9fb 54%,#d6e3f0);box-shadow:0 15px 38px #142b4a1c}.portrait-placeholder:after{content:"";position:absolute;width:300px;height:300px;border:1px solid #4d7ead24;border-radius:50%;box-shadow:0 0 0 32px #4d7ead09,0 0 0 64px #4d7ead07;right:-50px;top:-80px}.portrait-window{position:relative;z-index:1;width:70%;height:66%;padding:13px 17px;background:#fff;border:1px solid #e4ebf3;border-radius:8px;box-shadow:0 25px 55px #142b4a1c;transform:perspective(900px) rotateY(-8deg) rotateX(3deg)}.portrait-window>span{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:4px;background:#c9d8e7}.window-lines{display:grid;gap:9px;width:31%;margin-top:30px}.window-lines i{height:7px;border-radius:4px;background:#e9eff5}.window-lines i:first-child{width:75%;background:#81a9d0}.window-chart{position:absolute;right:13%;top:26%;height:45%;display:flex;align-items:end;gap:10px}.window-chart b{width:18px;border-radius:5px 5px 0 0;background:#bdd1e4;height:40%}.window-chart b:nth-child(2){height:72%;background:#77a3ce}.window-chart b:nth-child(3){height:54%;background:#9cb9d7}.window-chart b:nth-child(4){height:91%;background:#2b6298}.portrait-window>strong{position:absolute;bottom:17px;left:17px;color:var(--navy);font-size:11px;letter-spacing:.14em}.portrait-window>strong small{display:block;margin-top:5px;color:#8193a6;font-size:7px;letter-spacing:.16em}.portrait-caption{position:absolute;z-index:2;right:7%;bottom:9%;display:grid;gap:4px;color:#557492;font-size:8px;letter-spacing:.14em}.portrait-caption strong{color:var(--navy);font-size:16px;letter-spacing:0}
.section{padding-block:54px}.home-project-section{padding-top:22px;padding-bottom:42px;background:linear-gradient(180deg,#fafbfd,#fff)}.compact-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.compact-heading h2{margin:0;color:var(--navy);font-size:21px;letter-spacing:-.03em}.compact-heading .text-link{font-size:10px}.featured-project{display:grid;grid-template-columns:1.08fr 1.65fr .73fr;align-items:stretch;gap:19px;padding:12px;background:#f1f6fb;border:1px solid #e8eef5;border-radius:9px}.featured-visual{position:relative;display:grid;min-height:170px;overflow:hidden;place-items:center;background:#e3ebf4;border-radius:6px}.featured-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.featured-badge{position:absolute;top:10px;left:10px;padding:4px 9px;border-radius:12px;background:#4387c5;color:#fff;font-size:8px;font-weight:700}.dashboard-preview{position:absolute;inset:20px 14px 13px;overflow:hidden;border:5px solid #132c49;border-bottom-width:9px;border-radius:7px;background:#fff;box-shadow:0 9px 18px #142b4a2b}.preview-top{height:20px;display:flex;align-items:center;gap:7px;padding:0 8px;background:#fff;color:#385879;font-size:6px}.preview-top b{color:#1c4d80;font-size:13px}.preview-top i{margin-left:auto;color:#9badbf;font-size:5px;font-style:normal}.preview-body{height:calc(100% - 20px);display:flex;background:#f3f6fa}.preview-side{width:19%;padding:13px 7px;background:#193757;display:grid;align-content:start;gap:10px}.preview-side i{height:5px;border-radius:3px;background:#91a7bd}.preview-content{flex:1;padding:12px 10px}.preview-content>strong{font-size:7px;color:#284460}.preview-metrics{display:flex;gap:5px;margin:9px 0}.preview-metrics i{height:22px;flex:1;border:1px solid #e4ebf2;border-radius:3px;background:#fff}.preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px}.preview-grid i{height:48px;border:1px solid #e4ebf2;border-radius:3px;background:linear-gradient(#fff,#f8fafc)}.featured-copy{align-self:center;padding:6px 3px}.featured-copy h3{margin:4px 0 0;color:var(--navy);font-size:18px}.featured-copy p{margin:5px 0 10px;color:#67798e;font-size:10px;line-height:1.6}.featured-copy .featured-subtitle{margin:0;color:#415975;font-size:10px}.featured-copy .button{min-height:32px;margin-top:12px;padding-inline:13px;font-size:9px}.tech-pills{display:flex;flex-wrap:wrap;gap:5px}.tech-pills span{padding:3px 8px;border-radius:12px;background:#e3edf7;color:#55728f;font-size:8px}.featured-project blockquote{align-self:center;margin:0;padding:18px 14px;border-radius:8px;background:linear-gradient(145deg,#f9fbfd,#edf3f9);color:#254b74;font-size:11px;font-style:italic;line-height:1.65}
.home-skills{padding-top:20px;padding-bottom:38px}.skill-cards{display:grid;grid-template-columns:repeat(4,1fr)}.skill-card{padding:9px 20px 13px;text-align:center;border-right:1px solid #edf1f5}.skill-card:last-child{border:0}.skill-card .skill-icon{margin:0 auto 8px;width:42px;height:42px;background:#f0f5fa;font-size:22px}.skill-card h3{margin:4px 0;color:var(--navy);font-size:12px}.skill-card p{max-width:190px;margin:0 auto;color:#758397;font-size:9px;line-height:1.55}.home-articles{padding-top:22px;padding-bottom:50px;border-top:1px solid #edf1f5}.article-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.article-card{overflow:hidden;border:1px solid #e6ecf2;border-radius:7px;background:#fff;box-shadow:0 5px 16px #142b4a06}.article-card-image{position:relative;height:135px;display:flex;align-items:end;justify-content:space-between;overflow:hidden;padding:15px;background:linear-gradient(135deg,#dfe9f3,#f4f7fa);color:#365979}.article-card-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.article-card-image span,.article-card-image b{position:relative;z-index:1}.article-card-image span{font-size:7px;letter-spacing:.14em}.article-card-image b{font-size:28px;opacity:.5}.article-art-2{background:linear-gradient(135deg,#dce9e4,#eef4f0);color:#41675f}.article-art-3{background:linear-gradient(135deg,#dfe4ef,#f3f5f8);color:#465879}.article-card-body{padding:12px 14px 15px}.article-card-body h3{min-height:38px;margin:5px 0;color:var(--navy);font-size:12px;line-height:1.45}.article-card-body p{min-height:32px;margin:0 0 9px;color:#778598;font-size:9px;line-height:1.5}.article-card-body>small{display:block;margin:8px 0;color:#8996a5;font-size:8px}.article-card-body .text-link{font-size:9px}.article-empty{grid-column:1/-1;max-width:450px}.home-cta .cta-inner{min-height:165px}.home-cta .cta-inner h2{font-size:25px}.home-cta .cta-inner p:not(.eyebrow){max-width:530px;margin:8px 0 0;color:#d1dce8;font-size:10px;line-height:1.55}.home-cta .button{min-height:38px;border-radius:5px;font-size:10px}.site-footer .footer-row{min-height:85px;display:grid;grid-template-columns:auto 1fr auto;gap:4px 25px}.footer-row nav{display:flex;justify-content:center;gap:20px}.footer-row nav a{font-size:9px;color:#5f7185}.footer-row p{margin:0;font-size:8px}.footer-row .footer-tagline{grid-column:3;grid-row:1}.footer-row p:not(.footer-tagline){grid-column:1/3;grid-row:2}
.admin-shell.admin-dashboard{grid-template-columns:205px 1fr;background:#f4f7fa}.admin-dashboard .admin-sidebar{padding:19px 12px;background:#142b43}.admin-brand{display:flex;align-items:center;gap:9px;padding:0 8px;color:#fff;font-size:12px;font-weight:800;letter-spacing:.08em}.admin-brand-mark{display:grid;width:25px;height:25px;place-items:center;background:#fff;color:#173b62;font-size:17px;font-weight:800;clip-path:polygon(0 0,75% 0,100% 25%,100% 100%,74% 100%,74% 43%,49% 43%,49% 100%,22% 100%,22% 25%,0 25%)}.admin-brand small{display:block;margin-top:1px;color:#a9bdd0;font-size:8px;font-weight:500;letter-spacing:0}.admin-dashboard .admin-sidebar nav{gap:3px;margin-top:28px}.admin-dashboard .admin-sidebar nav a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:5px;color:#d0dae4;font-size:10px}.admin-dashboard .admin-sidebar nav a>span{width:15px;text-align:center;color:#bdcbd8;font-size:13px}.admin-dashboard .admin-sidebar nav a.active{background:#2d6dab;color:#fff}.admin-dashboard .sidebar-logout{display:flex;gap:10px;align-items:center;margin:20px 10px 0;color:#c5d0da;font-size:10px}.admin-dashboard .admin-top{height:55px;padding-inline:30px;background:#142b43;border:0;color:#fff;letter-spacing:0}.admin-crumb{font-size:10px;font-weight:700;letter-spacing:.08em}.admin-user{display:flex;align-items:center;gap:8px;color:#fff;font-size:10px}.admin-avatar{display:grid;width:25px;height:25px;place-items:center;border-radius:50%;background:#4b8bc3;color:#fff;font-weight:700}.admin-user>span:last-child{color:#b8c8d8}.admin-dashboard .admin-content{width:min(100%,1230px);padding:28px 30px 50px}.admin-intro h1{font-size:24px;letter-spacing:-.03em}.admin-intro p{margin:3px 0 0;color:#708095;font-size:10px;line-height:1.55}.admin-dashboard .admin-stat-grid{grid-template-columns:repeat(4,1fr);gap:11px;margin-top:19px}.admin-stat-grid .stat-card{display:flex;align-items:center;gap:11px;padding:13px;border:1px solid #e5ebf1;border-radius:6px;box-shadow:0 2px 5px #142b4a06}.stat-icon{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border-radius:50%;background:#eaf2fa;color:#2474bd;font-size:16px}.stat-icon.gold{background:#fff5d8;color:#d89a00}.admin-stat-grid .stat-card small{display:block;color:#728195;font-size:8px}.admin-stat-grid .stat-card strong{display:block;margin-top:2px;font-size:18px}.dashboard-panels{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:12px}.dashboard-panel{min-width:0;padding:14px 13px;border:1px solid #e5ebf1;border-radius:6px;background:#fff;box-shadow:0 2px 5px #142b4a06}.dashboard-panel>header{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px}.dashboard-panel h2{margin:0;color:#233d59;font-size:11px}.dashboard-panel>header>a{color:#4381bb;font-size:8px}.dashboard-row{display:flex;align-items:center;gap:8px;padding:9px 0;border-top:1px solid #edf1f5}.row-thumb{display:grid;flex:0 0 31px;width:31px;height:31px;place-items:center;border-radius:5px;background:#eaf2fa;color:#2678bb;font-size:14px}.project-thumb-icon{background:#e4f5f8;color:#1696ae}.message-thumb{background:#eef2f5;color:#718398}.row-copy{min-width:0;flex:1}.row-copy strong,.row-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-copy strong{color:#344a62;font-size:8px}.row-copy small{margin-top:3px;color:#8290a0;font-size:7px}.dashboard-row .status-pill{flex:none;padding:3px 6px;font-size:7px}.row-date{color:#8996a3;font-size:7px}.dashboard-empty{padding:12px 0;color:#7c8a99;font-size:9px}.dashboard-empty a{color:#3179b8}
/* Legibility pass: support text and compact labels scale with their surrounding UI. */
.site-nav>a:not(.nav-contact){font-size:13px}.site-nav .nav-contact{font-size:13px}.home-hero .eyebrow{font-size:11px}.home-hero .hero-lead{font-size:16px;line-height:1.75}.home-hero .button{min-height:44px;padding-inline:18px;font-size:12px}.home-focus{gap:18px;padding:16px 18px}.focus-icon{flex-basis:40px;width:40px;height:40px;font-size:21px}.home-focus strong{font-size:11px}.home-focus small{font-size:10px}.portrait-caption{font-size:10px}.portrait-caption strong{font-size:19px}.compact-heading h2{font-size:24px}.compact-heading .text-link{font-size:12px}.featured-project{gap:22px;padding:14px}.featured-visual{min-height:205px}.featured-copy .tag,.featured-copy p,.featured-copy .featured-subtitle{font-size:12px}.featured-copy h3{font-size:22px}.featured-copy .button{min-height:38px;font-size:11px}.tech-pills span{font-size:10px}.featured-project blockquote{font-size:14px}.skill-card h3{font-size:15px}.skill-card p{font-size:12px}.skill-card .skill-icon{width:48px;height:48px;font-size:24px}.article-card-image{height:165px}.article-card-image span{font-size:9px}.article-card-body .tag{font-size:10px}.article-card-body h3{min-height:48px;font-size:15px}.article-card-body p{min-height:42px;font-size:12px}.article-card-body>small{font-size:10px}.article-card-body .text-link{font-size:11px}.home-cta .cta-inner h2{font-size:30px}.home-cta .cta-inner p:not(.eyebrow){font-size:13px}.home-cta .button{min-height:44px;font-size:12px}.footer-row nav a{font-size:11px}.footer-row p{font-size:10px}
.site-nav .nav-home:not(.is-active){color:#344a64!important;border-bottom:0;padding-block:0}.site-nav .nav-home.is-active{border-bottom:0;padding-block:0}.site-nav>a:not(.nav-contact){position:relative;transition:color .18s ease}.site-nav>a:not(.nav-contact):after{position:absolute;right:0;bottom:-7px;left:0;height:2px;background:var(--blue);content:"";transform:scaleX(0);transform-origin:left;transition:transform .18s ease}.site-nav>a:not(.nav-contact):hover,.site-nav>a.is-active{color:var(--blue)!important}.site-nav>a:not(.nav-contact):hover:after,.site-nav>a.is-active:after{transform:scaleX(1)}.site-nav .nav-search:after{display:none}.turnstile-wrap{width:100%;min-height:65px;overflow:hidden}.turnstile-wrap .cf-turnstile{min-height:65px;max-width:100%}.turnstile-wrap iframe{max-width:100%}
.admin-dashboard .admin-sidebar nav a{font-size:12px;padding:10px}.admin-dashboard .admin-top{height:62px}.admin-crumb,.admin-user{font-size:12px}.admin-dashboard .admin-content{padding:34px 34px 55px}.admin-intro h1{font-size:28px}.admin-intro p{font-size:13px}.admin-stat-grid .stat-card{padding:16px}.admin-stat-grid .stat-card small{font-size:11px}.admin-stat-grid .stat-card strong{font-size:22px}.dashboard-panel{padding:17px}.dashboard-panel h2{font-size:14px}.dashboard-panel>header>a{font-size:10px}.dashboard-row{gap:10px;padding:11px 0}.row-thumb{flex-basis:38px;width:38px;height:38px}.row-copy strong{font-size:11px}.row-copy small,.row-date{font-size:9px}.dashboard-row .status-pill{font-size:9px}.dashboard-empty{font-size:11px}
@media(max-width:900px){.site-nav>a:not(.nav-contact){font-size:11px}.home-hero .hero-lead{font-size:14px}.home-focus strong{font-size:10px}.home-focus small{font-size:9px}.featured-copy p,.featured-copy .featured-subtitle{font-size:11px}.featured-project blockquote{font-size:12px}.skill-card h3{font-size:13px}.skill-card p{font-size:10px}.article-card-body h3{font-size:13px}.article-card-body p{font-size:10px}}
@media(max-width:680px){.home-hero h1{font-size:clamp(38px,10vw,48px)}.home-hero .eyebrow{font-size:10px}.home-hero .hero-lead{font-size:15px}.home-hero .button{min-height:42px;font-size:12px}.home-focus strong{font-size:10px}.home-focus small{font-size:9px}.compact-heading h2{font-size:20px}.compact-heading .text-link{font-size:11px}.featured-copy .tag,.featured-copy p,.featured-copy .featured-subtitle{font-size:12px}.featured-copy h3{font-size:20px}.featured-project blockquote{font-size:13px}.skill-card h3{font-size:13px}.skill-card p{font-size:10px}.article-card-body .tag{font-size:10px}.article-card-body h3{font-size:13px}.article-card-body p{font-size:11px}.article-card-body .text-link{font-size:11px}.home-cta .cta-inner h2{font-size:25px}.home-cta .cta-inner p:not(.eyebrow){font-size:13px}.footer-row nav a{font-size:11px}.footer-row p{font-size:10px}.admin-dashboard .admin-sidebar nav a{font-size:11px}.admin-dashboard .admin-content{padding:22px 14px 40px}.admin-intro h1{font-size:24px}.admin-intro p{font-size:12px}.admin-stat-grid .stat-card small{font-size:10px}.dashboard-panel h2{font-size:13px}.dashboard-panel>header>a{font-size:10px}.row-copy strong{font-size:11px}.row-copy small,.row-date{font-size:9px}}
@media(max-width:900px){.site-nav{gap:13px}.site-nav>a:not(.nav-contact){font-size:9px}.home-hero{min-height:450px}.home-hero h1{font-size:42px}.featured-project{grid-template-columns:1fr 1.5fr}.featured-project blockquote{grid-column:1/-1;padding:12px 16px}.dashboard-panels{grid-template-columns:1fr 1fr}.dashboard-panel:last-child{grid-column:1/-1}}
@media(max-width:680px){.site-nav{gap:0}.site-nav .nav-home{padding:11px 5px;border-bottom:1px solid #f0f2f5}.site-nav .nav-search{display:none}.site-nav .nav-contact{margin-top:13px;text-align:center}.home-hero{display:flex;flex-direction:column;align-items:stretch;gap:13px;min-height:0;padding-block:42px 22px}.home-hero-copy{padding:0}.home-hero h1{font-size:clamp(38px,10vw,48px)}.home-hero .hero-lead{font-size:12px}.home-focus{gap:9px;padding:11px}.home-focus>div+div{padding-left:9px}.focus-icon{flex-basis:29px;width:29px;height:29px}.home-focus strong{font-size:8px}.home-focus small{font-size:7px}.home-portrait-wrap{height:250px;padding:0}.home-portrait-wrap:before{inset:8px 0 0 25px}.portrait-window{width:72%;height:75%}.portrait-caption{right:5%;bottom:4%}.section{padding-block:35px}.home-project-section{padding-top:22px}.compact-heading h2{font-size:18px}.compact-heading .text-link{font-size:8px}.featured-project{grid-template-columns:1fr;gap:12px;padding:9px}.featured-visual{min-height:175px}.featured-copy{padding:5px 7px}.featured-project blockquote{grid-column:auto}.skill-cards{grid-template-columns:1fr 1fr;row-gap:12px}.skill-card{padding:8px 10px;border-right:0}.skill-card:nth-child(odd){border-right:1px solid #edf1f5}.skill-card h3{font-size:10px}.skill-card p{font-size:8px}.article-cards{grid-template-columns:1fr;gap:11px}.article-card{display:grid;grid-template-columns:38% 1fr}.article-card-image{height:100%;min-height:145px}.article-card-body{padding:10px}.article-card-body h3{min-height:0;font-size:10px}.article-card-body p{min-height:0;font-size:8px}.article-empty{max-width:none}.home-cta .cta-inner{min-height:0;padding-block:35px}.home-cta .cta-inner h2{font-size:23px}.home-cta .button{margin-top:18px}.site-footer .footer-row{grid-template-columns:1fr auto;padding-block:19px;gap:12px}.footer-row nav{grid-column:1/-1;grid-row:2;justify-content:flex-start;flex-wrap:wrap;gap:8px 13px}.footer-row nav a{font-size:8px}.footer-row .footer-tagline{grid-column:1/-1;grid-row:3}.footer-row p:not(.footer-tagline){grid-column:1/-1;grid-row:4}.admin-shell.admin-dashboard{display:block}.admin-dashboard .admin-sidebar{position:relative;height:auto;padding:12px 14px;display:block}.admin-dashboard .admin-sidebar nav{display:flex;overflow:auto;gap:4px;margin-top:10px}.admin-dashboard .admin-sidebar nav a{flex:none;padding:7px 8px;white-space:nowrap}.admin-dashboard .admin-sidebar nav a>span{width:auto}.admin-dashboard .admin-sidebar form{position:absolute;top:14px;right:12px}.admin-dashboard .sidebar-logout{margin:0}.admin-dashboard .admin-top{height:45px;padding-inline:15px}.admin-dashboard .admin-content{padding:22px 14px 40px}.admin-dashboard .admin-stat-grid{grid-template-columns:1fr 1fr;gap:8px}.admin-stat-grid .stat-card{padding:10px}.stat-icon{flex-basis:29px;width:29px;height:29px}.admin-stat-grid .stat-card strong{font-size:16px}.dashboard-panels{grid-template-columns:1fr}.dashboard-panel:last-child{grid-column:auto}.dashboard-panel{padding:12px}}

/* Shared visual system: readable type, measured spacing, and consistent controls. */
:root{--sans:Inter,'Segoe UI',Arial,sans-serif;--page-width:1200px;--body-size:16px;--body-line:1.7}
body{font-size:var(--body-size);line-height:var(--body-line);color:#26384d}
.container{width:min(var(--page-width),calc(100% - 64px))}
.site-header{height:82px;position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(14px)}
.brand{font-size:18px}
.site-nav{gap:clamp(16px,2.1vw,30px)}
.site-nav>a:not(.nav-contact),.site-nav .nav-contact{font-size:14px}
.eyebrow{font-size:11px}
.button{min-height:46px;padding-inline:20px;font-size:14px;border-radius:6px}
.text-link{font-size:14px}
.home-hero h1,.page-hero h1{font-size:clamp(44px,5.2vw,68px);line-height:1.08}
.home-hero .hero-lead,.page-hero .hero-lead{font-size:17px;line-height:1.8}
.home-focus strong{font-size:13px}
.home-focus small{font-size:12px;line-height:1.55}
.compact-heading h2,.section h2{font-size:clamp(25px,2.5vw,32px)}
.featured-copy h3{font-size:26px}
.featured-copy p,.featured-copy .featured-subtitle{font-size:14px;line-height:1.7}
.featured-copy .tag,.tag{font-size:11px}
.tech-pills span{font-size:11px}
.featured-project blockquote{font-size:16px;line-height:1.7}
.skill-card h3{font-size:16px}
.skill-card p,.article-card-body p{font-size:14px;line-height:1.65}
.article-card-body h3{font-size:17px;line-height:1.45}
.article-card-body>small,.article-card-body .text-link{font-size:12px}
.article-row h3{font-size:19px}
.article-row p,.project-info p,.timeline-row p,.contact-note p{font-size:15px;line-height:1.7}
.article-date,.timeline-row>span,.skill-chip span{font-size:13px}
.project-info h3,.timeline-row h3{font-size:21px}
.prose{font-size:16px;line-height:1.9}
.skill-chip strong{font-size:15px}
.search-form label,.contact-form label,.admin-form label,.edit-form label{font-size:14px}
.contact-form input,.contact-form textarea,.admin-form input,.edit-form input,.edit-form textarea,.edit-form select,.search-form input{font-size:15px;padding:13px 14px;border-radius:6px}
.form-note,.notice{font-size:13px}
.site-footer{border-top:1px solid #e7edf3;background:#fbfcfe}
.site-footer .footer-row{min-height:110px}
.footer-row nav{gap:clamp(12px,1.7vw,24px)}
.footer-row nav a{font-size:13px}
.footer-row p{font-size:12px}
.admin-shell.admin-dashboard{grid-template-columns:250px minmax(0,1fr)}
.admin-dashboard .admin-sidebar{padding:26px 18px}
.admin-dashboard .admin-sidebar nav{gap:5px;margin-top:36px}
.admin-dashboard .admin-sidebar nav a{font-size:14px;padding:11px 12px}
.admin-dashboard .admin-sidebar nav a>span{font-size:16px}
.admin-dashboard .admin-top{height:68px;padding-inline:clamp(24px,4vw,56px)}
.admin-crumb,.admin-user{font-size:14px}
.admin-avatar{width:32px;height:32px}
.admin-dashboard .admin-content{width:min(100%,1320px);padding:42px clamp(24px,4vw,56px) 64px}
.admin-intro h1{font-size:34px}
.admin-intro p{font-size:15px;line-height:1.65}
.admin-dashboard .admin-stat-grid{gap:16px;margin-top:28px}
.admin-stat-grid .stat-card{gap:14px;padding:18px;border-radius:9px}
.stat-icon{flex-basis:44px;width:44px;height:44px;font-size:19px}
.admin-stat-grid .stat-card small{font-size:13px}
.admin-stat-grid .stat-card strong{font-size:27px}
.dashboard-panels{gap:16px;margin-top:18px}
.dashboard-panel{padding:20px;border-radius:9px}
.dashboard-panel>header{margin-bottom:12px}
.dashboard-panel h2{font-size:16px}
.dashboard-panel>header>a{font-size:12px}
.dashboard-row{gap:12px;padding:13px 0}
.row-thumb{flex-basis:42px;width:42px;height:42px;font-size:16px}
.row-copy strong{font-size:13px}
.row-copy small,.row-date{font-size:11px}
.dashboard-row .status-pill{font-size:11px;padding:4px 8px}
.dashboard-empty{font-size:13px}
.admin-content h1{font-size:34px}
.admin-top{font-size:12px}
.admin-sidebar nav a{font-size:14px}
.admin-table{font-size:14px}
.status-pill{font-size:11px}
.login-card{max-width:480px;padding:42px}
.admin-form label{font-size:14px}
.admin-form input{min-height:48px}
@media(max-width:900px){
 .container{width:min(var(--page-width),calc(100% - 44px))}
 .site-nav{gap:12px}
 .site-nav>a:not(.nav-contact){font-size:12px}
 .home-hero .hero-lead{font-size:16px}
 .home-focus strong{font-size:12px}.home-focus small{font-size:11px}
 .featured-copy p,.featured-copy .featured-subtitle{font-size:13px}
 .featured-project blockquote{font-size:14px}
 .skill-card h3{font-size:14px}.skill-card p{font-size:13px}
 .article-card-body h3{font-size:15px}.article-card-body p{font-size:13px}
 .admin-shell.admin-dashboard{grid-template-columns:220px minmax(0,1fr)}
}
@media(max-width:680px){
 .container{width:calc(100% - 36px)}
 .site-header{height:68px}
 .brand{font-size:17px}
 .home-hero h1,.page-hero h1{font-size:clamp(38px,10vw,48px)}
 .home-hero .hero-lead,.page-hero .hero-lead{font-size:15px}
 .home-focus{gap:10px;padding:13px}
 .home-focus strong{font-size:12px}.home-focus small{font-size:11px}
 .section{padding-block:54px}
 .compact-heading h2{font-size:22px}.compact-heading .text-link{font-size:12px}
 .featured-project blockquote{font-size:14px}
 .skill-card h3{font-size:13px}.skill-card p{font-size:12px}
 .article-card-body h3{font-size:14px}.article-card-body p{font-size:12px}
 .article-card-body .text-link{font-size:12px}
 .home-cta .cta-inner h2{font-size:24px}
 .footer-row nav a{font-size:12px}.footer-row p{font-size:11px}
 .page-hero{padding-block:62px 40px}
 .article-row{grid-template-columns:1fr 18px;gap:8px 14px}
 .article-date{grid-column:1/-1;font-size:12px}
 .article-row h3{font-size:17px}
 .article-row p{font-size:13px}
 .contact-grid,.two-column{gap:30px}
 .contact-note{padding:25px;min-height:0}
 .contact-note h2{margin-top:25px}
 .search-form{align-items:stretch;flex-direction:column}
 .footer-row nav{gap:9px 14px}
 .admin-dashboard .admin-sidebar{padding:14px}
 .admin-dashboard .admin-sidebar nav a{font-size:12px}
 .admin-dashboard .admin-content{padding:24px 16px 40px}
 .admin-intro h1{font-size:28px}.admin-intro p{font-size:13px}
 .admin-stat-grid .stat-card small{font-size:11px}.admin-stat-grid .stat-card strong{font-size:21px}
 .dashboard-panel h2{font-size:14px}.dashboard-panel>header>a{font-size:11px}
 .row-copy strong{font-size:12px}.row-copy small,.row-date{font-size:10px}
 .login-card{padding:28px 22px}
}

/* Shared admin workspace shell (sidebar, fixed bars, and a single content scroll area). */
.brand-logo{display:block;width:clamp(172px,13vw,198px);height:auto;max-height:62px;object-fit:contain;object-position:left center}
.site-nav>a.nav-contact{flex:none;padding:9px 22px;font-size:13px}
.site-footer .footer-row{min-height:118px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px clamp(20px,3vw,42px);padding-block:18px}
.site-footer .brand-logo{width:176px;max-height:56px}
.site-footer .footer-row nav{grid-column:2;grid-row:1;justify-content:center;gap:clamp(12px,1.6vw,23px);flex-wrap:wrap}
.site-footer .footer-row nav a{font-size:12px;white-space:nowrap}
.site-footer .footer-row .footer-tagline{grid-column:3;grid-row:1;max-width:270px;text-align:right;font-size:11px;line-height:1.5}
.site-footer .footer-row p:not(.footer-tagline){grid-column:1/-1;grid-row:2;padding-top:12px;border-top:1px solid #e9edf2;font-size:11px}
.article-empty{max-width:none;padding:34px 36px;text-align:left;border-radius:10px;background:linear-gradient(135deg,#f1f6fb,#fff)}
.article-empty .empty-icon{display:none}
.article-empty h2{margin:0;color:var(--navy);font-size:22px}
.article-empty p{margin:12px 0 18px;color:#718094;font-size:15px}
.article-empty .text-link{font-size:14px}
@media(max-width:900px){.brand-logo{width:164px;max-height:54px}.site-footer .footer-row{grid-template-columns:auto 1fr;gap:14px 22px}.site-footer .footer-row nav{grid-column:1/-1;grid-row:2;justify-content:flex-start}.site-footer .footer-row .footer-tagline{grid-column:2;grid-row:1}.site-footer .footer-row p:not(.footer-tagline){grid-row:3}}
@media(max-width:680px){.brand-logo{width:150px;max-height:48px}.site-footer .footer-row{grid-template-columns:1fr;gap:13px;padding-block:20px}.site-footer .footer-row nav{grid-column:1;grid-row:2;justify-content:flex-start;gap:8px 15px}.site-footer .footer-row .footer-tagline{grid-column:1;grid-row:3;max-width:none;text-align:left}.site-footer .footer-row p:not(.footer-tagline){grid-column:1;grid-row:4}.article-empty{padding:24px 20px}.article-empty h2{font-size:19px}}
.home-cta.cta-section{background:#142b4a}
.home-cta .cta-inner{min-height:190px;display:flex;align-items:center;justify-content:space-between;gap:40px;padding-block:34px}
.home-cta .cta-inner>div{max-width:680px}
.home-cta .cta-inner .eyebrow{margin:0 0 10px;color:#a9c7e3;font-size:11px;letter-spacing:.16em}
.home-cta .cta-inner h2{max-width:570px;margin:0;color:#fff;font-size:clamp(27px,3vw,36px);line-height:1.22;letter-spacing:-.035em}
.home-cta .cta-inner p:not(.eyebrow){max-width:600px;margin:12px 0 0;color:#d5dfeb;font-size:14px;line-height:1.65}
.home-cta .cta-inner .button{flex:none;min-height:46px;padding-inline:22px;border-radius:6px;font-size:13px}
.home-cta .cta-orb{display:none}
@media(max-width:680px){.home-cta .cta-inner{min-height:0;display:flex;align-items:flex-start;flex-direction:column;gap:20px;padding-block:34px}.home-cta .cta-inner h2{font-size:27px}.home-cta .cta-inner p:not(.eyebrow){font-size:14px}.home-cta .cta-inner .button{margin:0}}
.site-header .nav-wrap>.brand{transform:translateX(-11px)}
@media(max-width:680px){.site-header .nav-wrap>.brand{transform:translateX(-8px)}}
.site-footer .footer-row>.brand{transform:translateX(-11px)}
.site-footer{border-top:1px solid #e5ebf2;background:#fff}
.site-footer .footer-row{min-height:0;grid-template-columns:minmax(180px,1fr) auto minmax(210px,1fr);align-items:center;column-gap:32px;row-gap:0;padding-block:28px 16px}
.site-footer .brand-logo{width:196px;max-height:62px}
.site-footer .footer-row nav{grid-column:2;grid-row:1;justify-content:center;gap:22px}
.site-footer .footer-row nav a{color:#52657a;font-size:13px;transition:color .18s ease}
.site-footer .footer-row nav a:hover{color:var(--blue)}
.site-footer .footer-row .footer-tagline{grid-column:3;grid-row:1;justify-self:end;max-width:250px;color:#738196;font-size:12px;line-height:1.55}
.site-footer .footer-row p:not(.footer-tagline){grid-column:1/-1;grid-row:2;margin-top:18px;padding-top:14px;border-top:1px solid #e9edf2;color:#8793a2;font-size:11px}
@media(max-width:900px){.site-footer .footer-row{grid-template-columns:1fr auto;gap:18px 22px}.site-footer .footer-row nav{grid-column:1/-1;grid-row:2;justify-content:flex-start}.site-footer .footer-row .footer-tagline{grid-column:2;grid-row:1}.site-footer .footer-row p:not(.footer-tagline){grid-row:3}}
@media(max-width:680px){.site-footer .footer-row>.brand{transform:translateX(-8px)}.site-footer .footer-row{grid-template-columns:1fr;gap:16px;padding-block:22px 14px}.site-footer .brand-logo{width:174px;max-height:54px}.site-footer .footer-row nav{grid-column:1;grid-row:2;justify-content:flex-start;gap:10px 17px}.site-footer .footer-row nav a{font-size:12px}.site-footer .footer-row .footer-tagline{grid-column:1;grid-row:3;justify-self:start;max-width:none;text-align:left}.site-footer .footer-row p:not(.footer-tagline){grid-column:1;grid-row:4;margin-top:0;padding-top:12px}}
.home-hero-copy{padding-left:0}
.site-header .nav-wrap>.brand,.site-footer .footer-row>.brand{transform:translateX(-29px)}
@media(max-width:900px){.site-header .nav-wrap>.brand,.site-footer .footer-row>.brand{transform:translateX(-20px)}}
@media(max-width:680px){.site-header .nav-wrap>.brand,.site-footer .footer-row>.brand{transform:translateX(-8px)}}
.site-header .nav-wrap>.brand,.site-footer .footer-row>.brand{position:relative;display:block;flex:none;width:192px;height:58px;overflow:hidden;transform:none}
.site-header .brand-logo,.site-footer .brand-logo{position:absolute;top:-35px;left:-56px;width:300px;height:auto;max-width:none;max-height:none;object-fit:initial}
@media(max-width:680px){.site-header .nav-wrap>.brand,.site-footer .footer-row>.brand{width:160px;height:49px;transform:none}.site-header .brand-logo,.site-footer .brand-logo{top:-29px;left:-47px;width:250px}}
.site-header .nav-wrap>.brand{width:164px;height:50px}
.site-header .brand-logo{top:-30px;left:-48px;width:256px}
.site-footer .footer-row>.brand{width:132px;height:41px}
.site-footer .brand-logo{top:-24px;left:-39px;width:206px}
@media(max-width:680px){.site-header .nav-wrap>.brand{width:152px;height:47px}.site-header .brand-logo{top:-28px;left:-45px;width:238px}.site-footer .footer-row>.brand{width:132px;height:41px}.site-footer .brand-logo{top:-24px;left:-39px;width:206px}}
:root{--navy:#183653;--blue:#4a82b5;--ink:#2d3d50;--muted:#718096;--soft:#f5f8fc;--line:#e5ebf2}
body{background:#fff;color:var(--ink)}
.site-header{height:78px;border-bottom:1px solid #e9eef4;background:rgba(255,255,255,.97);box-shadow:0 4px 18px #17365308}
.site-nav>a:not(.nav-contact){color:#506176}
.site-nav .nav-contact{background:#183653;border-color:#183653;border-radius:999px;box-shadow:0 4px 12px #18365312}
.site-header .nav-wrap>.brand{width:144px;height:45px}
.site-header .brand-logo{top:-26px;left:-42px;width:225px}
.site-footer{background:#f8fafc;border-top-color:#e6edf4}
.site-footer .footer-row>.brand{width:106px;height:33px}
.site-footer .brand-logo{top:-19px;left:-31px;width:166px}
.site-footer .footer-row{padding-top:23px}
.site-footer .footer-row nav a{color:#607187}
.site-footer .footer-row .footer-tagline{color:#77869a}
.home-hero{padding-block:52px 48px}
.home-hero h1,.page-hero h1{letter-spacing:-.04em}
.page-hero{border-bottom-color:#edf1f6}
.section-soft,.home-project-section{background:#f7f9fc}
.featured-project,.project-card,.article-card,.empty-state,.contact-note,.contact-form,.edit-form,.dashboard-panel,.stat-card,.admin-welcome{border-radius:12px}
.featured-project{border-color:#e8eef5;background:#f3f7fb}
.project-card,.article-card,.dashboard-panel,.stat-card,.admin-welcome{border-color:#e8edf3;box-shadow:0 8px 24px #1b385b08}
.project-card:hover,.article-card:hover{box-shadow:0 14px 32px #1b385b12}
.project-visual,.article-card-image{border-radius:9px}
.button{border-radius:8px;transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease}
.button-primary{background:#183653;box-shadow:0 4px 12px #18365314}
.button-primary:hover{background:#244b70;box-shadow:0 7px 18px #18365320}
.button-quiet,.button-light{border-radius:8px}
.contact-form input,.contact-form textarea,.admin-form input,.edit-form input,.edit-form textarea,.edit-form select,.search-form input{border-color:#dce5ee;border-radius:8px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease}
.contact-form input:focus,.contact-form textarea:focus,.admin-form input:focus,.edit-form input:focus,.edit-form textarea:focus,.edit-form select:focus,.search-form input:focus{border-color:#7fa8cf;box-shadow:0 0 0 3px #4a82b51a;outline:0}
.notice{border-radius:8px}
.contact-note{background:linear-gradient(145deg,#f2f6fb,#f8fafd)}
.home-cta.cta-section{background:linear-gradient(115deg,#173452,#1c4165)}
.home-cta .cta-inner{min-height:176px}
.admin-body{background:#f5f7fa}
.admin-shell,.admin-shell.admin-dashboard{background:#f5f7fa}
.admin-shell .admin-sidebar{background:linear-gradient(160deg,#193957,#142b45);box-shadow:8px 0 28px #132b4410}
.admin-shell .admin-sidebar .admin-nav a.active{background:#ffffff18;box-shadow:inset 3px 0 #8bb8e1}
.admin-frame,.admin-scroll{background:#f5f7fa}
.admin-shell .admin-top,.admin-shell .admin-footer{background:#fff}
.admin-shell .admin-content>h1,.admin-shell .admin-intro h1{color:#183653}
.admin-stat-grid .stat-card,.dashboard-panel,.edit-form,.table-wrap{border-radius:11px;box-shadow:0 6px 20px #18365308}
.dashboard-panel>header{border-bottom:1px solid #edf1f5}
.admin-table th{background:#f7f9fc}
.admin-table td{border-color:#edf1f5}
.login-card{border-radius:14px;box-shadow:0 18px 52px #18365310}
@media(max-width:900px){.site-header .nav-wrap>.brand{width:138px;height:43px}.site-header .brand-logo{top:-25px;left:-40px;width:216px}}
@media(max-width:680px){.site-header{height:68px}.site-header .nav-wrap>.brand{width:132px;height:41px}.site-header .brand-logo{top:-24px;left:-39px;width:206px}.site-footer .footer-row>.brand{width:100px;height:31px}.site-footer .brand-logo{top:-18px;left:-29px;width:156px}.home-hero{padding-block:40px 30px}.site-nav{border-radius:0 0 14px 14px}.site-nav .nav-contact{margin-top:11px}}
.site-footer{background:#f8fafc;border-top:1px solid #e6edf4}
.site-footer .footer-row{min-height:0;grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);grid-template-rows:auto auto auto;align-items:center;gap:13px 32px;padding-block:26px 17px}
.site-footer .footer-row>.brand{grid-column:1;grid-row:1;width:144px;height:45px;transform:none}
.site-footer .footer-row nav{grid-column:2;grid-row:1;justify-content:flex-end;gap:12px clamp(14px,2vw,25px)}
.site-footer .footer-row nav a{font-size:13px;white-space:nowrap}
.site-footer .footer-row .footer-tagline{grid-column:1;grid-row:2;justify-self:start;max-width:300px;text-align:left;color:#76869a;font-size:12px;line-height:1.55}
.site-footer .footer-row p:not(.footer-tagline){grid-column:1/-1;grid-row:3;margin-top:5px;padding-top:14px;border-top:1px solid #e5ebf2;color:#8592a1;font-size:11px}
@media(max-width:900px){.site-footer .footer-row{grid-template-columns:1fr;gap:15px;padding-block:23px 16px}.site-footer .footer-row>.brand{grid-column:1;grid-row:1}.site-footer .footer-row nav{grid-column:1;grid-row:2;justify-content:flex-start;flex-wrap:wrap}.site-footer .footer-row .footer-tagline{grid-column:1;grid-row:3}.site-footer .footer-row p:not(.footer-tagline){grid-column:1;grid-row:4}}
@media(max-width:680px){.site-footer .footer-row{gap:13px;padding-block:21px 14px}.site-footer .footer-row>.brand{width:112px;height:35px}.site-footer .brand-logo{top:-20px;left:-33px;width:175px}.site-footer .footer-row nav{gap:9px 15px}.site-footer .footer-row nav a{font-size:12px}.site-footer .footer-row .footer-tagline{max-width:290px;font-size:12px}.site-footer .footer-row p:not(.footer-tagline){margin-top:3px;padding-top:12px}}
.back-to-top{position:fixed;right:max(24px,calc((100vw - 1160px)/2));bottom:26px;z-index:20;display:grid;width:46px;height:46px;place-items:center;border:1px solid #ffffff65;border-radius:50%;background:#142b4a;color:#fff;font-size:23px;line-height:1;box-shadow:0 8px 22px #142b4a30;cursor:pointer;transition:transform .2s ease,background .2s ease}
.back-to-top:hover{transform:translateY(-3px);background:#20446c}
.back-to-top:focus-visible{outline:3px solid #70a8df;outline-offset:3px}
.back-to-top[hidden]{display:none}
@media(max-width:680px){.back-to-top{right:18px;bottom:18px;width:44px;height:44px}}
body.admin-body:has(.admin-shell){height:100dvh;min-height:0;margin:0;overflow:hidden;background:#f3f6fa}
.admin-shell,.admin-shell.admin-dashboard{display:grid;grid-template-columns:272px minmax(0,1fr);width:100%;height:100dvh;min-height:0;overflow:hidden;background:#f3f6fa}
.admin-shell .admin-sidebar{position:relative;z-index:30;display:flex;flex-direction:column;gap:0;width:auto;height:100%;min-height:0;padding:14px 12px;overflow:hidden;background:linear-gradient(135deg,#2563eb,#0891b2);color:#fff;transition:width .22s ease,padding .22s ease}
.admin-brand-row{display:flex;flex:none;align-items:center;gap:8px;min-height:48px}
.admin-brand{display:flex;flex:1;align-items:center;justify-content:center;min-width:0;height:56px;padding:0 5px;overflow:hidden;border-radius:8px;background:#fff;color:#fff;text-decoration:none}
.admin-logo{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.admin-brand-mark{display:grid;flex:none;width:32px;height:32px;place-items:center;background:#fff;color:#173b62;font-size:20px}
.admin-brand-copy{display:block;line-height:1.2}.admin-brand-copy small{display:block;margin-top:4px;color:#9fb3c8;font-size:9px;letter-spacing:.12em}
.admin-sidebar-toggle{display:grid;flex:none;place-items:center;width:38px;height:38px;margin:0;padding:0;border:1px solid #ffffff24;border-radius:8px;background:#ffffff0a;color:#d6e1eb;text-align:center;cursor:pointer}
.admin-sidebar-toggle>span:first-child{display:grid;width:18px;place-items:center;font-size:17px;line-height:1}
.admin-sidebar-toggle-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.admin-shell .admin-sidebar .admin-nav{display:flex;flex:1;flex-direction:column;gap:3px;min-height:0;margin:4px -3px 12px;padding:0 3px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#50647a transparent}
.admin-shell .admin-sidebar .admin-nav a{display:flex;flex:none;align-items:center;gap:12px;min-height:42px;padding:0 12px;border-radius:9px;color:#d0dae4;font-size:14px;font-weight:500;text-decoration:none;transition:background .15s ease,color .15s ease}
.admin-shell .admin-sidebar .admin-nav a:hover{background:#ffffff12;color:#fff}
.admin-shell .admin-sidebar .admin-nav a.active{background:#2d6dab;color:#fff}
.admin-shell .admin-sidebar .admin-nav a.active{background:rgba(255,255,255,.18);box-shadow:inset 3px 0 #fff}
.admin-nav-icon{display:grid;flex:0 0 22px;width:22px;place-items:center;color:#b9cad9;font-size:17px}
.admin-nav-icon svg{display:block;width:19px;height:19px;stroke:currentColor;stroke-width:1.8}
.admin-sidebar-bottom{flex:none;padding-top:10px;border-top:1px solid #ffffff1a}
.admin-sidebar-bottom .sidebar-site,.admin-sidebar-bottom .sidebar-logout{display:flex;align-items:center;gap:12px;width:100%;min-height:41px;margin:3px 0;padding:0 11px;border:0;border-radius:7px;background:transparent;color:#d0dae4;font-family:inherit;font-size:13px;font-weight:500;text-align:left;text-decoration:none;cursor:pointer}
.admin-sidebar-bottom .sidebar-site:hover,.admin-sidebar-bottom .sidebar-logout:hover{background:#ffffff12;color:#fff}
.admin-sidebar-bottom form{margin:0}
.admin-frame{display:grid;grid-template-rows:64px minmax(0,1fr) 64px;min-width:0;min-height:0;height:100%;overflow:hidden;background:#f4f7fa}
.admin-shell .admin-top{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;height:auto;min-width:0;padding:0 clamp(20px,3vw,44px);border:0;border-bottom:1px solid #e3eaf1;background:#fff;color:#183352;letter-spacing:0;box-shadow:0 1px 4px #16334d08}
.admin-mobile-brand{display:none}
.admin-mobile-brand img{display:block;width:116px;height:48px;object-fit:cover;object-position:center}
.admin-crumb{overflow:hidden;color:#64768a;font-size:12px;font-weight:700;letter-spacing:.1em;text-overflow:ellipsis;white-space:nowrap}
.admin-crumb span{padding:0 8px;color:#a5b2bf}
.admin-user{display:flex;flex:none;align-items:center;gap:9px;color:#29425f;font-size:13px;font-weight:600;text-decoration:none}
.admin-avatar{display:grid;width:32px;height:32px;place-items:center;border-radius:50%;background:#e7f0fa;color:#286aab;font-size:14px;font-weight:700}
.admin-user-caret{color:#8090a1}
.admin-mobile-toggle{display:none;flex:none;width:40px;height:40px;place-items:center;border:1px solid #e1e8ef;border-radius:8px;background:#fff;color:#183352;font-size:19px;cursor:pointer}
.admin-scroll{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;background:#f4f7fa}
.admin-shell .admin-content,.admin-dashboard .admin-content{width:min(100%,1440px);padding:32px clamp(20px,3vw,44px) 40px}
.admin-content>h1,.admin-intro h1{margin:0 0 8px;color:#173352;font-size:clamp(25px,2.2vw,32px);font-weight:700;letter-spacing:-.035em;line-height:1.2}
.admin-content>p,.admin-intro p{font-size:14px;line-height:1.65}
.admin-content .eyebrow{margin:0 0 8px;font-size:11px;letter-spacing:.12em}
.admin-shell .admin-footer{display:flex;align-items:center;justify-content:center;gap:12px;min-width:0;padding:0 20px;border-top:1px solid #e3eaf1;background:#fff;color:#758599;font-size:12px;box-shadow:0 -3px 12px rgba(15,23,42,.05)}
.admin-shell .admin-footer span+span{padding-left:12px;border-left:1px solid #d9e1e9}
.admin-shell.is-collapsed,.admin-shell.admin-dashboard.is-collapsed{grid-template-columns:72px minmax(0,1fr)}
.admin-shell.is-collapsed .admin-sidebar{padding-inline:10px}
.admin-shell.is-collapsed .admin-brand-row{justify-content:center}
.admin-shell.is-collapsed .admin-brand{display:none}
.admin-shell.is-collapsed .admin-brand-copy,.admin-shell.is-collapsed .admin-sidebar-toggle-label,.admin-shell.is-collapsed .admin-nav-label{display:none}
.admin-shell.is-collapsed .admin-sidebar-toggle{margin-inline:auto}
.admin-shell.is-collapsed .admin-nav a,.admin-shell.is-collapsed .admin-sidebar-bottom .sidebar-site,.admin-shell.is-collapsed .admin-sidebar-bottom .sidebar-logout{justify-content:center;gap:0;padding-inline:0}
.admin-shell.is-collapsed .admin-nav-icon{flex-basis:24px;width:24px}
.admin-sidebar-backdrop{display:none}
@media(max-width:1024px){
 body.admin-body:has(.admin-shell){height:100dvh;overflow:hidden}
 .admin-shell,.admin-shell.admin-dashboard,.admin-shell.admin-dashboard.is-collapsed{display:block;height:100dvh}
 .admin-shell .admin-sidebar{position:fixed;inset:0 auto 0 0;width:min(290px,86vw);height:100dvh;padding:18px 14px 14px;transform:translateX(-104%);transition:transform .22s ease;box-shadow:10px 0 32px #102a4330}
 .admin-shell .admin-sidebar-toggle{display:none}
 .admin-shell.mobile-open .admin-sidebar{transform:translateX(0)}
 .admin-shell .admin-brand-row{justify-content:space-between}
 .admin-shell .admin-brand{display:flex;justify-content:flex-start;padding-inline:8px}
 .admin-shell .admin-brand-copy,.admin-shell .admin-sidebar-toggle-label,.admin-shell .admin-nav-label{display:block}
 .admin-shell .admin-nav a,.admin-shell .admin-sidebar-bottom .sidebar-site,.admin-shell .admin-sidebar-bottom .sidebar-logout{justify-content:flex-start;gap:12px;padding-inline:11px}
 .admin-shell .admin-mobile-toggle{display:grid}
 .admin-shell .admin-user{margin-left:auto}
 .admin-shell .admin-frame{grid-template-rows:64px minmax(0,1fr) 64px;height:100dvh}
 .admin-shell .admin-top{justify-content:flex-start;padding:0 14px}
 .admin-shell .admin-mobile-brand{display:block}
 .admin-shell .admin-crumb{display:none}
 .admin-shell .admin-user{gap:6px;font-size:12px}
 .admin-shell .admin-avatar{width:29px;height:29px}
 .admin-shell .admin-content,.admin-dashboard .admin-content{padding:24px 16px 32px}
 .admin-shell .admin-footer{padding-inline:12px;font-size:10px}
 .admin-sidebar-backdrop{position:fixed;inset:0;z-index:25;display:block;background:#071a2b80;opacity:0;pointer-events:none;transition:opacity .2s ease}
 .admin-shell.mobile-open+.admin-sidebar-backdrop{opacity:1;pointer-events:auto}
}
@media(max-width:560px){
 .admin-shell .admin-user>span:nth-child(2){display:none}
 .admin-shell .admin-frame{grid-template-rows:60px minmax(0,1fr) 56px}
 .admin-shell .admin-content,.admin-dashboard .admin-content{padding:21px 13px 28px}
 .admin-stat-grid{grid-template-columns:1fr 1fr}
 .admin-shell .admin-footer{font-size:9px}
 .dashboard-panels{grid-template-columns:1fr}
}

/* Portfolio project cards: keep category and title legible over the artwork. */
.project-visual{isolation:isolate;min-height:230px;padding:0}
.project-visual::after{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(180deg,rgba(12,35,61,.12),transparent 38%,rgba(12,35,61,.68));pointer-events:none}
.project-visual .project-thumb{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover}
.project-visual .visual-kicker,.project-visual .visual-bottom{z-index:2}
.project-visual .visual-kicker{top:18px;left:18px;max-width:calc(100% - 36px);padding:7px 12px;border:1px solid rgba(255,255,255,.55);border-radius:999px;background:rgba(255,255,255,.9);color:#17365a;font:600 12px/1.25 var(--sans);letter-spacing:.015em;text-transform:none;box-shadow:0 3px 12px rgba(16,42,67,.08)}
.project-visual .visual-bottom{right:22px;bottom:18px;left:22px;color:#fff;font:700 clamp(18px,2vw,24px)/1.2 var(--sans);letter-spacing:-.02em;text-shadow:0 2px 12px rgba(0,0,0,.24)}
.project-info{gap:12px}
.project-info>p{margin:0;color:var(--muted,#60758c);line-height:1.7}
.project-ui-art{position:absolute;z-index:1;inset:50% auto auto 50%;width:min(70%,520px);height:56%;transform:translate(-50%,-50%);display:grid;grid-template-columns:1.2fr 1fr;grid-template-rows:18px 1fr;gap:12px;padding:18px;border:1px solid rgba(255,255,255,.72);border-radius:16px;background:rgba(255,255,255,.78);box-shadow:0 18px 42px rgba(9,31,57,.2)}
.project-ui-art span{border-radius:8px;background:linear-gradient(135deg,#e5eff8,#c6d9eb)}
.project-ui-art span:first-child{grid-column:1/-1;height:10px;align-self:center;background:linear-gradient(90deg,#2c78b8 24%,#d8e5f1 24%)}
.project-ui-art span:nth-child(2){background:linear-gradient(135deg,#edf4fa,#d5e4f1)}
.project-ui-art span:nth-child(3){background:linear-gradient(135deg,#b9d5ec,#7faed5)}

/* Admin sign-in: quieter backdrop, compact form, and a stronger visual hierarchy. */
.login-shell{min-height:100svh;padding:88px 24px 36px;background:radial-gradient(ellipse at 50% 18%,#e8f0f8 0,#f4f7fa 52%,#f8fafc 100%)}
.login-brand{top:28px;left:max(28px,calc((100vw - 1200px)/2))}
.login-brand .brand-logo{width:148px;height:auto}
.login-card{width:min(100%,460px);max-width:460px;padding:38px 42px 34px;border:1px solid #e3eaf1;border-radius:16px;background:rgba(255,255,255,.97);box-shadow:0 24px 64px rgba(24,54,83,.09)}
.login-card>.eyebrow{margin:0 0 15px;font-size:11px;letter-spacing:.16em}
.login-card h1{font-size:32px;line-height:1.2;letter-spacing:-.035em}
.login-card>p:not(.eyebrow){margin:8px 0 25px;color:#748398;font-size:14px;line-height:1.6}
.login-card .notice{margin:0 0 16px;padding:12px 14px;border-radius:8px}
.login-card .admin-form{gap:18px}
.login-card .admin-form label{gap:8px;color:#334860;font-size:13px;font-weight:600}
.login-card .admin-form input{min-height:48px;padding:11px 13px;border:1px solid #d7e1eb;border-radius:8px;background:#fff;font-size:15px;transition:border-color .18s,box-shadow .18s}
.login-card .admin-form input:focus{border-color:#6f9fce;box-shadow:0 0 0 3px rgba(61,120,181,.12);outline:0}
.login-card .turnstile-wrap{margin-top:0}
.login-card .admin-form .button{min-height:48px;margin-top:0;border-radius:8px;font-size:14px}
.login-card .back-link{margin-top:20px;font-size:12px}
@media(max-width:560px){.login-shell{padding:86px 18px 24px}.login-brand{top:20px;left:20px}.login-brand .brand-logo{width:132px}.login-card{padding:30px 24px 26px;border-radius:14px}.login-card h1{font-size:29px}.login-card>p:not(.eyebrow){font-size:13px}}

/* Match the top offset of inner-page labels to the home hero. */
.page-hero{padding-top:52px}
@media(max-width:680px){.page-hero{padding-top:42px}}

/* Keep the original menu type scale and tighten only the gaps. */
.site-header .site-nav{gap:clamp(10px,1.2vw,16px)}

/* Reduce the header bar height while keeping the logo and controls vertically centered. */
.site-header{height:72px}
@media(max-width:680px){.site-header{height:64px}.site-nav{top:63px}}

/* Consistent editorial type scale across the public portfolio. */
body{font-size:16px;line-height:1.7}
.site-header .site-nav>a:not(.nav-contact),.site-header .site-nav .nav-contact{font-size:14px}
.footer-row nav a{font-size:13px}
.footer-row p{font-size:12px;line-height:1.55}
.eyebrow{font-size:11px;line-height:1.5}
.hero h1{font-size:clamp(42px,4.8vw,64px);line-height:1.1}
.page-hero h1,.detail-page h1{font-size:clamp(38px,4.4vw,58px);line-height:1.12}
.hero-lead,.page-hero .hero-lead{font-size:17px;line-height:1.75}
.section h2,.section-heading h2,.cta-inner h2,.contact-note h2{font-size:clamp(28px,3vw,36px);line-height:1.2}
.prose,.intro-main{font-size:16px;line-height:1.8}
.project-info h3{font-size:22px;line-height:1.25}
.project-info p,.timeline-row p,.contact-note p{font-size:15px;line-height:1.7}
.text-link,.project-info .text-link{font-size:14px}
.tag,.project-info .tag,.article-date,.timeline-row>span,.skill-chip span,.form-note,.detail-meta{font-size:12px}
.button{font-size:14px}

/* A brighter, forward-looking portfolio page that stays within REEDHA's palette. */
.portfolio-page{overflow:hidden;background:linear-gradient(180deg,#f6faff 0,#fff 580px)}
.portfolio-hero{position:relative;isolation:isolate;padding-top:76px;padding-bottom:54px;border:0}
.portfolio-hero::before{position:absolute;z-index:-1;top:32px;right:-6%;width:min(46vw,520px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 35% 35%,rgba(101,184,255,.2),rgba(61,120,181,.08) 48%,transparent 72%);content:"";pointer-events:none}
.portfolio-hero .eyebrow{color:#2476c8}
.portfolio-hero h1{max-width:850px}
.portfolio-hero .hero-lead{max-width:620px;margin-top:18px}
.portfolio-signals{display:flex;flex-wrap:wrap;gap:9px;margin-top:27px}
.portfolio-signals span{padding:8px 13px;border:1px solid #dbe8f5;border-radius:999px;background:rgba(255,255,255,.8);color:#355777;font-size:13px;font-weight:600;box-shadow:0 4px 14px rgba(38,83,126,.05)}
.portfolio-signals span::before{display:inline-block;width:7px;height:7px;margin:0 8px 1px 0;border-radius:50%;background:#39a5e8;content:""}
.portfolio-projects{padding-top:54px}
.portfolio-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}
.portfolio-section-heading .eyebrow{margin-bottom:8px}
.portfolio-section-heading h2{margin:0;color:var(--navy);font-size:clamp(27px,3vw,35px);line-height:1.2;letter-spacing:-.035em}
.portfolio-count{padding:7px 12px;border-radius:999px;background:#eaf4ff;color:#236cae;font-size:13px;font-weight:700;white-space:nowrap}
.portfolio-page .project-grid{gap:24px}
.portfolio-page .project-card{overflow:hidden;border:1px solid #e1eaf3;border-radius:16px;background:#fff;box-shadow:0 12px 34px rgba(31,71,111,.07);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.portfolio-page .project-card:hover{transform:translateY(-5px);border-color:#b8d7f2;box-shadow:0 20px 42px rgba(31,91,147,.14)}
.portfolio-page .project-visual{height:260px;min-height:260px;background:linear-gradient(135deg,#e5f3ff 0%,#b7dcf8 48%,#7db8e9 100%)}
.portfolio-page .project-visual::after{background:linear-gradient(180deg,rgba(10,39,73,.03),transparent 40%,rgba(10,39,73,.72))}
.portfolio-page .sapta-visual{background:linear-gradient(130deg,#1479c9 0%,#27a9db 52%,#82d5f0 100%)}
.portfolio-page .project-visual .visual-kicker{top:18px;left:18px;padding:8px 12px;border-color:rgba(255,255,255,.8);background:rgba(255,255,255,.92);color:#155b96;font-size:12px}
.portfolio-page .project-visual .visual-bottom{right:20px;bottom:20px;left:20px;font-size:clamp(20px,2vw,26px)}
.portfolio-page .project-info{padding:22px 24px 25px}
.portfolio-page .project-info .project-category{margin:0 0 7px;color:#287fc2;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.portfolio-page .project-info h3{margin:0 0 9px;color:#173858;font-size:22px;line-height:1.28;letter-spacing:-.02em}
.portfolio-page .project-info>p:not(.project-category){margin:0 0 15px;color:#65788c;font-size:15px;line-height:1.7}
.portfolio-page .project-info .text-link{color:#2476bb;font-size:14px;font-weight:700}
.portfolio-art-mark{position:absolute;inset:0;display:grid;place-content:center;color:#fff;font:italic 132px/.9 var(--serif);text-shadow:0 12px 35px rgba(15,69,118,.2)}
.portfolio-art-mark span{color:#d8f2ff}
@media(max-width:680px){.portfolio-hero{padding-top:45px;padding-bottom:36px}.portfolio-hero::before{top:0;right:-35%;width:90vw}.portfolio-signals{gap:7px;margin-top:20px}.portfolio-signals span{padding:7px 10px;font-size:12px}.portfolio-projects{padding-top:38px}.portfolio-section-heading{align-items:start}.portfolio-section-heading h2{font-size:27px}.portfolio-page .project-grid{gap:16px}.portfolio-page .project-visual{height:220px;min-height:220px}.portfolio-page .project-info{padding:19px}.portfolio-page .project-info h3{font-size:20px}}

/* Project case studies use the site's full content grid; article text stays readable. */
.project-detail{width:min(var(--page-width),calc(100% - 64px));max-width:none;padding-top:48px;padding-bottom:88px}
.project-detail>.text-link{font-size:14px}
.project-detail .detail-eyebrow{margin-top:32px}
.project-detail h1{max-width:980px;font-size:clamp(40px,4.5vw,60px);line-height:1.12}
.project-detail>.hero-lead{max-width:850px;margin-top:17px;font-size:18px;line-height:1.75}
.project-detail .detail-image{width:100%;max-height:620px;margin-top:30px;border-radius:18px;object-fit:cover;box-shadow:0 18px 45px rgba(19,51,82,.12)}
.project-detail .detail-meta{gap:12px;margin-top:21px;font-size:12px;letter-spacing:.04em}
.project-detail .detail-meta span{padding:8px 12px;border:1px solid #e2eaf2;border-radius:999px;background:#f7faff;color:#526d88}
.project-detail .detail-content,.project-detail .detail-extra{max-width:900px}
.project-detail .detail-content{margin-top:30px;padding-top:25px;font-size:17px;line-height:1.9}
.project-detail .detail-extra{font-size:16px;line-height:1.8}
@media(max-width:680px){.project-detail{width:calc(100% - 36px);padding-top:30px;padding-bottom:60px}.project-detail h1{font-size:clamp(34px,9vw,44px)}.project-detail>.hero-lead{font-size:16px}.project-detail .detail-image{max-height:360px;border-radius:12px}.project-detail .detail-content{font-size:16px}}

/* One shared public-page rhythm and type scale. */
body:not(.admin-body) main .section{padding-block:clamp(56px,6.5vw,80px)}
body:not(.admin-body) main>.page-hero{padding-block:clamp(46px,5.5vw,64px) clamp(38px,4.5vw,54px)}
body:not(.admin-body) main .page-hero h1{font-size:clamp(38px,4.4vw,58px);line-height:1.12}
body:not(.admin-body) main .page-hero .eyebrow{margin-bottom:16px;font-size:12px}
body:not(.admin-body) main .page-hero .hero-lead{font-size:17px;line-height:1.75}
body:not(.admin-body) main h2{font-size:clamp(26px,3vw,34px);line-height:1.25}
body:not(.admin-body) main h3{font-size:20px;line-height:1.35}
body:not(.admin-body) main p:not(.eyebrow){line-height:1.75}
body:not(.admin-body) main .tag,body:not(.admin-body) main .article-date,body:not(.admin-body) main .timeline-row>span,body:not(.admin-body) main .skill-chip span{font-size:12px}
body:not(.admin-body) main .empty-state h2{font-size:24px}
body:not(.admin-body) main .empty-state p,body:not(.admin-body) main .search-form label,body:not(.admin-body) main .contact-form label{font-size:14px}
body:not(.admin-body) main .contact-form input,body:not(.admin-body) main .contact-form textarea,body:not(.admin-body) main .search-form input{font-size:16px}
.site-footer .footer-row nav a{font-size:13px}
.site-footer .footer-row p{font-size:12px;line-height:1.55}
.home-page .home-hero{min-height:500px;padding-block:42px 48px}
.home-page .home-hero .eyebrow{margin-bottom:17px;font-size:12px}
.home-page .home-hero h1{max-width:610px;font-size:clamp(42px,4.5vw,60px);line-height:1.1}
.home-page .home-hero .hero-lead{max-width:560px;margin-top:18px;font-size:16px;line-height:1.75}
.home-page .home-hero .button{min-height:46px;padding-inline:20px;font-size:14px}
.home-page .home-focus{gap:16px;margin-top:24px;padding:16px 18px}
.home-page .home-focus strong{font-size:14px}
.home-page .home-focus small{font-size:12px;line-height:1.55}
.home-page .compact-heading h2{font-size:clamp(26px,3vw,34px)}
.home-page .featured-copy h3{font-size:24px}
.home-page .featured-copy p,.home-page .featured-copy .featured-subtitle{font-size:15px;line-height:1.7}
.home-page .featured-copy .tag,.home-page .tech-pills span{font-size:12px}
.home-page .skill-card h3,.home-page .article-card-body h3{font-size:18px}
.home-page .skill-card p,.home-page .article-card-body p{font-size:14px;line-height:1.65}
.home-page .article-card-body>small,.home-page .article-card-body .text-link{font-size:12px}
.article-detail{width:min(var(--page-width),calc(100% - 64px));max-width:none}
.article-detail h1{max-width:940px;font-size:clamp(38px,4.2vw,56px);line-height:1.14}
.article-detail>.hero-lead{max-width:820px;font-size:17px;line-height:1.75}
.article-detail .detail-image{width:100%;max-height:560px;border-radius:16px;object-fit:cover}
.article-detail .detail-content,.article-detail .detail-extra{max-width:820px}
.article-detail .detail-content{font-size:17px;line-height:1.9}
.article-detail .detail-extra{font-size:16px;line-height:1.8}
@media(max-width:680px){body:not(.admin-body) main>.page-hero{padding-block:40px 34px}body:not(.admin-body) main .page-hero h1{font-size:clamp(34px,9vw,44px)}body:not(.admin-body) main .page-hero .hero-lead{font-size:16px}.home-page .home-hero{min-height:0;padding-block:38px 34px}.home-page .home-hero h1{font-size:clamp(38px,10vw,48px)}.home-page .home-hero .hero-lead{font-size:15px}.home-page .home-focus strong{font-size:13px}.home-page .home-focus small{font-size:11px}.home-page .featured-copy h3{font-size:22px}.home-page .skill-card h3,.home-page .article-card-body h3{font-size:16px}.home-page .skill-card p,.home-page .article-card-body p{font-size:13px}.article-detail{width:calc(100% - 38px);padding-top:30px}.article-detail h1{font-size:clamp(34px,9vw,44px)}.article-detail .detail-content{font-size:16px}}

/* Project details present copy and screenshots as a balanced case study. */
.project-detail .detail-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:30px 0 0}
.project-detail .detail-gallery-item{position:relative;min-width:0;height:225px;margin:0;overflow:hidden;border:1px solid #e1e9f1;border-radius:14px;background:#edf4fa;box-shadow:0 10px 26px rgba(25,57,88,.08)}
.project-detail .detail-gallery-item:only-child{grid-column:1/-1;width:min(100%,850px);height:420px}
.project-detail .detail-gallery-item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.project-detail .detail-gallery-item:hover img{transform:scale(1.025)}
.project-detail .detail-gallery-item figcaption{position:absolute;right:0;bottom:0;left:0;display:flex;justify-content:space-between;gap:12px;padding:28px 15px 13px;background:linear-gradient(transparent,rgba(13,38,64,.76));color:#fff;font-size:13px;font-weight:600}
.project-detail .detail-gallery-item figcaption span{color:#d1e7f9;font-variant-numeric:tabular-nums;letter-spacing:.08em}
.project-detail .detail-content{font-size:18px;line-height:1.9}
.project-detail .detail-extra{padding:24px 0;border-top:1px solid #e2eaf2;font-size:17px;line-height:1.8}
.project-detail .detail-extra .eyebrow{margin-bottom:8px;font-size:12px}
.project-detail .detail-extra>p:not(.eyebrow){margin:0;color:#586d83}
.project-detail .detail-content,.project-detail .detail-extra{max-width:1040px}
.portfolio-gallery-preview{position:absolute;z-index:0;inset:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;background:#fff}
.portfolio-gallery-preview.gallery-count-1{grid-template-columns:1fr}
.portfolio-gallery-preview.gallery-count-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.portfolio-gallery-preview img{display:block;width:100%;height:100%;min-width:0;object-fit:cover;opacity:.88;transition:transform .3s ease,opacity .3s ease}
.portfolio-page .project-card:hover .portfolio-gallery-preview img{opacity:1}
.portfolio-page .project-card:hover .portfolio-gallery-preview img:first-child{transform:scale(1.025)}
.portfolio-page .project-visual .gallery-more{position:absolute;z-index:2;top:18px;right:18px;padding:7px 10px;border:1px solid #ffffffa8;border-radius:999px;background:#142b4ad9;color:#fff;font-size:12px;font-weight:700;box-shadow:0 4px 12px #142b4a30}
.field-hint{display:block;margin-top:7px;color:#75869a;font-size:12px;font-weight:400;line-height:1.55}
@media(max-width:900px){.project-detail .detail-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.project-detail .detail-gallery-item:only-child{height:360px}}
@media(max-width:560px){.project-detail .detail-gallery{grid-template-columns:1fr;gap:12px;margin-top:22px}.project-detail .detail-gallery-item,.project-detail .detail-gallery-item:only-child{grid-column:auto;width:100%;height:240px;border-radius:11px}.project-detail .detail-content{font-size:17px}.project-detail .detail-extra{font-size:16px}}
@media(max-width:680px){.project-detail .detail-content{font-size:17px}}


