:root {
  --black: #090c0d;
  --panel: #0e1213;
  --panel-raised: #121719;
  --line: #303638;
  --line-soft: rgba(206, 198, 177, 0.12);
  --bone: #e5decf;
  --muted: #9d9c96;
  --gold: #c4a052;
  --scarlet: #a91f35;
  --content-width: 1128px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--black);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--bone);
  background-color: var(--black);
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.site-shell {
  width: min(calc(100% - 72px), var(--content-width));
  margin: 0 auto;
  padding: 34px 0 28px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(196, 160, 82, 0.44);
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark i {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 7px;
  height: 7px;
  background: var(--scarlet);
}

.brand-name {
  display: grid;
  gap: 4px;
}

.brand-name strong {
  font-size: 15px;
  line-height: 1;
}

.brand-name span,
.capabilities,
.eyebrow,
.service-number,
.site-footer {
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.brand-name span {
  color: #b9b4a9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 700;
}

.capabilities {
  margin: 0;
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  text-align: right;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.hero-statement,
.standard,
.service-card {
  border: 1px solid var(--line);
  background: rgba(14, 18, 19, 0.94);
}

.hero-statement {
  display: flex;
  min-height: 508px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(46px, 6vw, 58px);
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  color: var(--bone);
  font-size: clamp(44px, 5.1vw, 66px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 span {
  display: block;
}

.hero h1 .accent {
  color: var(--gold);
}

.hero-statement > p {
  max-width: 675px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.standard {
  min-height: 508px;
  padding: 38px 36px 32px;
  background: rgba(18, 23, 25, 0.96);
}

.eyebrow,
.service-number {
  margin: 0;
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 700;
}

.standard h2 {
  max-width: 260px;
  margin: 34px 0 46px;
  font-size: clamp(30px, 3.4vw, 38px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.standard ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.standard li {
  position: relative;
  padding: 16px 0 16px 22px;
  border-top: 1px solid var(--line);
  color: #c1beb5;
  font-size: 14px;
}

.standard li:last-child {
  border-bottom: 1px solid var(--line);
}

.standard li::before {
  position: absolute;
  top: 22px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--scarlet);
  content: "";
}

.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.service-card {
  min-height: 225px;
  padding: 28px 24px;
}

.service-card h2 {
  margin: 52px 0 13px;
  font-size: 21px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.service-card > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #898984;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.55;
}

.site-footer p {
  margin: 0;
}

.footer-name {
  color: var(--gold);
}

@media (max-width: 900px) {
  .site-shell {
    width: min(calc(100% - 40px), var(--content-width));
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-statement,
  .standard {
    min-height: auto;
  }

  .standard h2 {
    max-width: 520px;
  }

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

@media (max-width: 620px) {
  body {
    background-size: 48px 48px;
  }

  .site-shell {
    width: min(calc(100% - 28px), var(--content-width));
    padding-top: 20px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .capabilities {
    text-align: left;
  }

  .hero {
    margin-top: 16px;
  }

  .hero-statement {
    padding: 42px 26px;
  }

  .hero h1 {
    font-size: clamp(39px, 12vw, 54px);
  }

  .hero-statement > p {
    margin-top: 28px;
    font-size: 15px;
  }

  .standard {
    padding: 32px 26px 26px;
  }

  .standard h2 {
    margin: 28px 0 34px;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 190px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
