/* ZimIoTix Innovations — site styles
   Brand colours from the logo: teal-green #008080 and orange #F7941D, blended in soft glows and thin accents.
   Body text always stays plain and high-contrast. Orange is kept for the ONE main action on each page.
   Light and dark themes: tokens below. Light is the default; dark only via the header switch. */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

/* ---------- Theme tokens ---------- */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-tint: #f2f8f7;            /* very light teal wash for alternate sections */
  --surface: #ffffff;
  --surface-2: #f3f7f7;          /* soft fill instead of borders */
  --text: #1a2233;
  --muted: #566173;
  --heading: #0f1d2e;
  --line: rgba(15, 29, 46, .09);
  --link: #006b6b;
  --teal: #008080;
  --teal-bright: #00a19a;
  --orange: #f7941d;
  --orange-deep: #c96a00;
  --accent-soft: rgba(0, 128, 128, .09);
  --glow-teal: rgba(0, 150, 140, .20);
  --glow-orange: rgba(247, 148, 29, .17);
  --grad: linear-gradient(115deg, #008080 0%, #2e9a74 48%, #f7941d 100%);
  --grad-text: linear-gradient(100deg, #007878 0%, #2e8f6a 55%, #c96a00 100%);
  --panel: #0b1c22;              /* deep teal-ink for the featured panel, CTA and footer */
  --panel-text: #c9d8da;
  --panel-heading: #ffffff;
  --panel-accent: #5fd6cc;
  --shadow-sm: 0 1px 2px rgba(15, 29, 46, .05), 0 4px 14px rgba(15, 29, 46, .06);
  --shadow: 0 2px 6px rgba(15, 29, 46, .05), 0 18px 40px -12px rgba(15, 29, 46, .16);
  --header-bg: rgba(255, 255, 255, .82);
  --brand-filter: grayscale(1) contrast(1.1);
  --brand-blend: multiply;

  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 32px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Dark theme: only when the visitor chooses it with the header switch. Light is the default for everyone. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a1519;
  --bg-tint: #0d1b20;
  --surface: #10222a;
  --surface-2: #132830;
  --text: #dfe9eb;
  --muted: #9fb2b6;
  --heading: #f3f8f8;
  --line: rgba(255, 255, 255, .08);
  --link: #5fd6cc;
  --teal: #3cc4bb;
  --teal-bright: #7fe3da;
  --orange-deep: #ffb057;
  --accent-soft: rgba(60, 196, 187, .12);
  --glow-teal: rgba(60, 196, 187, .16);
  --glow-orange: rgba(247, 148, 29, .13);
  --grad: linear-gradient(115deg, #3cc4bb 0%, #8fd68a 50%, #ffb057 100%);
  --grad-text: linear-gradient(100deg, #5fd6cc 0%, #9be08a 55%, #ffb057 100%);
  --panel: #0e2229;
  --panel-text: #c3d3d6;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 14px rgba(0, 0, 0, .25);
  --shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 18px 40px -12px rgba(0, 0, 0, .55);
  --header-bg: rgba(10, 21, 25, .8);
  --brand-filter: grayscale(1) invert(1) contrast(1.1);
  --brand-blend: screen;
}
/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .35s ease, color .35s ease;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--teal-bright); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.022em; margin: 0 0 .5em; color: var(--heading); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--glow-teal); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--heading); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Small label above headings, with a short teal→orange line */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--link); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); flex: none; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 62ch; }

/* Gradient text: only on large headings and numbers, never body text */
.accent {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.5rem; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 0; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(135deg, #f7941d, #fbab4c);
  color: #1d1300;
  box-shadow: 0 6px 18px -6px rgba(247, 148, 29, .6);
}
.btn-primary:hover { color: #1d1300; transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(247, 148, 29, .7); }
.btn-lg { min-height: 56px; padding: .9rem 1.9rem; font-size: 1.06rem; }
.btn-sm { min-height: 42px; padding: .5rem 1.15rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-ghost-light { color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { color: #fff; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); transform: translateY(-2px); }
.btn .icon-wa { width: 20px; height: 20px; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--link); text-decoration: none; min-height: 44px; }
.text-link:hover { color: var(--teal-bright); }
.text-link span { transition: transform .25s var(--ease); }
a:hover .text-link span, .text-link:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px);
  transition: box-shadow .3s ease, background-color .35s ease;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glow-teal), var(--glow-orange), transparent);
  opacity: 0; transition: opacity .3s;
}
.is-scrolled .site-header { box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .35); }
.is-scrolled .site-header::after { opacity: 1; }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { position: relative; display: block; flex: none; }
.brand img { width: 168px; height: auto; transition: opacity .35s ease; }
.logo-dark { position: absolute; inset: 0; opacity: 0; }
:root[data-theme="dark"] .logo-light { opacity: 0; }
:root[data-theme="dark"] .logo-dark { opacity: 1; }
.header-tools { display: flex; align-items: center; gap: 8px; }

.theme-toggle, .menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; min-width: 44px;
  font: inherit; font-weight: 700; color: var(--heading); background: var(--surface-2);
  border: 0; border-radius: 999px; cursor: pointer; transition: background-color .2s;
}
.theme-toggle:hover, .menu-toggle:hover { background: var(--accent-soft); }
.theme-toggle svg { transition: transform .5s var(--ease); }
.theme-toggle:hover svg { transform: rotate(-20deg); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.menu-toggle { padding: 0 1rem; }
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s var(--ease), background .2s;
}
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-open .menu-toggle-bars { background: transparent; }
.menu-open .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: absolute; left: 12px; right: 12px; top: calc(100% + 6px);
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: .5rem 1.25rem 1.25rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s ease, transform .3s var(--ease), visibility 0s linear .3s;
}
.menu-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .3s var(--ease); }
.site-nav ul { list-style: none; }
.site-nav li a {
  display: flex; align-items: center; min-height: 52px; padding: 0 .25rem;
  font-weight: 700; font-size: 1.1rem; color: var(--heading); text-decoration: none;
}
.site-nav li + li a { box-shadow: inset 0 1px 0 var(--line); }
.site-nav a[aria-current="page"] { color: var(--link); }
.header-cta { margin-top: 1rem; width: 100%; }

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .header-inner { justify-content: flex-start; }
  .header-tools { order: 3; margin-left: 12px; }
  .site-nav {
    order: 2; margin-left: auto;
    display: flex; align-items: center; gap: 1.75rem; position: static;
    padding: 0; box-shadow: none; background: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .site-nav ul { display: flex; gap: 1.6rem; }
  .site-nav li a { position: relative; min-height: 44px; font-size: .98rem; padding: 0; color: var(--text); box-shadow: none !important; }
  .site-nav li a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; border-radius: 2px;
    background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .site-nav li a:hover { color: var(--heading); }
  .site-nav li a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav a[aria-current="page"] { color: var(--heading); }
  .header-cta { margin: 0; width: auto; }
  .brand img { width: 188px; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding-top: clamp(24px, 4vw, 48px); }
/* tinted sections fade in and out, so there are no hard edges */
.section-soft { background: linear-gradient(180deg, var(--bg) 0, var(--bg-tint) 140px, var(--bg-tint) calc(100% - 140px), var(--bg) 100%); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section-title { margin-bottom: .6em; }
.section-title-sm { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.section-foot { margin: clamp(28px, 4vw, 44px) 0 0; text-align: center; }

/* Featured projects: a floating rounded panel with soft brand glows */
.section-dark {
  margin: 0 clamp(8px, 2vw, 28px);
  border-radius: clamp(24px, 4vw, var(--radius-lg));
  background:
    radial-gradient(60% 55% at 92% 0%, rgba(0, 150, 140, .38), transparent 70%),
    radial-gradient(45% 50% at 0% 100%, rgba(247, 148, 29, .20), transparent 70%),
    var(--panel);
  color: var(--panel-text);
  overflow: hidden;
}
.section-dark h2, .section-dark h3 { color: var(--panel-heading); }
.section-dark .eyebrow { color: var(--panel-accent); }
.section-dark .section-head p:last-child { color: var(--panel-text); }

/* ---------- Glows (soft teal and orange light behind page tops) ---------- */
.hero, .page-hero { position: relative; isolation: isolate; overflow-x: clip; overflow-y: visible; }
main { overflow-x: clip; }
.hero::before, .hero::after, .page-hero::before, .page-hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.hero::before { width: 560px; height: 560px; right: -140px; top: -200px; background: var(--glow-teal); animation: drift 22s ease-in-out infinite alternate; }
.hero::after { width: 420px; height: 420px; right: 20%; top: 40%; background: var(--glow-orange); animation: drift 26s ease-in-out infinite alternate-reverse; }
.page-hero::before { width: 520px; height: 420px; right: -160px; top: -220px; background: var(--glow-teal); animation: drift 22s ease-in-out infinite alternate; }
.page-hero::after { width: 340px; height: 300px; right: 24%; top: -170px; background: var(--glow-orange); animation: drift 26s ease-in-out infinite alternate-reverse; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, 40px) scale(1.12); }
}

/* ---------- Home hero ---------- */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); }
.hero-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: .45em; }
.hero h1 .accent { display: block; padding-bottom: .06em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.75rem; }
.hero-media { position: relative; isolation: isolate; }
.hero-media::before, .solution-hero-media::before, .about-hero-media::before {
  content: ""; position: absolute; inset: -12px; border-radius: 36px; z-index: -1;
  background: var(--grad); opacity: .32; filter: blur(26px);
}
.hero-media img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 58% center;
  border-radius: 28px; box-shadow: var(--shadow);
}
.hero-badge {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: grid; gap: 2px; padding: 14px 18px 14px 22px; border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow); text-decoration: none; color: var(--text);
  animation: float 6s ease-in-out infinite;
}
.hero-badge::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--grad); }
.hero-badge:hover { color: var(--text); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hero-badge-label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--link); }
.hero-badge strong { font-size: 1.02rem; color: var(--heading); }
.hero-badge span:last-child { font-size: .92rem; color: var(--muted); }

/* Numbers: open, no boxes */
.stat-row {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: clamp(36px, 5vw, 64px);
}
.stat-row li { position: relative; padding: 4px 8px; text-align: center; display: grid; gap: 4px; }
.stat-row li + li::before {
  content: ""; position: absolute; left: -6px; top: 10%; bottom: 10%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line), transparent);
}
.stat-row strong {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-row span { font-size: clamp(.8rem, 1.4vw, .98rem); color: var(--muted); line-height: 1.3; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; }
  .hero-badge { left: -28px; right: auto; max-width: 320px; bottom: 28px; }
}

/* ---------- Pillars (home) ---------- */
.pillar-icon { width: 44px; height: 44px; color: var(--teal); flex: none; }
.pillar-grid { list-style: none; display: grid; gap: 14px; }
.pillar-card {
  position: relative; display: flex; flex-direction: column; height: 100%; padding: 28px 24px 18px;
  background: var(--surface-2); border-radius: var(--radius);
  text-decoration: none; color: var(--text); isolation: isolate; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s;
}
.pillar-card::before {
  content: ""; position: absolute; right: -35%; bottom: -55%; width: 90%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, var(--glow-teal), transparent 65%);
  opacity: 0; transition: opacity .5s ease;
}
.pillar-card::after {
  content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.pillar-card:hover { color: var(--text); transform: translateY(-4px); box-shadow: var(--shadow); background: var(--surface); }
.pillar-card:hover::before { opacity: 1; }
.pillar-card:hover::after { transform: scaleX(1); }
.pillar-card .pillar-icon { width: 32px; height: 32px; }
.pillar-card h3 { margin: 18px 0 .5rem; font-size: 1rem; color: var(--muted); font-weight: 700; letter-spacing: 0; }
.pillar-card h3 span { display: block; font-size: 1.55rem; font-weight: 800; color: var(--heading); letter-spacing: -0.02em; }
.pillar-card p { color: var(--muted); flex: 1; }
@media (min-width: 640px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pillar-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Featured projects (home) ---------- */
.featured-projects { display: grid; gap: 18px; }
.feature-project a {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit;
  background: rgba(255, 255, 255, .045); border-radius: var(--radius); overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  transition: transform .35s var(--ease), background-color .3s, box-shadow .35s;
}
.feature-project a:hover { color: inherit; transform: translateY(-4px); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(95, 214, 204, .35), 0 24px 50px -24px rgba(0, 0, 0, .6); }
.feature-project-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: rgba(255, 255, 255, .04); }
.feature-project-media picture, .feature-project-media img { position: absolute; inset: 0; }
.feature-project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature-project a:hover .feature-project-media img { transform: scale(1.04); }
.feature-project-body { padding: 20px 22px 14px; }
.feature-project-body h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.feature-project-body p:not(.eyebrow) { color: var(--panel-text); }
.feature-project .text-link { color: var(--panel-accent); }
.feature-project-main .feature-project-body h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
@media (min-width: 900px) {
  .featured-projects { grid-template-columns: 1.45fr 1fr; grid-template-rows: auto auto; }
  .feature-project-main { grid-row: span 2; }
  .feature-project-main .feature-project-media { aspect-ratio: auto; flex: 1; min-height: 380px; }
  .feature-project:not(.feature-project-main) .feature-project-media { aspect-ratio: auto; flex: 1; min-height: 150px; }
}

.media-placeholder {
  position: absolute; inset: 0; min-height: 180px; display: grid; place-items: center; align-content: center; gap: 10px;
  font-size: .9rem; font-weight: 700;
  background:
    radial-gradient(circle at 25% 30%, rgba(0, 150, 140, .5), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(247, 148, 29, .32), transparent 45%),
    #0e2229;
}
.media-placeholder .pillar-icon { width: 64px; height: 64px; color: #5fd6cc; animation: float 6s ease-in-out infinite; }
.media-placeholder span { color: #c3d3d6; }

/* ---------- Brands ---------- */
.brands-section { padding: clamp(40px, 6vw, 72px) 0; }
.brand-strip { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 20px; align-items: center; margin-top: 24px; }
.brand-strip img {
  max-height: 36px; max-width: 100%; width: auto; margin: 0 auto;
  filter: var(--brand-filter); mix-blend-mode: var(--brand-blend); opacity: .75;
  transition: opacity .3s, transform .3s var(--ease);
}
.brand-strip li:hover img { opacity: 1; transform: translateY(-2px); }
@media (min-width: 640px) { .brand-strip { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1040px) { .brand-strip { grid-template-columns: repeat(10, 1fr); } .brand-strip img { max-height: 34px; } }

/* ---------- Testimonials ---------- */
.quote-grid { list-style: none; display: grid; gap: 18px; }
.quote {
  position: relative; margin: 0; height: 100%; display: flex; flex-direction: column; padding: 38px 28px 26px;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.quote:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.quote::before {
  content: "“"; position: absolute; top: 2px; left: 24px; font-size: 4.6rem; line-height: 1; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .6;
}
.quote blockquote { margin: 14px 0 1.2rem; flex: 1; }
.quote blockquote p { margin: 0; font-size: 1.02rem; }
.quote figcaption { display: grid; }
.quote figcaption strong { color: var(--heading); }
.quote figcaption span { color: var(--muted); font-size: .92rem; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- CTA band: a rounded floating panel ---------- */
.cta-band { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 6vw, 88px); }
.cta-band > .wrap { padding: 0 var(--gutter); }
.cta-inner {
  position: relative; display: grid; gap: 24px; align-items: center; overflow: hidden; isolation: isolate;
  border-radius: clamp(24px, 4vw, var(--radius-lg));
  background: var(--panel); color: var(--panel-text);
}
.cta-inner > * { position: relative; }
.cta-band .cta-inner { padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 56px); width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.cta-inner::before {
  content: ""; position: absolute; inset: -10%; z-index: -1;
  background:
    radial-gradient(60% 100% at 100% 0%, rgba(0, 150, 140, .55), transparent 60%),
    radial-gradient(50% 100% at 0% 100%, rgba(247, 148, 29, .32), transparent 60%);
  animation: glow-shift 14s ease-in-out infinite alternate;
}
@keyframes glow-shift { 0% { opacity: .75; transform: translate(0, 0); } 100% { opacity: 1; transform: translate(-3%, 3%); } }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { margin: 0; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.3fr 1fr; } .cta-actions { justify-content: flex-end; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 4vw, 48px); }
.page-hero-compact { padding-bottom: 8px; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .wrap.narrow { max-width: var(--wrap); }
.page-hero .narrow > * { max-width: 780px; }

/* ---------- Solutions overview ---------- */
.solution-cards { list-style: none; display: grid; gap: 24px; }
.solution-card {
  display: grid; height: 100%; text-decoration: none; color: var(--text); background: var(--surface);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.solution-card:hover { color: var(--text); transform: translateY(-4px); box-shadow: var(--shadow); }
.solution-card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.solution-card-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, var(--surface), transparent); opacity: .5; }
.solution-card-media picture { height: 100%; }
.solution-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.solution-card:hover .solution-card-media img { transform: scale(1.04); }
.solution-card-body { padding: 24px 28px 16px; display: flex; flex-direction: column; }
.solution-card h2 { display: flex; align-items: center; gap: 12px; font-size: 1.8rem; margin: 0; }
.solution-card h2 .pillar-icon { width: 34px; height: 34px; }
.solution-card-sub { font-weight: 700; color: var(--link); margin: .3rem 0 .8rem; }
.solution-card-body > p:not(.solution-card-sub) { color: var(--muted); }
.mini-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.mini-list li { font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); color: var(--heading); }
@media (min-width: 900px) { .solution-cards { grid-template-columns: repeat(2, 1fr); } }

/* How we work: a connected timeline instead of boxes */
.steps { list-style: none; counter-reset: step; display: grid; gap: 26px; position: relative; }
.steps li { counter-increment: step; position: relative; padding: 0 0 0 64px; display: grid; gap: 4px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -4px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800;
  box-shadow: 0 8px 20px -8px var(--glow-teal); z-index: 1;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 21px; top: 44px; bottom: -26px; width: 2px;
  background: linear-gradient(180deg, var(--teal), var(--orange)); opacity: .35;
}
.steps strong { color: var(--heading); font-size: 1.08rem; }
.steps span { color: var(--muted); font-size: .97rem; }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .steps li { padding: 64px 0 0; }
  .steps li:not(:last-child)::after { left: 50px; right: -22px; top: 18px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--teal), var(--orange)); }
}

