﻿/* ==========================================================================
   Build Connect Company Limited · 建集科創有限公司
   Corporate stylesheet — serif display type, navy and ivory, hairline rules.
   1 tokens  2 base  3 utility bar  4 header  5 hero  6 components
   7 sidebar  8 forms  9 forum  10 chat  11 footer  12 responsive  13 print
   ========================================================================== */

/* 1 — tokens ------------------------------------------------------------- */
:root {
  --ink: #14181d;
  --ink-2: #3c4550;
  --muted: #6e7783;
  --rule: #d8d4ca;
  --rule-soft: #e9e6df;
  --paper: #faf9f6;
  --paper-2: #f3f1ec;
  --white: #ffffff;
  --navy: #0f2a4a;
  --navy-deep: #081a30;
  --navy-line: #24405f;
  --green: #1f6b4a;
  --green-soft: #e7efe9;
  --gold: #92764c;
  --danger: #9b2226;
  --ok: #1f6b4a;
  --serif: Georgia, "Times New Roman", "Noto Serif TC", "Songti SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans HK",
          "Microsoft JhengHei", "PingFang HK", Arial, sans-serif;
  --wrap: 1200px;
  --pad: 32px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2 — base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 .55em;
  letter-spacing: -.005em;
  line-height: 1.22;
}
h1 { font-size: clamp(32px, 4vw, 50px); }
h2 { font-size: clamp(23px, 2.4vw, 31px); }
h3 { font-size: 20px; }
p { margin: 0 0 1.05em; }
ul { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .35em; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.muted { color: var(--muted); }
.up { color: #9b2226; }
.down { color: #1f6b4a; }
.flat { color: var(--muted); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--navy); color: #fff; padding: 10px 18px;
}
.skip:focus { left: 12px; top: 12px; }
.smallcaps {
  text-transform: uppercase; letter-spacing: .16em;
  font-size: 11px; font-weight: 600;
}

/* 3 — utility bar -------------------------------------------------------- */
.utility { background: var(--navy-deep); color: #b9c7d8; font-size: 12.5px; letter-spacing: .02em; }
.utility-in {
  max-width: var(--wrap); margin: 0 auto; padding: 8px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.utility a { color: #d7e2ef; }
.utility a:hover { color: #fff; text-decoration: none; }
.utility .u-left { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.utility .u-right { display: flex; gap: 14px; align-items: center; }
.lang-sw { display: inline-flex; border: 1px solid #3c5674; border-radius: 2px; overflow: hidden; }
.lang-sw a { padding: 2px 10px; font-size: 11.5px; font-weight: 600; color: #cfdbe8; }
.lang-sw a.on { background: #d7e2ef; color: var(--navy-deep); }

/* 4 — header ------------------------------------------------------------- */
.masthead {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 90;
}
.masthead.scrolled { box-shadow: 0 8px 28px rgba(8, 26, 48, .08); }
.masthead-in {
  max-width: var(--wrap); margin: 0 auto; padding: 16px var(--pad);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.brand img { width: 52px; height: 52px; }
.brand-txt strong {
  display: block; font-family: var(--serif); font-weight: 400; font-size: 19px;
  color: var(--navy); letter-spacing: .01em; line-height: 1.15;
}
.brand-short { display: none !important; }
.brand-txt span { display: block; font-size: 11px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .drop-btn {
  padding: 10px 12px; border: 0; background: none; cursor: pointer;
  font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none; border-radius: 2px; white-space: nowrap;
}
.nav > a:hover, .drop-btn:hover { color: var(--navy); background: var(--paper-2); }
.nav > a.on { color: var(--navy); }
.nav > a.on::after {
  content: ""; display: block; height: 2px; background: var(--green); margin-top: 6px;
}
.drop { position: relative; }
.drop-btn i { font-style: normal; font-size: 9px; opacity: .55; margin-left: 2px; }
.drop-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 320px;
  background: var(--white); border: 1px solid var(--rule);
  box-shadow: 0 24px 50px rgba(8, 26, 48, .13); padding: 6px; display: none; z-index: 120;
}
.drop.open .drop-menu { display: block; }
.drop-menu a { display: block; padding: 11px 14px; border-bottom: 1px solid var(--rule-soft); }
.drop-menu a:last-child { border-bottom: 0; }
.drop-menu a:hover { background: var(--paper-2); text-decoration: none; }
.drop-menu b { display: block; font-family: var(--serif); font-weight: 400; font-size: 15.5px; color: var(--navy); }
.drop-menu span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.nav-side { display: flex; align-items: center; gap: 12px; margin-left: 12px; padding-left: 16px; border-left: 1px solid var(--rule); flex-shrink: 0; }
.nav-side .who { font-size: 12.5px; color: var(--muted); }
.btn-cta {
  display: inline-block; padding: 12px 22px; background: var(--navy); color: #fff;
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--navy); border-radius: 2px;
}
.btn-cta:hover { background: var(--navy-deep); color: #fff; text-decoration: none; }
.btn-cta-line { background: transparent; color: var(--navy); }
.btn-cta-line:hover { background: var(--navy); color: #fff; }
.link-quiet { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.link-quiet:hover { color: var(--navy); text-decoration: none; }

.menu-btn {
  display: none; align-items: center; gap: 9px; margin-left: auto;
  background: transparent; border: 1px solid var(--rule); border-radius: 2px;
  padding: 10px 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--navy); cursor: pointer;
}
.menu-btn em { font-style: normal; }
.menu-btn .bars { display: block; }
.menu-btn .bars span { display: block; width: 15px; height: 1px; background: var(--navy); }
.menu-btn .bars span + span { margin-top: 4px; }

/* 5 — hero --------------------------------------------------------------- */
.hero { background: var(--navy); color: #eaf0f6; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70ch 40ch at 88% -10%, rgba(159, 205, 176, .16), transparent 65%),
    radial-gradient(60ch 40ch at 0% 110%, rgba(255, 255, 255, .06), transparent 60%);
  pointer-events: none;
}
.hero-in {
  position: relative; z-index: 1;
  max-width: var(--wrap); margin: 0 auto; padding: 74px var(--pad) 68px;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 56px; align-items: end;
}
.hero .kicker {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #9fc5b3;
  margin-bottom: 22px; display: flex; align-items: center; gap: 14px;
}
.hero .kicker::before { content: ""; width: 44px; height: 1px; background: #4d7b64; }
.hero h1 { color: #fff; font-size: clamp(32px, 3.9vw, 46px); line-height: 1.18; margin-bottom: 24px; letter-spacing: -.01em; }
.hero h1 em { font-style: italic; color: #cfe3d7; }
.hero .lead { font-size: 17px; line-height: 1.72; color: #c8d6e4; max-width: 52ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-cta { background: #fff; color: var(--navy); border-color: #fff; }
.hero .btn-cta:hover { background: #e6eef6; color: var(--navy-deep); }
.hero .btn-cta-line { background: transparent; color: #fff; border-color: #4f6b88; }
.hero .btn-cta-line:hover { background: rgba(255, 255, 255, .08); }

.hero-facts { border-top: 1px solid #2f4b6a; padding-top: 24px; display: grid; gap: 20px; }
.hero-facts .fact { display: grid; grid-template-columns: 3.4rem 1fr; gap: 14px; align-items: baseline; }
.hero-facts b { font-family: var(--serif); font-weight: 400; font-size: 30px; color: #fff; line-height: 1; }
.hero-facts span { font-size: 12.5px; line-height: 1.55; color: #a9bacd; letter-spacing: .02em; }

/* capability strip under hero */
.capstrip { background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.capstrip-in {
  max-width: var(--wrap); margin: 0 auto; padding: 16px var(--pad);
  display: flex; flex-wrap: wrap; gap: 10px 32px; align-items: center;
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  margin: 0; list-style: none;
}
.capstrip-in li { margin: 0; }
.capstrip-in b { color: var(--navy); font-weight: 600; }

/* 6 — components --------------------------------------------------------- */
.shell {
  max-width: var(--wrap); margin: 0 auto; padding: 60px var(--pad) 80px;
  display: grid; grid-template-columns: minmax(0, 1fr) 318px; gap: 60px; align-items: start;
}
.shell.full { grid-template-columns: minmax(0, 1fr); }
.page { min-width: 0; }
.eyebrow {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 14px; font-weight: 600;
}
.page-title { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: .3em; }
.page-lead { font-size: 17.5px; color: var(--ink-2); max-width: 64ch; line-height: 1.7; }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  margin: 0 0 30px; padding-bottom: 16px; border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); font-size: 14px; max-width: 48ch; }
section + section { margin-top: 60px; }

.prose-block { margin: 36px 0; }
.prose-block h2 { font-size: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); margin-bottom: 20px; }
.prose-block p { color: var(--ink-2); max-width: 70ch; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); margin: 0; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px;
  background: var(--green); border-radius: 50%;
}

/* numbered service rows */
.svc-list { border-top: 1px solid var(--rule); }
.svc-row {
  display: grid; grid-template-columns: 68px minmax(0, 1fr) 180px; gap: 26px;
  padding: 30px 0; border-bottom: 1px solid var(--rule); align-items: start;
  color: inherit; text-decoration: none;
}
a.svc-row:hover { background: var(--white); text-decoration: none; }
.svc-row .num { font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: .1em; padding-top: 5px; }
.svc-row h3 { margin: 0 0 8px; font-size: 24px; }
.svc-row p { margin: 0; color: var(--ink-2); max-width: 58ch; }
.svc-row .go {
  align-self: center; justify-self: end; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 600; color: var(--navy); white-space: nowrap;
}
a.svc-row:hover .go { color: var(--green); }

/* cards */
.card { background: var(--white); border: 1px solid var(--rule); padding: 28px 26px 24px; border-radius: 0; }
.card h3 { font-size: 19px; margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card .go { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.grid-2 > .card { border: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.grid-3 > .card { border: 0; }
.pillar { border-top: 2px solid var(--navy); }
.pillar .num { font-size: 11px; letter-spacing: .14em; color: var(--gold); font-weight: 600; }

/* process steps */
.steps { display: grid; border-top: 1px solid var(--rule); }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.step .n { font-family: var(--serif); color: var(--gold); font-size: 14px; letter-spacing: .1em; padding-top: 4px; }
.step h3 { font-size: 18px; margin: 0 0 5px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* quotation and fact bars */
.pullquote {
  border-left: 2px solid var(--green); padding: 4px 0 4px 28px; margin: 40px 0;
  font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--navy);
}
.factbar {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  margin: 40px 0; background: var(--white);
}
.factbar div { padding: 24px 22px; border-right: 1px solid var(--rule); }
.factbar div:last-child { border-right: 0; }
.factbar b { display: block; font-family: var(--serif); font-weight: 400; font-size: 27px; color: var(--navy); line-height: 1.1; }
.factbar span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 7px; }

.cta-band {
  margin-top: 64px; background: var(--navy); color: #eaf0f6; padding: 46px 48px;
  display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cta-band h3 { color: #fff; font-size: 27px; margin: 0 0 10px; }
.cta-band p { margin: 0; color: #b9c9da; max-width: 50ch; font-size: 15px; }
.cta-band .hero-actions { margin: 0; }
.cta-band .btn-cta { background: #fff; color: var(--navy); border-color: #fff; }
.cta-band .btn-cta-line { background: transparent; color: #fff; border-color: #4f6b88; }

/* 7 — sidebar ------------------------------------------------------------ */
.side { display: grid; gap: 30px; position: sticky; top: 108px; min-width: 0; }
.panel { background: var(--white); border: 1px solid var(--rule); border-top: 2px solid var(--navy); }
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--rule);
}
.panel-head h3 {
  margin: 0; font-family: var(--sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--navy);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.weather { padding: 20px 18px; }
.wx-main { display: flex; align-items: center; gap: 16px; }
.wx-icon { font-size: 30px; line-height: 1; }
.wx-temp { font-family: var(--serif); font-size: 38px; color: var(--navy); line-height: 1; }
.wx-temp span { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-left: 3px; }
.wx-place { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.wx-facts { list-style: none; display: flex; gap: 0; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rule-soft); }
.wx-facts li { flex: 1; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.wx-facts b { display: block; font-family: var(--serif); font-size: 17px; color: var(--ink); margin-top: 4px; text-transform: none; letter-spacing: 0; }
.wx-forecast { font-size: 13px; color: var(--ink-2); margin: 16px 0 0; line-height: 1.62; }
.card-foot { font-size: 11px; color: var(--muted); margin-top: 12px; letter-spacing: .04em; }
.hsi { padding: 16px 18px 20px; border-top: 1px solid var(--rule); background: var(--paper); }
.hsi-head { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); font-weight: 600; }
.tag { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 2px 7px; border: 1px solid var(--rule); color: var(--muted); }
.tag.up { border-color: #e3b9b6; color: #9b2226; }
.tag.down { border-color: #b8d5c5; color: #1f6b4a; }
.hsi-val { display: flex; align-items: baseline; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.hsi-val strong { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--navy); letter-spacing: -.01em; }
.chg { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }

.side-cta { padding: 24px; background: var(--navy); border: 0; }
.side-cta h3 { color: #fff; font-size: 20px; margin-bottom: .45em; }
.side-cta p { color: #b9c9da; font-size: 13.5px; }
.side-cta .btn-cta { background: #fff; color: var(--navy); border-color: #fff; }

.side-list { list-style: none; padding: 0; margin: 0; background: var(--white); border: 1px solid var(--rule); }
.side-list li { margin: 0; border-bottom: 1px solid var(--rule-soft); }
.side-list li:last-child { border-bottom: 0; }
.side-list a { display: block; padding: 13px 16px; font-size: 13.5px; color: var(--ink-2); }
.side-list a:hover { background: var(--paper-2); color: var(--navy); text-decoration: none; }

/* 8 — forms -------------------------------------------------------------- */
.form-card { background: var(--white); border: 1px solid var(--rule); padding: 32px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px;
}
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 7px; letter-spacing: 0; text-transform: none; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date],
input[type=number], select, textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--white); border: 1px solid #cfc9bd; border-radius: 2px;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15, 42, 74, .09); outline: none; }
input:disabled { background: var(--paper-2); color: var(--muted); }
textarea { min-height: 140px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.checkbox input { margin-top: 4px; }
.checkbox label { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 400; margin: 0; }
.btn-submit {
  display: inline-block; padding: 13px 30px; border: 1px solid var(--navy); border-radius: 2px;
  background: var(--navy); color: #fff; cursor: pointer;
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.btn-submit:hover { background: var(--navy-deep); }
.btn-submit[disabled] { opacity: .55; cursor: progress; }
.btn-sm { padding: 9px 18px; font-size: 10.5px; }
.err-list { border-left: 2px solid var(--danger); background: #fbf1f1; padding: 16px 20px; margin-bottom: 24px; color: #7d1d20; font-size: 14px; }
.err-list div + div { margin-top: 6px; }
.flash-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.flash {
  display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
  padding: 13px 18px; font-size: 14px; border: 1px solid var(--rule); background: var(--white);
  border-left: 2px solid var(--green); margin-top: 16px;
}
.flash.err { border-left-color: var(--danger); }
.flash button { background: none; border: 0; font-size: 18px; line-height: 1; color: var(--muted); cursor: pointer; }

/* 9 — forum -------------------------------------------------------------- */
.cat-tabs { display: flex; gap: 0; flex-wrap: wrap; border-bottom: 1px solid var(--rule); margin: 32px 0 0; }
.cat-tabs a {
  padding: 13px 18px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.cat-tabs a:hover { color: var(--navy); text-decoration: none; }
.cat-tabs a.on { color: var(--navy); border-bottom-color: var(--navy); }
.topic-list { display: grid; }
.topic {
  display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 24px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--rule); color: inherit; text-decoration: none;
}
.topic:hover { text-decoration: none; }
.topic:hover h3 { color: var(--green); }
.topic h3 { font-size: 18px; margin: 0 0 7px; transition: color .15s; }
.topic .meta { font-size: 12px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; letter-spacing: .04em; }
.topic .meta span:first-child { text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.topic .count { text-align: right; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.topic .count b { display: block; font-family: var(--serif); font-size: 20px; color: var(--navy); font-weight: 400; margin-bottom: 2px; }
.post { background: var(--white); border: 1px solid var(--rule); padding: 26px; margin-bottom: 16px; }
.post-body { color: var(--ink-2); }
.post-body p:last-child { margin-bottom: 0; }
.post-user { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-family: var(--serif); font-size: 15px;
}

/* 10 — chat -------------------------------------------------------------- */
.chat-wrap { display: grid; grid-template-rows: auto 1fr auto; min-height: 500px; background: var(--white); border: 1px solid var(--rule); }
.chat-intro { padding: 14px 20px; border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--muted); background: var(--paper-2); }
.chat-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.chat-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.chat-log { padding: 24px; overflow-y: auto; max-height: 56vh; display: grid; gap: 16px; align-content: start; }
.msg { display: flex; gap: 12px; align-items: flex-end; }
.msg .bubble { max-width: 74%; padding: 12px 16px; background: var(--paper-2); color: var(--ink); font-size: 14.5px; white-space: pre-wrap; word-break: break-word; border-radius: 2px; }
.msg.me { justify-content: flex-end; }
.msg.me .bubble { background: var(--navy); color: #fff; }
.msg .who { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 5px; }
.msg.staff .bubble { background: var(--green-soft); border: 1px solid #cfe0d5; color: #143825; }
.msg time { font-size: 10.5px; color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.chat-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 16px; border-top: 1px solid var(--rule); }

/* 11 — footer ------------------------------------------------------------ */
.foot { background: var(--navy-deep); color: #a9bacd; margin-top: 88px; }
.foot-in {
  max-width: var(--wrap); margin: 0 auto; padding: 64px var(--pad) 44px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px;
}
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand img { width: 46px; height: 46px; background: #fff; padding: 3px; }
.foot-brand strong { display: block; font-family: var(--serif); font-weight: 400; color: #fff; font-size: 17px; }
.foot-brand span { font-size: 13px; }
.foot-brand p { margin: 16px 0 0; font-size: 12.5px; line-height: 1.7; color: #93a6bc; max-width: 34ch; letter-spacing: .02em; }
.foot-col h4 {
  font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: #7f97b3; margin: 0 0 18px;
}
.foot-col a, .foot-col span { display: block; color: #c4d2e2; font-size: 13.5px; margin-bottom: 10px; }
.foot-col a:hover { color: #fff; text-decoration: none; }
.foot-bar {
  border-top: 1px solid #1e3450; max-width: var(--wrap); margin: 0 auto;
  padding: 22px var(--pad); display: flex; justify-content: space-between; gap: 16px;
  font-size: 11.5px; color: #7f97b3; flex-wrap: wrap; letter-spacing: .04em;
}
.foot-bar a { color: #a9bacd; }

/* 12 — responsive -------------------------------------------------------- */
@media (max-width: 1100px) {
  .shell { grid-template-columns: minmax(0, 1fr) 288px; gap: 40px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: start; }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-facts .fact { grid-template-columns: 1fr; gap: 6px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 940px) {
  :root { --pad: 22px; }
  .utility .hours { display: none; }
  .shell { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .side { position: static; order: 3; }
  .masthead-in { padding: 12px var(--pad); gap: 10px; }
  .brand { min-width: 0; }
  .brand img { width: 40px; height: 40px; flex: 0 0 auto; }
  .brand-txt { min-width: 0; overflow: hidden; }
  .brand-txt strong {
    font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 52vw; display: block;
  }
  .brand-full { display: none !important; }
  .brand-short { display: block !important; }
  .brand-txt span { display: none; }
  .menu-btn { display: inline-flex; flex: 0 0 auto; margin-left: auto; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--rule);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 22px;
    box-shadow: 0 24px 40px rgba(8, 26, 48, .1);
  }
  .nav.open { display: flex; }
  .nav > a, .drop-btn { text-align: left; padding: 14px 4px; border-bottom: 1px solid var(--rule-soft); border-radius: 0; }
  .nav > a.on::after { display: none; }
  .drop-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .drop-menu a { border-bottom: 0; padding: 9px 4px; }
  .drop-menu a > span { display: none; }   /* hides the description only — the title lives in <b><span> */
  .drop { width: 100%; }
  .drop-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; }
  .drop-btn i { display: none; }
  .drop-menu { padding: 2px 0 8px 14px; }
  .drop-menu a { padding: 12px 4px; border-bottom: 1px dotted var(--rule-soft); }
  .drop-menu a:last-child { border-bottom: 0; }
  .drop-menu b { font-size: 15px; }
  .nav-side { border-left: 0; padding-left: 0; margin: 18px 0 0; flex-wrap: wrap; }
  .svc-row { grid-template-columns: 44px minmax(0, 1fr); }
  .svc-row .go { grid-column: 2; justify-self: start; margin-top: 12px; }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .factbar { grid-template-columns: 1fr 1fr; }
  .factbar div:nth-child(2) { border-right: 0; }
  .factbar div { border-bottom: 1px solid var(--rule); }
  .cta-band { padding: 34px 26px; }
}
@media (max-width: 600px) {
  .hero-in { padding: 48px var(--pad) 44px; }
  .hero-facts { grid-template-columns: 1fr; gap: 16px; }
  .hero-facts .fact { grid-template-columns: 3.2rem 1fr; }
  .row-2 { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: 1fr; gap: 32px; }
  .chat-form { grid-template-columns: minmax(0, 1fr); }
  .msg .bubble { max-width: 86%; }
  .utility-in { flex-direction: column; align-items: flex-start; gap: 6px; }
  .topic { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .topic .count { text-align: left; }
  .section-head { flex-direction: column; gap: 8px; }
  .cta-band { padding: 28px 22px; }
}

/* 13 — print ------------------------------------------------------------- */
@media print {
  .utility, .masthead, .foot, .side, .hero-actions, .chat-form, .menu-btn, .cat-tabs, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  .shell { display: block; padding: 0; }
  .card, .post { border-color: #bbb; }
  h1, h2, h3 { color: #000; }
}

/* 14 — aliases so older templates keep the same appearance -------------- */
.btn {
  display: inline-block; padding: 12px 22px; background: var(--navy); color: #fff;
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--navy); border-radius: 2px;
}
.btn:hover { background: var(--navy-deep); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--rule); }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--rule); }
.btn-line:hover { background: var(--paper-2); color: var(--navy); }
.btn.btn-sm, .btn-sm { padding: 9px 18px; font-size: 10.5px; }
.pill {
  display: inline-block; padding: 10px 18px; background: var(--navy); color: #fff;
  border: 1px solid var(--navy); border-radius: 2px;
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.pill:hover { background: var(--navy-deep); color: #fff; text-decoration: none; }
.pill-ghost { background: transparent; color: var(--navy); border-color: var(--rule); }
.pill-ghost:hover { background: var(--paper-2); color: var(--navy); }
.hero .btn { background: #fff; color: var(--navy); border-color: #fff; }
.hero .btn:hover { background: #e6eef6; color: var(--navy-deep); }
.hero .btn-ghost, .hero .btn-line { background: transparent; color: #fff; border-color: #4f6b88; }
.hero .btn-ghost:hover, .hero .btn-line:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.cta-band .btn { background: #fff; color: var(--navy); border-color: #fff; }
.cta-band .btn-ghost, .cta-band .btn-line { background: transparent; color: #fff; border-color: #4f6b88; }


/* ---- static edition additions ---------------------------------------- */
.lang:not(.on) { display: none !important; }
.notice {
  border: 1px solid var(--rule); border-left: 2px solid var(--gold);
  background: var(--paper-2); padding: 16px 20px; font-size: 13.5px; color: var(--ink-2);
}
.notice p { margin: 0; }
.topic h3 { font-size: 18px; }
.hero-facts .fact-word b { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.price-table { width: 100%; border-collapse: collapse; margin: 8px 0 6px; background: var(--white); border: 1px solid var(--rule); }
.price-table th, .price-table td { padding: 16px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table th {
  text-align: left; font-family: var(--sans); font-size: 15px; font-weight: 600;
  color: var(--navy); width: 46%;
}
.price-table td { font-family: var(--serif); font-size: 20px; color: var(--navy); }
.price-note { font-size: 12.5px; color: var(--muted); margin: 2px 0 0; font-family: var(--sans); font-weight: 400; }
.grid-2 > div { background: var(--paper); }
.grid-2 > div .card + .card { margin-top: 16px; }
.foot-col a span, .foot-col a { white-space: nowrap; }
.thread-actions { margin-top: 18px; }
.flash-wrap { padding-top: 0; }

/* 14 — mobile navigation ---------------------------------------------------
   The drawer sits under a sticky masthead, so it must not grow past the
   viewport: give it its own scroll area. And the Services list is always
   expanded on small screens, so its rows need to look like rows.            */
@media (max-width: 940px) {
  .nav {
    /* the height is set from app.js: the drawer starts below a sticky masthead
       that sits below the utility bar, so a fixed calc() is wrong */
    max-height: calc(100dvh - 140px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  body.nav-open { overflow: hidden; }
  .drop-menu a:focus-visible,
  .drop-menu a:active { background: var(--paper-2); }
  /* A flex column does not report its overflowing children in scrollHeight,
     so the last rows of a long menu could never be scrolled into view.
     Lay the open drawer out as normal block flow instead. */
  .nav.open { display: block; }
  .nav > a, .drop, .drop-btn { display: block; width: 100%; }
  .nav-side { display: flex; flex-wrap: wrap; align-items: center; }
  .nav { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
}
@supports not (height: 100dvh) {
  @media (max-width: 940px) {
    .nav { max-height: calc(100vh - 66px); }
  }
}

/* 15 — when the drawer takes over -----------------------------------------
   The horizontal nav needs about 1180 px: below that, Services + the CTA
   buttons overflow the masthead. Switch to the drawer earlier than the rest
   of the 940 px layout so nothing is ever cut off.                          */
@media (max-width: 1180px) {
  .menu-btn { display: inline-flex; flex: 0 0 auto; margin-left: auto; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--rule);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--pad) max(28px, env(safe-area-inset-bottom));
    box-shadow: 0 24px 40px rgba(8, 26, 48, .1);
    max-height: calc(100dvh - 140px);
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  .nav.open { display: block; }
  .nav > a, .drop, .drop-btn { display: block; width: 100%; }
  .nav > a, .drop-btn {
    text-align: left; padding: 14px 4px; border-bottom: 1px solid var(--rule-soft); border-radius: 0;
  }
  .nav > a.on::after { display: none; }
  .drop { position: relative; }
  .drop-btn i { display: none; }
  .drop-menu {
    position: static; display: block; box-shadow: none; border: 0;
    padding: 2px 0 8px 14px; min-width: 0;
  }
  .drop-menu a { padding: 12px 4px; border-bottom: 1px dotted var(--rule-soft); }
  .drop-menu a:last-child { border-bottom: 0; }
  .drop-menu a > span { display: none; }
  .drop-menu b { font-size: 15px; }
  .nav-side {
    display: flex; flex-wrap: wrap; align-items: center;
    border-left: 0; padding-left: 0; margin: 18px 0 0;
  }
  body.nav-open { overflow: hidden; }
}

/* 16 — resources menu, industry news, project references ------------------- */
.drop-h {
  display: block; padding: 10px 14px 3px;
  font-family: var(--sans); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.in-list { list-style: none; margin: 0; padding: 0; }
.in-list li { padding: 9px 0; border-bottom: 1px solid var(--rule-soft); }
.in-list li:last-child { border-bottom: 0; }
.in-list li:first-child { padding-top: 2px; }
.in-list a { display: block; font-size: 13px; line-height: 1.42; color: var(--ink); text-decoration: none; }
.in-list a:hover { color: var(--navy); text-decoration: underline; }
.in-meta { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); }
.in-meta em { font-style: normal; color: #1f6b4a; border: 1px solid var(--rule); padding: 0 4px; margin-left: 5px; }
.in-foot { margin: 10px 0 0; font-size: 10.5px; color: var(--muted); }
.in-empty { margin: 0; font-size: 12.5px; color: var(--muted); }
.ai-note {
  margin: 0 0 14px; padding: 8px 12px; font-size: 11.5px; color: var(--muted);
  background: var(--paper-2); border-left: 2px solid var(--green);
}
.pr-group { margin: 0 0 34px; }
.pr-group h2 {
  font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy); padding-bottom: 8px; border-bottom: 1px solid var(--rule); margin: 0 0 14px;
}
.pr-table { width: 100%; border-collapse: collapse; }
.pr-table th {
  text-align: left; font-family: var(--sans); font-size: 9.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
  padding: 6px 10px 6px 0; border-bottom: 1px solid var(--rule-soft);
}
.pr-table td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--rule-soft); font-size: 13.5px; vertical-align: top; }
.pr-table td:first-child { width: 46%; }
.pr-table td:last-child, .pr-table th:last-child { padding-right: 0; text-align: right; white-space: nowrap; }
.pr-table .yr { font-family: var(--serif); color: var(--navy); white-space: nowrap; }
@media (max-width: 600px) {
  .pr-table, .pr-table thead, .pr-table tbody, .pr-table tr, .pr-table td { display: block; width: 100%; }
  .pr-table thead { display: none; }
  .pr-table tr { padding: 10px 0; border-bottom: 1px solid var(--rule-soft); }
  .pr-table td { border: 0; padding: 2px 0; width: auto; }
  .pr-table td:first-child { width: auto; }
  .pr-table td:last-child { text-align: left; }
}
/* the resources menu is long: two columns on desktop, right-anchored */
@media (min-width: 1181px) {
  .drop.open .drop-menu.wide {
    display: grid;
  }
  .drop-menu.wide {
    left: auto; right: 0;
    width: 660px; min-width: 660px;
    grid-template-columns: 1fr 1fr; column-gap: 26px;
    max-height: calc(100vh - 132px); overflow-y: auto;
  }
  .drop-menu.wide .drop-h { grid-column: 1 / -1; }
  .drop-menu.wide a { border-bottom: 0; padding: 7px 12px; }
  .drop-menu.wide a:nth-of-type(odd) { border-right: 0; }
}

/* ==========================================================================
   14 — refresh 2026-11-22 · bc-refresh-20261122
   photographic hero, project gallery with filter and lightbox, small polish
   ========================================================================== */

/* 14.1 photographic hero -------------------------------------------------- */
.hero--photo { background: var(--navy-deep); --hero-img: url("../img/hero/hero-home.jpg"); }
.hero--photo::before {
  content: ""; position: absolute; inset: -1px;
  background-image: var(--hero-img); background-size: cover; background-position: 50% 32%;
  opacity: .66; transform: scale(1.02); filter: saturate(1.06) contrast(1.02);
}
.hero--photo::after {
  background:
    linear-gradient(100deg, rgba(6, 18, 33, .95) 0%, rgba(8, 26, 48, .84) 40%, rgba(8, 26, 48, .34) 72%, rgba(8, 26, 48, .16) 100%),
    radial-gradient(60ch 40ch at 92% -10%, rgba(159, 205, 176, .16), transparent 62%);
}
.hero--photo .hero-in { padding-top: 92px; padding-bottom: 84px; }
.hero--photo .hero-facts {
  background: rgba(6, 18, 33, .46);
  border: 1px solid rgba(255, 255, 255, .14);
  border-top-color: rgba(159, 205, 176, .45);
  padding: 22px 24px;
  backdrop-filter: blur(7px) saturate(1.1);
}
.hero--photo .hero-facts .fact { border-bottom: 1px solid rgba(255, 255, 255, .08); padding-bottom: 16px; }
.hero--photo .hero-facts .fact:last-child { border-bottom: 0; padding-bottom: 0; }

/* 14.2 band at the top of the projects page ------------------------------- */
.page-hero {
  --hero-img: url("../img/hero/hero-projects.jpg");
  height: clamp(180px, 26vw, 300px);
  background-image: var(--hero-img);
  background-size: cover; background-position: 50% 55%;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 26, 48, .04), rgba(8, 26, 48, .26));
}

/* 14.3 selected work on the home page ------------------------------------- */
.work-band-wrap {
  background: var(--white);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.work-band-in { max-width: var(--wrap); margin: 0 auto; padding: 46px var(--pad) 40px; }
.work-band-in .section-head { margin-bottom: 22px; padding-bottom: 14px; }
.work-band {
  background: var(--white); border: 1px solid var(--rule);
  padding: 26px 26px 22px; margin: 0 0 6px;
}
.work-band .section-head { margin-bottom: 20px; padding-bottom: 12px; }
.work-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.work-strip a {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--paper-2); border: 1px solid var(--rule-soft);
}
.work-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-strip a:hover img { transform: scale(1.05); }
.work-strip span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 12px 10px; color: #fff;
  background: linear-gradient(transparent, rgba(8, 26, 48, .86));
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.35;
}
.work-strip span b { display: block; font-weight: 600; }
.work-strip span i { display: block; font-style: normal; opacity: .72; letter-spacing: .04em; }
.work-more { margin: 18px 0 0; }

/* 14.4 gallery ------------------------------------------------------------ */
.gal-band {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 8px;
}
.gal-band-in { max-width: var(--wrap); margin: 0 auto; padding: 54px var(--pad) 62px; }
.gal-band .gal { grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 12px; }
.gal-section { margin-top: 8px; }
.jump-link { margin: -6px 0 22px; }
.jump-link a {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--rule);
  padding-bottom: 3px;
}
.jump-link a:hover { color: var(--green); border-color: var(--green); text-decoration: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.filters button {
  appearance: none; background: var(--white); border: 1px solid var(--rule); color: var(--ink-2);
  padding: 8px 16px; border-radius: 0; cursor: pointer;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.filters button:hover { border-color: var(--navy); color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.gal-group { margin: 0 0 34px; }
.gal-h {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--navy);
  margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--rule-soft);
}
.gal-h em {
  font-style: normal; font-family: var(--sans); font-size: 10.5px; letter-spacing: .14em;
  color: var(--muted); margin-left: auto;
}
.gal-group[hidden] { display: none; }

.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 10px; }
.gal figure {
  position: relative; margin: 0; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--paper-2);
  border: 1px solid var(--rule-soft);
}
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .3s var(--ease); }
.gal figure:hover img, .gal figure:focus-within img { transform: scale(1.06); }
.gal-open {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; background: transparent; cursor: zoom-in;
}
.gal-open::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(8, 26, 48, 0) 45%, rgba(8, 26, 48, .55) 100%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.gal figure:hover .gal-open::after, .gal-open:focus-visible::after { opacity: 1; }
.gal .tag {
  position: absolute; left: 8px; bottom: 8px; pointer-events: none;
  background: rgba(8, 26, 48, .8); color: #fff;
  font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 7px;
}

/* 14.5 lightbox ----------------------------------------------------------- */
.lb {
  position: fixed; inset: 0; z-index: 500;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(5, 12, 21, .975);
}
.lb[hidden] { display: none; }
.lb.on { opacity: 1; }
.lb-stage img { animation: lbIn .22s var(--ease) both; }
@keyframes lbIn { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.lb-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 22px; color: #c6d6e6;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.lb-bar b { color: #fff; font-weight: 600; letter-spacing: .1em; }
.lb-stage { display: grid; place-items: center; padding: 0 20px; min-height: 0; }
.lb-stage img {
  max-width: min(1600px, 94vw); max-height: 74vh; width: auto; height: auto;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .55); background: #0b1622;
}
.lb-foot {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 22px 22px; color: #93a7bb; font-size: 11px; letter-spacing: .1em;
}
.lb button {
  appearance: none; background: transparent; color: #fff;
  border: 1px solid rgba(255, 255, 255, .32); padding: 9px 16px; cursor: pointer;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.lb button:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); }
.lb button:disabled { opacity: .35; cursor: default; }
body.lb-open { overflow: hidden; }

/* 14.6 polish ------------------------------------------------------------- */
/* caret that does not depend on the display font having U+25BE */
.drop-btn i {
  font-size: 0; line-height: 0; display: inline-block; vertical-align: middle;
  width: 0; height: 0; margin-left: 2px;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.svc-row { transition: background .25s var(--ease), padding-left .25s var(--ease); }
.svc-row:hover { background: var(--white); padding-left: 12px; text-decoration: none; }
.card { transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.card:hover { box-shadow: 0 12px 34px rgba(15, 42, 74, .09); transform: translateY(-2px); }
.btn-cta { transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }

@media (max-width: 900px) {
  .work-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .lb-stage img { max-height: 66vh; }
}
@media (max-width: 600px) {
  .hero--photo .hero-facts { padding: 18px 18px 16px; }
  .hero--photo .hero-facts .fact { grid-template-columns: 1fr; gap: 2px; }
  .hero--photo .hero-facts b { font-size: 26px; }
  .hero--photo .hero-facts .fact-word b { font-size: 12px; letter-spacing: .1em; }
}
@media (max-width: 560px) {
  .work-band { padding: 18px 16px; }
  .work-strip { grid-template-columns: 1fr 1fr; gap: 8px; }
  .work-strip span { font-size: 9px; padding: 22px 8px 8px; }
  .gal { grid-template-columns: 1fr 1fr; gap: 8px; }
  .lb-bar, .lb-foot { padding-left: 14px; padding-right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .work-strip img, .gal img, .svc-row, .card, .btn-cta, .lb { transition: none !important; }
  .work-strip a:hover img, .gal figure:hover img, .card:hover { transform: none !important; }
}



/* ==========================================================================
   15 — market switch & WhatsApp contact (2026-11-26)
   Added when the site became the Hong Kong branch of a two-market site.
   ========================================================================== */

.wa-link { display: inline-flex; align-items: center; gap: 7px; }
.wa-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #25D366; display: inline-block; flex: 0 0 auto;
  box-shadow: 0 0 0 2px rgba(37, 211, 102, .18);
}

.nav-side .nav-market {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #2f7d5e;
  text-decoration: none;
  white-space: nowrap;
  padding: 7px 2px;
}
.nav-side .nav-market:hover { color: var(--navy-deep); text-decoration: none; }
.nav-side .nav-market--ca {
  color: var(--navy-deep);
  border: 1px solid #cdd8d3;
  border-radius: 2px;
  padding: 7px 12px;
}
.nav-side .nav-market--ca:hover {
  background: #eef7f2;
  border-color: #9fd7bd;
  color: var(--navy-deep);
}
@media (max-width: 1180px) {
  .nav-side { flex-wrap: wrap; }
  .nav-side .nav-market { display: inline-block; }
}

/* market switch, moved into the utility bar */
.utility .u-market {
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: #d7e2ef;
  text-decoration: none;
  white-space: nowrap;
}
.utility .u-market--ca { color: #9ee7c3; }
.utility .u-market:hover { color: #fff; text-decoration: none; }
@media (max-width: 640px) {
  .utility .u-market { font-size: 11px; }
}
