/* ==========================================================================
   Linothando Electrical Services — Design System
   "Engineered warmth": indigo anchors, orange sparks, warm white breathes.
   ========================================================================== */

/* ---------- 0. Self-hosted fonts ----------
   Big Shoulders Display (variable, SIL Open Font License) — headings
   General Sans (Indian Type Foundry, Fontshare / ITF Free Font License) — body */
@font-face { font-family: "Big Shoulders Display"; src: url("../assets/fonts/BigShouldersDisplay-var-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Big Shoulders Display"; src: url("../assets/fonts/BigShouldersDisplay-var-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "General Sans"; src: url("../assets/fonts/GeneralSans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../assets/fonts/GeneralSans-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../assets/fonts/GeneralSans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../assets/fonts/GeneralSans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../assets/fonts/GeneralSans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --indigo: #3E4095;
  --indigo-deep: #2B2D6E;
  --indigo-ink: #1C1D3A;
  --orange: #F49926;
  --orange-hover: #E0821A;
  --peach: #FCE3C4;
  --peach-soft: #FDF1E1;

  /* Neutrals */
  --white: #FFFFFF;
  --paper: #FBFAF7;
  --grey-100: #EEEDEA;
  --grey-300: #D9D7D2;
  --grey-500: #6B6B78;
  --ink: #1C1D3A;

  /* Type */
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Fluid type scale (360px → 1600px) */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
  --fs-h4: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  --fs-h3: clamp(1.75rem, 1.45rem + 1.1vw, 2.5rem);
  --fs-h2: clamp(2.375rem, 1.8rem + 2.4vw, 4rem);
  --fs-h1: clamp(2.875rem, 2rem + 3.8vw, 5.75rem);
  --fs-mega: clamp(4rem, 2.6rem + 6vw, 8.5rem);

  /* Spacing scale (8pt) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;   --s-7: 3rem;    --s-8: 4rem;
  --s-9: 6rem;    --s-10: 8rem;
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);

  /* Layout */
  --container: 1320px;
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  --header-h: 76px;
  --header-h-compact: 70px;

  /* Detail */
  --radius: 2px;
  --rule: 1px solid var(--grey-300);
  --rule-dark: 1px solid rgba(255, 255, 255, 0.16);
  --shadow-sm: 0 1px 2px rgba(28, 29, 58, 0.06), 0 2px 8px rgba(28, 29, 58, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(28, 29, 58, 0.22);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);      /* expo.out */
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);

  /* The lightning-bolt angle (from the logo) */
  --bolt: 14%;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h-compact) + 1rem); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: var(--indigo);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); text-transform: uppercase; }
h2 { font-size: var(--fs-h2); text-transform: uppercase; }
h3 { font-size: var(--fs-h3); text-transform: uppercase; line-height: 1.02; }
h4 { font-size: var(--fs-h4); font-weight: 600; line-height: 1.1; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 1px; }
::selection { background: var(--peach); color: var(--indigo-ink); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--indigo); color: var(--white); padding: 0.75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s-7); }
.grid-12 > * { grid-column: 1 / -1; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--tint { background: var(--white); }
.section--rule { border-top: var(--rule); }

@media (min-width: 900px) {
  .col-5 { grid-column: span 5 !important; }
  .col-6 { grid-column: span 6 !important; }
  .col-7 { grid-column: span 7 !important; }
  .col-4 { grid-column: span 4 !important; }
  .col-8 { grid-column: span 8 !important; }
  .start-7 { grid-column-start: 7 !important; }
  .start-8 { grid-column-start: 8 !important; }
}

/* ---------- 4. Typographic components ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--indigo);
  margin-bottom: var(--s-5);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); flex: none; }
.eyebrow--light { color: var(--peach); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink); max-width: 38em; }
.muted { color: var(--grey-500); }
/* Key word in headlines: on light backgrounds orange text fails AA, so we
   use an orange "charge" bar under indigo text. On indigo, orange text is fine. */
.hl { position: relative; white-space: nowrap; color: var(--indigo); background: linear-gradient(var(--orange), var(--orange)) 0 92% / 100% 0.14em no-repeat; }
.on-dark .hl, .hl--on-dark { color: var(--orange); background: none; }
.numeral { font-family: var(--font-display); font-weight: 700; line-height: 0.9; color: var(--indigo); font-variant-numeric: tabular-nums; }

.section-head { margin-bottom: var(--s-8); }
.list-title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; text-transform: none; line-height: 1.4; color: var(--indigo); margin: 0 0 var(--s-4); }
.section-head h2 { max-width: 14em; }
.section-head .lead { margin-top: var(--s-5); }
.section-head--split { display: grid; gap: var(--s-5); align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 7fr 5fr; gap: var(--gutter); } }

.placeholder {
  display: inline-block; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.02em; text-transform: none;
  padding: 0.15em 0.55em; border: 1px dashed var(--orange-hover); background: var(--peach-soft); color: #8A4A05; border-radius: var(--radius);
}

/* ---------- 5. Buttons & links ---------- */
.btn {
  --btn-bg: var(--orange); --btn-fg: var(--indigo-ink); --btn-bd: var(--orange);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 52px; padding: 0.9rem 1.6rem;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; text-transform: none;
  text-decoration: none; color: var(--btn-fg); touch-action: manipulation; overflow: hidden; isolation: isolate; background: var(--btn-bg); border: 1.5px solid var(--btn-bd); border-radius: var(--radius);
  cursor: pointer; transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.5s var(--ease-out); }
.btn:hover { --btn-bg: var(--orange-hover); --btn-bd: var(--orange-hover); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--indigo); --btn-bd: var(--indigo); }
.btn--ghost:hover { --btn-bg: var(--indigo); --btn-fg: var(--white); --btn-bd: var(--indigo); }
.btn--light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,0.5); }
.btn--light:hover { --btn-bg: var(--white); --btn-fg: var(--indigo); --btn-bd: var(--white); }
.btn--sm { min-height: 44px; padding: 0.6rem 1.1rem; font-size: var(--fs-sm); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-4); }
@media (max-width: 479px) { .hero .btn-row .btn, .cta-band .btn-row .btn { width: 100%; } }

/* Shimmer (adapted from Magic UI Shimmer Button): one light sweep at the bolt angle.
   Runs once on load (.is-shimmering) and on hover/focus. No spinning, per the brief. */