/* ---------- Solution detail ---------- */
.solution-hero-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.solution-hero h1 { display: grid; gap: .25rem; }
.pillar-name { display: inline-flex; align-items: center; gap: 14px; }
.pillar-name .pillar-icon { width: 48px; height: 48px; }
.hero-sub {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 700; letter-spacing: -0.01em; width: fit-content;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.solution-hero-media { position: relative; isolation: isolate; }
.solution-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .solution-hero-grid { grid-template-columns: 1.1fr .9fr; } }

/* What we do: open list with gradient markers, no boxes */
.area-grid { list-style: none; display: grid; gap: 30px 44px; }
.area { position: relative; padding-left: 28px; }
.area::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 10px; height: 10px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 0 5px var(--accent-soft);
}
.area h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.area p { color: var(--muted); margin: 0; }
@media (min-width: 700px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }

.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23009a90' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check-list-lg { gap: 14px; font-size: 1.1rem; }
@media (min-width: 800px) { .check-list-lg { grid-template-columns: repeat(2, 1fr); gap: 16px 40px; } }

.other-pillars { padding: clamp(8px, 2vw, 24px) 0 clamp(48px, 6vw, 72px); }
.pillar-links { list-style: none; display: grid; gap: 12px; }
.pillar-links a {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--radius);
  background: var(--surface-2); text-decoration: none; color: var(--muted); min-height: 72px;
  transition: transform .3s var(--ease), background-color .3s, box-shadow .3s;
}
.pillar-links a:hover { color: var(--muted); background: var(--surface); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.pillar-links strong { display: block; color: var(--heading); font-size: 1.1rem; }
.pillar-links .pillar-icon { width: 32px; height: 32px; }
@media (min-width: 800px) { .pillar-links { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Project cards ---------- */
.project-grid { display: grid; gap: 22px; }
.project-card { height: 100%; }
.project-card-link {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text);
  background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.project-card-link:hover { color: var(--text); transform: translateY(-4px); box-shadow: var(--shadow); }
.project-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.project-card-media picture { height: 100%; }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card-link:hover .project-card-media img { transform: scale(1.04); }
.project-card-body { padding: 22px 24px 14px; display: flex; flex-direction: column; flex: 1; }
.project-card-body h3 { font-size: 1.35rem; }
.project-card-body p:not(.eyebrow) { color: var(--muted); flex: 1; }
@media (min-width: 700px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .project-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.brief-grid { display: grid; gap: 14px; }
.brief-card {
  position: relative; padding: 24px 22px 18px; border-radius: var(--radius); background: var(--surface-2);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .3s var(--ease), background-color .3s, box-shadow .3s;
}
.brief-card::before { content: ""; position: absolute; left: 22px; width: 36px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.brief-card:hover { transform: translateY(-3px); background: var(--surface); box-shadow: var(--shadow-sm); }
.brief-card .eyebrow { margin-bottom: .4rem; font-size: .72rem; }
.brief-card .eyebrow::before { display: none; }
.brief-card h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.brief-card p:not(.eyebrow) { color: var(--muted); font-size: .97rem; flex: 1; }
.section-soft .brief-card { background: var(--surface); }
@media (min-width: 640px) { .brief-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .brief-grid { grid-template-columns: repeat(4, 1fr); } }
.more-title { margin: clamp(48px, 6vw, 72px) 0 .3rem; }
.more-intro { margin-bottom: 20px; }
.more-title-sm { margin: 36px 0 14px; font-size: 1.05rem; color: var(--muted); }
.project-grid + .more-title-sm { margin-top: 40px; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.tags li, .tags a { font-size: .82rem; font-weight: 700; padding: 6px 13px; border-radius: 999px; background: var(--accent-soft); color: var(--link); text-decoration: none; transition: background-color .2s, color .2s; }
.tags li:has(a) { padding: 0; background: none; }
.tags a:hover { background: var(--teal); color: #fff; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-btn {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--surface-2);
  font: inherit; font-weight: 700; font-size: .95rem; color: var(--heading); cursor: pointer;
  transition: background-color .25s, color .25s;
}
.filter-btn:hover { background: var(--accent-soft); }
.filter-btn[aria-pressed="true"] { background: var(--grad); color: #fff; }
.is-hidden { display: none !important; }
.is-filtering { animation: fade-in .45s var(--ease) both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Project detail ---------- */
.project-hero { padding-bottom: clamp(24px, 3vw, 36px); }
.project-hero h1 { max-width: 20ch; }
.project-cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.fact-row { list-style: none; display: grid; gap: 22px; margin: clamp(28px, 4vw, 44px) 0 0; }
.fact-row li { position: relative; padding-left: 18px; display: grid; gap: 2px; }
.fact-row li::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--grad); }
.fact-row strong {
  font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; width: fit-content;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fact-row span { color: var(--muted); }
@media (min-width: 700px) { .fact-row { grid-template-columns: repeat(3, 1fr); } }

.project-body { display: grid; gap: 36px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose strong { color: var(--heading); }
.project-aside {
  position: relative; align-self: start; padding: 30px 28px 28px; border-radius: var(--radius); display: grid; gap: 4px;
  background: var(--surface-2); overflow: hidden;
}
.project-aside::before { content: ""; position: absolute; left: 28px; width: 48px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--grad); }
.project-aside h2 { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--link); margin: 0 0 .5rem; }
.project-aside p { margin-bottom: 1.4rem; }
.project-aside .check-list { margin-bottom: 1.6rem; font-size: .97rem; }
@media (min-width: 960px) {
  .project-body { grid-template-columns: 1fr 360px; gap: 64px; }
  .project-aside { position: sticky; top: 96px; }
}

.gallery { list-style: none; display: grid; gap: 22px; }
.gallery figure { margin: 0; height: 100%; }
.gallery picture { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--surface); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 10px 4px 0; font-size: .92rem; color: var(--muted); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* ---------- About ---------- */
.about-hero { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.about-hero-media { position: relative; margin: 0; isolation: isolate; }
.about-hero-media img { width: 100%; border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) { .about-hero { grid-template-columns: 1.1fr .9fr; } }
.two-col { display: grid; gap: 36px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.15fr .85fr; gap: 64px; } }
.mv { display: grid; gap: 28px; align-content: start; }
.mv-item { position: relative; padding-left: 22px; }
.mv-item::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: var(--grad); }
.mv-item h3 { color: var(--link); margin-bottom: .4rem; }
.mv-item p { margin: 0; }
.values { list-style: none; display: grid; gap: 26px 32px; }
.values li { display: grid; gap: 6px; }
.values strong { color: var(--heading); font-size: 1.15rem; display: flex; align-items: center; gap: 12px; }
.values strong::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 5px var(--accent-soft); flex: none; }
.values span { color: var(--muted); font-size: .97rem; padding-left: 22px; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .values { grid-template-columns: repeat(5, 1fr); } }

.team-grid { list-style: none; display: grid; gap: 30px 18px; }
.team-card { padding: 8px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.team-card h3 { margin: 20px 0 .2rem; font-size: 1.15rem; }
.team-card p { color: var(--muted); margin: 0 0 .4rem; }
.avatar {
  position: relative; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.8rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #008080, #2e7f8f);
  box-shadow: 0 14px 30px -14px rgba(0, 128, 128, .7);
  transition: transform .4s var(--ease);
}
.avatar::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; padding: 2px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; opacity: .8;
}
.team-card:hover .avatar { transform: translateY(-4px) scale(1.03); }
.team-card:first-child .avatar { background: linear-gradient(135deg, #e8820a, #008080); }
@media (min-width: 560px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- FAQ: open list with soft dividers ---------- */
.faq-list { max-width: 820px; display: grid; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 18px 4px; font-weight: 700; font-size: 1.08rem; color: var(--heading);
  transition: color .2s;
}
.faq summary:hover { color: var(--link); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23009a90' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .35s var(--ease);
}
.faq[open] summary::after { transform: rotate(135deg); }
.faq p { padding: 0 4px 22px; margin: 0; color: var(--muted); max-width: 68ch; }
.faq[open] p { animation: fade-in .4s var(--ease) both; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; } }
.contact-form {
  position: relative; padding: clamp(26px, 3vw, 38px); border-radius: var(--radius-lg); background: var(--surface);
  box-shadow: var(--shadow); display: grid; gap: 18px; overflow: hidden;
}
.contact-form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 700; font-size: .95rem; color: var(--heading); }
.optional { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--surface-2); border: 1.5px solid transparent; border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--surface); border-color: var(--teal); box-shadow: 0 0 0 4px var(--accent-soft); }
.field [aria-invalid="true"] { border-color: #d64545; }
.form-status { margin: 0; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: var(--link); }
.form-status.err { color: #d64545; }
.contact-aside { display: grid; gap: 10px; }
.contact-quick {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius);
  text-decoration: none; color: var(--muted); background: var(--surface-2); min-height: 72px;
  transition: transform .3s var(--ease), background-color .3s, box-shadow .3s;
}
.contact-quick svg { width: 26px; height: 26px; color: var(--teal); flex: none; }
.contact-quick strong { display: block; color: var(--heading); font-size: 1.05rem; }
.contact-quick:hover { color: var(--muted); transform: translateX(4px); background: var(--surface); box-shadow: var(--shadow-sm); }
.contact-quick-wa svg { color: #1fa855; }
.contact-info { padding: 22px 18px 6px; }
.contact-info h2 { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--link); margin: 0 0 .4rem; }
.contact-info p { margin-bottom: 1.2rem; }
.hours { list-style: none; display: grid; gap: 4px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; }
.map { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); aspect-ratio: 16 / 9; max-height: 440px; width: 100%; box-shadow: var(--shadow-sm); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-section p { margin: 14px 0 0; }
@media (max-width: 600px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 20px 0 16px;
  background: #1fa855; color: #fff; border-radius: 999px; text-decoration: none; font-weight: 700;
  box-shadow: 0 10px 28px -8px rgba(31, 168, 85, .6);
  transition: transform .3s var(--ease), box-shadow .3s;
  animation: pop-in .6s var(--ease) 1s both;
}
.whatsapp-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 34px -10px rgba(31, 168, 85, .75); }
.whatsapp-float .icon-wa { width: 26px; height: 26px; }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .whatsapp-float { padding: 0; width: 56px; justify-content: center; } .whatsapp-float-label { display: none; } }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; overflow: hidden;
  background:
    radial-gradient(50% 80% at 100% 0%, rgba(0, 150, 140, .24), transparent 70%),
    radial-gradient(40% 70% at 0% 100%, rgba(247, 148, 29, .13), transparent 70%),
    var(--panel);
  color: var(--panel-text); padding: clamp(56px, 7vw, 80px) 0 0; font-size: .97rem;
  border-radius: clamp(24px, 4vw, var(--radius-lg)) clamp(24px, 4vw, var(--radius-lg)) 0 0;
}
.footer-grid { display: grid; gap: 32px; padding-bottom: 40px; }
.footer-logo { width: 190px; margin-bottom: 16px; }
.footer-about p { max-width: 34ch; }
.footer-title { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.footer-links a { color: #e2ecee; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--panel-accent); }
.footer-bottom { position: relative; padding-top: 20px; padding-bottom: 96px; font-size: .88rem; }
.footer-bottom::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: linear-gradient(90deg, rgba(95, 214, 204, .45), rgba(247, 148, 29, .35), transparent); }
.footer-bottom p { margin: 0; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.4fr 1.2fr .8fr 1.1fr; } }

/* ---------- Motion ---------- */
/* Scroll reveal (classes added by site.js; without JS everything is simply visible) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Page tops ease in on load */
.hero-copy > *, .page-hero .narrow > *, .project-hero .wrap > *, .solution-hero-grid > div:first-child > *, .about-hero > div > * {
  animation: rise .9s var(--ease) both;
}
.hero-copy > :nth-child(2), .page-hero .narrow > :nth-child(2), .project-hero .wrap > :nth-child(2), .solution-hero-grid > div:first-child > :nth-child(2), .about-hero > div > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3), .page-hero .narrow > :nth-child(3), .project-hero .wrap > :nth-child(3), .solution-hero-grid > div:first-child > :nth-child(3), .about-hero > div > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4), .page-hero .narrow > :nth-child(4), .project-hero .wrap > :nth-child(4), .solution-hero-grid > div:first-child > :nth-child(4) { animation-delay: .24s; }
.hero-media, .solution-hero-media, .about-hero-media { animation: rise-img 1.1s var(--ease) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rise-img { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Phone tweaks ---------- */
@media (max-width: 639px) {
  .pillar-card { display: grid; grid-template-columns: 32px 1fr; column-gap: 16px; padding: 22px 20px 10px; }
  .pillar-card .pillar-icon { grid-row: span 3; margin-top: 4px; }
  .pillar-card h3 { margin-top: 0; }
  .pillar-card p { margin-bottom: .2rem; }
  .brand-strip { grid-template-columns: repeat(4, 1fr); gap: 14px 12px; }
  .brand-strip img { max-height: 24px; }
  .stat-row { gap: 6px; }
  .brand img { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Dark theme: a faint outline keeps the floating panels distinct from the page */
:root[data-theme="dark"] :is(.section-dark, .cta-band .cta-inner, .site-footer) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
@media print { .js .reveal { opacity: 1; transform: none; } .whatsapp-float, .theme-toggle { display: none; } }

/* ---------- Home: our team on site (photo collage) ---------- */
.onsite { padding-top: 0; }
.onsite-grid { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
.onsite-media { position: relative; isolation: isolate; padding: 0 0 14% 0; }
.onsite-media::before {
  content: ""; position: absolute; left: 10%; top: 12%; width: 75%; height: 75%; z-index: -1; border-radius: 50%;
  background: var(--grad); opacity: .28; filter: blur(50px);
  animation: drift 20s ease-in-out infinite alternate;
}
.onsite-photo { margin: 0; }
.onsite-photo img { width: 100%; height: 100%; object-fit: cover; }
.onsite-photo-main { width: 76%; margin-left: auto; aspect-ratio: 3 / 4; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.onsite-photo-main picture { height: 100%; }
.onsite-photo-side {
  position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow); outline: 6px solid var(--bg);
  animation: float 7s ease-in-out infinite;
}
.onsite-photo-side picture { height: 100%; }
.onsite-badge {
  position: absolute; right: -2%; bottom: 6%; margin: 0; display: grid; gap: 0; padding: 12px 16px 12px 20px; border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.onsite-badge::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--grad); }
.onsite-badge strong {
  font-size: 1.5rem; font-weight: 800; line-height: 1.1; width: fit-content;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.onsite-badge span { font-size: .85rem; color: var(--muted); }
.onsite-copy .check-list { margin: 1.4rem 0 1rem; }
@media (min-width: 900px) {
  .onsite-grid { grid-template-columns: .95fr 1.05fr; }
  .onsite-media { max-width: 540px; }
}
@media (max-width: 899px) { .onsite-media { max-width: 460px; margin: 0 auto; width: 100%; } }

/* Hero photo: taller frame on desktop so the whole finished panel shows */
@media (min-width: 900px) { .hero-media img { aspect-ratio: 4 / 4.5; object-position: center 40%; } }

/* ---------- Illustrated BMS dashboard (example values only) ---------- */
.bms { margin: 0; container-type: inline-size; position: relative; isolation: isolate; }
.bms::before {
  content: ""; position: absolute; inset: 6% 4%; z-index: -1; border-radius: 40px;
  background: var(--grad); opacity: .28; filter: blur(46px);
}
.bms-window {
  background: var(--surface); border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}
.bms-bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; font-size: .82rem; font-weight: 700; color: var(--muted); background: var(--surface-2); }
.bms-dots { display: inline-flex; gap: 6px; }
.bms-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.bms-dots i:nth-child(1) { background: rgba(0, 150, 140, .55); }
.bms-dots i:nth-child(2) { background: rgba(247, 148, 29, .55); }
.bms-title { flex: 1; color: var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bms-live { display: inline-flex; align-items: center; gap: 6px; color: var(--link); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.bms-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 0 var(--glow-teal); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 161, 154, .55); } 100% { box-shadow: 0 0 0 10px rgba(0, 161, 154, 0); } }

.bms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px; }
.bms-tile { background: var(--surface-2); border-radius: 16px; padding: 12px 14px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bms-tile-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.bms-val { margin: 4px 0 0; font-size: 1.45rem; font-weight: 800; line-height: 1.1; color: var(--heading); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bms-val small { font-size: .62em; font-weight: 700; color: var(--muted); margin-left: 1px; }
.bms-val-word { font-size: 1.2rem; }
.bms-note { margin: 0; font-size: .8rem; color: var(--muted); }
.bms-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.bms-dot.ok { background: var(--teal-bright); box-shadow: 0 0 0 3px var(--accent-soft); }
.bms-dot.idle { background: var(--muted); opacity: .6; }
.bms-meter { margin-top: 8px; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bms-meter i { display: block; height: 100%; width: var(--v); border-radius: 6px; background: var(--grad); transition: width 1.2s var(--ease); }
.bms-water-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.bms-tank { position: relative; width: 22px; height: 36px; border-radius: 6px; background: var(--line); overflow: hidden; flex: none; }
.bms-tank i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--v); background: linear-gradient(180deg, var(--teal-bright), var(--teal)); transition: height 1.2s var(--ease); }

.bms-chart { grid-column: 1 / -1; }
.bms-legend { display: inline-flex; align-items: center; gap: 6px; text-transform: none; letter-spacing: 0; font-weight: 600; }
.bms-legend i { width: 10px; height: 3px; border-radius: 2px; display: inline-block; }
.bms-legend .lg-grid { background: var(--teal); }
.bms-legend .lg-solar { background: #f7941d; margin-left: 6px; }
.bms-big { margin: 4px 0 6px; font-size: 1.9rem; font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: var(--heading); font-variant-numeric: tabular-nums; }
.bms-big small { font-size: .5em; color: var(--muted); font-weight: 700; }
.bms-svg { width: 100%; height: 110px; display: block; overflow: visible; }
.bms-grid-lines { stroke: var(--line); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.bms-line { fill: none; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.bms-line-grid { stroke: var(--teal); }
.bms-line-solar { stroke: #f7941d; }
.bms-axis { display: flex; justify-content: space-between; font-size: .7rem; color: var(--muted); margin-top: 4px; }

.bms-feed { display: flex; align-items: center; gap: 10px; padding: 10px 18px 14px; font-size: .82rem; color: var(--muted); min-height: 40px; }
.bms-feed-label { flex: none; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--link); padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); }
.bms-feed-items { position: relative; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bms-feed-items span + span { display: none; }
.js .bms-feed-items span { display: none; }
.js .bms-feed-items span.is-current { display: inline; animation: fade-in .5s var(--ease) both; }

.bms figcaption { margin-top: 14px; font-size: .85rem; color: var(--muted); text-align: center; }

/* Values blink softly when they update */
.bms [data-tick].is-ticking { animation: tick .6s ease; }
@keyframes tick { 0% { color: var(--teal-bright); } 100% { color: inherit; } }
/* Chart lines draw themselves when the dashboard comes into view */
.js .bms .bms-line { stroke-dasharray: 600; stroke-dashoffset: 600; }
.js .bms.is-drawn .bms-line { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease); }
.js .bms.is-drawn .bms-line-solar { transition-delay: .4s; }
.js .bms .bms-area { opacity: 0; transition: opacity 1.2s ease .8s; }
.js .bms.is-drawn .bms-area { opacity: 1; }

/* Wider dashboards: chart on the left, tiles in a 4-column grid */
@container (min-width: 580px) {
  .bms-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 14px; }
  .bms-chart { grid-column: 1 / 3; grid-row: 1 / 3; }
  .bms-svg { height: 130px; }
  .bms-tile { padding: 14px 16px; }
}
@container (min-width: 900px) {
  .bms-big { font-size: 2.3rem; }
  .bms-val { font-size: 1.65rem; }
  .bms-svg { height: 150px; }
}

/* Home: "one screen for your whole building" section */
.bms-section .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.bms-section .section-head .eyebrow { justify-content: center; }
.bms-section .bms { max-width: 1040px; margin: 0 auto; }
.bms-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 28px 0 0; color: var(--muted); font-size: .97rem; }
.bms-points li { display: inline-flex; align-items: center; gap: 10px; }
.bms-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex: none; }
.bms-section .section-foot { margin-top: 20px; }
.solution-hero-media .bms::before { display: none; }

@media (prefers-reduced-motion: reduce) {
  .js .bms .bms-line { stroke-dashoffset: 0; }
  .js .bms .bms-area { opacity: 1; }
}
.bms-section { padding-top: clamp(16px, 3vw, 40px); }
/* Control page: dashboard gets the full width under the intro */
.solution-hero-grid.has-graphic { grid-template-columns: 1fr; }
.solution-hero-grid.has-graphic > div:first-child { max-width: 780px; }
.solution-hero-grid.has-graphic .solution-hero-media { width: 100%; max-width: 1040px; margin: 8px auto 0; }
.solution-hero-grid.has-graphic .solution-hero-media::before { display: none; }
.solution-hero-grid.has-graphic .bms::before { display: block; }

/* ---------- Brands: full original colour on clean white tiles (both themes) ---------- */
.brands-section .section-title { margin-bottom: .3em; }
.brand-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.brand-strip li {
  display: grid; place-items: center; height: 84px; padding: 14px 18px;
  background: #ffffff; border-radius: 18px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.brand-strip li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.brand-strip img, .brand-strip li:hover img {
  max-height: 48px; max-width: 100%; width: auto; margin: 0 auto;
  filter: none; mix-blend-mode: normal; opacity: 1; transform: none;
}
@media (min-width: 560px) { .brand-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 800px) { .brand-strip { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
@media (min-width: 1040px) { .brand-strip { grid-template-columns: repeat(5, 1fr); gap: 16px; } .brand-strip li { height: 96px; } .brand-strip img, .brand-strip li:hover img { max-height: 52px; } }
@media (max-width: 639px) { .brand-strip { grid-template-columns: repeat(3, 1fr); gap: 10px; } .brand-strip li { height: 68px; padding: 10px 12px; border-radius: 14px; } .brand-strip img, .brand-strip li:hover img { max-height: 36px; } }
.brand-strip li.brand-tall { padding-top: 8px; padding-bottom: 8px; }
.brand-strip li.brand-tall img, .brand-strip li.brand-tall:hover img { max-height: 66px; }
@media (min-width: 1040px) { .brand-strip li.brand-tall img, .brand-strip li.brand-tall:hover img { max-height: 78px; } }
@media (max-width: 639px) { .brand-strip li.brand-tall img, .brand-strip li.brand-tall:hover img { max-height: 52px; } }

/* =====================================================================
   Information-dense first screens (laptop ~1366×650 shows the essentials)
   ===================================================================== */
.header-inner { min-height: 64px; }
html { scroll-padding-top: 80px; }

/* --- Inner page tops: shorter --- */
.page-hero { padding: clamp(20px, 3vw, 40px) 0 clamp(16px, 2.2vw, 28px); }
.page-hero h1 { font-size: clamp(2rem, 3.4vw, 2.75rem); margin-bottom: .35em; }
.page-hero .lead { font-size: clamp(1.02rem, 1.3vw, 1.12rem); }
.page-hero .eyebrow { margin-bottom: .7rem; }
.section-tight { padding-top: clamp(8px, 1.5vw, 20px); }
.page-hero .hero-actions { margin-top: 1.1rem; }

/* --- Home hero: numbers + four areas inside the first screen --- */
.hero { padding: clamp(20px, 3vw, 36px) 0 clamp(28px, 4vw, 48px); }
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin-bottom: .35em; }
.hero .lead { margin-bottom: 0; }
.hero-actions { margin-top: 1.25rem; }
.hero .stat-row { margin-top: 26px; justify-items: start; }
.hero .stat-row li { text-align: left; padding: 0 0 0 4px; }
.hero .stat-row li + li { padding-left: 22px; }
.hero .stat-row li + li::before { left: 0; }
.hero .stat-row strong { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.hero .stat-row span { font-size: .9rem; }
@media (min-width: 900px) {
  .hero-grid { align-items: stretch; }
  .hero-media { position: relative; min-height: 360px; }
  .hero-media picture { position: absolute; inset: 0; }
  .hero-media img { height: 100%; aspect-ratio: auto; object-position: center 40%; }
}

.strip-title { margin: clamp(24px, 3vw, 36px) 0 12px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pillar-strip { list-style: none; display: grid; gap: 10px; }
.pillar-strip a {
  display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border-radius: 18px;
  background: var(--surface-2); color: var(--text); text-decoration: none;
  transition: transform .3s var(--ease), background-color .3s, box-shadow .3s;
}
.pillar-strip a:hover { color: var(--text); background: var(--surface); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.pillar-strip .pillar-icon { width: 30px; height: 30px; }
.pillar-strip-text { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.pillar-strip-text strong { font-size: 1.08rem; color: var(--heading); }
.pillar-strip-text span { font-size: .86rem; color: var(--muted); }
.pillar-strip-arrow { color: var(--link); font-weight: 700; transition: transform .25s var(--ease); }
.pillar-strip a:hover .pillar-strip-arrow { transform: translateX(4px); }
@media (min-width: 560px) { .pillar-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pillar-strip { grid-template-columns: repeat(4, 1fr); } }

/* --- Solution pages: everything included, visible in the hero --- */
.hero-includes-label { margin: 1.4rem 0 .5rem; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-includes { margin: 0; }
.hero-includes a { color: inherit; text-decoration: none; }
.hero-includes li { transition: background-color .2s; }
.hero-includes li:hover { background: var(--accent-soft); }
.solution-hero .lead { margin-bottom: 0; }
.solution-hero-grid { gap: clamp(24px, 3.5vw, 48px); }
@media (min-width: 900px) {
  .solution-hero-grid:not(.has-graphic) { align-items: stretch; }
  .solution-hero-grid:not(.has-graphic) .solution-hero-media { min-height: 340px; }
  .solution-hero-grid:not(.has-graphic) .solution-hero-media picture { position: absolute; inset: 0; }
  .solution-hero-grid:not(.has-graphic) .solution-hero-media img { height: 100%; aspect-ratio: auto; }
}
/* Control: intro beside the dashboard on laptops */
@media (min-width: 1100px) {
  .solution-hero-grid.has-graphic { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .solution-hero-grid.has-graphic > div:first-child { max-width: none; }
  .solution-hero-grid.has-graphic .solution-hero-media { margin: 0; }
  .solution-hero-grid.has-graphic .bms figcaption { margin-top: 8px; font-size: .8rem; }
}

/* --- Solutions overview: compact side-by-side cards, all four visible --- */
@media (min-width: 900px) {
  .solution-cards { gap: 16px; }
  .solution-card { grid-template-columns: 36% 1fr; }
  .solution-card-media { aspect-ratio: auto; position: relative; min-height: 200px; }
  .solution-card-media picture { position: absolute; inset: 0; }
  .solution-card-media::after { display: none; }
  .solution-card-body { padding: 18px 20px 10px; }
  .solution-card h2 { font-size: 1.5rem; }
  .solution-card h2 .pillar-icon { width: 28px; height: 28px; }
  .solution-card-sub { margin: .15rem 0 .5rem; font-size: .95rem; }
  .solution-card-body > p:not(.solution-card-sub) { font-size: .95rem; margin-bottom: .6rem; }
  .solution-card .mini-list { margin-bottom: 4px; gap: 6px; }
  .solution-card .mini-list li { font-size: .78rem; padding: 4px 10px; }
  .solution-card .mini-list li:nth-child(n+4) { display: none; }
  .solution-card .text-link { min-height: 36px; }
}

/* --- Project pages: facts and photo side by side --- */
.project-hero { padding-bottom: clamp(16px, 2.5vw, 32px); }
.project-hero h1 { max-width: 18ch; }
.project-hero .lead { margin-bottom: 0; }
.project-hero .fact-row { margin: 22px 0 0; gap: 16px; }
.project-hero .fact-row strong { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.project-hero .fact-row span { font-size: .88rem; line-height: 1.35; }
.project-role { margin: 18px 0 0; font-size: .95rem; color: var(--muted); }
.project-role span { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--link); margin-bottom: 2px; }
.project-hero .hero-actions { margin-top: 1.25rem; }
.project-hero .tags { margin: 0; }
.project-hero-grid { display: grid; gap: clamp(24px, 3.5vw, 48px); }
.project-hero-media { position: relative; min-height: 260px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface-2); }
.project-hero-media picture { position: absolute; inset: 0; }
.project-hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .project-hero-grid { grid-template-columns: 1.05fr .95fr; align-items: stretch; }
  .project-hero-media { min-height: 380px; }
}
.project-body { padding-top: clamp(28px, 4vw, 56px); }

/* --- Projects list: shorter photos so titles show on the first screen --- */
.project-card-media { aspect-ratio: 16 / 10; }
.filter { margin-bottom: 20px; }

/* --- About: numbers in the hero, photo fills its column --- */
.about-hero .stat-row { margin-top: 22px; justify-items: start; }
.about-hero .stat-row li { text-align: left; padding: 0 0 0 4px; }
.about-hero .stat-row li + li { padding-left: 22px; }
.about-hero .stat-row li + li::before { left: 0; }
.about-hero .stat-row strong { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.about-hero .stat-row span { font-size: .86rem; }
@media (min-width: 900px) {
  .about-hero { align-items: stretch; }
  .about-hero-media { min-height: 340px; }
  .about-hero-media picture { position: absolute; inset: 0; }
  .about-hero-media img { height: 100%; aspect-ratio: auto; }
}

/* --- Contact: form fits the first screen --- */
.contact-form { gap: 14px; padding: clamp(22px, 2.6vw, 30px); }
.field input, .field select { min-height: 48px; }
.field textarea { min-height: 96px; }
.contact-aside { gap: 8px; }
.contact-quick { min-height: 64px; padding: 12px 16px; }
.contact-info { padding-top: 14px; }

/* --- Sections a little tighter overall --- */
.section { padding: clamp(48px, 6.5vw, 88px) 0; }

/* First-screen fit, round 2 */
.hero h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); }
.hero .eyebrow { margin-bottom: .7rem; }
.hero .stat-row { margin-top: 22px; }
.strip-title { margin-top: clamp(20px, 2.4vw, 28px); margin-bottom: 10px; }
.pillar-strip a { padding: 12px 16px; }
@media (min-width: 900px) { .hero-media { min-height: 320px; } }
.page-hero h1 { max-width: 30ch; }
.page-hero .narrow > h1 { max-width: 30ch; }
@media (min-width: 900px) {
  .solution-card-media { min-height: 170px; }
  .solution-card-body { padding: 16px 20px 8px; }
  .solution-card-body > p:not(.solution-card-sub) { margin-bottom: .5rem; line-height: 1.5; }
  .solution-card .mini-list { flex-wrap: nowrap; overflow: hidden; }
  .solution-card .mini-list li { white-space: nowrap; }
  .solution-card .mini-list li:nth-child(n+3) { display: none; }
}
.section.section-tight { padding-top: clamp(8px, 1.5vw, 20px); }
.page-hero .narrow > h1 { max-width: 34ch; }
@media (min-width: 900px) {
  .solution-card .mini-list { flex-wrap: wrap; overflow: visible; }
  .solution-card .mini-list li:nth-child(n+3) { display: none; }
}

/* First-screen fit, round 3 */
@media (min-width: 1180px) {
  .solution-cards { grid-template-columns: repeat(4, 1fr); }
  .solution-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .solution-card-media { aspect-ratio: 16 / 10; min-height: 0; }
  .solution-card .mini-list { display: none; }
  .solution-card h2 { font-size: 1.4rem; }
}
.project-card-media { aspect-ratio: 16 / 9; }
.page-hero-compact { padding-top: clamp(16px, 2.4vw, 32px); padding-bottom: 4px; }
.page-hero-compact h1 { margin-bottom: .25em; }
@media (min-width: 900px) { .page-hero .narrow > .lead { max-width: 1000px; } }
.contact-form { gap: 12px; }
.field { gap: 4px; }
.field textarea { min-height: 84px; }

/* ---------- Home pillars: bigger, and they grow with the scroll (--p goes 0 → 1, set by site.js) ---------- */
.pillar-strip { --p: 1; gap: 12px; }
.pillar-strip a {
  align-items: flex-start;
  padding: calc(16px + var(--p) * 8px) calc(18px + var(--p) * 4px);
  gap: calc(14px + var(--p) * 4px);
  border-radius: calc(18px + var(--p) * 4px);
  background: color-mix(in srgb, var(--surface-2) calc(100% - var(--p) * 35%), var(--surface));
  box-shadow: 0 calc(var(--p) * 12px) calc(var(--p) * 30px) calc(var(--p) * -14px) rgba(15, 29, 46, .22);
}
.pillar-strip .pillar-icon { width: calc(34px + var(--p) * 8px); height: calc(34px + var(--p) * 8px); margin-top: 2px; }
.pillar-strip-text { gap: 2px; }
.pillar-strip-text strong { font-size: calc(1.15rem + var(--p) * .2rem); }
.pillar-strip-sub { font-size: .9rem; color: var(--muted); }
.pillar-strip-more {
  display: grid; gap: 6px; overflow: hidden;
  max-height: calc(var(--p) * 130px); opacity: var(--p);
  margin-top: calc(var(--p) * 8px);
  transform: translateY(calc((1 - var(--p)) * 6px));
}
.pillar-strip-sum { font-size: .92rem; line-height: 1.5; color: var(--text); }
.pillar-strip-link { font-weight: 700; font-size: .92rem; color: var(--link); }
.pillar-strip-link span { display: inline-block; transition: transform .25s var(--ease); }
.pillar-strip a:hover .pillar-strip-link span { transform: translateX(4px); }
.pillar-strip-arrow { display: none; }
.pillar-strip a:hover { transform: translateY(-3px); }

/* ---------- Brands gallery: two rows moving in opposite directions ---------- */
.brand-marquee {
  display: grid; gap: 14px; margin-top: 24px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brand-row { overflow: hidden; }
.brand-track { --gap: 14px; list-style: none; display: flex; gap: var(--gap); width: max-content; padding: 6px 0 12px; animation: brand-scroll 45s linear infinite; }
.brand-row-reverse .brand-track { animation-direction: reverse; animation-duration: 50s; }
.brand-marquee:hover .brand-track { animation-play-state: paused; }
@keyframes brand-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.brand-track li {
  flex: none; width: 180px; height: 88px; display: grid; place-items: center; padding: 12px 20px;
  background: #ffffff; border-radius: 18px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.brand-track li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.brand-track img { width: auto; height: auto; max-height: 46px; max-width: 100%; }
.brand-track li.brand-tall { padding-top: 8px; padding-bottom: 8px; }
.brand-track li.brand-tall img { max-height: 70px; }
@media (max-width: 639px) {
  .brand-track li { width: 132px; height: 66px; padding: 8px 12px; border-radius: 14px; }
  .brand-track img { max-height: 34px; }
  .brand-track li.brand-tall img { max-height: 50px; }
  .brand-marquee { gap: 10px; }
  .brand-track { --gap: 10px; }
}
/* Reduce motion: a still, wrapped grid without the repeated copies */
@media (prefers-reduced-motion: reduce) {
  .brand-marquee { -webkit-mask-image: none; mask-image: none; max-width: var(--wrap); margin-inline: auto; padding: 0 var(--gutter); }
  .brand-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .brand-track .brand-copy { display: none; }
}

/* =====================================================================
   Typography weight (owner request): stronger titles and wording.
   Industry sites (Samsara, Control4, Crestron, Verkada) pair heavy headlines with
   solid, near-black body text. Body copy moves from 400/grey to 500/darker.
   ===================================================================== */
:root { --text: #111a2b; --muted: #475163; --heading: #0b1626; }
:root[data-theme="dark"] { --text: #e6eef0; --muted: #b1c2c6; }
body { font-weight: 500; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; }
h1 { line-height: 1.06; }
.hero h1 { font-size: clamp(2.3rem, 4vw, 3.4rem); }
.page-hero h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); }
h2, .section-title { font-size: clamp(1.7rem, 3.1vw, 2.5rem); }
.section-title-sm, .brands-section .section-title { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.lead { font-weight: 500; color: var(--muted); }
.section-head p:last-child { font-weight: 500; }
.eyebrow, .strip-title, .hero-includes-label { font-weight: 800; }
.btn { font-weight: 800; letter-spacing: -0.005em; }
.text-link { font-weight: 800; }
.site-nav li a { font-weight: 700; }

/* Card and tile titles */
.pillar-strip-text strong, .project-card-body h3, .brief-card h3, .area h3, .quote figcaption strong,
.team-card h3, .solution-card h2, .feature-project-body h3, .values strong, .steps strong, .contact-quick strong,
.bms-val, .bms-big { font-weight: 800; }
.pillar-strip-sub, .solution-card-sub, .hero-sub, .stat-row span, .fact-row span, .project-role { font-weight: 600; }
.hero .stat-row strong, .about-hero .stat-row strong, .fact-row strong { font-weight: 800; letter-spacing: -0.035em; }
.mini-list li, .tags li, .tags a, .filter-btn { font-weight: 700; }
.pillar-strip-sum, .area p, .project-card-body p:not(.eyebrow), .brief-card p:not(.eyebrow), .quote blockquote p,
.steps span, .values span, .faq p, .check-list li { font-weight: 500; }
.faq summary { font-weight: 800; }
.field label { font-weight: 800; }
.footer-links a, .site-footer p { font-weight: 500; }
.footer-title { font-weight: 800; }
.hero h1 { font-size: clamp(2.3rem, 3.7vw, 3.2rem); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.28fr .72fr; } }

/* ---------- Home: the four pillars as one prominent, framed group ---------- */
.pillars-panel {
  position: relative; margin-top: clamp(22px, 2.6vw, 32px); padding: 16px; border-radius: 28px;
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(0, 128, 128, .10), transparent 60%),
    radial-gradient(50% 120% at 100% 100%, rgba(247, 148, 29, .10), transparent 60%),
    var(--bg-tint);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pillars-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 28px; padding: 4px 8px 14px; }
.pillars-title { margin: 0; font-size: clamp(1.45rem, 2.2vw, 1.9rem); letter-spacing: -0.03em; }
.pillars-title .accent { padding-bottom: .04em; }
.pillars-head p { margin: 0; color: var(--muted); font-weight: 600; max-width: 48ch; }
.pillars-panel .pillar-strip a { background: var(--surface); box-shadow: 0 1px 2px rgba(15, 29, 46, .05), 0 calc(6px + var(--p) * 8px) calc(16px + var(--p) * 18px) calc(-10px - var(--p) * 4px) rgba(15, 29, 46, .22); }
.pillars-panel .pillar-strip a:hover { box-shadow: var(--shadow); }
.pillar-strip .pillar-icon {
  box-sizing: content-box; width: calc(26px + var(--p) * 4px); height: calc(26px + var(--p) * 4px);
  padding: 10px; border-radius: 14px; margin-top: 0;
  background: linear-gradient(135deg, var(--accent-soft), var(--glow-orange));
}
.pillar-strip-text strong { font-size: calc(1.25rem + var(--p) * .15rem); letter-spacing: -0.02em; }
.pillar-strip-sub { font-size: .92rem; font-weight: 600; }
.pillar-strip a { padding: calc(14px + var(--p) * 8px) calc(16px + var(--p) * 4px); align-items: flex-start; }
@media (max-width: 639px) { .pillars-panel { padding: 12px; border-radius: 22px; } .pillars-head { padding: 4px 6px 12px; } }

/* Big monitors: a slightly wider page so nothing looks small */
@media (min-width: 1600px) { :root { --wrap: 1320px; } }

/* First-screen fit with the framed pillars */
.hero { padding-top: clamp(14px, 2vw, 26px); }
.hero .stat-row { margin-top: 16px; }
.hero-actions { margin-top: 1rem; }
.pillars-panel { margin-top: clamp(16px, 2vw, 22px); padding: 12px 14px 14px; }
.pillars-head { padding: 2px 6px 10px; }
.pillars-title { font-size: clamp(1.4rem, 2vw, 1.7rem); }

/* ---------- Narrower side margins (owner request): content uses more of the screen ---------- */
:root { --wrap: 1310px; --gutter: clamp(16px, 3vw, 40px); }
@media (min-width: 1600px) { :root { --wrap: 1480px; } }
.section-dark { margin: 0 clamp(8px, 1.2vw, 18px); }
.site-footer { margin: 0; }
.hero h1 { font-size: clamp(2.3rem, 3.7vw, 3.4rem); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.fact-row strong { white-space: nowrap; }
.project-hero .fact-row strong { font-size: clamp(1.3rem, 1.9vw, 1.7rem); }
.project-hero .fact-row { gap: 14px; }

/* Brand colour tokens and soft section wash (accents themselves are set in the precision system below) */
:root { --glow-teal: rgba(0, 150, 140, .26); --glow-orange: rgba(247, 148, 29, .22); }
.section-soft { background: linear-gradient(180deg, var(--bg) 0, var(--bg-tint) 140px, var(--bg-tint) calc(100% - 140px), var(--bg) 100%), radial-gradient(40% 60% at 100% 50%, rgba(247, 148, 29, .07), transparent 70%); }
.site-header::after { opacity: .9; height: 2px; background: linear-gradient(90deg, transparent 0%, rgba(0, 128, 128, .55) 20%, rgba(46, 154, 116, .5) 50%, rgba(247, 148, 29, .55) 80%, transparent 100%); }
.pillar-strip a { position: relative; overflow: hidden; }
.pillar-strip-text strong { transition: color .2s; }
.pillar-strip a:hover .pillar-strip-text strong { color: var(--link); }

/* =====================================================================
   Pillars entrance on page load: panel rises after the hero, then each pillar slides in
   ===================================================================== */
.pillars-panel { animation: rise .9s var(--ease) .35s both; }
.pillar-strip > li { animation: pillar-in .75s var(--ease) both; }
.pillar-strip > li:nth-child(1) { animation-delay: .55s; }
.pillar-strip > li:nth-child(2) { animation-delay: .65s; }
.pillar-strip > li:nth-child(3) { animation-delay: .75s; }
.pillar-strip > li:nth-child(4) { animation-delay: .85s; }
.pillar-strip .pillar-icon { animation: icon-pop .6s var(--ease) both; }
.pillar-strip > li:nth-child(1) .pillar-icon { animation-delay: .75s; }
.pillar-strip > li:nth-child(2) .pillar-icon { animation-delay: .85s; }
.pillar-strip > li:nth-child(3) .pillar-icon { animation-delay: .95s; }
.pillar-strip > li:nth-child(4) .pillar-icon { animation-delay: 1.05s; }
@keyframes pillar-in { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes icon-pop { 0% { opacity: 0; transform: scale(.5) rotate(-12deg); } 70% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: none; } }
.hero-media { animation-delay: .2s; }

/* ---------- Connect page: example network overview (reuses the dashboard window) ---------- */
.netmap-chain { display: flex; align-items: stretch; padding: 12px 12px 0; }
.netmap-node { flex: 1; min-width: 0; background: var(--surface-2); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.netmap-node b { margin-top: 4px; font-size: 1.15rem; font-weight: 800; line-height: 1.15; color: var(--heading); letter-spacing: -0.02em; }
.netmap-node small { font-size: .8rem; color: var(--muted); }
.netmap-link { flex: 0 0 18px; align-self: center; height: 2px; background: var(--grad); position: relative; overflow: hidden; }
.js .netmap-link::after { content: ""; position: absolute; top: -1px; left: -6px; width: 6px; height: 4px; border-radius: 2px; background: #fff; opacity: .9; animation: netmap-flow 2.4s linear infinite; }
@keyframes netmap-flow { to { left: 100%; } }
.netmap-label { margin: 14px 14px -4px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--link); }
@container (max-width: 420px) {
  .netmap-chain { flex-direction: column; }
  .netmap-link { flex-basis: 12px; width: 2px; height: 12px; }
}
@container (min-width: 580px) { .netmap-chain { padding: 14px 14px 0; } .netmap-link { flex-basis: 26px; } }

/* Home dashboard on small screens: the chart and four key tiles are enough */
@container (max-width: 579px) { .bms-section .bms-grid > .bms-tile:nth-child(n+6) { display: none; } }

/* ---------- WhatsApp button: compact, and out of the way where the page already offers WhatsApp ---------- */
.whatsapp-float { padding: 0; width: 56px; justify-content: center; gap: 0; }
.whatsapp-float-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--ease), margin .35s var(--ease); }
@media (hover: hover) and (min-width: 601px) {
  .whatsapp-float:hover, .whatsapp-float:focus-visible { width: auto; padding: 0 20px 0 16px; }
  .whatsapp-float:hover .whatsapp-float-label, .whatsapp-float:focus-visible .whatsapp-float-label { max-width: 140px; margin-left: 8px; }
}
.js .whatsapp-float { animation: none; transition: opacity .3s ease, transform .3s var(--ease), box-shadow .3s, width .35s var(--ease), padding .35s var(--ease); }
.js .whatsapp-float.is-away { opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; }
.page-contact .whatsapp-float { display: none; }

/* Brand logos for visitors who turn motion off: one swipeable row on phones instead of a long grid */
@media (prefers-reduced-motion: reduce) and (max-width: 639px) {
  .brand-row { overflow-x: auto; scrollbar-width: none; }
  .brand-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; }
}

/* Home hero photo on phones: keep the ZimIoTix logo on the vest above the "Latest project" card */
@media (max-width: 899px) { .home .hero-media img { object-position: center 70%; } }

/* Two featured projects (until a third has photos): side by side, equal height */
@media (min-width: 900px) {
  .featured-projects-2 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .featured-projects-2 .feature-project-main { grid-row: auto; }
  .featured-projects-2 .feature-project .feature-project-media { aspect-ratio: auto; flex: 1; min-height: 340px; }
  .featured-projects-2 .feature-project-body h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
}

/* =====================================================================
   Precision system (owner-approved 2026-10-14; final layer, overrides the rules above):
   - one action colour (orange), brand gradient only in the hero headline and the header line
   - hairline edges instead of soft shadows; three corner sizes (8 / 12 / pill)
   - monospace for technical details: labels, readings, project facts
   - "control room" dark bands: near-black carbon with hairlines and a single teal floor glow
   ===================================================================== */
:root {
  --mono: var(--font);
  --radius: 12px; --radius-sm: 8px; --radius-lg: 16px;
  --line: rgba(11, 22, 38, .11);
  --hair: 1px solid var(--line);
  --shadow-sm: none;
  --shadow: 0 1px 0 rgba(11, 22, 38, .04), 0 12px 32px -18px rgba(11, 22, 38, .22);
  /* control room */
  --carbon: #0a0f12;
  --carbon-2: #10171b;
  --carbon-3: #161f24;
  --carbon-line: rgba(255, 255, 255, .08);
  --carbon-text: #b9c6cb;
  --carbon-muted: #7f8f96;
  --signal: #4fd1c5;
  --panel: var(--carbon);
  --panel-text: var(--carbon-text);
  --panel-accent: var(--signal);
}
:root[data-theme="dark"] {
  --line: rgba(255, 255, 255, .09);
  --bg: #0b1114; --bg-tint: #0e1518; --surface: #10181c; --surface-2: #141d22;
  --carbon: #070b0d; --carbon-2: #0d1316; --carbon-3: #131b1f;
}

/* ---------- Type: tighter display, mono for technical labels ---------- */
h1, h2 { letter-spacing: -0.038em; }
.hero h1 { font-size: clamp(2.3rem, 3.8vw, 3.5rem); line-height: 1.02; font-weight: 800; }
.eyebrow {
  font-family: var(--mono); font-weight: 500; font-size: .74rem; letter-spacing: .06em; color: var(--muted); gap: 8px;
}
.eyebrow::before { width: 7px; height: 7px; border-radius: 2px; background: var(--teal); }
.section-dark .eyebrow, .cta-band .eyebrow { color: var(--carbon-muted); }
.section-dark .eyebrow::before { background: var(--signal); }

/* Brand gradient only on the hero headline; elsewhere accents are solid teal */
.accent { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--teal); }
.hero h1 .accent { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-dark .accent, .cta-band .accent, .site-footer .accent { background: none; color: var(--signal); }
.site-header::after { height: 1px; opacity: .7; }

/* ---------- Buttons: one solid orange action, everything else neutral ---------- */
.btn { border-radius: var(--radius-sm); letter-spacing: -0.01em; }
.btn-primary {
  background: #f7941d; color: #1b1100;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 2px rgba(120, 60, 0, .25);
}
.btn-primary:hover { background: #ffa22e; transform: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 4px 14px -6px rgba(247, 148, 29, .7); }
.btn-ghost-light { box-shadow: inset 0 0 0 1px var(--carbon-line); background: rgba(255, 255, 255, .03); }
.btn-ghost-light:hover { transform: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }

/* ---------- Hero ---------- */
.hero-media::before { display: none; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(11, 22, 38, .45); }
.hero-badge {
  border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), 0 10px 28px -14px rgba(11, 22, 38, .35);
  background: color-mix(in srgb, var(--surface) 94%, transparent); animation: none;
}
.hero-badge::before { display: none; }
.hero-badge-label { font-family: var(--mono); font-weight: 500; letter-spacing: .06em; color: var(--muted); }
.hero-badge-label::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2fbf71; margin-right: 7px; vertical-align: 1px; }
.hero-badge span:last-child { font-family: var(--mono); font-size: .8rem; }

/* Numbers: solid ink, mono labels, hairline dividers */
.stat-row strong { background: none; color: var(--heading); -webkit-background-clip: border-box; background-clip: border-box; }
.hero .stat-row li + li::before, .about-hero .stat-row li + li::before { width: 1px; background: var(--line); }

/* ---------- Four pillars: a precise instrument panel ---------- */
.pillars-panel {
  border: var(--hair); border-radius: var(--radius-lg);
  background: var(--bg-tint);
}
.pillars-panel .pillar-strip a,
.pillars-panel .pillar-strip a:hover {
  border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line);
}
.pillars-panel .pillar-strip a:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--teal) 55%, transparent), 0 12px 28px -18px rgba(11, 22, 38, .35); }
.pillar-strip a::before { display: none; }
.pillar-strip .pillar-icon,
.pillar-strip li:nth-child(even) .pillar-icon {
  color: var(--teal); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--radius-sm);
}
.pillar-strip-sub { font-family: var(--mono); font-weight: 500; font-size: .76rem; letter-spacing: .01em; color: var(--muted); }

