/* Lamo Solar - revised design (red and amber), following the designer's comps. One stylesheet for every page. */
:root {
  --maroon: #7C0001;
  --maroon-deep: #430001;
  --amber: #E9A22B;
  --amber-soft: #F6D9A0;
  --ink: #2B1B1B;
  --text: #4A3B3B;
  --muted: #6E5F5F;
  --paper: #FFFFFF;
  --mist: #F4F3F2;
  --line: rgba(124, 0, 1, 0.18);
  --shadow: 0 18px 44px rgba(67, 0, 1, 0.12);
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.65 var(--font); color: var(--text); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; color: var(--maroon); font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 22px; height: 22px; flex: 0 0 auto; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.eyebrow { font-size: 12.5px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.h2 { font-size: clamp(30px, 4.2vw, 50px); max-width: 16ch; font-weight: 600; }
.h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink); font-weight: 500; line-height: 1.5; }
.grey { background: linear-gradient(180deg, var(--mist), #fff); border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; }
.contours { position: relative; isolation: isolate; }
.contours::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../img/contours-dark.png) center / 1100px auto repeat; opacity: .07; pointer-events: none; }

/* Buttons: a rounded rectangle with a white arrow chip */
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 7px 7px 7px 24px; border: 0; border-radius: var(--r-sm); background: var(--maroon); color: #fff; font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--maroon-deep); }
.btn .chip { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: #fff; color: var(--maroon); flex: 0 0 auto; }
.btn .chip .ico { width: 18px; height: 18px; }
.btn--sm { min-height: 44px; padding: 5px 5px 5px 18px; font-size: 13.5px; }
.btn--sm .chip { width: 34px; height: 34px; }
.btn--ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.7); padding: 7px 24px; }
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--outline { background: #fff; color: var(--maroon); border: 1.5px solid var(--line); padding: 7px 22px; }
.btn--outline:hover { background: var(--mist); }
.btn--outline .ico { width: 18px; height: 18px; }
.btn-pair { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Header: logo, and a white pill holding the menu and the assessment button */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.hdr.scrolled { background: rgba(67, 0, 1, 0.94); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.logo { display: block; flex: 0 0 auto; min-height: 44px; }
.logo img { height: 72px; width: auto; transition: transform .25s; transform-origin: left center; }
.hdr.scrolled .logo img { transform: scale(.78); }
.pill { display: flex; align-items: center; gap: 4px; background: #fff; border-radius: 22px; padding: 8px 8px 8px 22px; box-shadow: 0 10px 30px rgba(0,0,0,.14); }
.pill nav { display: flex; align-items: center; gap: 2px; margin-right: 18px; }
.pill nav a { display: block; padding: 12px 18px; border-radius: 12px; font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon-deep); text-decoration: none; transition: background .2s; }
.pill nav a:hover { background: var(--mist); }
.pill nav a[aria-current="page"] { font-weight: 700; color: var(--maroon); }
.pill .btn { min-height: 48px; padding: 5px 5px 5px 20px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; border-radius: 14px; }
.pill .btn .chip { width: 38px; height: 38px; }
.burger { display: none; width: 48px; height: 48px; border: 0; border-radius: 14px; background: #fff; color: var(--maroon); cursor: pointer; place-items: center; }
.burger .ico { width: 24px; height: 24px; }
.menu { position: fixed; inset: 0; z-index: 70; background: var(--maroon-deep); color: #fff; display: none; flex-direction: column; padding: 14px var(--gutter) 32px; overflow-y: auto; }
.menu.open { display: flex; }
.menu-top { display: flex; align-items: center; justify-content: space-between; }
.menu-top img { height: 64px; }
.menu .burger { background: rgba(255,255,255,.12); color: #fff; }
.menu ul { list-style: none; margin: 28px 0 24px; padding: 0; display: grid; }
.menu li a { display: block; padding: 16px 0; font-size: 24px; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.16); }
.menu .btn { background: var(--amber); color: var(--maroon-deep); justify-content: space-between; }
.menu .btn .chip { background: var(--maroon-deep); color: #fff; }
.sticky-cta { position: fixed; inset: auto 0 0 0; z-index: 40; display: none; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.96) 40%); transform: translateY(120%); transition: transform .3s; }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; justify-content: space-between; box-shadow: 0 10px 28px rgba(67,0,1,.35); }

/* Hero (landing) and plain maroon page headers (inner pages) */
.hero { position: relative; color: #fff; min-height: 640px; display: flex; align-items: center; text-align: center; background: var(--maroon-deep); isolation: isolate; }
.hero > img { 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: linear-gradient(180deg, rgba(124,0,1,.92) 0%, rgba(124,0,1,.66) 50%, rgba(80,0,1,.5) 100%); }
.hero-in { padding-block: 170px 110px; display: grid; justify-items: center; gap: 22px; }
.hero h1 { color: #fff; font-size: clamp(38px, 6vw, 72px); max-width: 16ch; font-weight: 500; }
.hero p { max-width: 52ch; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.92); font-weight: 300; }
.hero .row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 10px; }
.page-hero { position: relative; color: #fff; text-align: center; background: var(--maroon) url(../img/bg-footer.png) center / cover; }
.page-hero .in { padding-block: 176px 92px; display: grid; gap: 14px; justify-items: center; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 60px); font-weight: 500; max-width: 24ch; }
.page-hero p { color: rgba(255,255,255,.92); max-width: 70ch; font-weight: 300; font-size: clamp(15px, 1.5vw, 18px); }

/* 01 About */
.about { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about .copy { display: grid; gap: 16px; justify-items: start; }
.about .copy p { max-width: 50ch; font-weight: 300; }
.about .copy .lead { font-weight: 500; color: var(--muted); }
.about .photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); position: relative; }
.about .photo.dim::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,12,12,.12), rgba(20,12,12,.32)); }
.about .photo img { width: 100%; height: 100%; object-fit: cover; }