.btn-shimmer::after {
  content: ""; position: absolute; inset: -2px auto -2px 0; width: 42%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,0.65) 50%, rgba(255,255,255,0) 80%, transparent 100%);
  transform: translateX(-130%) skewX(-14deg);
}
.btn-shimmer:hover::after, .btn-shimmer:focus-visible::after, .btn-shimmer.is-shimmering::after { animation: shimmer-sweep 1.1s var(--ease-out) 1; }
@keyframes shimmer-sweep { to { transform: translateX(330%) skewX(-14deg); } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1rem;
  letter-spacing: 0; text-transform: none; min-height: 44px; color: var(--indigo); text-decoration: none;
  padding-block: 0.4rem; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2px no-repeat;
  transition: background-size 0.5s var(--ease-out);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.5s var(--ease-out); }
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--white); }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(251, 250, 247, 0); border-bottom: 1px solid transparent;
  transition: height 0.5s var(--ease-out), background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.site-header.is-scrolled { height: var(--header-h-compact); background: rgba(255, 255, 255, 0.96); border-bottom-color: var(--grey-100); box-shadow: var(--shadow-sm); backdrop-filter: saturate(1.4) blur(10px); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); }
.brand { display: block; flex: none; background: var(--white); padding: 6px; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: padding 0.5s var(--ease-out); }
.brand img { height: 52px; width: auto; transition: height 0.5s var(--ease-out); }
@media (min-width: 1100px) { :root { --header-h: 92px; } .brand img { height: 62px; } }
.site-header.is-scrolled .brand { padding: 4px; box-shadow: none; }
.site-header.is-scrolled .brand img { height: 50px; }

.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: clamp(1rem, 0.2rem + 1.6vw, 2.25rem); }
.nav a {
  position: relative; display: block; padding: 0.5rem 0; font-size: var(--fs-sm); font-weight: 600; text-decoration: none; color: var(--indigo-ink);
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-out); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--indigo); }

.header-actions { display: flex; align-items: center; gap: var(--s-5); }
.header-call { display: none; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 700; font-size: var(--fs-sm); color: var(--indigo); white-space: nowrap; }
.header-call svg { width: 18px; height: 18px; color: var(--orange); }
.header-call small { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--grey-500); line-height: 1.2; }
.header-call-mobile { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--indigo); border-radius: var(--radius); color: var(--indigo); background: var(--white); position: relative; z-index: 120; }
.header-call-mobile svg { width: 20px; height: 20px; }
.menu-open .header-call-mobile { visibility: hidden; }
.header-actions { gap: var(--s-3); }
@media (min-width: 1100px) { .header-call-mobile { display: none; } .header-actions { gap: var(--s-5); } }
.header-quote { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 44px; min-width: 44px; padding: 0 0.85rem;
  border: 1.5px solid var(--indigo); background: var(--white); color: var(--indigo); border-radius: var(--radius); cursor: pointer;
  font-size: var(--fs-sm); font-weight: 700; position: relative; z-index: 120; touch-action: manipulation;
}
.menu-toggle .bars { width: 18px; height: 12px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out); }
.menu-toggle .bars::before { top: 1px; }
.menu-toggle .bars::after { top: 9px; }
.menu-open .menu-toggle { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.menu-open .menu-toggle .bars::before { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars::after { top: 5px; transform: rotate(-45deg); }

@media (min-width: 1100px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
  .header-quote { display: inline-flex; }
}
@media (min-width: 1280px) { .header-call { display: inline-flex; } }

/* Mobile menu: full-screen indigo */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110; background: var(--indigo-deep); color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) var(--s-7);
  clip-path: polygon(100% 0, 100% 0, calc(100% - var(--bolt)) 100%, calc(100% - var(--bolt)) 100%);
  visibility: hidden; transition: clip-path 0.7s var(--ease-inout), visibility 0s 0.7s;
  overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); visibility: visible; transition: clip-path 0.7s var(--ease-inout), visibility 0s; }
.menu-open .site-header { background: transparent; box-shadow: none; border-color: transparent; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { overflow: hidden; border-bottom: var(--rule-dark); }
.mobile-menu a.mm-link {
  display: flex; align-items: baseline; gap: 1rem; padding: 0.9rem 0; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.25rem, 9vw, 3.5rem); text-transform: uppercase; line-height: 1;
  transform: translateY(105%); transition: transform 0.7s var(--ease-out), color 0.3s;
}
.mobile-menu a.mm-link[aria-current="page"] { color: var(--orange); }
.menu-open .mobile-menu a.mm-link { transform: none; }
.menu-open .mobile-menu li:nth-child(1) a { transition-delay: 0.18s; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: 0.24s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: 0.30s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: 0.36s; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: 0.42s; }
.mobile-menu .mm-foot { display: grid; gap: var(--s-4); margin-top: var(--s-7); opacity: 0; transform: translateY(16px); transition: opacity 0.6s 0.45s, transform 0.6s 0.45s var(--ease-out); }
.menu-open .mobile-menu .mm-foot { opacity: 1; transform: none; }
.mm-foot a:not(.btn) { color: var(--white); text-decoration: none; font-weight: 600; }
.mm-foot .btn { justify-self: start; }
.menu-open body, body.menu-open { overflow: hidden; }

/* ---------- 7. Heroes ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(2rem, 4vw, 4rem)); padding-bottom: var(--section); overflow: hidden; }
.hero .grid-12 { align-items: center; }
.hero h1 { margin-bottom: var(--s-5); }
.hero .lead { margin-bottom: var(--s-7); }
.hero-copy { position: relative; z-index: 2; }
.hero-media { position: relative; }
.hero-photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--grey-100);
  clip-path: polygon(var(--bolt) 0, 100% 0, 100% 100%, 0 100%);
}
.hero-photo img { width: 100%; height: 112%; object-fit: cover; object-position: center 8%; }
.hero-bolt { position: absolute; z-index: 3; width: clamp(54px, 7vw, 96px); left: -2%; top: 8%; overflow: visible; }
.hero-bolt path { fill: none; stroke: var(--orange); stroke-width: 22; stroke-linejoin: round; }
.hero-badge {
  position: absolute; z-index: 3; left: 0; bottom: 8%; transform: translateX(-12%);
  background: var(--indigo); color: var(--white); padding: 1.1rem 1.4rem; display: flex; align-items: center; gap: 1rem; box-shadow: var(--shadow-md);
}
.hero-badge strong { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--orange); }
.hero-badge span { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.35; }
@media (min-width: 900px) {
  .hero { min-height: min(100svh, 980px); display: flex; align-items: center; }
  .hero > .container { width: 100%; }
}
@media (max-width: 899px) { .hero-badge { transform: none; left: 4%; } }

/* Stacked orange / peach block-grid motif */
.blocks { position: absolute; display: grid; grid-template-columns: repeat(3, var(--b, 38px)); grid-auto-rows: var(--b, 38px); pointer-events: none; z-index: 1; }
.blocks i { display: block; }
.blocks .o { background: var(--orange); }
.blocks .p { background: var(--peach); }
.blocks .d { background: var(--orange-hover); }
.blocks .n { background: transparent; }
.blocks .w { background: rgba(255,255,255,0.12); }
.hero-media .blocks { right: -18px; bottom: -18px; --b: clamp(28px, 3.4vw, 46px); }