/* ---------- Control-room dark bands ---------- */
.section-dark {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 60% at 50% 115%, rgba(79, 209, 197, .16), transparent 70%),
    var(--carbon);
  box-shadow: inset 0 0 0 1px var(--carbon-line);
}
.feature-project a {
  border-radius: var(--radius); background: var(--carbon-2); box-shadow: inset 0 0 0 1px var(--carbon-line);
}
.feature-project a:hover { transform: none; background: var(--carbon-3); box-shadow: inset 0 0 0 1px rgba(79, 209, 197, .35); }
.feature-project-body .eyebrow { color: var(--carbon-muted); }

.cta-inner {
  border-radius: var(--radius-lg); background: var(--carbon); box-shadow: inset 0 0 0 1px var(--carbon-line);
}
.cta-inner::before {
  inset: 0; animation: none;
  background: radial-gradient(60% 90% at 100% 120%, rgba(79, 209, 197, .18), transparent 70%);
}

/* ---------- The example dashboard: a real control-room screen ---------- */
.bms::before { display: none; }
.bms-window {
  border-radius: var(--radius-lg); background: var(--carbon);
  box-shadow: inset 0 0 0 1px var(--carbon-line), 0 30px 60px -30px rgba(11, 22, 38, .55);
  color: var(--carbon-text);
}
.bms-bar { background: var(--carbon-2); border-bottom: 1px solid var(--carbon-line); color: var(--carbon-muted); font-family: var(--mono); font-weight: 500; font-size: .74rem; }
.bms-title { color: #e6eef0; }
.bms-dots i { background: rgba(255, 255, 255, .14); }
.bms-live { color: var(--signal); font-family: var(--mono); font-weight: 500; }
.bms-tile { background: var(--carbon-2); border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px var(--carbon-line); }
.bms-tile-head { font-family: var(--mono); font-weight: 500; font-size: .68rem; letter-spacing: .05em; color: var(--carbon-muted); }
.bms-val, .bms-big { font-family: var(--mono); font-weight: 600; letter-spacing: -0.03em; color: #f2f6f7; }
.bms-val small, .bms-big small { color: var(--carbon-muted); font-weight: 500; }
.bms-note, .bms-axis, .bms-legend { color: var(--carbon-muted); font-family: var(--mono); font-size: .7rem; }
.bms-dot.ok { background: #2fbf71; box-shadow: 0 0 0 3px rgba(47, 191, 113, .18); }
.bms-meter, .bms-tank { background: rgba(255, 255, 255, .08); }
.bms-meter i { background: var(--signal); }
.bms-grid-lines { stroke: rgba(255, 255, 255, .07); }
.bms-line-grid { stroke: var(--signal); }
.bms-legend .lg-grid { background: var(--signal); }
.bms-feed { color: var(--carbon-muted); font-family: var(--mono); font-size: .74rem; border-top: 1px solid var(--carbon-line); }
.bms-feed-label { background: rgba(79, 209, 197, .12); color: var(--signal); font-family: var(--mono); font-weight: 500; }
.bms figcaption { font-family: var(--mono); font-size: .74rem; }
.bms [data-tick].is-ticking { animation: none; }
.netmap-node { background: var(--carbon-2); box-shadow: inset 0 0 0 1px var(--carbon-line); border-radius: var(--radius-sm); }
.netmap-node b { color: #f2f6f7; }
.netmap-node small { color: var(--carbon-muted); font-family: var(--mono); }
.netmap-label { font-family: var(--mono); font-weight: 500; color: var(--signal); }

/* ---------- Cards and quotes: hairlines, no floating shadows ---------- */
.quote { border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.quote:hover { transform: none; box-shadow: 0 0 0 1px color-mix(in srgb, var(--teal) 45%, transparent); }
.quote::before { background: none; color: var(--teal); -webkit-background-clip: border-box; background-clip: border-box; opacity: .45; }
.quote figcaption span { font-family: var(--mono); font-size: .76rem; }
.onsite-badge { border-radius: var(--radius); }
.onsite-badge strong { font-family: var(--mono); letter-spacing: -0.03em; }
.onsite-photo img { border-radius: var(--radius-lg); }
.check-list li::before { background-color: var(--accent-soft); }
.fact-row strong { font-family: var(--mono); font-weight: 600; letter-spacing: -0.04em; }
.fact-row span { font-family: var(--mono); font-size: .76rem; }
.tags li, .tags a { font-family: var(--mono); font-weight: 500; font-size: .76rem; border-radius: 6px; }

/* =====================================================================
   Plain structure (owner request: no "AI template" look)
   No decorative dots, ticks, coloured edge bars, pill chips or floating blobs.
   Lists read like a spec sheet: plain rows divided by hairlines.
   ===================================================================== */
.eyebrow::before, .hero-badge-label::before { display: none; }
.eyebrow { gap: 8px; }
.brief-card::before, .project-aside::before, .mv-item::before, .onsite-badge::before,
.contact-form::before, .fact-row li::before, .pillar-card::before, .values strong::before,
.bms-points li::before, .area::before, .check-list li::before, .quote::before { display: none; }

/* Facts and statements: a hairline above instead of a coloured rail */
.fact-row li, .mv-item { padding-left: 0; border-top: 1px solid var(--line); padding-top: 12px; }

/* Lists: rows with hairlines */
.check-list { gap: 0; }
.check-list li { padding: 11px 0; border-top: 1px solid var(--line); }
.check-list > li:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 800px) {
  .check-list-lg { gap: 0 40px; }
  .check-list-lg > li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }
}
.area-grid { gap: 26px 44px; }
.area { padding-left: 0; border-top: 1px solid var(--line); padding-top: 16px; }
.values li { border-top: 1px solid var(--line); padding-top: 14px; }
.values span { padding-left: 0; }
.bms-points { gap: 8px 0; }
.bms-points li + li { border-left: 1px solid var(--line); margin-left: 24px; padding-left: 24px; }
@media (max-width: 760px) {
  .bms-points { flex-direction: column; align-items: center; }
  .bms-points li + li { border-left: 0; margin-left: 0; padding-left: 0; }
}

/* Short lists of included items: inline, separated by slashes, not pill chips */
.mini-list { gap: 4px 0; }
.mini-list li { background: none; padding: 0; border-radius: 0; font-family: var(--mono); font-weight: 500; font-size: .8rem; color: var(--muted); }
.mini-list li:not(:last-child)::after { content: "/"; margin: 0 .6em; color: color-mix(in srgb, var(--muted) 45%, transparent); }
.hero-includes li:hover { background: none; }
.hero-includes a:hover { color: var(--link); text-decoration: underline; }
.hero-includes-label { font-family: var(--mono); font-weight: 500; letter-spacing: .06em; }
.tags li, .tags a { background: none; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); padding: 4px 9px; }
.tags a:hover { background: none; color: var(--link); box-shadow: inset 0 0 0 1px var(--teal); }

/* How we work is a real sequence, so the numbers stay: mono, no gradient circles */
.steps li::before {
  content: counter(step, decimal-leading-zero); background: var(--surface); color: var(--teal);
  font-family: var(--mono); font-weight: 600; font-size: .85rem; border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px var(--line); width: 40px; height: 40px;
}
.steps li:not(:last-child)::after { background: var(--line); opacity: 1; width: 1px; left: 20px; }
@media (min-width: 1000px) { .steps li:not(:last-child)::after { height: 1px; width: auto; left: 48px; top: 20px; } }

/* Other gradient leftovers become solid */
.hero-sub { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--teal); }
.solution-hero-media::before, .about-hero-media::before, .onsite-media::before { display: none; }
.solution-hero-media img, .about-hero-media img { border-radius: var(--radius-lg); box-shadow: 0 0 0 1px var(--line); }
.avatar { background: var(--teal); box-shadow: none; }
.team-card:first-child .avatar { background: #c96a00; }
.avatar::after { background: var(--line); opacity: 1; }
.footer-bottom::before { background: rgba(255, 255, 255, .1); }
.quote { padding-top: 26px; }
.pillar-links a:hover, .solution-card:hover, .brief-card:hover, .pillar-card:hover { transform: none; }
.solution-card, .brief-card, .pillar-links a, .contact-form { border-radius: var(--radius); }
.media-placeholder { background: radial-gradient(70% 60% at 50% 115%, rgba(79, 209, 197, .16), transparent 70%), var(--carbon); }

.onsite-badge strong { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--heading); }
.site-footer { background: radial-gradient(60% 70% at 100% 0%, rgba(79, 209, 197, .12), transparent 70%), var(--carbon); }

.fact-row strong { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--heading); }
.project-role span { font-family: var(--mono); font-weight: 500; letter-spacing: .06em; color: var(--muted); }
/* One corner scale everywhere: 16px for photos and large frames */
.project-hero-media, .onsite-photo-main, .onsite-photo-side, .onsite-photo img, .gallery img, .map, .map iframe { border-radius: var(--radius-lg); }
.project-hero-media, .onsite-photo-main { box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(11, 22, 38, .4); }

