:root {
  --ink: #12171b;
  --graphite: #20282f;
  --muted: #66737d;
  --quiet: #8b969e;
  --line: #dfe4e7;
  --mist: #f5f7f7;
  --paper: #ffffff;
  --warm-paper: #f4f0e9;
  --blue: #285f84;
  --blue-dark: #17394f;
  --oxide: #a46a46;
  --shadow: 0 18px 42px rgba(18, 23, 27, .10);
  --radius: 6px;
  --header-h: 78px;
  font-family: Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid rgba(23, 105, 170, .45); outline-offset: 3px; }

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 16px;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(1320px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.brand-text {
  font-weight: 760;
  font-size: 20px;
  letter-spacing: -.01em;
  text-decoration: none;
}
.custom-logo { max-height: 52px; width: auto; }
.primary-nav { justify-self: end; }
.primary-nav ul,
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}
.primary-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 640;
}
.primary-nav a:hover { color: var(--blue); }
.header-cta,
.wp-block-button__link,
.search-form button,
.sdl-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 2px;
  background: var(--graphite);
  color: white;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  cursor: pointer;
}
.header-cta:hover,
.wp-block-button__link:hover,
.search-form button:hover,
.sdl-form button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.menu-toggle { display: none; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.section { padding: 88px 0; }
.section.mist,
.sdl-band { background: var(--mist); }
.eyebrow {
  margin: 0 0 12px;
  color: var(--oxide);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3 {
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(42px, 5.6vw, 82px); }
h2 { font-size: clamp(30px, 3.8vw, 50px); }
h3 { font-size: clamp(22px, 2.3vw, 30px); }
p { margin: 0 0 18px; color: var(--muted); text-wrap: pretty; }

.sdl-hero {
  min-height: calc(92vh - var(--header-h));
  display: grid;
  align-items: stretch;
  padding: 0;
  color: white;
  background:
    linear-gradient(90deg, rgba(11, 16, 20, .78) 0%, rgba(11, 16, 20, .48) 42%, rgba(11, 16, 20, .12) 100%),
    var(--hero-image, url("../images/hero-facade-v2.png")) center / cover no-repeat;
}
.sdl-hero .container {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .45fr);
  gap: 42px;
  align-items: end;
  padding: 108px 0 56px;
}
.sdl-hero-copy {
  max-width: 790px;
}
.sdl-hero h1,
.sdl-hero p { color: white; max-width: 860px; }
.sdl-hero p { font-size: 19px; opacity: .86; max-width: 680px; }
.sdl-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.sdl-hero-actions a:last-child {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .34);
}
.sdl-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-self: end;
  border-top: 1px solid rgba(255, 255, 255, .28);
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  background: rgba(10, 15, 19, .36);
  backdrop-filter: blur(10px);
}
.sdl-stat {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  background: transparent;
}
.sdl-stat:last-child { border-bottom: 0; }
.sdl-stat strong {
  display: block;
  color: white;
  font-size: 26px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.sdl-stat span { color: rgba(255, 255, 255, .82); font-size: 13px; }

.sdl-split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 72px;
  align-items: center;
}
.sdl-section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 34px;
}
.sdl-feature-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.sdl-feature,
.content-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.sdl-feature {
  padding: 26px 26px 30px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 0 rgba(18, 23, 27, .03);
}
.sdl-feature .number {
  color: var(--quiet);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sdl-feature h3,
.content-card h2 { font-size: 24px; }
.sdl-feature h3 { margin-top: 34px; }
.sdl-feature p { margin-bottom: 0; }
.sdl-product-list {
  display: grid;
  border-top: 1px solid var(--line);
}
.sdl-product-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 160px;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.sdl-product-row .index {
  color: var(--oxide);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: .12em;
}
.sdl-product-row h3 { margin-bottom: 8px; }
.sdl-product-row a {
  justify-self: end;
  color: var(--blue);
  font-weight: 720;
  text-decoration: none;
}
.sdl-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(18, 23, 27, .16);
}
.sdl-process-step {
  padding: 28px 24px;
  border-right: 1px solid rgba(18, 23, 27, .13);
}
.sdl-process-step:last-child { border-right: 0; }
.sdl-process-step strong {
  color: var(--oxide);
  font-size: 12px;
  letter-spacing: .14em;
}
.sdl-process-step h3 {
  margin-top: 26px;
  font-size: 22px;
}
.card-media {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--mist);
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.content-card:hover img { transform: scale(1.04); }
.card-body { padding: 24px; }
.card-body a { text-decoration: none; }

.page-hero {
  padding: 82px 0;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}
.page-content {
  padding: 58px 0 86px;
}
.page-content > *:first-child { margin-top: 0; }
.single-layout {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1fr);
  gap: 54px;
  padding: 64px 0 92px;
}
.single-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
}

.search-form {
  display: flex;
  gap: 10px;
  max-width: 640px;
}
.search-form label { flex: 1; }
.search-field,
.sdl-form input,
.sdl-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #b8c4cc;
  border-radius: 4px;
  padding: 11px 12px;
  font: inherit;
  background: white;
}
.sdl-form textarea { min-height: 128px; resize: vertical; }
.sdl-form .field { margin-bottom: 16px; }
.sdl-form .error { color: #a32820; font-weight: 700; }
.sdl-form .success { color: #116b38; font-weight: 700; }

.site-footer {
  background: #11181d;
  color: white;
  padding: 58px 0 24px;
}
.site-footer p,
.site-footer a { color: rgba(255, 255, 255, .76); }
.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 44px;
}
.footer-grid h2,
.footer-grid h3 { color: white; }
.site-footer li + li { margin-top: 8px; }
.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .header-inner { grid-template-columns: auto auto; }
  .menu-toggle {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 5px;
    justify-self: end;
    border: 1px solid var(--line);
    background: white;
    border-radius: 4px;
  }
  .menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
  }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    padding: 18px 16px 24px;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; gap: 14px; }
  .header-cta { display: none; }
  .sdl-split,
  .sdl-section-head,
  .single-layout,
  .footer-grid { grid-template-columns: 1fr; }
  .sdl-feature-grid,
  .post-grid,
  .sdl-process { grid-template-columns: repeat(2, 1fr); }
  .sdl-hero .container { grid-template-columns: 1fr; }
  .sdl-stats { max-width: 520px; }
  .sdl-product-row { grid-template-columns: 72px minmax(0, 1fr); }
  .sdl-product-row a { justify-self: start; grid-column: 2; }
}

@media (max-width: 560px) {
  .section { padding: 62px 0; }
  .sdl-hero {
    min-height: auto;
    background-position: 58% center;
  }
  .sdl-hero .container { padding: 64px 0 34px; gap: 28px; }
  .sdl-hero p { font-size: 17px; }
  .sdl-feature-grid,
  .post-grid,
  .sdl-process { grid-template-columns: 1fr; }
  .sdl-stat { grid-template-columns: 70px 1fr; padding: 15px 0; }
  .sdl-product-row { grid-template-columns: 1fr; gap: 8px; }
  .sdl-product-row a { grid-column: auto; }
  .search-form,
  .footer-bottom { flex-direction: column; }
}