/* Inner-page hero */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(1.5rem, 3vw, 3rem)); padding-bottom: clamp(3rem, 5vw, 5rem); overflow: hidden; border-bottom: var(--rule); }
.page-hero .grid-12 { align-items: end; }
.page-hero h1 { font-size: clamp(2.625rem, 1.9rem + 3.2vw, 5rem); margin-bottom: var(--s-5); }
.page-hero .lead { margin-bottom: 0; }
.page-hero-photo { position: relative; aspect-ratio: 16 / 11; overflow: hidden; clip-path: polygon(var(--bolt) 0, 100% 0, 100% 100%, 0 100%); background: var(--grey-100); }
.page-hero-photo img { width: 100%; height: 115%; object-fit: cover; }
.page-hero .blocks { right: calc(var(--gutter) - 14px); bottom: 0; --b: 26px; }
.breadcrumb { margin-bottom: var(--s-6); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: var(--fs-sm); font-weight: 600; color: var(--grey-500); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--orange-hover); }
.breadcrumb a { text-decoration: none; color: var(--indigo); }
.breadcrumb a:hover { text-decoration: underline; }

/* Faint gear watermark (max once per page) */
.gear-mark { position: absolute; z-index: 0; width: clamp(280px, 38vw, 560px); opacity: 0.06; pointer-events: none; color: var(--indigo); }
.on-dark .gear-mark { color: var(--white); opacity: 0.06; }

/* ---------- 8. Trust bar ---------- */
.trust { border-block: var(--rule); background: var(--white); }
.trust-inner { display: grid; grid-template-columns: repeat(2, 1fr); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 1.5rem 1rem; min-height: 112px; border-right: var(--rule); border-bottom: var(--rule); text-align: center; }
.trust-item:nth-child(2n) { border-right: 0; }
.trust-item img { max-height: 54px; width: auto; max-width: 100%; }
.trust-item .trust-label { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1; text-transform: uppercase; color: var(--indigo); }
.trust-item .trust-label b { color: var(--indigo-ink); }
.trust-item small { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--grey-500); margin-top: 0.35rem; }
@media (min-width: 900px) {
  .trust-inner { grid-template-columns: repeat(4, 1fr); }
  .trust-item { border-bottom: 0; }
  .trust-item:nth-child(2n) { border-right: var(--rule); }
  .trust-item:last-child { border-right: 0; }
}

/* ---------- 9. Media frames ---------- */
.frame { position: relative; overflow: hidden; background: var(--grey-100); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--diag { clip-path: polygon(var(--bolt) 0, 100% 0, 100% 100%, 0 100%); }
.frame--diag-r { clip-path: polygon(0 0, 100% 0, calc(100% - var(--bolt)) 100%, 0 100%); }
.frame-caption { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--grey-500); letter-spacing: 0.02em; }
[data-parallax] { will-change: transform; }

/* ---------- 10. Intro / editorial ---------- */
.intro-sig { display: flex; align-items: center; gap: 1rem; margin-top: var(--s-6); padding-top: var(--s-5); border-top: var(--rule); }
.intro-sig .avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--indigo); flex: none; }
.intro-sig .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 8%; }
.intro-sig strong { display: block; color: var(--indigo); font-weight: 700; }
.intro-sig span { font-size: var(--fs-sm); color: var(--grey-500); }
.big-quote-mark { font-family: var(--font-display); font-size: 6rem; line-height: 0.6; color: var(--orange); display: block; height: 0.45em; }

.editorial { columns: 1; column-gap: var(--gutter); }
@media (min-width: 900px) { .editorial--2 { columns: 2; } }
.editorial p:first-child::first-letter { font-family: var(--font-display); font-weight: 700; float: left; font-size: 4.6em; line-height: 0.82; margin: 0.06em 0.12em 0 0; color: var(--indigo); }

/* ---------- 11. Service cards (home) ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; border-top: var(--rule); border-left: var(--rule); }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } .service-card { min-height: 300px; } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  position: relative; display: flex; flex-direction: column; padding: var(--s-6) var(--s-5) var(--s-5);
  background: var(--white); border-right: var(--rule); border-bottom: var(--rule); text-decoration: none; color: var(--ink);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), background 0.4s;
}
.service-card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); }
.service-card:hover, .service-card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-md); z-index: 2; }
.service-card:hover::before, .service-card:focus-visible::before { transform: scaleX(1); }
.service-card .num { font-family: var(--font-display); font-weight: 700; font-size: 3.25rem; line-height: 1; color: var(--grey-300); transition: color 0.4s; }
.service-card:hover .num { color: var(--orange); }
.service-card h3 { font-size: 1.75rem; margin: var(--s-5) 0 var(--s-3); }
.service-card p { font-size: var(--fs-sm); color: var(--grey-500); line-height: 1.6; }
.service-card .link-arrow { margin-top: auto; padding-top: var(--s-5); }
.service-card--cta { background: var(--indigo); color: var(--white); justify-content: space-between; }
.service-card--cta h3 { color: var(--white); }
.service-card--cta p { color: rgba(255,255,255,0.78); }
.service-card--cta .link-arrow { color: var(--orange); }

/* ---------- 12. The Linothando Edge (pinned stats) ---------- */
.edge { display: grid; gap: var(--s-8); }
@media (min-width: 1000px) {
  .edge { grid-template-columns: 5fr 7fr; gap: calc(var(--gutter) * 2); align-items: start; }
  .edge-pin { position: sticky; top: calc(var(--header-h-compact) + 2.5rem); }
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--indigo); margin-top: var(--s-7); }
.stat { padding: var(--s-5) var(--s-3) 0 0; }
.stat + .stat { padding-left: var(--s-4); border-left: var(--rule); }
.stat .numeral { font-size: clamp(3rem, 2rem + 3vw, 4.75rem); display: flex; align-items: baseline; }
.stat .numeral sup { font-size: 0.45em; color: var(--indigo); margin-left: 2px; top: 0; }
.stat p { font-size: var(--fs-sm); font-weight: 600; color: var(--grey-500); margin-top: var(--s-2); line-height: 1.35; }
.edge-list { list-style: none; counter-reset: edge; }
.edge-list li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4); padding: var(--s-6) 0; border-bottom: var(--rule); transition: opacity 0.5s; }
.edge-list li:first-child { border-top: var(--rule); }
.edge-list .ico { width: 56px; height: 56px; display: grid; place-items: center; border: 1.5px solid var(--indigo); color: var(--indigo); transition: background 0.4s, color 0.4s; }
.edge-list li.is-active .ico, .edge-list li:hover .ico { background: var(--orange); border-color: var(--orange); color: var(--indigo-ink); }
.edge-list .ico svg { width: 26px; height: 26px; }
.edge-list h3 { font-size: 1.6rem; margin-bottom: var(--s-2); }
.edge-list p { color: var(--grey-500); }

