/* ==========================================================================
   Sections
   ========================================================================== */

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--teal-800) url("../images/site/hero.jpg") right center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 34, 42, 0.78) 0%, rgba(4, 34, 42, 0.45) 45%, rgba(4, 34, 42, 0) 70%);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 8.5rem;
  padding-bottom: clamp(8rem, 16vw, 13rem);
}

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

.hero-kicker {
  margin: 1.75rem 0 1.25rem;
  font-size: var(--fs-md);
  color: var(--on-dark-muted);
}

.hero-title {
  font-family: var(--serif);
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero-title span {
  display: block;
  color: var(--gold-light);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  margin: 2rem 0 2.75rem;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
}

.hero-points li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1.1em;
  margin: 0 1.1rem;
  vertical-align: -0.15em;
  background: var(--gold);
}

.hero-anim {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 1s var(--ease) var(--d, 0s) forwards;
}

@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 3rem;
  align-items: end;
}

.about-intro {
  grid-column: 1 / 8;
}

.about-intro .rule {
  margin-bottom: 2rem;
}

.about-intro .lead {
  color: var(--teal-800);
}

.about-body {
  grid-column: 9 / 13;
  color: var(--muted);
}

.about-body p + p {
  margin-top: 1rem;
}

.about-body .btn-row {
  margin-top: 2.25rem;
}

/* ==========================================================================
   Opportunities Without Borders
   ========================================================================== */

.borders {
  overflow: hidden;
  background: var(--teal-900);
}

.borders .section-head {
  margin-bottom: 1rem;
}

.map {
  margin-inline: calc(var(--gutter) * -1);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 78%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}

.map img {
  width: 100%;
  height: auto;
}

.pillars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1040px;
  margin: -1.5rem auto 0;
}

.pillars::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 12%, var(--gold) 88%, transparent);
}

.pillar {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  text-align: center;
}

.pillar-label {
  max-width: 11ch;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
  line-height: 1.2;
  color: var(--white);
}

.pillar + .pillar::before {
  content: "";
  position: absolute;
  bottom: 0.1em;
  left: calc(-0.5rem - 0.75px);
  width: 1.5px;
  height: 2.2em;
  background: var(--gold);
}

/* ==========================================================================
   Approach
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 2.5rem;
}

.split-head {
  grid-column: 1 / 6;
}

.split-head .rule {
  margin-bottom: 2rem;
}

.split-head .heading {
  color: var(--teal-800);
}

.split-body {
  grid-column: 7 / 13;
  color: var(--muted);
}

.split-body p + p {
  margin-top: 1rem;
}

.routes {
  margin-top: 2.75rem;
  border-top: 1px solid var(--line);
}

.routes li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: baseline;
  padding: 1.15rem 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem);
  line-height: 1.25;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.routes-n {
  font-size: 1rem;
  color: var(--gold-deep);
  font-variant-numeric: lining-nums tabular-nums;
}

.objective {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 1.5rem;
}

.objective-lead {
  grid-column: 1 / 5;
  color: var(--muted);
}

.objective-title {
  grid-column: 5 / 13;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 1rem + 3.6vw, 4.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--teal-800);
  text-wrap: balance;
}

/* ==========================================================================
   Specialist Knowledge — Connected Solutions
   ========================================================================== */

.connected {
  overflow: hidden;
  background: var(--teal-950);
}

.connected-art {
  position: absolute;
  top: 0;
  right: 0;
  width: min(62%, 980px);
  aspect-ratio: 690 / 200;
  background: url("../images/site/globe.jpg") right top / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%), linear-gradient(180deg, #000 55%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 40%), linear-gradient(180deg, #000 55%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
  opacity: 0.85;
  pointer-events: none;
}

.connected .container {
  position: relative;
}

.connected-head {
  max-width: 720px;
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.connected-head .rule {
  margin-bottom: 2rem;
}

.connected-head p {
  max-width: 50ch;
  margin-top: 1.75rem;
  color: var(--on-dark-muted);
}

.equation {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.9rem;
  margin-top: 2rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
  color: var(--white);
}

.equation .op {
  color: var(--gold);
}

.arches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.arch {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.25rem 2.25rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--gold-line);
  border-radius: 999px 999px var(--radius) var(--radius);
}

.arch:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: clamp(1rem, 2vw, 1.75rem);
  height: 1px;
  background: var(--gold);
}

.arch .ring {
  --ring: 76px;
  margin-bottom: 1.5rem;
}

.arch h3 {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 0.95rem + 0.45vw, 1.35rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--white);
}

.arch .rule {
  width: 36px;
  height: 2px;
  margin: 1rem auto;
}

.arch p {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--on-dark-muted);
}

/* ==========================================================================
   Expertise
   ========================================================================== */

.expertise .section-head .heading {
  color: var(--teal-800);
}

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

.service {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}

