/* Layout: left-aligned engineering document. A P6-style look-ahead opens the page,
   services are laid out as a work breakdown structure, track record as schedule tables. */
:root {
  --bg: #f3f5f2;
  --surface: #ffffff;
  --ink: #17201b;
  --muted: #55625a;
  --line: #d5dcd5;
  --accent: #2e7d32;
  --accent-ink: #ffffff;
  --tint: #e5ede4;
  --crit: #b23a2a;
  --bar: #8fa096;
  --float: #b9c4bd;
  --logo-bg: transparent;
  --logo-pad: 0;

  --f-display: "Urbanist", "Sofia Pro", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Urbanist", "Sofia Pro", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Urbanist", "Sofia Pro", "Helvetica Neue", Arial, sans-serif;

  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101511; --surface: #172019; --ink: #e3e9e3; --muted: #9aa79f; --line: #2a352d;
    --accent: #6cc070; --accent-ink: #0d1a0f; --logo-bg: #f3f5f2; --logo-pad: 4px 8px; --tint: #1b291d; --crit: #e5725e; --bar: #5a6a5f; --float: #3a463d;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101511; --surface: #172019; --ink: #e3e9e3; --muted: #9aa79f; --line: #2a352d;
  --accent: #6cc070; --accent-ink: #0d1a0f; --logo-bg: #f3f5f2; --logo-pad: 4px 8px; --tint: #1b291d; --crit: #e5725e; --bar: #5a6a5f; --float: #3a463d;
  color-scheme: dark;
}

* { box-sizing: border-box; }
img { max-width: 100%; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.05; letter-spacing: 0.005em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.wrap { max-width: 74rem; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.label { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.1rem; }
.brand { display: inline-flex; flex-direction: column; width: 150px; box-sizing: content-box; text-decoration: none; background: var(--logo-bg); padding: var(--logo-pad); border-radius: 4px; }
.brand-logo { display: block; width: 100%; height: auto; }
.brand-tag { display: block; width: 100%; height: auto; overflow: visible; }
@media (max-width: 640px) { .brand { width: 118px; } }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; font-size: 0.92rem; }
.nav a { color: var(--ink); text-decoration: none; padding-block: 0.25rem; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--accent); }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: center; padding-block: 3.5rem 3rem; }
.hero-copy { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.1rem); font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 34rem; }
.lede strong { color: var(--ink); font-weight: 600; }
.ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.4rem; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font: 600 0.95rem/1 var(--f-body); padding: 0.85rem 1.2rem; border-radius: 3px; text-decoration: none; border: 1px solid var(--accent); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }

/* Gantt */
.gantt { --name: 13.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; min-width: 0; font-size: 0.78rem; }
.g-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); }
.g-title { font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; }
.g-grid { position: relative; }
.g-row { display: grid; grid-template-columns: var(--name) minmax(0, 1fr); align-items: center; min-height: 1.95rem; border-bottom: 1px solid var(--line); }
.g-row:last-child { border-bottom: 0; }
.g-name { padding: 0 0.6rem 0 1rem; display: flex; gap: 0.6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.g-name .id { font-family: var(--f-mono); color: var(--muted); flex: none; }
.g-name .nm { overflow: hidden; text-overflow: ellipsis; }
.g-track { position: relative; height: 1.95rem; border-left: 1px solid var(--line);
  background-image: repeating-linear-gradient(to right, transparent 0, transparent calc(10% - 1px), var(--line) calc(10% - 1px), var(--line) 10%); }
.g-months .g-track { background: none; display: grid; grid-template-columns: repeat(10, 1fr); }
.g-months .g-track span { font-family: var(--f-mono); color: var(--muted); text-align: center; font-size: 0.7rem; align-self: center; }
.g-months .g-name { color: var(--muted); font-family: var(--f-mono); font-size: 0.7rem; }
.bar { position: absolute; top: 50%; height: 0.62rem; transform: translateY(-50%); border-radius: 1px; left: calc(var(--s) * 10%); width: calc(var(--d) * 10%); background: var(--bar); }
.bar.crit { background: var(--crit); }
.bar .fl { position: absolute; left: 100%; top: 50%; height: 2px; transform: translateY(-50%); width: calc(var(--fl) / var(--d) * 100%); background: var(--float); }
.ms { position: absolute; top: 50%; width: 0.7rem; height: 0.7rem; left: calc(var(--s) * 10%); transform: translate(-50%, -50%) rotate(45deg); background: var(--ink); }
.ms.crit { background: var(--crit); }
.dd { position: absolute; top: 1.95rem; bottom: 0; left: calc(var(--name) + (100% - var(--name)) * 0.45); border-left: 2px dashed var(--accent); pointer-events: none; }
.status { margin-left: 0.35rem; }
.dd span { position: absolute; bottom: 0.3rem; left: 0.3rem; font-family: var(--f-mono); font-size: 0.65rem; color: var(--accent); background: var(--surface); padding: 0 0.2rem; white-space: nowrap; }
.g-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; padding: 0.7rem 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; }
.g-legend i { display: inline-block; vertical-align: middle; margin-right: 0.4rem; }
.lg-crit { width: 1.2rem; height: 0.5rem; background: var(--crit); }
.lg-bar { width: 1.2rem; height: 0.5rem; background: var(--bar); }
.lg-fl { width: 1.2rem; height: 2px; background: var(--float); }
.lg-ms { width: 0.55rem; height: 0.55rem; background: var(--crit); transform: rotate(45deg); }
.bar.done, .lg-done { background: repeating-linear-gradient(135deg, var(--bar) 0 3px, var(--float) 3px 6px); }
.lg-done { width: 1.2rem; height: 0.5rem; }
.lg-dd { width: 0; height: 0.8rem; border-left: 2px dashed var(--accent); }

/* Proof figures */
.figures { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.figures .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 0; }
.fig { padding: 1.6rem 1.25rem 1.5rem; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.fig:first-child { border-left: 0; padding-left: 0; }
.fig b { font-family: var(--f-display); font-weight: 700; font-size: 2.3rem; line-height: 1; font-variant-numeric: tabular-nums; }
.fig b small { font-size: 0.55em; font-weight: 600; color: var(--muted); margin-left: 0.15rem; }
.fig span { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }

/* Sections */
section.block .wrap { padding-block: 4.5rem 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2.25rem; }
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.sec-head p { color: var(--muted); max-width: 40rem; }

/* WBS */
.wbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pkg { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 1.25rem 1.3rem 1.35rem; display: flex; flex-direction: column; gap: 0.85rem; min-width: 0; }
.pkg-h { display: flex; align-items: baseline; gap: 0.75rem; }
.pkg-h .code { font-family: var(--f-mono); font-size: 0.8rem; color: var(--accent); font-weight: 500; }
.pkg-h h3 { font-size: 1.45rem; }
.pkg ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.pkg li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 0.25rem; font-size: 0.93rem; line-height: 1.45; }
.pkg li .code { font-family: var(--f-mono); font-size: 0.75rem; color: var(--muted); padding-top: 0.12rem; font-variant-numeric: tabular-nums; }
.tools { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.tools .label { margin-right: 0.5rem; }
.chip { font-size: 0.82rem; padding: 0.3rem 0.65rem; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); white-space: nowrap; }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.sector { padding: 1.2rem 1.25rem 1.3rem 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.sector:not(:nth-child(3n+1)) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.sector h3 { font-size: 1.2rem; }
.sector p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

/* Tables */
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 46rem; font-size: 0.9rem; }
th, td { text-align: left; vertical-align: top; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { font-family: var(--f-mono); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--tint); }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; font-family: var(--f-mono); font-size: 0.84rem; }
td .sub { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 0.15rem; }
.status { display: inline-block; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.04em; padding: 0.15rem 0.45rem; border-radius: 2px; border: 1px solid var(--line); white-space: nowrap; }
.status.ok { color: var(--accent); border-color: var(--accent); }
.subhead { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin: 2.75rem 0 1rem; }
.subhead h3 { font-size: 1.5rem; }
.note { color: var(--muted); font-size: 0.85rem; }

