@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --ink: #090909;
  --surface: #f2f1ed;
  --white: #ffffff;
  --muted: #6e706f;
  --line: rgba(9, 9, 9, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --red: #e33620;
  --red-dark: #b92514;
  --max: 1220px;
  --header: 88px;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.045em;
}
h1 { font-size: clamp(3.3rem, 7vw, 7.4rem); }
h2 { font-size: clamp(2.4rem, 4.8vw, 5.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p { color: var(--muted); }

.section { padding: 120px 0; }
.section-dark { color: var(--white); background: var(--ink); }
.section-dark p { color: rgba(255, 255, 255, 0.66); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 58px;
}
.section-heading h2 { margin: 16px 0 0; max-width: 850px; }
.section-heading p { margin: 0 0 8px; max-width: 480px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--red); }
.button-primary:hover { background: var(--red-dark); }
.button-ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.button-ghost:hover { background: var(--white); color: var(--ink); }
.button-dark { color: var(--white); background: var(--ink); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header);
  color: var(--white);
  transition: background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}
.site-header.scrolled,
body:not([data-page="home"]) .site-header {
  color: var(--ink);
  background: rgba(242, 241, 237, 0.92);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  height: 100%;
  display: grid;
  grid-template-columns: 245px 1fr auto;
  align-items: center;
  gap: 34px;
}
.brand { display: inline-flex; width: 220px; }
.brand img { height: 62px; width: auto; object-fit: contain; }
.site-header:not(.scrolled) .brand img,
body[data-page="home"] .site-header:not(.scrolled) .brand img {
  filter: invert(1) grayscale(1) brightness(4);
}
body:not([data-page="home"]) .site-header .brand img { filter: none; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 28px; }
.desktop-nav a {
  position: relative;
  font-size: 0.81rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.desktop-nav a:hover::after,
.desktop-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}
.menu-toggle { display: none; }
.mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: #090909;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.93) 0%, rgba(5, 5, 5, 0.7) 46%, rgba(5, 5, 5, 0.14) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.8) 0%, transparent 48%),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2200&q=86") center/cover;
  transform: scale(1.02);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header) + 90px) 0 44px;
}
.hero-copy { max-width: 1010px; }
.hero .eyebrow { color: #ff6a55; }
.hero h1 { margin: 22px 0 28px; max-width: 1000px; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.7); }
.hero-copy > p { max-width: 650px; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.hero-bottom {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, .4fr));
  gap: 1px;
  margin-top: 72px;
  border-top: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.2);
}
.hero-bottom > div { min-height: 112px; padding: 24px 26px; background: rgba(5,5,5,.64); backdrop-filter: blur(10px); }
.hero-bottom .hero-note { display: flex; align-items: center; color: rgba(255,255,255,.64); font-size: .85rem; }
.hero-stat strong { display: block; font: 700 2rem/1 "Space Grotesk"; }
.hero-stat span { display: block; margin-top: 10px; color: rgba(255,255,255,.56); font-size: .73rem; text-transform: uppercase; letter-spacing: .12em; }

.intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 85px; align-items: center; }
.intro-image { position: relative; min-height: 630px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.intro-image img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.intro-image::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(0,0,0,.65), transparent 45%); }
.image-note { position: absolute; z-index: 1; right: 22px; bottom: 22px; padding: 12px 15px; color: white; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.35); backdrop-filter: blur(10px); border-radius: 999px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.intro-copy h2 { margin: 18px 0 28px; }
.intro-copy > p { font-size: 1.05rem; }
.check-list { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line); }
.check-list li { display:flex; align-items:center; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.check-list li::before { content:"✓"; display:grid; place-items:center; width: 27px; height:27px; flex:0 0 27px; color: white; background: var(--red); border-radius:50%; font-size:.72rem; }

.service-cards { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position:relative; min-height: 540px; overflow:hidden; border-radius: var(--radius); background:#111; }
.service-card img { position:absolute; inset:0; height:100%; object-fit:cover; transition: transform .6s ease; }
.service-card::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(0,0,0,.94), rgba(0,0,0,.08) 70%); }
.service-card:hover img { transform: scale(1.05); }
.service-number { position:absolute; z-index:2; top:22px; right:22px; display:grid; place-items:center; width:45px; height:45px; border:1px solid rgba(255,255,255,.36); border-radius:50%; color:white; font-size:.72rem; }
.service-content { position:absolute; z-index:2; inset:auto 28px 28px; color:white; }
.service-content p { color:rgba(255,255,255,.66); }
.service-link { display:inline-flex; gap:10px; align-items:center; margin-top:12px; color:white; font-size:.79rem; font-weight:800; text-transform:uppercase; letter-spacing:.09em; }