/* ---------- 13. Client marquee & wall ---------- */
.marquee { --gap: 0px; --duration: 45s; position: relative; display: flex; gap: var(--gap); overflow: hidden; border-block: var(--rule); background: var(--white); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-group { display: flex; flex-shrink: 0; min-width: 100%; justify-content: space-around; gap: var(--gap); animation: marquee var(--duration) linear infinite; }
.marquee:hover .marquee-group, .marquee-wrap.is-paused .marquee-group { animation-play-state: paused; }
.marquee-item { flex: none; display: grid; place-items: center; width: clamp(180px, 20vw, 280px); height: 132px; padding: 1.5rem 2rem; border-right: var(--rule); }
.marquee-item img { max-height: 72px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: 0.75; transition: filter 0.5s, opacity 0.5s; }
.marquee-item:hover img { filter: none; opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-100% - var(--gap))); } }
.marquee-toggle { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; margin-top: var(--s-3); padding: 0 0.25rem; background: none; border: 0; color: var(--indigo); font-size: var(--fs-sm); font-weight: 600; cursor: pointer; }
.marquee-toggle:hover .mt-label { text-decoration: underline; }
.mt-icon { width: 12px; height: 12px; display: inline-block; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.marquee-wrap.is-paused .mt-icon { border: 0; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid currentColor; }

.logo-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
@media (min-width: 700px) { .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .logo-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.logo-tile { position: relative; margin: 0; display: block; aspect-ratio: 1 / 1; padding: 12% 12% 22%; background: var(--white); border: var(--rule); transition: box-shadow 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.logo-tile::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); }
.logo-tile:hover { border-color: var(--grey-500); }
.logo-tile:hover::after { transform: scaleX(1); }
.logo-tile img { width: 100%; height: 100%; object-fit: contain; }
.logo-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0.85rem; text-align: center; font-size: var(--fs-xs); font-weight: 600; color: var(--grey-500); padding-inline: 0.5rem; line-height: 1.3; }

/* ---------- 14. Dark bands ---------- */
.band-dark { position: relative; background: var(--indigo); color: rgba(255,255,255,0.86); overflow: hidden; }
.band-dark h2, .band-dark h3, .band-dark h4 { color: var(--white); }
.band-dark .lead { color: rgba(255,255,255,0.9); }
.band-dark .eyebrow { color: var(--peach); }
.band-deep { background: var(--indigo-deep); }
.angle-top { clip-path: polygon(0 clamp(28px, 5vw, 80px), 100% 0, 100% 100%, 0 100%); margin-top: calc(clamp(28px, 5vw, 80px) * -1); padding-top: calc(var(--section) + clamp(28px, 5vw, 80px)); }

.check-list { list-style: none; display: grid; gap: var(--s-3); }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 2px; background: var(--orange); }
.check-list li::after { content: ""; position: absolute; left: 0; top: calc(0.62em - 6px); width: 2px; height: 14px; background: transparent; }
.check-list--cols { grid-template-columns: 1fr; }
@media (min-width: 700px) { .check-list--cols { grid-template-columns: 1fr 1fr; column-gap: var(--gutter); } }

.solar-figs { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-4); }
.solar-figs .frame:first-child { grid-row: span 2; aspect-ratio: 3 / 4; }
.solar-figs .frame { aspect-ratio: 1 / 1; }

/* ---------- 15. CTA band ---------- */
.cta-band { position: relative; background: var(--peach); overflow: hidden; }
.cta-band .container { position: relative; z-index: 2; display: grid; gap: var(--s-6); align-items: center; padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.cta-band h2 { margin: 0; max-width: 16em; color: var(--indigo); }
.cta-band h2 span { display: block; color: var(--indigo-ink); font-size: 0.55em; letter-spacing: 0.01em; margin-bottom: 0.5em; }
.cta-band .btn-row { justify-content: flex-start; }
.cta-band .btn--ghost { --btn-bd: var(--indigo); }
.cta-band .blocks { right: 0; top: 0; --b: clamp(26px, 3vw, 44px); }
.cta-band .cta-slash { position: absolute; inset: 0 auto 0 -10%; width: 38%; background: var(--peach-soft); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); z-index: 1; }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: 8fr 4fr; } .cta-band .btn-row { justify-content: flex-end; } }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--indigo-deep); color: rgba(255,255,255,0.78); font-size: var(--fs-sm); }
.footer-main { display: grid; gap: var(--s-7); padding-block: var(--s-9) var(--s-8); }
@media (min-width: 700px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-main { grid-template-columns: 1.4fr 0.8fr 1.1fr 1.2fr; gap: var(--gutter); } }
.footer-logo { display: inline-block; background: var(--white); padding: 10px; border-radius: var(--radius); }
.footer-logo img { width: 112px; height: auto; }
.footer-tagline { margin-top: var(--s-5); font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.15; color: var(--white); max-width: 16em; }
.footer-tagline em { font-style: normal; color: var(--orange); }
.site-footer h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--white); margin-bottom: var(--s-5); padding-bottom: var(--s-3); border-bottom: 2px solid var(--orange); display: inline-block; }
.site-footer ul { list-style: none; display: grid; gap: 0.55rem; }
.site-footer a { color: rgba(255,255,255,0.86); text-decoration: none; transition: color 0.3s; }
.site-footer a:hover { color: var(--orange); text-decoration: underline; }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 0.75rem; align-items: start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--orange); margin-top: 0.3em; }
.footer-accred { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: var(--s-6); }
.footer-accred span { display: grid; place-items: center; width: 92px; height: 52px; background: var(--white); padding: 8px; border-radius: var(--radius); }
.footer-accred img { max-height: 100%; width: auto; }
.footer-social { display: flex; gap: 0.6rem; margin-top: var(--s-5); align-items: center; flex-wrap: wrap; }
.footer-social .soc { width: 40px; height: 40px; display: grid; place-items: center; border: var(--rule-dark); border-radius: 50%; color: rgba(255,255,255,0.6); }
.footer-social .soc svg { width: 16px; height: 16px; }
.footer-bottom { border-top: var(--rule-dark); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.4rem; font-size: 0.8125rem; color: rgba(255,255,255,0.62); }
.footer-bottom p { margin: 0; }

