:root {
  --ink: #17211f;
  --ink-soft: #52605c;

  --deep-green: #0b1917;
  --deep-green-2: #142b26;
  --deep-green-3: #1c3b33;

  --accent: #66885d;
  --accent-light: #9fbd91;
  --logo-blue: #2789d2;

  --paper: #f7f8f5;
  --stone: #e8eee9;
  --white: #ffffff;

  --line: rgba(23, 33, 31, 0.16);
  --line-light: rgba(255, 255, 255, 0.18);

  --shell: 1180px;
  --header-height: 78px;

  --shadow:
    0 24px 70px rgba(4, 15, 13, 0.22);
}


/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  color: var(--ink);
  background: var(--paper);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  font-size: 16px;
  line-height: 1.65;

  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.shell {
  width: min(calc(100% - 52px), var(--shell));
  margin-inline: auto;
}

.sr-only {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);
  white-space: nowrap;

  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;

  top: 10px;
  left: 10px;

  padding: 10px 14px;

  color: var(--ink);
  background: var(--white);

  border-radius: 5px;

  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: fixed;
  z-index: 50;

  inset: 0 0 auto;

  height: var(--header-height);

  color: var(--white);

  background:
    linear-gradient(
      180deg,
      rgba(4, 14, 13, 0.86),
      rgba(4, 14, 13, 0.30)
    );

  border-bottom: 1px solid rgba(255, 255, 255, 0.14);

  transition:
    background 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.site-header.is-condensed {
  background: rgba(7, 20, 18, 0.94);

  border-color: rgba(255, 255, 255, 0.12);

  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.24);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-shell {
  width: min(calc(100% - 52px), 1320px);
  height: 100%;

  margin-inline: auto;

  display: flex;
  align-items: center;

  gap: 36px;
}


/*
  Hidden initially.

  JavaScript adds .is-condensed to the header after scrolling,
  revealing this smaller logo.
*/

.header-brand {
  flex: 0 0 0;

  width: 0;
  margin-right: auto;

  overflow: hidden;

  opacity: 0;
  pointer-events: none;

  transform: translateX(-16px);

  text-decoration: none;

  transition:
    width 240ms ease,
    flex-basis 240ms ease,
    opacity 180ms ease,
    transform 240ms ease;
}

.header-brand img {
  content: url("images/GBS-logo-white.png");

  width: 265px;
  max-width: none;
  max-height: 50px;

  object-fit: contain;
  object-position: left center;
}

.site-header.is-condensed .header-brand {
  flex-basis: 265px;

  width: 265px;

  opacity: 1;
  pointer-events: auto;

  transform: none;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.site-nav {
  display: flex;
  align-items: center;

  gap: clamp(22px, 2.7vw, 42px);

  margin-left: auto;
}

.site-nav a {
  position: relative;

  color: var(--white);

  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.01em;

  text-decoration: none;
  white-space: nowrap;
}

.site-nav > a:not(.nav-contact)::after {
  content: "";

  position: absolute;

  left: 0;
  right: 100%;
  bottom: -8px;

  height: 2px;

  background: var(--accent-light);

  transition: right 180ms ease;
}

.site-nav > a:hover::after,
.site-nav > a.is-active::after {
  right: 0;
}

.nav-contact {
  padding: 11px 18px;

  color: var(--white) !important;
  background: rgba(102, 136, 93, 0.84);

  border: 1px solid rgba(159, 189, 145, 0.50);
  border-radius: 2px;

  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.nav-contact:hover {
  background: var(--logo-blue);
  border-color: var(--logo-blue);

  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}


/* =========================================================
   SHARED IMAGE SECTIONS
   ========================================================= */

.image-section {
  position: relative;

  overflow: hidden;
  isolation: isolate;

  color: var(--white);
  background-color: var(--deep-green);

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.image-shade {
  position: absolute;
  z-index: 0;

  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 74% 30%,
      rgba(39, 137, 210, 0.14),
      transparent 42%
    ),
    linear-gradient(
      90deg,
      rgba(4, 15, 13, 0.76) 0%,
      rgba(4, 15, 13, 0.46) 54%,
      rgba(4, 15, 13, 0.28) 100%
    );
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: 860px;

  background-image: url("images/back.jpg");
  background-position: center 42%;
}

.hero-grid {
  position: absolute;
  z-index: 0;

  inset: 0;

  pointer-events: none;

  opacity: 0.08;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.18) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.18) 1px,
      transparent 1px
    );

  background-size: 88px 88px;

  mask-image:
    linear-gradient(
      90deg,
      black,
      transparent 68%
    );
}

