:root {
  --ink: #0f2739;
  --ink-soft: #263d4d;
  --slate: #5d6c72;
  --sand: #d3c4b0;
  --sand-light: #eee8df;
  --paper: #f8f6f2;
  --white: #ffffff;
  --border: rgba(15, 39, 57, 0.15);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  display: flex;
  width: min(calc(100% - 64px), var(--max));
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  width: 152px;
  height: 66px;
  align-items: center;
  overflow: hidden;
}

.brand img {
  width: 136px;
  height: auto;
  padding: 8px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--white);
}

nav .nav-contact {
  padding: 11px 17px;
  color: var(--ink);
  background: var(--sand);
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  padding: 190px max(32px, calc((100vw - var(--max)) / 2)) 100px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 35%, rgba(211, 196, 176, 0.13), transparent 26%),
    linear-gradient(120deg, #0b2131 0%, #0f2d42 55%, #173c52 100%);
}

.hero::after {
  position: absolute;
  right: -12%;
  bottom: -46%;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(211, 196, 176, 0.18);
  border-radius: 50%;
  content: "";
}

.hero-copy {
  z-index: 2;
  max-width: 780px;
}

.eyebrow,
.section-label {
  margin: 0 0 26px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(52px, 7.5vw, 102px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.hero h1 span {
  color: var(--sand);
  font-weight: 350;
}

.hero-intro {
  max-width: 625px;
  margin: 38px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 23px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

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

.button-secondary {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.hero-mark {
  position: absolute;
  z-index: 1;
  right: max(26px, calc((100vw - var(--max)) / 2));
  bottom: 56px;
  width: 310px;
  height: 260px;
  opacity: 0.28;
}

.hero-mark span {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 112px;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.house {
  position: absolute;
  border-top: 16px solid var(--sand);
  border-right: 16px solid var(--sand);
  transform: rotate(-45deg);
}

.house-large {
  top: 22px;
  left: 54px;
  width: 105px;
  height: 105px;
}

.house-small {
  top: 61px;
  right: 48px;
  width: 70px;
  height: 70px;
}

.statement {
  padding: 28px 32px;
  color: var(--ink);
  background: var(--sand);
  text-align: center;
}

.statement p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.section {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 54px;
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
  padding: 120px 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-label {
  color: var(--slate);
}

.section h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 84px;
}

.prose {
  padding-top: 6px;
}

.prose p,
.team-heading > p,
.contact-action > p {
  margin: 0;
  color: var(--slate);
  font-size: 18px;
  line-height: 1.65;
}

.prose p + p {
  margin-top: 22px;
}

.principles {
  background: transparent;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 68px;
  background: var(--border);
  border: 1px solid var(--border);
}

.principle-grid article {
  min-height: 260px;
  padding: 30px;
  background: var(--paper);
}

.principle-number {
  color: var(--sand);
  font-size: 13px;
  font-weight: 700;
}

.principle-grid h3 {
  margin: 70px 0 12px;
  font-size: 26px;
  font-weight: 600;
}

.principle-grid p {
  margin: 0;
  color: var(--slate);
  line-height: 1.6;
}

.team {
  padding-bottom: 138px;
}

.team-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.team-heading > p {
  max-width: 390px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.person {
  grid-column: span 2;
  min-height: 248px;
  padding: 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
}

.person:nth-child(4) {
  grid-column: 2 / span 2;
}

.initials {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.person h3 {
  margin: 46px 0 6px;
  font-size: 21px;
  font-weight: 600;
}

.person p {
  min-height: 38px;
  margin: 0 0 16px;
  color: var(--slate);
  font-size: 14px;
}

.person a {
  font-size: 13px;
  text-underline-offset: 4px;
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 100px;
  padding: 110px max(32px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--ink);
}

.eyebrow.light {
  color: var(--sand);
}

.contact h2 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.contact-action {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-end;
}

.contact-action > p {
  color: rgba(255, 255, 255, 0.68);
}

.button-light {
  margin-top: 30px;
  color: var(--ink);
  background: var(--sand);
}

footer {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 28px max(32px, calc((100vw - var(--max)) / 2));
  color: var(--slate);
  background: var(--white);
  font-size: 13px;
}

footer img {
  width: 102px;
  height: auto;
}

footer a {
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .hero-mark {
    right: -80px;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .team-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(calc(100% - 36px), var(--max));
    min-height: 88px;
  }

  .brand {
    width: 112px;
  }

  .brand img {
    width: 106px;
  }

  nav a:not(.nav-contact) {
    display: none;
  }

  .hero {
    min-height: 700px;
    padding: 160px 22px 80px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 70px);
  }

  .hero-mark {
    right: -100px;
    bottom: 24px;
    transform: scale(0.72);
  }

  .statement {
    padding-inline: 22px;
  }

  .statement p {
    line-height: 1.6;
  }

  .section {
    width: calc(100% - 44px);
    padding: 82px 0;
  }

  .principle-grid {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .principle-grid article {
    min-height: 220px;
  }

  .principle-grid h3 {
    margin-top: 48px;
  }

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

  .person,
  .person:nth-child(4) {
    grid-column: auto;
  }

  .contact {
    padding: 84px 22px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
