/* Precision in Red: visual theme only. Content,media and interactions stay in place. */
:root{
  --brand-red: #e6002b;
  --brand-red-hover: #c70025;
  --ink: #1d2026;
  --body-ink: #515b69;
  --muted-ink: #68707a;
  --paper: #e9ebee;
  --surface: #dfe3e8;
  --line: #d9dee4;
  --heading-font: 'Manrope', Arial, Helvetica, sans-serif;
  --body-font: 'Inter', Arial, Helvetica, sans-serif;
}
html{ color-scheme: light; scroll-padding-top: 100px; }
body{ background: var(--paper) !important; color: var(--ink) !important; font-family: var(--body-font) !important; }
.site{ background: var(--paper); }
h1,h2,h3,h4{
  color: var(--ink) !important;
  font-family: var(--heading-font) !important;
  font-weight: 800 !important;
  letter-spacing: -.045em;
}
h1{ line-height: 1.08; }
h2{ line-height: 1.13; }
h3,h4{ font-weight: 700 !important; line-height: 1.22; }
h1 *,h2 *,h3 *,h4 *{ color: inherit !important; }
p,li,dt,dd,label,legend,figcaption{ color: var(--body-ink) !important; }
button,input,select,textarea,a{ font-family: var(--body-font) !important; }
a{ color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 5px; }
button{ color: var(--ink); }
button,a,input,select,textarea{ -webkit-tap-highlight-color: transparent; }
:is(button, a, input, select, textarea, summary):focus-visible{
  outline: 2px solid var(--ink) !important;
  outline-offset: 4px;
}
.site-header{
  position: sticky !important;
  top: 12px !important;
  z-index: 100 !important;
  width: min(1280px, calc(100% - 40px));
  height: auto !important;
  margin: 12px auto 0;
  background: linear-gradient(125deg, rgba(255,255,255,.66), rgba(255,255,255,.20) 48%, rgba(202,215,234,.38)) !important;
  color: var(--ink) !important;
  border: 1px solid rgba(255,255,255,.82) !important;
  border-radius: 22px;
  box-shadow: 0 10px 32px rgb(36 49 66 / 10%), 0 0 0 1px rgb(154 172 196 / 12%), inset 0 1px 0 rgb(255 255 255 / 95%), inset 0 -1px 0 rgb(255 255 255 / 38%) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.site-header::before{
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  -webkit-backdrop-filter: blur(28px) saturate(175%);
  backdrop-filter: blur(28px) saturate(175%);
}
.site-header .header-inner{
  width: calc(100% - 40px) !important;
  height: 76px !important;
  min-height: 76px !important;
  gap: 20px !important;
}
.site-header .brand{ display: flex; align-items: center; flex: 0 0 48px; width: 48px; height: 48px; }
/* Viewport onto the existing PNG's emblem; source artwork is unchanged. */
.brand-mark{ display: block; position: relative; width: 48px; height: 46px; overflow: hidden; }
.brand-mark img{ position: absolute; width: 260.64px; height: 86.88px; max-width: none; left: -105.5px; top: -4px; }
.site-header .desktop-nav{ display: flex !important; align-items: center; gap: clamp(16px,2.3vw,32px); }
.site-header .desktop-nav a{ font-size: 12px; text-decoration: none; }
.site-header :is(.menu-button,.mobile-menu-button){ display: none !important; }
.brand{ color: var(--ink) !important; font-family: var(--heading-font) !important; font-weight: 800; }
.brand small{ color: var(--ink) !important; font-family: var(--body-font); font-weight: 600; }
.desktop-nav a,.mobile-nav a{ color: var(--ink) !important; font-weight: 500; }
.desktop-nav a[aria-current='page']{
  border-bottom: 2px solid var(--brand-red) !important;
}
.desktop-nav :is(.nav-contact,[href*='/contact/']),.mobile-nav :is(.nav-contact,[href*='/contact/']){
  background: var(--brand-red) !important;
  color: white !important;
  border-radius: 2px;
  padding: 11px 18px;
}
.site-header .mobile-nav{
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: 0 !important;
  padding: 12px 20px !important;
  max-height: calc(100dvh - 110px);
  overflow-y: auto;
  background: linear-gradient(125deg, rgba(255,255,255,.80), rgba(244,248,255,.64)) !important;
  border: 1px solid #ffffff !important;
  border-radius: 18px;
  box-shadow: 0 12px 30px #24314218;
  -webkit-backdrop-filter: blur(28px) saturate(175%);
  backdrop-filter: blur(28px) saturate(175%);
}
.site-header .mobile-nav[hidden]{ display: none !important; }
.site-header .mobile-nav:not([hidden]),.mobile-nav-links{ display: grid !important; grid-template-columns: 1fr !important; gap: 2px; }
.site-header .mobile-nav a{ display: flex; align-items: center; min-height: 46px; padding: 10px 12px; border-bottom: 0; border-radius: 8px; text-decoration: none; }
.site-header .mobile-nav a[aria-current='page']:not(.nav-contact){ background: #e9edf2; }
.menu-button,.mobile-menu-button{
  color: var(--ink) !important;
  background: rgba(255,255,255,.36) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px;
  font-weight: 600;
}
.btn,.hero .btn,.closing .btn{
  color: white !important;
  background: var(--brand-red) !important;
  border: 1px solid var(--brand-red) !important;
  border-radius: 2px;
  font-weight: 600;
  box-shadow: none !important;
  transition: background-color .18s ease, border-color .18s ease;
}
.btn *,.nav-contact *{ color: white !important; }
.btn:hover,.hero .btn:hover,.closing .btn:hover,.desktop-nav :is(.nav-contact,[href*='/contact/']):hover{
  background: var(--brand-red-hover) !important;
  border-color: var(--brand-red-hover) !important;
}
.btn.secondary,.hero .btn.secondary,.closing .btn.secondary{
  color: var(--ink) !important;
  background: transparent !important;
  border: 1px solid var(--line) !important;
}
.btn.secondary:hover{ background: var(--surface) !important; border-color: var(--ink) !important; }
.text-link{ color: var(--ink) !important; font-weight: 600; }
.text-link:hover{ text-decoration-color: var(--brand-red); }
.eyebrow,.hero-scope,.hero-foot,.section-meta,.section-meta *,.small-note,.closing-note,.number,.principle-no,.list-no,.step-number,.deck-number,.deck-hint,.next-label,.step-count,.card-number,.field-help,.optional,.field-error,.equipment-line,.hero-caption,.hero-caption *,.group-label,.application-tab,.application-trigger{
  color: var(--muted-ink) !important;
}
.eyebrow,.group-label{ letter-spacing: .09em; font-weight: 600; }
.section,.stage-section{ background: var(--paper); }
.alt,.stage-index,.jump-strip,.process-card{ background: var(--surface) !important; }
.gallery,.copy-stage{ color: var(--body-ink) !important; background: var(--paper) !important; }
.application-index button,.application-index a,.mobile-application-trigger,.panel-caption,.gallery-caption,.scope-note,.hero-note,.founder-role{ color: var(--body-ink) !important; }
.application-index button[aria-current='true'],.application-index button[aria-current='page'],.mobile-application-trigger[aria-expanded='true']{ color: var(--ink) !important; box-shadow: inset 3px 0 var(--brand-red); }
#commercial .section-intro,#residential .section-intro{ background: var(--surface) !important; border-color: var(--line) !important; }
.section.alt,.section.residential,.contact-opening,.approach-opening,.founder-section{
  background: var(--surface) !important;
}
/* Large,quiet planes add architectural rhythm without adding image assets. */
.section.alt,.approach-opening,.founder-section,.contact-opening{
  position: relative;
  isolation: isolate;
}
.section.alt::before,.approach-opening::before,.founder-section::before,.contact-opening::before{
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--paper);
  clip-path: polygon(75% 0,100% 0,100% 18%,88% 18%,88% 38%,75% 38%);
}
.section-intro p,.lead,.founder-bio,.hero .lead,.hero-copy > p,.benefit-copy p,.application-summary{ color: var(--body-ink) !important; }
.hero{
  background: var(--paper) !important;
  color: var(--ink) !important;
}
.hero::after{ background: none !important; }
.hero-copy,.hero-content{ position: relative; z-index: 3; }
.hero-art,.hero-backgrounds{ color: #798491 !important; filter: grayscale(1); }
/* Keep the existing storyboard; only its colour and canvas treatment change. */
body[data-theme-page='home'] .hero{ margin-top: 0; padding-top: 64px; min-height: calc(100svh - 80px); }
body[data-theme-page='home'] .hero-art{ opacity: .6; }
body[data-theme-page='home'] .hero-art::before{
  content: '';
  position: absolute;
  inset: 10% 4% 8% 8%;
  z-index: -1;
  background: var(--surface);
  clip-path: polygon(30% 0,100% 0,100% 100%,0 100%,0 30%,30% 30%);
}
.hero-player{ color: var(--ink); }
.player-top button,.hero .control{
  background: var(--paper) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
  border-radius: 2px;
}
.stage-controls{ border-color: var(--line) !important; }
.stage-button{ color: var(--muted-ink) !important; }
.stage-button span{ color: inherit !important; }
.stage-button[aria-pressed='true']{ border-color: var(--brand-red) !important; color: var(--ink) !important; }
.scroll-cue{ color: var(--muted-ink) !important; }
body[data-theme-page='hvac-solutions'] .hero-backgrounds{ opacity: .24; }
body[data-theme-page='hvac-solutions'] .hero::after{
  background: linear-gradient(90deg,#e9ebee 0%,#e9ebeef2 30%,#e9ebee00 85%) !important;
}
/* Existing media remains in its original position and is neutralised through CSS. */
.space-image,.room-image,.figure-frame,.opening-image,.stage-figure,.service-icon,.card-visual,.gallery-window{ background: var(--surface) !important; color: #7b8794 !important; }
.space-image svg,.room-image svg,.figure-frame svg,.opening-image svg,.stage-figure svg,.service-icon svg,.card-visual svg,.gallery-frame svg{ filter: grayscale(1); }
.space-panel{ background: var(--paper) !important; }
.space-panel.residential .space-image{ background: var(--surface) !important; }
.examples li{ background: var(--surface); color: var(--body-ink) !important; }
.amc-strip,.about-statement,.example,.contact-side{
  background: var(--surface) !important;
  color: var(--ink) !important;
}
.amc-symbol{ border-color: #9aa4b0; color: #68707a; }
.timeline::before{ background: var(--line) !important; }
.step-number{ background: var(--paper) !important; border-color: var(--line) !important; color: var(--ink) !important; }
.deck-current{ background: var(--paper) !important; border-color: var(--line) !important; box-shadow: none !important; }
.deck-next{ background: #e5e9ed !important; border-color: var(--line) !important; }
.deck-controls button{ background: var(--paper) !important; border-color: var(--line) !important; color: var(--ink) !important; border-radius: 2px; }
.application-tab[aria-selected='true'],.application-trigger[aria-expanded='true']{
  color: var(--ink) !important;
  background: #e7ebef !important;
  box-shadow: inset 3px 0 var(--brand-red) !important;
  border-radius: 0;
}
.application-tab[aria-selected='true'] *,.application-trigger[aria-expanded='true'] *{ color: var(--ink) !important; }
.application-tab:hover,.application-trigger:hover{ background: var(--surface) !important; }
.control,.gallery-controls button{ background: var(--paper) !important; border-color: var(--line) !important; color: var(--ink) !important; }
.control[aria-pressed='true']{ background: var(--ink) !important; color: white !important; }
.frame-dot{ background: transparent !important; }
.dot{ background: #a8b0ba !important; border-color: #a8b0ba !important; }
[aria-pressed='true'] .dot{ background: var(--brand-red) !important; border-color: var(--brand-red) !important; }
.closing,#enquiry.section:not(.alt){ background: var(--paper) !important; color: var(--ink) !important; }
.closing h2,.closing p,.closing-note{ color: var(--ink) !important; }
.closing{ border-top: 1px solid var(--line) !important; }
.field :is(input, select, textarea){
  font-family: var(--body-font) !important;
  color: var(--ink) !important;
  background: var(--paper) !important;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.field :is(input, select, textarea):focus{ outline-color: var(--ink) !important; }
.field [aria-invalid='true']{ border-color: var(--ink) !important; background: #f7f8fa !important; }
.attachment-area{ background: var(--paper) !important; border-color: var(--line) !important; }
.attachment-area input::file-selector-button{
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 8px 12px;
  margin-right: 10px;
}
.error-summary,.form-response,.contact-context{ background: var(--paper) !important; color: var(--ink) !important; border-color: var(--line) !important; }
.footer{ background: var(--ink) !important; color: #e2e6eb !important; }
.footer :is(h1,h2,h3,h4,p,a,span,small,li),.footer .brand,.footer .brand small{
  color: #e2e6eb !important;
}
.footer .footer-bottom{ border-color: #424a54 !important; color: #c3cad3 !important; }
.footer .nav-contact{ background: transparent !important; padding: 9px 0; }
.skip,.skip-link{ background: var(--paper) !important; color: var(--ink) !important; }
@media (max-width: 900px){.site-header{ top: 10px !important; width: calc(100% - 24px); margin-top: 10px; border-radius: 18px; }
.site-header .header-inner{ height: 64px !important; min-height: 64px !important; width: calc(100% - 28px) !important; }
.site-header .desktop-nav{ display: none !important; }
.site-header :is(.menu-button,.mobile-menu-button){ display: block !important; min-height: 44px; padding: 8px 14px; }
body[data-theme-page='home'] .hero{ padding-top: 42px; min-height: calc(100svh - 68px); }
body[data-theme-page='home'] .hero-art{ opacity: .32; }
body[data-theme-page='home'] .hero-art::before{ inset: 0 8% 0 12%; }
body[data-theme-page='hvac-solutions'] .hero-backgrounds{ opacity: .15; }
.section.alt::before{ clip-path: polygon(80% 0,100% 0,100% 10%,80% 10%); }
.field :is(input, select, textarea){ font-size: 16px !important; }}
@media(max-width:900px){/* Explicit mobile wireframe remains a phone view at any preview panel width. */
body .site-header .desktop-nav{ display: none !important; }}
@media(max-width:900px){body .site-header :is(.menu-button,.mobile-menu-button){ display: block !important; min-height: 44px; padding: 8px 14px; }}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.site-header,.site-header .mobile-nav{ background: rgba(255,255,255,.97) !important; }}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{ transition: none !important; animation: none !important; scroll-behavior: auto !important; }}
