:root {
  color-scheme: light;
  --ink: #17201d;
  --ink-soft: #35423f;
  --muted: #66706d;
  --paper: #f5f2e9;
  --paper-warm: #ebe2d3;
  --surface: #fffdf7;
  --line: rgba(23, 32, 29, 0.16);
  --moss: #49664f;
  --moss-dark: #253e31;
  --plum: #604762;
  --copper: #b06b45;
  --blue: #48687c;
  --shadow: 0 24px 70px rgba(23, 32, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto;
  align-items: stretch;
  min-height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(18, 28, 26, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px clamp(18px, 4vw, 48px);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 6px);
  gap: 4px;
  align-items: end;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.brand-mark span {
  display: block;
  width: 6px;
  background: #f8efe2;
}

.brand-mark span:nth-child(1) {
  height: 12px;
}

.brand-mark span:nth-child(2) {
  height: 20px;
  background: #d8b38d;
}

.brand-mark span:nth-child(3) {
  height: 16px;
}

.header-nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.header-nav a {
  display: grid;
  place-items: center;
  min-width: 108px;
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

.header-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero {
  position: relative;
  display: grid;
  min-height: 94vh;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #111b18;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 21, 19, 0.88) 0%, rgba(13, 21, 19, 0.66) 44%, rgba(13, 21, 19, 0.18) 100%),
    linear-gradient(0deg, rgba(13, 21, 19, 0.72) 0%, rgba(13, 21, 19, 0.08) 52%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  padding: 128px 0 118px clamp(20px, 6vw, 76px);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e5c08f;
}

h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.lede {
  max-width: 680px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 1.9vw, 1.32rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 850;
  text-align: center;
}

.button.primary {
  background: var(--surface);
  color: var(--ink);
}

.button.quiet {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-status {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: 28px;
  z-index: 2;
  display: grid;
  gap: 2px;
  width: min(270px, calc(100% - 36px));
  padding: 18px 20px;
  border-left: 4px solid #d8b38d;
  background: rgba(255, 253, 247, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-status span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-status strong {
  font-size: 1.35rem;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 124px) 0;
}

.quiet-desk {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(360px, 1.25fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.section-heading {
  position: sticky;
  top: 104px;
}

.section-heading h2,
.service-intro h2,
.assurance-copy h2 {
  max-width: 10ch;
}

.quiet-ledger {
  display: grid;
  border-top: 1px solid var(--line);
}

.quiet-ledger article {
  display: grid;
  grid-template-columns: 76px minmax(160px, 0.7fr) minmax(220px, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.quiet-ledger span {
  color: var(--plum);
  font-weight: 900;
}

.quiet-ledger p,
.service-intro p,
.service-item p,
.protocol-list p,
.assurance-copy p,
.contact-section p {
  color: var(--muted);
}

.service-band {
  display: grid;
  grid-template-columns: minmax(270px, 0.78fr) minmax(360px, 1.22fr);
  gap: clamp(34px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.service-intro p {
  max-width: 44ch;
  font-size: 1.12rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-item {
  min-height: 230px;
  padding: clamp(22px, 4vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.48);
}

.service-item:nth-child(2) {
  background: rgba(73, 102, 79, 0.08);
}

.service-item:nth-child(3) {
  background: rgba(96, 71, 98, 0.08);
}

.method-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1.15fr);
  min-height: 720px;
  background: var(--moss-dark);
  color: #fff;
}

.method-image {
  min-height: 460px;
}

.method-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.method-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 8vw, 104px);
}

.method-copy h2 {
  max-width: 11ch;
}

.method-copy .eyebrow {
  color: #e5c08f;
}

.protocol-list {
  display: grid;
  gap: 1px;
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.18);
}

.protocol-list article {
  display: grid;
  grid-template-columns: minmax(118px, 0.42fr) minmax(120px, 0.48fr) minmax(180px, 1fr);
  gap: 20px;
  padding: 22px 0;
  background: var(--moss-dark);
}

.protocol-list span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  font-weight: 800;
}

.protocol-list strong {
  color: #f7e7d2;
  font-size: 1.05rem;
}

.protocol-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.assurance-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: end;
}

.assurance-copy p {
  max-width: 52ch;
  font-size: 1.1rem;
}

.assurance-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.assurance-metrics article {
  min-height: 192px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.assurance-metrics strong {
  display: block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.9;
}

.assurance-metrics span {
  display: block;
  color: var(--ink-soft);
  font-weight: 800;
}

.image-callout {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #17201d;
}

.image-callout::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(18, 27, 24, 0.82), rgba(18, 27, 24, 0.08) 62%),
    linear-gradient(90deg, rgba(18, 27, 24, 0.62), rgba(18, 27, 24, 0.08));
}

.image-callout img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.callout-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  padding: 0 0 clamp(54px, 8vw, 92px) clamp(20px, 6vw, 76px);
}

.callout-copy .eyebrow {
  color: #e5c08f;
}

.contact-section {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 132px) 0;
  text-align: center;
}

.contact-section h2 {
  margin-inline: auto;
  max-width: 13ch;
}

.contact-section p {
  max-width: 54ch;
  margin: 0 auto 28px;
  font-size: 1.12rem;
}

.contact-section .button.primary {
  background: var(--moss-dark);
  color: #fff;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 850;
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .brand {
    min-height: 62px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .header-nav {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .header-nav a {
    min-width: max-content;
    min-height: 44px;
    padding: 0 16px;
  }

  .hero-copy {
    padding-top: 156px;
  }

  .quiet-desk,
  .service-band,
  .method-section,
  .assurance-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    position: static;
  }

  .section-heading h2,
  .service-intro h2,
  .assurance-copy h2,
  .method-copy h2 {
    max-width: 14ch;
  }

  .method-section {
    min-height: 0;
  }

  .method-copy {
    padding: 54px 24px 64px;
  }
}

@media (max-width: 720px) {
  .brand {
    padding-inline: 16px;
  }

  .brand span:last-child {
    white-space: normal;
  }

  .hero {
    min-height: 96vh;
  }

  .hero-copy {
    width: calc(100% - 32px);
    padding: 150px 0 148px 16px;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero-status {
    right: 16px;
    bottom: 18px;
  }

  .section {
    width: calc(100% - 32px);
    padding-block: 64px;
  }

  .quiet-ledger article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .service-grid,
  .assurance-metrics {
    grid-template-columns: 1fr;
  }

  .service-item,
  .assurance-metrics article {
    min-height: 0;
  }

  .protocol-list article {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 0;
  }

  .method-image {
    min-height: 320px;
  }

  .image-callout {
    min-height: 520px;
  }

  .callout-copy {
    width: calc(100% - 32px);
    padding-left: 16px;
  }

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