/*
Theme Name: MD Jahid Digital
Theme URI: https://example.com/
Author: Mahi Islam Barshan
Description: A refined, editorial-style personal digital marketing portfolio inspired by the supplied reference.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: md-jahid-digital
*/
:root{--paper:#f7f7f2;--ink:#191919;--muted:#77776f;--line:rgba(25,25,25,.14);--yellow:#ffe52b;--green:#d9e1d0;--serif:Georgia,"Times New Roman",serif;--sans:"DM Sans",Arial,Helvetica,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}img{max-width:100%;height:auto}.site-shell{overflow:hidden}.wrap{width:min(1120px,calc(100% - 64px));margin-inline:auto}.site-header{height:76px;border-bottom:1px solid rgba(0,0,0,.06);display:flex;align-items:center;position:relative;z-index:20;background:rgba(247,247,242,.94)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-size:14px;font-weight:950;letter-spacing:-.07em;line-height:.9;text-transform:uppercase;max-width:160px}.brand small{display:block;font-size:6px;letter-spacing:.24em;margin-top:7px;font-weight:700}.main-nav{display:flex;align-items:center;gap:24px}.main-nav a,.eyebrow,.micro{font-size:8px;letter-spacing:.18em;text-transform:uppercase;font-weight:800}.main-nav a{transition:opacity .2s}.main-nav a:hover{opacity:.5}.nav-cta{background:var(--ink);color:#fff;padding:13px 20px;border-radius:30px;font-size:9px;font-weight:800}.menu-toggle{display:none;background:none;border:0;font-size:22px}.hero{min-height:620px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;padding:90px 0 70px;position:relative}.hero-copy{position:relative;z-index:2}.eyebrow{display:flex;align-items:center;gap:10px;color:#333}.eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:#8da36f;display:inline-block}.hero h1{font-size:clamp(56px,7vw,94px);line-height:.91;letter-spacing:-.075em;margin:28px 0 26px;font-weight:850;max-width:650px}.hero h1 em,.section-title em,.cta-title em{font-family:var(--serif);font-weight:400;letter-spacing:-.065em}.hero-description{max-width:390px;color:#55564f;font-size:13px;line-height:1.8}.actions{display:flex;align-items:center;gap:20px;margin-top:28px}.button-dark{background:var(--ink);color:white;padding:16px 20px;font-size:10px;font-weight:800;display:inline-flex;gap:18px;align-items:center;transition:transform .25s,background .25s}.button-dark:hover{transform:translateY(-3px);background:#333}.text-link{font-size:10px;font-weight:800;border-bottom:1px solid;padding-bottom:4px}.tiny-note{font-size:8px;color:#777;margin-top:26px}.hero-art{height:430px;position:relative;display:flex;align-items:flex-end;justify-content:center}.arch{position:absolute;width:min(360px,90%);height:370px;bottom:0;border-radius:190px 190px 0 0;background:var(--green);overflow:hidden}.arch:before{content:"";position:absolute;inset:52px 20px 0;border:1px solid rgba(72,103,83,.25);border-bottom:0;border-radius:180px 180px 0 0}.monogram{position:absolute;bottom:85px;left:0;right:0;text-align:center;font:italic 90px var(--serif);color:#5b7667}.art-caption{position:absolute;bottom:64px;left:50%;transform:translateX(-50%);font-size:7px;letter-spacing:.2em;color:#5b7667;white-space:nowrap}.sticky-note{position:absolute;right:0;bottom:100px;background:var(--yellow);padding:16px 18px;box-shadow:6px 8px 0 rgba(0,0,0,.08);transform:rotate(7deg);font-size:8px;line-height:1.8;text-transform:uppercase}.sticky-note strong{display:block;font-size:10px}.ticker{background:var(--ink);color:#fff;padding:17px 0}.ticker-inner{display:flex;justify-content:space-between;gap:24px;white-space:nowrap;overflow:hidden}.ticker span{font-size:8px;letter-spacing:.14em;text-transform:uppercase}.ticker i{color:var(--yellow);font-style:normal;margin-left:28px}.section{padding:100px 0}.about-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:10%;align-items:start}.section-kicker{font-size:8px;letter-spacing:.2em;text-transform:uppercase;font-weight:800;margin-bottom:22px}.section-title{font-size:clamp(38px,5vw,58px);line-height:1.03;letter-spacing:-.07em;margin:0;font-weight:850}.section-title em{display:block}.about-copy{max-width:390px;color:#56574f;font-size:13px;line-height:1.9;padding-top:36px}.about-copy p{margin:0 0 22px}.services{background:#171717;color:#f7f7f2}.services .section-title{font-size:clamp(38px,5vw,54px)}.service-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:48px}.service-head .text-link{color:#fff}.service-list{border-top:1px solid rgba(255,255,255,.14)}.service-row{display:grid;grid-template-columns:48px 1fr 230px 30px;align-items:center;gap:10px;padding:22px 0;border-bottom:1px solid rgba(255,255,255,.14);transition:padding .25s}.service-row:hover{padding-left:12px;padding-right:12px}.service-number{color:#888;font-size:10px}.service-row h3{font-size:22px;letter-spacing:-.05em;margin:0}.service-row p{font:9px var(--serif);color:#aaa;margin:0}.service-arrow{color:var(--yellow);font-size:20px}.yellow-cta{background:var(--yellow);padding:95px 0}.yellow-grid{display:grid;grid-template-columns:1fr 300px;gap:10%;align-items:center}.yellow-cta .section-title{font-size:clamp(36px,4.5vw,52px);max-width:620px}.yellow-cta p{max-width:420px;font-size:11px;line-height:1.8}.steps-card{border:1px solid rgba(0,0,0,.45);padding:28px;transform:rotate(2deg);min-height:180px}.steps-card .micro{font-size:7px}.steps-card strong{display:block;font-size:25px;letter-spacing:-.06em;margin:18px 0}.steps-card p{font-size:9px;line-height:1.8}.blog-section{padding:100px 0}.blog-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:42px}.blog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,320px));gap:22px}.blog-card{display:block}.blog-thumb{aspect-ratio:1.55;background:#252525;color:var(--yellow);display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.blog-thumb img{width:100%;height:100%;object-fit:cover}.blog-thumb span{font-size:17px;font-weight:900;letter-spacing:-.04em}.blog-meta{display:flex;justify-content:space-between;margin:18px 0 12px;font-size:7px;letter-spacing:.12em;color:#999;text-transform:uppercase}.blog-card h3{font-size:20px;line-height:1.1;letter-spacing:-.05em;margin:0 0 10px}.blog-card p{font-size:10px;line-height:1.7;color:#777;max-width:320px}.read-more{font-size:8px;letter-spacing:.12em;color:#c7a900;text-transform:uppercase;font-weight:900}.contact-band{background:#202020;color:#fff;padding:82px 0}.contact-band .section-title{font-size:clamp(40px,5vw,60px)}.contact-band .button-yellow{display:inline-block;margin-top:28px;background:var(--yellow);color:#171717;padding:15px 20px;font-size:10px;font-weight:900}.footer{background:#0e0e0e;color:#f7f7f2;padding:80px 0 24px}.footer-top{display:grid;grid-template-columns:1fr 260px;gap:10%;padding-bottom:80px}.footer-statement{font-size:clamp(44px,6vw,76px);line-height:.94;letter-spacing:-.075em;max-width:650px;margin:0;color:#2b2b2b}.footer-contact{align-self:end}.footer-contact .micro{color:var(--yellow)}.footer-contact h3{font-size:19px;margin:15px 0}.footer-contact p{font:italic 12px var(--serif);color:#999}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding-top:20px;display:flex;justify-content:space-between;font-size:8px;color:#888}.footer-links{display:flex;gap:20px}.reveal{opacity:0;transform:translateY(24px);transition:opacity .8s ease,transform .8s ease}.reveal.is-visible{opacity:1;transform:none}
@media(max-width:800px){.wrap{width:min(100% - 40px,600px)}.site-header{height:68px}.main-nav{display:none;position:absolute;top:68px;left:0;right:0;background:var(--paper);padding:22px 24px 28px;flex-direction:column;align-items:flex-start;border-bottom:1px solid var(--line)}.main-nav.open{display:flex}.menu-toggle{display:block}.nav-cta{margin-left:auto}.hero{grid-template-columns:1fr;padding:70px 0 50px;min-height:0}.hero h1{font-size:clamp(58px,14vw,86px)}.hero-art{height:350px;margin-top:25px}.arch{height:320px;width:290px}.monogram{font-size:76px;bottom:70px}.sticky-note{right:5%;bottom:82px}.ticker-inner{justify-content:flex-start;gap:34px}.ticker-inner span{flex:none}.section{padding:76px 0}.about-grid,.yellow-grid,.footer-top{grid-template-columns:1fr;gap:28px}.about-copy{padding-top:0}.service-head,.blog-head{align-items:flex-start;gap:25px;flex-direction:column}.service-row{grid-template-columns:28px 1fr 22px;gap:8px}.service-row p{grid-column:2;grid-row:2;margin-top:4px}.service-row h3{font-size:19px}.service-arrow{grid-column:3;grid-row:1 / span 2}.yellow-cta{padding:76px 0}.steps-card{max-width:300px;margin:10px 0 0 12px}.blog-grid{grid-template-columns:1fr}.blog-card{max-width:420px}.footer-top{padding-bottom:55px}.footer-statement{color:#777}.footer-bottom{gap:16px;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}*{animation:none!important;transition:none!important}}

/* Primary yellow contact action */
.button-yellow{display:inline-flex;align-items:center;gap:16px;background:var(--yellow);color:#171717;padding:15px 20px;font-size:10px;font-weight:900;transition:transform .25s,background .25s}
.button-yellow:hover{transform:translateY(-3px);background:#f4d900}
a:focus-visible,button:focus-visible{outline:2px solid #8da36f;outline-offset:4px}

/* Personal portrait in the homepage hero */
.hero-portrait-wrap{align-items:flex-end}
.portrait-frame{position:relative;width:min(390px,92%);height:430px;overflow:hidden;border-radius:210px 210px 0 0;background:var(--green);display:flex;align-items:flex-start;justify-content:center}
.hero-portrait{width:100%;height:100%;object-fit:cover;object-position:center 20%;display:block}
.hero-portrait-wrap .art-caption{z-index:2;bottom:18px;color:#fff;text-shadow:0 1px 5px rgba(0,0,0,.65)}
.hero-portrait-wrap .sticky-note{z-index:3}
@media(max-width:800px){.portrait-frame{height:360px;width:min(330px,90%)}}

/* Separate inner pages and portfolio management */
.inner-page{min-height:65vh;padding:86px 0 110px}
.inner-page-head{padding-bottom:42px;border-bottom:1px solid var(--line);margin-bottom:42px}
.inner-page-head .section-title{font-size:clamp(48px,7vw,82px)}
.page-editor-content{max-width:760px;font-size:14px;line-height:1.9;color:#55564f;margin:0 0 42px}
.portfolio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 24px}
.portfolio-card{min-width:0}
.portfolio-image{aspect-ratio:1.55;background:#252525;color:var(--yellow);display:flex;align-items:center;justify-content:center;overflow:hidden}
.portfolio-image img,.gallery-card img{width:100%;height:100%;object-fit:cover;display:block}
.portfolio-card h2{font-size:23px;letter-spacing:-.05em;margin:16px 0 8px}
.portfolio-card p,.portfolio-empty{font-size:12px;line-height:1.8;color:#777}
.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.gallery-card img{aspect-ratio:1/1}
.gallery-card h2{font-size:14px}
@media(max-width:800px){.inner-page{padding:62px 0 80px}.portfolio-grid,.gallery-grid{grid-template-columns:1fr}.portfolio-card{max-width:520px}}

/* Social media links */
.footer-social-block{margin-top:22px}
.footer-social-block .micro{color:var(--yellow);margin-bottom:12px}
.social-links{display:flex;flex-wrap:wrap;gap:10px 18px}
.social-links a{font-size:9px;color:#f7f7f2;border-bottom:1px solid rgba(255,255,255,.25);padding-bottom:4px;transition:color .2s,border-color .2s}
.social-links a:hover{color:var(--yellow);border-color:var(--yellow)}

/* Visible social media footer links */
.footer-social-block{display:block!important;margin-top:24px!important}
.footer-social-block .micro{display:block!important;color:var(--yellow)!important;margin:0 0 14px!important}
.footer-social-block .social-links{display:flex!important;flex-wrap:wrap!important;gap:12px 18px!important}
.footer-social-block .social-links a{display:inline-block!important;visibility:visible!important;opacity:1!important;color:#f7f7f2!important;font-size:10px!important;font-weight:700!important;padding:7px 0!important;border-bottom:1px solid rgba(255,255,255,.35)!important}
.footer-social-block .social-links a:hover{color:var(--yellow)!important;border-color:var(--yellow)!important}

/* About page layout */
.about-page-layout{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:start}
.about-page-intro{position:sticky;top:40px}
.about-page-intro .section-title{font-size:clamp(38px,5vw,58px);max-width:520px}
.about-lead{font-size:14px;line-height:1.9;color:#55564f;max-width:440px;margin-top:28px}
.about-page-body{display:grid;grid-template-columns:1fr;gap:28px}
.about-photo-placeholder{height:340px;overflow:hidden;background:var(--green);display:flex;align-items:center;justify-content:center}
.about-photo-placeholder img{width:100%;height:100%;object-fit:cover;object-position:center 20%}
.about-photo-placeholder span{font-size:24px;font-weight:900;letter-spacing:-.06em}
.about-story{font-size:13px;line-height:1.9;color:#55564f}
.about-story h2{font-size:23px;letter-spacing:-.05em;color:var(--ink);margin:30px 0 10px}
.about-story p{margin:0 0 16px}
.about-story ul{padding-left:20px;margin:12px 0 24px}
.about-story li{padding:4px 0}
.about-story .button-dark{margin-top:12px}
@media(max-width:800px){.about-page-layout{grid-template-columns:1fr;gap:34px}.about-page-intro{position:static}.about-photo-placeholder{height:300px}}

/* Services, pricing and SEO content page */
.services-intro{max-width:100%;}.services-lead{max-width:720px;font-size:18px;line-height:1.8;color:#55564f;margin:0 0 52px}.inner-service-list{border-top:1px solid var(--line)}.inner-service-list .service-row{grid-template-columns:52px 1fr 28px;color:var(--ink);border-bottom:1px solid var(--line);padding:26px 0}.inner-service-list .service-number{color:#8b8b80}.inner-service-list .service-row h3{font-size:25px}.inner-service-list .service-row p{font:12px/1.8 var(--sans);color:#6e6e65;max-width:650px;margin-top:8px}.inner-service-list .service-arrow{color:#a58f00}.pricing-section{padding:100px 0 70px}.pricing-heading{max-width:650px;margin-bottom:42px}.pricing-heading .section-title{font-size:clamp(38px,5vw,58px)}.pricing-heading>p,.service-seo-content>p{font-size:13px;line-height:1.9;color:#66665e;max-width:610px}.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}.price-card{background:#fff;border:1px solid var(--line);padding:30px 26px;display:flex;flex-direction:column;min-height:390px}.price-featured{background:#202020;color:#fff;border-color:#202020;transform:translateY(-10px)}.price-label{font-size:8px;letter-spacing:.18em;font-weight:900;color:#9a8700}.price-card h3{font-size:27px;letter-spacing:-.06em;margin:17px 0 20px}.price-amount{font-size:29px;font-weight:900;letter-spacing:-.06em;margin:0}.price-amount small{font-size:10px;font-weight:500;letter-spacing:0;color:#777}.price-usd{font-size:11px;color:#8a8a80;margin:8px 0 20px}.price-card ul{padding:18px 0 24px;margin:0 0 22px;border-top:1px solid var(--line);list-style:none;flex:1}.price-card li{font-size:11px;line-height:1.6;padding:7px 0;color:#66665e}.price-card li:before{content:'✓';margin-right:10px;color:#9a8700}.price-featured .price-amount small,.price-featured .price-usd,.price-featured li{color:#c3c3ba}.price-featured ul{border-color:rgba(255,255,255,.2)}.price-card .button-dark{justify-content:center}.pricing-note{margin-top:28px;padding:28px;background:var(--yellow)}.pricing-note strong{font-size:18px;letter-spacing:-.04em}.pricing-note p{max-width:700px;font-size:11px;line-height:1.8}.pricing-note .button-yellow{margin-top:8px}.service-seo-content{padding:70px 0 20px;border-top:1px solid var(--line);max-width:760px}.service-seo-content h3{font-size:22px;margin:32px 0 12px}.service-seo-content ol{padding-left:20px;color:#55564f;font-size:12px;line-height:2}.service-seo-content li{padding-left:5px}
@media(max-width:800px){.services-lead{font-size:15px;margin-bottom:34px}.inner-service-list .service-row{grid-template-columns:30px 1fr 20px}.inner-service-list .service-row h3{font-size:20px}.inner-service-list .service-row p{font-size:11px}.pricing-section{padding:72px 0 48px}.pricing-grid{grid-template-columns:1fr;gap:14px}.price-card{min-height:0}.price-featured{transform:none}.service-seo-content{padding-top:50px}}

/* Version 1.4.0: service catalogue, individual service pricing and portfolio */
.service-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.service-detail-card{display:grid;grid-template-columns:34% 1fr;min-height:250px;background:#fff;border:1px solid var(--line);color:var(--ink);transition:transform .25s,border-color .25s;overflow:hidden}
.service-detail-card:hover{transform:translateY(-5px);border-color:#a99a36}
.service-card-image{min-height:100%;background:#dfe8cf;display:flex;align-items:center;justify-content:center;overflow:hidden}
.service-card-image img{width:100%;height:100%;min-height:250px;object-fit:cover;display:block}
.service-card-symbol{font-size:70px;color:#5b7042}
.service-card-content{padding:25px 22px;display:flex;flex-direction:column;align-items:flex-start}
.service-card-content .service-number{font-size:8px;letter-spacing:.16em;color:#888;font-weight:800}
.service-card-content h2{font-size:23px;line-height:1.08;letter-spacing:-.055em;margin:14px 0 9px}
.service-card-content>p{font-size:11px;line-height:1.75;color:#777;margin:0 0 17px}
.service-card-price{display:flex;flex-direction:column;gap:4px;margin-top:auto}
.service-card-price strong{font-size:19px;letter-spacing:-.04em}
.service-card-price span{font-size:9px;color:#777}
.service-card-link{font-size:9px;font-weight:900;margin-top:17px;border-bottom:1px solid var(--yellow);padding-bottom:4px}
.service-single-head>p{font-size:13px;line-height:1.8;color:#666;max-width:650px;margin-top:20px}
.service-single-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.75fr);gap:8%;align-items:start}
.service-single-image{height:340px;background:#dfe8cf;overflow:hidden;margin-bottom:34px}
.service-single-image img{width:100%;height:100%;object-fit:cover}
.service-image-fallback{display:flex;flex-direction:column;justify-content:center;align-items:center;color:#263f16;background:linear-gradient(135deg,#e4f4b5,#9eb67e)}
.service-image-fallback span{font-size:100px;font-weight:900;letter-spacing:-.1em}
.service-image-fallback small{font-size:9px;letter-spacing:.2em;font-weight:800}
.service-single-description,.service-single-copy>p{font-size:13px;line-height:1.9;color:#626258}
.service-single-copy h2{font-size:26px;letter-spacing:-.05em;margin:34px 0 15px}
.service-deliverables{list-style:none;padding:0;margin:0;border-top:1px solid var(--line)}
.service-deliverables li{padding:13px 4px;border-bottom:1px solid var(--line);font-size:12px;color:#555}
.service-deliverables li:before{content:'✓';color:#8b9b32;font-weight:900;margin-right:12px}
.service-price-panel{position:sticky;top:35px;background:#202020;color:#fff;padding:32px 28px}
.service-price-panel .section-kicker{color:var(--yellow)}
.service-price-panel h2{font-size:29px;letter-spacing:-.06em;margin:15px 0 5px}
.price-period{font-size:10px;color:#aaa;margin:0 0 22px}
.currency-switch{display:flex;background:#333;padding:4px;gap:4px;margin-bottom:23px}
.currency-button{flex:1;border:0;background:transparent;color:#ddd;padding:10px;font:700 10px var(--sans);cursor:pointer}
.currency-button.is-active{background:var(--yellow);color:#171717}
.service-price-value{display:flex;align-items:baseline;gap:7px;margin-bottom:17px}
.currency-symbol{font-size:25px;color:var(--yellow)}
.currency-amount{font-size:42px;letter-spacing:-.07em}
.price-disclaimer{font-size:10px;line-height:1.8;color:#aaa;margin:0 0 23px}
.service-contact-button{display:flex;justify-content:center;background:var(--yellow);color:#171717!important;width:100%;padding:15px;text-align:center;font-size:10px;font-weight:900}
.service-email-link{display:block;text-align:center;font-size:9px;color:#ddd;margin-top:15px;text-decoration:underline}
.service-bottom-cta{margin-top:75px;padding:35px;background:#e4f4b5;display:flex;justify-content:space-between;align-items:center;gap:25px}
.service-bottom-cta h2{font-size:clamp(23px,3vw,36px);letter-spacing:-.06em;max-width:450px}
.portrait-fallback-mark{display:none;position:absolute;inset:0;align-items:center;justify-content:center;text-align:center;font-size:100px;line-height:.85;font-weight:900;letter-spacing:-.1em;color:#263f16}
.portrait-fallback-active .portrait-fallback-mark{display:flex}
@media(max-width:900px){.service-detail-grid{grid-template-columns:1fr}.service-single-layout{grid-template-columns:1fr;gap:35px}.service-price-panel{position:static}.service-bottom-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.service-detail-card{grid-template-columns:1fr}.service-card-image{height:150px;min-height:150px}.service-card-image img{min-height:150px}.service-card-content{padding:22px}.service-single-image{height:240px}.service-price-panel{padding:25px 21px}.currency-amount{font-size:36px}}