/* ---------- 17. Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 2vw, 1.75rem); bottom: clamp(1rem, 2vw, 1.75rem); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #1FA855; color: var(--white); box-shadow: 0 10px 24px -8px rgba(0,0,0,0.4); transition: transform 0.5s var(--ease-out), background 0.3s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); background: #178E47; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float .wa-tip { position: absolute; right: calc(100% + 12px); white-space: nowrap; background: var(--indigo-ink); color: var(--white); font-size: var(--fs-xs); font-weight: 600; padding: 0.45rem 0.75rem; border-radius: var(--radius); opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity 0.3s, transform 0.4s var(--ease-out); }
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: none; }
.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- 18. Page transition (bolt-angle wipe) ---------- */
.pt { position: fixed; inset: 0; z-index: 9999; pointer-events: none; overflow: hidden; }
.pt-panel { position: absolute; top: -5%; bottom: -5%; left: -25%; width: 150%; background: var(--indigo-deep); transform: translateX(-110%) skewX(-12deg); }
.pt-panel::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 6px; background: var(--orange); }
.pt-logo { position: absolute; left: 50%; top: 50%; width: 64px; transform: translate(-50%, -50%); opacity: 0; }
html.pt-enter .pt-panel { transform: translateX(0) skewX(-12deg); }
html.pt-enter .pt-logo { opacity: 1; }

/* ---------- 19. About components ---------- */
.founder { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 1000px) { .founder { grid-template-columns: 5fr 7fr; gap: calc(var(--gutter) * 2); } }
.founder-photo { position: relative; background: var(--indigo); aspect-ratio: 4 / 5; overflow: hidden; clip-path: polygon(var(--bolt) 0, 100% 0, 100% 100%, 0 100%); }
.founder-photo::before { content: ""; position: absolute; inset: auto -20% -30% 20%; height: 70%; background: var(--orange); opacity: 0.9; transform: skewX(-18deg); }
.founder-photo img { position: relative; width: 78%; margin: 6% auto 0; height: auto; }
.founder-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; text-transform: uppercase; color: var(--indigo); margin-top: var(--s-4); }
.founder-name small { display: block; font-family: var(--font-body); text-transform: none; font-size: var(--fs-sm); color: var(--grey-500); font-weight: 500; }
.pull-quote { margin: var(--s-7) 0; padding: var(--s-6) 0 var(--s-6) var(--s-6); border-left: 4px solid var(--orange); }
.pull-quote p { font-family: var(--font-display); font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); font-weight: 600; line-height: 1.1; color: var(--indigo); text-transform: none; }
.pull-quote cite { display: block; margin-top: var(--s-4); font-style: normal; font-size: var(--fs-sm); font-weight: 700; color: var(--grey-500); letter-spacing: 0.04em; }
.qual-list { list-style: none; border-top: var(--rule); }
.qual-list li { position: relative; padding: 0.95rem 0 0.95rem 1.5rem; border-bottom: var(--rule); }
.qual-list li::before { content: ""; position: absolute; left: 0; top: 1.55em; width: 10px; height: 2px; background: var(--orange); }

.vm { display: grid; gap: var(--gutter); }
@media (min-width: 900px) { .vm { grid-template-columns: 1fr 1fr; } }
.vm-card { position: relative; padding: var(--s-7) var(--s-6); background: var(--white); border: var(--rule); border-top: 4px solid var(--indigo); }
.vm-card:nth-child(2) { border-top-color: var(--orange); }
.vm-card h3 { margin-bottom: var(--s-4); }
.vm-card p { font-size: var(--fs-lead); line-height: 1.55; }

.values { display: grid; grid-template-columns: 1fr; border-top: var(--rule); }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(5, 1fr); } }
.value { padding: var(--s-6) var(--s-5) var(--s-6) 0; border-bottom: var(--rule); }
@media (min-width: 1100px) { .value { border-bottom: 0; padding-right: var(--s-5); } .value + .value { padding-left: var(--s-5); border-left: var(--rule); } }
.value svg { width: 44px; height: 44px; color: var(--orange-hover); margin-bottom: var(--s-5); }
.value h3 { font-size: 1.6rem; margin-bottom: var(--s-3); }
.value p { font-size: var(--fs-sm); color: var(--grey-500); }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
@media (min-width: 900px) { .team-grid { grid-template-columns: 1.3fr 1fr 1fr; } .team-grid .frame:first-child { grid-row: span 2; } }
.team-grid .frame { aspect-ratio: 1 / 1; }
.team-grid .frame:first-child { aspect-ratio: auto; min-height: 100%; }

.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-bottom: var(--s-7); }
.badge { display: grid; place-items: center; background: var(--white); border: var(--rule); padding: 1.25rem; min-height: 120px; }
.badge img { max-height: 64px; width: auto; }
.table-wrap { overflow-x: auto; }
.compliance { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.compliance caption { text-align: left; font-weight: 700; color: var(--indigo); padding-bottom: var(--s-4); }
.compliance th, .compliance td { text-align: left; padding: 1rem 1rem 1rem 0; border-bottom: var(--rule); vertical-align: top; }
.compliance th { width: 46%; font-weight: 600; color: var(--indigo-ink); }
.compliance thead th { font-size: var(--fs-sm); color: var(--grey-500); border-bottom: 2px solid var(--indigo); }
.compliance td .tick { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--indigo); }
.compliance td .tick::before { content: ""; width: 8px; height: 8px; background: var(--orange); }

