:root {
  --bg: #e8edf2;
  --ink: #101820;
  --muted: #4a5866;
  --line: #c5ced8;
  --panel: #f4f7fa;
  --accent: #1f4e79;
  --accent-soft: #d5e3f0;
  --mark-bg: #B7B0A8;
  --mark-ink: #0a0a0a;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --brand: "Space Grotesk", "Barlow", "Helvetica Neue", Helvetica, sans-serif;
  --body: "Barlow", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: .5rem; top: .5rem; background: #fff; padding: .5rem 1rem; z-index: 99; }
.rail { width: min(1120px, 92vw); margin: 0 auto; }

.bar {
  border-bottom: 1px solid var(--line);
  background: rgba(232, 237, 242, .92);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 20;
}
.bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  text-decoration: none; color: var(--ink);
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 4px;
  background: var(--mark-bg); object-fit: cover;
}
.brand-word {
  display: inline; color: var(--ink);
  font-family: var(--brand); font-weight: 700;
  font-size: 1.02rem; letter-spacing: -0.025em;
  line-height: 1; padding: 0; margin: 0;
  background: none; border-radius: 0;
  text-transform: none; white-space: nowrap;
}
.bar nav { display: flex; flex-wrap: wrap; gap: .35rem 1.15rem; }
.bar nav a {
  text-decoration: none; color: var(--muted); font-weight: 600; font-size: .92rem;
}
.bar nav a:hover { color: var(--ink); }

.photo-plane {
  width: 100%;
  max-height: min(62vh, 560px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.photo-plane img {
  width: 100%; height: min(62vh, 560px); object-fit: cover;
  filter: saturate(.88) contrast(1.03);
}

.nameplate {
  padding: 2.4rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.nameplate .legal {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .7rem;
}
.nameplate .wordmark-hero {
  display: block;
  background: none;
  color: var(--ink);
  font-family: var(--brand);
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 3.35rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  padding: 0;
  margin: 0 0 1.15rem;
  border-radius: 0;
  white-space: normal;
}
.lede { color: var(--muted); font-size: 1.1rem; max-width: 38rem; margin-bottom: 1.35rem; }
.cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn {
  display: inline-flex; align-items: center; padding: .8rem 1.1rem;
  font-weight: 700; text-decoration: none; border-radius: 2px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn-dark { background: var(--ink); color: #f2f5f8; }
.btn-dark:hover { background: var(--accent); }
.btn-line { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }

.section { padding: 4.2rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.eyebrow {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; font-weight: 600;
}
h2 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .03em; font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  margin-bottom: 1.5rem; line-height: 1.05;
}
h2.trade {
  font-family: var(--brand); text-transform: none; letter-spacing: -0.03em; font-weight: 700;
}

.service-rows { display: grid; gap: 0; }
.service-rows article {
  display: grid; grid-template-columns: 8rem 1fr; gap: 1.2rem;
  padding: 1.25rem 0; border-top: 1px solid var(--line);
}
.service-rows article:last-child { border-bottom: 1px solid var(--line); }
.service-rows .tag {
  font-family: var(--mono); font-size: .78rem; color: var(--accent); font-weight: 600;
  padding-top: .2rem;
}
.service-rows h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.service-rows p { color: var(--muted); margin: 0; max-width: 40rem; }

.method-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
}
.method-grid ol {
  list-style: none; display: grid; gap: 1rem; margin: 0; padding: 0;
}
.method-grid li {
  padding: 1rem 1.1rem; background: var(--panel); border-left: 3px solid var(--accent);
}
.method-grid li strong { display: block; margin-bottom: .25rem; }
.method-grid li span { color: var(--muted); font-size: .98rem; }
.side-shot {
  border: 1px solid var(--line); overflow: hidden; background: #d9e0e8;
}
.side-shot img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }

.company-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem;
}
.company-grid p { color: var(--muted); margin-bottom: 1rem; }
.facts {
  display: grid; gap: .85rem; background: var(--panel);
  border: 1px solid var(--line); padding: 1.25rem 1.35rem;
}
.facts div { display: grid; gap: .15rem; }
.facts dt {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
}
.facts dd { margin: 0; }
.facts a { text-decoration: none; }

.contact-band {
  background: var(--ink); color: #e8edf2; padding: 3.5rem 0;
}
.contact-band .eyebrow { color: #9ec0df; }
.contact-band h2 { color: #fff; }
.contact-band p { color: #b7c3cf; margin-bottom: 1.2rem; max-width: 36rem; }
.contact-band a.btn-dark { background: #fff; color: var(--ink); }
.contact-band a.btn-dark:hover { background: var(--accent-soft); }

.footer {
  border-top: 1px solid var(--line); padding: 1.6rem 0 2rem; background: var(--panel);
}
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem 1.5rem;
}
.footer-brand {
  display: inline-flex; align-items: flex-start; gap: .65rem;
  color: var(--muted); font-size: .9rem; max-width: 42rem;
}
.footer-brand img {
  border-radius: 4px; flex-shrink: 0; margin-top: .1rem;
  background: var(--mark-bg);
}
.footer nav { display: flex; flex-wrap: wrap; gap: .85rem 1.1rem; }
.footer nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.footer-note {
  width: min(1120px, 92vw); margin: .9rem auto 0; color: var(--muted); font-size: .85rem;
}
.legal-page {
  width: min(720px, 92vw); margin: 3.5rem auto 4.5rem; color: var(--muted);
}
.legal-page h1, .legal-page h2 { color: var(--ink); font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; }
.legal-page h1 { font-size: 2rem; margin: .8rem 0 1rem; }
.legal-page h2 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.legal-page a { color: var(--accent); }
.legal-back {
  display: inline-flex; align-items: center; gap: .45rem;
  text-decoration: none; color: var(--ink); font-weight: 600; margin-bottom: .4rem;
}
.legal-back .brand-word { font-size: .92rem; padding: 0; background: none; }
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
@media (max-width: 860px) {
  .bar nav { display: none; }
  .service-rows article, .method-grid, .company-grid { grid-template-columns: 1fr; }
  .photo-plane img { height: 42vh; }
}
