/*
Theme Name: SHEHRIQ Classic
Author: SHEHRIQ
Description: Custom coded SHEHRIQ website with native WordPress posts and pages. No Elementor required.
Version: 2.4.1
Requires at least: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shehriq-classic
*/
:root{--sq-forest:#173f37;--sq-ink:#183d36;--sq-cream:#f4f6f0;--sq-muted:#52665f;--sq-border:#dfe5dd}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:32px}body{margin:0;background:#fbfcf8;color:var(--sq-ink);font-family:Arial,Helvetica,sans-serif;line-height:1.6}a{color:inherit;text-underline-offset:4px}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ac8040;outline-offset:4px}h1,h2,h3,p,figure,ul{margin:0}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.14}h1{font-size:clamp(2.7rem,4.4vw,4.7rem);letter-spacing:-.035em}h2{font-size:clamp(1.8rem,2.6vw,2.8rem);letter-spacing:-.025em}h3{font:600 1rem/1.4 Arial,Helvetica,sans-serif}p{font-size:1rem}img{max-width:100%;display:block}section{scroll-margin-top:24px}.wp-site-blocks>*,.site-main>*{margin-block-start:0}.wp-block-group>*{margin-block-start:0}.shell{width:min(1240px,91%);margin-inline:auto}.section{padding:55px 0}.eyebrow{font-size:.75rem;font-weight:600;letter-spacing:.15em;text-transform:uppercase;margin-bottom:10px}.section-intro>p:not(.eyebrow){margin-top:18px;color:var(--sq-muted);max-width:450px}.wp-block-buttons{display:flex;flex-wrap:wrap;gap:14px;margin-top:24px}.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;background:var(--sq-forest);color:white;text-decoration:none;border:1px solid var(--sq-forest);border-radius:2px;padding:12px 20px;font-size:.875rem;font-weight:600;line-height:1.3}.wp-block-button__link:hover{background:#245447;color:#fff}.is-style-outline>.wp-block-button__link{background:transparent;color:var(--sq-forest);border:1px solid #8b9d94}.is-style-outline>.wp-block-button__link:hover{background:#e8eee7}.site-header{border-bottom:1px solid #e4e8e1;background:#fbfcf8}.header-row{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:94px;padding-block:14px}.brand{padding-left:45px;position:relative;flex-shrink:0}.brand-name{font-family:Georgia,serif;font-size:2rem;letter-spacing:.04em;line-height:1.1}.brand-tag{font-size:.65rem;margin-top:4px}.header-row .wp-block-buttons{margin:0;flex-shrink:0}.primary-navigation{font-size:.8rem}.primary-navigation .wp-block-navigation__container{gap:23px}.primary-navigation a{text-decoration:none}.primary-navigation a:hover{text-decoration:underline}.hero{position:relative;overflow:hidden;background:#f3f5f0}.hero-grid{display:grid;grid-template-columns:42% 58%;align-items:center;min-height:410px;position:relative}.hero-copy{position:relative;z-index:2;padding-block:46px}.hero-copy>p:not(.eyebrow){margin-top:18px;max-width:420px}.hero-copy .hero-subtitle{font-size:1.3rem;font-weight:600;line-height:1.3}.hero .sq-photo{height:100%;aspect-ratio:auto;margin-right:calc((100vw - min(1240px,91vw))/ -2)}.hero .sq-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f3f5f0 0%,transparent 20%);pointer-events:none}.hero-copy h1{white-space:nowrap}.expertise{padding:26px 0 22px;background:#f9faf5}.expertise-grid{display:grid;grid-template-columns:repeat(5,1fr)}.expertise-item{text-align:center;padding:0 16px;border-right:1px solid #e5e9e1}.expertise-item:last-child{border:0}.expertise-item p:last-child{font-size:.85rem;font-weight:600}.line-icon{font-size:2rem;line-height:1.3;margin-bottom:9px}.principles{text-align:center;font-size:.8rem;font-weight:600;margin-top:27px;word-spacing:3px}.split-layout{display:grid;grid-template-columns:34% 1fr;gap:45px}.services-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.service-card,.project-card{border:1px solid var(--sq-border);background:#fff;border-radius:3px;overflow:hidden;box-shadow:0 2px 8px #163c3410}.service-card{padding:5px;display:flex;flex-direction:column}.card-body{padding:13px 8px}.service-card .card-body{display:flex;flex-direction:column;flex:1}.service-card h3{font-size:.9rem;line-height:1.4;margin-bottom:12px}.service-card ul{padding-left:16px;font-size:.75rem;color:var(--sq-muted);line-height:1.9;margin-bottom:22px}.card-link{font-size:.7rem;margin-top:auto;font-weight:600}.card-link a{text-decoration:none}.approach{background:#f0f3ed}.approach-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;text-align:center;align-items:start}.round-icon{font-size:1.6rem;border:1px solid #78968a;width:48px;height:48px;border-radius:50%;margin:0 auto 9px;line-height:46px}.step-number{font-size:.75rem;font-weight:600}.approach-step h3{margin:4px 0 10px}.approach-step>p:last-child{font-size:.8rem;line-height:1.5;color:var(--sq-muted)}.calculators{background:#163a32;color:#fff;position:relative}.calculators:before{content:'';position:absolute;inset:0;opacity:.13;background:repeating-radial-gradient(ellipse at 0% 100%,transparent 0 45px,#89a394 46px 47px,transparent 48px 62px);pointer-events:none}.calculators .shell{position:relative}.calculators .section-intro>p:not(.eyebrow){color:#dae5dd}.calculator-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.sq-calculator{display:block;width:100%;padding:20px 24px;min-height:118px;text-align:left;background:#f5f6ed;color:#183d36;border:1px solid #d8e1d3;border-radius:4px;cursor:pointer;transition:transform .15s,background .15s}.sq-calculator:hover{background:#fff;transform:translateY(-3px)}.calc-icon{display:block;font-size:1.8rem;line-height:1;margin-bottom:12px}.calc-title{display:block;font-weight:600;font-size:.875rem;max-width:140px;line-height:1.4}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px}.project-filters{gap:16px;margin:0}.project-filters .wp-block-button__link{padding:7px 0;background:none;border:0;border-bottom:2px solid transparent;color:var(--sq-muted);font-size:.7rem;font-weight:400}.project-filters .wp-block-button__link[aria-pressed=true]{border-color:var(--sq-forest);color:var(--sq-forest);font-weight:600}.project-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.project-card[hidden]{display:none}.project-card h3{font-size:.85rem}.project-meta{font-size:.7rem;color:var(--sq-muted);margin:8px 0}.project-card .card-body>p:last-of-type{font-size:.75rem;line-height:1.6;color:var(--sq-muted)}.wp-block-details{font-size:.8rem;margin-top:13px}.wp-block-details summary{cursor:pointer;font-weight:600}.wp-block-details p{font-size:.875rem;margin-top:12px}.founder{border-top:1px solid #e6eae1;border-bottom:1px solid #e6eae1}.founder-grid{display:grid;grid-template-columns:27% 43% 1fr;gap:40px;align-items:center}.founder-copy h2{font-size:2rem}.founder-title{font-size:.85rem;font-weight:600;margin:7px 0 14px}.founder-copy>p:last-of-type{font-size:.875rem;color:var(--sq-muted)}.founder-grid>ul{font-size:.8rem;line-height:1.8;list-style:'◇  ';padding-left:20px;color:var(--sq-muted)}.founder-grid>ul li{padding:6px 0}.process-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:50px;margin-top:26px}.process-number{width:30px;height:30px;border-radius:50%;background:var(--sq-forest);color:#fff;font-size:.75rem;text-align:center;line-height:30px;margin-bottom:12px}.process-step h3{margin-bottom:7px;font-weight:500}.process-step>p:last-child{font-size:.8rem;color:var(--sq-muted);line-height:1.6}.journal{border-top:1px solid #e6eae1;padding-top:32px}.journal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:22px}.article-category{font-size:.75rem;font-weight:600;margin-top:10px}.article-card .wp-block-details{margin-top:5px}.article-card summary{font-size:.85rem}.contact{background:#e9ede3;position:relative;overflow:hidden;padding-block:45px}.contact>.shell>.photo-contact{position:absolute;top:0;right:0;width:40%;height:100%;opacity:.25;border-radius:0}.contact-copy{max-width:620px;margin:auto;position:relative}.contact h2{font-size:2.3rem}.contact p{margin-top:15px}.site-footer{background:#132f29;color:#e1e8df;padding-top:36px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr .8fr 1.2fr;gap:35px;padding-bottom:38px}.footer-grid h3{font-size:.8rem;margin-bottom:13px}.footer-grid ul{list-style:none;padding:0;font-size:.75rem;line-height:1.8}.footer-grid a{color:inherit;text-decoration:none}.footer-grid a:hover{text-decoration:underline}.footer-grid p{font-size:.8rem}.footer-grid .brand-tag{font-size:.6rem}.footer-grid .brand-name{font-size:1.8rem}.copyright{padding:17px 0;border-top:1px solid #395149;font-size:.7rem;color:#b8c8bd}.content-page{padding-block:65px;min-height:60vh}.content-page h1{margin-bottom:28px}.content-page .wp-block-post-content{max-width:850px}.sq-photo{position:relative;aspect-ratio:1.66;overflow:hidden;margin:0;border-radius:2px}.sq-photo img{width:100%;height:100%;object-fit:cover}.photo-founder{aspect-ratio:1.25}.photo-article-home,.photo-article-city,.photo-article-tile{aspect-ratio:4.75}.sq-dialog{max-width:560px;width:calc(100% - 32px);border:1px solid #b9cabe;border-radius:8px;padding:30px;color:var(--sq-ink);max-height:90vh;overflow:auto;background:#fbfcf8}.sq-dialog::backdrop{background:#102b25b3}.sq-dialog h2{font-size:2rem;padding-right:22px;margin-bottom:12px}.sq-close{position:absolute;top:12px;right:14px;background:transparent;border:0;color:inherit;cursor:pointer;font-size:1.8rem}.sq-calc-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:22px}.sq-calc-form label{display:flex;flex-direction:column;gap:6px;font-size:.85rem}.sq-calc-form input{width:100%;padding:10px;border:1px solid #94ab9c;border-radius:3px;background:#fff;color:#183d36}.sq-calc-form button{grid-column:1/-1;padding:12px;background:var(--sq-forest);color:white;border:0;border-radius:2px;cursor:pointer}.sq-result{display:block;margin-top:20px;padding:18px;background:#e9eee5;font-size:1.05rem;font-weight:600}.sq-note{font-size:.8rem!important;color:var(--sq-muted);margin-top:14px}.editor-styles-wrapper .sq-photo{min-height:80px}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container{max-width:none}.editor-styles-wrapper .hero-copy h1{white-space:normal}
@media(min-width:1500px){.hero-grid{min-height:460px}}
@media(max-width:1100px){.header-row{gap:18px}.header-row>.wp-block-buttons{display:none}.split-layout{grid-template-columns:1fr;gap:28px}.section-intro{max-width:720px}.section-intro>p:not(.eyebrow){max-width:none}.hero-copy h1{white-space:normal}.services-grid{gap:20px}.service-card ul{font-size:.85rem}.service-card h3{font-size:1rem}.card-link{font-size:.8rem}.section-heading{align-items:start;flex-direction:column}.project-filters{gap:20px}.project-filters .wp-block-button__link{font-size:.8rem}.founder-grid{gap:25px}.footer-grid{gap:20px}.process-grid{gap:25px}}
@media(max-width:760px){.section{padding-block:38px}.header-row{min-height:80px}.brand-name{font-size:1.7rem}.primary-navigation .wp-block-navigation__container{gap:22px;font-size:1rem}.hero-grid{grid-template-columns:1fr}.hero-copy{padding:36px 0 28px}.hero-copy>p:not(.eyebrow){max-width:540px}.hero .sq-photo{aspect-ratio:2.05;height:auto;margin:0 -5vw}.hero .sq-photo:after{background:linear-gradient(180deg,#f3f5f0,transparent 18%)}.expertise-grid{grid-template-columns:repeat(3,1fr);gap:24px 0}.expertise-item:nth-child(3){border:0}.expertise-item p:last-child{font-size:.75rem}.principles{font-size:.7rem;word-spacing:0}.services-grid{grid-template-columns:repeat(2,1fr);gap:16px}.approach-grid{grid-template-columns:repeat(2,1fr);gap:28px}.calculator-grid{grid-template-columns:repeat(2,1fr);gap:12px}.sq-calculator{padding:18px;min-height:110px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-filters{gap:12px}.project-card h3{font-size:.9rem}.project-card .card-body p{font-size:.8rem}.founder-grid{grid-template-columns:1fr}.founder-grid>.sq-photo{max-width:400px;width:100%}.founder-grid>ul{columns:2}.process-grid{grid-template-columns:repeat(2,1fr);gap:25px}.journal-grid{grid-template-columns:1fr;gap:28px}.article-card summary{font-size:1rem}.footer-grid{grid-template-columns:repeat(2,1fr);gap:30px}.footer-grid>.brand{grid-column:1/-1}.contact h2{font-size:2rem}.contact-copy{max-width:none}.sq-calc-form{gap:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Supplied brand artwork stays a replaceable native Image block. */
.brand-image{width:128px;flex:0 0 128px;margin:0;line-height:0}.brand-image a{display:block}.brand-image img{display:block;width:100%;height:auto}.header-row{min-height:145px}.header-row .brand-image{background:#fff}.footer-grid>.brand-image{width:170px;max-width:100%;padding:12px;background:#fff;border-radius:2px;align-self:start}.contact-copy .contact-email{font-size:.875rem;margin-top:14px}.contact-email a{text-decoration:none}.contact-email a:hover{text-decoration:underline}@media(max-width:760px){.header-row{min-height:123px}.header-row .brand-image{width:104px;flex-basis:104px}.footer-grid>.brand-image{grid-column:1/-1;width:156px}}
