/* R13: portfolio-aligned identity. Avenir uses the installed system face; no font files redistributed. */
:root,html[data-theme="day"]{--bg:#fff;--ink:#171a18;--muted:#5c625f;--paper:#f1f4f2;--line:#dde2df;--gold:#087b39;--accent:#087b39;--cda-green:#06ec5c;--cda-deep:#171a18;--brand-font:"Avenir Next",Avenir,"Helvetica Neue",Arial,sans-serif}
html[data-theme="night"]{--bg:#171a18;--ink:#fff;--muted:#c1c8c3;--paper:#232824;--line:#444b46;--gold:#06ec5c;--accent:#06ec5c;--cda-green:#06ec5c;--cda-deep:#171a18}
html[data-theme] body,html[data-theme] h1,html[data-theme] h2,html[data-theme] h3,html[data-theme] h4,html[data-theme] p,html[data-theme] a,html[data-theme] span,html[data-theme] button,html[data-theme] input,html[data-theme] select,html[data-theme] textarea{font-family:var(--brand-font)}
h1,h2,h3{font-weight:500;letter-spacing:-.035em}html[data-theme] .brand{background:#fff;border:0;padding:10px 14px}html[data-theme] .brand img{width:190px;height:auto;max-height:65px;object-fit:contain}
html[data-theme] .solid-cta{background:#171a18;border:1px solid #171a18;color:#fff}html[data-theme="night"] .solid-cta{background:#06ec5c;border-color:#06ec5c;color:#171a18}html[data-theme] .solid-cta:hover{background:#06ec5c;border-color:#06ec5c;color:#171a18}
html[data-theme] .appearance button[aria-pressed=true],html[data-theme] .h-sector-nav a[aria-current=true],html[data-theme] .comparison-tools button[aria-pressed=true]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
html[data-theme] .h-studio,html[data-theme] .h-contact,html[data-theme] .contact{background:#171a18;color:#fff;border-color:#444b46}html[data-theme] .h-studio .eyebrow,html[data-theme] .h-contact .eyebrow,html[data-theme] .contact .eyebrow{color:#06ec5c}html[data-theme] .h-studio h2,html[data-theme] .h-contact h2{color:#fff}html[data-theme] .h-studio .h-textlink,html[data-theme] .h-contact .solid-cta{border-color:#06ec5c;color:#fff;background:transparent}
html[data-theme] .sector .number{background:#171a18;color:white;border-top:2px solid #06ec5c}html[data-theme="night"] .eyebrow,html[data-theme="night"] .h-meta p,html[data-theme="night"] .h-service-grid span{color:#bfc9c2}
html[data-theme] .h-opening h1{font-size:clamp(40px,5vw,72px);line-height:1.08;max-width:620px}html[data-theme] .experience-section-label p{font-family:var(--brand-font)}
html[data-theme] footer.brand-footer{background:#171a18;color:#fff;display:grid;grid-template-columns:1.1fr 1fr;gap:48px;padding:64px 7%;border-top:1px solid #444b46}
.footer-signoff img{width:210px;height:auto;background:#fff;padding:12px;box-sizing:content-box}.brand-footer .brand-slogan{font-size:clamp(30px,3.5vw,50px);line-height:1.2;letter-spacing:-.025em;margin:32px 0 20px}.brand-footer .brand-slogan strong{color:#06ec5c;font-weight:500}.footer-signoff>p:last-child{font-size:14px;color:#c1c8c3}.brand-contact-links{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-content:center}.brand-contact-links a{display:block;color:#fff;font-size:16px;overflow-wrap:anywhere;text-decoration:none;line-height:1.6}.brand-contact-links a span{display:block;text-transform:uppercase;color:#c1c8c3;font-size:10px;letter-spacing:1.2px;margin-bottom:5px}.brand-contact-links a:hover{text-decoration:underline;text-decoration-color:#06ec5c}.brand-footer .footer-address{grid-column:1/-1;border-top:1px solid #444b46;margin:0;padding-top:24px;color:#c1c8c3;font-size:13px;line-height:1.7}
.brand-proof,.brand-team,.brand-portfolios{padding:74px 7%;border-top:1px solid var(--line)}.brand-proof h2,.brand-team h2,.brand-portfolios h2{font-size:clamp(32px,4vw,52px);line-height:1.15;margin:18px 0 25px}.brand-proof>p:not(.eyebrow){max-width:760px;line-height:1.7}.brand-proof-grid,.brand-team-grid,.brand-portfolio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin-top:34px}.brand-proof figure{margin:0}.brand-proof img{width:100%;height:300px;object-fit:contain;background:#fff}.brand-proof figcaption{font-size:14px;line-height:1.8;margin-top:20px}.brand-team-grid img{width:100%;height:280px;object-fit:contain;object-position:center bottom}.brand-team-grid article{min-width:0}.brand-team h3{font-size:22px;margin:22px 0 15px}.brand-team .eyebrow{font-size:10px;line-height:1.7}.brand-team p:not(.eyebrow){font-size:15px;line-height:1.6}.evidence-caption,.brand-evidence-note{color:var(--muted);font-size:12px!important;line-height:1.7;margin-top:30px}.brand-evidence-note{padding:0 7% 40px}.brand-portfolio-grid a{border-top:1px solid var(--line);padding:24px 0;text-decoration:none;color:var(--ink)}.brand-portfolio-grid a:hover{border-color:var(--accent)}.brand-portfolio-grid span{font-size:11px;letter-spacing:.5px;color:var(--muted)}.brand-portfolio-grid h3{font-size:28px;margin:14px 0}.brand-portfolio-grid p{font-size:13px;color:var(--muted)}
html[data-theme] .h-card img[src="assets/brand-aech-exterior-alt.webp"]{aspect-ratio:16/9;object-fit:cover}html[data-theme] .album-aech .album-gallery img{object-fit:contain;background:var(--paper)}
@media(max-width:760px){html[data-theme] .brand img{width:150px}html[data-theme] footer.brand-footer{grid-template-columns:1fr;gap:30px;padding:44px 6%}.brand-contact-links{gap:22px 18px}.brand-contact-links a{font-size:15px}.brand-proof,.brand-team,.brand-portfolios{padding:44px 6%}.brand-proof-grid,.brand-team-grid{grid-template-columns:1fr;gap:38px}.brand-proof img{height:360px}.brand-team-grid img{height:300px}.brand-portfolio-grid{grid-template-columns:1fr 1fr;gap:15px}.brand-portfolio-grid h3{font-size:24px}.brand-team h3{margin-top:18px}.signature-slide h2{font-size:38px!important}.footer-signoff img{width:185px}}

html[data-theme] body :is(h1,h2,h3,h4,p,a,span,button,input,select,textarea,label,summary,figcaption){font-family:var(--brand-font)!important}
html[data-theme] .signature-slideshow{background:#171a18}html[data-theme] .signature-slideshow .slide-dots [aria-pressed=true]{background:#06ec5c;color:#171a18;border-color:#06ec5c}
html[data-theme="night"] .enquiry-form input,html[data-theme="night"] .enquiry-form select,html[data-theme="night"] .enquiry-form textarea,html[data-theme="night"] .draft-preview,html[data-theme="night"] .mobile-menu>div{background:#232824;color:#fff;border-color:#68726b}
html[data-theme="night"] .review-note{background:#171a18;color:#c1c8c3}
.brand-team-grid article:first-child img{object-fit:cover;object-position:center 35%;max-width:280px;display:block;margin:auto}

.brand-footer{letter-spacing:0}.brand-contact-links a{letter-spacing:0}
@media(max-width:480px){.brand-contact-links a:nth-last-child(-n+2){grid-column:1/-1}.brand-contact-links a{overflow-wrap:normal}}
