.page-geosystems {
  --amber: #e8a635;
  --amber-strong: #cf8723;
  --pale: #faf5eb;
  --line: #d9d9d9;
  --page-accent: var(--amber);
}

.page-geosystems h1,
.page-geosystems h2,
.page-geosystems h3 {
  margin: 0;
  font-family: "Darker Grotesque", "Arial Narrow", Arial, sans-serif;
  font-weight: 800;
  line-height: 0.91;
  letter-spacing: -0.035em;
}

.page-geosystems h1,
.page-geosystems h2 {
  text-transform: uppercase;
}

.page-geosystems h1 {
  font-size: clamp(4rem, 7vw, 7.3rem);
}

.page-geosystems h2 {
  font-size: clamp(3rem, 5.3vw, 5.4rem);
}

.page-geosystems h3 {
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.page-geosystems p,
.page-geosystems blockquote {
  margin: 0;
}

.page-geosystems em {
  font-style: normal;
  color: var(--amber);
}

.page-geosystems .eyebrow.dark {
  color: #777;
}

.page-geosystems .text-link:hover,
.page-geosystems .back-link:hover {
  color: var(--amber);
}

/* Hero */

.hero {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 940px;
}

.hero-copy .lead {
  max-width: 690px;
  color: #c5c5c5;
}

.hero-art {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 55%;
  height: 82%;
  object-fit: cover;
  opacity: 0.25;
  mask-image: linear-gradient(90deg, transparent, #000 35%);
}

.hero .hero-actions {
  margin-top: 34px;
}

.button-geo {
  background: var(--amber);
  color: #211c14;
}

.button-geo:hover {
  background: #f2bf65;
}

.hero-rail {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 28px;
  border-top: 1px solid #3d3d3d;
  color: #b8b8b8;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.hero-rail strong {
  color: #fff;
}

/* Content sections */

.section {
  padding: clamp(85px, 9vw, 130px) 0;
}

.section-head {
  max-width: 1060px;
  margin-bottom: 52px;
}

.section-head h2 {
  margin: 15px 0 24px;
}

.section-head .lead,
.section-copy {
  color: #53575a;
}

.pale {
  background: var(--pale);
}

.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.section-split h2 {
  margin-top: 18px;
}

.section-copy {
  font-size: 19px;
  line-height: 1.65;
}

/* Business-analysis step lists */

.number-list {
  border-top: 1px solid var(--line);
}

.number-row {
  display: grid;
  grid-template-columns: 50px minmax(150px, 1fr) 1.7fr;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.number-row span {
  color: #a8661b;
  font-size: 13px;
  font-weight: 700;
}

.number-row strong {
  font-size: 20px;
}

.number-row p {
  color: #5a5a5a;
  line-height: 1.5;
}

/* Technology + related-work grids */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  margin-top: 10px;
  background: #d8ccbb;
  border: 1px solid #d8ccbb;
}

.tech-grid > div {
  background: #f4ede2;
  padding: 24px 22px;
}

.tech-grid small {
  display: block;
  margin-bottom: 10px;
  color: #8b704f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tech-grid strong {
  display: block;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #3a3a3a;
}

.related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.related-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border: 1px solid #d6d6d6;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.18s, border-color 0.18s;
}

.related-link:hover {
  background: #fff8ec;
  border-color: #c8882f;
}

.related-link b {
  color: #985913;
  font-weight: 700;
}

/* Contribution feature grid */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #d9d5cc;
  border: 1px solid #d9d5cc;
}

.feature-grid article {
  min-height: 260px;
  padding: 34px;
  background: #fff;
}

.feature-grid.three article {
  min-height: 280px;
}

.feature-grid article > span {
  display: block;
  margin-bottom: 46px;
  color: #a65f16;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.feature-grid h3 {
  margin-bottom: 17px;
}

.feature-grid p {
  color: #555;
  line-height: 1.6;
}

.back-link {
  display: inline-block;
  margin-top: 35px;
  color: #9d5d12;
  font-size: 15px;
  font-weight: 700;
}

.back-link:hover {
  text-decoration: underline;
}

/* Bottom CTA band */

.contact-band {
  background: var(--ink);
  color: #fff;
  border-top: 1px solid #ae6d1e;
}