/* ---------- 20. Services (sticky scroll) ---------- */
.svc-layout { display: grid; gap: var(--s-7); }
.svc-index { display: none; }
@media (min-width: 1000px) {
  .svc-layout { grid-template-columns: 4fr 8fr; gap: calc(var(--gutter) * 2); align-items: start; }
  .svc-index { display: block; position: sticky; top: calc(var(--header-h-compact) + 2.5rem); }
}
.svc-index ol { list-style: none; border-top: var(--rule); }
.svc-index ol a { display: grid; grid-template-columns: 3rem 1fr; align-items: baseline; padding: 0.95rem 0; border-bottom: var(--rule); text-decoration: none; color: var(--grey-500); font-weight: 600; transition: color 0.3s, padding 0.5s var(--ease-out); position: relative; }
.svc-index ol a span { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.svc-index ol a::before { content: ""; position: absolute; left: -1rem; top: 50%; width: 4px; height: 0; background: var(--orange); transform: translateY(-50%); transition: height 0.5s var(--ease-out); }
.svc-index ol a:hover, .svc-index ol a.is-active { color: var(--indigo); padding-left: 0.5rem; }
.svc-index ol a.is-active span { color: var(--indigo); }
.svc-index ol a.is-active::before { height: 70%; }
.svc-index .btn { margin-top: var(--s-6); }
.svc { padding-bottom: var(--s-9); margin-bottom: var(--s-9); border-bottom: var(--rule); scroll-margin-top: calc(var(--header-h-compact) + 1.5rem); }
.svc:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.svc-head { display: flex; align-items: flex-start; gap: var(--s-5); margin-bottom: var(--s-5); }
.svc-head .numeral { font-size: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); color: var(--indigo); line-height: 0.82; padding-top: 0.08em; border-top: 4px solid var(--orange); }
.svc-head h2 { font-size: var(--fs-h3); margin: 0.1em 0 0; }
.svc .frame { aspect-ratio: 16 / 9; margin-bottom: var(--s-6); }
.svc-body { display: grid; gap: var(--s-6); }
@media (min-width: 760px) { .svc-body { grid-template-columns: 1.15fr 1fr; gap: var(--gutter); } }
.svc-body h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--indigo); margin-bottom: var(--s-4); }
.svc-for { margin-top: var(--s-5); padding: var(--s-4) var(--s-5); background: var(--peach-soft); border-left: 3px solid var(--orange); font-size: var(--fs-sm); }
.svc-for strong { color: var(--indigo); }
.svc .link-arrow { margin-top: var(--s-5); }

.promise { display: grid; gap: var(--s-5); margin-top: var(--s-8); }
@media (min-width: 900px) { .promise { grid-template-columns: repeat(3, 1fr); gap: 0; } .promise > div + div { border-left: var(--rule-dark); } .promise > div { padding-inline: var(--s-6); } .promise > div:first-child { padding-left: 0; } }
.promise svg { width: 40px; height: 40px; color: var(--orange); margin-bottom: var(--s-5); }
.promise h3 { font-size: 1.75rem; }

/* ---------- 21. Clients page ---------- */
.sector-grid { display: grid; gap: var(--gutter); }
@media (min-width: 900px) { .sector-grid { grid-template-columns: repeat(3, 1fr); } }
.sector { position: relative; background: var(--white); border: var(--rule); display: flex; flex-direction: column; }

.sector .frame { aspect-ratio: 16 / 10; }
.sector-body { padding: var(--s-6) var(--s-5); }

.sector-body h3 { font-size: 1.9rem; }
.sector-body ul { list-style: none; margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sector-body li { font-size: var(--fs-xs); font-weight: 600; padding: 0.35rem 0.7rem; border: var(--rule); color: var(--indigo); }

.why-grid { display: grid; gap: 0; border-top: var(--rule); }
@media (min-width: 700px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why { padding: var(--s-6) var(--s-5) var(--s-6) 0; border-bottom: var(--rule); }
@media (min-width: 1100px) { .why + .why { padding-left: var(--s-5); border-left: var(--rule); } .why { border-bottom: 0; } }
.why svg { width: 40px; height: 40px; color: var(--orange-hover); margin-bottom: var(--s-5); }
.why h3 { font-size: 1.6rem; }
.why p { font-size: var(--fs-sm); color: var(--grey-500); }

.projects-grid { display: grid; gap: var(--gutter); }
@media (min-width: 700px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }
.project-card .frame { aspect-ratio: 4 / 3; }
.project-card dl { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; margin: var(--s-4) 0 0; font-size: var(--fs-sm); }
.project-card dt { font-weight: 700; color: var(--indigo); }
.project-card dd { margin: 0; }

/* ---------- 22. Contact ---------- */
.contact-layout { display: grid; gap: var(--s-8); }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 7fr 5fr; gap: calc(var(--gutter) * 2); align-items: start; } }
.form { display: grid; gap: var(--s-5); padding: clamp(1.5rem, 1rem + 2vw, 3rem); background: var(--white); border: var(--rule); border-top: 4px solid var(--indigo); }
.form-row { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label, .field legend { font-size: var(--fs-sm); font-weight: 700; color: var(--indigo); }
.form-note { font-size: var(--fs-sm); color: var(--grey-500); margin: 0; }
.field .opt { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--grey-500); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 1rem; background: var(--paper); border: 1px solid var(--grey-300); border-bottom: 2px solid var(--indigo); border-radius: var(--radius);
  font-size: 1rem; color: var(--ink); transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E4095' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 18px; padding-right: 2.75rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 3px rgba(244,153,38,0.25); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B42318; }
.field .err { font-size: var(--fs-xs); color: #B42318; font-weight: 600; min-height: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.radio-row label { position: relative; text-transform: none; letter-spacing: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.radio-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-row span { display: inline-flex; align-items: center; min-height: 44px; padding: 0.55rem 1.1rem; border: 1.5px solid var(--grey-300); border-radius: var(--radius); cursor: pointer; transition: all 0.3s; background: var(--paper); }
.radio-row input:checked + span { border-color: var(--indigo); background: var(--indigo); color: var(--white); }
.radio-row input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 0.25rem 0.75rem; align-items: start; font-size: var(--fs-sm); color: var(--grey-500); }
.consent .err { grid-column: 2; }
.consent input { width: 20px; height: 20px; margin-top: 0.2em; accent-color: var(--indigo); }
.form-status { padding: var(--s-4) var(--s-5); border-left: 3px solid var(--orange); background: var(--peach-soft); font-weight: 600; color: var(--indigo); }
.form-status[hidden] { display: none; }

.contact-cards { display: grid; gap: var(--s-3); }
.c-card { display: grid; grid-template-columns: 48px 1fr; gap: var(--s-4); align-items: center; padding: var(--s-5); background: var(--white); border: var(--rule); text-decoration: none; color: var(--ink); transition: border-color 0.3s, transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); }
a.c-card:hover { border-color: var(--orange); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.c-card .ico { width: 48px; height: 48px; display: grid; place-items: center; background: var(--indigo); color: var(--white); }
.c-card .ico svg { width: 22px; height: 22px; }
.c-card small { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--grey-500); }
.c-card strong { display: block; color: var(--indigo); font-weight: 700; font-size: 1.05rem; line-height: 1.4; word-break: break-word; }
.map { position: relative; height: clamp(360px, 40vw, 540px); background: var(--grey-100); border-top: 4px solid var(--orange); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.35) contrast(1.05); }