.service:hover {
  border-color: var(--gold);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.service-n {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold-deep);
  font-variant-numeric: lining-nums;
}

.service-title {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--teal-800);
  text-wrap: balance;
}

.service .rule {
  width: 40px;
  height: 2px;
  margin: 1.25rem 0;
}

.service-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: var(--muted);
}

.service-text p + p {
  margin-top: 1rem;
}

.service-text .text-link {
  align-self: flex-start;
  margin-top: auto;
}

.service-text p:last-of-type {
  margin-bottom: 1.75rem;
}

/* ==========================================================================
   How We Work
   ========================================================================== */

.process {
  overflow: hidden;
  padding-bottom: 0;
  background: var(--teal-900);
}

.steps {
  --ring: 104px;
  --gap: clamp(0.75rem, 1.6vw, 1.5rem);
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
}

.steps::before {
  content: "";
  position: absolute;
  top: calc(var(--ring) / 2);
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--gold);
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--ring) / 2 - 4px);
  left: calc(100% + var(--gap) / 2 - 4px);
  width: 8px;
  height: 8px;
  background: var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 0 10px 2px rgba(232, 203, 147, 0.6);
}

.step .ring {
  z-index: 1;
  background: var(--teal-900);
}

.step-card {
  flex: 1;
  width: 100%;
  margin-top: calc(var(--ring) / -2.6);
  padding: calc(var(--ring) / 2.6 + 1.5rem) 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gold-line);
  border-radius: 28px;
}

.step-n {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: lining-nums;
}

.step h3 {
  margin-top: 0.5rem;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1rem + 0.7vw, 1.7rem);
  font-weight: 400;
  color: var(--white);
}

.step .rule {
  width: 36px;
  height: 2px;
  margin: 1rem auto;
}

.step p {
  font-size: 0.9688rem;
  line-height: 1.5;
  color: var(--on-dark-muted);
}

.wave {
  margin-top: clamp(3rem, 6vw, 5rem);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 40%);
}

.wave img {
  width: 100%;
  height: clamp(90px, 12vw, 160px);
  object-fit: cover;
  object-position: center;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
}

.contact-intro {
  grid-column: 1 / 6;
}

.contact-intro .rule {
  margin-bottom: 2rem;
}

.contact-intro .heading {
  color: var(--teal-800);
}

.contact-intro p {
  max-width: 36ch;
  margin-top: 1.75rem;
  color: var(--muted);
}

.contact-form {
  grid-column: 7 / 13;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.form-foot .checkbox {
  max-width: 30ch;
}

.consent-error {
  display: block;
}

.form-status {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--cream);
  border-left: 2px solid var(--gold);
}

.form-status:empty {
  display: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: clamp(4rem, 7vw, 6rem) 0 2rem;
  color: var(--on-dark-muted);
  background: var(--teal-950);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-light);
}

.footer-brand img {
  width: 210px;
  height: auto;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: var(--fs-sm);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 2rem clamp(2.5rem, 6vw, 5rem);
}

.footer-nav h4 {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gold);
}

.footer-nav li + li {
  margin-top: 0.5rem;
}

.footer-nav a {
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-disclaimer {
  max-width: 72ch;
  padding-block: 2rem;
  font-size: var(--fs-sm);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  font-size: var(--fs-sm);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .arches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 1.5rem;
  }

  .arch:not(:last-child)::after {
    display: none;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 2.5rem;
  }

  .steps::before,
  .step:not(:last-child)::after {
    display: none;
  }

  .connected-art {
    width: 80%;
    opacity: 0.45;
  }
}

@media (max-width: 960px) {
  .about-intro,
  .about-body,
  .split-head,
  .split-body,
  .objective-lead,
  .objective-title,
  .contact-intro,
  .contact-form {
    grid-column: 1 / -1;
  }

  .contact-form {
    margin-top: 3rem;
  }

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

  .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 2rem;
    margin-top: 1.5rem;
  }

  .pillars::before,
  .pillar + .pillar::before {
    display: none;
  }

  .hero {
    background-position: 72% center;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(4, 34, 42, 0.55) 0%, rgba(4, 34, 42, 0.75) 60%, rgba(4, 34, 42, 0.4) 100%);
  }
}

@media (max-width: 640px) {
  .hero-inner {
    padding-bottom: 7rem;
  }

  .hero-points {
    gap: 0.25rem 1.25rem;
  }

  .hero-points li + li::before {
    display: none;
  }

  .hero-content .btn-row,
  .hero-content .btn {
    width: 100%;
  }

  .map {
    margin-inline: -40%;
  }

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

  .pillar .ring {
    --ring: 80px;
  }

  .arches,
  .steps {
    grid-template-columns: 1fr;
  }

  .arch {
    border-radius: 160px 160px var(--radius) var(--radius);
  }

  .routes li {
    grid-template-columns: 2.25rem minmax(0, 1fr);
  }

  .form-foot .btn {
    width: 100%;
  }

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