.band-inner {
  padding: 60px 0 55px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.band-inner h2 {
  max-width: 850px;
  font-size: clamp(2.9rem, 4.4vw, 5rem);
}

.band-inner a {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.band-inner a:hover {
  color: var(--amber);
}

/* Projects listing */

.projects-intro {
  background: var(--ink);
  color: #fff;
  padding: 52px 0 64px;
}

.projects-intro h1 {
  margin: 24px 0 18px;
  font-size: clamp(4.2rem, 7vw, 7rem);
}

.projects-intro .lead {
  color: #c1c1c1;
}

.project-list {
  padding: 45px 0 90px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.project-card {
  min-height: 320px;
  padding: 34px;
  border: 1px solid #d6d6d6;
  display: flex;
  flex-direction: column;
  transition: background 0.18s, border-color 0.18s;
}

.project-card:hover {
  background: #fff8ec;
  border-color: #c8882f;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #61666a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.project-card h2 {
  margin: 42px 0 10px;
  font-size: clamp(2.5rem, 3.4vw, 3.6rem);
  text-transform: none;
}

.project-card p {
  max-width: 510px;
  color: #545b5d;
}

.card-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-top: auto;
  padding-top: 35px;
  font-size: 13px;
}

.card-bottom b {
  max-width: 290px;
}

.card-bottom span {
  color: #985913;
  font-weight: 700;
  white-space: nowrap;
}

/* Project detail hero + facts */

.detail-hero {
  padding: 55px 0 0;
}

.detail-hero h1 {
  max-width: 1050px;
  margin: 30px 0 27px;
}

.detail-hero h1::first-line {
  color: #fff;
}

.detail-hero .lead {
  color: #c5c5c5;
}

.hero-summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 70px;
  padding: 23px 0 28px;
  border-top: 1px solid #414141;
  color: #b7b7b7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.facts {
  background: #f4ede2;
}

.facts-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.65fr 1fr 1.4fr;
  gap: 1px;
  background: #d8ccbb;
}

.facts-grid > div {
  background: #f4ede2;
  padding: 26px 20px;
}

.facts small {
  display: block;
  margin-bottom: 11px;
  color: #8b704f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.facts strong {
  font-size: 14px;
  line-height: 1.45;
}

/* How-it-fits-together flow */

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
}

.flow > div {
  padding: 26px;
  border-right: 1px solid #bbb;
}

.flow > div:last-child {
  border: 0;
}

.flow span {
  display: block;
  margin-bottom: 38px;
  color: #a8661b;
  font-size: 13px;
  font-weight: 700;
}

.flow strong {
  display: block;
  font-size: 20px;
}

.flow p {
  margin-top: 10px;
  color: #666;
  font-size: 14px;
}

/* Closing quote */

.responsibility {
  background: #fff;
  padding: 95px 0 115px;
}

.responsibility blockquote {
  max-width: 930px;
  margin-top: 20px;
  padding-left: 30px;
  border-left: 5px solid var(--amber);
  font: 700 clamp(2.2rem, 3.2vw, 3.5rem) / 1.04 "Darker Grotesque", Arial, sans-serif;
}

.responsibility .back-link {
  margin-top: 38px;
}