/* ---------- 23. Motion initial states (only when JS + motion allowed) ---------- */
html.motion [data-reveal="fade"] { opacity: 0; transform: translateY(8px); filter: blur(6px); }
.reveal-statement { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.15; letter-spacing: 0.005em; color: var(--indigo); margin-bottom: var(--s-6); max-width: 24em; }
html.motion .reveal-statement .tr-word { opacity: 0.2; }
html.motion [data-reveal="clip"] { clip-path: polygon(0 0, 0 0, calc(var(--bolt) * -1) 100%, calc(var(--bolt) * -1) 100%); }
html.motion [data-split] { visibility: hidden; }
html.motion [data-split].is-split { visibility: visible; }
html.motion .hero-bolt path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.split-line { overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .marquee-group { animation: none; flex-wrap: wrap; justify-content: center; }
  .marquee-group[aria-hidden="true"], .marquee-toggle { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .pt { display: none; }
}

/* ---------- 24. Utilities ---------- */
.mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); } .mt-8 { margin-top: var(--s-8); }
.center { text-align: center; }
.rel { position: relative; }
.z2 { position: relative; z-index: 2; }

/* ==========================================================================
   25. Art direction pass ("$10k standard")
   - Section rhythm: 72px mobile, >=120px desktop
   - Signature moment: the logo's lightning bolt draws itself through the hero
   - Motion: only transform and opacity are animated
   - Imagery: graded 4:5 / 16:9 crops; weak images only small or duotone
   - Mobile: swipe carousels, sticky Call/WhatsApp bar, 44px targets
   ========================================================================== */
:root { --section: 4.5rem; }
@media (min-width: 1024px) { :root { --section: clamp(7.5rem, 4rem + 4vw, 10rem); } }
.section--tight { padding-block: var(--section); }

/* ---- Header: fixed height; compaction is an opacity layer + scaled logo ---- */
.site-header, .site-header.is-scrolled { height: var(--header-h); background: transparent; border-bottom-color: transparent; box-shadow: none; backdrop-filter: none; transition: none; }
.site-header::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--grey-100); box-shadow: var(--shadow-sm); opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.site-header.is-scrolled::before { opacity: 1; }
.menu-open .site-header::before { opacity: 0; }
.site-header .container { position: relative; }
.brand, .site-header.is-scrolled .brand { padding: 6px; transition: transform 0.5s var(--ease-out); transform-origin: left center; }
.brand img, .site-header.is-scrolled .brand img { transition: none; }
.site-header.is-scrolled .brand { transform: scale(0.86); box-shadow: none; }

/* ---- Mobile menu: slides in (transform), bars rotate (transform) ---- */
.mobile-menu, .menu-open .mobile-menu { clip-path: none; }
.mobile-menu { transform: translateX(102%); transition: transform 0.6s var(--ease-inout), visibility 0s 0.6s; }
.menu-open .mobile-menu { transform: none; transition: transform 0.6s var(--ease-inout), visibility 0s; }
.menu-toggle .bars::before, .menu-toggle .bars::after { top: 5px; transition: transform 0.45s var(--ease-out); }
.menu-toggle .bars::before { transform: translateY(-4px); }
.menu-toggle .bars::after { transform: translateY(4px); }
.menu-open .menu-toggle .bars::before { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars::after { top: 5px; transform: rotate(-45deg); }
.mobile-menu a.mm-link { transition: transform 0.7s var(--ease-out); }

/* ---- Buttons: magnetic pull (JS) + a fill that sweeps in at the bolt angle ---- */
.btn, .btn:hover { transition: none; }
.btn:hover { --btn-bg: var(--orange); --btn-bd: var(--orange); }
.btn::before { content: ""; position: absolute; inset: -2px -20%; z-index: -1; background: var(--orange-hover); transform: translateX(-105%) skewX(-14deg); transition: transform 0.5s var(--ease-out); }
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0) skewX(-14deg); }
.btn--ghost:hover { --btn-bg: transparent; --btn-fg: var(--indigo); --btn-bd: var(--indigo); }
.btn--ghost::before { background: var(--peach); }
.btn--light:hover { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,0.8); }
.btn--light::before { background: rgba(255,255,255,0.14); }
.btn-shimmer::after { display: none; }

/* ---- Links: underline draws in ---- */
.link-arrow { position: relative; background: none; transition: none; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-out); }
.link-arrow:hover::after, .link-arrow:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.link-arrow:hover { background: none; }

/* ---- Cards: restrained lift; shadow fades in as an opacity layer ---- */
.service-card { transition: transform 0.6s var(--ease-out); }
.service-card:hover, .service-card:focus-visible { transform: translateY(-4px); box-shadow: none; }
.service-card::after { content: ""; position: absolute; inset: 0; box-shadow: var(--shadow-md); opacity: 0; transition: opacity 0.6s var(--ease-out); pointer-events: none; }
.service-card:hover::after, .service-card:focus-visible::after { opacity: 1; }
.service-card .num { transition: none; }
.c-card { transition: transform 0.5s var(--ease-out); }
a.c-card:hover { box-shadow: none; }
.logo-tile { transition: none; }
.edge-list .ico, .marquee-item img, .site-footer a, .wa-float, .field input, .field select, .field textarea, .radio-row span { transition: none; }

/* ---- Services index: marker scales, label nudges (transform only) ---- */
.svc-index ol a { transition: none; }
.svc-index ol a:hover, .svc-index ol a.is-active { padding-left: 0; }
.svc-index ol a > *, .svc-index ol a { transform: none; }
.svc-index ol a::before { height: 70%; transform: translateY(-50%) scaleY(0); transition: transform 0.5s var(--ease-out); }
.svc-index ol a.is-active::before { height: 70%; transform: translateY(-50%) scaleY(1); }

