/*
Theme Name: Moease Design
Description: Bespoke corporate studio theme built around the approved Moease Design composition.
Version: 1.0.0
Author: Moease Design
Requires PHP: 8.3
Text Domain: moease-design
*/
/* Design tokens and foundations */
:root{--paper:#faf8f5;--ink:#080c12;--muted:#51515b;--violet:#9a26f4;--blue:#465bff;--line:#dfdce0;--max:1440px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.5}img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:5px}button,input,textarea,select{font:inherit}button,a,input,select,textarea{touch-action:manipulation}:focus-visible{outline:3px solid #7233dd;outline-offset:5px}h1,h2,h3,p{margin:0 0 18px}h1,h2,h3{line-height:1.08}h1{font-size:clamp(40px,5vw,76px);font-weight:400}h2{font-size:clamp(30px,3vw,46px);font-weight:300}h3{font-size:18px}p{max-width:65ch}.wrap{width:calc(100% - 9%);max-width:var(--max);margin-inline:auto}.eyebrow{text-transform:uppercase;font-size:13px;letter-spacing:2.5px;margin-bottom:14px}.dot{color:var(--violet);font-style:normal}.accent-line{width:96px;height:2px;background:linear-gradient(90deg,var(--blue),var(--violet));margin:24px 0}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;background:linear-gradient(110deg,#020609,#06112d);color:white;border:1px solid transparent;border-radius:40px;min-height:46px;padding:12px 25px;font-size:12px;line-height:1.3;letter-spacing:1.4px;font-weight:600;text-transform:uppercase;cursor:pointer;transition:transform .2s,box-shadow .2s}.button:hover{transform:translateY(-2px);box-shadow:0 8px 20px #41236524;text-decoration:none}.button.outline{background:transparent;border-color:#cdc9d1;color:var(--ink)}.button.light{background:white;color:var(--ink)}.text-link{font-size:12px;letter-spacing:1px;text-transform:uppercase;font-weight:600}.gradient-text{background:linear-gradient(100deg,#b32df4,#465bff);background-clip:text;color:transparent}.skip-link{position:absolute;left:10px;top:-80px;z-index:99;background:white;padding:15px}.skip-link:focus{top:10px}
/* Logo and navigation overlay, independent of hero artwork */
.site-header{height:86px;position:relative;z-index:20;border-bottom:1px solid #eeeeee80;background:#faf8f5}.site-header.over-hero{position:absolute;inset:0 0 auto;background:transparent}.header-inner{width:calc(100% - 9%);max-width:var(--max);margin:auto;display:flex;align-items:center;justify-content:space-between;gap:30px;height:100%}.brand{width:180px;flex-shrink:0}.brand img{width:100%;height:auto}.site-header ul,.site-footer ul{list-style:none;display:flex;padding:0;margin:0;gap:32px}.site-header nav a,.site-footer nav a{font-size:11px;text-transform:uppercase;letter-spacing:1.1px;display:block;padding:16px 0}.site-header .current-menu-item>a{border-bottom:2px solid var(--violet)}.menu-toggle{display:none;background:transparent;border:1px solid var(--line);border-radius:8px;padding:9px 12px}.header-cta{font-size:11px;min-height:42px;padding:10px 24px}
/* Full bleed hero with paint/pencil edge artwork */
.hero{position:relative;overflow:hidden;min-height:clamp(700px,56.25vw,920px);background:var(--paper)}.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0}.hero-inner{position:relative;z-index:1;min-height:inherit;display:flex;align-items:center;padding-top:112px;padding-bottom:72px}.hero-copy{width:46%;max-width:650px}.hero-logo{width:100%;max-width:630px;margin-bottom:20px}.hero h1{font-size:clamp(32px,3.3vw,53px);text-transform:uppercase;letter-spacing:.5px;max-width:650px;line-height:1.02;position:relative;margin-bottom:24px}.hero h1 strong{display:block;max-width:410px;line-height:.97;font-weight:750}.hero h1 span{display:inline;font-weight:300}.hero-copy>p{font-size:15px;line-height:1.5;margin-bottom:30px}.hero-actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap}.reel-link{display:flex;align-items:center;gap:12px;letter-spacing:1.5px;font-size:11px;text-transform:uppercase}.play{display:flex;align-items:center;justify-content:center;border:1px solid var(--ink);border-radius:50%;width:43px;height:43px;font-size:15px;padding-left:2px}
/* Expertise row */
.expertise-strip{border-bottom:1px solid #e8e5e7;padding:38px 0}.expertise-grid{display:grid;grid-template-columns:1.8fr repeat(6,1fr);gap:0}.expertise-intro{padding-right:32px}.expertise-intro .eyebrow{margin-bottom:5px;font-size:17px}.expertise-intro h2{text-transform:uppercase;font-size:32px;font-weight:650;margin-bottom:12px}.expertise-intro p{font-size:14px;line-height:1.4}.expertise-intro .accent-line{width:35px;margin:18px 0}.service{padding:0 22px;border-left:1px solid var(--line);transition:transform .2s}.service img{width:62px;height:62px;object-fit:contain;margin-bottom:16px}.service h3{font-size:15px;line-height:1.3;text-transform:uppercase;max-width:130px;margin-bottom:10px}.service p{font-size:12px;line-height:1.5;margin:0}.service:hover{transform:translateY(-4px);text-decoration:none}.service:hover h3{color:#7022b8}
/* Featured concept cards */
.featured{padding:18px 0}.featured-grid{display:grid;grid-template-columns:1fr 3fr;gap:38px;align-items:center}.featured-intro h2{text-transform:uppercase;font-size:clamp(32px,3.1vw,47px);font-weight:300}.featured-intro p:not(.eyebrow){font-size:15px;line-height:1.4}.featured-intro .button{margin-top:12px}.featured-cards{display:grid;grid-template-columns:2.2fr 1fr;grid-template-rows:1fr 1fr;gap:14px;min-height:355px}.project-card{position:relative;overflow:hidden;border-radius:4px;display:block;min-height:170px;background:#151623;color:white}.card-large{grid-row:span 2}.project-card>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .45s}.card-shade{position:absolute;inset:0;background:linear-gradient(0deg,#01020bea,transparent 75%)}.card-content{position:absolute;bottom:22px;left:24px;right:48px}.card-content .eyebrow{display:block;font-size:11px;margin:0 0 6px;letter-spacing:1.3px}.card-content strong{display:block;font-size:21px;font-weight:400;line-height:1.1}.card-content small{display:block;font-size:10px;margin-top:7px;color:#e1dfed}.card-large .card-content strong{font-size:32px}.card-arrow{position:absolute;right:18px;bottom:20px;border:1px solid #ffffffb5;width:34px;height:34px;border-radius:50%;display:grid;place-items:center}.project-card:hover{text-decoration:none}.project-card:hover img{transform:scale(1.045)}
/* Philosophy and closing CTA */
.philosophy{background:#080c12;color:white;padding:32px 0;overflow:hidden}.philosophy-grid{display:grid;grid-template-columns:1.2fr 2fr .8fr;gap:24px;align-items:center}.philosophy .eyebrow{color:#d789ff;text-decoration:underline;text-underline-offset:4px}.philosophy h2{text-transform:uppercase;font-size:clamp(29px,2.7vw,43px);font-weight:300}.philosophy p{font-size:14px;line-height:1.5}.philosophy img{width:100%;height:300px;object-fit:cover;mix-blend-mode:screen}.philosophy ul{list-style:none;margin:0;padding:0 0 0 30px;border-left:2px solid #be3dff;font-size:12px;letter-spacing:2px;text-transform:uppercase;line-height:1.4}.philosophy li{margin:0 0 22px}.philosophy li:last-child{margin:0}.closing{padding:42px 0}.closing-grid{display:grid;grid-template-columns:2fr 1fr;gap:80px;align-items:center}.closing .eyebrow{font-size:18px;letter-spacing:5px;margin-bottom:8px}.closing h2{text-transform:uppercase;font-weight:750;font-size:clamp(34px,4.2vw,64px);margin:0}.closing p{font-size:15px;margin-bottom:18px}.site-footer{background:#080c12;color:white;padding:30px 0 24px}.footer-top{display:flex;align-items:center;justify-content:space-between;gap:40px;padding-bottom:28px}.site-footer ul{gap:34px}.footer-bottom{border-top:1px solid #252832;padding-top:20px;display:flex;justify-content:space-between;font-size:12px;color:#e2e0e7}
/* Interior pages, portfolio, journal and forms */
.page-heading{padding:65px 0 20px}.page-heading h1{text-transform:uppercase}.page-content{max-width:1100px;padding-bottom:30px;font-size:18px}.page-content h2{margin-top:32px}.services-detail{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;padding-bottom:70px}.services-detail article{display:flex;gap:24px;background:#fff;border:1px solid var(--line);padding:32px;scroll-margin-top:30px}.services-detail img{align-self:flex-start}.services-detail h2{font-size:28px;font-weight:500}.services-detail a{font-size:14px;color:#6924a8}.portfolio-section{padding-bottom:60px}.filters{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:30px}.filters a{padding:9px 18px;border:1px solid var(--line);border-radius:30px;font-size:14px}.filters [aria-current]{background:#121320;color:white}.portfolio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.portfolio-grid .project-card{min-height:300px}.media-note{padding:50px 0 0}.contact-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:80px;padding-bottom:70px}.contact-grid h2{font-size:38px}.muted{color:var(--muted);font-size:14px}.contact-grid form{background:white;border:1px solid var(--line);padding:32px;box-shadow:0 10px 60px #19133308}.contact-grid label:not(.consent){display:block;font-size:14px;font-weight:600;margin:12px 0 7px}input,textarea,select{width:100%;padding:12px;border:1px solid #bbb7c2;border-radius:4px;background:#fff;color:var(--ink)}textarea{resize:vertical}.consent{display:flex;gap:12px;align-items:flex-start;margin:24px 0;font-size:13px}.consent input{width:18px;height:18px;flex-shrink:0;margin:2px 0}.consent a{text-decoration:underline}.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.form-message,.concept-notice{padding:18px;border-left:3px solid var(--violet);background:#f1ebfa}.project-single{padding-top:50px;padding-bottom:60px}.project-single h1{margin:18px 0 26px}.project-single .eyebrow{margin-top:28px}.featured-image{position:relative;display:block;max-width:1000px;margin-bottom:35px}.featured-image img{width:100%;max-height:620px;object-fit:cover}.featured-image span{position:absolute;bottom:20px;right:20px;background:white;padding:9px 14px;border-radius:30px;font-size:13px}.prose{max-width:850px;font-size:18px;line-height:1.7}.prose h2,.prose h3{margin-top:35px}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:30px 0}.gallery-grid img{width:100%;aspect-ratio:1.3;object-fit:cover}.project-media{max-width:1000px;margin:40px 0}.project-media h2{font-size:30px}.embed{max-width:1000px;aspect-ratio:16/9}.embed iframe{width:100%;height:100%}.journal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;padding:20px 0 50px}.journal-card{border-top:1px solid var(--line);padding-top:24px}.journal-card h2{font-size:28px;font-weight:500}.journal-card .eyebrow{margin-top:20px;color:var(--muted)}.journal-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.journal-single{padding-top:65px;padding-bottom:70px}.journal-single h1{font-size:clamp(38px,4vw,62px)}.journal-single .eyebrow{margin-top:30px}.journal-single nav{display:flex;justify-content:space-between;margin-top:40px;font-size:14px}.pagination{padding-bottom:50px}.lightbox{border:0;background:#080b12;color:white;padding:45px 20px 16px;width:94vw;max-width:1200px;max-height:94dvh;overflow:auto;border-radius:8px}.lightbox::backdrop{background:#000c}.lightbox img{max-height:76dvh;max-width:100%;margin:auto;object-fit:contain}.lightbox p{text-align:center;margin:14px auto 0}.lightbox-close{position:absolute;right:15px;top:4px;font-size:30px;line-height:1;width:40px;height:40px;border:0;background:transparent;color:white;cursor:pointer}.viewer-open{overflow:hidden}
/* Responsive layout: preserve artwork and readable overlays */
@media(min-width:1600px){.hero-art{object-fit:cover}.hero-copy{width:44%}}
@media(max-width:1200px){.site-header ul{gap:20px}.brand{width:145px}.header-inner{gap:18px}.header-cta{padding:10px 15px}.hero{min-height:680px}.hero-copy{width:47%}.hero h1{font-size:38px}.expertise-grid{grid-template-columns:1.7fr repeat(6,1fr)}.service{padding:0 13px}.service h3{font-size:13px}.service p{font-size:11px}.featured-cards{min-height:300px}.philosophy img{height:245px}.philosophy h2{font-size:32px}.site-footer ul{gap:20px}}
@media(max-width:900px){.site-header{height:74px}.header-cta{display:none}.menu-toggle{display:block;margin-left:auto}#primary-nav{display:none;position:absolute;top:74px;left:0;right:0;background:var(--paper);border-bottom:1px solid var(--line);padding:15px 5%}#primary-nav.is-open{display:block}#primary-nav ul{display:flex;flex-direction:column;gap:0}#primary-nav a{padding:14px 0}.hero{min-height:660px}.hero-inner{padding-top:125px;padding-bottom:65px;align-items:center}.hero-copy{width:50%}.hero h1{font-size:34px}.hero-logo{margin-bottom:28px}.hero-copy>p{font-size:13px}.hero-art{object-position:55% center}.hero-actions{gap:18px}.hero .button{padding:12px 18px;font-size:10px}.expertise-grid{grid-template-columns:repeat(3,1fr);gap:28px}.expertise-intro{grid-column:1/-1;padding:0}.expertise-intro p{max-width:400px}.expertise-intro .text-link{display:inline-block}.service{padding:0 20px}.service h3{font-size:15px}.service p{font-size:13px}.featured-grid{grid-template-columns:1fr;gap:24px}.featured-intro h2 br{display:none}.featured-intro h2 br:after{content:' '}.featured-cards{min-height:350px}.philosophy-grid{grid-template-columns:1.2fr 1.6fr}.philosophy ul{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:24px;padding-left:20px}.philosophy li{margin:0}.closing-grid{gap:30px;grid-template-columns:1.5fr 1fr}.closing h2{font-size:40px}.closing .eyebrow{font-size:13px;letter-spacing:3px}.footer-top{flex-wrap:wrap}.site-footer ul{flex-wrap:wrap}.contact-grid{gap:36px}.portfolio-grid{grid-template-columns:repeat(2,1fr)}.journal-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.wrap,.header-inner{width:90%}.hero{min-height:960px}.hero-art{height:520px;top:440px;object-position:70% center;object-fit:cover}.hero:after{content:'';position:absolute;inset:395px 0 auto;height:90px;background:linear-gradient(var(--paper),transparent);pointer-events:none}.hero-inner{padding-top:112px;align-items:flex-start;padding-bottom:0}.hero-copy{width:100%;max-width:500px}.hero-logo{width:93%;margin-bottom:22px}.hero-copy .accent-line{margin:18px 0}.hero h1{font-size:35px;max-width:350px}.hero h1 strong{max-width:300px}.hero-copy>p{font-size:14px;max-width:350px;margin-bottom:22px}.hero-actions{gap:20px}.reel-link{font-size:9px}.play{width:35px;height:35px}.expertise-strip{padding:30px 0}.expertise-grid{grid-template-columns:repeat(2,1fr);gap:26px}.service{padding-left:18px}.service img{width:58px;height:58px}.featured{padding:30px 0}.featured-intro h2{font-size:36px}.featured-cards{grid-template-columns:1fr 1fr;grid-template-rows:290px 185px;min-height:0;gap:12px}.card-large{grid-column:1/-1;grid-row:1}.card-content{left:16px;bottom:16px;right:38px}.card-content strong{font-size:17px}.card-content .eyebrow{font-size:9px}.card-arrow{width:28px;height:28px;right:10px;bottom:15px}.card-large .card-content strong{font-size:28px}.philosophy-grid{grid-template-columns:1fr;gap:20px}.philosophy h2{font-size:36px}.philosophy img{height:auto}.philosophy ul{font-size:10px;gap:18px}.closing{padding:32px 0}.closing-grid{grid-template-columns:1fr;gap:24px}.closing h2{font-size:38px}.closing .eyebrow{font-size:12px;letter-spacing:3px}.footer-top{gap:22px}.site-footer ul{gap:5px 20px}.site-footer nav a{font-size:10px}.footer-bottom{gap:20px;align-items:start}.page-heading{padding-top:42px}.page-content{font-size:17px}.services-detail,.contact-grid,.portfolio-grid,.journal-grid{grid-template-columns:1fr}.services-detail article{padding:24px;gap:18px}.services-detail img{width:64px}.services-detail h2{font-size:25px}.contact-grid{gap:20px}.contact-grid form{padding:22px}.portfolio-grid .project-card{min-height:290px}.gallery-grid{grid-template-columns:repeat(2,1fr)}.project-single h1{font-size:40px}.journal-single h1{font-size:38px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

/* Visual QA refinements: preserve full wordmark and protect portrait space. */
.hero-logo{width:90%;max-width:540px}.philosophy img{mask-image:linear-gradient(to right,transparent,#000 8%,#000 90%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 92%,transparent);mask-composite:intersect}h1,h2{font-family:"Segoe UI",Arial,Helvetica,sans-serif}.hero h1 span{font-weight:300}
@media(max-width:600px){.hero-logo{width:93%}}

@media(max-width:600px){.hero{min-height:0}.hero-inner{min-height:0;padding-bottom:470px}.hero-art{top:auto;bottom:0;height:470px}.hero:after{inset:auto 0 400px;height:90px}.hero-copy{padding-bottom:30px}}

/* Tablet artwork moves below copy to keep the portrait and all text readable. */
@media(min-width:601px) and (max-width:1100px){.hero{min-height:0}.hero-inner{min-height:0;padding-top:110px;padding-bottom:490px}.hero-copy{width:100%;max-width:640px;padding-bottom:30px}.hero-logo{width:75%;max-width:480px}.hero-art{top:auto;bottom:0;height:490px;object-position:center}.hero:after{content:"";position:absolute;inset:auto 0 420px;height:90px;background:linear-gradient(var(--paper),transparent);pointer-events:none}.hero h1{font-size:40px;max-width:550px}.hero h1 strong{max-width:420px}.hero-copy>p{font-size:15px}}
/* Global scroll-aware navigation: sticky on inner pages, fixed over home hero. */
.site-header{position:sticky;top:0;z-index:100;background:transparent;transition:background-color .28s ease,box-shadow .28s ease,backdrop-filter .28s ease}
.site-header.over-hero{position:fixed;inset:0 0 auto;background:rgba(255,255,255,.6)}
.site-header.is-scrolled{background:rgba(255,255,255,.8);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 2px 18px rgba(0,0,0,.055)}
@media(prefers-reduced-motion:reduce){.site-header{transition:none}}

/* Mobile homepage hero: flow layout keeps branding below the fixed header.
   The image uses the existing artwork, with its blank left edge cropped deliberately.
   Desktop (above 1100px) keeps the approved composition unchanged. */
@media(max-width:1100px){
 .home .site-header.over-hero{width:100%}
 .home .hero{display:flex;flex-direction:column;min-height:0}
 .home .hero::after{display:none}
 .home .hero-inner{order:1;min-height:0;align-items:flex-start;padding-top:110px;padding-bottom:24px}
 .home .hero-copy{width:100%;max-width:640px;padding-bottom:0}
 .home .hero-art{order:2;position:relative;inset:auto;display:block;width:100%;height:auto;aspect-ratio:1.8;object-fit:cover;object-position:right center}
}
@media(max-width:600px){
 .home .hero-inner{padding-top:98px;padding-bottom:20px}
 .home .hero-logo{width:100%;max-width:360px;margin-bottom:0}
 .home .hero-copy .accent-line{margin:18px 0}
 .home .hero h1{font-size:clamp(30px,8.5vw,36px);margin-bottom:20px}
 .home .hero-copy>p{font-size:14px;line-height:1.5;margin-bottom:22px}
 .home .hero-actions{gap:12px 16px;align-items:center}
 .home .hero .button{min-height:44px;font-size:10px;letter-spacing:.7px;padding:12px 14px;gap:10px}
 .home .reel-link{font-size:9px;letter-spacing:.8px;gap:8px;min-height:44px}
 .home .play{width:32px;height:32px}
 .home .hero-art{aspect-ratio:1.25;object-position:right center}
}

/* Prevent narrow homepage capability columns from expanding the layout viewport. */
@media(max-width:600px){
 .home .expertise-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home .expertise-intro,.home .service{min-width:0}
 .home .service{padding-right:8px}
}

/* Approved boy artwork: show its complete sketch-to-color composition on small screens. */
@media(max-width:1100px){
 .home .hero-art{height:auto;aspect-ratio:auto;object-fit:contain;object-position:center}
}

/* Keep copy readable over the approved sketchwork without moving desktop elements. */
@media(min-width:1101px){
 .home .hero::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,var(--paper) 0%,rgba(250,248,245,.97) 23%,rgba(250,248,245,.88) 32%,rgba(250,248,245,.5) 40%,rgba(250,248,245,0) 48%)}
}

/* Homepage: compact brand mark stays above hero headline in white area */
@media (min-width:901px){.hero-copy .hero-logo{width:65%;max-width:410px;height:auto;margin-bottom:20px;transform:translateY(-30px)}}

