/*
Theme Name: Scribe Development
Theme URI: https://www.scribedev.com/
Author: Scribe Development
Description: The Scribe editorial portfolio design, with bundled photography and optional page setup. No page builder required.
Version: 1.0.2
Requires at least: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scribe-development
*/



:root{--background:#f5f3ed;--foreground:#2a3f3d;--primary:#2a3f3d;--primary-foreground:#fff;--border:#d5d8d0;--ring:#688f8a}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:35px}body{margin:0;background:var(--background);color:var(--foreground);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}img{display:block;width:100%;height:100%;object-fit:cover}a:focus-visible{outline:2px solid #688f8a;outline-offset:6px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400}h2{font-size:clamp(38px,4.5vw,70px);line-height:1.08;letter-spacing:-2px}em{font-weight:400}p{line-height:1.75}.header{height:116px;display:flex;align-items:center;justify-content:space-between;padding:0 5%}.brand{display:flex;gap:21px;align-items:center}.mark{display:block;width:34px;height:62px;background-image:url('assets/images/scribe-mark.png');background-size:155px 155px;background-position:center 49%;mix-blend-mode:multiply}.wordmark{font-family:Georgia,serif;font-size:33px;line-height:1;letter-spacing:6px}.wordmark small{display:block;font-family:Arial,sans-serif;font-size:8px;letter-spacing:4.2px;margin-top:9px}nav{display:flex;align-items:center;gap:42px;font-size:12px}nav a{padding:12px 0;border-bottom:1px solid transparent}nav a:hover{border-bottom-color:currentColor}nav a:last-child{margin-left:30px}nav span{margin-left:18px}.hero{height:min(750px,78vw);min-height:510px;position:relative;margin:0 22px}.hero>img{object-position:center 57%}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,27,20,.54),rgba(10,27,20,.02) 85%),linear-gradient(0deg,rgba(10,27,20,.28),transparent 50%)}.hero-content{position:absolute;left:5.7%;bottom:14%;color:#fff}.eyebrow{font-size:10px;letter-spacing:2px;text-transform:uppercase;font-weight:500}.hero h1{font-size:clamp(55px,6.8vw,104px);line-height:1.02;letter-spacing:-3px;margin:24px 0 35px}.light-link,.text-link{display:inline-flex;align-items:center;justify-content:space-between;min-width:170px;gap:38px;font-size:12px;padding:12px 0;border-bottom:1px solid currentColor}.hero-location{position:absolute;right:4%;bottom:6%;color:white;font-size:9px;letter-spacing:2px}.wrap{max-width:1500px;margin:auto;padding-left:7.5%;padding-right:7.5%}.intro{padding-top:135px;padding-bottom:135px;display:grid;grid-template-columns:1fr 2.2fr;gap:50px}.intro>.eyebrow{padding-top:12px}.intro-copy{display:grid;grid-template-columns:1fr 1fr;gap:25px 42px;margin-top:35px;max-width:720px}.intro-copy p{font-size:14px}.intro-copy .text-link{grid-column:1;width:max-content}.section-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:50px}.section-head h2{margin-top:18px}.section-head>p{font-size:12px}.project-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:6%;row-gap:70px}.project:nth-child(even){padding-top:115px}.project-img{height:420px;position:relative;overflow:hidden}.project:nth-child(even) .project-img{height:330px}.project-img img{transition:transform .7s}.project:hover img{transform:scale(1.035)}.project-arrow{position:absolute;bottom:18px;right:18px;width:36px;height:36px;display:grid;place-items:center;background:#f5f3ed;color:#2a3f3d;border-radius:50%;font-size:20px}.project-caption{display:flex;justify-content:space-between;gap:20px;margin-top:21px}.project-caption .eyebrow{font-size:9px;letter-spacing:1.5px}.project-caption h3{font-size:clamp(23px,2.2vw,34px);margin-top:6px;line-height:1.12}.project-note{font-size:10px;margin-top:9px;color:#5d6c65}.index{font-family:Georgia,serif;font-size:14px;padding-top:4px;color:#6d7b72}.projects{padding-bottom:140px}.craft{display:grid;grid-template-columns:1.15fr 1fr;background:#e8ece5;margin:0 22px 22px;min-height:600px}.craft-copy{padding:80px 15%;align-self:center}.craft-copy h2{margin:24px 0 30px}.craft-copy>p:not(.eyebrow){font-size:13px;margin-bottom:20px}.craft-copy .text-link{margin-top:14px}.craft-photo{min-height:600px}footer{background:#2a3f3d;color:#f5f3ed;padding:80px 7.5% 28px}.footer-main{display:flex;justify-content:space-between;align-items:flex-end;gap:45px;padding:28px 0 70px}.footer-main h2{font-size:clamp(42px,5.2vw,80px)}.footer-main p{font-size:12px;margin-bottom:16px;color:#d1d9cf}.footer-main a{font-size:clamp(15px,1.7vw,23px);padding-bottom:12px;border-bottom:1px solid #8c9a8c;display:flex;gap:40px}.footer-bottom{border-top:1px solid #667970;display:flex;justify-content:space-between;gap:20px;padding-top:25px;font-size:9px}.footer-name{letter-spacing:2px}.subhero{padding:85px 7.5% 65px}.subhero h1{font-size:clamp(45px,6.5vw,90px);line-height:1.08;max-width:1000px;letter-spacing:-2px;margin:25px 0}.subhero>p:last-child{max-width:650px;font-size:16px}.detail-hero{height:65vw;max-height:780px;margin:0 22px}.project-description{display:grid;grid-template-columns:1fr 1.6fr;gap:65px;padding-top:80px;padding-bottom:90px}.project-description p{font-size:15px}.gallery{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding-bottom:90px}.gallery img{height:auto;align-self:center}.gallery img:first-child{grid-column:1/-1}.team{padding-top:40px;padding-bottom:100px;display:grid;grid-template-columns:repeat(2,1fr);gap:65px}.team h3{font-size:30px;margin:20px 0 10px}.team p{font-size:14px}.team img{height:380px;object-position:center 30%}.back-link{font-size:12px;display:inline-block;margin-bottom:15px}
@media(min-width:1700px){.hero{height:800px}.project-img{height:500px}.project:nth-child(even) .project-img{height:410px}}
@media(max-width:760px){.header{height:95px;padding:0 6%}.brand{gap:10px}.mark{width:25px;height:48px;background-size:120px}.wordmark{font-size:25px;letter-spacing:4px}.wordmark small{font-size:6px;letter-spacing:3px}nav{gap:17px;font-size:11px}nav a:last-child{margin-left:0}nav span{display:none}.hero{margin:0 12px;min-height:580px;height:75svh;max-height:760px}.hero-content{left:7%;bottom:15%;right:6%}.hero h1{font-size:60px;letter-spacing:-2px}.hero-content .eyebrow{font-size:8px;letter-spacing:1.4px}.hero-location{left:7%;right:auto;bottom:5%;font-size:8px}.intro{display:block;padding-top:75px;padding-bottom:80px}.intro h2{margin-top:25px}.intro-copy{grid-template-columns:1fr;gap:20px}.wrap{padding-left:7%;padding-right:7%}.section-head{margin-bottom:30px}.section-head>p{display:none}.project-grid{grid-template-columns:1fr;gap:45px}.project:nth-child(even){padding-top:0}.project-img,.project:nth-child(even) .project-img{height:350px}.projects{padding-bottom:70px}.craft{grid-template-columns:1fr;margin:0 12px 12px}.craft-photo{min-height:0;height:420px}.craft-copy{padding:55px 8%}.footer-main{display:block;padding-bottom:50px}.footer-main>div{margin-top:35px}.footer-bottom{display:grid;grid-template-columns:1fr 1fr;font-size:8px}footer{padding:55px 7% 25px}.project-description{grid-template-columns:1fr;gap:25px;padding-top:45px;padding-bottom:50px}.gallery{grid-template-columns:1fr;gap:15px}.detail-hero{height:60vw;margin:0 12px}.team{grid-template-columns:1fr}.subhero{padding:50px 7%}.subhero h1{font-size:48px}.team img{height:420px}}
@media(max-width:390px){nav{gap:11px;font-size:10px}.wordmark{font-size:21px}.hero h1{font-size:51px}.project-img,.project:nth-child(even) .project-img{height:290px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.project-img img{transition:none}}
.skip-link{position:fixed;top:-60px;left:20px;z-index:100;padding:12px 20px;background:#fff}.skip-link:focus{top:10px}
.team-heading{padding-bottom:30px}.team-heading h2{margin-top:15px}.team article>.eyebrow{font-size:9px;letter-spacing:1.5px;margin-bottom:14px}.gallery img{object-fit:contain}

/* Brand and philosophy refinements */
.wordmark{font-size:27px;letter-spacing:5px}
.wordmark small{font-size:7px;letter-spacing:3.5px;margin-top:8px}
.intro-copy{display:block;max-width:680px}
.intro-copy .text-link{display:flex;margin-top:24px}
@media(max-width:760px){.wordmark{font-size:21px;letter-spacing:3.5px}.wordmark small{font-size:5px;letter-spacing:2.7px}}
@media(max-width:390px){.wordmark{font-size:18px}}

.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.generic-content{padding-top:65px;padding-bottom:80px;min-height:50vh}.generic-content h1{font-size:clamp(40px,6vw,80px);margin-bottom:30px}.generic-content p{margin:1em 0}.generic-content a{text-decoration:underline}.generic-content img{height:auto}.generic-content ul,.generic-content ol{padding-left:2em}
nav ul{display:flex;align-items:center;gap:30px;list-style:none;padding:0;margin:0}nav ul a:last-child{margin-left:0}nav li{position:relative}nav .sub-menu{display:none;position:absolute;z-index:10;background:var(--background);padding:15px;min-width:180px}nav li:hover>.sub-menu,nav li:focus-within>.sub-menu{display:block}
.custom-logo-link img{max-width:200px;height:65px;object-fit:contain}.brand .custom-logo-link{display:block}
@media(max-width:760px){nav ul{gap:14px}.custom-logo-link img{max-width:130px}.header{gap:15px}.brand{flex-shrink:0}}
@media(max-width:390px){nav{gap:8px}nav a{font-size:9px}}