/* ---- Signature moment: the lightning bolt draws itself through the hero ---- */
.hero-bolt { display: none; }
.sig-bolt { position: absolute; z-index: 3; left: -30%; top: -6%; height: 112%; width: auto; overflow: visible; pointer-events: none; }
.sig-fill { fill: var(--orange); }
.sig-line { fill: none; stroke: var(--indigo); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.hero-photo { position: relative; z-index: 2; }
.hero-copy { z-index: 3; }
.hero-media .blocks, .hero-badge { z-index: 4; }
.sig-fill { filter: drop-shadow(0 10px 18px rgba(28,29,58,0.18)); }
html.motion .sig-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.motion .sig-fill { opacity: 0; }
@media (max-width: 899px) { .sig-bolt { left: -6%; top: 6%; height: 92%; } }

/* ---- Hero: shorter line breaks on phones ---- */
@media (max-width: 639px) {
  .hero h1 .hb { display: block; }
  .hero h1 { font-size: clamp(3rem, 2rem + 6vw, 3.75rem); }
}

/* ---- Imagery: fixed ratios ---- */
.page-hero-photo { aspect-ratio: 16 / 9; }
.page-hero-photo img { height: 112%; }
.frame--wide { aspect-ratio: 16 / 9; }
.solar-figs { grid-template-columns: 1.55fr 1fr; align-items: end; }
.solar-figs .frame, .solar-figs .frame:first-child { aspect-ratio: 4 / 5; grid-row: auto; }
.solar-figs .frame--duo { margin-bottom: -2rem; }
.team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-grid .frame, .team-grid .frame:first-child { aspect-ratio: 4 / 5; min-height: 0; grid-row: auto; }
@media (min-width: 900px) { .team-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .team-grid .frame:first-child { grid-row: auto; } }
.sector .frame { aspect-ratio: 16 / 9; }

/* ---- Services page: numeral + title (primary), 4:5 image (secondary), text (tertiary) ---- */
.svc-main { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 760px) { .svc-main { grid-template-columns: 5fr 7fr; gap: var(--gutter); } }
.svc .svc-frame { aspect-ratio: 4 / 5; margin: 0; }
.svc-text .svc-lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); margin-bottom: var(--s-6); }
.svc-text h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--indigo); margin: 0 0 var(--s-4); }
.svc-text .svc-for { margin: var(--s-6) 0 var(--s-2); }
.svc-compose { position: relative; overflow: hidden; background: var(--indigo); display: flex; align-items: flex-end; padding: var(--s-6); }
.svc-compose svg { position: absolute; right: -6%; top: -6%; height: 112%; width: auto; fill: var(--orange); opacity: 0.95; }
.svc-compose span { position: relative; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1; text-transform: uppercase; color: var(--white); max-width: 8em; }
@media (max-width: 759px) { .svc .svc-frame { aspect-ratio: 4 / 3; } .svc-compose { aspect-ratio: 16 / 9 !important; } }

/* ---- Mobile: swipe carousels (services, clients) ---- */
.swipe-hint { display: none; }
@media (max-width: 639px) {
  .swipe-hint { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--grey-500); margin-bottom: var(--s-4); }
  .services-grid, .logo-wall {
    display: grid; grid-auto-flow: column; grid-template-columns: none; gap: var(--s-3);
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) var(--s-5); scroll-padding-inline: var(--gutter);
    border: 0; scrollbar-width: thin;
  }
  .services-grid { grid-auto-columns: 82%; }
  .logo-wall { grid-auto-columns: 58%; }
  .services-grid > *, .logo-wall > * { scroll-snap-align: start; }
  .service-card { border: var(--rule); min-height: 280px; }
  .service-card:hover, .service-card:focus-visible { transform: none; }
}

/* ---- Mobile: sticky Call / WhatsApp bar ---- */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: var(--grey-100); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px -10px rgba(28,29,58,0.35);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 56px; font-weight: 700; text-decoration: none; color: var(--white); touch-action: manipulation; }
  .mobile-bar svg { width: 20px; height: 20px; }
  .mb-call { background: var(--indigo); }
  .mb-wa { background: #0F7A40; }
  .mobile-bar a:active { opacity: 0.85; }
  .wa-float { display: none; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .menu-open .mobile-bar { visibility: hidden; }
}
.wa-float { background: #0F7A40; }
.wa-float:hover { background: #0F7A40; }

/* ---- Tap targets >= 44px ---- */
.site-footer ul { gap: 0; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-contact li { align-items: center; }
.footer-contact svg { margin-top: 0; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.marquee-toggle svg { width: 16px; height: 16px; }
.marquee-toggle .mt-play, .marquee-wrap.is-paused .mt-pause { display: none; }
.marquee-wrap.is-paused .mt-play { display: inline-flex; }
.mt-pause, .mt-play { display: inline-flex; }

/* ---- Fade distance: no blur, shorter on phones ---- */
html.motion [data-reveal="fade"] { filter: none; transform: translateY(12px); }
@media (max-width: 767px) { html.motion [data-reveal="fade"] { transform: translateY(6px); } }
html.motion .reveal-statement .tr-word { opacity: 1; }

/* QA fixes: CTA band follows the section rhythm; link on indigo card meets AA */
.cta-band .container { padding-block: var(--section); }
.service-card--cta .link-arrow { color: var(--peach); }

/* ---- Home welcome: title + founder card on the left, statement on the right ---- */
.intro-grid { display: grid; gap: var(--s-7); grid-template-areas: "title" "copy" "card"; }
.intro-title { grid-area: title; margin: 0; }
.intro-copy { grid-area: copy; }
.intro-copy .reveal-statement { max-width: none; }
.intro-copy .muted { max-width: 38em; }
.founder-card { grid-area: card; margin: 0; display: grid; grid-template-columns: 132px 1fr; gap: var(--s-5); align-items: end; padding-top: var(--s-6); border-top: 2px solid var(--indigo); }
.founder-card-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--indigo); clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.founder-card-photo::before { content: ""; position: absolute; inset: auto -30% -35% 25%; height: 70%; background: var(--orange); transform: skewX(-18deg); }
.founder-card-photo img { position: relative; width: 86%; margin: 10% auto 0; height: auto; }
.founder-card blockquote { margin: 0 0 var(--s-4); }
.founder-card blockquote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.1; color: var(--indigo); }
.founder-card strong { display: block; color: var(--indigo); font-weight: 700; }
.founder-card span { font-size: var(--fs-sm); color: var(--grey-500); }
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 5fr 7fr; grid-template-rows: auto 1fr; grid-template-areas: "title copy" "card copy"; column-gap: calc(var(--gutter) * 2); row-gap: var(--s-8); }
  .founder-card { align-self: end; grid-template-columns: 150px 1fr; }
}

/* Social icons on light backgrounds (Contact page) */
.social--light .soc { border-color: var(--grey-300); color: var(--indigo); }
