/* BSG Engineering — site stylesheet
   Layout concept: an engineering drawing sheet. Pages carry title-block
   footers, drawing-grid textures, datasheet-style cards, and a numbered
   stage-gate process. Committed single light look (navy bands on steel paper). */
:root {
  --ink: #0b1b2b;        /* deep navy — bands, headings */
  --ink-2: #132a41;      /* lifted navy for cards on ink */
  --ink-3: #1c3a58;
  --paper: #f4f6f8;      /* steel paper page ground */
  --paper-2: #e9eef2;
  --white: #ffffff;
  --line: #cdd6de;
  --line-strong: #9fb0bf;
  --text: #15232f;
  --muted: #5b6b79;
  --blue: #0070b8;       /* BSG blue from the logo drop */
  --blue-2: #0b8ed6;
  --blue-soft: #e3f0fa;
  --flame: #d9412b;      /* the logo's flame — used sparingly */
  --flame-soft: #fde9e5;
  --on-ink: #e7eef5;
  --on-ink-muted: #9db0c3;

  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --maxw: 1180px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --radius: 4px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-2); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0; color: var(--ink); text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p { margin: 0; }
.lede { font-size: 1.2rem; max-width: 62ch; color: var(--muted); }
.prose p + p { margin-top: 0.8em; }
.prose { max-width: 66ch; }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--flame); }
.on-ink .eyebrow { color: var(--on-ink-muted); }
.on-ink h1, .on-ink h2, .on-ink h3, .on-ink h4 { color: var(--white); }
.on-ink { color: var(--on-ink); }
.on-ink .lede { color: var(--on-ink-muted); }
.on-ink a { color: #8fd0ff; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- containers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band { padding-block: clamp(56px, 8vw, 110px); }
.band-ink { background: var(--ink); }
.band-paper2 { background: var(--paper-2); }
.band-white { background: var(--white); }
.band-tight { padding-block: clamp(36px, 5vw, 64px); }
.grid-bg { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; background-position: center top; }
.band-ink.grid-bg { background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 60ch; }
.section-head.wide { max-width: none; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.two-col > * { min-width: 0; }
.contact-grid { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.four-col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.three-col > *, .four-col > * { min-width: 0; }
@media (max-width: 900px) { .two-col, .three-col, .four-col { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .two-col, .three-col, .four-col { grid-template-columns: 1fr; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border: 2px solid var(--blue); background: var(--blue); color: var(--white); font-family: var(--display); font-size: 1.1rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; border-radius: var(--radius); cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { background: var(--blue-2); border-color: var(--blue-2); color: var(--white); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white); }
.on-ink .btn.ghost { color: var(--white); border-color: rgba(255,255,255,0.6); }
.on-ink .btn.ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn.flame { background: var(--flame); border-color: var(--flame); }
.btn.flame:hover { background: #e9553f; border-color: #e9553f; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(11,27,43,0.04); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 10px 10px; border-radius: var(--radius); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--flame); }
.nav a.intl { border: 1px solid var(--ink); margin-left: 8px; background: var(--ink); color: var(--white); }
.nav a.intl:hover { background: var(--ink-3); border-color: var(--ink-3); color: var(--white); }
.nav-toggle { display: none; background: none; border: 1px solid var(--ink); color: var(--ink); border-radius: var(--radius); padding: 8px 10px; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 1rem; cursor: pointer; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); flex-direction: column; align-items: stretch; padding: 10px var(--gutter-r) 18px var(--gutter-l); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(11,27,43,0.12); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; border-bottom: 1px solid var(--line); }
  .nav a.intl { margin: 10px 0 0; }
}
.topline { background: #06121f; color: var(--on-ink-muted); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; }
.topline .wrap { display: flex; justify-content: space-between; gap: 16px; min-height: 30px; align-items: center; flex-wrap: wrap; }
.topline a { color: var(--on-ink-muted); text-decoration: none; }
.topline a:hover { color: var(--white); }
@media (max-width: 700px) { .topline .hide-sm { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-ink); overflow: hidden; isolation: isolate; }
.hero .photo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: 0.42; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11,27,43,0.96) 0%, rgba(11,27,43,0.7) 55%, rgba(11,27,43,0.35) 100%); }
.hero .wrap { padding-block: clamp(64px, 10vw, 140px); display: grid; gap: 22px; max-width: var(--maxw); }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero .lede { color: #c8d6e3; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.hero-strip { border-top: 1px solid rgba(255,255,255,0.15); background: rgba(6,18,31,0.6); backdrop-filter: blur(4px); }
.hero-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-block: 0; }
.hero-strip .stat { padding: 18px 18px 18px 0; border-right: 1px solid rgba(255,255,255,0.12); margin-right: 18px; }
.hero-strip .stat:last-child { border-right: 0; }
.stat .n { font-family: var(--display); font-size: 2.2rem; font-weight: 700; color: var(--white); line-height: 1; }
.stat .l { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-ink-muted); margin-top: 6px; }
@media (max-width: 800px) { .hero-strip .wrap { grid-template-columns: 1fr 1fr; } .hero-strip .stat:nth-child(2) { border-right: 0; } }

/* page hero (interior) */
.page-hero { background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; }
.page-hero .photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.22; }
.page-hero .wrap { position: relative; padding-block: clamp(48px, 7vw, 96px); display: grid; gap: 16px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 4rem); }
.page-hero .lede { color: #c8d6e3; }
.crumb { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-ink-muted); }
.crumb a { color: var(--on-ink-muted); text-decoration: none; }
.crumb a:hover { color: var(--white); }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards > * { min-width: 0; }
@media (max-width: 980px) { .cards, .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards, .cards.two, .cards.four { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 24px; display: grid; gap: 12px; align-content: start; }
.card h3 { font-size: 1.45rem; }
.card ul { margin: 0; padding-left: 18px; color: var(--text); }
.card li + li { margin-top: 4px; }
.card .num { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--muted); }
.card.link { text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; }
.card.link:hover { transform: translateY(-3px); border-top-color: var(--flame); }
.card .more { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); font-size: 1.05rem; margin-top: auto; }
.on-ink .card { background: var(--ink-2); border-color: rgba(255,255,255,0.1); border-top-color: var(--blue-2); color: var(--on-ink); }
.on-ink .card h3 { color: var(--white); }
.on-ink .card ul { color: var(--on-ink); }
.on-ink .card .num { color: var(--on-ink-muted); }

