/* Consent validation is a second row, never a third flex column. */
body dialog.project-dialog-estimate .project-lead-form .form-type-checkbox{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:start;}
body :is(.asgard-webform,.project-lead-form) .form-type-checkbox>:is(.form-item--error-message,strong.error,label.error){grid-column:2;min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal;font-size:12px;line-height:1.5;color:#a02525;}
body dialog.project-dialog-estimate .project-lead-form [type=submit]{white-space:normal;max-width:100%;height:auto;line-height:1.4;}
/* Dialogs and confirmation states: actual viewport centering. */
body dialog.project-dialog[open],body dialog.asgard-dialog[open]{position:fixed;inset:0;margin:auto;transform:none;box-sizing:border-box;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);overflow:auto;}
body dialog.asgard-dialog{border:0;border-radius:var(--border-radius-lg);padding:36px;background:#fff;color:var(--color-text);box-shadow:var(--shadow-lg);}
body dialog.asgard-dialog--form,body dialog.project-dialog-estimate{width:480px;}
body dialog.asgard-dialog::backdrop{background:rgba(0,0,0,.7);}
body #callback-modal.open,body #calc-modal.is-open{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;overflow:auto;padding:20px;}
body #callback-modal>.modal-dialog,body #calc-modal>.calc-modal-dialog{position:relative;inset:auto;margin:auto;transform:none;box-sizing:border-box;max-width:100%;max-height:calc(100dvh - 40px);overflow:auto;}
body #callback-modal>.modal-dialog{width:480px;}
/* Calculator requests use the standard light, compact form, without page dimming. */
body #quiz-calculator #calc-modal{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;}
body #quiz-calculator #calc-modal>.calc-modal-dialog{width:480px;max-width:100%;flex:0 1 480px;background:#fff;color:#18382e;border:1px solid var(--color-border,#dce4df);box-shadow:var(--shadow-lg);}
body #quiz-calculator #calc-modal :is(.calc-modal-title,.calc-modal-close,.calc-label,.calc-field-label){color:var(--color-primary);}
body #quiz-calculator #calc-modal .calc-modal-title{padding-right:26px;}
body #quiz-calculator #calc-modal :is(.calc-modal-subtitle,.calc-consent-line,.calc-consent-line label){color:var(--color-text-muted);}
body #quiz-calculator #calc-modal .calc-modal-close:hover{color:var(--color-primary);background:#edf5f0;}
body #quiz-calculator #calc-modal :is(.calc-input,.calc-textarea){background:#fff;color:#18382e;border-color:#91ac9f;}
body #quiz-calculator #calc-modal :is(.calc-input,.calc-textarea)::placeholder{color:#64766d;opacity:1;}
body #quiz-calculator #calc-modal .calc-modal-summary{background:#f5f8f6;border-color:#dce4df;}
body #quiz-calculator #calc-modal .calc-spec-pill{background:#edf5f0;border-color:#bfd5c9;color:#50675d;}
body #quiz-calculator #calc-modal .calc-spec-pill strong{color:var(--color-primary);}
body #quiz-calculator #calc-modal .calc-spec-pill-accent{background:#e6f1ed;border-color:#91b6a7;}
body #quiz-calculator #calc-modal .calc-badge{color:var(--color-primary);background:#e6f1ed;border-color:#91b6a7;}
body .asgard-dialog h2{font-size:1.5rem;font-weight:800;line-height:1.2;color:var(--color-primary);margin:0 32px 8px 0;}
body .asgard-dialog form .form-item,body .project-dialog-estimate form .form-item{margin:0 0 20px;min-width:0;}
body .asgard-dialog form label,body .project-dialog-estimate form label{display:block;margin:0 0 8px;font-size:14px;font-weight:600;}
body :is(.asgard-dialog,.project-dialog-estimate) form textarea{display:block;resize:vertical;}
body :is(.asgard-dialog,.project-dialog-estimate) form .form-type-checkbox{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:start;}
body :is(.asgard-dialog,.project-dialog-estimate) form .form-type-checkbox input{width:18px;height:18px;margin-top:2px;accent-color:var(--color-primary);appearance:auto;}
body :is(.asgard-dialog,.project-dialog-estimate) form .form-type-checkbox label{font-size:12px;font-weight:400;line-height:1.5;}
body .asgard-honeypot{display:none;}
body .webform-confirmation,body .asgard-review-confirmation{outline:0;overflow-wrap:anywhere;}
body .webform-confirmation h3,body .asgard-review-confirmation h3{color:var(--color-primary);margin-bottom:12px;}
body .not-front .asgard-page-hero{background:transparent;border-bottom:0;box-shadow:none;}
.asgard-reviews-actions{margin-bottom:28px;}
.front #real-objects .projects-grid :is(.views-element-container,.view-content,.views-row){display:contents;}
.front #real-objects .projects-grid div.contextual{display:block;}
.asgard-album-photo-link{display:block;position:relative;color:inherit;}
.asgard-album-open{display:inline-flex;padding:12px 18px;border:1px solid #fff;border-radius:6px;color:white;font-weight:600;}
.asgard-album-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.asgard-album-card{height:100%;display:flex;flex-direction:column;}
.asgard-album-card .project-card-body{display:flex;flex-direction:column;flex:1;}
.asgard-album-card .project-card-body>.btn{margin-top:auto;align-self:flex-start;}
.asgard-album-card .project-img-thumb{display:block;aspect-ratio:4/3;}
.asgard-album-card .project-img-thumb img{display:block;width:100%;height:100%;object-fit:cover;}
.asgard-album-description{margin-bottom:32px;line-height:1.8;}
.asgard-album .field--name-field-album-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.asgard-album .field--name-field-album-photos img{display:block;width:100%;height:280px;object-fit:cover;border-radius:8px;}
@media(max-width:991px){.asgard-album-list,.asgard-album .field--name-field-album-photos{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){body dialog.asgard-dialog{padding:28px 20px;}body #callback-modal.open,body #calc-modal.is-open{padding:16px;}body #callback-modal>.modal-dialog,body #calc-modal>.calc-modal-dialog{max-height:calc(100dvh - 32px);}.asgard-album-list,.asgard-album .field--name-field-album-photos{grid-template-columns:1fr;}.asgard-album .field--name-field-album-photos img{height:auto;max-height:440px;object-fit:contain;}}

/* Explicit owner override: the reference had zero space above this heading. */
.front #iarrik.why-section{padding-top:70px;}
.front #projects-catalog .project-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}
body dialog.project-dialog-estimate{padding:36px;border-radius:var(--border-radius-lg);box-shadow:var(--shadow-lg);background:#fff;}
body :is(dialog.asgard-dialog,dialog.project-dialog-estimate)>.modal-close{position:absolute;right:16px;top:16px;inset-inline-start:auto;width:32px;height:32px;border:0;background:none;color:var(--color-text-muted);font-size:28px;line-height:1;padding:0;border-radius:0;box-shadow:none;}
.asgard-inner-listing .views-exposed-form{margin-bottom:32px;padding:24px;border:1px solid var(--color-border,#dce4df);border-radius:var(--border-radius-lg);background:var(--color-bg-light,#f8faf8);}
.asgard-inner-listing .views-exposed-form .form--inline{display:grid;grid-template-columns:minmax(160px,1.3fr) repeat(2,minmax(100px,1fr)) minmax(130px,1fr) auto;gap:16px;align-items:end;}
.asgard-inner-listing .views-exposed-form .form-item{float:none;margin:0;min-width:0;}
.asgard-inner-listing .views-exposed-form label{display:block;margin-bottom:8px;font-size:14px;font-weight:600;}
.asgard-inner-listing .views-exposed-form :is(select,input[type=text],input[type=number]){box-sizing:border-box;width:100%;min-width:0;height:48px;padding:10px 12px;border:1px solid var(--color-border,#dce4df);border-radius:var(--border-radius-md,6px);background:#fff;color:var(--color-text);font:inherit;}
.asgard-inner-listing .views-exposed-form :is(input,select):focus-visible{outline:2px solid var(--color-primary);outline-offset:2px;box-shadow:none;}
.asgard-inner-listing .views-exposed-form .form-actions{display:flex;gap:8px;margin:0;align-items:center;}
.asgard-inner-listing .views-exposed-form [type=submit]{height:48px;padding:10px 16px;border:1px solid var(--color-primary);border-radius:var(--border-radius-md,6px);background:var(--color-primary);color:#fff;font:inherit;font-weight:600;cursor:pointer;}
.asgard-inner-listing .views-exposed-form [data-drupal-selector=edit-reset]{background:transparent;color:var(--color-primary);}
.asgard-catalog-empty{grid-column:1/-1;padding:24px 0;}
.asgard-simple-page .asgard-readable-copy{max-width:none;font-size:18px;line-height:1.75;overflow-wrap:anywhere;}
.asgard-readable-copy p{margin:0 0 20px;}
.asgard-readable-copy :is(h2,h3){color:var(--color-primary);font-weight:700;line-height:1.3;margin:36px 0 16px;}
.asgard-readable-copy h2{font-size:28px;}.asgard-readable-copy h3{font-size:23px;}
.asgard-readable-copy :is(ul,ol){margin:0 0 24px;padding-left:1.4em;}.asgard-readable-copy ul{list-style:disc;}.asgard-readable-copy ol{list-style:decimal;}.asgard-readable-copy li{display:list-item;margin:8px 0;}
.asgard-simple-page .field--name-field-page-gallery{max-width:900px;margin-top:32px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:24px;}
.asgard-simple-page .field--name-field-page-gallery img{display:block;max-width:100%;height:auto;max-height:640px;object-fit:contain;}
@media(max-width:1000px){.asgard-inner-listing .views-exposed-form .form--inline{grid-template-columns:repeat(2,minmax(0,1fr));}.asgard-inner-listing .views-exposed-form .form-actions{grid-column:1/-1;}}
@media(max-width:640px){.front #iarrik.why-section{padding-top:40px;}.asgard-inner-listing .views-exposed-form{padding:20px;}.asgard-simple-page .asgard-readable-copy{font-size:16px;line-height:1.75;}.asgard-readable-copy h2{font-size:25px;}.asgard-readable-copy h3{font-size:21px;}}
@media(max-width:420px){.asgard-inner-listing .views-exposed-form .form--inline{grid-template-columns:1fr;}}

body :is(.asgard-dialog,.project-dialog-estimate) form .form-actions{margin:0;}
body :is(.asgard-dialog,.project-dialog-estimate) form .form-type-checkbox label{margin:0;}
@media(max-width:640px){body dialog.asgard-dialog{padding:36px;}}
/* Prose pages use the body field without the legacy boxed field decoration. */
body .asgard-simple-page .asgard-readable-copy .field--name-body{padding:0;margin:0;border:0;border-radius:0;background:none;box-shadow:none;font-size:inherit;line-height:inherit;}
body .asgard-simple-page .asgard-readable-copy .field--name-body p{font-size:inherit;line-height:inherit;}
body .asgard-simple-page .asgard-readable-copy .field--name-body>:first-child{margin-top:0;}
.front #real-objects button.project-cta-btn{border:0;cursor:pointer;}
/* Native form controls and long headings must not expand mobile grid tracks. */
.hero-content,.hero-slide,.cta-grid>*,.cta-form-card .webform-ajax-form-wrapper{min-width:0;}
@media(max-width:360px){.hero-section .hero-title,.hero-section .hero-title p{font-size:32px;overflow-wrap:anywhere;}#calc-mobile-open-modal{min-width:0;padding-inline:12px;font-size:14px;white-space:normal;}.cta-form-card [type=submit]{font-size:14px;padding-inline:12px;max-width:100%;}}


/* Plain native system output (404/403 and ordinary content without its own layout). */
.asgard-site.not-front #block-vesta-theme-content:not(:has(.container,.calc-container)){box-sizing:border-box;width:100%;max-width:1240px;margin-inline:auto;padding-inline:20px;color:var(--color-text);font-size:16px;line-height:1.75;overflow-wrap:anywhere;}
.asgard-site.not-front #block-vesta-theme-content:not(:has(.container,.calc-container)) p{margin:0 0 18px;}
.asgard-site.not-front #block-vesta-theme-content:not(:has(.container,.calc-container)) a:not(.btn){color:var(--color-primary);text-decoration:underline;text-underline-offset:3px;}
.asgard-site.not-front .asgard-consent-page .field--name-body>h2:first-child{margin-top:0;font-size:26px;line-height:1.35;}
.asgard-site.not-front .asgard-consent-page .field--name-body>ol{margin:0;padding-left:1.75em;list-style:decimal;}
.asgard-site.not-front .asgard-consent-page .field--name-body>ol>li{margin:0 0 24px;padding-left:6px;}
.asgard-site.not-front .asgard-consent-page .field--name-body>ol p{margin:0 0 14px;}
.asgard-site.not-front .asgard-consent-page .field--name-body>ol ul{list-style:disc;margin:12px 0 18px;padding-left:1.35em;}
.asgard-site.not-front .asgard-consent-page .field--name-body>ol ul li{margin:6px 0;}
@media(max-width:640px){.asgard-site.not-front .asgard-consent-page .field--name-body>h2:first-child{font-size:22px;}.asgard-site.not-front .asgard-consent-page .field--name-body>ol{padding-left:1.4em;}}

.front #real-objects .projects-more-btn{max-width:100%;white-space:normal;text-align:center;}
.front #real-objects .projects-more-btn span{min-width:0;}
@media(max-width:480px){.front #real-objects .projects-more-btn{padding:14px 18px;}}
