/*
Theme Name: MeleWorks Studio
Theme URI: https://meleworks.com/
Author: MeleWorks
Description: Focused Apps Platform and web design/development portfolio. Built without page-builder dependencies.
Version: 2.5.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: meleworks-studio
*/
:root{--ink:#192926;--muted:#63716c;--green:#166b56;--soft:#ecf4ee;--line:#dfe8e2;--cream:#f7f8f4;--navy:#142725;--orange:#d88937;--radius:20px;--width:1160px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff;line-height:1.65}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}button,input,textarea{font:inherit}h1,h2,h3{line-height:1.14;letter-spacing:-.035em}h1{font-size:clamp(2.6rem,6vw,5rem);margin:0 0 22px}h2{font-size:clamp(2rem,4vw,3.25rem);margin:0 0 18px}h3{font-size:1.35rem;margin:.3em 0}.wrap{max-width:var(--width);margin:auto;padding:0 26px}.eyebrow{text-transform:uppercase;letter-spacing:.2em;color:var(--green);font-weight:800;font-size:.72rem;margin:0 0 15px}.lead{font-size:clamp(1.05rem,2vw,1.3rem);color:#5d6c65;max-width:700px}.section{padding:95px 0}.section.soft{background:var(--cream)}.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.admin-bar .site-header{top:32px}.header-inner{min-height:82px;display:flex;align-items:center;gap:26px;justify-content:space-between}.site-brand{display:flex;align-items:center;gap:13px;color:var(--ink);font-weight:900;font-size:1.2rem;letter-spacing:-.035em;white-space:nowrap}.site-brand img{max-height:60px;width:auto;max-width:190px;object-fit:contain}.brand-mark{width:39px;height:39px;display:grid;place-items:center;background:var(--green);border-radius:12px;color:white;font-size:1.25rem}.desktop-nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.desktop-nav a{color:#3b5047;font-weight:650;font-size:.85rem}.desktop-nav a.current{color:var(--green)}.button,.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:11px;background:var(--green);color:white!important;padding:13px 20px;font-weight:750;border:1px solid var(--green);cursor:pointer;text-decoration:none!important}.button:hover{background:#0d503e}.button.light{background:white;color:var(--green)!important;border-color:white}.button.outline{background:transparent;color:var(--green)!important}.button.darkoutline{background:transparent;border-color:#73978a;color:white!important}.mobile-menu{display:none}.hero{background:var(--navy);color:white;overflow:hidden}.hero-inner{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:60px;padding:105px 0 115px}.hero .eyebrow{color:#a1d8ba}.hero .lead{color:#c6d7ce}.hero-actions{display:flex;gap:13px;flex-wrap:wrap;margin:27px 0}.mini-points{display:flex;gap:20px;flex-wrap:wrap;color:#b5cbbf;font-size:.84rem}.mini-points span:before{content:'✓';color:#a5d5bb;margin-right:9px}.hero-art{border:1px solid #4d6e60;border-radius:25px;background:linear-gradient(145deg,#2c5446,#132a26);padding:24px;box-shadow:0 28px 80px #081b1a}.art-top{display:flex;gap:8px;margin-bottom:18px}.art-top i{width:9px;height:9px;border-radius:50%;background:#9bbdb0}.art-window{border-radius:15px;background:#f5f9f5;color:#18392e;padding:22px}.art-window .art-title{font-weight:850;font-size:1.1rem;margin-bottom:14px}.art-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.art-grid div{background:#e2eee6;border-radius:11px;padding:16px;font-size:.82rem;min-height:89px}.art-grid strong{display:block;font-size:1.45rem;line-height:1.6}.art-bars{height:90px;display:flex;align-items:end;gap:9px;padding:0 8px 2px}.art-bars b{flex:1;border-radius:5px 5px 0 0;background:linear-gradient(#69b98e,#19735b)}.section-heading{max-width:740px;margin-bottom:34px}.section-heading p{color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.cards.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:28px;display:flex;flex-direction:column;gap:9px}.card p{color:var(--muted);margin:0 0 14px}.card .card-link{margin-top:auto;font-weight:800}.card-icon{width:50px;height:50px;background:var(--soft);color:var(--green);display:grid;place-items:center;border-radius:13px;font-size:1.3rem;margin-bottom:8px}.portfolio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.portfolio-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}.portfolio-visual{min-height:190px;background:linear-gradient(135deg,#dcece0,#a8c9b7);display:flex;align-items:center;justify-content:center;position:relative;padding:22px}.portfolio-visual .mock-site{width:80%;border-radius:10px;background:#fff;box-shadow:0 15px 35px #1e62443b;overflow:hidden}.mock-site .mock-header{height:24px;background:#173f36}.mock-site .mock-hero{padding:18px;color:#215646;font-weight:850;font-size:clamp(.9rem,2vw,1.4rem)}.mock-site .mock-lines{display:flex;gap:8px;padding:0 17px 18px}.mock-site .mock-lines span{background:#d8e9e0;height:24px;border-radius:5px;flex:1}.portfolio-body{padding:24px}.portfolio-body p{margin:0 0 13px;color:var(--muted)}.tag{display:inline-flex;background:#e7f0e9;border-radius:100px;color:#2b6a54;font-size:.73rem;padding:5px 10px;font-weight:750;margin:3px 5px 10px 0}.split{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center}.quote{background:#e6f1e9;padding:34px;border-radius:var(--radius);font-size:1.2rem}.cta{padding:68px 0;background:#1c453a;color:white}.cta .lead{color:#cde4d8}.site-footer{background:#102520;color:#d5e9e0;padding:66px 0 24px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:42px}.site-footer h3{color:white}.site-footer a{color:#d5e9e0}.footer-links{display:flex;flex-direction:column;gap:8px}.footer-bottom{border-top:1px solid #44675a;margin-top:40px;padding-top:24px;font-size:.85rem;color:#a9c2b5;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.inner-hero{padding:84px 0;background:var(--soft)}.inner-hero h1{font-size:clamp(2.6rem,5vw,4.2rem);max-width:880px}.content{padding:72px 0;min-height:45vh}.content p{max-width:820px}.notice{background:#fff6de;border:1px solid #e6d3a1;padding:16px;border-radius:11px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-field{display:flex;flex-direction:column;gap:5px;margin-bottom:16px}.form-field input,.form-field textarea{border:1px solid #c7d5ca;border-radius:9px;padding:12px;width:100%;background:white}.form-field textarea{min-height:135px}.form-hp{position:absolute;left:-9999px}.article-row{padding:22px 0;border-bottom:1px solid var(--line)}.article-row h3{margin:0 0 8px}.small{font-size:.9rem;color:var(--muted)}.video-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.video-frame{aspect-ratio:16/9;width:100%;border:0;border-radius:14px;background:#0f2d24}.empty-video{aspect-ratio:16/9;background:#e0ede4;border-radius:13px;display:grid;place-items:center;color:#477562;text-align:center;padding:20px} .skill-pill{display:inline-block;background:var(--soft);border-radius:100px;padding:8px 13px;margin:5px;font-weight:650;color:#285945;font-size:.85rem}.entry{max-width:820px;margin:auto}.entry h2{font-size:2rem}.logo-note{font-size:.82rem;color:var(--muted)}@media(max-width:980px){.desktop-nav{gap:10px}.desktop-nav a{font-size:.77rem}.header-inner{gap:10px}.hero-inner{gap:25px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.admin-bar .site-header{top:46px}.desktop-nav{display:none}.mobile-menu{display:block;border:1px solid var(--line);border-radius:8px;background:white;padding:9px 13px}.mobile-links{display:none;padding:0 26px 18px;flex-direction:column;gap:10px}.mobile-links.open{display:flex}.mobile-links a{color:var(--ink);font-weight:700}.hero-inner,.split{grid-template-columns:1fr}.hero-inner{padding:68px 0}.cards,.cards.two,.portfolio-grid,.footer-grid,.video-grid{grid-template-columns:1fr}.section{padding:63px 0}.inner-hero{padding:65px 0}.form-grid{grid-template-columns:1fr}.hero-art{max-width:480px}}
/* v2 compact editorial redesign — standalone and no page builder dependency */
:root{--width:1100px;--navy:#092b27;--green:#096a52;--ink:#102d27;--muted:#5b706b;--line:#dce8e1;--soft:#edf6f0;--cream:#f9faf7;--radius:16px}
body{font-size:15px;line-height:1.55}
h1,h2,h3{letter-spacing:-.045em}h1{font-size:clamp(2.5rem,5.2vw,4.15rem);line-height:1.06}h2{font-size:clamp(1.75rem,3vw,2.6rem);line-height:1.14}h3{font-size:1.18rem}
.site-header{z-index:300}.header-inner{min-height:70px}.site-brand img{max-height:52px;max-width:270px}.desktop-nav{flex-wrap:nowrap;gap:17px}.desktop-nav a{font-size:.82rem}.desktop-nav .button{padding:10px 14px}
.mobile-links{display:none!important}.mobile-links.open{display:flex!important}.mobile-menu{color:var(--green)}
.hero-inner{padding:69px 0 72px;gap:58px}.hero-inner h1{max-width:630px}.hero h1 em{font-style:normal;color:#9ee6c1}.hero .lead{max-width:550px;font-size:1.08rem}.hero .eyebrow{color:#b5e9d0}
.hero-art{padding:17px;border-radius:19px;box-shadow:0 14px 40px #071e1b69}.art-window{padding:18px}.art-grid div{min-height:74px;padding:13px}.art-grid strong{font-size:1.5rem}.art-bars{height:62px}.art-top{align-items:center}.art-top span{margin-left:auto;color:#d7ede2;font-size:.72rem;font-weight:600}
.section{padding:58px 0}.compact-section{padding:57px 0}.inner-hero{padding:54px 0 52px}.inner-hero h1{font-size:clamp(2.2rem,4vw,3.25rem);max-width:880px}.inner-hero .lead{font-size:1.08rem;max-width:640px}.section-heading{margin-bottom:22px}.section-heading p{margin:0}
.inline-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:22px}.inline-heading>div{max-width:720px}.inline-heading p:not(.eyebrow){max-width:290px;color:var(--muted);margin:0}.inline-heading h2{margin-bottom:0}.eyebrow{font-size:.68rem;letter-spacing:.15em;margin-bottom:9px}.text-arrow{font-weight:750;white-space:nowrap}
.cards{gap:16px}.cards.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card{padding:23px;gap:7px}.card p{margin:0 0 11px}.card-icon{width:42px;height:42px;font-size:1rem;border-radius:11px;margin-bottom:3px}
.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.portfolio-card{border-radius:16px;transition:transform .18s,box-shadow .18s}.portfolio-card:hover{transform:translateY(-2px);box-shadow:0 12px 25px #1c4d3820}.portfolio-visual{height:208px;min-height:0;padding:0;display:block;overflow:hidden;background:#e3efe9}.portfolio-visual img{height:100%;width:100%;object-fit:cover;object-position:top;display:block}.portfolio-body{padding:19px 21px}.portfolio-body h3{margin:0 0 7px}.portfolio-body p{margin:0 0 12px;font-size:.92rem}.portfolio-body .tag{margin:0 0 10px}.portfolio-visual .screenshot-pending{display:flex;width:100%;height:100%;flex-direction:column;align-items:flex-start;justify-content:center;padding:25px;color:#17604e;gap:7px}.screenshot-pending strong{font-size:1.5rem}.screenshot-pending small{font-size:.76rem;max-width:310px;opacity:.78}.tiny-browser-bar{display:flex;gap:5px;margin-bottom:12px}.tiny-browser-bar i{display:block;width:7px;height:7px;border-radius:50%;background:#549583}
.feature-split{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:center}.feature-split p{color:var(--muted);max-width:530px}.app-preview{border:1px solid #d2e8dc;border-radius:18px;background:linear-gradient(145deg,#d9ede2,#f8fbf9);padding:20px;box-shadow:0 14px 32px #0c44301a}.preview-top{display:flex;justify-content:space-between;font-weight:800;padding-bottom:15px}.preview-top span{color:#48866f;font-size:.65rem;letter-spacing:.4em}.preview-cards{display:grid;grid-template-columns:1fr 1fr;gap:11px}.preview-cards span{padding:19px 14px;background:white;border:1px solid #dce8e1;border-radius:10px;font-size:.82rem;font-weight:700}
.feature-ribbon{margin-top:37px;padding:25px 30px;background:#edf6f1;border:1px solid #d8e7dd;border-radius:17px;display:flex;align-items:center;justify-content:space-between;gap:20px}.feature-ribbon h2{font-size:1.5rem;margin:0 0 5px}.feature-ribbon p{margin:0;color:var(--muted)}.feature-ribbon .eyebrow{margin-bottom:6px}
.cta{padding:37px 0}.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.cta h2{font-size:1.85rem;margin:0}.cta p{margin:4px 0}.site-footer{padding:38px 0 18px}.footer-grid{gap:37px}.site-footer h3{font-size:1rem}.site-footer p{font-size:.87rem}.footer-bottom{margin-top:28px;padding-top:15px}.footer-links{gap:7px;font-size:.88rem}
@media(max-width:1060px){.desktop-nav{gap:10px}.desktop-nav a{font-size:.76rem}.site-brand img{max-width:205px}}
@media(max-width:760px){.mobile-links{display:none!important}.mobile-links.open{display:flex!important}.desktop-nav{display:none}.site-brand img{max-width:220px}.hero-inner{padding:58px 0;gap:30px}.hero-art{max-width:490px}.inline-heading,.feature-ribbon,.cta-inner{align-items:start;flex-direction:column}.feature-split{grid-template-columns:1fr}.portfolio-grid,.cards.two,.cards{grid-template-columns:1fr}.section,.compact-section{padding:42px 0}.inner-hero{padding:42px 0}.portfolio-visual{height:210px}.footer-grid{grid-template-columns:1fr;gap:19px}}
@media(min-width:761px){.mobile-links.open{display:none!important}}

/* v2.1: genuine owner-provided site screenshots, framed cleanly */
.portfolio-visual{height:290px;display:block;position:relative;background:#f2f7f3;overflow:hidden;padding:26px 0 0}
.portfolio-browser-chrome{position:absolute;top:0;left:0;right:0;height:26px;background:#e8eee9;display:flex;align-items:center;gap:5px;padding:0 13px;border-bottom:1px solid #cfdad3;z-index:1}
.portfolio-browser-chrome i{width:7px;height:7px;border-radius:50%;display:block;background:#b3c6ba}
.portfolio-browser-chrome span{font-size:10px;color:#607467;margin-left:12px;letter-spacing:.02em}
.portfolio-visual img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center;transition:transform .35s ease}
.portfolio-card:hover .portfolio-visual img{transform:scale(1.025)}
.portfolio-card:focus-within{outline:2px solid #26725c;outline-offset:2px}
@media(max-width:760px){.portfolio-visual{height:260px}}

/* v2.2: Two-offering focus and streamlined branding */
.site-brand img{max-width:265px;max-height:55px}
.hero-inner{padding:67px 0 70px}
.hero .mini-points{margin-top:17px}
.hero-copy h1{max-width:650px}
.service-card{min-height:220px}
@media(min-width:1000px){.hero-inner{grid-template-columns:1.12fr .88fr}.hero h1{font-size:clamp(2.75rem,4.4vw,4.1rem)}}
@media(max-width:760px){.site-brand img{max-width:205px}.hero-inner{padding:50px 0}.service-card{min-height:0}}

/* v2.3: Three curated, owner-supplied project previews. */
@media(min-width:1020px){.portfolio-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.portfolio-visual{height:215px}.portfolio-body{padding:18px}.portfolio-body .tag{font-size:.69rem;line-height:1.3}.portfolio-body p{min-height:4.5em}}
@media(min-width:761px) and (max-width:1019px){.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v2.4 — homepage hero only: remove right-side illustration and expand copy. */
.home .hero, body.home .hero{position:relative;isolation:isolate;background:radial-gradient(ellipse at 88% 10%,#104738 0%,#142725 64%);overflow:hidden}
.home .hero::after,body.home .hero::after{content:"";position:absolute;z-index:-1;left:36%;right:-14%;bottom:-116px;height:170px;border-top:9px solid #5fd67e;border-radius:65% 0 0 0;transform:rotate(-5deg);background:linear-gradient(180deg,rgba(21,144,95,.23),rgba(21,144,95,0) 55%);pointer-events:none}
.home .hero-inner,body.home .hero-inner{display:block;padding:70px 26px 80px}
.home .hero-copy,body.home .hero-copy{max-width:100%}
.home .hero-copy h1,body.home .hero-copy h1{max-width:none;font-size:clamp(2.55rem,4.3vw,4.15rem);line-height:1.12;letter-spacing:-.045em}
.home .hero .lead,body.home .hero .lead{max-width:970px;font-size:clamp(1.05rem,1.65vw,1.26rem)}
.home .hero-actions,body.home .hero-actions{gap:15px;margin:29px 0 22px}
.home .hero .mini-points,body.home .hero .mini-points{margin-top:20px}
@media(min-width:1120px){.home .hero-copy h1,body.home .hero-copy h1{white-space:nowrap}}
@media(max-width:760px){.home .hero-inner,body.home .hero-inner{padding:52px 26px 72px}.home .hero-copy h1,body.home .hero-copy h1{font-size:clamp(2.5rem,9vw,3.8rem)}.home .hero::after,body.home .hero::after{left:20%;right:-70%;bottom:-125px}}

/* v2.5 — increase site content width to reduce excessive side gutters.
   No changes to copy, colors, cards, imagery, page structure, or links. */
:root{--width:1360px}
@media(min-width:1100px){.wrap{padding-left:36px;padding-right:36px}}
@media(min-width:761px) and (max-width:1099px){.wrap{padding-left:28px;padding-right:28px}}