.stats-band { display:grid; grid-template-columns: repeat(4, 1fr); border-top:1px solid var(--line-dark); border-bottom:1px solid var(--line-dark); }
.stat { padding:42px 30px; border-right:1px solid var(--line-dark); }
.stat:last-child { border-right:0; }
.stat strong { display:block; font:700 clamp(2.6rem, 5vw, 4.8rem)/1 "Space Grotesk"; letter-spacing:-.06em; }
.stat span { display:block; margin-top:12px; color:rgba(255,255,255,.52); font-size:.75rem; letter-spacing:.1em; text-transform:uppercase; }

.project-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card { overflow:hidden; border-radius: var(--radius); background: var(--white); box-shadow: 0 14px 35px rgba(0,0,0,.06); }
.project-card[hidden] { display:none; }
.project-image { position:relative; height:280px; overflow:hidden; background:#ddd; }
.project-image img { height:100%; object-fit:cover; transition: transform .55s ease; }
.project-card:hover .project-image img { transform:scale(1.045); }
.project-status { position:absolute; top:16px; left:16px; padding:8px 11px; border-radius:999px; color:white; background:rgba(0,0,0,.72); backdrop-filter:blur(8px); font-size:.66rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.project-status.current { background: rgba(31, 111, 63, .9); }
.project-status.completed { background: rgba(20,20,20,.82); }
.project-body { padding:26px; }
.project-meta { display:flex; justify-content:space-between; gap:12px; color:var(--red); font-size:.67rem; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
.project-body h3 { margin:16px 0 12px; }
.project-body p { margin:0; font-size:.9rem; }
.section-action { margin-top:38px; display:flex; justify-content:flex-end; }

.smart-panel { position:relative; overflow:hidden; border-radius:30px; min-height:660px; background:#070707; }
.smart-panel::before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(0,0,0,.93), rgba(0,0,0,.45)), url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=2000&q=82") center/cover; }
.smart-content { position:relative; z-index:1; display:grid; grid-template-columns: 1.08fr .92fr; min-height:660px; color:white; }
.smart-copy { align-self:end; padding:72px; }
.smart-copy h2 { margin:18px 0 24px; }
.smart-copy p { max-width:620px; color:rgba(255,255,255,.67); }
.smart-features { display:grid; align-content:end; border-left:1px solid rgba(255,255,255,.16); }
.smart-feature { display:grid; grid-template-columns:50px 1fr; gap:18px; padding:29px 34px; border-top:1px solid rgba(255,255,255,.16); }
.smart-feature strong { font-family:"Space Grotesk"; font-size:1.08rem; }
.smart-feature p { margin:7px 0 0; font-size:.83rem; color:rgba(255,255,255,.56); }
.smart-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; background:var(--red); font-size:.75rem; font-weight:800; }

.cert-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.cert-card { min-height:270px; padding:32px; border:1px solid var(--line); border-radius:var(--radius); background:rgba(255,255,255,.55); }
.cert-card .cert-code { color:var(--red); font-size:.75rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.cert-card h3 { margin:58px 0 16px; font-size:2rem; }
.cert-card p { margin:0; }

.cta-banner { padding:0 0 120px; }
.cta-inner { display:grid; grid-template-columns:1.3fr auto; gap:32px; align-items:end; padding:58px; color:white; background:var(--red); border-radius:30px; }
.cta-inner h2 { margin:0; max-width:800px; font-size:clamp(2.5rem,5vw,5rem); }
.cta-inner .button { background:white; color:var(--ink); }

.page-hero { padding: calc(var(--header) + 100px) 0 100px; background:var(--surface); }
.page-hero-grid { display:grid; grid-template-columns:1.35fr .65fr; gap:60px; align-items:end; }
.page-hero h1 { margin:22px 0 0; font-size:clamp(3.5rem,7vw,7rem); }
.page-hero p { margin:0 0 10px; font-size:1.05rem; }
.page-hero .ghost-word { color:transparent; -webkit-text-stroke:1px rgba(0,0,0,.2); }
.page-visual { min-height:450px; overflow:hidden; border-radius:var(--radius); }
.page-visual img { height:450px; object-fit:cover; }

.message-grid { display:grid; grid-template-columns:.74fr 1.26fr; gap:72px; align-items:start; }
.director-card { position:sticky; top:120px; overflow:hidden; border-radius:var(--radius); background:white; box-shadow:var(--shadow); }
.director-card img { height:480px; object-fit:cover; }
.director-card div { padding:26px; }
.director-card p { margin:5px 0 0; }
.long-copy p { font-size:1.02rem; }
.long-copy .lead { color:var(--ink); font:600 clamp(1.5rem,2.7vw,2.4rem)/1.3 "Space Grotesk"; letter-spacing:-.03em; }

.values-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.value-card { padding:38px; min-height:330px; border-radius:var(--radius); background:white; border:1px solid var(--line); }
.value-card span { display:grid; place-items:center; width:48px; height:48px; border-radius:50%; color:white; background:var(--red); font-weight:800; }
.value-card h3 { margin:72px 0 16px; }

.timeline { border-top:1px solid var(--line); }
.timeline-item { display:grid; grid-template-columns:150px 1fr; gap:38px; padding:30px 0; border-bottom:1px solid var(--line); }
.timeline-year { font:700 2.1rem/1 "Space Grotesk"; color:var(--red); }
.timeline-item h3 { margin:0 0 10px; }
.timeline-item p { margin:0; max-width:900px; }

.people-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.person-card { overflow:hidden; border-radius:var(--radius); background:white; }
.person-image { position:relative; height:360px; overflow:hidden; background:#ddd; }
.person-image img { height:100%; object-fit:cover; filter:grayscale(.15); }
.person-image span { position:absolute; left:14px; bottom:14px; padding:7px 10px; color:white; background:rgba(0,0,0,.68); border-radius:999px; font-size:.63rem; letter-spacing:.08em; text-transform:uppercase; }
.person-info { padding:22px; }
.person-info h3 { margin:0 0 8px; font-size:1.2rem; }
.person-info p { margin:0; font-size:.78rem; }

.service-detail { display:grid; grid-template-columns:.72fr 1.28fr; min-height:650px; margin-bottom:22px; overflow:hidden; border-radius:28px; background:white; }
.service-detail.reverse { grid-template-columns:1.28fr .72fr; }
.service-detail.reverse .service-detail-image { order:2; }
.service-detail-image { min-height:650px; }
.service-detail-image img { height:100%; object-fit:cover; }
.service-detail-copy { padding:60px; }
.service-detail-copy h2 { margin:18px 0 30px; font-size:clamp(2.4rem,4vw,4.4rem); }
.service-list { list-style:none; padding:0; margin:0; border-top:1px solid var(--line); }
.service-list li { display:grid; grid-template-columns:52px 1fr; align-items:center; padding:16px 0; border-bottom:1px solid var(--line); font-size:.92rem; font-weight:700; }
.service-list li span { color:var(--red); font-size:.7rem; }

.filter-bar { display:flex; flex-wrap:wrap; gap:9px; margin-bottom:36px; }
.filter-button { padding:10px 15px; border:1px solid var(--line); border-radius:999px; background:transparent; cursor:pointer; font-size:.75rem; font-weight:800; }
.filter-button.active, .filter-button:hover { color:white; border-color:var(--ink); background:var(--ink); }

.cmms-comparison { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.compare-column { padding:38px; border-radius:var(--radius); background:white; }
.compare-column.positive { color:white; background:var(--ink); }
.compare-column h3 { margin-bottom:28px; }
.compare-column ul { list-style:none; margin:0; padding:0; }
.compare-column li { display:flex; gap:12px; padding:14px 0; border-top:1px solid var(--line); }
.compare-column.positive li { border-color:var(--line-dark); }
.compare-column li::before { content:"—"; color:var(--red); font-weight:800; }

.feature-table { overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:white; }
.feature-row { display:grid; grid-template-columns:.7fr 1fr 1fr; }
.feature-row > div { padding:22px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.feature-row > div:last-child { border-right:0; }
.feature-row:last-child > div { border-bottom:0; }
.feature-row.header { color:white; background:var(--ink); font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.feature-row.header > div { border-color:var(--line-dark); }
.feature-row strong { font-family:"Space Grotesk"; }
.feature-row p { margin:0; font-size:.86rem; }
.feature-row .benefit { color:var(--red-dark); font-weight:700; }

.contact-grid { display:grid; grid-template-columns:.82fr 1.18fr; gap:24px; }
.contact-panel, .form-panel { padding:46px; border-radius:var(--radius); background:white; }
.contact-panel { color:white; background:var(--ink); }
.contact-panel p { color:rgba(255,255,255,.62); }
.contact-list { margin-top:50px; }
.contact-list a, .contact-list div { display:block; padding:20px 0; border-top:1px solid var(--line-dark); }
.contact-list small { display:block; color:rgba(255,255,255,.43); text-transform:uppercase; letter-spacing:.12em; }
.contact-list strong { display:block; margin-top:6px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field { display:flex; flex-direction:column; gap:8px; }
.field.full { grid-column:1/-1; }
.field label { font-size:.72rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.field input, .field textarea, .field select { width:100%; border:1px solid var(--line); border-radius:13px; padding:14px 15px; background:#fafafa; outline:none; }
.field textarea { min-height:150px; resize:vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color:var(--red); box-shadow:0 0 0 3px rgba(227,54,32,.1); }
.form-message { display:none; margin-top:18px; padding:14px; color:#185c32; background:#e8f6ed; border-radius:12px; font-size:.85rem; }
.form-message.show { display:block; }
.map-placeholder { position:relative; min-height:430px; margin-top:24px; overflow:hidden; border-radius:var(--radius); background: radial-gradient(circle at 30% 30%, rgba(227,54,32,.35), transparent 24%), linear-gradient(135deg,#1d1d1d,#090909); }
.map-placeholder::before, .map-placeholder::after { content:""; position:absolute; inset:-40%; background-image:linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px); background-size:44px 44px; transform:rotate(12deg); }
.map-pin { position:absolute; z-index:1; inset:50% auto auto 50%; transform:translate(-50%,-50%); width:74px; height:74px; border-radius:50% 50% 50% 0; background:var(--red); rotate:-45deg; box-shadow:0 0 0 18px rgba(227,54,32,.15); }
.map-pin::after { content:""; position:absolute; width:24px; height:24px; top:25px; left:25px; border-radius:50%; background:white; }
.map-label { position:absolute; z-index:2; left:50%; bottom:36px; transform:translateX(-50%); padding:12px 16px; color:white; background:rgba(0,0,0,.62); border:1px solid rgba(255,255,255,.17); border-radius:999px; backdrop-filter:blur(8px); white-space:nowrap; font-size:.72rem; }

.site-footer { padding:75px 0 26px; color:white; background:#070707; }
.footer-grid { display:grid; grid-template-columns:1.4fr repeat(3,.55fr); gap:55px; }
.footer-brand img { width:230px; filter:invert(1) grayscale(1) brightness(4); }
.footer-brand p { max-width:430px; margin:24px 0 0; color:rgba(255,255,255,.52); }
.footer-label { display:block; margin-bottom:20px; color:rgba(255,255,255,.35); font-size:.68rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.footer-links { display:grid; gap:12px; }
.footer-links a, .footer-links span { color:rgba(255,255,255,.75); font-size:.85rem; }
.footer-links a:hover { color:white; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; margin-top:60px; padding-top:24px; border-top:1px solid var(--line-dark); color:rgba(255,255,255,.38); font-size:.72rem; }

.reveal { opacity:0; transform:translateY(22px); transition:opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 1080px) {
  .desktop-nav, .nav-cta { display:none; }
  .nav-wrap { grid-template-columns:1fr auto; }
  .menu-toggle { display:grid; gap:7px; width:44px; height:44px; place-content:center; border:1px solid currentColor; border-radius:50%; background:transparent; }
  .menu-toggle span { width:18px; height:1.5px; background:currentColor; transition:transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform:translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform:translateY(-4px) rotate(-45deg); }
  .mobile-menu { display:block; position:fixed; inset:var(--header) 0 auto; max-height:0; overflow:hidden; background:rgba(242,241,237,.98); color:var(--ink); transition:max-height .28s ease; }
  .mobile-menu.open { max-height:calc(100vh - var(--header)); }
  .mobile-menu .container { padding:18px 0 30px; }
  .mobile-menu a { display:flex; justify-content:space-between; padding:17px 0; border-bottom:1px solid var(--line); font:600 1.25rem "Space Grotesk"; }
  .hero-bottom { grid-template-columns:1fr repeat(3,.55fr); }
  .section-heading, .page-hero-grid { grid-template-columns:1fr; gap:26px; }
  .service-cards, .project-grid { grid-template-columns:repeat(2,1fr); }
  .service-card:last-child { grid-column:1/-1; min-height:450px; }
  .smart-content { grid-template-columns:1fr; }
  .smart-features { border-left:0; }
  .smart-copy { padding:60px 44px; }
  .smart-feature { padding:24px 44px; }
  .people-grid { grid-template-columns:repeat(3,1fr); }
  .footer-grid { grid-template-columns:1.3fr 1fr 1fr; }
  .footer-grid > div:last-child { display:none; }
}

@media (max-width: 780px) {
  :root { --header:74px; }
  .container { width:min(100% - 30px, var(--max)); }
  .brand { width:184px; }
  .brand img { height:52px; }
  .section { padding:82px 0; }
  .section-heading { margin-bottom:38px; }
  .hero-inner { padding-bottom:0; }
  .hero h1 { font-size:clamp(3rem,13vw,5.2rem); }
  .hero-actions { flex-wrap:wrap; }
  .hero-bottom { grid-template-columns:1fr 1fr; margin-top:50px; }
  .hero-bottom .hero-note { grid-column:1/-1; min-height:80px; }
  .intro-grid, .message-grid, .contact-grid { grid-template-columns:1fr; gap:42px; }
  .intro-image { min-height:460px; }
  .service-cards, .project-grid, .cert-grid, .values-grid, .people-grid { grid-template-columns:1fr; }
  .service-card, .service-card:last-child { grid-column:auto; min-height:480px; }
  .stats-band { grid-template-columns:1fr 1fr; }
  .stat:nth-child(2) { border-right:0; }
  .stat:nth-child(-n+2) { border-bottom:1px solid var(--line-dark); }
  .smart-copy { padding:46px 28px; }
  .smart-feature { padding:22px 28px; }
  .cta-inner { grid-template-columns:1fr; padding:38px 28px; }
  .cta-inner .button { justify-self:start; }
  .page-hero { padding-top:calc(var(--header) + 72px); }
  .page-visual, .page-visual img { min-height:330px; height:330px; }
  .director-card { position:static; }
  .director-card img { height:420px; }
  .timeline-item { grid-template-columns:1fr; gap:12px; }
  .service-detail, .service-detail.reverse { grid-template-columns:1fr; }
  .service-detail.reverse .service-detail-image { order:0; }
  .service-detail-image { min-height:350px; height:350px; }
  .service-detail-copy { padding:34px 24px; }
  .cmms-comparison { grid-template-columns:1fr; }
  .feature-table { overflow-x:auto; }
  .feature-row { min-width:760px; }
  .form-grid { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
  .contact-panel, .form-panel { padding:30px 24px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-brand { grid-column:1/-1; }
  .footer-bottom { flex-direction:column; }
}

@media (max-width: 480px) {
  .hero-bottom { grid-template-columns:1fr; }
  .hero-bottom .hero-note { grid-column:auto; }
  .stats-band { grid-template-columns:1fr; }
  .stat { border-right:0; border-bottom:1px solid var(--line-dark); }
  .stat:last-child { border-bottom:0; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-brand { grid-column:auto; }
  .footer-grid > div:nth-child(3) { display:none; }
  .map-label { width:calc(100% - 30px); text-align:center; white-space:normal; }
}