/* datasheet (project) card */
.ds { background: var(--white); border: 1px solid var(--line-strong); font-size: 0.95rem; display: grid; grid-template-rows: auto 1fr auto; }
.ds-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 10px 14px; border-bottom: 1px solid var(--line-strong); background: var(--paper-2); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ds-body { padding: 16px 14px; display: grid; gap: 10px; }
.ds-body h3 { font-size: 1.35rem; }
.ds-body p { color: var(--text); }
.ds-body ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.92rem; }
.ds-foot { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); }
.ds-foot div { padding: 10px 14px; }
.ds-foot div + div { border-left: 1px solid var(--line-strong); }
.ds-foot .k { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ds-foot .v { font-family: var(--display); font-size: 1.4rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.tag { display: inline-block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: 2px; color: var(--muted); }
.tag.blue { border-color: var(--blue); color: var(--blue); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- discipline list ---------- */
.disc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.disc > * { min-width: 0; }
.disc article { background: var(--white); padding: 24px; display: grid; gap: 10px; align-content: start; }
.disc article h3 { font-size: 1.4rem; display: flex; gap: 12px; align-items: baseline; }
.disc article h3 .idx { font-family: var(--mono); font-size: 0.75rem; color: var(--flame); letter-spacing: 0.1em; }
.disc ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.95rem; }
.disc li + li { margin-top: 3px; }
@media (max-width: 980px) { .disc { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .disc { grid-template-columns: 1fr; } }

/* ---------- stage gates / process ---------- */
.gates { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; counter-reset: gate; }
.gates > * { min-width: 0; }
.gate { background: var(--white); border: 1px solid var(--line-strong); padding: 16px 14px; display: grid; gap: 8px; position: relative; }
.gate .code { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--muted); }
.gate h4 { font-size: 1.25rem; }
.gate p { font-size: 0.9rem; color: var(--muted); }
.gate::after { content: "▶"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); font-size: 0.7rem; color: var(--line-strong); }
.gate:last-child::after { content: none; }
.gate.calgary { border-top: 3px solid var(--ink); }
.gate.hvec { border-top: 3px solid var(--blue-2); }
@media (max-width: 980px) { .gates { grid-template-columns: repeat(3, 1fr); } .gate::after { content: none; } }
@media (max-width: 600px) { .gates { grid-template-columns: 1fr 1fr; } }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.legend span::before { content: ""; display: inline-block; width: 14px; height: 3px; margin-right: 8px; vertical-align: middle; background: var(--ink); }
.legend span.hv::before { background: var(--blue-2); }

/* ---------- steps (numbered real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps > * { min-width: 0; }
.step { padding: 22px; border: 1px solid var(--line); background: var(--white); display: grid; gap: 10px; align-content: start; }
.step .n { font-family: var(--display); font-size: 2.6rem; font-weight: 700; color: var(--flame); line-height: 1; }
.step h3 { font-size: 1.4rem; }
.step ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.95rem; }
.on-ink .step { background: var(--ink-2); border-color: rgba(255,255,255,0.1); }
.on-ink .step ul { color: var(--on-ink-muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps.four { grid-template-columns: 1fr; } }

/* ---------- table ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line-strong); background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); white-space: nowrap; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
tbody tr:hover { background: var(--blue-soft); }
tfoot td { font-weight: 700; background: var(--paper-2); }

/* ---------- client wall ---------- */
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.clients span { background: var(--white); padding: 14px 12px; font-family: var(--display); font-size: 1.1rem; letter-spacing: 0.02em; color: var(--ink-3); text-align: center; }

/* ---------- people ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.person { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--ink); display: grid; }
.person .photo { aspect-ratio: 4 / 4.4; background: linear-gradient(160deg, var(--ink-2), var(--ink-3)); display: grid; place-items: center; color: var(--on-ink-muted); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; padding: 10px; max-width: 100%; }
.person .photo img { width: 100%; height: 100%; object-fit: cover; }
.person .info { padding: 20px; display: grid; gap: 6px; align-content: start; }
.person .name { font-family: var(--display); font-size: 1.4rem; font-weight: 700; color: var(--ink); line-height: 1.05; }
.person .role { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.person .bio { font-size: 0.95rem; color: var(--muted); }

/* ---------- callout / quote ---------- */
.callout { border-left: 4px solid var(--flame); background: var(--white); padding: 20px 24px; display: grid; gap: 8px; }
.callout .big { font-family: var(--display); font-size: 1.7rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.on-ink .callout { background: var(--ink-2); }
.on-ink .callout .big { color: var(--white); }
.bignum { font-family: var(--display); font-size: clamp(2.8rem, 6vw, 4.4rem); font-weight: 700; color: var(--ink); line-height: 0.95; }
.on-ink .bignum { color: var(--white); }
.bignum small { display: block; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; font-weight: 400; }
.on-ink .bignum small { color: var(--on-ink-muted); }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 700px) { .stats-row { grid-template-columns: 1fr; } }

/* ---------- finder / explorer controls ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--display); font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 9px 14px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); border-radius: 999px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip:hover { border-color: var(--ink); }
.finder-result { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-top: 24px; }
.finder-result > * { min-width: 0; }
@media (max-width: 800px) { .finder-result { grid-template-columns: 1fr; } }
.explorer-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.explorer-bar .totals { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--muted); }
select, input, textarea { font: inherit; color: var(--text); background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 11px 12px; width: 100%; }
select { width: auto; }
textarea { min-height: 150px; resize: vertical; }
label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: grid; gap: 6px; }
.form { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form > * { min-width: 0; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.form-note { font-size: 0.9rem; color: var(--muted); }
.form-msg { padding: 14px 16px; border: 1px solid var(--blue); background: var(--blue-soft); color: var(--ink); display: none; }
.form-msg.show { display: block; }
.hp { position: absolute; left: -9999px; }

/* ---------- clocks (follow the sun) ---------- */
.clocks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .clocks { grid-template-columns: 1fr; } }
.clock { background: var(--ink-2); border: 1px solid rgba(255,255,255,0.12); padding: 22px; display: grid; gap: 6px; }
.clock .city { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-ink-muted); }
.clock .time { font-family: var(--display); font-size: 3.4rem; font-weight: 700; color: var(--white); line-height: 1; }
.clock .state { font-size: 0.95rem; color: #c8d6e3; }
.clock .bar { height: 6px; background: rgba(255,255,255,0.1); position: relative; margin-top: 8px; border-radius: 3px; overflow: hidden; }
.clock .bar i { position: absolute; top: 0; bottom: 0; background: var(--blue-2); }
.clock .bar b { position: absolute; top: -3px; width: 3px; height: 12px; background: var(--flame); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 700px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- misc ---------- */
.photo-block { border: 1px solid var(--line); background: var(--white); padding: 6px; }
.photo-block img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3; max-width: 100%; }
.photo-block figcaption { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 8px 6px 4px; }
.placeholder { border: 2px dashed var(--line-strong); background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(0,0,0,0.025) 10px 20px); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; min-height: 220px; max-width: 100%; }
.on-ink .placeholder { border-color: rgba(255,255,255,0.3); color: var(--on-ink-muted); }
.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check li { padding-left: 30px; position: relative; }
.check li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border: 2px solid var(--blue); border-radius: 2px; background: linear-gradient(135deg, transparent 45%, var(--blue) 45% 55%, transparent 55%); }
.pillbar { display: inline-flex; gap: 6px; padding: 4px; background: var(--paper-2); border-radius: 999px; }
.pillbar button { font-family: var(--display); font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; cursor: pointer; color: var(--ink); }
.pillbar button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.cta-band { background: linear-gradient(100deg, var(--ink) 0%, var(--ink-3) 100%); }
.cta-band .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding-block: clamp(44px, 6vw, 80px); }
@media (max-width: 800px) { .cta-band .wrap { grid-template-columns: 1fr; } }
canvas.cloud { width: 100%; height: 360px; display: block; max-width: 100%; border: 1px solid rgba(255,255,255,0.15); background: #07131f; }

/* ---------- footer / title block ---------- */
.site-footer { background: #06121f; color: var(--on-ink-muted); }
.site-footer .wrap { padding-block: 48px 24px; display: grid; gap: 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid > * { min-width: 0; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-size: 1.1rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 0.95rem; }
.site-footer .brand img { height: 46px; margin-bottom: 14px; }
.site-footer address { font-style: normal; font-size: 0.95rem; line-height: 1.5; }
.titleblock { border: 1px solid rgba(255,255,255,0.2); display: grid; grid-template-columns: repeat(5, auto); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.titleblock > div { padding: 8px 12px; border-right: 1px solid rgba(255,255,255,0.2); min-width: 0; }
.titleblock > div:last-child { border-right: 0; }
.titleblock .k { color: #6f8498; display: block; font-size: 0.62rem; }
.titleblock .v { color: var(--on-ink); }
@media (max-width: 800px) { .titleblock { grid-template-columns: 1fr 1fr; } .titleblock > div { border-bottom: 1px solid rgba(255,255,255,0.2); } }
.legal { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 0.85rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print { .site-header, .topline, .nav-toggle { display: none; } }

/* ---------- project photo gallery & strip ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pgrid > * { min-width: 0; }
@media (max-width: 980px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pgrid { grid-template-columns: 1fr; } }
.pcard { background: var(--white); border: 1px solid var(--line-strong); display: grid; grid-template-rows: auto 1fr; }
.pcard img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; max-width: 100%; border-bottom: 1px solid var(--line-strong); }
.pcard-body { padding: 16px; display: grid; gap: 8px; align-content: start; }
.pcard-body h3 { font-size: 1.4rem; }
.pcard-body p { font-size: 0.93rem; color: var(--muted); }
.pcard-body .num { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 28px; }
.strip > * { min-width: 0; }
.strip a { position: relative; display: block; text-decoration: none; color: var(--white); border: 1px solid var(--line-strong); }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; max-width: 100%; }
.strip span { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; background: linear-gradient(transparent, rgba(11,27,43,0.9)); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 800px) { .strip { grid-template-columns: 1fr 1fr; } }