@media (max-width: 900px) {
  .hero-art {
    right: -20%;
    width: 70%;
    opacity: 0.17;
  }

  .hero-rail {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

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

  .section-split {
    grid-template-columns: 1fr;
  }

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

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

  .flow > div:nth-child(2) {
    border-right: 0;
  }

  .flow > div:nth-child(-n + 2) {
    border-bottom: 1px solid #bbb;
  }
}

@media (max-width: 850px) {
  .number-row {
    grid-template-columns: 35px 1fr;
    gap: 8px 16px;
  }

  .number-row p {
    grid-column: 2;
  }
}

@media (max-width: 650px) {
  .hero .hero-actions {
    margin-top: 0;
  }

  .hero-rail {
    gap: 12px 20px;
  }

  .hero-rail strong {
    width: 100%;
  }

  .section {
    padding: 78px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head h2 {
    font-size: clamp(3.1rem, 12vw, 4.7rem);
  }

  .feature-grid,
  .project-grid,
  .facts-grid,
  .flow {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 215px;
  }

  .feature-grid article > span {
    margin-bottom: 25px;
  }

  .band-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .band-inner h2 {
    font-size: 3.3rem;
  }

  .projects-intro {
    padding: 35px 0 50px;
  }

  .projects-intro h1 {
    font-size: clamp(3.7rem, 14vw, 5.4rem);
  }

  .project-list {
    padding-top: 25px;
  }

  .project-card {
    min-height: 290px;
    padding: 25px;
  }

  .project-card h2 {
    margin-top: 30px;
  }

  .card-bottom {
    align-items: start;
    flex-direction: column;
    gap: 9px;
  }

  .detail-hero {
    padding-top: 36px;
  }

  .detail-hero h1 {
    font-size: clamp(3.5rem, 13vw, 5.5rem);
  }

  .hero-summary {
    flex-wrap: wrap;
    margin-top: 60px;
  }

  .facts-grid > div {
    padding: 20px;
    border-bottom: 1px solid #ddd1c0;
  }

  .flow > div {
    border-right: 0;
    border-bottom: 1px solid #bbb;
  }

  .flow > div:last-child {
    border-bottom: 0;
  }

  .responsibility {
    padding: 70px 0 85px;
  }
}

/* GeoSystems landing composition */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.landing-hero .hero-main {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 720px;
  padding: 90px 0 80px;
}

.landing-hero .hero-art {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: calc(100% - 70px);
  object-position: center 44%;
  opacity: 0.78;
  mask-image: linear-gradient(90deg, transparent 30%, #000 70%);
}

.landing-hero .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1080px;
}

.landing-hero .hero-copy h1 {
  max-width: 1060px;
  font-size: clamp(4.2rem, 6.6vw, 7.1rem);
}

.landing-hero .hero-copy .lead {
  max-width: 710px;
}

.terrain-frame {
  position: relative;
  align-self: stretch;
  min-height: 425px;
  margin: 0;
  border: 1px solid #775927;
  background: #252b2c;
  overflow: hidden;
}

.terrain-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08);
}

.terrain-frame:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(10, 17, 20, 0.9));
}

.terrain-frame figcaption {
  position: absolute;
  z-index: 1;
  bottom: 22px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.terrain-frame figcaption span {
  color: var(--amber);
}

.terrain-frame figcaption strong {
  font-size: 13px;
}

.landscape-section {
  background: #f5f2eb;
}

.landscape-section .section-head {
  max-width: 1000px;
}

.landscape {
  position: relative;
  width: 100%;
  height: 580px;
  margin: 0;
  border: 1px solid #d8d0c0;
  background-color: #faf8f3;
  background-size: 25px 25px;
}

.landscape-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #ad6f21;
  pointer-events: none;
}

.landscape-node {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #c4ae8d;
  box-shadow: 0 4px 0 rgba(40, 32, 20, 0.07);
  text-align: center;
}

.landscape-node span {
  color: #9a621c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.landscape-node strong {
  margin: 9px 0;
  font: 800 clamp(1.2rem, 2vw, 2rem) / 0.98 "Darker Grotesque", Arial, sans-serif;
}

.landscape-node p {
  color: #5b5b5b;
  font-size: 13px;
  line-height: 1.25;
}

.landscape-node.land {
  left: 39%;
  top: 1.7%;
  width: 22%;
  height: 27%;
  background: #202527;
  color: #fff;
  border-color: #a67c42;
}

.landscape-node.land p {
  color: #c8c9c7;
}

.landscape-node.market {
  left: 2.5%;
  top: 37.1%;
  width: 25%;
  height: 24.1%;
}

.landscape-node.modeling {
  left: 37.5%;
  top: 37.1%;
  width: 25%;
  height: 24.1%;
  background: #fff9ed;
  border-color: #ba7524;
}

.landscape-node.spatial {
  left: 72.5%;
  top: 37.1%;
  width: 25%;
  height: 24.1%;
}

.landscape-node.cama {
  left: 37.5%;
  top: 70%;
  width: 25%;
  height: 27%;
  background: #252a2b;
  color: #fff;
  border-color: #ae7a31;
}

.landscape-node.cama p {
  color: #c8c9c7;
}

.landscape-caption {
  max-width: 890px;
  margin: 18px 0 0;
  color: #65605a;
  font-size: 14px;
  line-height: 1.55;
}

.capability-section {
  background: #fff;
}

.capability-list {
  border-top: 1px solid #d6d1c7;
}

.capability-list article {
  display: grid;
  grid-template-columns: 115px minmax(210px, 0.9fr) minmax(240px, 1.35fr) 145px;
  gap: 25px;
  align-items: center;
  padding: 27px 0;
  border-bottom: 1px solid #d6d1c7;
}