/* 02 Solutions + fact strip */
.sol { background: linear-gradient(180deg, #fff 0%, #fbf6f5 35%, #f1e4e2 100%); border-radius: 0 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.tab { position: relative; border: 0; padding: 0; text-align: left; cursor: pointer; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1.38 / 1; background: #333; isolation: isolate; box-shadow: 0 10px 26px rgba(43,27,27,.16); transition: transform .25s, box-shadow .25s; }
.tab:hover { transform: translateY(-3px); }
.tab img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tab::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,12,12,.15), rgba(20,12,12,.78)); transition: background .25s; }
.tab span { position: absolute; left: 20px; right: 16px; bottom: 16px; display: grid; gap: 8px; color: #fff; font-weight: 400; font-size: 17px; line-height: 1.25; }
.tab span .ico { width: 24px; height: 24px; }
.tab[aria-selected="true"] { box-shadow: 0 0 0 3px var(--amber), 0 16px 34px rgba(233,162,43,.35); }
.tab[aria-selected="true"]::before { background: linear-gradient(180deg, rgba(240,170,50,.6), rgba(205,128,10,.92)); }
.sol-panel { margin-top: 26px; background: rgba(255,255,255,.8); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; box-shadow: 0 8px 30px rgba(43,27,27,.06); }
.sol-panel h3 { font-size: clamp(22px, 2.8vw, 32px); font-weight: 600; }
.sol-panel p { color: var(--ink); max-width: 56ch; font-weight: 300; }
.facts { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: #fff; background: var(--maroon); margin-top: clamp(56px, 8vw, 96px); min-height: 500px; }
.facts > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.facts::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(124,0,1,.6), rgba(124,0,1,.97)); }
.facts ul { list-style: none; margin: 0; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); min-height: 500px; align-items: end; }
.facts li { position: relative; padding: 0 clamp(14px, 2.4vw, 32px) 0; border-left: 1px solid rgba(255,255,255,.55); }
.facts li::before { content: ""; position: absolute; left: -6px; top: 0; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid #fff; background: var(--maroon); box-shadow: inset 0 0 0 2px var(--maroon), inset 0 0 0 5px #fff; }
.facts li:nth-child(1) { padding-top: 150px; }
.facts li:nth-child(2) { padding-top: 70px; }
.facts li:nth-child(3) { padding-top: 0; }
.facts b { display: block; font-size: clamp(40px, 6vw, 70px); font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
.facts span { display: block; margin-top: 10px; font-size: 14px; font-weight: 300; color: rgba(255,255,255,.9); max-width: 24ch; }
.facts-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

/* 03 Simulator behind a dark banner */
.sim-banner { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: #fff; min-height: 260px; display: flex; align-items: flex-end; background: #101010; }
.sim-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sim-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,6,6,.88), rgba(8,6,6,.55)); }
.sim-banner-in { width: 100%; padding: clamp(24px, 4vw, 44px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sim-banner .eyebrow { color: rgba(255,255,255,.85); }
.sim-banner h2 { color: #fff; font-size: clamp(26px, 3.6vw, 42px); max-width: 16ch; font-weight: 500; }
#sim-wrap { margin-top: 26px; display: grid; gap: 16px; }
.sim-instr { color: var(--ink); max-width: 66ch; font-weight: 300; }
.sim-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 34px); display: grid; gap: 22px; border: 1px solid var(--line); }
.sim-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chipbtn { border: 1.5px solid var(--line); background: #fff; color: var(--maroon-deep); border-radius: 999px; padding: 9px 18px; min-height: 44px; font-weight: 500; font-size: 14px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chipbtn:hover { background: var(--mist); }
.chipbtn[aria-pressed="true"], .chipbtn.on { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.chipbtn.alert[aria-pressed="true"] { background: #B3261E; border-color: #B3261E; }
.sim-controls .sep { width: 1px; height: 28px; background: var(--line); margin-inline: 4px; }
.sim-clock { margin-left: auto; font-weight: 600; font-size: 22px; color: var(--maroon); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.sim-range { width: 100%; accent-color: var(--maroon); height: 36px; }
.sim-diagram svg, .sim-chart svg { width: 100%; height: auto; display: block; }
.sim-caption { min-height: 3.2em; font-size: clamp(17px, 1.8vw, 21px); font-weight: 500; color: var(--ink); }
.sim-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--text); }
.sim-legend i { display: inline-block; width: 22px; height: 4px; border-radius: 2px; vertical-align: middle; margin-right: 8px; }
.sim-note { font-size: 13px; color: var(--muted); max-width: 60ch; }
.sim-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.flow { stroke-dasharray: 7 9; animation: dash 1s linear infinite; }
.flow.rev { animation-direction: reverse; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.node-box { fill: #fff; stroke: rgba(124,0,1,.22); stroke-width: 1.5; }
.node-box.hub { fill: var(--maroon); stroke: var(--maroon); }
.node-t { font: 600 13px var(--font); fill: var(--maroon-deep); }
.node-v { font: 500 12px var(--font); fill: var(--muted); }
.node-t.hub, .node-v.hub { fill: #fff; }

/* Start a conversation (contact form) */
.contact { background: linear-gradient(180deg, #f1f1f1, #fff 75%); border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; }
.contact-in { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-copy { display: grid; gap: 16px; }
.contact-copy p { max-width: 30ch; font-weight: 300; }
.details { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 14px; }
.details li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; font-size: 14.5px; color: var(--ink); }
.ico-b { width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--maroon); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(43,27,27,.08); }
.ico-b .ico { width: 20px; height: 20px; }
.details a { text-decoration: none; }
.details a:hover { text-decoration: underline; }
.form-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(22px, 3.5vw, 36px); }
.grey-card { background: #e9e6e3; box-shadow: none; margin-top: 28px; }
.grey-card .lf-input { background: #fff; }

/* 04 EV */
.ev-copy { display: grid; gap: 14px; margin-bottom: 36px; }
.ev-copy p { max-width: 82ch; font-weight: 300; }
.callout { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: #fff; min-height: 400px; display: flex; align-items: center; background: #151010; }
.callout > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.callout::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,9,9,.9) 0%, rgba(14,9,9,.62) 55%, rgba(14,9,9,.4) 100%); }
.callout-in { padding: clamp(28px, 5vw, 56px); display: grid; gap: 24px; justify-items: start; max-width: 56%; }
.callout h3 { color: #fff; font-size: clamp(28px, 4vw, 46px); max-width: 12ch; font-weight: 500; }
.callout-card { position: absolute; right: 32px; top: 32px; bottom: 32px; width: 36%; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.callout-card img { width: 100%; height: 100%; object-fit: cover; }

/* 05 Clients */
.clients-head { margin-bottom: 36px; }
.marquee { overflow: hidden; }
.track { display: flex; gap: 18px; width: max-content; animation: slide 50s linear infinite; padding-block: 6px; }
.marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-50% - 9px)); } }
.logo-tile { flex: 0 0 auto; width: 224px; height: 132px; border-radius: var(--r-md); background: var(--amber); display: grid; place-items: center; padding: 14px 20px; }
.logo-tile.dark { background: var(--maroon); }
.logo-tile img { width: 100%; height: 100%; object-fit: contain; }
.logo-tile b { color: #fff; font-size: 18px; font-weight: 600; text-align: center; line-height: 1.2; letter-spacing: -.01em; }
.progress { height: 12px; border-radius: 8px; background: #e9e5e3; margin-top: 32px; overflow: hidden; }
.progress i { display: block; width: 100%; height: 100%; background: var(--amber); border-radius: 8px; transform: scaleX(.3); transform-origin: left; animation: prog 50s linear infinite; }
@keyframes prog { to { transform: scaleX(1); } }

/* 06 Projects */
.projects { background: linear-gradient(180deg, #f1f1f1, #fff 85%); border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; align-items: start; }
.proj { background: #fff; border-radius: var(--r-md); box-shadow: 0 8px 26px rgba(43,27,27,.1); overflow: hidden; }
.proj-hit { display: block; position: relative; aspect-ratio: 1 / 1; isolation: isolate; text-decoration: none; color: #fff; }
.proj-hit > img, .proj .plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.proj-hit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,12,12,0) 40%, rgba(20,12,12,.8)); }
.proj .plate { display: grid; place-items: center; background: linear-gradient(145deg, var(--maroon), var(--maroon-deep)); }
.proj .plate img { width: 46%; height: auto; max-height: 36%; object-fit: contain; }
.proj .name { position: absolute; left: 20px; right: 84px; bottom: 18px; font-weight: 400; font-size: 20px; line-height: 1.2; }
.proj .go { position: absolute; right: 0; bottom: 0; width: 72px; height: 72px; border-top-left-radius: 72px; background: var(--maroon); display: grid; place-items: end end; padding: 14px 16px; color: #fff; }
.proj:nth-child(3n+1) .go { background: var(--amber); }
.proj .go .ico { width: 24px; height: 24px; transition: transform .25s; }
.proj-hit:hover .go .ico { transform: translateX(3px); }
.proj .more { display: none; list-style: none; margin: 0; padding: 18px 24px 22px; gap: 6px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.proj .more li::before { content: "- "; color: var(--muted); }
.proj.open .more, .proj:hover .more, .proj:focus-within .more { display: grid; }

/* Map */
.map { position: relative; background: var(--maroon); color: #fff; isolation: isolate; }
.map::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../img/contours-light.png) center / 1100px auto repeat; opacity: .06; pointer-events: none; }
.map-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.map h2 { color: #fff; }
.map-lead { margin-top: 12px; color: rgba(255,255,255,.9); font-weight: 300; }
.map-in > div > svg { width: 100%; height: auto; display: block; margin-top: 18px; }
.map-note { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.72); }
.pin { cursor: pointer; }
.pin circle.dot { fill: var(--amber); stroke: #fff; stroke-width: 2; }
.pin circle.ring { fill: none; stroke: var(--amber); stroke-width: 1.5; opacity: 0; }
.pin.on circle.ring { opacity: 1; animation: ping 1.6s ease-out infinite; }
.pin.on circle.dot { fill: #fff; stroke: var(--amber); }
@keyframes ping { from { r: 8; opacity: .9; } to { r: 22; opacity: 0; } }
.map-card { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; justify-items: start; }
.map-card h3 { font-size: 18px; font-weight: 600; }
.map-card .kind { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.map-card .desc { font-size: 14px; font-weight: 300; }
.map-list { display: grid; gap: 2px; margin-top: 6px; border-top: 1px dotted var(--line); padding-top: 12px; width: 100%; }
.map-list button { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 4px; border: 0; background: none; text-align: left; cursor: pointer; font-size: 15px; color: var(--maroon-deep); border-radius: 10px; }
.map-list button:hover { background: var(--mist); }
.map-list i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--maroon); flex: 0 0 auto; }
.map-list button[aria-pressed="true"] { font-weight: 600; }
.map-list button[aria-pressed="true"] i { background: var(--amber); border-color: var(--amber); box-shadow: inset 0 0 0 3px #fff; }

/* 07 Industries */
.map-gap { background: var(--maroon); height: 130px; }
.ind-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 52px); margin-top: -90px; position: relative; }
.flips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.flip { perspective: 900px; border: 0; padding: 0; background: none; text-align: left; cursor: pointer; min-height: 130px; }
.flip-in { position: relative; display: block; width: 100%; height: 100%; min-height: 130px; transition: transform .55s; transform-style: preserve-3d; }
.flip:hover .flip-in, .flip.on .flip-in, .flip:focus-visible .flip-in { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; display: grid; align-content: center; gap: 8px; padding: 22px; border-radius: var(--r-md); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face.front { background: #fff; border: 1.5px solid var(--line); color: var(--maroon-deep); font-weight: 400; font-size: 19px; }
.face.back { background: var(--amber); color: var(--maroon-deep); transform: rotateY(180deg); }
.face.back b { font-size: 17px; font-weight: 600; }
.face.back span { font-size: 14.5px; line-height: 1.5; }

/* 08 Method */
.method-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.arrows { display: flex; gap: 10px; }
.arrow { width: 52px; height: 52px; border-radius: 14px; border: 0; background: var(--maroon); color: #fff; display: grid; place-items: center; cursor: pointer; }
.arrow:hover { background: var(--maroon-deep); }
.arrow .ico { width: 20px; height: 20px; }
.steps { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 32px 4px 18px; margin-inline: -4px; scrollbar-width: none; }
.steps::-webkit-scrollbar { display: none; }
.step { flex: 0 0 min(330px, 82vw); min-height: 320px; scroll-snap-align: start; border-radius: var(--r-lg); border: 1.5px solid var(--line); background: #fff; padding: 26px; display: grid; align-content: end; gap: 14px; text-align: left; cursor: pointer; transition: background .3s, border-color .3s; }
.step .n { display: none; font-size: 56px; font-weight: 600; color: #fff; letter-spacing: -.03em; line-height: 1; }
.step .s-ico { display: grid; gap: 10px; color: var(--maroon); }
.step .s-ico .ico { width: 34px; height: 34px; }
.step .s-ico h3 { font-size: 22px; font-weight: 500; }
.step .body { display: none; gap: 12px; color: #fff; }
.step .body h3 { color: #fff; font-size: 22px; font-weight: 600; }
.step .body p { font-weight: 300; }
.step .recv { border-top: 1px solid rgba(255,255,255,.55); padding-top: 12px; font-size: 14px; font-weight: 300; }
.step .recv b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.step.on { background: var(--amber); border-color: var(--amber); align-content: space-between; }
.step.on .n { display: block; }
.step.on .s-ico { display: none; }
.step.on .body { display: grid; }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 6px; }
.dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 0; background: var(--amber-soft); cursor: pointer; position: relative; }
.dots button::after { content: ""; position: absolute; inset: -16px -6px; }
.dots button[aria-current="true"] { background: var(--amber); transform: scale(1.3); }

/* 09 O&M */
.om-lead { margin-top: 14px; max-width: 70ch; font-weight: 300; }
.om-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 38px 0 34px; }
.om-card { background: var(--amber); color: #fff; border-radius: var(--r-lg); padding: 30px 28px 34px; display: grid; gap: 10px; align-content: start; min-height: 280px; }
.om-card b { font-size: 60px; font-weight: 600; letter-spacing: -.03em; line-height: 1; margin-bottom: 18px; }
.om-card h3 { color: #fff; font-size: 22px; font-weight: 600; }
.om-card p { font-weight: 300; font-size: 15px; }

/* Closing banner */
.closing { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; min-height: 360px; display: flex; align-items: center; background: #101010; color: #fff; }
.closing > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,6,6,.92) 0%, rgba(8,6,6,.55) 60%, rgba(8,6,6,.25) 100%); }
.closing-in { padding: clamp(28px, 5vw, 64px); display: grid; gap: 26px; justify-items: start; }
.closing h2 { color: #fff; font-size: clamp(30px, 4.4vw, 52px); max-width: 14ch; font-weight: 500; }

/* Form layer (markup and behaviour from the forms script; this is only its look) */
.lf-form, .lf-done { font-family: var(--font); color: var(--ink); text-align: left; }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.lf-full { grid-column: 1 / -1; }
.lf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lf-label { font-size: 13px; font-weight: 500; color: var(--maroon-deep); }
.lf-req { color: #B3261E; }
.lf-opt { color: var(--muted); font-weight: 400; font-size: 12px; }
.lf-input { width: 100%; background: #f1f1f1; border: 1.5px solid transparent; color: var(--ink); font: 400 16px/1.4 var(--font); padding: 14px 16px; border-radius: 12px; margin: 0; min-height: 50px; }
.lf-input::placeholder { color: #8f8282; }
textarea.lf-input { resize: vertical; min-height: 118px; }
.lf-input:focus { outline: none; border-color: var(--maroon); background: #fff; }
.lf-field.lf-bad .lf-input { border-color: #B3261E; }
.lf-err { font-size: 13px; color: #B3261E; }
.lf-err:empty { display: none; }
.lf-hp { position: absolute !important; left: -9999px !important; top: auto !important; width: 1px; height: 1px; overflow: hidden; }
.lf-consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 13.5px; line-height: 1.5; color: var(--text); cursor: pointer; }
.lf-consent input { margin-top: 3px; width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--maroon); }
.lf-status { margin-top: 14px; font-size: 14px; }
.lf-status:empty { display: none; }
.lf-status.lf-error { color: #7a1510; background: #fde8e4; border: 1px solid #e6a79c; border-radius: 10px; padding: 12px 14px; }
.lf-btn { margin-top: 18px; display: inline-flex; align-items: center; min-height: 52px; padding: 0 30px; border: 0; border-radius: var(--r-sm); background: var(--maroon); color: #fff; font: 500 15px var(--font); cursor: pointer; }
.lf-btn:hover { background: var(--maroon-deep); }
.lf-btn[disabled] { opacity: .6; cursor: progress; }
.lf-done { display: none; padding: 8px 0; }
.lf-done.lf-show { display: block; }
.lf-form.lf-gone { display: none; }
.lf-done-bar { width: 46px; height: 4px; border-radius: 2px; background: var(--amber); margin-bottom: 20px; }
.lf-done-title { font-size: 28px; font-weight: 600; color: var(--maroon); letter-spacing: -.02em; margin-bottom: 10px; }
.lf-done-text { font-size: 17px; color: var(--text); }
.lf-modal { position: fixed; inset: 0; z-index: 100000; display: none; align-items: flex-start; justify-content: center; background: rgba(43, 10, 10, .72); overflow-y: auto; padding: 5vh 16px; }
.lf-modal.lf-open { display: flex; }
.lf-panel { position: relative; width: 100%; max-width: 700px; background: #fff; border-radius: var(--r-lg); padding: 40px 40px 34px; margin: auto 0; }
.lf-panel h2 { font-size: 30px; margin-bottom: 6px; font-weight: 600; }
.lf-panel .lf-lede { color: var(--text); margin: 0 0 24px; }
.lf-close { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--muted); font-size: 32px; line-height: 1; cursor: pointer; width: 48px; height: 48px; }
.lf-close:hover { color: var(--maroon); }

/* Footer */
.footer { position: relative; background: var(--maroon) url(../img/bg-footer.png) center / cover; color: #fff; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 40px; padding-block: 72px 36px; }
.foot-grid > div:first-child img { height: 96px; width: auto; margin-bottom: 6px; }
.foot-grid h4 { color: #fff; font-size: 26px; margin-bottom: 18px; font-weight: 500; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-grid a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 300; display: inline-flex; align-items: center; min-height: 36px; }
.foot-grid a:hover { text-decoration: underline; }
.foot-grid address { font-style: normal; font-size: 15px; font-weight: 300; display: grid; gap: 2px; }
.social { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.foot-grid .social a { width: 44px; height: 44px; justify-content: center; border-radius: 12px; background: rgba(255,255,255,.12); }
.foot-grid .social a:hover { background: rgba(255,255,255,.24); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.ask { display: flex; align-items: center; gap: 12px; width: min(340px, 100%); border: 1.5px solid rgba(255,255,255,.7); border-radius: 12px; padding: 0 16px; min-height: 52px; margin-bottom: 36px; }
.ask .ico { width: 20px; height: 20px; }
.ask input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; font: 300 15px var(--font); padding: 12px 0; }
.ask input::placeholder { color: rgba(255,255,255,.85); }
.ask input:focus { outline: none; }
.ask:focus-within { border-color: #fff; }
.legal { border-top: 1px solid rgba(255,255,255,.22); padding-block: 22px 28px; font-size: 14px; font-weight: 300; }

/* About */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 34px; }
.cols3 p { font-weight: 300; font-size: 15px; }
.fig-wrap { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.fig-photo { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 3.4; }
.fig-photo img { width: 100%; height: 100%; object-fit: cover; }
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 36px; }
.fig b { display: block; font-size: clamp(30px, 4vw, 52px); color: var(--maroon); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; text-transform: uppercase; }
.fig span { display: block; margin-top: 10px; font-size: 16px; font-weight: 300; max-width: 22ch; }
.cap-section { background: linear-gradient(180deg, var(--maroon) 0 58%, #fff 58%); padding-bottom: 80px; }
.cap-section .eyebrow { color: rgba(255,255,255,.75); }
.cap-section .h2 { color: #fff; }
.cap-card { margin-top: 36px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 28px); display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.cap-list { display: grid; align-content: start; gap: 0; }
.cap-tab { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font-size: 17px; font-weight: 500; color: var(--maroon); cursor: pointer; border-radius: 12px; }
.cap-tab .ico { display: none; }
.cap-tab[aria-selected="true"] { background: var(--amber); color: #fff; border-bottom-color: transparent; }
.cap-tab[aria-selected="true"] .ico { display: block; }
.cap-text { padding: 16px 16px 18px 44px; font-weight: 300; color: var(--text); border-bottom: 1px solid var(--line); }
.cap-img { border-radius: var(--r-md); overflow: hidden; min-height: 320px; }
.cap-img img { width: 100%; height: 100%; object-fit: cover; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.prose { display: grid; gap: 18px; justify-items: start; }
.prose p { max-width: 52ch; font-weight: 300; }
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; margin-top: 34px; }
.cred { border-bottom: 1px solid var(--line); padding: 24px 0; display: grid; gap: 10px; align-content: start; }
.cred h3 { font-size: 22px; font-weight: 400; }
.cred p { font-size: 15px; font-weight: 300; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; margin-top: 40px; }
.person { display: grid; gap: 6px; align-content: start; }
.sil { aspect-ratio: 1.5 / 1; border-radius: var(--r-md); background: linear-gradient(180deg, #ececec, #fafafa); display: grid; place-items: center; color: var(--maroon); margin-bottom: 14px; }
.sil svg { width: 52%; height: auto; }
.sil { overflow: hidden; aspect-ratio: 4 / 3; }
.sil img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.person h3 { font-size: 19px; font-weight: 600; }
.person .role { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.person p { font-size: 15px; font-weight: 300; margin-top: 4px; }
.cta-band { background: var(--maroon) url(../img/bg-footer.png) center / cover; color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 6vw, 72px); display: grid; gap: 26px; justify-items: start; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 4.2vw, 48px); max-width: 18ch; font-weight: 500; }
.cta-band .btn { background: #fff; color: var(--maroon); }
.cta-band .btn .chip { background: var(--maroon); color: #fff; }

/* Contact page */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.info { background: #fff; border-radius: var(--r-md); box-shadow: 0 10px 30px rgba(43,27,27,.1); padding: 28px 26px; display: grid; gap: 10px; align-content: start; border: 1px solid #eee; }
.info h3 { font-size: 20px; font-weight: 600; }
.info p { font-size: 15px; font-weight: 300; }
.info a { text-decoration: none; }
.info a:hover { text-decoration: underline; }
.map-embed { margin-top: 20px; background: #0b0b0b; }
.map-embed iframe { width: 100%; height: 440px; border: 0; display: block; }
.map-fallback { min-height: 340px; display: grid; place-content: center; justify-items: center; gap: 22px; text-align: center; color: #fff; padding: 40px var(--gutter); }
.map-fallback p { font-size: clamp(18px, 2.4vw, 26px); font-weight: 500; letter-spacing: .02em; }

/* FAQ */
.faq-search { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--maroon); border-radius: 12px; padding: 0 16px; min-height: 54px; color: var(--maroon); background: #fff; }
.faq-search input { flex: 1; min-width: 0; border: 0; background: none; font: 400 15px var(--font); color: var(--ink); padding: 14px 0; }
.faq-search input:focus { outline: none; }
.faq-search:focus-within { box-shadow: 0 0 0 3px rgba(233,162,43,.5); }
.faq-card { margin-top: 28px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 30px); }
.faq details { border-bottom: 1px solid var(--line); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px 18px; font-weight: 600; color: var(--maroon); font-size: 16px; border-radius: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { display: block; }
.faq details[open] { border-bottom-color: transparent; }
.faq details[open] summary { background: var(--amber); color: #fff; }
.faq details p { padding: 14px 18px 22px 18px; max-width: 80ch; font-weight: 300; color: var(--text); }
.faq-none { padding: 24px 18px; color: var(--muted); }
.faq-more { margin-top: 26px; }
.faq-end { margin-top: 56px; display: grid; gap: 22px; justify-items: start; }

/* Projects and a single project */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chipf { min-height: 46px; padding: 8px 20px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--text); font-size: 15px; cursor: pointer; }
.chipf:hover { background: var(--mist); }
.chipf[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: #fff; font-weight: 500; }
.load-more { margin-top: 36px; }
.p-hero { position: relative; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; isolation: isolate; min-height: 420px; display: flex; align-items: flex-end; color: #fff; background: var(--maroon-deep); }
.p-hero > img, .p-hero > .plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.p-hero > .plate { display: grid; place-items: center; background: linear-gradient(145deg, var(--maroon), var(--maroon-deep)); }
.p-hero > .plate img { width: 28%; height: auto; }
.p-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,12,12,.1) 30%, rgba(20,12,12,.78)); }
.p-hero-in { padding: clamp(22px, 4vw, 40px); display: grid; gap: 12px; }
.p-hero .eyebrow { color: rgba(255,255,255,.85); margin: 0; }
.p-hero h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { background: var(--amber); color: #fff; font-size: 13px; font-weight: 500; padding: 5px 14px; border-radius: 8px; }
.p-facts { display: flex; flex-wrap: wrap; gap: 28px 64px; padding: 34px clamp(22px, 4vw, 40px); background: #fff; border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--shadow); }
.p-facts b { display: block; font-size: clamp(28px, 3.6vw, 44px); color: var(--maroon); font-weight: 600; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.05; }
.p-facts span { display: block; margin-top: 8px; font-weight: 300; }
.p-desc { margin-top: 44px; max-width: 78ch; font-weight: 300; font-size: 17px; color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.g-item { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1 / 1; background: var(--mist); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.05); }
.p-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 48px; }

/* Responsive */
@media (max-width: 1020px) {
  .pill nav { display: none; }
  .pill { padding: 5px; background: transparent; box-shadow: none; }
  .pill .btn { display: none; }
  .burger { display: grid; }
  .hdr-in { padding-block: 10px; }
  .logo img { height: 64px; }
  .hdr.scrolled .logo img { transform: scale(.82); }
  .sticky-cta { display: block; }
  .about, .two, .contact-in, .map-in, .sol-panel, .fig-wrap, .cap-card { grid-template-columns: 1fr; }
  .flips { grid-template-columns: repeat(2, 1fr); }
  .tabs, .proj-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .om-cards, .creds, .team, .cols3, .info-cards { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .ind-card { margin-top: -60px; }
  .callout-card { display: none; }
  .callout-in { max-width: 100%; }
  .cap-section { background: linear-gradient(180deg, var(--maroon) 0 36%, #fff 36%); }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; padding-bottom: 80px; }
  .hero { min-height: 580px; }
  .hero-in { padding-block: 130px 80px; }
  .page-hero .in { padding-block: 130px 60px; }
  .facts ul { grid-template-columns: 1fr; min-height: 0; gap: 26px; padding-block: 36px; }
  .facts li, .facts li:nth-child(n) { padding-top: 0; padding-bottom: 6px; }
  .facts { min-height: 0; }
  .tabs, .proj-grid, .gallery, .om-cards, .creds, .team, .cols3, .info-cards, .figs, .flips { grid-template-columns: 1fr; }
  .tab { aspect-ratio: 2.1 / 1; }
  .foot-grid { grid-template-columns: 1fr; padding-block: 52px 24px; }
  .lf-grid { grid-template-columns: 1fr; }
  .lf-modal { padding: 0; align-items: stretch; }
  .lf-panel { max-width: none; min-height: 100%; border-radius: 0; padding: 60px 20px calc(28px + env(safe-area-inset-bottom)); }
  .lf-btn { width: 100%; }
  .sim-clock { margin-left: 0; width: 100%; }
  .sim-controls .sep { display: none; }
  .method-head { flex-direction: column; align-items: start; }
  .logo-tile { width: 176px; height: 108px; padding: 12px 14px; }
  .flip, .flip-in { min-height: 120px; }
  .p-hero { min-height: 340px; }
  .p-facts { gap: 22px 36px; }
  .cap-img { min-height: 220px; }
  .map-embed iframe { height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track, .flow, .pin.on circle.ring, .progress i { animation: none; }
  .marquee { overflow-x: auto; }
  .flip-in, .tab, .g-item img { transition: none; }
}
