:root {
  --ivory: #f5f2e9;
  --forest: #102f27;
  --mineral: #547064;
  --sage: #b7c8ae;
  --sage-light: #dfe7da;
  --clay: #c6846a;
  --clay-dark: #9f614c;
  --line: #d8ded7;
  --white: #fffdf7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 20px clamp(24px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
}

.brand-mark {
  width: 148px;
  height: auto;
  display: block;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
}

.site-nav a,
.text-link {
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.text-link:hover {
  border-bottom-color: currentColor;
}

.site-header > .button {
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--sage);
  font-size: 14px;
  font-weight: 700;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--sage-light);
  transform: translateY(-1px);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(40px, 7vw, 112px);
  padding: clamp(72px, 11vw, 150px) clamp(24px, 8vw, 120px);
}

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

.eyebrow {
  margin: 0 0 20px;
  color: var(--mineral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(54px, 7.2vw, 110px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.93;
}

.hero-intro {
  max-width: 650px;
  margin: 32px 0 0;
  color: var(--mineral);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 38px;
}

.text-link {
  font-size: 14px;
  font-weight: 700;
}

.hero-art {
  position: relative;
  min-height: 460px;
}

.mineral {
  position: absolute;
  background: linear-gradient(145deg, var(--sage) 0 48%, var(--mineral) 49% 77%, var(--clay) 78%);
  box-shadow: inset 0 0 0 14px rgb(245 242 233 / 18%);
}

.mineral-large {
  top: 54px;
  right: 3%;
  width: min(30vw, 350px);
  aspect-ratio: 1;
  border-radius: 48% 52% 56% 44% / 43% 45% 55% 57%;
  transform: rotate(-8deg);
}

.mineral-small {
  right: 70%;
  bottom: 38px;
  width: 110px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sage-light);
}

.orbit {
  position: absolute;
  top: 0;
  right: 0;
  width: min(36vw, 430px);
  aspect-ratio: 1;
  border: 1px solid var(--clay);
  border-radius: 50%;
}

.art-label {
  position: absolute;
  top: 25px;
  left: 5%;
  color: var(--mineral);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.art-label-right {
  top: auto;
  right: 2%;
  bottom: 6px;
  left: auto;
}

.services {
  padding: 110px clamp(24px, 8vw, 120px) 120px;
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.45fr 1.55fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 70px;
}

.section-heading h2,
.approach h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

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

.service-card {
  min-height: 340px;
  padding: 30px clamp(22px, 3vw, 42px) 38px;
  border-right: 1px solid var(--line);
}

.service-card:first-child {
  padding-left: 0;
}

.service-card:last-child {
  border-right: 0;
}

.service-number {
  color: var(--clay-dark);
  font-size: 12px;
  font-weight: 800;
}

.service-card h3 {
  margin: 86px 0 18px;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.service-card p {
  max-width: 360px;
  margin: 0;
  color: var(--mineral);
}

.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 9vw, 150px);
  padding: 120px clamp(24px, 8vw, 120px);
  background: var(--forest);
  color: var(--ivory);
}

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

.approach-copy > p {
  max-width: 580px;
  margin: 42px 0 50px;
  color: var(--sage-light);
  font-size: clamp(18px, 2vw, 24px);
}

.approach ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgb(223 231 218 / 35%);
}

.approach li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgb(223 231 218 / 35%);
}

.approach li span {
  color: var(--sage);
  font-size: 12px;
  font-weight: 800;
}

.about {
  padding: 120px clamp(24px, 13vw, 200px);
}

.button-clay {
  border-color: var(--clay-dark);
  background: var(--clay);
}

.button-clay:hover {
  background: #d39b84;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(230px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(48px, 8vw, 120px);
  width: 100%;
  scroll-margin-top: 32px;
}

.contact-heading h2 {
  margin: 0 0 20px;
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.contact-heading > p:last-child {
  max-width: 390px;
  margin: 0;
  color: var(--mineral);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field label span,
.form-submit p span {
  color: var(--clay-dark);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--mineral);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--forest);
  font: inherit;
  font-size: 17px;
}

.form-field input {
  min-height: 48px;
}

.form-field textarea {
  min-height: 150px;
  padding: 12px 0;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--clay-dark);
  box-shadow: 0 2px 0 var(--clay-dark);
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.form-submit p {
  margin: 0;
  color: var(--mineral);
  font-size: 12px;
}

.form-submit .button {
  cursor: pointer;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(24px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--mineral);
  font-size: 13px;
}

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

  .site-nav {
    display: none;
  }

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

  .hero-art {
    min-height: 340px;
  }

  .mineral-large {
    width: min(58vw, 340px);
  }

  .orbit {
    width: min(68vw, 420px);
  }

  .section-heading,
  .approach,
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 78px;
    padding-block: 16px;
  }

  .brand {
    font-size: 12px;
  }

  .brand-mark {
    width: 140px;
  }

  .site-header .button-small {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding-block: 76px;
  }

  .hero-art {
    min-height: 285px;
  }

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

  .service-card,
  .service-card:first-child {
    min-height: 270px;
    padding: 28px 0 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card h3 {
    margin-top: 54px;
  }

  footer {
    flex-direction: column;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-field {
    grid-column: 1 / -1;
  }

  .form-submit {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .button {
    transition: none;
  }
}

.skip-link { position: absolute; top: 12px; left: 24px; z-index: 10; padding: 12px 20px; background: var(--forest); color: var(--ivory); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--clay-dark); outline-offset: 6px; }
.hero { grid-template-columns: minmax(0, 1fr); min-height: 660px; }
.hero-copy { max-width: 1040px; }
h1 { max-width: 1040px; }
sub { font-size: 0.6em; line-height: 0; }
.purpose { padding: 100px clamp(24px, 8vw, 120px); background: var(--white); }
.purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); }
.purpose h2 { margin: 0; padding-top: 32px; border-top: 1px solid var(--line); font-size: clamp(32px, 4vw, 58px); font-weight: 500; line-height: 1.08; letter-spacing: -0.045em; }
.purpose h2:last-child { color: var(--mineral); }
.approach h2 { max-width: 560px; }
.approach-copy > p { margin: 0; }
.prose a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--clay); }
.technology { padding: 120px clamp(24px, 8vw, 120px); }
.technology .section-heading { margin-bottom: 48px; }
.technology-copy { margin-left: calc(22.5% + 31px); max-width: 760px; color: var(--mineral); font-size: clamp(18px, 2vw, 24px); }
.technology-copy p { margin: 0; }
footer { align-items: center; flex-wrap: wrap; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .site-nav { display: flex; gap: 20px; }
  .technology-copy { margin-left: 0; }
}
@media (max-width: 680px) {
  .site-header { gap: 20px; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid var(--line); }
  .site-header > .button { grid-column: 2; grid-row: 1; }
  .hero { min-height: auto; }
  h1 { font-size: clamp(48px, 11vw, 74px); }
  .purpose, .technology, .approach { padding-block: 72px; }
  .purpose-grid { grid-template-columns: 1fr; }
  footer { align-items: flex-start; }
}