.capability-list article > span {
  color: #9a621c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.capability-list h3 {
  font-size: clamp(2rem, 2.6vw, 2.7rem);
}

.capability-list p {
  color: #5a5e60;
}

.capability-list a {
  color: #945712;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.capability-list a:hover {
  text-decoration: underline;
}

.capability-list article > .capability-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  letter-spacing: normal;
}

.capability-list .capability-links a {
  font-size: 13px;
  white-space: nowrap;
}

.selected {
  background: #f5f2eb;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #695539;
  border: 1px solid #695539;
}

.proof-grid > a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 405px;
  padding: 34px;
  background: #202525;
  color: #fff;
  transition: background 0.2s;
}

.proof-grid > a:hover {
  background: #31312a;
}

.proof-grid span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.proof-grid h3 {
  margin: 56px 0 17px;
  font-size: clamp(2.6rem, 3.7vw, 4.3rem);
  text-transform: uppercase;
}

.proof-grid p {
  color: #c5c9c9;
}

.proof-grid strong {
  margin-top: auto;
  padding-top: 30px;
  font-size: 13px;
}

.proof-grid b {
  margin-top: 20px;
  color: var(--amber);
  font-size: 13px;
}

@media (max-width: 1000px) {
  .landing-hero .hero-main {
    grid-template-columns: 1fr 42%;
    gap: 30px;
  }

  .capability-list article {
    grid-template-columns: 105px 1fr 1.2fr;
    gap: 15px;
  }

  .capability-list a {
    grid-column: 2 / -1;
    text-align: left;
  }

  .capability-list article > .capability-links {
    grid-column: 2 / -1;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .landscape {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: auto;
    padding: 20px;
  }

  .landscape-lines {
    display: none;
  }

  .landscape-node,
  .landscape-node.land,
  .landscape-node.market,
  .landscape-node.modeling,
  .landscape-node.spatial,
  .landscape-node.cama {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 130px;
    text-align: left;
    padding: 20px;
  }

  .landscape-node span {
    font-size: 12px;
  }

  .landscape-node strong {
    margin: 8px 0;
    font-size: 1.9rem;
  }

  .landscape-node p {
    font-size: 14px;
  }
}

@media (max-width: 800px) {
  .landing-hero .hero-main {
    min-height: 660px;
  }

  .landing-hero .hero-copy h1 {
    font-size: clamp(4rem, 9.5vw, 6.3rem);
  }

  .landing-hero .hero-art {
    right: -18vw;
    width: 110vw;
    opacity: 0.62;
  }

  .terrain-frame {
    min-height: 300px;
    max-height: 390px;
  }

  .terrain-frame img {
    position: relative;
    height: 390px;
  }

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

  .proof-grid > a {
    min-height: 280px;
  }

  .proof-grid h3 {
    margin: 25px 0 15px;
  }
}

@media (max-width: 650px) {
  .landing-hero .hero-main {
    min-height: 650px;
    padding: 78px 0 62px;
  }

  .landing-hero .hero-copy h1 {
    font-size: clamp(3.6rem, 12.7vw, 5.4rem);
  }

  .landing-hero .hero-art {
    right: -53vw;
    width: 170vw;
    opacity: 0.52;
  }

  .landing-hero .hero-main::before {
    background: linear-gradient(90deg, rgba(23, 23, 23, 0.93), rgba(23, 23, 23, 0.72)), linear-gradient(0deg, #171717, transparent 35%);
  }

  .terrain-frame {
    min-height: 240px;
  }

  .terrain-frame img {
    height: 260px;
  }

  .landscape {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: auto;
    padding: 20px;
    background-size: 20px 20px;
  }

  .landscape-lines {
    display: none;
  }

  .landscape-node,
  .landscape-node.land,
  .landscape-node.market,
  .landscape-node.modeling,
  .landscape-node.spatial,
  .landscape-node.cama {
    position: relative;
    width: 100%;
    min-height: 135px;
    text-align: left;
    padding: 20px;
  }

  .landscape-node strong {
    margin: 8px 0;
    font-size: 1.9rem;
  }

  .landscape-node p {
    font-size: 14px;
  }

  .landscape-node span {
    font-size: 11px;
  }

  .capability-list article {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 0;
  }

  .capability-list a {
    grid-column: auto;
  }

  .capability-list article > .capability-links {
    grid-column: auto;
  }

  .proof-grid > a {
    padding: 28px;
  }
}