/* Page-top glows: one still, faint light instead of two drifting blobs */
.hero::after, .page-hero::after { display: none; }
.hero::before, .page-hero::before { animation: none; opacity: .7; }

/* =====================================================================
   Fades (owner request): calm fade-ins, nothing bouncy. All off for "reduce motion".
   ===================================================================== */
/* Scroll reveal: a shorter, softer rise */
.js .reveal { transform: translateY(14px); transition-duration: .9s; transition-delay: calc(var(--i, 0) * 90ms); }
/* Photos fade in as they finish loading (class set by site.js only while loading) */
.js img.img-loading { opacity: 0; }
.js img.img-fade { transition: opacity .7s ease; }
/* Dashboard: tiles fade in one by one when it comes into view */
.js .bms:not(.is-drawn) .bms-tile, .js .bms:not(.is-drawn) .bms-feed { opacity: 0; transform: translateY(6px); }
.js .bms .bms-tile, .js .bms .bms-feed { transition: opacity .6s ease, transform .6s var(--ease); }
.js .bms.is-drawn .bms-tile:nth-child(2) { transition-delay: .1s; }
.js .bms.is-drawn .bms-tile:nth-child(3) { transition-delay: .18s; }
.js .bms.is-drawn .bms-tile:nth-child(4) { transition-delay: .26s; }
.js .bms.is-drawn .bms-tile:nth-child(5) { transition-delay: .34s; }
.js .bms.is-drawn .bms-tile:nth-child(6) { transition-delay: .42s; }
.js .bms.is-drawn .bms-tile:nth-child(7) { transition-delay: .5s; }
.js .bms.is-drawn .bms-tile:nth-child(8) { transition-delay: .58s; }
.js .bms.is-drawn .bms-tile:nth-child(9) { transition-delay: .66s; }
.js .bms.is-drawn .bms-feed { transition-delay: .8s; }
/* Photo edges in the dark project band fade into the card */
.feature-project-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(0deg, var(--carbon-2), transparent); opacity: .55; pointer-events: none; }
/* Long rows of brand logos and the dark bands fade at their edges */
.section-dark::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent); }
@media (prefers-reduced-motion: reduce) {
  .js img.img-loading { opacity: 1; }
  .js .bms .bms-tile, .js .bms .bms-feed { opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   Front page (Nov 2026): most of the company on one well-ordered page.
   Rows divided by hairlines, slashes between short items, real photos first.
   ===================================================================== */
.section[id] { scroll-margin-top: 0; }
.fp-label { font-family: var(--mono); font-weight: 500; font-size: .78rem; letter-spacing: .04em; color: var(--muted); margin: 0 0 14px; }
.fp-slashes { font-family: var(--mono); font-weight: 500; font-size: .78rem; line-height: 1.7; color: var(--muted); margin: 0; }
.fp-note { font-size: .82rem; color: var(--muted); margin: 18px 0 0; }

/* Opening: words on the left, three very different jobs on the right */
.fp-hero { padding-bottom: 8px; }
.fp-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.fp-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); line-height: 1.06; text-wrap: balance; }
.fp-hero .stat-row { margin-top: 26px; }
.fp-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 10px; min-width: 0; }
.fp-mosaic figure { position: relative; margin: 0; overflow: hidden; border-radius: 12px; }
.fp-mosaic-main { grid-column: 1 / -1; }
.fp-mosaic picture, .fp-mosaic img { width: 100%; height: 100%; }
.fp-mosaic img { object-fit: cover; aspect-ratio: 16 / 9; }
.fp-mosaic figure:not(.fp-mosaic-main) img { aspect-ratio: 16 / 10; }
.fp-mosaic figcaption {
  position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 6px;
  background: rgba(11, 22, 38, .78); color: #fff; font-family: var(--mono); font-weight: 500; font-size: .72rem;
}
@media (max-width: 899px) {
  .fp-hero-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Clients */
.fp-clients { padding: 26px 0 8px; }
.fp-clients .wrap { border-top: 1px solid var(--line); padding-top: 22px; }
.fp-client-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 28px; }
.fp-client-list li { font-weight: 700; font-size: 1rem; color: var(--heading); white-space: nowrap; }
@media (max-width: 620px) { .fp-client-list li { white-space: normal; font-size: .95rem; } }

