:root {
  --ink: #10161c;
  --ink-soft: #40505e;
  --line: #dde3e9;
  --bg: #ffffff;
  --bg-alt: #f5f7f9;
  --navy: #16324f;
  --navy-deep: #0e2237;
  --accent: #9a6b2f;
  --focus: #1f6feb;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

a { color: var(--navy); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--ink); font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-mark {
  display: block;
  width: 29px; height: 34px;
  /* heater shield is top-heavy: optical centre sits ~45% down, not 50% */
  position: relative; top: 1px;
}
.brand-text { font-size: 16.5px; }

.site-header nav { display: flex; align-items: center; gap: 26px; }
.site-header nav a {
  text-decoration: none; color: var(--ink-soft);
  font-size: 15px; font-weight: 550;
}
.site-header nav a:hover { color: var(--navy); }
.nav-cta {
  border: 1px solid var(--line); border-radius: 6px;
  padding: 7px 15px; color: var(--navy) !important;
}
.nav-cta:hover { border-color: var(--navy); background: var(--bg-alt); }

/* Hero */
.hero {
  background: linear-gradient(168deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  padding: 92px 0 88px;
}
.eyebrow {
  margin: 0 0 20px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: #cfa76a;
}
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(31px, 5.1vw, 51px);
  line-height: 1.12; font-weight: 750;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.lede {
  margin: 0; max-width: 62ch;
  font-size: clamp(16.5px, 1.9vw, 19px);
  line-height: 1.62; color: #d3dde6;
}
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 13px; }

.btn {
  display: inline-block;
  background: #fff; color: var(--navy-deep);
  text-decoration: none; font-weight: 650; font-size: 15.5px;
  padding: 13px 26px; border-radius: 7px;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.16); }
.btn-quiet {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-quiet:hover { background: rgba(255,255,255,0.09); box-shadow: none; }

/* Sections */
.section { padding: 82px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section h2 {
  margin: 0 0 16px;
  font-size: clamp(25px, 3.2vw, 33px);
  letter-spacing: -0.02em; font-weight: 720;
}
.section-lede {
  margin: 0 0 42px; max-width: 62ch;
  color: var(--ink-soft); font-size: 17px;
}
.section p { color: var(--ink-soft); }
.narrow p { font-size: 17.5px; }

/* Service cards */
.cards {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
}
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 28px 26px;
  border-top: 3px solid var(--navy);
}
.card h3 {
  margin: 0 0 11px; font-size: 18.5px;
  font-weight: 680; letter-spacing: -0.012em; color: var(--ink);
}
.card p { margin: 0; font-size: 15.8px; line-height: 1.62; }

/* Principles */
.principles {
  display: grid; gap: 34px 46px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.principle h3 {
  margin: 0 0 9px; font-size: 17.5px; font-weight: 670;
  color: var(--navy-deep);
}
.principle h3::before {
  content: ""; display: block;
  width: 30px; height: 3px; margin-bottom: 13px;
  background: var(--accent); border-radius: 2px;
}
.principle p { margin: 0; font-size: 15.8px; }

/* About / contact */
.narrow h2 { margin-bottom: 20px; }
.contact-block { margin: 28px 0 18px; }
.fine { font-size: 14.5px; color: var(--ink-soft); }

/* Footer */
.site-footer {
  background: var(--navy-deep); color: #b9c7d4;
  padding: 32px 0;
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  align-items: center; justify-content: space-between;
}
.site-footer p { margin: 0; font-size: 14.5px; }
.site-footer .fine { color: #8fa2b4; }

@media (max-width: 720px) {
  .site-header nav { gap: 16px; }
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { padding: 66px 0 62px; }
  .section { padding: 60px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
