:root {
  --background: #fbfaf7;
  --text: #151515;
  --muted: #67635d;
  --faint: #aaa49b;
  --line: #ddd8cf;
  --line-soft: #ebe7df;
  --measure: 68rem;
  --narrow: 44rem;
  --space-page: clamp(1.5rem, 4vw, 4.5rem);
  --space-section: clamp(5rem, 12vw, 11rem);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  color-scheme: light;
  background: var(--background);
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

.page {
  width: min(100%, calc(var(--measure) + (var(--space-page) * 2)));
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.5rem) var(--space-page)
    clamp(1.5rem, 4vw, 3rem);
}

.site-header,
.site-footer,
.split-section {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) minmax(0, 1fr);
  column-gap: clamp(2rem, 7vw, 8rem);
}

.site-header {
  align-items: start;
  min-height: clamp(8rem, 19vh, 13rem);
}

.brand {
  display: inline-grid;
  grid-template-columns: 2.125rem 1fr;
  gap: 0.85rem;
  align-items: center;
  width: fit-content;
}

.brand-mark {
  width: 2.125rem;
  height: 2.125rem;
  object-fit: contain;
  /* opacity: 0.82; */
}

.brand-text {
  display: grid;
  gap: 0.1rem;
}

.brand-name {
  font-size: 0.96rem;
  font-weight: 560;
  line-height: 1.15;
}

.brand-field,
.header-meta,
.eyebrow,
.section-label,
.capability-list dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 560;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-meta {
  justify-self: end;
  max-width: 15rem;
  margin: 0;
  text-align: right;
}

.hero {
  min-height: clamp(28rem, 68vh, 42rem);
  padding-top: clamp(2rem, 5.5vw, 3.75rem);
}

.section-rule {
  width: 100%;
  height: 1px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  background: var(--line);
}

.eyebrow {
  margin: 0 0 clamp(2.5rem, 6.5vw, 5.75rem);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 13ch;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(3.55rem, 8.1vw, 7.75rem);
  font-weight: 400;
  line-height: 0.96;
}

.hero-copy {
  max-width: var(--narrow);
  margin-top: clamp(1.75rem, 4vw, 3.5rem);
  color: #242321;
  font-size: clamp(1.18rem, 2.15vw, 1.72rem);
  line-height: 1.34;
}

.split-section {
  padding-top: var(--space-section);
}

.split-section .section-rule,
.closing .section-rule,
.site-footer .section-rule {
  grid-column: 1 / -1;
}

.section-label {
  margin-top: 0.2rem;
}

.section-body {
  max-width: var(--narrow);
}

h2 {
  max-width: 15ch;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(2.55rem, 5vw, 4.9rem);
  font-weight: 400;
  line-height: 1;
}

.text-flow {
  display: grid;
  gap: 1.2rem;
  margin-top: clamp(1.75rem, 4vw, 3.25rem);
  color: #2a2825;
  font-size: clamp(1.05rem, 1.55vw, 1.32rem);
  line-height: 1.58;
}

.section-intro {
  max-width: 34rem;
  margin-top: clamp(1.5rem, 3.4vw, 2.75rem);
  color: #2a2825;
  font-size: clamp(1.05rem, 1.55vw, 1.32rem);
  line-height: 1.58;
}

.capability-list {
  display: grid;
  gap: 0;
  margin: clamp(1.65rem, 3.4vw, 2.75rem) 0 0;
}

.capability-list div {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 0.82rem 0;
  border-top: 1px solid var(--line-soft);
}

.capability-list div:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.capability-list dt,
.capability-list dd {
  margin: 0;
}

.capability-list dd {
  color: #242321;
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
}

.principle-list {
  display: grid;
  gap: 0;
  margin: clamp(2rem, 4vw, 3.25rem) 0 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  padding: clamp(1rem, 2vw, 1.35rem) 0;
  border-top: 1px solid var(--line-soft);
  color: #20201e;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  line-height: 1.08;
}

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

.closing {
  padding-top: clamp(4.5rem, 10vw, 9rem);
}

.closing h2 {
  max-width: 24ch;
  margin-left: min(16rem, 25vw);
  color: #242321;
  font-size: clamp(2.05rem, 4.25vw, 4.25rem);
  line-height: 1.04;
}

.site-footer {
  padding-top: clamp(5rem, 11vw, 9rem);
  row-gap: clamp(1.75rem, 4vw, 3rem);
  color: var(--muted);
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  line-height: 1.55;
}

.footer-company,
.footer-details {
  display: grid;
  gap: 0.18rem;
  align-self: start;
}

.site-footer p,
.footer-company p,
.footer-details p {
  margin: 0;
}

.footer-company p:not(:first-child),
.footer-details p {
  color: var(--faint);
}

.footer-company p:first-child {
  color: var(--text);
}

.footer-year {
  grid-column: 2;
  justify-self: end;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

@media (max-width: 820px) {
  .page {
    padding-right: clamp(1.15rem, 5vw, 1.75rem);
    padding-left: clamp(1.15rem, 5vw, 1.75rem);
  }

  .site-header,
  .site-footer,
  .split-section {
    grid-template-columns: 1fr;
  }

  .site-header {
    gap: 2rem;
    min-height: 9rem;
  }

  .header-meta {
    justify-self: start;
    text-align: left;
  }

  .hero {
    min-height: 30rem;
  }

  .eyebrow {
    margin-bottom: 3rem;
  }

  h1 {
    font-size: clamp(3rem, 13.5vw, 4.95rem);
  }

  .section-label {
    margin-bottom: 1.2rem;
  }

  .capability-list div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 0.78rem 0;
  }

  .closing h2 {
    margin-left: 0;
  }

  .site-footer {
    gap: 0.35rem;
  }

  .footer-company {
    margin-bottom: 1.25rem;
  }

  .footer-year {
    grid-column: auto;
    justify-self: start;
    margin-top: 1.25rem;
  }
}

@media (max-width: 420px) {
  .brand {
    grid-template-columns: 1.85rem 1fr;
  }

  .brand-mark {
    width: 1.85rem;
    height: 1.85rem;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .hero-copy {
    font-size: 1.18rem;
  }
}
