/*
Theme Name: CLAH Architecture
Text Domain: clah-architecture
Description: CLAH corporate website from the CLAH Penpot v2 design.
Version: 1.0.12
Requires at least: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
WPVibe: yes
*/
:root{color-scheme:light;--ink:#171917;--muted:#535b54;--paper:#fff;--warm:#f5f4f0;--line:#d5d9d2;--dark:#202720;--dark-mut:#dce2da;--orange:#f7941d;--field:#737d74;--error:#972b25;--heading:Manrope,Arial,sans-serif;--body:"DM Sans",Arial,sans-serif;--gutter:clamp(1.5rem,5.55vw,5rem)}
*,*::before,*::after{box-sizing:border-box}
html{
  --clah-header-height:85px;
  --clah-header-compact:65px;
  --clah-admin-offset:0px;
  scroll-padding-top:calc(var(--clah-header-compact) + var(--clah-admin-offset) + 12px);
}
html:has(body.admin-bar){--clah-admin-offset:32px}
body.clah-site{margin:0;background:var(--paper);color:var(--ink);font:400 1rem/1.55 var(--body)}
[hidden]{display:none!important}
a{color:inherit}
img{max-width:100%;height:auto;vertical-align:middle}
h1,h2,h3{font-family:var(--heading);letter-spacing:-.032em;margin:0;font-weight:800}
h1{font-size:clamp(2.35rem,4.05vw,4rem);line-height:1.1}
h2{font-size:clamp(1.9rem,3.2vw,2.8rem);line-height:1.13}
h3{font-size:1.375rem;line-height:1.23}
p,figure{margin:0}
button,input,select,textarea{font:inherit;color:inherit}
button,summary{cursor:pointer}
:focus-visible{outline:3px solid #714208;outline-offset:4px}
.tone-dark :focus-visible,.clah-footer :focus-visible{outline-color:#ffc47d}
.clah-wrap{width:100%;max-width:1440px;margin-inline:auto;padding-inline:var(--gutter)}
.clah-sr,.clah-trap,.clah-skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.clah-skip:focus{position:fixed;z-index:50;top:1rem;left:1rem;background:var(--paper);padding:.75rem}
.clah-header{
  --clah-current-header-height:var(--clah-header-height);
  position:sticky;
  top:var(--clah-admin-offset);
  z-index:20;
  background:var(--paper);
  box-shadow:0 1px 0 var(--line);
  /* Reserve the expanded height so crossing the compact threshold does not move the page. */
  margin-bottom:calc(var(--clah-header-height) - var(--clah-current-header-height));
}
.clah-header.is-compact{
  --clah-current-header-height:var(--clah-header-compact);
  box-shadow:0 1px 0 var(--line),0 5px 16px #20272012;
}
.clah-header-inner{min-height:var(--clah-current-header-height);display:flex;align-items:center;gap:1.2rem}
.clah-brand{display:inline-flex;align-items:center;gap:.6rem;text-decoration:none;font:800 1.55rem/1 var(--heading);margin-right:auto;white-space:nowrap}
.clah-brand img{width:34px;height:39px;object-fit:contain}
.clah-header.is-compact .clah-brand img{width:28px;height:32px}
.clah-desktop-nav{display:flex;align-items:center;gap:clamp(.62rem,1.35vw,1.25rem)}
.clah-desktop-nav a{display:flex;align-items:center;min-height:44px;padding:1rem 0;font-size:.875rem;white-space:nowrap;position:relative;text-decoration:none}
.clah-header.is-compact .clah-desktop-nav a{padding:.48rem 0}
.clah-desktop-nav a:hover,.clah-desktop-nav a[aria-current]{text-decoration:underline;text-decoration-color:var(--orange);text-decoration-thickness:2px;text-underline-offset:.64rem}
.clah-button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;border:1px solid transparent;border-radius:3px;padding:.7rem 1.17rem;font-weight:700;font-size:.94rem;line-height:1.3;text-decoration:none;text-align:center}
.clah-button.is-primary{background:var(--orange);color:var(--ink)}
.clah-button.is-primary:hover{background:#ffac47}
.clah-button.is-secondary{background:transparent;border-color:var(--field);color:var(--ink)}
.clah-button.is-secondary:hover{background:var(--warm)}
.tone-dark .clah-button.is-secondary{border-color:#a6aea5;color:var(--paper)}
.tone-dark .clah-button.is-secondary:hover{background:#353e36}
.clah-button:disabled{background:#e3e7df;color:#535b54;cursor:wait}
.clah-header-cta{white-space:nowrap}
.clah-header.is-compact .clah-header-cta{min-height:44px;padding:.48rem .9rem}
.clah-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-top:1.5rem}
.clah-mobile-menu{display:none}
.clah-hero{padding-block:clamp(3rem,5.2vw,4.7rem) clamp(2.8rem,5vw,4.55rem)}
.clah-hero-layout{display:grid;gap:2.55rem;align-items:start}
.clah-hero.has-photo .clah-hero-layout{grid-template-columns:1.02fr 1fr}
.clah-hero:not(.has-photo) .clah-hero-copy{max-width:63rem}
.clah-hero.has-photo h1{font-size:clamp(2.3rem,3.53vw,3.4rem)}
.clah-label{font-size:.78rem;font-weight:700;line-height:1.45;color:#3d4840;margin-bottom:.8rem;letter-spacing:.015em}
.clah-intro{color:var(--muted);font-size:clamp(1rem,1.43vw,1.2rem);margin-top:1.4rem;max-width:46rem}
.clah-photo {
  --clah-editorial-logo:url("/wp-content/uploads/2026/11/CLAH-logo.png");
  --photo-logo-inset:clamp(.45rem,.9vw,.8rem);
  --photo-logo-padding:0px;
  position:relative;
}
.clah-photo::after {
  content:"";
  position:absolute;
  inset-block-start:calc(var(--photo-logo-padding) + var(--photo-logo-inset));
  inset-inline-end:calc(var(--photo-logo-padding) + var(--photo-logo-inset));
  width:clamp(2rem,4.2vw,3.3rem);
  aspect-ratio:1;
  border-radius:4px;
  background:rgba(31,39,31,.9) var(--clah-editorial-logo) center / 86% no-repeat;
  pointer-events:none;
}
.clah-photo img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:2px;background:var(--warm)}
.clah-photo.clah-photo-contained.clah-photo-stamped img{object-position:center top}
.clah-hero .clah-photo img{aspect-ratio:1.36}
.clah-photo figcaption{font-size:.78rem;color:var(--muted);margin-top:.44rem}
.clah-section{padding-block:clamp(2.8rem,5vw,4.1rem)}
.tone-warm{background:var(--warm)}
.tone-dark{background:var(--dark);color:var(--paper)}
.tone-dark .clah-label{color:#ffc47d}
.tone-dark .clah-section-heading>p:last-child{color:var(--dark-mut)}
.clah-section-heading{max-width:58rem;margin-bottom:1.75rem}
.clah-section-heading h2+p{margin-top:.8rem;color:var(--muted);font-size:1.045rem;max-width:46rem}
.clah-grid{display:grid;gap:1.15rem;grid-template-columns:repeat(2,minmax(0,1fr))}
.clah-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.clah-card{border:1px solid var(--line);border-radius:3px;background:var(--paper);display:flex;flex-direction:column;min-width:0}
.clah-card .clah-photo{--photo-logo-padding:1.05rem;padding:1.05rem 1.05rem 0}
.clah-card-body{padding:1.4rem;flex:1;display:flex;flex-direction:column;align-items:flex-start}
.clah-card-body :is(h3,.clah-label){overflow-wrap:anywhere}
.clah-card-body>p:not(.clah-label){margin-top:.65rem;color:var(--muted)}
.clah-card-body .clah-actions{margin-top:auto;padding-top:1rem}
.clah-card-body .clah-label{margin-bottom:.5rem}
.clah-org{display:grid;gap:2.1rem}
.clah-parent{width:min(100%,35rem);margin-inline:auto;position:relative}
.clah-parent::after{content:"";position:absolute;width:1px;height:2.2rem;left:50%;background:var(--field)}
.clah-card-inverse{background:var(--dark);border-color:var(--dark);color:var(--paper)}
.clah-card-inverse .clah-label{color:#ffc47d}
.clah-card-inverse .clah-card-body>p:not(.clah-label){color:var(--dark-mut)}
.clah-org-branches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.15rem;position:relative}
.clah-org-branches::before{content:"";position:absolute;left:25%;right:25%;height:1px;background:var(--field)}
.clah-branch{display:grid;gap:1rem;padding-top:1rem;position:relative;grid-template-rows:1fr 1fr}
.clah-branch::before{content:"";position:absolute;left:50%;width:1px;height:1rem;background:var(--field)}
.clah-network{background:#eef0eb}
.clah-org-with-brands {
  --org-line:#879287;
  --org-branch-gap:clamp(1rem,2.4vw,2rem);
  --org-parent-gap:clamp(1.25rem,3vw,2rem);
  --org-row-gap:1.5rem;
  row-gap:var(--org-parent-gap);
}
.clah-org-with-brands .clah-parent::after,
.clah-org-with-brands .clah-brand-branch::before,
.clah-product-node::before {
  position:absolute;
  inset-inline-start:50%;
  width:1px;
  transform:translateX(-50%);
  background:var(--org-line);
}
.clah-org-with-brands .clah-parent::after {
  top:100%;
  height:var(--org-parent-gap);
}
.clah-org-with-brands .clah-org-branches {
  grid-template-rows:repeat(3,auto);
  gap:var(--org-row-gap) var(--org-branch-gap);
  padding-top:var(--org-row-gap);
}
.clah-org-with-brands .clah-org-branches::before {
  top:0;
  left:50%;
  right:auto;
  width:calc((100% + var(--org-branch-gap)) / 2);
  transform:translateX(-50%);
  background:var(--org-line);
}
.clah-org-with-brands .clah-brand-branch {
  grid-row:span 3;
  grid-template-rows:repeat(3,auto);
  row-gap:var(--org-row-gap);
  padding:0;
  min-width:0;
}
@supports (grid-template-rows:subgrid) {
  .clah-org-with-brands .clah-brand-branch{grid-template-rows:subgrid}
}
.clah-org-with-brands .clah-brand-branch::before {
  top:calc(-1 * var(--org-row-gap));
  height:var(--org-row-gap);
}
.clah-product-node {
  position:relative;
  background:#fffbf5;
  border-color:#ddcfb9;
}
.clah-product-node .clah-label{color:#654a2c}
.clah-product-node::before {
  content:"";
  bottom:100%;
  height:calc(var(--org-row-gap) + 1px);
}
.clah-process-list{margin:0;padding:0;display:grid;grid-template-columns:repeat(var(--clah-process-columns,4),minmax(0,1fr));gap:1.5rem;list-style:none;counter-reset:clah-step}
.clah-process-list.clah-process-five{--clah-process-columns:5}
.clah-process-list li{border-top:1px solid var(--field);padding:1rem 0;counter-increment:clah-step}
.clah-process-list li::before{content:counter(clah-step,decimal-leading-zero);font-weight:700;display:block;margin-bottom:.6rem}
.clah-process-list p{margin-top:.5rem;color:var(--muted)}
.clah-rows{margin:0;border-top:1px solid var(--line)}
.clah-rows>div{display:grid;grid-template-columns:minmax(10rem,.35fr) 1fr;gap:1rem;padding:1.1rem;border:1px solid var(--line);border-top:0}
.clah-rows dt{font-weight:700}
.clah-rows dd{margin:0;color:var(--muted)}
.clah-editor-content .wp-block-group:not(.clah-actions){margin-block:0}
.clah-editor-content .clah-section-heading{margin-bottom:1.75rem!important}
.clah-editor-content .wp-block-group.clah-parent{margin-inline:auto}
.clah-editor-content .clah-hero,.clah-editor-content .clah-section,.clah-editor-content .clah-actions{max-width:none}
.clah-editor-content .clah-actions>.wp-block-button,.clah-editor-content .clah-photo{margin:0}
.clah-editor-content .wp-block-button .clah-button{min-height:52px;box-sizing:border-box;padding:.7rem 1.17rem;border-radius:3px;font-weight:700;font-size:.94rem}
.clah-editor-content .clah-card .clah-actions{margin-top:auto}
.clah-editor-content .clah-spec-table{margin:0}
.clah-editor-content .clah-spec-table td{border-color:var(--line);padding:1.1rem;vertical-align:top}
.clah-editor-content .clah-spec-table td:first-child{width:26%;font-weight:700}
.clah-editor-content .clah-spec-table td+td{color:var(--muted)}
.clah-process-list>.clah-step{border-top:1px solid var(--field);padding:1rem 0;counter-increment:clah-step}
.clah-process-list>.clah-step::before{content:counter(clah-step,decimal-leading-zero);font-weight:700;display:block;margin-bottom:.6rem}
.clah-faq-list{max-width:58rem;border-block-start:1px solid var(--line)}
.clah-faq-list>.wp-block-details{margin:0;border-block-end:1px solid var(--line)}
.clah-faq-list>.wp-block-details>summary{min-height:48px;padding:.9rem .55rem;font-weight:700;overflow-wrap:anywhere}
.clah-faq-list>.wp-block-details>summary:focus-visible{outline-offset:-3px}
.clah-faq-list>.wp-block-details>p{max-width:65ch;margin:0;padding:0 .55rem 1rem;color:var(--muted)}
.clah-section.clah-developing{padding-block:clamp(2rem,3.4vw,3rem)}
.clah-developing h2{font-size:clamp(1.5rem,2.3vw,2rem)}
.clah-developing .clah-card{background:transparent}
.clah-developing .clah-card-body{padding:1.15rem}
.clah-form{max-width:56rem}
.clah-form fieldset{padding:0;border:0;margin:0 0 1.75rem;min-width:0}
.clah-step-label{font-weight:700;padding:0;margin-bottom:1.25rem}
.clah-fields{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem}
.clah-field{display:grid;gap:.35rem;align-content:start;min-width:0}
.clah-field label{font-weight:700}
.clah-field-full{grid-column:1/-1}
.clah-field input:not([type=checkbox]),.clah-field select,.clah-field textarea{border:1px solid var(--field);border-radius:3px;background:var(--paper);padding:.78rem .88rem;width:100%;min-height:52px}
.clah-field input[type=file]{padding:.55rem}
.clah-field input::file-selector-button{font:inherit;padding:.37rem .7rem;border:0;background:var(--warm);margin-right:.75rem}
.clah-field :is(input,select,textarea)[aria-invalid=true]{border-color:var(--error);box-shadow:inset 0 0 0 1px var(--error)}
.clah-field-hint{color:var(--muted)}
.clah-field-error{color:var(--error);font-weight:700}
.clah-field-hint:empty,.clah-field-error:empty{display:none}
.clah-check{display:flex;gap:.55rem;align-items:flex-start}
.clah-check input{width:1.35rem;height:1.35rem;accent-color:var(--dark);margin:.08rem 0 0;flex:none}
.clah-field a,.clah-text-button{justify-self:start}
.clah-text-button{background:none;border:0;padding:.3rem 0;font-weight:700;text-decoration:underline}
.clah-message{padding:.9rem 1rem;margin-bottom:1.25rem;border:1px solid var(--line);border-radius:3px}
.clah-message.is-error{border-color:#ae514b;color:var(--error);background:#fff6f4}
.clah-message.is-success{border-color:#78a186;background:#eef7ef;color:#23533b}
.clah-footer{background:var(--dark);color:var(--paper);padding-block:2.6rem 1.8rem}
.clah-footer-layout{display:grid;grid-template-columns:1fr 2fr;gap:1.4rem}
.clah-footer-brand{font:800 1.7rem/1 var(--heading);text-decoration:none}
.clah-footer p{color:var(--dark-mut);margin-top:.6rem}
.clah-footer nav{display:flex;gap:.75rem 1.35rem;flex-wrap:wrap;font-weight:600}
.clah-footer nav a{text-decoration:none}
.clah-footer nav a:hover{text-decoration:underline}
.clah-copyright{grid-column:1/-1;font-size:.85rem}
.clah-native-page{padding-block:4rem}
.clah-native-page h1{margin-bottom:1.4rem}
@media(max-width:1075px){
 html{--clah-header-height:72px;--clah-header-compact:56px}
 .clah-desktop-nav,.clah-header-cta{display:none}.clah-mobile-menu{display:block}
 .clah-mobile-menu>summary{display:grid;place-items:center;border:1px solid var(--field);min-height:46px;min-width:74px;border-radius:3px;font-weight:700;list-style:none}
 .clah-header.is-compact .clah-mobile-menu>summary{min-height:44px;min-width:68px}
 .clah-mobile-menu summary::-webkit-details-marker{display:none}
 .clah-menu-panel{background:var(--paper);position:absolute;right:0;left:0;top:100%;max-height:75vh;max-height:min(75dvh,calc(100dvh - var(--clah-current-header-height) - var(--clah-admin-offset) - 8px));overflow:auto;overscroll-behavior:contain;border-block:1px solid var(--line);padding:1.1rem var(--gutter) 1.5rem;box-shadow:0 7px 16px #20272018}
 .clah-menu-panel>.clah-actions{margin:0 0 .8rem}
 .clah-menu-panel>a,.clah-menu-group summary,.clah-menu-group>a{display:block;padding:.75rem 0;font-weight:600;text-decoration:none}
 .clah-menu-panel>a,.clah-menu-group{border-bottom:1px solid var(--line)}
 .clah-menu-group>a{padding-left:1.25rem}
 .clah-grid.cols-3,.clah-process-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:782px){html:has(body.admin-bar){--clah-admin-offset:46px}}
@media(max-width:700px){
 .clah-hero.has-photo .clah-hero-layout,.clah-grid,.clah-grid.cols-3,.clah-process-list,.clah-org-branches,.clah-fields,.clah-footer-layout{grid-template-columns:1fr}
 .clah-hero-layout{gap:1.65rem}.clah-hero.has-photo h1{font-size:clamp(2.3rem,9.3vw,3rem)}
 .clah-hero .clah-photo img{aspect-ratio:3/2}
 .clah-actions>.clah-button{width:100%}
 .clah-editor-content .clah-actions>.wp-block-button,.clah-editor-content .clah-actions>.wp-block-button>.clah-button{width:100%}
 .clah-org{gap:1.4rem}.clah-parent::after{height:1.45rem}.clah-org-branches::before,.clah-branch::before{display:none}.clah-branch{padding:0;grid-template-rows:auto}
 .clah-org-with-brands {
   --org-inset:1.25rem;
   --org-junction:1.6rem;
   --org-row-gap:1rem;
   --org-mobile-gap:1.75rem;
   row-gap:var(--org-parent-gap);
 }
 .clah-org-with-brands .clah-parent{width:100%}
 .clah-org-with-brands .clah-parent::after {
   inset-inline-start:calc(var(--org-inset) / 2);
   height:var(--org-parent-gap);
 }
 .clah-org-with-brands .clah-org-branches {
   grid-template-rows:none;
   row-gap:var(--org-mobile-gap);
   padding-block-start:0;
   padding-inline-start:var(--org-inset);
 }
 .clah-org-with-brands .clah-brand-branch {
   grid-row:auto;
   grid-template-rows:auto;
 }
 .clah-org-with-brands .clah-brand-branch::before {
   display:block;
   inset-inline-start:calc(-1 * var(--org-inset) / 2);
   top:var(--org-junction);
   width:calc(var(--org-inset) / 2);
   height:1px;
   transform:none;
 }
 .clah-org-with-brands .clah-brand-branch::after {
   content:"";
   position:absolute;
   inset-inline-start:calc(-1 * var(--org-inset) / 2);
   top:0;
   width:1px;
   height:var(--org-junction);
   background:var(--org-line);
   transform:translateX(-50%);
 }
 .clah-org-with-brands .clah-brand-branch:first-child::after {
   height:calc(100% + var(--org-mobile-gap));
 }
 .clah-rows>div{grid-template-columns:1fr;gap:.35rem}
 .clah-process-list li{display:grid;grid-template-columns:2rem 1fr;column-gap:.65rem}.clah-process-list p{grid-column:2}.clah-process-list li::before{margin:0}
 .clah-process-list>.clah-step{display:grid;grid-template-columns:2rem 1fr;column-gap:.65rem}
 .clah-process-list>.clah-step::before{margin:0}
 .clah-editor-content .clah-spec-table td{padding:.75rem}
}
@media(max-width:600px){html:has(body.admin-bar){--clah-admin-offset:0px}}
