/* =========================================================
   RUNHTec Contractors Ltd: design system
   ========================================================= */

:root {
  /* Brand */
  --brand: #881946;
  --brand-dark: #66112f;
  --brand-deep: #3d0a1d;
  --brand-tint: #f6ecf0;

  /* Neutrals */
  --ink: #1d1a1c;
  --text: #3e393c;
  --muted: #6b6468;
  --line: #e4dfe1;
  --line-strong: #cfc8cb;
  --paper: #ffffff;
  --warm: #f6f4f2;
  --dark: #1d1a1c;

  /* Type */
  --font-head: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing & shape */
  --radius: 4px;
  --gap: clamp(20px, 3vw, 32px);
  --section: clamp(64px, 9vw, 112px);
  --container: 1200px;
  --header-h: 80px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.1; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-xl { width: 56px; height: 56px; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--brand); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.narrow { max-width: 780px; }

/* ---------- Kicker & section heads ---------- */
.kicker {
  font-family: var(--font-head);
  font-size: 14px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 12px;
}
.kicker.light { color: #f3c9d9; }
.section { padding: var(--section) 0; }
.section-tint { background: var(--warm); }
.section-dark { background: var(--dark); color: #cfc8cb; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .kicker { color: #e9a3bd; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-lead { font-size: 18px; color: var(--muted); margin: 0; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.split-head .section-head { margin-bottom: 40px; }
.split-head > .link-arrow { margin-bottom: 44px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-size: 17px; font-weight: 600; letter-spacing: .02em;
  padding: 12px 22px; min-height: 48px;
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-lg { padding: 14px 28px; font-size: 18px; min-height: 54px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-secondary:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-light:hover { background: var(--brand-tint); color: var(--brand-deep); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: #fff; color: var(--brand-deep); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: 17px;
  color: var(--brand); text-decoration: none;
}
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon, a:hover > .link-arrow .icon { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--brand-deep); color: #e8d3db; font-size: 14px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar-contacts { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #f3c9d9; }
.topbar .icon { width: 15px; height: 15px; }

/* ---------- Header & navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 60px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: block; padding: 10px 12px;
  font-family: var(--font-head); font-size: 17px; font-weight: 600;
  color: var(--ink); text-decoration: none; position: relative;
}
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--brand); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.submenu-toggle { display: none; }

/* Mega menu (desktop) */
.has-mega { position: static; }
.has-mega > .nav-link { padding-right: 12px; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--line); border-bottom: 3px solid var(--brand);
  box-shadow: 0 18px 40px rgba(29,26,28,.12);
  visibility: hidden; opacity: 0; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { visibility: visible; opacity: 1; transform: none; }
.mega-inner { width: min(var(--container), 100% - 32px); margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; padding: 32px 0 36px; }
.mega-title { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega a { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; line-height: 1.35; }
.mega a .icon { color: var(--brand); margin-top: 1px; }
.mega a:hover { color: var(--brand); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--brand-deep); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(32,8,18,.72); }
.hero::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--brand); }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end; padding: clamp(72px, 11vw, 140px) 0 clamp(56px, 8vw, 96px); }
.hero h1 { color: #fff; max-width: 14ch; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.88); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: 26px; border-top: 4px solid var(--brand); }
.hero-card-title { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.hero-office { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; }
.hero-office-label { grid-column: 1 / -1; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.hero-office-phone { font-family: var(--font-head); font-size: 22px; font-weight: 600; color: var(--ink); text-decoration: none; }
.hero-office-wa { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-decoration: none; }

/* ---------- Page banner ---------- */
.page-banner { position: relative; isolation: isolate; background: var(--brand-deep); color: #fff; overflow: hidden; }
.page-banner .banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-banner.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(32,8,18,.76); }
.page-banner:not(.has-image) { background: var(--brand-deep) linear-gradient(90deg, var(--brand) 0 6px, transparent 6px); }
.banner-inner { padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 6vw, 72px); max-width: var(--container); }
.page-banner h1 { color: #fff; max-width: 20ch; font-size: clamp(34px, 4.8vw, 56px); }
.page-banner .lead { color: rgba(255,255,255,.86); font-size: clamp(17px, 1.5vw, 19px); max-width: 640px; margin: 0; }
.page-banner .kicker { color: #f3c9d9; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 22px; color: rgba(255,255,255,.7); }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.service-card {
  display: flex; flex-direction: column; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; color: var(--text); text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
  position: relative;
}
.service-card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.service-card:hover { border-color: var(--line-strong); box-shadow: 0 10px 28px rgba(29,26,28,.08); color: var(--text); }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { margin: 14px 0 6px; }
.service-card p { font-size: 15.5px; color: var(--muted); flex: 1; }
.service-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius); background: var(--brand-tint); color: var(--brand); }
.service-icon .icon { width: 28px; height: 28px; }

.also { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.also-title { font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--ink); }
.also-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.also-cat { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.also-group ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.also-group a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 40px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.also-group a .icon { color: var(--brand); }
.also-group a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Feature / two-column ---------- */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature-media { margin: 0; position: relative; }
.feature-media img, .stack-photo img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; border-radius: var(--radius); }
.feature-media::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 40%; height: 40%; border-right: 4px solid var(--brand); border-bottom: 4px solid var(--brand); z-index: -1; }
.feature-media { isolation: isolate; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.stack-photo { margin: 0; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list .icon { color: var(--brand); margin-top: 3px; }
.check-list strong { color: var(--ink); }
.check-list.compact li { padding: 6px 0; border: 0; }

.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 36px; }
.prose > ul:not(.check-list):not(.tag-list) li { margin-bottom: 6px; }
.lead-dark { font-size: 19px; color: var(--ink); }

.tag-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { background: var(--brand-tint); color: var(--brand-dark); padding: 6px 12px; border-radius: 40px; font-size: 14.5px; font-weight: 500; }
.tag-list.small li { font-size: 13px; padding: 4px 10px; }

/* ---------- Industries ---------- */
.industry-pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.industry-pills li { padding: 14px 22px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--ink); background: #fff; }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.industry-card h2 { font-size: 23px; }
.industry-card p { font-size: 15.5px; color: var(--muted); flex: 1; }
.industry-num { font-family: var(--font-head); font-weight: 700; color: var(--brand); font-size: 15px; margin-bottom: 14px; }
.industry-card-cta { background: var(--brand); border-color: var(--brand); color: #f6dbe5; }
.industry-card-cta h2 { color: #fff; }
.industry-card-cta p { color: #f6dbe5; }
.industry-card-cta .link-arrow { color: #fff; }

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, 1fr); counter-reset: none; }
.process li { padding: 0 18px 0 0; position: relative; }
.process-num { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--brand); border-radius: 50%; color: #fff; background: var(--brand); font-family: var(--font-head); font-weight: 700; margin-bottom: 18px; position: relative; z-index: 1; }
.process li::before { content: ""; position: absolute; top: 23px; left: 46px; right: 0; height: 1px; background: #4a4246; }
.process li:last-child::before { display: none; }
.process h3 { font-size: 19px; }
.process p { font-size: 14.5px; margin: 0; color: #b9b1b5; }
.mini-process { padding-left: 1.3em; margin: 0 0 28px; }
.mini-process li { margin-bottom: 8px; }
.mini-process li::marker { color: var(--brand); font-weight: 700; }
.mini-process strong { color: var(--ink); }
.mini-process.small { font-size: 15px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- Maintenance band ---------- */
.maint-band { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--brand); border-radius: var(--radius); overflow: hidden; color: #f6dbe5; }
.maint-copy { padding: clamp(32px, 5vw, 56px); }
.maint-copy h2 { color: #fff; }
.maint-copy .kicker { color: #f3c9d9; }
.maint-copy .btn-primary { background: #fff; color: var(--brand-deep); }
.maint-copy .btn-primary:hover { background: var(--brand-tint); }
.maint-band img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }

/* ---------- Galleries ---------- */
.mini-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mini-gallery figure, .project { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.mini-gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .5s; }
.mini-gallery figcaption, .project figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px;
  background: linear-gradient(transparent, rgba(20,10,14,.85));
  color: #fff; font-weight: 500; font-size: 15px; line-height: 1.35;
}
.mini-gallery figure:hover img, .project:hover img { transform: scale(1.04); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { font: inherit; font-size: 15px; font-weight: 500; padding: 8px 16px; border-radius: 40px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; }
.filter:hover { border-color: var(--brand); color: var(--brand); }
.filter.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s; }
.project[hidden] { display: none; }
.project-cat { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #f3c9d9; margin-bottom: 2px; }
.detail-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.detail-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.no-photo { display: flex; align-items: center; gap: 18px; padding: 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }
.no-photo span { color: var(--brand); }
.no-photo p { margin: 0; }

/* ---------- Offices ---------- */
.offices { display: grid; grid-template-columns: 1fr 1fr; }
.office { padding: clamp(48px, 7vw, 80px) clamp(24px, 6vw, 72px); color: #f0dfe6; }
.office h2 { color: #fff; font-size: clamp(36px, 4.5vw, 54px); text-transform: uppercase; letter-spacing: .02em; }
.office-rwanda { background: var(--brand); }
.office-uganda { background: var(--brand-deep); }
.office-address { display: flex; gap: 10px; align-items: flex-start; }
.office-address .icon { margin-top: 3px; }
.office-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.office-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.office-card { border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius); padding: 28px; }
.office-card .office-address { color: var(--text); }
.office-card .office-address .icon { color: var(--brand); }
.office-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 14px; }
.map-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; }
.office-row { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.office-row-icon { color: var(--brand); }

/* ---------- About ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm-card { background: #fff; padding: clamp(28px, 4vw, 44px); border-left: 4px solid var(--brand); }
.vm-text { font-family: var(--font-head); font-size: clamp(21px, 2.2vw, 26px); line-height: 1.3; color: var(--ink); margin: 0; }
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.values li { padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values h3 { color: var(--brand); }
.values p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* ---------- Services page ---------- */
.cat-nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 40; }
.cat-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.cat-nav a { display: block; white-space: nowrap; padding: 16px 14px; font-family: var(--font-head); font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.cat-nav a:hover { color: var(--brand); border-color: var(--brand); }
.cat-layout { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.cat-head { position: sticky; top: calc(var(--header-h) + 80px); }
.cat-head p:last-child { color: var(--muted); }

/* ---------- Service detail ---------- */
.service-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.side-card { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius); padding: 28px; background: #fff; display: flex; flex-direction: column; gap: 12px; }
.side-card h2 { font-size: 24px; margin: 8px 0 0; }
.side-card p { margin: 0 0 6px; color: var(--muted); }
.side-contacts { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); }
.side-contacts a, .side-office a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; font-size: 15.5px; }
.side-office { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.side-office strong { color: var(--ink); }

/* ---------- Maintenance page ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); }
.duo-card h3 { margin-top: 18px; font-size: 26px; }
.duo-card p { margin: 0; color: var(--muted); }
.note-box { margin-top: 24px; padding: 20px 22px; background: #fff; border-left: 4px solid var(--brand); }
.note-box strong { display: block; color: var(--ink); margin-bottom: 4px; }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- Placeholder (information still to be provided) ---------- */
.placeholder { margin: 28px 0; padding: 16px 18px; border: 2px dashed #c98aa3; border-radius: var(--radius); background: #fdf7f9; color: var(--brand-dark); font-size: 15px; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.rt-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }
.section-tint .rt-form { border-color: transparent; }
.rt-form h2 { font-size: 30px; }
.field-group { border: 0; padding: 0; margin: 0 0 22px; }
.field-group legend { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 14px; padding: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.req { color: var(--brand); }
.field input, .field select, .field textarea {
  display: block; width: 100%; padding: 12px 14px; min-height: 48px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; background: #fff8f7; }
.field-error { display: block; color: #b3261e; font-size: 14px; font-weight: 500; margin-top: 6px; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border: 2px solid var(--line-strong); border-radius: var(--radius); font-weight: 600; color: var(--ink); }
.choice span .icon { color: var(--brand); }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-tint); }
.choice input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: 15px !important; color: var(--text) !important; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--brand); flex: none; }
.site-visit-only { opacity: .45; }
.is-site-visit .site-visit-only { opacity: 1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 16px; font-weight: 500; }
.form-status.is-success { display: block; background: #edf7ee; color: #1e5b24; border-left: 4px solid #2e7d32; }
.form-status.is-error { display: block; background: #fdeceb; color: #8a1c14; border-left: 4px solid #b3261e; }
.form-hint { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); color: #f6dbe5; padding: clamp(44px, 6vw, 72px) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(26px, 3vw, 36px); }
.cta-band p { margin: 0; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #b9b1b5; font-size: 15px; padding-top: clamp(48px, 7vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 44px; }
.footer-brand img { background: #fff; padding: 10px 14px; border-radius: var(--radius); margin-bottom: 18px; width: 150px; }
.footer-brand p:first-of-type { color: #fff; font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.footer-small { font-size: 14px; }
.footer-title { color: #fff; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.site-footer a { color: #e6dfe2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-office { margin-bottom: 14px; }
.footer-office strong { display: block; color: #fff; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px 0; border-top: 1px solid #3a3336; font-size: 14px; }
.footer-bottom p { margin: 0; }

/* ---------- Mobile quick-contact bar ---------- */
.mobile-bar { display: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 50vh; display: grid; place-items: center; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .site-nav { gap: 16px; }
  .nav-link { padding: 10px 8px; font-size: 16px; }
  .mega-inner { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(4, 1fr); row-gap: 36px; }
  .process li:nth-child(4)::before { display: none; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .topbar-areas { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-contacts li:nth-child(3) { display: none; }
  .brand img { height: 50px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: var(--nav-top, 108px); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; overflow-y: auto; padding: 8px 16px 120px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); position: relative; }
  .nav-link { padding: 16px 4px; font-size: 19px; }
  .nav-link::after { display: none; }
  .submenu-toggle { display: grid; place-items: center; position: absolute; right: 0; top: 6px; width: 48px; height: 48px; background: none; border: 0; color: var(--ink); cursor: pointer; }
  .submenu-toggle .icon { transition: transform .2s; }
  .submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .mega { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; display: none; }
  .has-mega:hover .mega { display: none; }
  .has-mega.is-open .mega { display: block; }
  .mega-inner { grid-template-columns: 1fr; gap: 8px; padding: 0 0 16px; width: 100%; }
  .mega-title { margin: 8px 0 4px; border: 0; padding: 0; }
  .nav-cta { margin-top: 20px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-grid, .feature, .two-col, .service-layout, .form-layout, .cat-layout, .maint-band { grid-template-columns: 1fr; }
  .hero-card { max-width: 480px; }
  .cat-head, .side-card { position: static; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .mini-gallery { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .office-cards { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .feature-media { max-width: 520px; }
  .stack-photo { max-width: 520px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(29,26,28,.1);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; }
  .mobile-bar a .icon { color: var(--brand); width: 22px; height: 22px; }
  .mobile-bar .mobile-bar-quote { background: var(--brand); color: #fff; }
  .mobile-bar .mobile-bar-quote .icon { color: #fff; }
  body { padding-bottom: 64px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar { display: none; }
  .card-grid, .card-grid-2, .also-grid, .vm-grid, .values, .industry-grid, .office-cards, .duo, .field-row, .choice-row, .offices, .project-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { gap: 28px; }
  .mini-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mini-gallery figcaption { font-size: 13px; padding: 28px 10px 10px; }
  .process { grid-template-columns: 1fr; row-gap: 0; }
  .process li { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 0 0 24px; }
  .process-num { grid-row: span 2; margin: 0; }
  .process li::before { display: block !important; top: 46px; bottom: 0; left: 22px; right: auto; width: 1px; height: auto; }
  .process li:last-child::before { display: none !important; }
  .hero-actions .btn { flex: 1 1 100%; }
  .split-head > .link-arrow { margin: -20px 0 28px; }
  .service-card { padding: 22px; }
  .feature-media::after { right: -8px; bottom: -8px; }
  .cta-actions .btn, .office-actions .btn, .office-card-actions .btn { flex: 1 1 100%; }
  .rt-form .btn-lg { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   v3 additions: stats, finder, stories, slider, planner, articles
   ========================================================= */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Stats strip */
.stats { background: var(--brand-deep); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px; border-left: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 2px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: clamp(38px, 4.4vw, 54px); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 14.5px; color: #e8cdd8; max-width: 22ch; }

/* Reveal on scroll (only when JS is running; content is visible without it) */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* Service Finder */
.finder-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.finder { background: #fff; border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); border-top: 4px solid var(--brand); display: grid; gap: 22px; }
.finder-q { border: 0; margin: 0; padding: 0; }
.finder-q legend { font-family: var(--font-head); font-size: 21px; font-weight: 600; color: var(--ink); margin-bottom: 12px; padding: 0; }
.finder-step { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 4px; }
.finder-options { display: flex; flex-wrap: wrap; gap: 8px; }
.finder-options label { position: relative; cursor: pointer; }
.finder-options input { position: absolute; opacity: 0; }
.finder-options span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--line-strong); border-radius: 40px; font-weight: 500; font-size: 15.5px; color: var(--ink); background: #fff; transition: border-color .15s, background .15s; }
.finder-options span .icon { color: var(--brand); width: 18px; height: 18px; }
.finder-options label:hover span { border-color: var(--brand); }
.finder-options input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.finder-options input:checked + span .icon { color: #fff; }
.finder-options input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.finder-result { border-top: 1px solid var(--line); padding-top: 20px; }
.finder-placeholder { color: var(--muted); margin: 0; }
.finder-rec { display: grid; gap: 14px; }
.finder-rec h3 { margin: 0; font-size: 24px; }
.finder-rec p { margin: 0; color: var(--text); }
.finder-services { display: flex; flex-wrap: wrap; gap: 8px; }
.finder-services a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--brand-tint); color: var(--brand-dark); border-radius: 40px; font-weight: 600; text-decoration: none; font-size: 15px; }
.finder-services a:hover { background: var(--brand); color: #fff; }
.finder-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Before/after slider */
.compare { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--dark); aspect-ratio: 4 / 5; max-width: 100%; user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.35); }
.compare-handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.compare-handle span::before, .compare-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; margin-top: -6px; }
.compare-handle span::before { left: 6px; border-right-color: #fff; }
.compare-handle span::after { right: 6px; border-left-color: #fff; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-range:focus-visible + .compare-handle, .compare:focus-within .compare-handle span { outline: 3px solid #fff; }
.compare-tag { position: absolute; top: 14px; padding: 6px 10px; border-radius: 3px; font-size: 13px; font-weight: 600; background: rgba(20,10,14,.72); color: #fff; pointer-events: none; }
.compare-tag-before { left: 14px; }
.compare-tag-after { right: 14px; background: var(--brand); }
.drag-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.drag-hint .icon { width: 16px; height: 16px; color: var(--brand); }

/* Featured story */
.feature-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: 40px; }
.feature-story .compare { max-height: 640px; aspect-ratio: 4 / 4.6; }
.feature-story-title { font-size: clamp(28px, 3.2vw, 38px); }

/* Story cards */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story-grid-2 { grid-template-columns: repeat(2, 1fr); }
.story-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.story-card:hover { box-shadow: 0 12px 30px rgba(29,26,28,.1); border-color: var(--line-strong); color: var(--text); }
.story-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.story-card:hover .story-media img { transform: scale(1.04); }
.story-flag { position: absolute; left: 12px; top: 12px; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 9px; border-radius: 3px; }
.story-body { display: flex; flex-direction: column; gap: 6px; padding: 22px; flex: 1; }
.story-cat { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.story-title { font-family: var(--font-head); font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.story-sum { font-size: 15.5px; color: var(--muted); flex: 1; }
.story-card-big { grid-column: span 2; display: grid; grid-template-columns: 1.2fr 1fr; }
.story-card-big .story-media { aspect-ratio: auto; min-height: 340px; }
.story-card-big .story-title { font-size: 30px; }

/* Story page */
.story-layout, .article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.story-compare { margin-bottom: 36px; }
.story-compare .compare { aspect-ratio: 4 / 4.4; }
.story-video { width: 100%; max-width: 420px; border-radius: var(--radius); background: var(--dark); }
.story-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.story-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); transition: opacity .2s; }
.story-gallery a:hover img { opacity: .85; }
.facts { margin: 0 0 8px; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.side-label { font-weight: 600; color: var(--ink); margin: 12px 0 0 !important; }

/* Planner band */
.planner-band { background: var(--brand); color: #f6dbe5; padding: clamp(44px, 6vw, 72px) 0; }
.planner-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.planner-band h2 { color: #fff; margin-bottom: 8px; }
.planner-band p { margin: 0; max-width: 620px; }

/* Articles */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow .2s; }
.article-card:hover { box-shadow: 0 12px 30px rgba(29,26,28,.1); color: var(--text); }
.article-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-card-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 24px; flex: 1; }
.article-card-title { font-family: var(--font-head); font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.article-body { max-width: 720px; }
.article-body h2 { margin-top: 40px; font-size: clamp(24px, 2.6vw, 30px); }
.article-lead { font-size: 20px; color: var(--ink); line-height: 1.55; }
.article-meta { font-size: 14px; color: var(--muted); }
.formula { font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--brand-dark); background: var(--brand-tint); padding: 14px 18px; border-radius: var(--radius); }
.calc-steps { list-style: none; padding: 0; margin: 0 0 20px; border-left: 3px solid var(--brand); }
.calc-steps li { padding: 6px 0 6px 16px; }
.note-inline { font-size: 15px; background: var(--warm); padding: 14px 18px; border-radius: var(--radius); }
.table-wrap { overflow-x: auto; margin: 0 0 22px; }
.prose table, .loads { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { font-family: var(--font-head); font-size: 15px; color: var(--ink); border-bottom: 2px solid var(--ink); }
.prose tr.total td { font-weight: 700; color: var(--ink); border-top: 2px solid var(--ink); }
.prose td:last-child, .prose th:last-child { text-align: right; }

/* Power Planner */
.planner-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.planner-block { margin-bottom: 36px; }
.planner-block h2 { display: flex; align-items: center; gap: 12px; font-size: 24px; }
.planner-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 17px; flex: none; }
.planner-help { color: var(--muted); font-size: 15px; }
.preset-row { display: flex; flex-wrap: wrap; gap: 8px; }
.preset { font: inherit; font-weight: 500; font-size: 15.5px; padding: 10px 16px; border-radius: 40px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; }
.preset:hover { border-color: var(--brand); }
.preset.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.loads th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 6px; border-bottom: 2px solid var(--line); font-weight: 600; }
.loads td { padding: 6px; border-bottom: 1px solid var(--line); }
.loads input { width: 100%; padding: 9px 10px; font: inherit; font-size: 15px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; color: var(--ink); min-width: 0; }
.loads input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.loads .c-name { min-width: 150px; }
.loads .c-num { width: 90px; }
.loads .c-qty { width: 64px; }
.loads .motor-tag { display: inline-block; font-size: 11px; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.row-remove { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 8px; border-radius: var(--radius); font-size: 20px; line-height: 1; }
.row-remove:hover { color: #b3261e; background: #fdeceb; }
.add-row { display: flex; gap: 10px; margin-top: 14px; }
.add-row select { flex: 1; min-width: 0; padding: 11px 12px; font: inherit; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; color: var(--ink); }
.range { width: 100%; accent-color: var(--brand); height: 28px; }
.planner-results { position: sticky; top: calc(var(--header-h) + 20px); background: var(--brand-deep); color: #f0dfe6; border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); }
.planner-results .kicker { color: #f3c9d9; }
.result-top { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.15); }
.r-label { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #d9b6c4; }
.r-big { display: block; font-family: var(--font-head); font-size: 34px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.result-list { list-style: none; margin: 0 0 20px; padding: 0; }
.result-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.result-list li[hidden] { display: none; }
.r-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius); background: rgba(255,255,255,.1); color: #fff; }
.r-val { display: block; font-family: var(--font-head); font-size: 23px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.25; }
.r-note { display: block; font-size: 14px; color: #d9b6c4; margin-top: 2px; }
.r-alt { opacity: .92; }
.planner-results .btn-primary { background: #fff; color: var(--brand-deep); }
.planner-results .btn-primary:hover { background: var(--brand-tint); }
.r-disclaimer { font-size: 13px; color: #d9b6c4; margin: 12px 0 0; }
.assumptions { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.assumptions summary { font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--ink); cursor: pointer; }
.assumptions ul { margin: 14px 0 0; font-size: 15.5px; }
.assumptions li { margin-bottom: 8px; }

/* Client logos */
.logo-grid { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.logo-grid li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; min-height: 130px; }
.logo-grid img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.logo-grid li:hover img { filter: none; opacity: 1; }
.logo-grid span { font-size: 14px; color: var(--muted); text-align: center; }
.logo-grid-small { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }

@media (max-width: 1100px) {
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding: 22px 16px; }
  .finder-layout, .feature-story, .story-layout, .article-layout, .planner-layout { grid-template-columns: minmax(0, 1fr); }
  .planner-results { position: static; }
  .story-card-big { grid-column: auto; display: flex; }
  .story-card-big .story-media { min-height: 0; aspect-ratio: 4 / 3; }
  .story-card-big .story-title { font-size: 22px; }
  .feature-story .compare { aspect-ratio: 4 / 5; max-height: none; }
}
@media (max-width: 640px) {
  .story-grid, .story-grid-2, .article-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-num { font-size: 36px; }
  .loads thead { display: none; }
  .loads, .loads tbody { display: block; }
  .loads tr { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .loads td { display: block; padding: 0; border: 0; }
  .loads td:first-child { grid-column: 1 / -1; }
  .loads td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
  .loads td:last-child { align-self: end; }
  .loads .c-num, .loads .c-qty { width: 100%; }
  .result-top { grid-template-columns: 1fr 1fr; }
  .r-big { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; }
}
.client-tile { display: flex; align-items: center; justify-content: center; min-height: 72px; width: 100%; text-decoration: none; }
.client-tile img { max-height: 64px; max-width: 100%; }
.client-name { font-family: var(--font-head); font-size: 26px; font-weight: 700; letter-spacing: .06em; color: var(--ink); }
.maint-clients { font-size: 15.5px; }
.maint-clients a { color: #fff; }
.logo-grid .client-name { font-family: var(--font-head); font-size: 26px; font-weight: 700; letter-spacing: .06em; color: var(--ink); }
.logo-grid:not(.logo-grid-small) { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.logo-grid:not(.logo-grid-small) li { min-height: 170px; }
.stages { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: none; }
.stages li { position: relative; display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; color: var(--muted); }
.stages img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); margin-bottom: 6px; }
.stages strong { color: var(--ink); font-family: var(--font-head); font-size: 18px; }
.stage-num { position: absolute; top: 8px; left: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
@media (max-width: 640px) { .stages { grid-template-columns: 1fr 1fr; } }

.nav-link, .nav-cta { white-space: nowrap; }
@media (max-width: 1280px) and (min-width: 1081px) { .site-nav { gap: 14px; } .nav-link { padding: 10px 8px; font-size: 16px; } .nav-cta { padding: 10px 16px; } }

/* Photo viewer */
.lb-thumb { cursor: zoom-in; }
.lb-thumb:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15, 8, 11, .94); display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; padding: max(16px, env(safe-area-inset-top)) 8px max(16px, env(safe-area-inset-bottom)); }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-height: 100%; min-width: 0; }
.lb-img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: var(--radius); }
.lb-cap { color: #e9dbe1; font-size: 15px; text-align: center; }
.lightbox button { background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; justify-self: center; }
.lightbox button:hover { background: var(--brand); }
.lightbox button:focus-visible { outline: 3px solid #fff; }
.lb-close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; }
.lightbox button[hidden] { visibility: hidden; display: block; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 40px minmax(0, 1fr) 40px; padding-inline: 4px; }
  .lightbox button { width: 40px; height: 40px; font-size: 24px; }
}