/* Approach */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.step { padding: 1.2rem 1.25rem 0 0; display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; position: relative; }
.step:not(:first-child) { padding-left: 1.25rem; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--f-mono); font-size: 0.8rem; color: var(--accent); }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3rem; }
.about-copy { display: flex; flex-direction: column; gap: 1rem; max-width: 40rem; }
.about-copy h3 { font-size: 1.6rem; }
.about-copy .role { font-family: var(--f-mono); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; margin-top: -0.6rem; }
.creds { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.creds dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
.creds dl div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding: 0.65rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.creds dt { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 0.15rem; }
.creds dd { margin: 0; }

/* Contact */
.contact { margin-top: 4.5rem; background: var(--tint); border-top: 1px solid var(--line); }
.contact .wrap { padding-block: 3.5rem; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2rem 3rem; align-items: start; }
.contact h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
.contact .wrap > div:first-child { display: flex; flex-direction: column; gap: 1rem; }
.contact .wrap > div:first-child p { color: var(--muted); max-width: 34rem; }
.lines { display: flex; flex-direction: column; gap: 0.75rem; }
.line { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 0.85rem 1rem; min-width: 0; }
.line div { min-width: 0; }
.line .v { font-family: var(--f-mono); font-size: 0.98rem; user-select: all; overflow-wrap: anywhere; }
.copy { flex: none; font: 500 0.8rem/1 var(--f-body); color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 3px; padding: 0.5rem 0.7rem; cursor: pointer; }
.copy:hover { border-color: var(--accent); color: var(--accent); }
.contact-copy .lines { margin-top: 0.5rem; }
.enquiry-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 6px; padding: 1.6rem 1.6rem 1.7rem; box-shadow: 0 18px 40px rgba(16, 32, 22, 0.08); display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.enquiry-card h3 { font-size: 1.5rem; font-weight: 800; }
.f-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.6rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1rem; }
.form-grid .full, .form-grid .field.full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.f-label { font-size: 0.88rem; font-weight: 700; }
.f-label .req { color: var(--crit); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { font: 500 0.98rem var(--f-body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 0.7rem 0.8rem; width: 100%; }
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.18); }
.field [aria-invalid="true"] { border-color: var(--crit); }
.f-choices { display: flex; flex-direction: column; gap: 0.35rem; }
.f-choice { display: flex; align-items: center; gap: 0.45rem; font-size: 0.95rem; }
.f-help, .f-note { color: var(--muted); font-size: 0.82rem; font-style: italic; }
.f-error, .f-form-error { color: var(--crit); font-size: 0.82rem; font-weight: 600; min-height: 0; }
.f-error:empty, .f-form-error:empty { display: none; }
.f-step { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.f-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.3rem; }
.f-actions .btn { cursor: pointer; }
.f-actions .btn[disabled] { opacity: 0.6; cursor: progress; }
.f-skeleton { color: var(--muted); font-size: 0.92rem; padding: 2.5rem 0; text-align: center; border: 1px dashed var(--line); border-radius: 4px; }
.f-done { display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-start; padding: 1rem 0; }
.f-done h3 { font-size: 1.3rem; font-weight: 800; color: var(--accent); }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } .enquiry-card { padding: 1.2rem; } }

