  body { margin: 0; }
  [hidden] { display: none !important; }
  /* Layout: one narrow column, hairline rows, label left and detail right; header with anchor nav and language switch; one muted blue accent, light only. */
  :root {
    --bg: #f4f5f6;
    --surface: #ffffff;
    --ink: #1c2024;
    --muted: #59626b;
    --line: #d7dce0;
    --accent: #2b5a78;
    --accent-soft: #e2eaef;
    --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    color-scheme: light;
  }

  * { box-sizing: border-box; }

  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    padding-block: 28px 56px;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .wrap { max-width: 46rem; margin: 0 auto; }

  a { color: var(--accent); text-underline-offset: 3px; }
  a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

  h1, h2, h3, p, ul, dl { margin: 0; }
  ul { padding: 0; list-style: none; }
  h1 { text-wrap: balance; }

  /* header */
  .top { display: flex; flex-direction: column; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
  .top-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; }
  .brand { font-weight: 600; font-size: 1.05rem; }
  .brand small { font-weight: 400; color: var(--muted); font-size: 0.85rem; margin-left: 8px; }
  .lang { display: flex; gap: 4px; }
  .lang button {
    font: inherit; font-size: 0.85rem; color: var(--muted);
    background: transparent; border: 1px solid var(--line);
    padding: 2px 10px; cursor: pointer; min-height: 28px;
  }
  .lang button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); background: var(--surface); }
  .lang a {
    font-size: 0.85rem; color: var(--muted); text-decoration: none; border: 1px solid var(--line);
    padding: 2px 10px; min-height: 28px; display: inline-flex; align-items: center;
  }
  .lang a[aria-current="page"] { color: var(--ink); border-color: var(--ink); background: var(--surface); }
  .nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.9rem; }
  .nav a { color: var(--ink); text-decoration: none; }
  .nav a:hover { text-decoration: underline; text-underline-offset: 3px; }

  /* hero */
  .hero { padding-block: 36px 32px; display: flex; flex-direction: column; gap: 16px; }
  .eyebrow { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
  .hero h1 { font-size: clamp(1.75rem, 5.2vw, 2.4rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
  .hero .lead { max-width: 38rem; color: var(--muted); font-size: 1.05rem; }
  .hero-note { max-width: 38rem; border-left: 3px solid var(--accent); padding: 2px 0 2px 12px; font-weight: 500; }
  .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
  .btn {
    display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
    padding: 10px 18px; font-weight: 500; font-size: 0.95rem;
  }
  .btn:hover { background: #234c66; }
  .btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .hero-actions .num { color: var(--muted); font-size: 0.95rem; }
  .hero-actions .num strong { color: var(--ink); font-weight: 500; }

  .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; margin-top: 8px; }
  .stat { border-top: 1px solid var(--ink); padding-top: 10px; display: flex; flex-direction: column; gap: 2px; }
  .stat .n { font-size: 1.9rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
  .stat .l { color: var(--muted); font-size: 0.88rem; }

  .tagline { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); line-height: 1.8; }


  /* power chart */
  :root { --viz-s1: #2a78d6; --viz-stock: #898781; --viz-grid: #e1e0d9; --viz-axis: #c3c2b7; }
  .pw-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; padding-block: 18px 10px; }
  .pw-controls .pw-wide { grid-column: 1 / -1; }
  .pw-credit { margin-top: 12px; font-size: 0.8rem; color: var(--muted); }
  .pw-controls label { display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; color: var(--muted); min-width: 0; }
  .pw-controls select {
    font: inherit; font-size: 0.95rem; color: var(--ink); background: var(--surface);
    border: 1px solid var(--line); padding: 8px 10px; min-width: 0; width: 100%;
  }
  .pw-controls select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
  .pw-notice { background: var(--accent-soft); padding: 8px 12px; font-size: 0.88rem; margin-bottom: 12px; }
  .pw-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-bottom: 8px; }
  .pw-tabs { display: flex; gap: 4px; }
  .pw-tabs button {
    font: inherit; font-size: 0.9rem; color: var(--muted); background: transparent;
    border: 1px solid var(--line); padding: 4px 14px; cursor: pointer; min-height: 32px;
  }
  .pw-tabs button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); background: var(--surface); }
  .pw-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .pw-legend { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.88rem; color: var(--muted); }
  .pw-legend span { display: inline-flex; align-items: center; gap: 8px; }
  .pw-legend i { display: inline-block; width: 22px; height: 0; border-top: 2px solid var(--viz-s1); }
  .pw-legend i.stock { border-top: 2px dashed var(--viz-stock); }
  .pw-chart { margin: 0; background: var(--surface); border: 1px solid var(--line); padding: 12px 8px 4px; }
  .pw-chart svg { display: block; width: 100%; height: auto; touch-action: pan-y; }
  .pw-chart svg:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .pw-chart text { font-family: var(--font-body); fill: var(--muted); font-size: 12px; }
  .pw-chart text.val { fill: var(--ink); font-weight: 600; }
  .pw-readout { min-height: 3.2em; padding: 8px 6px 6px; font-size: 0.92rem; color: var(--muted); }
  .pw-readout b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
  .pw-table-wrap { overflow-x: auto; margin-top: 14px; }
  .pw-table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
  .pw-table th, .pw-table td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
  .pw-table th { font-weight: 500; color: var(--muted); }
  .pw-table td { font-variant-numeric: tabular-nums; }
  .pw-table td.gain { color: var(--ink); font-weight: 600; }

  /* gallery */
  .gal-intro { padding-top: 14px; }
  .gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px 8px; padding-block: 14px; }
  .gal li { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
  .gal li > a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--accent-soft); }
  .gal img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .gal li > a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .gal p { font-size: 0.85rem; color: var(--muted); }
  .gal .gal-ph { grid-column: 1 / -1; background: var(--accent-soft); padding: 16px; font-size: 0.9rem; }

  /* sections */
  h2 {
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line);
  }
  section { padding-bottom: 36px; scroll-margin-top: 12px; }

  .row {
    display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 6px 24px;
    padding-block: 18px; border-bottom: 1px solid var(--line);
  }
  .row h3, .row h4 { font-size: 1rem; font-weight: 600; margin: 0; }
  /* service groups */
  .grp { padding: 26px 0 4px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
  .grp h3 { font-size: 1.15rem; font-weight: 600; color: var(--accent); margin: 0; }
  .grp p { color: var(--muted); max-width: 40rem; padding-bottom: 10px; }
  .grp:first-of-type { padding-top: 14px; }
  .row .detail { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
  .note { color: var(--muted); font-size: 0.92rem; }

  .tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .tags li { background: var(--surface); border: 1px solid var(--line); padding: 1px 9px; font-size: 0.88rem; }
  .tags li.key { border-color: var(--accent); color: var(--accent); }

  .az { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
  .az div { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); gap: 8px; padding-block: 6px; border-bottom: 1px solid var(--line); }
  .az dt { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); padding-top: 2px; }
  .az dd { margin: 0; }

  .mono { font-family: var(--font-mono); font-size: 0.84rem; line-height: 1.7; overflow-wrap: anywhere; }

  .bars { display: flex; flex-direction: column; padding-top: 4px; }
  .bar { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 2.5rem; align-items: center; gap: 12px; padding-block: 5px; font-size: 0.95rem; }
  .bar .track { height: 10px; background: var(--accent-soft); display: block; overflow: hidden; }
  .bar .fill { display: block; height: 100%; background: var(--accent); width: calc(var(--n) / var(--max, 60) * 100%); max-width: 100%; }
  .bar .n { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }

  .faq { display: flex; flex-direction: column; }
  .faq div { padding-block: 16px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
  .faq dt { font-weight: 600; }
  .faq dd { margin: 0; color: var(--muted); }

  .contact { background: var(--surface); border: 1px solid var(--line); padding: 24px; margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
  .contact dl { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 8px 16px; }
  .contact dt { color: var(--muted); font-size: 0.9rem; }
  .contact dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
  .ph { background: var(--accent-soft); padding: 0 4px; }

  /* buttons, links */
  button.btn { border: 0; cursor: pointer; font-family: inherit; }
  .btn-line {
    display: inline-block; color: var(--accent); text-decoration: none; border: 1px solid var(--accent);
    padding: 9px 16px; font-weight: 500; font-size: 0.95rem; background: transparent;
  }
  .btn-line:hover { background: var(--accent-soft); }
  .btn-line:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .hero-actions .num a { color: var(--ink); font-weight: 500; text-decoration: none; }
  .hero-actions .num a:hover { text-decoration: underline; }
  .hero-actions .num a[id="h-wa"] { color: var(--accent); }
  .contact dd a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .pw-quote { margin: 14px 0 0; }

  /* enquiry form */
  .enq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding-bottom: 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
  .enq label { display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; color: var(--muted); min-width: 0; }
  .enq .enq-wide, .enq .enq-actions, .enq .note { grid-column: 1 / -1; }
  .enq input, .enq select, .enq textarea {
    font: inherit; font-size: 0.95rem; color: var(--ink); background: var(--surface);
    border: 1px solid var(--line); padding: 9px 10px; width: 100%; min-width: 0; border-radius: 0;
  }
  .enq textarea { resize: vertical; }
  .enq input:focus-visible, .enq select:focus-visible, .enq textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
  .enq-actions { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
  .enq .note { margin: 0; }
  .enq-err { color: #8a3b12; }

  /* service area */
  .area { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 10px; }
  .area-text p { margin: 0 0 12px; }
  .area-list { margin: 0 0 14px; display: grid; gap: 0; }
  .area-list div { display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--line); padding-block: 8px; }
  .area-list dt { font-weight: 600; }
  .area-list dd { margin: 0; color: var(--muted); }
  .area-list div:first-child dd { color: var(--accent); font-weight: 500; }
  .area-map { position: relative; width: 100%; background: #e9edf0; border: 1px solid var(--line); overflow: hidden; min-height: 300px; }
  .am-tiles img { position: absolute; max-width: none; user-select: none; }
  .am-svg { position: absolute; inset: 0; }
  .am-zone { fill: rgba(43, 90, 120, 0.16); stroke: #2b5a78; stroke-width: 2; }
  .am-home { fill: #2b5a78; stroke: #fff; stroke-width: 2; }
  .am-dot { fill: #fff; stroke: #1c2024; stroke-width: 2; }
  .am-label { font: 600 12px "IBM Plex Sans", system-ui, sans-serif; fill: #1c2024; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
  .am-label.am-strong { font-size: 14px; fill: #1c4560; }
  .am-credit { position: absolute; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.85); color: #3d454c; font-size: 11px; padding: 2px 6px; text-decoration: none; }
  @media (min-width: 820px) {
    .area { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: 28px; align-items: start; }
  }

  .price { margin: 8px 0 0; font-size: 0.92rem; color: var(--muted); }
  .price strong { color: var(--ink); font-weight: 600; }
  .rev { list-style: none; padding: 0; margin: 10px 0 14px; display: grid; gap: 18px; }
  .rev blockquote { margin: 0 0 4px; padding-left: 14px; border-left: 3px solid var(--accent-soft); }
  .rev-meta { color: var(--muted); font-size: 0.88rem; padding-left: 17px; }
  footer .small { margin-top: 10px; font-size: 0.78rem; max-width: 46rem; }
  footer p { margin: 0; }

  .work-cta { margin-top: 16px; }
  #work .gal { margin-top: 14px; }

  /* phone call bar: shown only on narrow screens once a phone number is set */
  .callbar { display: none; }
  @media (max-width: 720px) {
    .callbar:not([hidden]) {
      display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
      background: var(--surface); border-top: 1px solid var(--line);
      padding: 8px max(12px, env(safe-area-inset-left, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-right, 0px)); gap: 8px;
    }
    .callbar a { display: flex; justify-content: center; align-items: center; min-height: 44px; font-weight: 500; text-decoration: none; }
    .callbar #cb-tel { border: 1px solid var(--accent); color: var(--accent); }
    .callbar #cb-wa { background: var(--accent); color: #fff; }
    body.has-callbar { padding-bottom: 92px; }
  }

  footer { color: var(--muted); font-size: 0.85rem; }

  @media (max-width: 560px) {
    body { padding-block: 18px 40px; }
    .row { grid-template-columns: minmax(0, 1fr); }
    .stats { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .az { grid-template-columns: minmax(0, 1fr); }
    .pw-controls { grid-template-columns: minmax(0, 1fr); }
    .stat { flex-direction: row; align-items: baseline; gap: 12px; }
    .stat .n { font-size: 1.5rem; min-width: 4.2rem; }
    .bar { grid-template-columns: 7.5rem minmax(0, 1fr) 2.4rem; gap: 8px; }
    .contact { padding: 18px; }
    .contact dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .contact dd { margin-bottom: 10px; }
    .enq { grid-template-columns: minmax(0, 1fr); }
  }
