:root {
  --ink: #172126;
  --muted: #5b6870;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #d9e1df;
  --teal: #146c68;
  --teal-dark: #0d4e4b;
  --blue: #245b7d;
  --coral: #bd553f;
  --amber: #c9912f;
  --shadow: 0 18px 45px rgba(23, 33, 38, 0.12);
  color-scheme: light;
  font-family: "Avenir Next", "Segoe UI", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid rgba(217, 225, 223, 0.9);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 76px;
  padding: 12px clamp(20px, 5vw, 72px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 220px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--teal);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 48px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 6px;
}

.site-nav a {
  border-radius: 8px;
  color: #2e3b42;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
  text-decoration: none;
}

.site-nav a:hover {
  background: #e9f1ef;
  color: var(--teal-dark);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 8px;
  width: 42px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 6px 0;
  width: 24px;
}

.hero {
  min-height: 78vh;
  overflow: hidden;
  position: relative;
}

.hero-media,
.hero-photo {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(12, 21, 26, 0.86) 0%, rgba(12, 21, 26, 0.64) 42%, rgba(12, 21, 26, 0.18) 100%);
  inset: 0;
  position: absolute;
}

.hero-content {
  color: #fff;
  max-width: 760px;
  padding: clamp(72px, 11vh, 118px) clamp(20px, 7vw, 92px) 52px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2b35a;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.16;
  margin-bottom: 18px;
}

h3 {
  font-size: 21px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  margin-bottom: 28px;
  max-width: 690px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--teal);
  color: #fff;
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.button.secondary:hover {
  background: #fff;
}

.button.full {
  width: 100%;
}

.hero-stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  max-width: 640px;
}

.hero-stats div {
  border-left: 3px solid #f2b35a;
  padding-left: 14px;
}

.hero-stats dt {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  margin: 4px 0 0;
}

.quick-paths {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-paths a {
  background: var(--surface);
  min-height: 112px;
  padding: 26px clamp(20px, 4vw, 52px);
  text-decoration: none;
}

.quick-paths a:hover {
  background: #edf6f3;
}

.quick-paths strong,
.quick-paths span {
  display: block;
}

.quick-paths strong {
  color: var(--teal-dark);
  font-size: 18px;
  margin-bottom: 4px;
}

.quick-paths span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(62px, 8vw, 106px) clamp(20px, 5vw, 72px);
}

.band {
  background: #eef4f2;
}

.section-heading {
  margin-bottom: 34px;
  max-width: 850px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.intro-grid,
.pillar-grid,
.qa-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intro-grid article,
.pillar-grid article,
.qa-grid details,
.estimate-panel,
.checklist,
.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.intro-grid article,
.pillar-grid article {
  min-height: 206px;
  padding: 26px;
}

.intro-grid p,
.pillar-grid p,
.article-card p,
.checklist li,
.qa-grid p,
.procurement-copy p,
.split-layout p {
  color: var(--muted);
}

.pillar-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pillar-grid a,
.article-card a {
  color: var(--teal-dark);
  font-weight: 800;
}

.article-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.article-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.article-card div {
  padding: 24px;
}

.article-type {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.split-layout,
.procurement-section {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.room-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.room-list a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  padding: 18px 20px;
  text-decoration: none;
}

.room-list a:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.room-list strong,
.room-list span {
  display: block;
}

.room-list span {
  color: var(--muted);
  font-size: 14px;
}

.estimate-panel {
  align-self: start;
  box-shadow: var(--shadow);
  padding: 26px;
}

.estimate-panel label {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin: 16px 0 6px;
}

.estimate-panel select,
.estimate-panel output {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  font: inherit;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.estimate-panel output {
  background: #edf6f3;
  border-color: #b8d6d0;
  color: var(--teal-dark);
  font-weight: 900;
  margin: 18px 0;
}

.comparison-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table [role="row"] {
  display: grid;
  grid-template-columns: 0.9fr repeat(3, 1fr);
}

.comparison-table span {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 70px;
  padding: 18px;
}

.comparison-table [role="row"]:last-child span {
  border-bottom: 0;
}

.comparison-table span:last-child {
  border-right: 0;
}

.table-head span {
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.comparison-table a {
  color: var(--teal-dark);
  font-weight: 800;
}

.procurement-section {
  background: var(--ink);
  color: #fff;
}

.procurement-copy {
  max-width: 760px;
}

.procurement-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.procurement-section .button.secondary {
  background: #fff;
  color: var(--ink);
}

.checklist {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  padding: 28px;
}

.checklist ul {
  margin: 0;
  padding-left: 20px;
}

.checklist li {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 12px;
}

.qa-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qa-grid details {
  padding: 22px 24px;
}

.qa-grid summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.qa-grid p {
  margin: 12px 0 0;
}

.final-cta {
  align-items: center;
  background: var(--blue);
  color: #fff;
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

.final-cta div {
  max-width: 760px;
}

.final-cta p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  align-items: center;
  background: #10191d;
  color: #fff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 32px clamp(20px, 5vw, 72px);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.68);
  margin: 4px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  text-decoration: none;
}

.article-page {
  background: var(--paper);
}

.article-hero {
  background: var(--ink);
  color: #fff;
  padding: clamp(62px, 9vw, 112px) clamp(20px, 7vw, 96px);
}

.article-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  max-width: 780px;
}

.article-body {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 1fr) 300px;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 7vw, 96px);
}

.article-body article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 52px);
}

.article-body aside {
  align-self: start;
  background: #edf6f3;
  border: 1px solid #bdd8d2;
  border-radius: 8px;
  padding: 22px;
  position: sticky;
  top: 96px;
}

.article-body li {
  margin-bottom: 8px;
}

@media (max-width: 1020px) {
  .pillar-grid,
  .article-grid,
  .intro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .procurement-section,
  .article-body {
    grid-template-columns: 1fr;
  }

  .article-body aside {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 12px 20px 20px;
    position: absolute;
    right: 0;
    top: 68px;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 76vh;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(12, 21, 26, 0.86), rgba(12, 21, 26, 0.52));
  }

  .hero-content {
    padding-top: 68px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-stats,
  .quick-paths,
  .article-grid,
  .intro-grid,
  .pillar-grid,
  .qa-grid {
    grid-template-columns: 1fr;
  }

  .quick-paths a {
    min-height: auto;
    padding: 20px;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-table [role="row"] {
    min-width: 760px;
  }

  .final-cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