/* Top bar + sticky header */
html { scroll-padding-top: 108px; }
.topbar { background: var(--accent); color: var(--accent-ink); font-size: 0.84rem; font-weight: 600; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 0.3rem 1.5rem; flex-wrap: wrap; padding-block: 0.45rem; }
.topbar a { color: var(--accent-ink); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .tb-links { display: flex; gap: 0.3rem 1.4rem; flex-wrap: wrap; }
.top { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px rgba(16, 32, 22, 0.06); }
.top .wrap { flex-wrap: nowrap; padding-block: 0.7rem; }
.nav { align-items: center; gap: 0.25rem 1.6rem; font-size: 0.98rem; font-weight: 600; }
.nav .nav-cta { margin-left: 0.4rem; padding: 0.75rem 1.15rem; border: 0; border-radius: 3px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.nav .nav-cta:hover { filter: brightness(1.08); border-bottom: 0; }
.menu-btn { display: none; font: 700 0.95rem var(--f-body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 3px; padding: 0.6rem 0.95rem; cursor: pointer; }
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 0.4rem var(--gutter-r) 1.1rem var(--gutter-l); box-shadow: 0 16px 30px rgba(16, 32, 22, 0.1); }
  .nav.open { display: flex; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin: 0.9rem 0 0; justify-content: center; text-align: center; }
  .topbar .tb-tag { display: none; }
}

/* Footer */
.site-footer { background: var(--surface); border-top: 3px solid var(--accent); }
.site-footer .foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: 3rem 2.25rem; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; max-width: 22rem; }
.foot-brand p { color: var(--muted); font-size: 0.95rem; }
.site-footer h4 { margin: 0 0 0.85rem; font-family: var(--f-display); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.95rem; color: var(--muted); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .foot-legal { border-top: 1px solid var(--line); }
.site-footer .foot-legal .wrap { display: flex; justify-content: space-between; gap: 0.5rem 1rem; flex-wrap: wrap; padding-block: 1.1rem; font-size: 0.86rem; color: var(--muted); }
.foot-legal em { font-style: italic; font-weight: 600; color: var(--accent); }
@media (max-width: 880px) { .site-footer .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* Type: Urbanist throughout, bold for structure, italic for emphasis */
body { font-size: 17px; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.hero h1 em { font-style: italic; font-weight: 800; }
.lede strong { font-weight: 800; }
.sec-head h2, .contact h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.025em; }
.label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; }
.g-title { font-size: 1rem; font-weight: 700; }
.fig b { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; }
.fig b small { font-style: italic; font-weight: 600; letter-spacing: 0; }
.pkg-h h3 { font-size: 1.2rem; font-weight: 800; }
.pkg-h .code, .pkg li .code { font-weight: 700; }
.sector h3 { font-size: 1.1rem; font-weight: 800; }
.subhead h3 { font-size: 1.3rem; font-weight: 800; }
.step h3 { font-size: 1.15rem; font-weight: 800; }
.step::before { font-weight: 800; font-style: italic; }
.about-copy h3 { font-size: 1.6rem; font-weight: 800; }
.about-copy .role { font-style: italic; font-weight: 600; font-size: 0.9rem; letter-spacing: 0; }
th { font-weight: 800; }
td.num { font-weight: 600; font-size: 0.9rem; }
td .sub { font-style: italic; }
.status { font-style: italic; font-weight: 700; font-size: 0.74rem; }
.creds dt { font-weight: 800; }
.btn { font-weight: 700; }
.line .v { font-weight: 600; }

/* Responsive */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; padding-block: 2.5rem 2.5rem; }
  .wbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wbs .pkg:last-child { grid-column: 1 / -1; }
  .sec-head, .about, .contact .wrap { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.5rem; }
  .step:nth-child(3) { padding-left: 0; }
  .figures .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fig:nth-child(3) { border-left: 0; padding-left: 0; }
  .fig:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .sector:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .gantt { --name: 9.5rem; }
  .g-name .id { display: none; }
  .wbs, .sectors, .steps { grid-template-columns: minmax(0, 1fr); }
  .wbs .pkg:last-child { grid-column: auto; }
  .sector:nth-child(even) { padding-left: 0; border-left: 0; }
  .step:not(:first-child) { padding-left: 0; }
  .fig { padding: 1.25rem 0.9rem 1.2rem; }
  .fig:nth-child(even) { padding-left: 0.9rem; }
  .fig:nth-child(odd) { padding-left: 0; }
  .fig b { font-size: 1.9rem; }
  .creds dl div { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
  section.block .wrap { padding-block: 3.25rem 0; }
}
/* Visuals: icons, illustrations and charts */
.ico { width: 2.75rem; height: 2.75rem; flex: none; padding: 0.55rem; border-radius: 10px; background: var(--tint); color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fig-ico { width: 1.9rem; height: 1.9rem; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 0.25rem; }
.pkg-h { align-items: center; }
.pkg-h .ico { width: 2.5rem; height: 2.5rem; padding: 0.5rem; }
.sector .ico { margin-bottom: 0.4rem; }
.hero .wrap { row-gap: 1.25rem; padding-bottom: 0; }
.scape { grid-column: 1 / -1; }
.scape svg { display: block; width: 100%; height: clamp(120px, 17vw, 200px); }
.sc-l { fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0.8; }
.sc-b { fill: var(--surface); stroke: var(--muted); stroke-width: 1.4; stroke-linejoin: round; }
.sc-t { fill: var(--tint); }
.sc-a { fill: var(--accent); }
.sc-w { fill: var(--accent); opacity: 0.3; }
.sc-c { fill: #e39b2f; }
.sc-g { fill: none; stroke: var(--ink); stroke-width: 2; }
.sc-p { fill: url(#scp); }
.sc-pl { fill: none; stroke: var(--surface); stroke-width: 1; opacity: 0.65; }
.life { margin: 0 0 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1rem 1.2rem 0.9rem; min-width: 0; }
.life-head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem 1rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.life-grid { display: grid; grid-template-columns: 16.5rem minmax(0, 1fr); row-gap: 0.3rem; align-items: center; }
.life-phases { grid-column: 2; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; margin-bottom: 0.4rem; }
.life-phases span { background: var(--tint); color: var(--ink); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; line-height: 1.15; padding: 0.55rem 0.4rem 0.55rem 1rem; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%); display: flex; align-items: center; justify-content: center; }
.life-phases span:first-child { padding-left: 0.5rem; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); }
.life-n { font-size: 0.86rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 0.8rem; min-width: 0; }
.life-n b { color: var(--accent); font-weight: 800; margin-right: 0.5rem; font-variant-numeric: tabular-nums; }
.life-t { position: relative; height: 1.6rem; border-left: 1px solid var(--line); background-image: repeating-linear-gradient(to right, transparent 0, transparent calc(20% - 1px), var(--line) calc(20% - 1px), var(--line) 20%); }
.life-t i { position: absolute; top: 50%; height: 0.7rem; transform: translateY(-50%); left: calc(var(--s) * 20%); width: calc((var(--e) - var(--s)) * 20%); background: var(--accent); border-radius: 4px; }
.life-cap { margin-top: 0.8rem; color: var(--muted); font-size: 0.8rem; font-style: italic; }
.viz { --s1: #2e7d32; --s2: #2a78d6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .viz { --s1: #43a047; --s2: #3987e5; } }
:root[data-theme="dark"] .viz { --s1: #43a047; --s2: #3987e5; }
.deliv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1.1rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.card-h h4 { margin: 0; font-size: 1.02rem; font-weight: 800; line-height: 1.2; }
.card .cap { color: var(--muted); font-size: 0.84rem; line-height: 1.45; margin-top: auto; }
.kpis { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.kpi { font-size: 0.76rem; font-weight: 800; padding: 0.2rem 0.5rem; border: 1px solid var(--line); border-radius: 3px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.scurve { display: block; width: 100%; height: auto; overflow: visible; }
.scurve text { font-family: var(--f-body); font-size: 9px; font-weight: 600; fill: var(--muted); }
.scurve .tk text { text-anchor: end; }
.scurve .tx text { text-anchor: middle; }
.scurve .gl { fill: none; stroke: var(--line); stroke-width: 1; }
.scurve .ax { fill: none; stroke: var(--muted); stroke-width: 1; opacity: 0.6; }
.scurve .ddl { fill: none; stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 3 3; }
.scurve .ddt { fill: var(--accent); font-weight: 800; font-size: 8.5px; }
.scurve .pv { fill: none; stroke: var(--muted); stroke-width: 2; stroke-dasharray: 5 4; }
.scurve .ev { fill: none; stroke: var(--s1); stroke-width: 2; }
.scurve .ac { fill: none; stroke: var(--s2); stroke-width: 2; }
.scurve .lb { fill: var(--ink); font-weight: 800; font-size: 9.5px; }
.legend { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; font-size: 0.76rem; color: var(--muted); }
.legend i { display: inline-block; vertical-align: middle; margin-right: 0.35rem; width: 1.2rem; height: 0; border-top: 2px solid var(--muted); }
.legend .lg-pv { border-top-style: dashed; }
.legend .lg-ev { border-top-color: var(--s1); }
.legend .lg-ac { border-top-color: var(--s2); }
.legend .lg-act { height: 0.55rem; border: 0; border-radius: 3px; background: var(--s1); }
.legend .lg-tick { width: 2px; height: 0.8rem; border: 0; background: var(--ink); }
.seg { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 3px; }
.seg i { height: 0.55rem; border-radius: 2px; background: var(--accent); }
.seg i.no { background: var(--crit); }
.dcma { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.35rem 0.8rem; font-size: 0.8rem; }
.dcma li { display: flex; align-items: center; gap: 0.4rem; min-width: 0; white-space: nowrap; }
.dcma li::before { content: "\2713"; flex: none; width: 1.05rem; height: 1.05rem; border-radius: 50%; display: inline-grid; place-items: center; font-size: 0.62rem; font-weight: 800; color: #ffffff; background: var(--accent); }
.dcma li.no { font-weight: 700; }
.dcma li.no::before { content: "!"; background: var(--crit); }
.bul { display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.8rem; }
.bul > div { display: grid; grid-template-columns: 9.4rem minmax(0, 1fr) 2.6rem; align-items: center; gap: 0.6rem; }
.bul > div > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bul b { position: relative; height: 0.7rem; background: var(--tint); border-radius: 4px; }
.bul b i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--a) * 1%); background: var(--s1); border-radius: 4px; }
.bul b u { position: absolute; top: -0.25rem; bottom: -0.25rem; left: calc(var(--p) * 1%); width: 2px; margin-left: -1px; background: var(--ink); }
.bul em { font-style: normal; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.tl { margin: 0 0 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; min-width: 0; }
.tl-mini { margin: 0 0 1rem; }
.tl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem 1rem; flex-wrap: wrap; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); }
.tl-grid { --n: 17rem; position: relative; }
.tl-axis, .tl-row { display: grid; grid-template-columns: var(--n) minmax(0, 1fr); }
.tl-axis { height: 1.7rem; border-bottom: 1px solid var(--line); }
.tl-ax { position: relative; margin-right: 1.2rem; }
.tl-ax b { position: absolute; top: 0.35rem; left: calc((var(--x) - var(--y0)) / var(--span) * 100%); transform: translateX(-50%); font-size: 0.7rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.tl-ax b:first-child { transform: none; }
.tl-row { align-items: center; min-height: 2.75rem; }
.tl-row + .tl-row { border-top: 1px solid var(--line); }
.tl-n { padding: 0.45rem 0.8rem 0.45rem 1rem; font-size: 0.84rem; font-weight: 700; line-height: 1.25; min-width: 0; }
.tl-n small { display: block; font-size: 0.76rem; font-weight: 500; font-style: italic; color: var(--muted); }
.tl-t { position: relative; align-self: stretch; margin-right: 1.2rem; border-left: 1px solid var(--line); background-image: repeating-linear-gradient(to right, transparent 0, transparent calc(100% / var(--grid) - 1px), var(--line) calc(100% / var(--grid) - 1px), var(--line) calc(100% / var(--grid))); }
.tl-t i { position: absolute; top: 50%; height: 0.8rem; transform: translateY(-50%); left: calc((var(--s) - var(--y0)) / var(--span) * 100%); width: calc((var(--e) - var(--s)) / var(--span) * 100%); min-width: 6px; background: var(--bar); border-radius: 4px; }
.tl-t i.en { background: var(--accent); }
.tl-t i.on { border-radius: 4px 0 0 4px; }
.tl-t i.on::after { content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); border-style: solid; border-width: 0.4rem 0 0.4rem 0.45rem; border-color: transparent transparent transparent var(--accent); }
.tl-now { position: absolute; top: 1.7rem; bottom: 0; left: calc(var(--n) + (100% - var(--n) - 1.2rem) * (var(--x) - var(--y0)) / var(--span)); border-left: 2px dashed var(--accent); pointer-events: none; }
.tl-now span { position: absolute; top: -1.4rem; left: 0; transform: translateX(-50%); font-size: 0.66rem; font-weight: 800; color: var(--accent); background: var(--surface); padding: 0 0.2rem; white-space: nowrap; }
.lg-en { width: 1.2rem; height: 0.5rem; background: var(--accent); border-radius: 2px; }
.lg-co { width: 1.2rem; height: 0.5rem; background: var(--bar); border-radius: 2px; }
.steps { border-top: 0; }
.step { padding-top: 0; }
.step::after { content: ""; position: absolute; left: 0; right: 0; top: calc(1.45rem - 1px); height: 2px; background: var(--line); }
.step .ico { order: -1; position: relative; z-index: 1; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); padding: 0.55rem; margin-bottom: 0.3rem; }
.badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 700; padding: 0.4rem 0.75rem 0.4rem 0.5rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.badge svg { width: 1.3rem; height: 1.3rem; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rv-on .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv-on .rv.in { opacity: 1; transform: none; }
.rv-on .life-t i, .rv-on .tl-t i { transform: translateY(-50%) scaleX(0); transform-origin: left center; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s; }
.rv-on .in .life-t i, .rv-on .in .tl-t i { transform: translateY(-50%) scaleX(1); }
.rv-on .bul b i { transform: scaleX(0); transform-origin: left center; transition: transform 0.9s ease 0.3s; }
.rv-on .in .bul b i { transform: none; }
.rv-on .scurve .ev, .rv-on .scurve .ac { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s ease 0.3s; }
.rv-on .in .scurve .ev, .rv-on .in .scurve .ac { stroke-dashoffset: 0; }
@media (max-width: 1000px) {
  .deliv { grid-template-columns: minmax(0, 1fr); }
  .scurve { max-width: 560px; }
}
@media (max-width: 640px) {
  .life { padding: 0.9rem 0.8rem 0.8rem; }
  .life-grid { grid-template-columns: 7.4rem minmax(0, 1fr); }
  .life-n { white-space: normal; font-size: 0.74rem; line-height: 1.2; padding-right: 0.5rem; }
  .life-n b { display: block; margin: 0; }
  .life-phases span { font-size: 0; padding: 0.5rem 0.1rem 0.5rem 0.65rem; }
  .life-phases span:first-child { padding-left: 0.3rem; }
  .life-phases span::after { content: attr(data-short); font-size: 0.58rem; letter-spacing: 0.02em; }
  .tl-grid { --n: 8.8rem; }
  .tl-n { font-size: 0.74rem; padding-left: 0.7rem; }
  .tl-n small { font-size: 0.68rem; }
  .tl-ax, .tl-t { margin-right: 0.8rem; }
  .tl-now { left: calc(var(--n) + (100% - var(--n) - 0.8rem) * (var(--x) - var(--y0)) / var(--span)); }
  .tl-ax b:nth-child(even) { display: none; }
  .tl-now span { transform: translateX(-80%); }
  .bul > div { grid-template-columns: minmax(0, 1fr) 2.4rem; row-gap: 0.25rem; }
  .bul > div > span { grid-column: 1 / -1; }
  .step::after { display: none; }
}
/* Header: horizontal logo lockup */
html { scroll-padding-top: 84px; }
.top .wrap { padding-block: 0.55rem; }
.brand-h { flex: none; flex-direction: row; align-items: center; gap: 0.7rem; width: auto; }
.brand-h .brand-mark { display: block; flex: none; height: 46px; width: auto; }
.brand-h .brand-text { display: flex; flex-direction: column; gap: 4px; width: 128px; flex: none; }
@media (max-width: 640px) {
  .brand-h { width: auto; gap: 0.5rem; }
  .brand-h .brand-mark { height: 32px; }
  .brand-h .brand-text { width: 90px; gap: 3px; }
}
/* New logo mark: original artwork plus solar, BESS, grid line and sun */
.brand-h svg.brand-mark { width: 154px; height: 46px; overflow: visible; }
@media (max-width: 640px) { .brand-h svg.brand-mark { width: 107px; height: 32px; } }
/* Theme switch and back-to-top */
.top .wrap { justify-content: flex-start; column-gap: 0.9rem; }
.top .nav { margin-left: auto; }
.theme-btn { flex: none; width: 2.6rem; height: 2.6rem; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.theme-btn:hover { border-color: var(--accent); color: var(--accent); }
.theme-btn svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; }
}
.to-top { position: fixed; right: 20px; bottom: 90px; z-index: 50; width: 2.9rem; height: 2.9rem; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px rgba(16, 32, 22, 0.22); cursor: pointer; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { filter: brightness(1.08); }
.to-top svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1080px) { .menu-btn { margin-left: auto; } }
@media (max-width: 420px) {
  .brand-h svg.brand-mark { width: 94px; height: 28px; }
  .brand-h .brand-text { width: 80px; }
  .menu-btn { padding: 0.55rem 0.75rem; }
  .theme-btn { width: 2.3rem; height: 2.3rem; }
  .to-top { right: 14px; }
}
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
/* Buyer-trust additions: offers, results, assurances, privacy */
.avail { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.avail::before { content: ""; flex: none; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--tint); }
.offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.offer { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 6px; padding: 1.15rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.offer h3 { font-size: 1.12rem; font-weight: 800; }
.offer p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.offer .meta { margin-top: auto; padding-top: 0.3rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.offer .meta span { font-size: 0.74rem; font-weight: 700; padding: 0.22rem 0.5rem; border-radius: 3px; background: var(--tint); color: var(--ink); }
.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1rem 0 2.25rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.terms > div { padding: 0.9rem 1.1rem; font-size: 0.88rem; line-height: 1.5; color: var(--muted); min-width: 0; }
.terms > div + div { border-left: 1px solid var(--line); }
.terms b { display: block; margin-bottom: 0.15rem; font-size: 0.92rem; font-weight: 800; color: var(--ink); }
.wbs-all > summary { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; padding: 0.75rem 1.1rem; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); font-weight: 700; cursor: pointer; list-style: none; }
.wbs-all > summary::-webkit-details-marker { display: none; }
.wbs-all > summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; line-height: 1; }
.wbs-all[open] > summary::before { content: "\2212"; }
.wbs-all > summary:hover { border-color: var(--accent); }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1.25rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: 0.7rem; min-width: 0; }
.case > .label { font-size: 0.68rem; letter-spacing: 0.08em; color: var(--accent); }
.case h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.2; }
.case dl { margin: 0; display: flex; flex-direction: column; gap: 0.65rem; flex-grow: 1; }
.case dt { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.case dd { margin: 0.15rem 0 0; font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.case .res { margin-top: auto; padding: 0.75rem 0.9rem; border-radius: 4px; background: var(--tint); }
.case .res dt { color: var(--accent); }
.case .res dd { color: var(--ink); font-weight: 700; }
.tbl-note { margin-top: 0.6rem; color: var(--muted); font-size: 0.8rem; font-style: italic; }
.assure { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.assure li { display: flex; align-items: flex-start; gap: 0.85rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); font-size: 0.9rem; line-height: 1.5; color: var(--muted); min-width: 0; }
.assure li .ico { width: 2.4rem; height: 2.4rem; padding: 0.5rem; }
.assure b { display: block; color: var(--ink); font-weight: 800; }
.about-id { display: flex; align-items: center; gap: 1.1rem; }
.about-id > div { display: flex; flex-direction: column; gap: 0.3rem; }
.about-id .role { margin-top: 0; }
.portrait-mark { object-fit: contain; background: #ffffff; padding: 6px; box-sizing: border-box; }
.about-note { margin-top: 0.9rem; font-size: 0.92rem; color: var(--muted); }
.portrait { flex: none; width: 6.5rem; height: 6.5rem; border-radius: 50%; object-fit: cover; background: var(--tint); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line), 0 10px 24px rgba(16, 32, 22, 0.12); }
.about-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-weight: 700; font-size: 0.95rem; }
a.copy { display: inline-block; text-decoration: none; }
a.copy.book { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
a.copy.book:hover { filter: brightness(1.08); color: var(--accent-ink); }
.contact-copy .avail { margin-top: 0.25rem; }
.f-legal { margin-top: 0.7rem; color: var(--muted); font-size: 0.8rem; }
.pkg-solo { max-width: 40rem; margin-top: 1.5rem; }
.pkg-solo .tools { margin-top: 0.4rem; }
.foot-privacy { padding-bottom: 1.5rem; }
.foot-privacy details { border: 1px solid var(--line); border-radius: 6px; background: var(--bg); }
.foot-privacy summary { padding: 0.8rem 1rem; font-size: 0.9rem; font-weight: 700; cursor: pointer; }
.pv-body { display: grid; gap: 0.5rem; max-width: 62rem; padding: 0 1rem 1.1rem; font-size: 0.86rem; line-height: 1.55; color: var(--muted); }
.pv-body b { color: var(--ink); }
.foot-legal a { font-weight: 600; }
.site-footer li { overflow-wrap: anywhere; }
@media (min-width: 1101px) { .site-footer .foot-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr); } }
@media (min-width: 881px) and (max-width: 1100px) { .site-footer .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 1000px) {
  .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases, .assure, .terms { grid-template-columns: minmax(0, 1fr); }
  .terms > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .wbs-all .wbs .pkg:last-child { grid-column: auto; }
}
@media (max-width: 640px) {
  .offers { grid-template-columns: minmax(0, 1fr); }
  .portrait { width: 5.25rem; height: 5.25rem; }
  .wbs-all > summary { display: flex; }
}
/* Visual examples: TIA, dashboard, risk map, build sequence, result charts, tool tiles */
.kpi-r { color: var(--crit); border-color: var(--crit); }
.tia, .mbar, .codl { display: block; width: 100%; height: auto; overflow: visible; }
.tia text, .mbar text, .codl text { font-family: var(--f-body); font-size: 10px; font-weight: 600; fill: var(--muted); }
.tia .rl { font-weight: 800; fill: var(--ink); }
.tia .gl, .mbar .gl { stroke: var(--line); stroke-width: 1; }
.tia .bb { fill: var(--bar); }
.tia .bi, .mbar .ba { fill: var(--s1); }
.tia .fx { fill: var(--crit); }
.tia .md { fill: var(--muted); }
.tia .mi { fill: var(--crit); }
.tia .ar, .codl .ar { fill: none; stroke: var(--crit); stroke-width: 1.4; }
.tia .at { fill: var(--crit); font-weight: 800; font-size: 10px; }
.tia .bt { fill: #ffffff; font-size: 9px; font-weight: 700; }
.legend .lg-bb { height: 0.55rem; border: 0; border-radius: 2px; background: var(--bar); }
.legend .lg-bi { height: 0.55rem; border: 0; border-radius: 2px; background: var(--s1); }
.legend .lg-fx { height: 0.55rem; border: 0; border-radius: 2px; background: var(--crit); }
.legend .lg-pl { height: 0.55rem; border: 1.5px solid var(--muted); border-radius: 2px; }
.dash { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45rem; }
.tile { display: flex; flex-direction: column; gap: 0.05rem; min-width: 0; padding: 0.45rem 0.6rem; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); }
.tile span { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tile b { font-size: 1.3rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile b.warn { color: var(--crit); }
.tile small { font-size: 0.72rem; color: var(--muted); }
.mbar .bp { fill: none; stroke: var(--muted); stroke-width: 1.2; stroke-dasharray: 2 2; }
.mbar .c-dd { stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 3 3; }
.heat { display: grid; grid-template-columns: 1.1rem repeat(5, minmax(0, 1fr)); gap: 3px; font-size: 0.7rem; }
.heat i { display: grid; place-items: center; min-height: 1.75rem; border-radius: 3px; font-style: normal; font-weight: 800; color: var(--ink); }
.heat .lo { background: color-mix(in srgb, var(--s1) 24%, transparent); }
.heat .me { background: color-mix(in srgb, #e39b2f 36%, transparent); }
.heat .hi { background: color-mix(in srgb, var(--crit) 38%, transparent); }
.heat b { display: grid; place-items: center; font-weight: 700; color: var(--muted); }
.heat-ax { display: flex; justify-content: space-between; font-size: 0.7rem; font-weight: 700; color: var(--muted); padding-left: 1.3rem; }
.swipe { display: none; margin: -0.4rem 0 0.6rem; font-size: 0.8rem; color: var(--muted); }
@media (max-width: 900px) { .swipe { display: block; } }
.flowbox { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow-x: auto; }
.flow { min-width: 860px; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); column-gap: 0.35rem; row-gap: 0.45rem; padding: 1.2rem 1.2rem 1.1rem; }
.flow .st { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.45rem; text-align: center; font-size: 0.74rem; font-weight: 700; line-height: 1.2; padding-bottom: 0.4rem; }
.flow .st::before { content: ""; position: absolute; top: 1.25rem; right: 50%; width: calc(100% + 0.35rem); height: 2px; background: var(--line); }
.flow .st:first-child::before { display: none; }
.flow .st .ico { position: relative; z-index: 1; width: 2.5rem; height: 2.5rem; padding: 0.45rem; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.flow .st.key .ico { background: var(--accent); color: var(--accent-ink); }
.flow .fl { grid-column: 1 / -1; margin-top: 0.4rem; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 0.6rem; }
.flow .cb { grid-column: var(--s) / var(--e); padding: 0.32rem 0.6rem; border-left: 3px solid var(--accent); border-radius: 3px; background: var(--tint); font-size: 0.74rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow .cb.r { border-left-color: var(--crit); }
.flowcap { min-width: 860px; padding: 0 1.2rem 1rem; color: var(--muted); font-size: 0.8rem; font-style: italic; }
.cviz { display: flex; flex-direction: column; gap: 0.45rem; padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); }
.codl .c-s { fill: var(--muted); }
.codl .c-a { fill: var(--s1); }
.codl .ln { stroke: var(--line); stroke-width: 2; }
.codl .lb { fill: var(--ink); font-weight: 800; }
.codl .at { fill: var(--crit); font-weight: 800; }
.chips2 { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.chips2 span { font-size: 0.7rem; font-weight: 800; padding: 0.18rem 0.45rem; border-radius: 3px; background: var(--tint); color: var(--accent); }
.mw { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.74rem; }
.mw > div { display: grid; grid-template-columns: 7.4rem minmax(0, 1fr) 0.9rem; align-items: center; gap: 0.45rem; }
.mw span { font-weight: 700; white-space: nowrap; }
.mw b { position: relative; height: 0.6rem; border-radius: 3px; background: var(--tint); }
.mw b i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--w) * 1%); border-radius: 3px; background: var(--s1); }
.mw em { font-style: normal; font-weight: 800; color: var(--accent); }
.dots { display: grid; grid-template-columns: repeat(25, minmax(0, 1fr)); gap: 3px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: var(--s1); }
.cviz small { font-size: 0.72rem; color: var(--muted); }
.toolset { margin-top: 1.5rem; }
.tgrid { margin-top: 0.6rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; }
.tool { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.tool .ico { width: 2.3rem; height: 2.3rem; padding: 0.45rem; }
.tool b { font-size: 0.92rem; font-weight: 800; }
.tool span { font-size: 0.84rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 1000px) { .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mw > div { grid-template-columns: 6.6rem minmax(0, 1fr) 0.9rem; } }
/* Mobile: tables read as cards, labels above bars, fewer axis labels */
@media (max-width: 640px) {
  #record .table-box, #buildings .table-box { overflow-x: visible; }
  #record table, #buildings table { min-width: 0; }
  #record thead, #buildings thead { display: none; }
  #record tr, #buildings tr { display: block; padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--line); }
  #record tr:last-child, #buildings tr:last-child { border-bottom: 0; }
  #record td, #buildings td { display: block; padding: 0.12rem 0; border: 0; }
  #record td.num, #buildings td.num { white-space: normal; }
  #record td:first-child, #buildings td:first-child { font-weight: 800; padding-bottom: 0.35rem; }
  #record td:nth-child(n+2)::before, #buildings td:nth-child(n+2)::before { display: inline-block; min-width: 4.8rem; margin-right: 0.4rem; font-family: var(--f-body); font-size: 0.66rem; font-weight: 800; font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
  #record td:nth-child(2)::before { content: "Scale"; }
  #record td:nth-child(3)::before { content: "Role"; }
  #record td:nth-child(4)::before { content: "Years"; }
  #buildings td:nth-child(2)::before { content: "Location"; }
  #buildings td:nth-child(3)::before { content: "Budget"; }
  #buildings td:nth-child(4)::before { content: "Dates"; }
  #buildings td:nth-child(5)::before { content: "Scope"; }
  .mw > div { grid-template-columns: minmax(0, 1fr) 0.9rem; row-gap: 0.15rem; }
  .mw span { grid-column: 1 / -1; }
  .tl:not(.tl-mini) .tl-ax b:last-child { display: none; }
  .g-months .g-track span:nth-child(even) { color: transparent; }
}
/* Who I work with */
.who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.who { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 6px; padding: 1.3rem 1.35rem 1.35rem; display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.who-h { display: flex; gap: 0.85rem; align-items: center; }
.who-h .ico { width: 2.6rem; height: 2.6rem; padding: 0.5rem; }
.who .for { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.2rem; }
.who h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.25; }
.who .need { font-size: 0.97rem; line-height: 1.5; font-weight: 600; }
.who .how { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.who ul { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; line-height: 1.45; }
.who li::marker { color: var(--accent); }
.who .proof { margin-top: auto; padding-top: 0.75rem; border-top: 1px dashed var(--line); color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.who .proof b { color: var(--ink); }
.who .proof a { color: var(--accent); font-weight: 700; }
.who .btn { align-self: flex-start; padding: 0.7rem 1rem; font-size: 0.9rem; }
.also-h { margin-top: 2rem; margin-bottom: 0.75rem; }
.also { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.75rem; }
.also > div { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 0.9rem 1rem; font-size: 0.88rem; line-height: 1.5; color: var(--muted); min-width: 0; }
.also b { display: block; margin-bottom: 0.2rem; color: var(--ink); font-size: 0.95rem; font-weight: 800; }
@media (max-width: 760px) { .who-grid { grid-template-columns: 1fr; } }
/* Sample outputs: daily report, bid leveling, drawings */
.dmeta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; }
.dmeta span { display: flex; flex-direction: column; gap: 0.05rem; min-width: 0; padding: 0.4rem 0.5rem; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); font-size: 0.74rem; line-height: 1.3; }
.dmeta b { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.drep { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.8rem; }
.drep li { display: grid; grid-template-columns: 1.05rem minmax(0, 1fr) auto; align-items: center; gap: 0.45rem; }
.drep li::before { content: "\2713"; width: 1.05rem; height: 1.05rem; border-radius: 50%; display: inline-grid; place-items: center; font-size: 0.62rem; font-weight: 800; color: #ffffff; background: var(--accent); }
.drep li.no::before { content: "!"; background: var(--crit); }
.drep li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drep em { font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.drep li.no em { color: var(--crit); }
.lvl { width: 100%; min-width: 0; border-collapse: collapse; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.lvl th, .lvl td { padding: 0.38rem 0.4rem; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; vertical-align: middle; }
.lvl th:first-child, .lvl td:first-child { text-align: left; white-space: normal; padding-left: 0; }
.lvl th { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: none; vertical-align: bottom; }
.lvl .bad { color: var(--crit); font-weight: 800; }
.lvl .tot td { font-weight: 800; border-bottom: 0; }
.lvl .best { color: var(--accent); }
.lvl .best::after { content: " \2713"; }
.plan { display: block; width: 100%; height: auto; }
.plan .gx { fill: none; stroke: var(--muted); stroke-width: 0.8; stroke-dasharray: 4 3; opacity: 0.7; }
.plan .wl { fill: none; stroke: var(--ink); stroke-width: 3; }
.plan .dr { fill: none; stroke: var(--muted); stroke-width: 0.9; }
.plan .cl { fill: var(--accent); }
.plan .bb { fill: var(--surface); stroke: var(--muted); stroke-width: 1; }
.plan .dm { fill: none; stroke: var(--muted); stroke-width: 0.8; }
.plan .tb { fill: var(--bg); stroke: var(--line); stroke-width: 1; }
.plan text { font-size: 8.5px; font-weight: 700; fill: var(--muted); }
.plan .rm { font-size: 9px; font-weight: 800; fill: var(--ink); }
.plan .tbt { font-size: 11px; font-weight: 800; fill: var(--ink); }
.gal-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.gt { font: 600 0.9rem/1 var(--f-body); padding: 0.6rem 0.9rem; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); color: var(--ink); cursor: pointer; }
.gt span { color: var(--muted); font-weight: 500; margin-left: 0.2rem; }
.gt:hover { border-color: var(--accent); }
.gt.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.gt.on span { color: inherit; opacity: 0.8; }
.gal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gal li { min-width: 0; }
.gal li[hidden] { display: none; }
.gal li.gh { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.9rem; padding: 1.1rem 0 0.1rem; border-bottom: 2px solid var(--accent); margin-bottom: 0.15rem; }
.gal li.gh:first-child { padding-top: 0; }
.gh h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.gh p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
@media (max-width: 900px) { .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gal { grid-template-columns: minmax(0, 1fr); } }
.gi { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); text-align: left; cursor: zoom-in; overflow: hidden; font: inherit; }
.gi:hover { border-color: var(--accent); }
.gi img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tint); }
.gcap { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.8rem 0.95rem 0.95rem; }
.gcap em { font-style: normal; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.gcap b { font-weight: 700; font-size: 1rem; line-height: 1.3; }
.gcap small { color: var(--muted); font-size: 0.85rem; line-height: 1.45; }
.gal-note { color: var(--muted); font-size: 0.85rem; margin-top: 1rem; }
dialog.lb { padding: 0; border: 0; background: transparent; width: min(96vw, 1600px); max-width: none; max-height: 98vh; color: #fff; overflow: visible; }
dialog.lb::backdrop { background: rgba(8, 12, 9, 0.92); }
.lb figure { margin: 0; }
.lb-view { position: relative; overflow: hidden; border-radius: 3px; background: #111; max-height: 84vh; }
.lb-view img { display: block; width: 100%; height: auto; max-height: 84vh; object-fit: contain; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.lb.zoomed .lb-view { height: 84vh; overflow: auto; cursor: grab; overscroll-behavior: contain; }
.lb.zoomed .lb-view.drag { cursor: grabbing; }
.lb.zoomed .lb-view img { width: auto; max-width: none; height: auto; max-height: none; cursor: inherit; }
.lb figcaption { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: 0.6rem 0.1rem 0; font-size: 0.92rem; color: #e3e9e3; }
.lb-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; align-items: center; margin-bottom: 0.5rem; }
.lb-hint { margin-right: auto; font-size: 0.85rem; color: #c9d2c4; }
.lb-bar button, .lb-bar a { font: 600 0.88rem/1 var(--f-body); padding: 0.55rem 0.8rem; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 3px; background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer; text-decoration: none; }
.lb-bar button:hover, .lb-bar a:hover { background: rgba(255, 255, 255, 0.18); }
@media (max-width: 560px) { .lb-hint { flex-basis: 100%; } }
.top .wrap { max-width: 82rem; }
.nav { flex-wrap: nowrap; gap: 0.25rem clamp(0.9rem, 1.35vw, 1.5rem); font-size: 0.95rem; }
.nav a { white-space: nowrap; }
.nav .nav-cta { padding: 0.72rem 1.05rem; }
@media (max-width: 1160px) {
  .menu-btn { display: inline-flex; margin-left: auto; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 0.4rem var(--gutter-r) 1.1rem var(--gutter-l); box-shadow: 0 16px 30px rgba(16, 32, 22, 0.1); }
  .nav.open { display: flex; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin: 0.9rem 0 0; justify-content: center; text-align: center; }
}
/* Multipage layout (v23): page heroes, three-up client cards, CTA band */
.nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.phero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 2.75rem; align-items: center; padding-block: 3.25rem 3rem; }
.phero.slim .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 3.25rem 0.5rem; }
.phero.slim .lede { max-width: 46rem; }
.phero h1, .sec-head h1 { font-size: clamp(2.2rem, 4.1vw, 3.3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
.phero h1 em { font-style: italic; font-weight: 800; color: var(--accent); }
.phero-img { margin: 0; display: flex; flex-direction: column; gap: 0.55rem; min-width: 0; }
.phero-img a { display: block; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--surface); }
.phero-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.phero-img figcaption { color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.figures.f3 .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.who-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.who-grid.g1 { grid-template-columns: minmax(0, 1fr); }
.who.wide ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.35rem 2.25rem; }
.who.wide .btn { margin-top: 0.25rem; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.pair .pkg-solo { max-width: none; margin-top: 0; }
.terms.t2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
.cases.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cases.g1 { grid-template-columns: minmax(0, 1fr); }
.cases.g1 .case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto 1fr; gap: 0.7rem 2.5rem; }
.cases.g1 .case > :not(dl) { grid-column: 1; }
.cases.g1 .case > dl { grid-column: 2; grid-row: 1 / 4; }
.cases.g1 .case > .cviz { align-self: start; }
.nw { white-space: nowrap; }
.price-note, .more-links { margin-top: 1rem; color: var(--muted); font-size: 0.9rem; }
.price-note a, .more-links a, .gal-note a { font-weight: 700; }
.cta-band { margin-top: 4.5rem; background: var(--tint); border-top: 1px solid var(--line); }
.cta-band .wrap { padding-block: 2.75rem; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem 2.5rem; flex-wrap: wrap; }
.cta-band .wrap > div:first-child { display: flex; flex-direction: column; gap: 0.5rem; max-width: 44rem; }
.cta-band h2 { font-size: clamp(1.45rem, 2.5vw, 1.95rem); font-weight: 800; letter-spacing: -0.02em; }
.cta-band p { color: var(--muted); }
.cta-band .ctas { margin-top: 0; }
.creds > .label { display: block; margin-bottom: 0.75rem; }
@media (max-width: 1000px) {
  .phero .wrap { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: 2.5rem 2.25rem; }
  .who-grid.g3, .cases.g2, .pair { grid-template-columns: minmax(0, 1fr); }
  .cases.g1 .case { display: flex; }
}
@media (max-width: 760px) {
  .who.wide ul, .terms.t2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .figures.f3 .wrap { grid-template-columns: minmax(0, 1fr); }
  .figures.f3 .fig { border-left: 0; border-top: 1px solid var(--line); }
  .figures.f3 .fig:first-child { border-top: 0; }
  .cta-band .ctas .btn { flex: 1 1 auto; justify-content: center; }
}
/* v24: Home in the menu, client types, FAQ, client matrix, time-zone and process illustratives */
.nav { gap: 0.25rem clamp(0.8rem, 1.15vw, 1.35rem); }
.ctype { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ctype > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.3rem 0.85rem; align-content: start; padding: 1.05rem 1.1rem; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 6px; background: var(--surface); }
.ctype .ico { grid-row: 1 / 3; width: 2.4rem; height: 2.4rem; padding: 0.5rem; }
.ctype b { font-size: 1rem; font-weight: 800; line-height: 1.3; }
.ctype span { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.ctype a { font-weight: 700; }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1rem; align-items: start; }
.faq details { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 0.75rem; align-items: baseline; padding: 0.95rem 1.1rem; font-weight: 800; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; flex: none; display: inline-grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--tint); color: var(--accent); font-weight: 800; line-height: 1; transform: translateY(0.15rem); }
.faq details[open] summary::before { content: "−"; background: var(--accent); color: var(--accent-ink); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 1.1rem 1rem 3.15rem; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.faq details p a { font-weight: 700; }
.mx-box { margin-top: 0.25rem; }
.mx { min-width: 54rem; font-size: 0.86rem; }
.mx th, .mx td { padding: 0.5rem 0.35rem; text-align: center; vertical-align: middle; }
.mx th { font-size: 0.64rem; line-height: 1.25; }
.mx th b { display: block; font-size: 0.78rem; color: var(--accent); }
.mx th:first-child, .mx td:first-child { text-align: left; padding-left: 1rem; min-width: 15rem; position: sticky; left: 0; background: var(--surface); z-index: 1; }
.mx th:first-child { background: var(--tint); }
.mx td:first-child { font-weight: 700; }
.mx td:last-child, .mx th:last-child { text-align: left; padding-right: 1rem; white-space: nowrap; }
.mx td:last-child a { font-weight: 700; font-size: 0.82rem; }
.mx tr.grp td { background: var(--tint); color: var(--accent); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 0.55rem; padding-bottom: 0.55rem; }
.mx tbody tr:not(.grp):hover td { background: var(--bg); }
.mx i, .mx-key i { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 50%; vertical-align: middle; }
.mx i.u, .mx-key i.u { background: var(--accent); }
.mx i.s, .mx-key i.s { border: 2px solid var(--accent); }
.mx-key i { margin: 0 0.3rem 0 0.6rem; }
.mx-note { margin-top: 0.75rem; color: var(--muted); font-size: 0.85rem; }
.drv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: drv; }
.drv > div { position: relative; display: flex; flex-direction: column; gap: 0.4rem; padding: 1.05rem 1.1rem 1.1rem; border: 1px solid var(--line); border-left: 4px solid var(--crit); border-radius: 6px; background: var(--surface); }
.drv > div::before { counter-increment: drv; content: "0" counter(drv); font-size: 0.75rem; font-weight: 800; font-style: italic; color: var(--crit); }
.drv b { font-size: 1rem; font-weight: 800; line-height: 1.3; }
.drv span { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.drv em { margin-top: auto; padding-top: 0.5rem; border-top: 1px dashed var(--line); font-style: normal; font-size: 0.78rem; font-weight: 700; color: var(--accent); }
.tz { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 0.4rem 0 0.6rem; --n: 13rem; --span: 28; }
.tz-ax, .tz-row { display: grid; grid-template-columns: var(--n) minmax(0, 1fr); align-items: center; }
.tz-ax { height: 1.9rem; border-bottom: 1px solid var(--line); }
.tz-ax > span:first-child { padding-left: 1rem; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tz-scale, .tz-t { position: relative; margin-right: 1.5rem; }
.tz-scale { height: 100%; }
.tz-scale b { position: absolute; top: 0.45rem; left: calc(var(--x) / var(--span) * 100%); transform: translateX(-50%); font-size: 0.72rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.tz-scale b:first-child { transform: none; }
.tz-row { min-height: 3.1rem; }
.tz-row + .tz-row { border-top: 1px solid var(--line); }
.tz-n { padding: 0.5rem 0.8rem 0.5rem 1rem; font-size: 0.86rem; font-weight: 800; line-height: 1.25; }
.tz-n small { display: block; font-size: 0.74rem; font-weight: 500; font-style: italic; color: var(--muted); }
.tz-t { align-self: stretch; border-left: 1px solid var(--line); background-image: repeating-linear-gradient(to right, transparent 0, transparent calc(100% / 28 - 1px), var(--line) calc(100% / 28 - 1px), var(--line) calc(100% / 28)); background-size: 100% 100%; }
.tz-t i { position: absolute; top: 50%; height: 0.95rem; transform: translateY(-50%); left: calc(var(--s) / var(--span) * 100%); width: calc((var(--e) - var(--s)) / var(--span) * 100%); border-radius: 3px; }
.tz-t i.you { background: var(--bar); }
.tz-t i.us { background: var(--accent); }
.tz-ev .tz-n { color: var(--muted); font-weight: 700; }
.tz-ev .tz-t { background-image: none; }
.tz-t em { position: absolute; top: 50%; left: calc(var(--x) / var(--span) * 100%); transform: translate(-50%, -50%); font-style: normal; font-size: 0.74rem; font-weight: 800; color: var(--accent); background: var(--tint); border: 1px solid var(--accent); border-radius: 99px; padding: 0.15rem 0.55rem; white-space: nowrap; }
.tz-cap { margin-top: 0.75rem; color: var(--muted); font-size: 0.85rem; }
.proc, .stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: pr; border-top: 2px solid var(--ink); }
.proc { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stages { grid-template-columns: repeat(7, minmax(0, 1fr)); margin-bottom: 2rem; }
.proc li, .stages li { counter-increment: pr; display: flex; flex-direction: column; gap: 0.35rem; padding: 0.9rem 1rem 0 0; min-width: 0; }
.proc li::before, .stages li::before { content: "0" counter(pr); font-size: 0.8rem; font-weight: 800; font-style: italic; color: var(--accent); }
.proc b, .stages b { font-size: 0.98rem; font-weight: 800; line-height: 1.3; }
.proc span, .stages span { color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
.boxes { margin-top: 2rem; }
.box { padding: 1.15rem 1.2rem 1.2rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.box h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.75rem; }
.chk { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; font-size: 0.9rem; }
.chk li { display: flex; gap: 0.6rem; align-items: baseline; }
.chk li::before { content: ""; flex: none; width: 0.75rem; height: 0.42rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-0.15rem) rotate(-45deg); }
.ask { margin: 0; display: grid; gap: 0.6rem; }
.ask > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.75rem; padding-bottom: 0.6rem; border-bottom: 1px dashed var(--line); }
.ask > div:last-child { border-bottom: 0; padding-bottom: 0; }
.ask dt { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); padding-top: 0.15rem; }
.ask dd { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.dreg { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); overflow: hidden; }
.dreg-h { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem 1rem; flex-wrap: wrap; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
.dreg-h b { font-size: 1.05rem; font-weight: 800; }
.dreg table { min-width: 0; font-size: 0.86rem; }
.dreg th, .dreg td { padding: 0.4rem 1rem; }
.dreg td:first-child { width: 5.5rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--accent); }
.stack { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.stack .ask > div { grid-template-columns: 9rem minmax(0, 1fr); }
.mx th:nth-child(n+2):nth-child(-n+10) { width: 4.6rem; }
.offers.o3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 1rem; }
@media (max-width: 1000px) {
  .ctype, .drv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .proc { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.25rem; }
  .stages { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 1.25rem; }
  .offers.o3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ctype, .drv { grid-template-columns: minmax(0, 1fr); }
  .proc, .stages { grid-template-columns: minmax(0, 1fr); border-top: 0; row-gap: 0.9rem; }
  .proc li, .stages li { padding: 0 0 0.9rem; border-bottom: 1px solid var(--line); }
  .tz { --n: 6.6rem; }
  .tz-ax > span:first-child { visibility: hidden; }
  .tz-n { font-size: 0.76rem; padding-left: 0.7rem; }
  .tz-n small { font-size: 0.66rem; }
  .tz-scale, .tz-t { margin-right: 0.9rem; }
  .tz-scale b:nth-child(2), .tz-scale b:nth-child(5) { display: none; }
  .tz-t em { font-size: 0.64rem; padding: 0.1rem 0.35rem; }
  .ask > div { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
  .mx th:first-child, .mx td:first-child { min-width: 11rem; }
}
/* v25: hide empty group headings when a filter is on */
.gal li.gh[hidden] { display: none; }
.gal li[hidden] + li.gh { padding-top: 0; }