/* Head with a button on the right */
.fp-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; text-align: left; max-width: none; }
.fp-head-row > div { max-width: 720px; }

/* Four pillars: rows that open in place */
.fp-pillars { border-top: 1px solid var(--line); }
.fp-pillar { border-bottom: 1px solid var(--line); }
.fp-pillar summary {
  list-style: none; cursor: pointer; display: grid; align-items: center; gap: 6px 20px;
  grid-template-columns: 48px minmax(0, 3fr) minmax(0, 6fr) 24px; padding: 18px 4px;
}
.fp-pillar summary::-webkit-details-marker { display: none; }
.fp-pillar summary:hover .fp-pillar-name strong { color: var(--link); }
.fp-pillar-name { display: grid; gap: 1px; }
.fp-pillar-name strong { font-size: 1.3rem; font-weight: 800; letter-spacing: -.015em; color: var(--heading); }
.fp-pillar-name span { font-family: var(--mono); font-weight: 500; font-size: .76rem; color: var(--muted); }
.fp-pillar-sum { color: var(--muted); font-size: 1rem; line-height: 1.45; }
.fp-pillar-mark { position: relative; width: 18px; height: 18px; justify-self: end; }
.fp-pillar-mark::before, .fp-pillar-mark::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--muted); transition: transform .25s var(--ease); }
.fp-pillar-mark::after { transform: rotate(90deg); }
.fp-pillar[open] .fp-pillar-mark::after { transform: rotate(0); }
.fp-pillar-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 40px; padding: 6px 4px 30px; }
.fp-areas { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.fp-areas li { padding: 12px 0; border-top: 1px solid var(--line); }
.fp-areas h3 { font-size: 1rem; margin: 0 0 3px; }
.fp-areas p { font-size: .94rem; line-height: 1.5; color: var(--muted); margin: 0; }
.fp-pillar-actions { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 16px 0 0; }
.fp-pillar-photo { margin: 0; }
.fp-pillar-photo picture, .fp-pillar-photo img { width: 100%; height: 100%; }
.fp-pillar-photo img { object-fit: cover; border-radius: 12px; max-height: 420px; }
@media (max-width: 899px) {
  .fp-pillar summary { grid-template-columns: 44px minmax(0, 1fr) 20px; }
  .fp-pillar-sum { grid-column: 2 / -1; grid-row: 2; font-size: .95rem; }
  .fp-pillar-body { grid-template-columns: minmax(0, 1fr); }
  .fp-pillar-photo { order: -1; }
  .fp-pillar-photo img { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) { .fp-areas { grid-template-columns: minmax(0, 1fr); } }

/* Photo beside content */
.fp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(28px, 4vw, 56px); align-items: start; }
.fp-split-media { margin: 0; }
.fp-split-media img { width: 100%; object-fit: cover; border-radius: 12px; }
.fp-rows-2 { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 18px; }
.fp-rows-2 li { padding: 11px 0; border-top: 1px solid var(--line); }
.fp-rows-2 h3 { font-size: 1rem; margin: 0 0 2px; }
.fp-rows-2 p { font-size: .94rem; line-height: 1.5; color: var(--muted); margin: 0; }
.fp-homes .fp-split-media img { aspect-ratio: 4 / 5; }
@media (max-width: 899px) {
  .fp-split { grid-template-columns: minmax(0, 1fr); }
  .fp-homes .fp-split-media img { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) { .fp-rows-2 { grid-template-columns: minmax(0, 1fr); } }

/* Who we serve */
.fp-sectors { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
@media (max-width: 1100px) { .fp-sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fp-sectors { grid-template-columns: minmax(0, 1fr); } }
.fp-sectors li { padding: 18px 0 20px; border-top: 1px solid var(--line); }
.fp-sectors h3 { margin: 0 0 6px; }
.fp-sectors p { font-size: .97rem; line-height: 1.55; color: var(--muted); margin: 0 0 8px; }

/* Products */
.fp-products { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.fp-products figure { margin: 0 0 12px; overflow: hidden; border-radius: 12px; }
.fp-products img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fp-products h3 { font-size: 1.04rem; margin: 0 0 6px; }
.fp-products .fp-slashes { margin-bottom: 8px; }
@media (max-width: 1000px) { .fp-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .fp-products { grid-template-columns: minmax(0, 1fr); } }

/* How we work: a real sequence, so it keeps its numbers */
.fp-split-process { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.fp-sticky .fp-split-media { margin-top: 20px; }
.fp-sticky .fp-split-media img { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .fp-sticky { position: sticky; top: 90px; } }
.fp-steps { list-style: none; counter-reset: fpstep; border-bottom: 1px solid var(--line); }
.fp-steps li { counter-increment: fpstep; display: grid; grid-template-columns: 48px minmax(0, 1fr); padding: 16px 0; border-top: 1px solid var(--line); }
.fp-steps li::before { content: counter(fpstep); grid-row: 1 / 3; font-family: var(--mono); font-weight: 500; font-size: 1.05rem; color: var(--teal); line-height: 1.5; }
.fp-steps h3 { margin: 0 0 3px; font-size: 1.1rem; }
.fp-steps p { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.55; }

/* Quotes */
.fp-quotes { columns: 3 300px; column-gap: 20px; }
.fp-quotes .quote { break-inside: avoid; margin: 0 0 20px; background: var(--surface); }
.fp-quotes .quote p { font-size: 1rem; line-height: 1.55; }

/* FAQs */
.fp-faqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.fp-faq { border-bottom: 1px solid var(--line); align-self: start; }
.fp-faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--heading); line-height: 1.35; }
.fp-faq summary:hover { color: var(--link); }
.fp-faq p { margin: 0 0 16px; color: var(--muted); font-size: .97rem; line-height: 1.55; }
@media (max-width: 760px) { .fp-faqs { grid-template-columns: minmax(0, 1fr); } }

.site-footer .fp-slashes a { color: inherit; }

/* Menu: where you are on the front page */
.site-nav a[aria-current="true"]:not(.btn) { color: var(--link); }

/* Projects page */
.pj-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 8px; }
.pj-filters[hidden] { display: none; }
.pj-filters .filter { margin: 0; }
.pj-sector { display: flex; align-items: center; gap: 10px; }
.pj-sector label { font-family: var(--mono); font-weight: 500; font-size: .78rem; color: var(--muted); }
.pj-sector select { font: inherit; font-size: .95rem; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); max-width: 100%; }
.pj-count { font-family: var(--mono); font-weight: 500; font-size: .78rem; color: var(--muted); margin: 0 0 18px; }
.pj-more { text-align: center; margin: 28px 0 0; }
.pj-briefs { margin-top: 36px; }
.pj-clients { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 22px; }
.pj-quote { margin: 26px 0 0; }
.is-hidden { display: none !important; }
.btn-ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { color: var(--link); box-shadow: inset 0 0 0 1px var(--teal); }
.fp-quote-cta { break-inside: avoid; padding: 26px; border-radius: 16px; background: var(--carbon); color: #dfe9eb; }
.fp-quote-cta h3 { color: #fff; margin: 0 0 8px; font-size: 1.25rem; }
.fp-quote-cta p { margin: 0 0 16px; font-size: 1rem; line-height: 1.55; }

/* Filter buttons: plain rectangles, a solid fill for the active one */
.filter-btn { border-radius: 8px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font-weight: 600; }
.filter-btn:hover { background: transparent; box-shadow: inset 0 0 0 1px var(--teal); color: var(--text); }
.filter-btn[aria-pressed="true"], .filter-btn[aria-pressed="true"]:hover { background: var(--teal); background-image: none; color: #fff; box-shadow: none; }
:root[data-theme="dark"] .filter-btn[aria-pressed="true"] { color: #06211f; }

/* Phones: the same content in less scrolling */
@media (max-width: 620px) {
  #projects .project-card-media img { aspect-ratio: 16 / 10; object-fit: cover; }
  #projects .project-card-body p:not(.eyebrow) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .fp-products { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .fp-products li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 2px 14px; padding: 14px 0; border-top: 1px solid var(--line); align-items: start; }
  .fp-products figure { grid-row: 1 / 4; margin: 0; border-radius: 8px; }
  .fp-products img { aspect-ratio: 1; }
  .fp-products .fp-slashes { margin-bottom: 4px; font-size: .74rem; }
  .fp-products .text-link { font-size: .92rem; }
  .fp-quotes .quote:nth-child(n + 4) { display: none; }
  .fp-map iframe { height: 240px; }
}

/* "Many more projects" panel: fills the last grid cell on the front page */
.more-work { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius); background: var(--carbon); color: #c9d8da; min-width: 0; }
.more-work-num { font-family: var(--mono); font-weight: 600; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.04em; color: #fff; margin: 0 0 6px; }
.more-work h3 { color: #fff; font-size: 1.25rem; margin: 0; }
.more-work p:not(.more-work-num) { margin: 0; font-size: .98rem; line-height: 1.55; }
.more-work .text-link { color: var(--signal); margin-top: auto; padding-top: 10px; }
.more-work .text-link:hover { color: #fff; }
.pj-more-work { margin-top: 32px; }
.pj-more-work .more-work { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 28px; align-items: start; }
.pj-more-work .more-work-num { grid-row: 1 / 4; margin: 0; }
.pj-more-work .text-link { padding-top: 6px; }
@media (max-width: 620px) {
  .pj-more-work .more-work { grid-template-columns: minmax(0, 1fr); }
  .pj-more-work .more-work-num { grid-row: auto; margin-bottom: 6px; }
}

/* Menu stays on one line on small laptops and tablets */
.site-nav a, .header-cta { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1180px) {
  .site-nav ul { gap: .95rem; }
  .site-nav li a { font-size: .9rem; }
  .header-cta { padding-left: .85rem; padding-right: .85rem; font-size: .88rem; }
  .brand img { width: 150px; height: auto; }
  .header-tools { margin-left: 8px; }
  .site-nav { gap: .85rem; }
}

/* =====================================================================
   One type scale for About and Contact.
   Section title (h2), block title (h3), item title (h4), body text. Nothing else.
   ===================================================================== */
.eyebrow { font-family: var(--font); font-weight: 700; font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--link); }
.fp-label { font-weight: 700; font-size: .95rem; letter-spacing: 0; }
.fp-slashes { font-size: .88rem; }

/* About */
.about-leader {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 64px);
  padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius); background: var(--bg-tint);
}
.about-leader h3 { margin: 0; font-size: 1.5rem; line-height: 1.25; color: var(--heading); }
.about-role { margin: 4px 0 16px; font-weight: 600; color: var(--link); }
.about-bio { margin: 0 0 16px; font-size: 1.05rem; line-height: 1.65; color: var(--text); max-width: 62ch; }
.about-meta { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--muted); }
.about-quals h4 { margin: 0 0 12px; font-size: 1.05rem; font-weight: 700; color: var(--heading); }
.about-quals ul { list-style: none; margin: 0; padding: 0; }
.about-quals li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 1rem; font-weight: 600; color: var(--heading); }
.about-sub { margin: 0 0 18px; font-size: 1.35rem; line-height: 1.3; color: var(--heading); }
@media (max-width: 1040px) {
}
@media (max-width: 860px) {
  .about-leader { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
}

/* Contact */
:root { --field-line: #d3dfdf; }
:root[data-theme="dark"] { --field-line: rgba(255, 255, 255, .16); }
.fp-contact .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: stretch; }
.fp-contact .contact-form, .contact-card {
  padding: clamp(22px, 2.8vw, 32px); border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--field-line); box-shadow: none;
}
.fp-contact .contact-form { align-content: start; gap: 16px; }
.fp-contact .contact-form h3, .contact-card h3 { margin: 0; font-size: 1.35rem; line-height: 1.3; color: var(--heading); }
.fp-contact .field { gap: 6px; }
.fp-contact .field input, .fp-contact .field select, .fp-contact .field textarea {
  min-height: 50px; padding: 11px 14px; border: 1px solid var(--field-line); border-radius: 10px; background: var(--surface);
}
.fp-contact .field input, .fp-contact .field select { height: 50px; }
.fp-contact .field textarea { min-height: 132px; }
.fp-contact .field input:hover, .fp-contact .field select:hover, .fp-contact .field textarea:hover { border-color: var(--muted); }
.fp-contact .field input:focus, .fp-contact .field select:focus, .fp-contact .field textarea:focus { border-color: var(--teal); }
.fp-contact .field [aria-invalid="true"] { border-color: #d64545; }
.form-status:empty { display: none; }
.contact-rows { margin: 16px 0 0; }
.contact-rows > div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-rows > div:last-child { padding-bottom: 0; }
.contact-rows dt { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; font-size: 1rem; line-height: 1.5; color: var(--heading); }
.contact-rows dt svg { width: 22px; height: 22px; flex: none; color: var(--teal); }
.contact-rows dd { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--text); overflow-wrap: anywhere; }
.contact-rows dd a { color: var(--link); text-decoration: none; font-weight: 600; }
.contact-rows dd a:hover, .contact-rows dd a:focus-visible { text-decoration: underline; }
.contact-hours { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 16px; }
.contact-hour { display: contents; }
.contact-social { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.fp-map { margin-top: 24px; aspect-ratio: auto; height: auto; min-height: 0; line-height: 0; border-radius: var(--radius); box-shadow: none; border: 1px solid var(--field-line); }
.fp-map iframe { width: 100%; height: 320px; border: 0; display: block; }
.fp-map-link { margin: 12px 0 0; }
@media (max-width: 959px) {
  .fp-contact .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .fp-map iframe { height: 240px; }
  .contact-rows > div { grid-template-columns: 112px minmax(0, 1fr); gap: 4px 10px; }
  .contact-hours { display: block; }
  .contact-hour { display: block; }
  .contact-hour + .contact-hour { margin-top: 6px; }
  .contact-hour span { display: block; }
}

/* =====================================================================
   Line icons (Lucide), and panels that slide open and shut
   ===================================================================== */
.fi { width: 24px; height: 24px; flex: none; color: var(--teal); stroke-width: 1.75; }
.fp-areas li, .fp-rows-2 li { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; align-content: start; }
.fp-areas .fi, .fp-rows-2 .fi { grid-row: 1 / span 2; margin-top: 1px; }
.fp-areas h3, .fp-areas p, .fp-rows-2 h3, .fp-rows-2 p { grid-column: 2; }
.fp-sectors .fi, .info-card .fi, .area .fi { display: block; width: 28px; height: 28px; margin-bottom: 12px; }
.about-quals li { display: flex; align-items: center; gap: 10px; }
.about-quals .fi { width: 22px; height: 22px; }
.fp-steps li { grid-template-columns: 26px minmax(0, 1fr); column-gap: 16px; }
.fp-steps li::before { content: none; }
.fp-steps .fi { grid-row: 1 / span 2; width: 26px; height: 26px; margin-top: 1px; }
.fp-steps h3, .fp-steps p { grid-column: 2; }
.fp-steps h3::before { content: counter(fpstep) ". "; color: var(--link); }
.project-card-body .eyebrow { align-items: flex-start; gap: 6px; }
.project-card-body .eyebrow .fi { width: 17px; height: 17px; margin-top: 2px; color: var(--link); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; color: #e2ecee; }
.footer-contact .fi { width: 18px; height: 18px; margin-top: 3px; color: var(--signal); }
.site-footer .fp-slashes { color: #e2ecee; font-size: inherit; }

.fp-pillar-name strong, .fp-pillar .pillar-icon { transition: color .3s; }
.fp-pillar[open]:not(.is-closing) .fp-pillar-name strong { color: var(--link); }
.fp-pillar-mark::before, .fp-pillar-mark::after { transition: transform .35s var(--ease); }
.fp-faq[open] .fp-pillar-mark::after { transform: rotate(0); }
.fp-pillar.is-closing .fp-pillar-mark::after, .fp-faq.is-closing .fp-pillar-mark::after { transform: rotate(90deg); }
.fp-faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; list-style: none; }
.fp-faq summary::-webkit-details-marker { display: none; }
.fp-faq .fp-pillar-mark { flex: none; width: 14px; height: 14px; margin-top: 4px; }
.fp-faq .fp-pillar-mark::before, .fp-faq .fp-pillar-mark::after { top: 6px; }
.fp-faq-body { padding-bottom: 16px; }
.fp-faq-body p { margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .fp-pillar-mark::before, .fp-pillar-mark::after, .fp-pillar-name strong { transition: none; }
}

/* =====================================================================
   Depth without shadows: flat layers of tone, and a little orange.
   ===================================================================== */
:root { --bg-tint: #ebf3f2; }
:root[data-theme="dark"] { --bg-tint: #0f2026; }

/* White panels sitting on the tinted sections */
#sectors .fp-sectors { gap: 14px; }
#sectors .fp-sectors li { padding: 20px 22px; border-top: 0; border-radius: var(--radius-sm); background: var(--surface); }
.fp-quotes .quote, .fp-quotes .quote:hover { box-shadow: none; transform: none; }
.fp-contact .contact-form, .contact-card { border: 0; }
.fp-map { box-shadow: none; border: 0; }

/* The pillar you open becomes a tinted layer */
.fp-pillar { transition: background-color .35s var(--ease); }
.fp-pillar summary { padding-left: 16px; padding-right: 16px; }
.fp-pillar-body { padding-left: 16px; padding-right: 16px; }
.fp-pillar[open]:not(.is-closing) { background: var(--bg-tint); }

/* Orange in small places */
.text-link span[aria-hidden] { color: var(--orange-deep); }
.more-work .text-link span[aria-hidden] { color: var(--orange); }
.fp-steps h3::before { content: counter(fpstep) ". "; color: var(--orange-deep); }
.fp-pillar-mark::before, .fp-pillar-mark::after { transition: transform .35s var(--ease), background-color .35s; }
.fp-pillar[open]:not(.is-closing) .fp-pillar-mark::before, .fp-pillar[open]:not(.is-closing) .fp-pillar-mark::after,
.fp-faq[open]:not(.is-closing) .fp-pillar-mark::before, .fp-faq[open]:not(.is-closing) .fp-pillar-mark::after { background: var(--orange); }
@media (min-width: 900px) {
  .site-nav a[aria-current="true"]:not(.btn) { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 6px; }
}

/* Orange bar: only on things you can click. It answers a hover, a press or keyboard focus,
   and stays on an open pillar or question, which is what phones see. */
.fp-pillar, .fp-faq, .fp-products li, .project-card-link { position: relative; }
.fp-pillar::before, .fp-faq::before, .fp-products li::before, .project-card-link::before {
  content: ""; position: absolute; z-index: 2; inset: 0 auto 0 0; width: 4px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); pointer-events: none;
}
.fp-products li::before { left: -9px; border-radius: 2px; }
.project-card-link:focus-visible::before, .project-card-link:active::before,
.fp-products li:focus-within::before, .fp-products li:active::before,
.fp-pillar:has(summary:focus-visible)::before, .fp-faq:has(summary:focus-visible)::before,
.fp-pillar[open]:not(.is-closing)::before, .fp-faq[open]:not(.is-closing)::before { transform: scaleX(1); }
@media (hover: hover) {
  .project-card-link:hover::before, .fp-products li:hover::before, .fp-pillar:hover::before, .fp-faq:hover::before { transform: scaleX(1); }
}
.project-card-link:hover { transform: none; box-shadow: none; }
.fp-products .text-link::after { content: ""; position: absolute; inset: 0; }
.fp-faq summary { padding-left: 14px; padding-right: 14px; }
.fp-faq-body { padding-left: 14px; padding-right: 14px; }
@media (prefers-reduced-motion: reduce) {
  .fp-pillar::before, .fp-faq::before, .fp-products li::before, .project-card-link::before { transition: none; }
}

/* First screen: words rise in order, then the three photos. Finished in under a second. */
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hero-photo { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.js .fp-hero .hero-copy > * { animation: hero-rise .55s var(--ease) backwards; }
.js .fp-hero .hero-copy > :nth-child(1) { animation-delay: 0s; }
.js .fp-hero .hero-copy > :nth-child(2) { animation-delay: .06s; }
.js .fp-hero .hero-copy > :nth-child(3) { animation-delay: .12s; }
.js .fp-hero .hero-copy > :nth-child(4) { animation-delay: .18s; }
.js .fp-hero .hero-copy > :nth-child(5) { animation-delay: .24s; }
.js .fp-mosaic figure { animation: hero-photo .6s var(--ease) backwards; }
.js .fp-mosaic figure:nth-child(1) { animation-delay: .12s; }
.js .fp-mosaic figure:nth-child(2) { animation-delay: .24s; }
.js .fp-mosaic figure:nth-child(3) { animation-delay: .34s; }

/* Clients, grouped by sector on a soft band */
.fp-clients { padding: 26px 0 28px; margin-top: 18px; background: var(--bg-tint); }
.fp-clients .wrap { border-top: 0; padding-top: 0; }
.client-title { margin: 0 0 16px; font-size: 1.05rem; line-height: 1.3; font-weight: 700; color: var(--heading); }
.client-groups { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 0; }
.client-groups > div { min-width: 0; padding: 0 20px; border-left: 1px solid color-mix(in srgb, var(--heading) 14%, transparent); }
.client-groups > div:first-child { padding-left: 0; border-left: 0; }
.client-groups h3 { margin: 0 0 8px; font-size: .88rem; line-height: 1.3; font-weight: 600; color: var(--link); }
.client-groups ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.client-groups li { font-size: .98rem; line-height: 1.35; font-weight: 700; color: var(--heading); }
@media (max-width: 899px) {
  .client-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .client-groups > div { padding: 0; border-left: 0; }
  .client-groups li { font-size: .95rem; }
}

/* Clients band entrance. It waits for the script; if the script never runs, the show-anyway step reveals it. */
@keyframes show-anyway { to { opacity: 1; } }
@keyframes band-in { from { opacity: 0; } to { opacity: 1; } }
.js .fp-clients:not(.is-in), .js .fp-clients:not(.is-in) .client-title, .js .fp-clients:not(.is-in) .client-groups > div { opacity: 0; animation: show-anyway 0s linear 5s forwards; }
.js .fp-clients.is-in { animation: band-in .4s var(--ease) .18s backwards; }
.js .fp-clients.is-in .client-title { animation: hero-rise .45s var(--ease) .24s backwards; }
.js .fp-clients.is-in .client-groups > div { animation: hero-rise .45s var(--ease) backwards; }
.js .fp-clients.is-in .client-groups > div:nth-child(1) { animation-delay: .3s; }
.js .fp-clients.is-in .client-groups > div:nth-child(2) { animation-delay: .36s; }
.js .fp-clients.is-in .client-groups > div:nth-child(3) { animation-delay: .42s; }
.js .fp-clients.is-in .client-groups > div:nth-child(4) { animation-delay: .48s; }
.js .fp-clients.is-in .client-groups > div:nth-child(5) { animation-delay: .54s; }
@media (prefers-reduced-motion: reduce) {
  .js .fp-clients, .js .fp-clients .client-title, .js .fp-clients .client-groups > div { opacity: 1 !important; }
}

/* The invitation to open a pillar: words appear on hover, and the plus marks turn once on arrival */
.fp-pillar summary { grid-template-columns: 48px minmax(190px, 2fr) minmax(0, 6fr) auto; }
.fp-pillar-cue { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.fp-pillar-cue .fp-pillar-mark { flex: none; }
.fp-pillar-hint { font-size: .88rem; font-weight: 600; color: var(--link); white-space: nowrap; opacity: 0; transform: translateX(6px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.fp-pillar:not([open]) summary:focus-visible .fp-pillar-hint { opacity: 1; transform: none; }
@media (hover: hover) {
  .fp-pillar:not([open]) summary:hover .fp-pillar-hint { opacity: 1; transform: none; }
}
@keyframes mark-turn { 0% { transform: none; } 50% { transform: rotate(90deg) scale(1.25); } 100% { transform: rotate(180deg); } }
.is-inviting .fp-pillar:not([open]) .fp-pillar-mark { animation: mark-turn .7s var(--ease) 1; }
.is-inviting .fp-pillar:nth-child(2):not([open]) .fp-pillar-mark { animation-delay: .25s; }
.is-inviting .fp-pillar:nth-child(3):not([open]) .fp-pillar-mark { animation-delay: .4s; }
.is-inviting .fp-pillar:nth-child(4):not([open]) .fp-pillar-mark { animation-delay: .55s; }
@media (max-width: 899px) {
  .fp-pillar summary { grid-template-columns: 44px minmax(0, 1fr) 20px; }
  .fp-pillar-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .fp-hero .hero-copy > *, .js .fp-mosaic figure, .is-inviting .fp-pillar-mark { animation: none !important; }
  .fp-pillar-hint { transition: none; }
}

/* =====================================================================
   Change of pace: layouts and scale differ from section to section.
   ===================================================================== */
:root { --band: var(--carbon); --emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
:root[data-theme="dark"] { --band: #12262d; }

/* How we work: dark band */
.fp-dark { background: var(--band); color: #c9d8da; }
.fp-dark .eyebrow { color: var(--signal); }
.fp-dark .section-title, .fp-dark h3 { color: #fff; }
.fp-dark p:not(.eyebrow) { color: #b9c6cb; }
.fp-dark .fp-steps { border-bottom-color: rgba(255, 255, 255, .13); }
.fp-dark .fp-steps li { border-top-color: rgba(255, 255, 255, .13); }
.fp-dark .fp-steps .fi { color: var(--signal); }
.fp-dark .fp-steps h3::before { color: var(--orange); }

/* One photo from edge to edge */
.photo-break { position: relative; display: flex; align-items: center; min-height: clamp(220px, 32vw, 420px); overflow: hidden; background: var(--carbon); }
.photo-break-img, .photo-break-img picture { position: absolute; inset: 0; }
.photo-break-img img { width: 100%; height: 100%; object-fit: cover; }
.photo-break-img::after { content: ""; position: absolute; inset: 0; background: rgba(6, 14, 18, .5); }
.photo-break .wrap { position: relative; }
.photo-break p { margin: 0; max-width: 20ch; font-size: clamp(1.6rem, 3.4vw, 2.7rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; color: #fff; text-wrap: balance; }

/* For your home: the photo runs to the edge of the screen */
.fp-homes { overflow-x: clip; }
@media (min-width: 900px) {
  .fp-homes .fp-split-media { margin-left: calc(-1 * (max(0px, (100vw - var(--wrap)) / 2) + var(--gutter))); }
  .fp-homes .fp-split-media img { border-radius: 0 12px 12px 0; }
}

/* Recent projects: one large project first, and the "many more" panel as a wide strip */
@media (min-width: 761px) {
  #projects .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #projects .project-card:first-child, #projects .more-work { grid-column: 1 / -1; }
  #projects .more-work { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 28px; align-items: center; }
  #projects .more-work-num { grid-row: 1 / 3; margin: 0; }
  #projects .more-work .text-link { grid-column: 3; grid-row: 1 / 3; margin: 0; padding: 0; white-space: nowrap; }
}
@media (min-width: 1040px) {
  #projects .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #projects .project-card:first-child { grid-column: span 2; }
  #projects .project-card:first-child .project-card-media { aspect-ratio: 2 / 1; }
  #projects .project-card:first-child h3 { font-size: 1.7rem; }
  #projects .more-work { grid-column: 1 / -1; }
}

/* About: leader and a small team list side by side */
.about-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 20px clamp(24px, 3vw, 40px); align-items: start; }
.about-team { scroll-margin-top: 90px; }
.about-team .about-sub { font-size: 1.15rem; margin-bottom: 12px; }
.about-team ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.about-team li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.team-dot { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--bg-tint); font-family: var(--emoji); font-size: 1.15rem; line-height: 1; }
.team-who { display: grid; min-width: 0; }
.team-who strong { font-size: .95rem; line-height: 1.3; color: var(--heading); }
.team-who span { font-size: .85rem; line-height: 1.35; color: var(--muted); }

/* The vision is the big statement; mission and purpose sit beside it */
.about-statement { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(32px, 5vw, 72px); margin-top: clamp(44px, 6vw, 72px); align-items: center; }
.about-vision h3 { margin: 0 0 12px; font-size: .95rem; font-weight: 700; color: var(--link); }
.about-vision p { margin: 0; font-size: clamp(1.6rem, 3.1vw, 2.5rem); line-height: 1.18; letter-spacing: -.02em; font-weight: 800; color: var(--heading); text-wrap: balance; }
.about-mission { display: grid; gap: 20px; }
.about-mission > div { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 14px; }
.about-mission .fi { grid-row: 1 / span 2; width: 26px; height: 26px; }
.about-mission h4, .about-why h4, .about-values h4 { margin: 0 0 3px; font-size: 1.05rem; line-height: 1.35; font-weight: 700; color: var(--heading); }
.about-mission p, .about-why li p, .about-values p { margin: 0; grid-column: 2; font-size: .98rem; line-height: 1.55; color: var(--muted); }
.about-mission h4 { grid-column: 2; }

/* Why clients choose us: a real photo beside simple rows */
.about-why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(32px, 5vw, 64px); margin-top: clamp(44px, 6vw, 72px); align-items: center; }
.about-why-photo { margin: 0; }
.about-why-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.about-why ul { list-style: none; margin: 0; padding: 0; }
.about-why li { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.about-why li .fi { grid-row: 1 / span 2; width: 26px; height: 26px; }
.about-why li h4 { grid-column: 2; }

/* What we stand for: one plain row */
.about-values-block { margin-top: clamp(44px, 6vw, 72px); }
.about-values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px 24px; }
.about-values li { min-width: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.about-values .fi { display: block; margin-bottom: 8px; }
.about-values p { font-size: .94rem; }

@media (max-width: 1040px) { .about-values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .about-top, .about-statement, .about-why { grid-template-columns: minmax(0, 1fr); }
}

/* About on a computer: the rows share one centre line, and their tops and bottoms line up */
@media (min-width: 900px) {
  .about-statement, .about-why { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 64px); align-items: start; }
  .about-why { align-items: stretch; }
  .about-why-photo { position: relative; min-height: 320px; }
  .about-why-photo picture { position: absolute; inset: 0; }
  .about-why-photo img { height: 100%; aspect-ratio: auto; object-position: center 72%; }
  .about-why .about-sub { margin-top: 0; }
  .about-why li:last-child { border-bottom: 1px solid var(--line); }
  .about-team { padding-top: clamp(24px, 3.5vw, 40px); }
}

/* Footer lists: open on a computer, folded on a phone */
.footer-fold > summary { list-style: none; pointer-events: none; }
.footer-fold > summary::-webkit-details-marker { display: none; }

.faq-more { display: none; }

/* =====================================================================
   Phones: their own layouts, so the page is short and not a stack of blocks.
   Wide lists swipe sideways, with the next card peeking in.
   ===================================================================== */
@media (max-width: 760px) {
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 18px; }
  .section-head p:last-child { font-size: 1rem; }

  #projects .project-grid, #sectors .fp-sectors, .fp-products, .fp-quotes {
    display: flex; columns: auto; gap: 12px; align-items: stretch; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scroll-padding-left: var(--gutter); scrollbar-width: none;
  }
  #projects .project-grid::-webkit-scrollbar, #sectors .fp-sectors::-webkit-scrollbar, .fp-products::-webkit-scrollbar, .fp-quotes::-webkit-scrollbar { display: none; }
  #projects .project-grid > *, #sectors .fp-sectors > *, .fp-products > *, .fp-quotes > * { flex: 0 0 min(82%, 320px); min-width: 0; scroll-snap-align: start; margin: 0; }
  .js #projects .project-grid > .reveal, .js #sectors .fp-sectors > .reveal, .js .fp-products > .reveal, .js .fp-quotes > .reveal { opacity: 1; transform: none; transition: none; }
  #projects .project-card { height: auto; }
  #projects .more-work { display: flex; }
  #projects .project-card-body { padding: 16px 16px 10px; }
  #projects .project-card-body h3 { font-size: 1.15rem; }
  #projects .project-card-media img { aspect-ratio: 16 / 10; }
  #sectors .fp-sectors li { padding: 16px 16px 14px; }
  #sectors .fp-sectors .fi { margin-bottom: 8px; }
  .fp-products li { display: block; padding: 0; border-top: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-tint); }
  .fp-products li::before { left: 0; }
  .fp-products figure { margin: 0 0 10px; border-radius: 0; }
  .fp-products img { aspect-ratio: 16 / 10; }
  .fp-products h3, .fp-products .fp-slashes, .fp-products .text-link { margin-left: 14px; margin-right: 12px; }
  .fp-products .text-link { display: inline-flex; margin-bottom: 12px; }
  .fp-quotes .quote:nth-child(n + 4) { display: flex; }
  .fp-quotes .quote { height: auto; padding: 16px; }
  .fp-note { margin-top: 10px; }

  .fp-pillar summary { padding: 13px 12px; }
  .fp-pillar-sum { font-size: .9rem; line-height: 1.4; }

  .fp-homes .fp-split-media { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .fp-homes .fp-split-media img { aspect-ratio: 16 / 9; border-radius: 0; }
  .fp-split { row-gap: 18px; }
  .fp-rows-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; margin-top: 12px; }
  .fp-rows-2 li { grid-template-columns: 22px minmax(0, 1fr); column-gap: 8px; padding: 9px 0; }
  .fp-rows-2 .fi { width: 20px; height: 20px; grid-row: auto; }
  .fp-rows-2 h3 { font-size: .9rem; line-height: 1.3; margin: 0; }
  .fp-rows-2 p { display: none; }

  .fp-sticky .fp-split-media img { aspect-ratio: 16 / 8; }
  .fp-steps li { padding: 10px 0; column-gap: 12px; }
  .fp-steps h3 { font-size: 1rem; }
  .fp-steps p { font-size: .9rem; line-height: 1.45; }

  .about-leader { padding: 16px; gap: 14px; }
  .about-leader h3 { font-size: 1.25rem; }
  .about-role { margin-bottom: 10px; }
  .about-bio { font-size: .96rem; line-height: 1.55; margin-bottom: 10px; }
  .about-meta { font-size: .9rem; }
  .about-quals h4 { margin-bottom: 4px; font-size: .95rem; }
  .about-quals li { padding: 7px 0; font-size: .92rem; }
  .about-team ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
  .about-team li { gap: 8px; align-items: flex-start; }
  .team-dot { width: 34px; height: 34px; font-size: .95rem; }
  .team-who strong { font-size: .86rem; }
  .team-who span { font-size: .78rem; }
  .about-statement, .about-why, .about-values-block { margin-top: 30px; }
  .about-statement { gap: 18px; }
  .about-vision p { font-size: 1.4rem; }
  .about-mission { gap: 12px; }
  .about-mission h4, .about-why h4, .about-values h4 { font-size: .96rem; margin-bottom: 1px; }
  .about-mission p, .about-why li p, .about-values p { font-size: .9rem; line-height: 1.45; }
  .about-why-photo { display: none; }
  .about-why li { padding: 9px 0; }
  .about-sub { margin-bottom: 8px; font-size: 1.15rem; }
  .about-values { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .about-values li { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; padding: 9px 0; }
  .about-values .fi { grid-row: 1 / span 2; margin: 0; width: 22px; height: 22px; }
  .about-values h4, .about-values p { grid-column: 2; }

  .js .faq-more { display: block; text-align: center; margin: 14px 0 0; }
  .faq-more[hidden] { display: none !important; }
  .js .fp-faqs:not(.show-all) .fp-faq:nth-child(n + 6) { display: none; }

  .fp-contact .contact-form, .contact-card { padding: 16px; }
  .fp-contact .contact-form { gap: 12px; }
  .fp-contact .field-row { gap: 12px; }
  .fp-contact .field-row:nth-of-type(2) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp-contact .field textarea { min-height: 96px; }
  .contact-rows { margin-top: 8px; }
  .contact-rows > div { padding: 9px 0; }
  .fp-map iframe { height: 170px; }
  .fp-map { margin-top: 14px; }

  .photo-break p { font-size: 1.5rem; }
}
@media (max-width: 699px) {
  .footer-grid { gap: 12px; padding-bottom: 20px; }
  .footer-fold { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 12px; }
  .footer-fold > summary { pointer-events: auto; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
  .footer-fold > summary::after { content: "+"; color: #e2ecee; font-size: 1.2rem; line-height: 1; }
  .footer-fold[open] > summary::after { content: "–"; }
  .footer-fold .footer-title { margin: 0; }
  .footer-fold .footer-links { margin-top: 10px; }
  .footer-fold + div { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 12px; }
}

/* How we work: one column on phones and small tablets */
@media (max-width: 899px) {
  .fp-split-process { grid-template-columns: minmax(0, 1fr); }
  .fp-sticky { position: static; }
}
