/* ==========================================================================
   Orohaus Design - Direction A
   Black header, Jost headings, Inter body, warm architectural palette.
   ========================================================================== */

/* ---- Fonts (self-hosted, Latin subset, variable) ------------------------- */
@font-face{font-family:"Jost";font-style:normal;font-weight:300 700;font-display:swap;src:url("../fonts/jost-var-latin.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:300 700;font-display:swap;src:url("../fonts/inter-var-latin.woff2") format("woff2")}

/* ---- Tokens -------------------------------------------------------------- */
:root{
  --oh-brown:#8C6D4F;   /* fills, rules, large accents; white text passes AA on it */
  --oh-umber:#71624F;   /* text links and small accents on light backgrounds */
  --oh-linen:#D0CBB7;   /* hairlines, quiet panels */
  --oh-charcoal:#333333;/* body text */
  --oh-stone:#F4F1EA;   /* page background */
  --oh-sand:#C4A27C;    /* accents on black */
  --oh-black:#000;
  --oh-white:#fff;
  --oh-head:"Jost","Century Gothic","Avenir Next",Futura,sans-serif;
  --oh-body:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --oh-wide:1180px;
  --oh-read:760px;
  --oh-gutter:clamp(20px,4vw,48px);
  --oh-gap:clamp(10px,1.4vw,16px);
  --oh-header-h:76px;
}

/* ---- Reset / base --------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--oh-stone);color:var(--oh-charcoal);font-family:var(--oh-body);font-size:1.0625rem;line-height:1.75;font-weight:400;-webkit-font-smoothing:antialiased;overflow-x:clip}
img,svg,video{max-width:100%;height:auto}
figure{margin:0}
a{color:var(--oh-umber);text-decoration-thickness:1px;text-underline-offset:.2em}
a:hover{color:var(--oh-brown)}
:focus-visible{outline:2px solid var(--oh-brown);outline-offset:3px}
.oh-header :focus-visible,.oh-footer :focus-visible,.oh-hero :focus-visible,.oh-phero :focus-visible,.oh-cta-band :focus-visible{outline-color:var(--oh-sand)}
::selection{background:var(--oh-sand);color:#000}
h1,h2,h3,h4,h5,h6{font-family:var(--oh-head);font-weight:500;line-height:1.15;letter-spacing:-.005em;color:var(--oh-black);margin:0 0 .6em}
p{margin:0 0 1.25em}
hr{border:0;border-top:1px solid var(--oh-linen);margin:2.5rem 0}
button,input,select,textarea{font:inherit;color:inherit}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.screen-reader-text:focus,.skip-link:focus{background:#fff;color:#000;clip:auto;clip-path:none;height:auto;left:8px;top:8px;padding:12px 18px;width:auto;z-index:100000;font-weight:600}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}

/* ---- Shared bits ---------------------------------------------------------- */
.oh-eyebrow{display:flex;align-items:center;gap:14px;margin:0 0 1.25rem;font:500 .78rem/1 var(--oh-head);letter-spacing:.24em;text-transform:uppercase;color:var(--oh-sand)}
.oh-eyebrow::before{content:"";width:32px;height:1px;background:currentColor}
.oh-eyebrow--dark{color:var(--oh-umber)}

.oh-btn,.wp-block-button__link,.wp-element-button{display:inline-flex;align-items:center;gap:.7em;border-radius:0;border:1px solid var(--oh-brown);background:var(--oh-brown);color:#fff;font:500 .8125rem/1.2 var(--oh-head);letter-spacing:.16em;text-transform:uppercase;text-decoration:none;padding:1.05rem 1.9rem;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.oh-btn:hover,.wp-block-button__link:hover,.wp-element-button:hover{background:var(--oh-umber);border-color:var(--oh-umber);color:#fff}
.oh-btn--ghost,.is-style-outline>.wp-block-button__link,.wp-block-button.is-style-outline .wp-block-button__link{background:transparent;color:var(--oh-black);border:1px solid var(--oh-charcoal)}
.oh-btn--ghost{color:#fff;border-color:rgba(255,255,255,.55)}
.oh-btn--ghost:hover,.is-style-outline>.wp-block-button__link:hover{background:var(--oh-black);border-color:var(--oh-black);color:#fff}
.oh-btn--ghost:hover{background:#fff;border-color:#fff;color:#000}
.oh-arrow{flex:none;transition:transform .2s}
.oh-btn:hover .oh-arrow{transform:translateX(4px)}

/* ---- Header --------------------------------------------------------------- */
.oh-header{position:sticky;top:0;z-index:1000;background:var(--oh-black);color:#fff;border-bottom:1px solid rgba(255,255,255,.12)}
.admin-bar .oh-header{top:32px}
@media (max-width:782px){.admin-bar .oh-header{top:46px}}
.oh-header__inner{max-width:calc(var(--oh-wide) + 2*var(--oh-gutter));margin:0 auto;padding:0 var(--oh-gutter);min-height:var(--oh-header-h);display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.oh-logo{display:inline-flex;align-items:center;line-height:0}
.oh-logo__img{display:block;width:auto;height:30px;max-width:none}
.oh-nav{display:flex;align-items:center;gap:2rem}
.oh-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:.4rem}
.oh-menu a{display:block;padding:.6rem .9rem;color:#fff;text-decoration:none;font:500 .8125rem/1 var(--oh-head);letter-spacing:.16em;text-transform:uppercase;position:relative}
.oh-menu a::after{content:"";position:absolute;left:.9rem;right:.9rem;bottom:.25rem;height:1px;background:var(--oh-sand);transform:scaleX(0);transform-origin:left;transition:transform .25s}
.oh-menu a:hover,.oh-menu .current-menu-item>a,.oh-menu .current-menu-ancestor>a,.oh-menu .current_page_item>a{color:var(--oh-sand)}
.oh-menu a:hover::after,.oh-menu .current-menu-item>a::after,.oh-menu .current_page_item>a::after{transform:scaleX(1)}
.oh-menu .oh-cta>a{border:1px solid var(--oh-sand);color:var(--oh-sand);margin-left:.6rem;padding:.8rem 1.3rem}
.oh-menu .oh-cta>a::after{display:none}
.oh-menu .oh-cta>a:hover{background:var(--oh-sand);color:#000}
.oh-menu .sub-menu{list-style:none;margin:0;padding:.5rem 0;position:absolute;background:#000;min-width:220px;display:none;border:1px solid rgba(255,255,255,.12)}
.oh-menu li{position:relative}
.oh-menu li:hover>.sub-menu,.oh-menu li:focus-within>.sub-menu{display:block}
.oh-header__phone{color:var(--oh-linen);text-decoration:none;font:400 .85rem/1 var(--oh-body);letter-spacing:.04em;white-space:nowrap}
.oh-header__phone:hover{color:#fff}
.oh-nav-toggle{display:none;background:none;border:1px solid rgba(255,255,255,.4);width:46px;height:46px;padding:0;cursor:pointer;position:relative;color:#fff}
.oh-nav-toggle__bars,.oh-nav-toggle__bars::before,.oh-nav-toggle__bars::after{position:absolute;left:12px;right:12px;height:1.5px;background:#fff;content:"";transition:transform .2s,opacity .2s}
.oh-nav-toggle__bars{top:22px}
.oh-nav-toggle__bars::before{left:0;right:0;top:-7px}
.oh-nav-toggle__bars::after{left:0;right:0;top:7px}
.oh-nav-toggle[aria-expanded="true"] .oh-nav-toggle__bars{background:transparent}
.oh-nav-toggle[aria-expanded="true"] .oh-nav-toggle__bars::before{transform:translateY(7px) rotate(45deg)}
.oh-nav-toggle[aria-expanded="true"] .oh-nav-toggle__bars::after{transform:translateY(-7px) rotate(-45deg)}

@media (max-width:960px){
  .oh-header__inner{min-height:68px}
  .oh-logo__img{height:26px}
  .oh-nav{width:100%;flex-direction:column;align-items:stretch;gap:0;padding:.5rem 0 1.5rem}
  .oh-menu{flex-direction:column;align-items:stretch;gap:0}
  .oh-menu a{padding:1.05rem 0;border-top:1px solid rgba(255,255,255,.12);font-size:.9rem}
  .oh-menu a::after{display:none}
  .oh-menu .oh-cta>a{margin:1rem 0 0;text-align:center}
  .oh-menu .sub-menu{position:static;display:block;border:0;padding:0 0 0 1rem}
  .oh-header__phone{padding:1rem 0 0;font-size:1rem}
  .oh-js .oh-nav-toggle{display:block}
  .oh-js .oh-nav{display:none}
  .oh-js .oh-nav.is-open{display:flex}
}

/* ---- Front-page hero ------------------------------------------------------ */
.oh-hero{position:relative;background:#000;color:#fff;min-height:min(86vh,780px);display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;isolation:isolate}
.oh-hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 62%;z-index:-2}
.oh-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.55) 48%,rgba(0,0,0,.12) 100%),linear-gradient(0deg,rgba(0,0,0,.7),transparent 45%)}
.oh-hero__inner{width:100%;max-width:calc(var(--oh-wide) + 2*var(--oh-gutter));margin:0 auto;padding:clamp(72px,12vh,140px) var(--oh-gutter) clamp(40px,6vh,72px)}
.oh-hero__title{color:#fff;font-weight:400;font-size:clamp(2.35rem,5.6vw,4.6rem);line-height:1.05;letter-spacing:-.015em;max-width:15em;margin-bottom:1.1rem}
.oh-hero__lead{max-width:36rem;font-size:clamp(1.05rem,1.5vw,1.25rem);color:var(--oh-linen);margin-bottom:2rem}
.oh-hero__actions{display:flex;flex-wrap:wrap;gap:14px;margin:0}
.oh-hero__facts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.22);background:rgba(0,0,0,.35);backdrop-filter:blur(6px)}
.oh-hero__facts li{padding:1.25rem var(--oh-gutter);border-left:1px solid rgba(255,255,255,.14);display:flex;flex-direction:column;gap:.15rem}
.oh-hero__facts li:first-child{border-left:0}
.oh-hero__facts strong{font:500 1.05rem/1.2 var(--oh-head);letter-spacing:.06em;text-transform:uppercase;color:var(--oh-sand)}
.oh-hero__facts span{font-size:.85rem;color:var(--oh-linen);line-height:1.4}
@media (max-width:760px){.oh-hero__facts{grid-template-columns:1fr 1fr}.oh-hero__facts li:nth-child(3){border-left:0}.oh-hero__facts li:nth-child(n+3){border-top:1px solid rgba(255,255,255,.14)}.oh-hero{min-height:84vh}}

/* ---- Page header band ------------------------------------------------------ */
.oh-pagehead{background:var(--oh-stone);border-bottom:1px solid var(--oh-linen)}
.oh-pagehead__inner{max-width:calc(var(--oh-wide) + 2*var(--oh-gutter));margin:0 auto;padding:clamp(48px,8vw,104px) var(--oh-gutter) clamp(32px,5vw,64px)}
.oh-pagehead__title{font-weight:400;font-size:clamp(2.1rem,4.6vw,3.75rem);line-height:1.08;letter-spacing:-.015em;margin:0;max-width:18em}

/* ---- Content (block editor output) ----------------------------------------- */
.oh-content{padding:clamp(40px,6vw,88px) var(--oh-gutter)}
.oh-content>*{max-width:var(--oh-read);margin-left:auto;margin-right:auto}
.oh-content>:is(.wp-block-columns,.wp-block-gallery,.wp-block-group,.wp-block-cover,.wp-block-table,.wp-block-image,.wp-block-media-text,.wp-block-buttons,.alignwide,figure,iframe,.wpgmza_map,.wpforms-container,.elementor){max-width:var(--oh-wide)}
.oh-content>.alignfull{max-width:none;width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.oh-content:has(>.elementor){padding:0;max-width:none}
.oh-content:has(>.elementor)>*{max-width:none}
.oh-content h2{font-size:clamp(1.65rem,2.6vw,2.35rem);margin-top:2.2em}
.oh-content h2::before{content:"";display:block;width:40px;height:2px;background:var(--oh-brown);margin-bottom:1rem}
.oh-content h2.has-text-align-center::before{margin-left:auto;margin-right:auto}
.oh-content>h2:first-child,.oh-content>.wp-block-heading:first-child{margin-top:0}
.oh-content h3{font-size:clamp(1.3rem,2vw,1.65rem);margin-top:1.8em}
.oh-content h4{font-size:1.15rem;letter-spacing:.04em;text-transform:uppercase}
.oh-content ul,.oh-content ol{padding-left:1.3em;margin:0 auto 1.4em}
.oh-content li{margin-bottom:.45em}
.oh-content li::marker{color:var(--oh-brown)}
.oh-content strong{font-weight:600}
.oh-content blockquote{margin:2rem auto;padding:.25rem 0 .25rem 1.6rem;border-left:2px solid var(--oh-brown);font:300 1.4rem/1.45 var(--oh-head);color:#000}
.oh-content img{display:block}
.oh-content figure.wp-block-image{margin-bottom:var(--oh-gap)}
.oh-content figure.wp-block-image img{margin-left:auto;margin-right:auto}
.oh-content .is-style-rounded img,.oh-content .is-style-rounded{border-radius:0}
.oh-content figcaption,.wp-element-caption{font-size:.85rem;color:var(--oh-umber);margin-top:.6rem;text-align:left}
.oh-content .wp-block-separator{border:0;height:1px;background:var(--oh-linen);color:var(--oh-linen);opacity:1;margin:3rem auto;max-width:var(--oh-wide)}
.oh-content .wp-block-separator.is-style-wide{width:100%}
.oh-content .wp-block-spacer{max-width:none}
.oh-content .wp-block-buttons{gap:14px;margin-bottom:1.5rem}
.oh-content .wp-block-columns{gap:clamp(20px,3vw,40px);margin-bottom:var(--oh-gap)}
.oh-content .wp-block-group.has-background,.oh-content .wp-block-column.has-background{padding:clamp(20px,3vw,40px)}
.oh-content .wp-block-group.alignfull{padding-left:var(--oh-gutter);padding-right:var(--oh-gutter)}
.oh-content .wp-block-group.alignfull>*{max-width:var(--oh-wide);margin-left:auto;margin-right:auto}
.oh-content .wp-block-cover{min-height:260px;border-radius:0;overflow:hidden;margin-bottom:var(--oh-gap)}
.oh-content .wp-block-cover .wp-block-cover__inner-container{padding:1rem}
.oh-content .wp-block-cover .wp-block-button__link{background:var(--oh-black);border-color:var(--oh-black)}
.oh-content .wp-block-cover .wp-block-button__link:hover{background:var(--oh-sand);border-color:var(--oh-sand);color:#000}

/* Embeds and legacy sizing.
   Do not set height:auto alone on iframes (no intrinsic ratio; can collapse or letterbox).
   The theme does not alter iframe src, sandbox or loading attributes. */
.oh-content iframe{display:block;width:100%;max-width:var(--oh-wide);height:640px;max-height:70vh;border:0;margin:0 auto var(--oh-gap);background:var(--oh-linen)}
.oh-content figure.is-resized img,.oh-content img[style*="width:"]{max-width:100%!important;height:auto!important}
.oh-content figure[style*="margin-left"],.oh-content figure[style*="margin-right"]{margin-left:auto!important;margin-right:auto!important}
/* Portfolio / page-level images: fill the wide measure and stay centered, even when
   the block has an inline width (e.g. 1140px) or is wrapped in a link. */
.oh-content>.wp-block-image,
.oh-content>figure.wp-block-image{width:100%;max-width:var(--oh-wide);margin-left:auto;margin-right:auto}
.oh-content>.wp-block-image a,
.oh-content>figure.wp-block-image a{display:block;width:100%}
.oh-content>.wp-block-image img,
.oh-content>figure.wp-block-image img{display:block;width:100%!important;max-width:100%!important;height:auto!important;margin-left:auto;margin-right:auto}
.oh-content .wpgmza_map{float:none!important;width:100%!important;margin-bottom:var(--oh-gap)}

/* Tables */
.oh-content .wp-block-table{overflow-x:auto}
.oh-content table{width:100%;border-collapse:collapse;font-size:.98rem;background:transparent}
.oh-content td,.oh-content th{padding:1rem 1.25rem 1rem 0;border:0;border-top:1px solid var(--oh-linen);vertical-align:top;text-align:left}
.oh-content tr:last-child td,.oh-content tr:last-child th{border-bottom:1px solid var(--oh-linen)}
.oh-content td:first-child,.oh-content th{width:30%;min-width:9rem;font:500 .78rem/1.6 var(--oh-head);letter-spacing:.16em;text-transform:uppercase;color:var(--oh-umber);padding-top:1.1rem}
.oh-content td:first-child strong{font-weight:500}
@media (max-width:600px){.oh-content td,.oh-content th{display:block;width:auto;border-top:0;padding:.2rem 0}.oh-content tr{display:block;padding:.9rem 0;border-top:1px solid var(--oh-linen)}.oh-content tr:last-child{border-bottom:1px solid var(--oh-linen)}.oh-content tr:last-child td{border:0}}

/* Legacy inline colours (old Inspiro-era maroon/beige) mapped to the new palette */
.oh-content :is(p,h1,h2,h3,h4,li,a,strong,em,span)[style*="#775351"],
.oh-content :is(p,h1,h2,h3,h4,li,a,strong,em,span)[style*="#736060"],
.oh-content :is(p,h1,h2,h3,h4,li,a,strong,em,span)[style*="#614949"],
.oh-content :is(p,h1,h2,h3,h4,li,a,strong,em,span)[style*="#644f4f"]{color:var(--oh-umber)!important}
.oh-content hr[style*="#5c2727"],.oh-content hr[style*="#736060"],.oh-content hr[style*="#644f4f"]{background-color:var(--oh-linen)!important;color:var(--oh-linen)!important}
.oh-content :is(.wp-block-column,.wp-block-columns,.wp-block-group,p)[style*="#e3d5c3"],
.oh-content :is(.wp-block-column,.wp-block-columns,.wp-block-group,p)[style*="#e0d6c5"],
.oh-content :is(.wp-block-column,.wp-block-columns,.wp-block-group)[style*="#f1ecde"]{background-color:var(--oh-linen)!important}
.oh-content .wp-block-button__link[style*="#c9a66b"],.oh-content .wp-block-button__link[style*="#766e5a"]{background-color:var(--oh-brown)!important;color:#fff!important}
.oh-content .wp-block-button__link[style*="#d0cbb7"]{background-color:var(--oh-linen)!important;color:#000!important}
.oh-content .wp-block-cover__background[style*="#69767b"]{background-color:#000!important;opacity:.45!important}
.oh-content .has-white-background-color{background-color:#fff}

/* Forms (WPForms / Jetpack / core search) */
.oh-content :is(input[type=text],input[type=email],input[type=tel],input[type=url],input[type=number],input[type=search],select,textarea),
div.wpforms-container-full .wpforms-form :is(input[type=text],input[type=email],input[type=tel],input[type=url],input[type=number],select,textarea){width:100%;max-width:100%;background:#fff;border:1px solid #b9b3a0;border-radius:0;padding:.85rem 1rem;font:400 1rem/1.4 var(--oh-body);color:var(--oh-charcoal);box-shadow:none}
div.wpforms-container-full .wpforms-form :is(input,select,textarea):focus{border-color:var(--oh-brown);outline:2px solid var(--oh-sand);outline-offset:0;box-shadow:none}
div.wpforms-container-full .wpforms-form .wpforms-field-label{font:500 .78rem/1.4 var(--oh-head);letter-spacing:.14em;text-transform:uppercase;color:var(--oh-umber)}
div.wpforms-container-full .wpforms-form .wpforms-submit-container button[type=submit],
div.wpforms-container-full .wpforms-form button.wpforms-submit,
.oh-content input[type=submit]{border-radius:0;background:var(--oh-brown);border:1px solid var(--oh-brown);color:#fff;font:500 .8125rem/1.2 var(--oh-head);letter-spacing:.16em;text-transform:uppercase;padding:1.05rem 2rem;cursor:pointer}
div.wpforms-container-full .wpforms-form button.wpforms-submit:hover{background:var(--oh-umber);border-color:var(--oh-umber)}

/* ---- Project (case study) pages --------------------------------------------- */
.oh-phero{position:relative;background:#000;color:#fff;min-height:clamp(340px,52vh,560px);display:flex;align-items:flex-end;isolation:isolate;overflow:hidden}
.oh-phero:not(.has-media){min-height:0}
.oh-phero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.oh-phero.has-media::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.35) 55%,rgba(0,0,0,.25) 100%)}
.oh-phero__inner{width:100%;max-width:calc(var(--oh-wide) + 2*var(--oh-gutter));margin:0 auto;padding:clamp(40px,7vw,80px) var(--oh-gutter) clamp(32px,4vw,56px)}
.oh-phero__crumb{margin:0 0 2rem;font:500 .78rem/1 var(--oh-head);letter-spacing:.18em;text-transform:uppercase}
.oh-phero__crumb a{color:var(--oh-linen);text-decoration:none}
.oh-phero__crumb a:hover{color:#fff}
.oh-phero__title{color:#fff;font-weight:400;font-size:clamp(1.9rem,4.2vw,3.4rem);line-height:1.1;letter-spacing:-.012em;max-width:20em;margin:0}

.oh-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));max-width:calc(var(--oh-wide) + 2*var(--oh-gutter));margin:0 auto;padding:0 var(--oh-gutter);border-bottom:1px solid var(--oh-linen)}
.oh-facts__item{padding:1.5rem 1.5rem 1.5rem 0;margin:0}
.oh-facts__item+.oh-facts__item{padding-left:1.5rem;border-left:1px solid var(--oh-linen)}
.oh-facts dt{font:500 .72rem/1 var(--oh-head);letter-spacing:.2em;text-transform:uppercase;color:var(--oh-umber);margin:0 0 .55rem}
.oh-facts dd{margin:0;font:500 1.12rem/1.3 var(--oh-head);color:#000}
@media (max-width:640px){.oh-facts{grid-template-columns:1fr 1fr}.oh-facts__item{padding:1.1rem .75rem 1.1rem 0}.oh-facts__item+.oh-facts__item{padding-left:0;border-left:0}.oh-facts__item:nth-child(even){padding-left:1rem;border-left:1px solid var(--oh-linen)}.oh-facts__item:nth-child(n+3){border-top:1px solid var(--oh-linen)}}

.oh-content--project{padding-top:clamp(36px,5vw,72px)}
.oh-content--project>p:first-child{font-size:1.25rem;line-height:1.65;color:#000;font-weight:300}
.oh-content--project .wp-block-gallery.has-nested-images{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--oh-gap);margin:2.5rem auto}
.oh-content--project .wp-block-gallery.has-nested-images>figure.wp-block-image{grid-column:span 3;width:auto!important;max-width:none;margin:0!important;flex:none}
.oh-content--project .wp-block-gallery.has-nested-images>figure.wp-block-image:not(.oh-plan):nth-child(odd):nth-last-child(2),
.oh-content--project .wp-block-gallery.has-nested-images>figure.wp-block-image:not(.oh-plan):nth-child(odd):last-child,
.oh-content--project .wp-block-gallery.has-nested-images>figure.wp-block-image.oh-plan{grid-column:1/-1}
.oh-content--project .wp-block-gallery.has-nested-images>figure.wp-block-image img{width:100%;height:100%;aspect-ratio:3/2;object-fit:cover}
.oh-content--project .wp-block-gallery.has-nested-images>figure.oh-plan{background:#fff;border:1px solid var(--oh-linen);padding:clamp(14px,2.5vw,32px);position:relative}
.oh-content--project .wp-block-gallery.has-nested-images>figure.oh-plan::before{content:"Plan";position:absolute;top:12px;left:16px;font:500 .68rem/1 var(--oh-head);letter-spacing:.22em;text-transform:uppercase;color:var(--oh-umber)}
.oh-content--project .wp-block-gallery.has-nested-images>figure.oh-plan img{aspect-ratio:auto;object-fit:contain;max-height:80vh;width:auto;margin:0 auto;padding-top:1rem}
@media (max-width:640px){.oh-content--project .wp-block-gallery.has-nested-images>figure.wp-block-image{grid-column:1/-1}}
.oh-content--project>p em:only-child{color:var(--oh-umber);font-size:.9rem}

.oh-cta-band{background:var(--oh-black);color:#fff}
.oh-cta-band__inner{max-width:calc(var(--oh-wide) + 2*var(--oh-gutter));margin:0 auto;padding:clamp(48px,7vw,96px) var(--oh-gutter);display:flex;gap:3rem;justify-content:space-between;align-items:center;flex-wrap:wrap}
.oh-cta-band h2{color:#fff;font-weight:400;font-size:clamp(1.8rem,3.4vw,2.8rem);margin-bottom:.6rem}
.oh-cta-band p{color:var(--oh-linen);max-width:34rem;margin:0}
.oh-cta-band__actions{display:flex;gap:14px;flex-wrap:wrap}

.oh-more{padding:clamp(48px,7vw,96px) var(--oh-gutter)}
.oh-more__inner{max-width:var(--oh-wide);margin:0 auto}
.oh-more__h{font-size:clamp(1.4rem,2.2vw,1.9rem);margin-bottom:1.6rem}
.oh-more__grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:clamp(18px,2.4vw,32px)}
.oh-card a{display:block;text-decoration:none;color:inherit}
.oh-card__media{display:block;aspect-ratio:4/3;background:var(--oh-linen);overflow:hidden}
.oh-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.oh-card a:hover .oh-card__media img{transform:scale(1.03)}
.oh-card__title{display:block;margin-top:1rem;font:500 1.15rem/1.3 var(--oh-head);color:#000}
.oh-card__meta{display:block;font-size:.85rem;color:var(--oh-umber)}
.oh-card a:hover .oh-card__title{color:var(--oh-brown)}
.oh-archive{max-width:calc(var(--oh-wide) + 2*var(--oh-gutter));margin:0 auto}
.oh-archive>*{max-width:none}

/* ---- Footer ----------------------------------------------------------------- */
.oh-footer{background:var(--oh-black);color:var(--oh-linen);font-size:.95rem;line-height:1.65}
.oh-footer a{color:#fff;text-decoration:none}
.oh-footer a:hover{color:var(--oh-sand)}
.oh-footer__inner{max-width:calc(var(--oh-wide) + 2*var(--oh-gutter));margin:0 auto;padding:clamp(48px,7vw,88px) var(--oh-gutter) clamp(36px,5vw,56px);display:grid;grid-template-columns:1.5fr 1fr 1.1fr 1.3fr;gap:clamp(28px,4vw,56px)}
.oh-footer__brand .oh-logo__img{height:28px}
.oh-footer__tag{margin:1.6rem 0 .6rem;font:400 1.35rem/1.25 var(--oh-head);color:#fff;max-width:16em}
.oh-footer__muted{color:#a9a392;margin:0 0 1rem}
.oh-footer__h{font:500 .74rem/1 var(--oh-head);letter-spacing:.24em;text-transform:uppercase;color:var(--oh-sand);margin:0 0 1.3rem;padding-bottom:1rem;border-bottom:1px solid rgba(255,255,255,.14)}
.oh-footer address{font-style:normal;margin:0 0 1rem}
.oh-footer__list{list-style:none;margin:0;padding:0}
.oh-footer__list li{margin:0 0 .45rem}
.oh-footer__list--cols{columns:2;column-gap:1.5rem}
.oh-footer__list--cols li{break-inside:avoid}
.oh-footer__base{border-top:1px solid rgba(255,255,255,.14);max-width:calc(var(--oh-wide) + 2*var(--oh-gutter));margin:0 auto;padding:1.4rem var(--oh-gutter) 2rem;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.82rem;color:#a9a392}
.oh-footer__base p{margin:0}
.oh-footer__social{list-style:none;margin:0;padding:0;display:flex;gap:1.4rem;flex-wrap:wrap}
.oh-footer__social a{font:500 .75rem/1 var(--oh-head);letter-spacing:.18em;text-transform:uppercase}
@media (max-width:960px){.oh-footer__inner{grid-template-columns:1fr 1fr}.oh-footer__brand{grid-column:1/-1}}
@media (max-width:560px){.oh-footer__inner{grid-template-columns:1fr}.oh-footer__list--cols{columns:2}}

/* Inspiro-era leftovers that may still appear inside old content */
.oh-content .wpzoom-social-icons,.oh-content .zoom-instagram-widget{max-width:var(--oh-wide);margin-left:auto;margin-right:auto}

/* ---- Legacy-content hygiene ---------------------------------------------------- */
.oh-content :is(h1,h2,h3,h4):empty{display:none}
.oh-content>:not(.alignfull):not(.alignleft):not(.alignright){margin-left:auto!important;margin-right:auto!important}
.oh-content .wpforms-container ul,.oh-content .wpforms-container ol{list-style:none;padding:0}
.oh-content .wpforms-container li::marker{content:""}
.oh-content .wpforms-container li{margin-bottom:.35em}

@media (max-width:560px){.oh-eyebrow{letter-spacing:.16em;font-size:.72rem;align-items:flex-start}.oh-eyebrow::before{margin-top:.35em;flex:none}}


/* ---- WPForms (contact form) -----------------------------------------------
   The contact form ships a WPForms "stock" theme: brick photo background,
   0px radius fields, black submit. Override the CSS variables the modern
   stylesheet already uses, and force a clean Stone/white panel. The Submit
   button is in the markup; these rules keep it visible (white on brown). */
div.wpforms-container-full,
div.wpforms-container-full.wpforms-container{
  --wpforms-background-image:none;
  --wpforms-background-url:none;
  --wpforms-background-color:#fff;
  --wpforms-container-padding:clamp(28px,4vw,48px);
  --wpforms-container-border-style:solid;
  --wpforms-container-border-width:1px;
  --wpforms-container-border-color:var(--oh-linen);
  --wpforms-container-border-radius:0px;
  --wpforms-button-background-color:var(--oh-brown);
  --wpforms-button-background-color-alt:var(--oh-umber);
  --wpforms-button-border-color:var(--oh-brown);
  --wpforms-button-text-color:#fff;
  --wpforms-button-text-color-alt:#fff;
  --wpforms-button-border-radius:0px;
  --wpforms-button-border-style:solid;
  --wpforms-field-border-radius:0px;
  --wpforms-field-border-color:#b9b3a0;
  background-color:#fff !important;
  background-image:none !important;
  max-width:var(--oh-wide);
  margin-left:auto;
  margin-right:auto;
}
div.wpforms-container-full .wpforms-form button.wpforms-submit,
div.wpforms-container-full .wpforms-form input[type=submit],
div.wpforms-container-full button[type=submit],
div.wpforms-container-full input[type=submit]{
  display:inline-flex !important;
  visibility:visible !important;
  opacity:1 !important;
  background-color:var(--oh-brown) !important;
  border:1px solid var(--oh-brown) !important;
  color:#fff !important;
  font:500 .8125rem/1.2 var(--oh-head) !important;
  letter-spacing:.16em;
  text-transform:uppercase;
  border-radius:0 !important;
  height:auto !important;
  min-height:48px;
  padding:1.05rem 2rem !important;
}
div.wpforms-container-full .wpforms-form button.wpforms-submit:hover,
div.wpforms-container-full button[type=submit]:hover{
  background-color:var(--oh-umber) !important;
  border-color:var(--oh-umber) !important;
  color:#fff !important;
}

/* ---- Beat Elementor Kit typography and link colors -------------------------
   Kit CSS (uploads/elementor/css/post-81.css) prints, on every page:
     .elementor-kit-81 h1 { color:#000000; }
     .elementor-kit-81 a  { color:#71624F; }
   Body always has class elementor-kit-81, so those beat .oh-hero__title and
   .oh-btn (one class). Do not change the Kit itself: black headings are
   correct on Stone page backgrounds. Re-assert light type on dark surfaces
   and white type on brown buttons. */
.elementor-kit-81 .oh-hero__title,
.elementor-kit-81 .oh-phero__title{color:#fff}
.elementor-kit-81 .oh-hero__lead{color:var(--oh-linen)}
.elementor-kit-81 .oh-phero__crumb a{color:var(--oh-linen)}
.elementor-kit-81 .oh-phero__crumb a:hover{color:#fff}
.elementor-kit-81 .oh-cta-band h1,
.elementor-kit-81 .oh-cta-band h2,
.elementor-kit-81 .oh-cta-band h3{color:#fff}
.elementor-kit-81 .oh-cta-band p{color:var(--oh-linen)}
.elementor-kit-81 .oh-footer h1,
.elementor-kit-81 .oh-footer h2,
.elementor-kit-81 .oh-footer h3,
.elementor-kit-81 .oh-footer .oh-footer__h{color:var(--oh-sand)}
.elementor-kit-81 .oh-footer a{color:#fff}
.elementor-kit-81 .oh-footer a:hover{color:var(--oh-sand)}
.elementor-kit-81 .oh-header a,
.elementor-kit-81 .oh-menu a{color:#fff}
.elementor-kit-81 .oh-menu a:hover,
.elementor-kit-81 .oh-menu .current-menu-item>a,
.elementor-kit-81 .oh-menu .current_page_item>a{color:var(--oh-sand)}
.elementor-kit-81 .oh-menu .oh-cta>a{color:var(--oh-sand)}
.elementor-kit-81 .oh-menu .oh-cta>a:hover{color:#000}
.elementor-kit-81 .oh-header__phone{color:var(--oh-linen)}
.elementor-kit-81 .oh-header__phone:hover{color:#fff}
.elementor-kit-81 .oh-btn,
.elementor-kit-81 .oh-btn:hover,
.elementor-kit-81 a.oh-btn,
.elementor-kit-81 a.oh-btn:hover,
.elementor-kit-81 .wp-block-button__link,
.elementor-kit-81 .wp-element-button,
.elementor-kit-81 a.wp-block-button__link,
.elementor-kit-81 a.wp-element-button{color:#fff}
.elementor-kit-81 .oh-btn--ghost,
.elementor-kit-81 a.oh-btn--ghost{color:#fff}
.elementor-kit-81 .oh-btn--ghost:hover,
.elementor-kit-81 a.oh-btn--ghost:hover{color:#000}
.elementor-kit-81 .is-style-outline>.wp-block-button__link,
.elementor-kit-81 .wp-block-button.is-style-outline .wp-block-button__link{color:var(--oh-black)}
.elementor-kit-81 .is-style-outline>.wp-block-button__link:hover,
.elementor-kit-81 .wp-block-button.is-style-outline .wp-block-button__link:hover{color:#fff}
.elementor-kit-81 .oh-content .wp-block-cover .wp-block-button__link{color:#fff}
.elementor-kit-81 .oh-content .wp-block-cover .wp-block-button__link:hover{color:#000}
.elementor-kit-81 .oh-content .wp-block-button__link[style*="#d0cbb7"]{color:#000!important}