.hero-stage {
  position: relative;
  z-index: 1;

  min-height: 860px;

  padding-top: 112px;
  padding-bottom: 105px;
}


/* Large white logo on frosted glass */

.hero-brand {
  display: block;

  width: min(60vw, 980px);
  max-width: calc(100% - 64px);

  margin: 0 auto 64px;

  padding:
    clamp(18px, 1.8vw, 30px)
    clamp(24px, 2.8vw, 48px);

  background:
    linear-gradient(
      135deg,
      rgba(226, 237, 232, 0.30),
      rgba(118, 151, 136, 0.17)
    );

  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 14px;

  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);

  backdrop-filter:
    blur(22px)
    saturate(115%);

  -webkit-backdrop-filter:
    blur(22px)
    saturate(115%);

  text-decoration: none;
}

.hero-brand img {
  content: url("images/GBS-logo-white.png");

  width: 100%;
  height: auto;

  object-fit: contain;
}

.hero-inner {
  display: grid;

  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(310px, 0.65fr);

  align-items: end;

  gap: 80px;
}

.eyebrow {
  margin: 0 0 18px;

  color: rgba(255, 255, 255, 0.74);

  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.18em;

  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--accent);
}

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

.hero h1 {
  max-width: 790px;

  margin: 0;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(2.55rem, 4vw, 4.25rem);

  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero h1 em,
.approach-heading h2 em {
  color: var(--accent-light);

  font-weight: 400;
}

.hero-intro {
  max-width: 720px;

  margin: 28px 0 0;

  color: rgba(255, 255, 255, 0.82);

  font-size:
    clamp(1.03rem, 1.5vw, 1.22rem);

  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 34px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  min-height: 52px;

  padding: 12px 21px;

  border: 1px solid transparent;
  border-radius: 2px;

  font-size: 0.91rem;
  font-weight: 800;

  text-decoration: none;

  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

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

.button-solid {
  color: var(--white);
  background: var(--accent);
}

.button-solid:hover {
  background: #789b6e;
}

.button-ghost {
  color: var(--white);

  background: rgba(255, 255, 255, 0.04);

  border-color: rgba(255, 255, 255, 0.46);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.78);
}

.button-light {
  color: var(--deep-green);
  background: var(--white);
}


/* =========================================================
   HERO NOTE
   ========================================================= */

.hero-note {
  align-self: end;

  margin-bottom: 8px;

  padding: 28px 29px 27px;

  background: rgba(5, 20, 17, 0.58);

  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 3px solid var(--accent-light);

  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.26);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.note-kicker {
  color: var(--accent-light);

  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.17em;

  text-transform: uppercase;
}

.hero-note p {
  margin: 16px 0;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.28rem;
  line-height: 1.42;
}

.note-rule {
  display: block;

  width: 58px;
  height: 1px;

  margin: 19px 0;

  background: rgba(255, 255, 255, 0.35);
}

.hero-note small {
  color: rgba(255, 255, 255, 0.66);

  line-height: 1.55;
}

.scroll-cue {
  position: absolute;
  z-index: 2;

  left: 50%;
  bottom: 25px;

  display: grid;
  justify-items: center;

  gap: 8px;

  color: rgba(255, 255, 255, 0.62);

  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;

  text-decoration: none;
  text-transform: uppercase;

  transform: translateX(-50%);
}

.scroll-cue i {
  width: 1px;
  height: 22px;

  background: rgba(255, 255, 255, 0.45);
}


/* =========================================================
   INTRO
   ========================================================= */

.intro {
  padding: 110px 0;

  background: var(--paper);
}

.intro-grid {
  display: grid;

  grid-template-columns:
    66px
    minmax(0, 1.1fr)
    minmax(320px, 0.9fr);

  gap: 46px;

  align-items: start;
}

.section-marker {
  padding-top: 10px;

  color: var(--accent);

  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.15em;

  writing-mode: vertical-rl;
}

.intro-heading h2,
.section-top h2,
.concord-copy h2,
.approach-heading h2,
.contact-copy h2 {
  margin: 0;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(2rem, 3.1vw, 3.2rem);

  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.037em;
}

.intro-copy {
  padding-top: 36px;

  color: var(--ink-soft);

  font-size: 1.06rem;
}

.intro-copy p {
  margin: 0 0 21px;
}


/* =========================================================
   EXPERTISE
   ========================================================= */

.expertise-section {
  padding: 105px 0 115px;

  color: var(--ink);
  background: var(--paper);
}

.section-top {
  display: grid;

  grid-template-columns:
    1.15fr
    0.85fr;

  gap: 90px;

  align-items: end;

  margin-bottom: 54px;
}

.section-top h2 {
  max-width: 760px;
}

.section-top > p {
  max-width: 500px;

  margin: 0 0 8px;

  color: var(--ink-soft);

  font-size: 1.04rem;
}

.expertise-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.expertise-card {
  min-height: 315px;

  padding: 36px 38px;

  color: var(--ink);
  background: rgba(255, 255, 255, 0.38);

  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  transition:
    background 200ms ease,
    transform 200ms ease;
}

.expertise-card:hover {
  background: rgba(102, 136, 93, 0.07);
}

.card-number {
  color: var(--accent);

  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.expertise-card h3 {
  margin: 42px 0 14px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.68rem;
  font-weight: 500;
}

.expertise-card p {
  max-width: 480px;

  margin: 0;

  color: var(--ink-soft);
}

.expertise-card ul {
  margin: 24px 0 0;
  padding: 0;

  list-style: none;
}

.expertise-card li {
  position: relative;

  padding: 5px 0 5px 17px;

  color: var(--ink);

  font-size: 0.91rem;
}

.expertise-card li::before {
  content: "";

  position: absolute;

  left: 0;
  top: 15px;

  width: 6px;
  height: 1px;

  background: var(--accent);
}


/* =========================================================
   STATEMENT IMAGE
   ========================================================= */

.statement {
  min-height: 500px;

  display: grid;
  align-items: center;

  background-image: url("images/back2.jpg");
  background-position: center 48%;
}

.image-shade-warm {
  background:
    linear-gradient(
      90deg,
      rgba(5, 18, 16, 0.82),
      rgba(5, 18, 16, 0.42) 64%,
      rgba(5, 18, 16, 0.50)
    ),
    linear-gradient(
      180deg,
      rgba(55, 90, 64, 0.10),
      rgba(0, 0, 0, 0.22)
    );
}

.statement-inner {
  position: relative;
  z-index: 1;

  padding-block: 100px;
}

.statement-label {
  margin: 0 0 24px;

  color: var(--accent-light);

  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.18em;

  text-transform: uppercase;
}

.statement blockquote {
  max-width: 1000px;

  margin: 0;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(2.2rem, 3.7vw, 3.9rem);

  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.statement blockquote em {
  color: var(--accent-light);

  font-weight: 400;
}


/* =========================================================
   CONCORD
   ========================================================= */

.concord-section {
  padding: 115px 0;

  background: var(--stone);
}

.concord-layout {
  display: grid;

  grid-template-columns:
    66px
    minmax(0, 1fr)
    minmax(390px, 0.78fr);

  gap: 46px;

  align-items: center;
}

.concord-copy h2 {
  max-width: 710px;
}

.concord-copy p {
  max-width: 720px;

  margin: 25px 0 0;

  color: var(--ink-soft);

  font-size: 1.04rem;
}

.arrow-link {
  display: inline-flex;
  align-items: center;

  gap: 15px;

  margin-top: 31px;
  padding-bottom: 4px;

  color: var(--ink);

  border-bottom: 1px solid var(--ink);

  font-weight: 850;

  text-decoration: none;
}

.arrow-link span {
  transition: transform 180ms ease;
}

.arrow-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.arrow-link:hover span {
  transform: translateX(5px);
}

.concord-visual {
  position: relative;

  min-height: 390px;

  display: grid;
  align-content: space-between;

  padding: 33px;

  overflow: hidden;

  color: var(--white);
  background-color: var(--deep-green-2);

  background-image:
    linear-gradient(
      180deg,
      rgba(5, 19, 18, 0.28),
      rgba(5, 19, 18, 0.76)
    ),
    url("images/back3.jpg");

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  box-shadow: var(--shadow);

  text-decoration: none;
}

.concord-visual::before {
  content: "";

  position: absolute;

  right: -86px;
  bottom: -86px;

  width: 240px;
  height: 240px;

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.concord-panel-label {
  color: var(--accent-light);

  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.15em;

  text-transform: uppercase;
}

.concord-visual img {
  align-self: center;

  width: 100%;

  padding: 22px;

  background: rgba(255, 255, 255, 0.92);

  opacity: 0.98;
}

.concord-panel-footer {
  display: flex;
  justify-content: space-between;

  gap: 20px;

  padding-top: 20px;

  color: rgba(255, 255, 255, 0.72);

  border-top: 1px solid rgba(255, 255, 255, 0.17);

  font-size: 0.83rem;
  font-weight: 700;
}

.concord-panel-footer b {
  color: var(--accent-light);

  font-size: 1rem;
}




/* =========================================================
   INTEGRATIONS
   ========================================================= */

.integrations-section {
  padding: 112px 0 118px;
  color: var(--ink);
  background: linear-gradient(180deg, #edf2ee 0%, var(--paper) 100%);
}

.integrations-header {
  max-width: 900px;
  margin-bottom: 50px;
}

.integrations-header h2 {
  max-width: 880px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.1vw, 3.2rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.037em;
}

.integrations-header > p:last-child {
  max-width: 790px;
  margin: 23px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.integration-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 29px 28px 27px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 33, 31, 0.11);
  border-top: 3px solid var(--accent);
  box-shadow: 0 14px 35px rgba(8, 25, 21, 0.075);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.integration-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 21px 46px rgba(8, 25, 21, 0.12);
}

.integration-logo {
  height: 58px;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.integration-logo img {
  width: auto;
  height: auto;
  max-width: 165px;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
}

.integration-card h3 {
  margin: 0 0 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.46rem;
  font-weight: 500;
  line-height: 1.15;
}

.integration-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.67;
}

.integration-card-wide {
  grid-column: 1 / -1;
  min-height: 0;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  padding-block: 30px;
}

.integration-card-wide .integration-logo {
  height: auto;
  margin: 0;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.integration-card-wide .integration-logo img {
  max-width: 125px;
  max-height: 54px;
}

.integration-card-wide p {
  max-width: 800px;
}

@media (max-width: 980px) {
  .integrations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .integration-card-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .integrations-section {
    padding: 84px 0;
  }

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

  .integration-card {
    min-height: 0;
    padding: 25px 23px 24px;
  }

  .integration-card-wide {
    grid-column: auto;
    display: flex;
    align-items: stretch;
    gap: 0;
  }

  .integration-card-wide .integration-logo {
    height: 58px;
    justify-content: flex-start;
    margin-bottom: 24px;
    border-right: 0;
  }

  .integration-card h3 {
    font-size: 1.34rem;
  }
}


/* =========================================================
   APPROACH
   ========================================================= */

.approach-section {
  padding: 110px 0;

  color: var(--white);

  background:
    linear-gradient(
      135deg,
      #10231f,
      #17362f
    );
}

.approach-layout {
  display: grid;

  grid-template-columns:
    0.86fr
    1.14fr;

  gap: 100px;

  align-items: start;
}

.approach-heading {
  position: sticky;

  top: 120px;
}

.approach-heading p:last-child {
  max-width: 470px;

  margin: 26px 0 0;

  color: rgba(255, 255, 255, 0.70);

  font-size: 1.05rem;
}

.approach-list {
  margin: 0;
  padding: 0;

  border-top: 1px solid rgba(255, 255, 255, 0.18);

  list-style: none;
}

.approach-list li {
  display: grid;

  grid-template-columns:
    66px
    1fr;

  gap: 28px;

  padding: 32px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.approach-list > li > span {
  padding-top: 4px;

  color: var(--accent-light);

  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.approach-list h3 {
  margin: 0 0 7px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.58rem;
  font-weight: 500;
}

.approach-list p {
  margin: 0;

  color: rgba(255, 255, 255, 0.70);
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
  min-height: 650px;

  display: grid;
  align-items: center;

  color: var(--ink);
  background: var(--paper);
}

.image-shade-contact {
  display: none;
}

.contact-layout {
  position: relative;
  z-index: 1;

  display: grid;

  grid-template-columns:
    1.05fr
    0.75fr;

  gap: 90px;

  align-items: center;

  padding-block: 105px;
}

.contact-copy h2 {
  max-width: 760px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 660px;

  margin: 28px 0 34px;

  color: var(--ink-soft);

  font-size: 1.08rem;
}

.contact-form {
  padding: 32px;

  background: rgba(255, 255, 255, 0.88);

  border: 1px solid rgba(23, 33, 31, 0.16);
  border-top: 3px solid var(--accent);

  box-shadow:
    0 25px 65px rgba(8, 25, 21, 0.12);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.form-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 20px;
}

.contact-form label {
  display: grid;

  gap: 8px;
}

.contact-form label > span {
  color: var(--accent);

  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.15em;

  text-transform: uppercase;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;

  padding: 13px 14px;

  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);

  border: 1px solid rgba(23, 33, 31, 0.20);
  border-radius: 2px;

  outline: none;

  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.contact-form textarea {
  min-height: 150px;

  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: var(--white);

  border-color: var(--accent);

  box-shadow:
    0 0 0 3px rgba(98, 131, 90, 0.14);
}

.form-honeypot {
  position: absolute !important;

  left: -10000px !important;

  width: 1px !important;
  height: 1px !important;

  overflow: hidden !important;
}

.form-actions {
  display: flex;
  align-items: center;

  gap: 18px;

  margin-top: 22px;
}

.form-actions .button {
  min-width: 150px;

  cursor: pointer;
}

.form-actions .button[disabled] {
  cursor: wait;

  opacity: 0.68;

  transform: none;
}

.form-status {
  margin: 0;

  color: var(--ink-soft);

  font-size: 0.9rem;
}

.form-status.is-success {
  color: #386b43;
}

.form-status.is-error {
  color: #9c3e34;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 34px 0;

  color: rgba(23, 33, 31, 0.68);
  background: #dfe7e1;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 35px;
}

.footer-inner p {
  margin: 0;

  font-size: 0.82rem;
}

.footer-inner a {
  color: var(--ink);

  font-size: 0.84rem;
  font-weight: 750;

  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--logo-blue);
}


/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.js .reveal {
  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity 640ms ease,
    transform 640ms ease;
}

.js .reveal.is-visible {
  opacity: 1;

  transform: none;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;

    transform: none;
  }
}


/* =========================================================
   RESPONSIVE — MEDIUM DESKTOP
   ========================================================= */

@media (max-width: 1180px) {
  .header-shell {
    gap: 22px;
  }

  .site-header.is-condensed .header-brand {
    flex-basis: 235px;

    width: 235px;
  }

  .header-brand img {
    width: 235px;
  }

  .site-nav {
    gap: 15px;
  }

  .site-nav a {
    font-size: 0.86rem;
  }
}


/* =========================================================
   RESPONSIVE — TABLET LANDSCAPE
   ========================================================= */

@media (max-width: 1060px) {
  .header-shell {
    gap: 18px;
  }

  .site-header.is-condensed .header-brand {
    flex-basis: 215px;

    width: 215px;
  }

  .header-brand img {
    width: 215px;
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 0.82rem;
  }

  .hero-brand {
    width: 60vw;
    max-width: calc(100% - 48px);

    margin-bottom: 54px;
  }

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

    gap: 38px;
  }

  .hero-note {
    max-width: 580px;
  }

  .intro-grid {
    grid-template-columns:
      45px
      1fr;
  }

  .intro-copy {
    grid-column: 2;

    padding-top: 0;
  }

  .concord-layout {
    grid-template-columns:
      45px
      1fr;
  }

  .concord-visual {
    grid-column: 2;

    min-height: 320px;
  }

  .approach-layout {
    gap: 60px;
  }

  .contact-layout {
    grid-template-columns:
      1fr
      0.75fr;

    gap: 55px;
  }
}


/* =========================================================
   RESPONSIVE — TABLET / MOBILE NAV
   ========================================================= */

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .shell,
  .header-shell {
    width: min(calc(100% - 34px), var(--shell));
  }

  .site-header.is-condensed .header-brand {
    flex-basis: 225px;

    width: 225px;
  }

  .header-brand img {
    width: 225px;
    max-height: 44px;
  }

  .nav-toggle {
    width: 44px;
    height: 42px;

    display: grid;
    place-content: center;

    gap: 5px;

    padding: 0;

    color: var(--white);
    background: rgba(0, 0, 0, 0.10);

    border: 1px solid rgba(255, 255, 255, 0.20);

    cursor: pointer;
  }

  .site-header.is-condensed .nav-toggle {
    color: var(--white);
    background: transparent;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;

    width: 20px;
    height: 2px;

    background: currentColor;

    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform:
      translateY(7px)
      rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(4) {
    transform:
      translateY(-7px)
      rotate(-45deg);
  }

  .site-nav {
    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    display: none;

    align-items: stretch;

    gap: 0;

    padding: 12px 17px 18px;

    color: var(--ink);
    background: rgba(247, 248, 245, 0.98);

    border-bottom: 1px solid var(--line);

    box-shadow:
      0 18px 30px rgba(0, 0, 0, 0.10);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 13px 4px;

    color: var(--ink);

    border-bottom: 1px solid var(--line);
  }

  .site-nav > a::after {
    display: none;
  }

  .site-nav .nav-contact {
    margin-top: 12px;
    padding: 12px 15px;

    color: var(--white) !important;
    background: var(--deep-green);

    border: 0;

    text-align: center;
  }

  .hero,
  .hero-stage {
    min-height: 760px;
  }

  .hero-stage {
    padding-top: 96px;
    padding-bottom: 82px;
  }

  .hero-brand {
    width: min(86vw, 720px);
    max-width: calc(100% - 34px);

    margin-bottom: 44px;

    padding: 18px 24px;
  }

  .hero h1 {
    font-size:
      clamp(2.65rem, 9vw, 4rem);
  }

  .hero-note {
    display: none;
  }

  .intro {
    padding-block: 88px;
  }

  .intro-grid {
    grid-template-columns: 1fr;

    gap: 25px;
  }

  .section-marker {
    display: none;
  }

  .intro-copy {
    grid-column: auto;
  }

  .section-top {
    grid-template-columns: 1fr;

    gap: 25px;
  }

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

  .statement {
    min-height: 440px;
  }

  .concord-layout {
    grid-template-columns: 1fr;
  }

  .concord-visual {
    grid-column: auto;
  }

  .approach-layout {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .approach-heading {
    position: static;
  }

  .contact-layout {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .contact-form {
    max-width: 640px;
  }

  .footer-inner {
    justify-content: center;

    flex-wrap: wrap;

    text-align: center;
  }
}


/* =========================================================
   RESPONSIVE — PHONE
   ========================================================= */

@media (max-width: 540px) {
  .shell,
  .header-shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .site-header.is-condensed .header-brand {
    flex-basis: 185px;

    width: 185px;
  }

  .header-brand img {
    width: 185px;
  }

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

  .hero-stage {
    padding-top: 90px;
  }

  .hero-brand {
    width: calc(100% - 28px);
    max-width: 520px;

    margin-bottom: 38px;

    padding: 14px 18px;

    border-radius: 10px;
  }

  .hero h1 {
    font-size:
      clamp(2.5rem, 12vw, 3.65rem);
  }

  .hero-intro {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .intro-heading h2,
  .section-top h2,
  .concord-copy h2,
  .integrations-header h2,
  .approach-heading h2,
  .contact-copy h2 {
    font-size: 2.18rem;
  }

  .expertise-section,
  .concord-section,
  .approach-section {
    padding-block: 80px;
  }

  .expertise-card {
    min-height: 0;

    padding: 30px 25px;
  }

  .expertise-card h3 {
    margin-top: 30px;

    font-size: 1.5rem;
  }

  .statement blockquote {
    font-size: 2.35rem;
  }

  .concord-visual {
    min-height: 275px;

    padding: 25px;
  }

  .approach-list li {
    grid-template-columns:
      42px
      1fr;

    gap: 15px;
  }

  .contact-layout {
    padding-block: 82px;
  }

  .contact-form {
    padding: 25px 22px;
  }

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

  .form-field-full {
    grid-column: auto;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .button {
    width: 100%;
  }
}