/* =========================================================================
   Bison Energy shared stylesheet
   ========================================================================= */

:root {
  /* Brand tokens (match coming-soon index.html) */
  --bison-blue: #234670;
  --bison-navy: #1E2D44;
  --bison-gold: #C69A2E;
  --bison-white: #FAFAF7;
  --bison-gray: #6B7280;
  --bison-rule: #D9DDE3;

  /* Light-surface semantic tokens (default for inner pages) */
  --bg: var(--bison-white);
  --surface: #FFFFFF;
  --surface-muted: #F3F1EC;
  --text: var(--bison-navy);
  --muted: var(--bison-gray);
  --rule: var(--bison-rule);
  --accent: var(--bison-gold);
  --link: var(--bison-blue);

  /* Layout */
  --max-width: 1100px;
  --max-width-wide: 1240px;
  --max-width-prose: 70ch;
  --nav-height: 72px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
}

/* -------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
}

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

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}

p {
  margin: 0;
}

a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease, color 120ms ease;
}

a:hover,
a:focus-visible {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bison-navy);
  color: var(--bison-white);
  padding: var(--space-1) var(--space-2);
  z-index: 1000;
}

.skip-link:focus {
  left: var(--space-2);
  top: var(--space-2);
}

/* -------------------------------------------------------------------------
   Site shell
   ------------------------------------------------------------------------- */

.site {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.container--wide {
  max-width: var(--max-width-wide);
}

/* -------------------------------------------------------------------------
   Header / nav
   ------------------------------------------------------------------------- */

.site-header {
  background: var(--bison-navy);
  color: var(--bison-white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(217, 221, 227, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--nav-height);
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}

.site-header a {
  color: var(--bison-white);
}

.site-header a:hover,
.site-header a:focus-visible {
  color: var(--bison-white);
  border-bottom-color: var(--bison-gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
}

.site-nav__link {
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0;
}

.site-nav__link[aria-current="page"] {
  border-bottom-color: var(--bison-gold);
}

@media (max-width: 720px) {
  .site-nav { display: none; }
}

/* -------------------------------------------------------------------------
   Logo lockup
   ------------------------------------------------------------------------- */

.logo {
  display: inline-flex;
  align-items: center;
  color: inherit;
  border-bottom: none;
}

.logo:hover,
.logo:focus-visible {
  border-bottom: none;
}

/* Header lockup: gold bison mark only (the wordmark went away at the rebuild). */
.logo__mark {
  width: 34px;
  height: 34px;
  color: var(--bison-gold);
}

/* Footer lockup: stacked wordmark SVG (has vertical room). */
.logo__img {
  display: block;
  height: 72px;
  width: auto;
  max-width: 100%;
}

@media (max-width: 720px) {
  .logo__mark {
    width: 30px;
    height: 30px;
  }
  .logo__img {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .logo__mark {
    width: 28px;
    height: 28px;
  }
}

/* -------------------------------------------------------------------------
   Mobile nav: hamburger toggle + slide-in panel
   ------------------------------------------------------------------------- */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--bison-white);
  cursor: pointer;
  position: relative;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--bison-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-toggle__line {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: top 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.nav-toggle__line:nth-child(1) { top: 13px; }
.nav-toggle__line:nth-child(2) { top: 21px; }
.nav-toggle__line:nth-child(3) { top: 29px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
}

.nav-mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bison-navy);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
  overflow-y: auto;
  padding: var(--space-4) var(--space-3);
}

.nav-mobile[data-open] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 220ms ease, visibility 0s linear 0s;
}

.nav-mobile__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-mobile__link {
  display: block;
  font-family: "Saira", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bison-white);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(217, 221, 227, 0.10);
}

.nav-mobile__link:hover,
.nav-mobile__link:focus-visible {
  color: var(--bison-gold);
}

@media (min-width: 721px) {
  .nav-mobile,
  .nav-toggle { display: none !important; }
}

body.nav-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .nav-toggle__line,
  .nav-mobile { transition: none; }
}

/* -------------------------------------------------------------------------
   Page header / hero
   ------------------------------------------------------------------------- */

.page-hero {
  background: var(--bison-navy);
  color: var(--bison-white);
  padding: var(--space-7) 0 var(--space-6);
}

.page-hero__inner {
  max-width: 60rem;
}

.page-hero__brand-label {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  margin-bottom: var(--space-3);
}

@media (max-width: 720px) {
  .page-hero__brand-label {
    width: 180px;
    margin-bottom: var(--space-2);
  }
}

.page-hero__eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bison-gold);
  margin-bottom: var(--space-2);
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  color: var(--bison-white);
  text-wrap: balance;
  margin-bottom: var(--space-3);
}

.page-hero__lede {
  font-size: clamp(1rem, 1.6vw, 1.1875rem);
  line-height: 1.65;
  color: #C8CDD6;
  max-width: 70ch;
  text-wrap: pretty;
}

.page-hero__rule {
  width: 64px;
  height: 2px;
  background: var(--bison-gold);
  border: 0;
  margin: 0 0 var(--space-3);
}

.page-hero__ctas {
  margin-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Hero variant with full-bleed background image.
   We size the section with an explicit viewport height (no
   aspect-ratio) so it always spans 100% of the viewport width.
   Bison Navy fills the section as a fallback so a cream gutter
   can never show through. The image is a full-bleed absolutely
   positioned layer; the scrim sits above it under the text. */
.page-hero--image {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 72vh;
  min-height: 480px;
  max-height: 720px;
  padding: var(--space-6) 0;
  background-color: #1E2D44;
}

.page-hero--image .page-hero__bg {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}

.page-hero--image .page-hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-hero--image::after {
  /* Bison Navy scrim: solid under the text column (left ~45%),
     fading to transparent by ~70 percent across. The headline and
     subhead sit fully on opaque navy. */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #1E2D44 0%,
    #1E2D44 50%,
    rgba(30, 45, 68, 0) 70%
  );
  z-index: 1;
  pointer-events: none;
}

.page-hero--image .container {
  position: relative;
  z-index: 2;
}

.page-hero--image .page-hero__inner {
  /* Left ~45% column. 32rem ≈ 512px lands inside the opaque half
     of the scrim at all desktop and laptop widths. */
  max-width: 32rem;
}

/* Mid widths: keep the wide-band feel but tighten the scrim a touch
   so the text column always lands on solid navy. */
@media (max-width: 1280px) {
  .page-hero--image::after {
    background: linear-gradient(
      to right,
      #1E2D44 0%,
      #1E2D44 55%,
      rgba(30, 45, 68, 0) 75%
    );
  }
}

/* Tablet and below: shorter hero band and switch to a vertical
   near-solid scrim so the text only ever lands on navy. */
@media (max-width: 820px) {
  .page-hero--image {
    height: 56vh;
    min-height: 400px;
    max-height: 520px;
  }
  .page-hero--image .page-hero__inner {
    max-width: 100%;
  }
  .page-hero--image::after {
    background: linear-gradient(
      to bottom,
      rgba(30, 45, 68, 0.96) 0%,
      rgba(30, 45, 68, 0.86) 55%,
      rgba(30, 45, 68, 0.55) 100%
    );
  }
}

@media (max-width: 560px) {
  .page-hero--image {
    height: 56vh;
    min-height: 380px;
    max-height: 480px;
  }
  .page-hero--image::after {
    background: linear-gradient(
      to bottom,
      rgba(30, 45, 68, 0.97) 0%,
      rgba(30, 45, 68, 0.9) 55%,
      rgba(30, 45, 68, 0.65) 100%
    );
  }
}

/* -------------------------------------------------------------------------
   Generic sections
   ------------------------------------------------------------------------- */

.section {
  padding: var(--space-7) 0;
}

.section--muted {
  background: var(--surface-muted);
}

.section--dark {
  background: var(--bison-navy);
  color: var(--bison-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--bison-white);
}

.section--dark a {
  color: var(--bison-white);
}

.section--dark a:hover,
.section--dark a:focus-visible {
  color: var(--bison-white);
  border-bottom-color: var(--bison-gold);
}

.section__header {
  margin-bottom: var(--space-5);
  max-width: 60rem;
}

.section__eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bison-gold);
  margin-bottom: var(--space-1);
}

.section__title {
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  text-wrap: balance;
}

.section__lede {
  margin-top: var(--space-2);
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 70ch;
  text-wrap: pretty;
}

.prose p + p {
  margin-top: var(--space-2);
}

.prose {
  max-width: var(--max-width-prose);
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

.btn:hover,
.btn:focus-visible {
  border-bottom-color: transparent;
}

.btn--primary {
  background: var(--bison-gold);
  color: var(--bison-white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #A87F1F;
  color: var(--bison-white);
}

.btn--outline {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--bison-gold);
  color: var(--bison-white);
  border-color: var(--bison-gold);
}

/* -------------------------------------------------------------------------
   Placeholder blocks (for sections we will fill next)
   ------------------------------------------------------------------------- */

.placeholder {
  border: 1px dashed var(--rule);
  background: var(--surface);
  padding: var(--space-4);
  color: var(--muted);
  font-size: 0.9375rem;
}

.placeholder__label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bison-gold);
  margin-bottom: var(--space-1);
}

/* -------------------------------------------------------------------------
   Value cards (Why Bison, Solutions list)
   ------------------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--bison-gold);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.card__title {
  font-size: 1.25rem;
}

.card__body {
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 860px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------
   Team (About page)
   ------------------------------------------------------------------------- */

.team-intro {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 70ch;
  margin-bottom: var(--space-5);
}

.team-group {
  margin-top: var(--space-6);
}

.team-group:first-of-type {
  margin-top: 0;
}

.team-group__title {
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bison-gold);
  margin: 0 0 var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--rule);
}

.leaders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.leader {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--space-3);
  align-items: start;
}

.leader__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface-muted);
  border-radius: 2px;
}

.leader__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader__name {
  font-size: 1.375rem;
}

.leader__title {
  font-weight: 700;
  color: var(--bison-blue);
  margin-top: 0.15rem;
}

.leader__location {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-top: 0.15rem;
}

.leader__bio {
  margin-top: var(--space-2);
}

.leader__bio p + p {
  margin-top: var(--space-2);
}

.leader__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--space-2);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.leader__linkedin svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.member {
  text-align: center;
}

.member__photo {
  width: 132px;
  height: 132px;
  margin: 0 auto var(--space-2);
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-muted);
}

.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member__name {
  font-size: 1.0625rem;
}

.member__title {
  font-weight: 700;
  color: var(--bison-blue);
  font-size: 0.9375rem;
  margin-top: 0.15rem;
}

.member__location {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 0.15rem;
}

.member__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--space-1);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.member__linkedin svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (max-width: 980px) {
  .leaders {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .leader {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
  .leader__photo {
    max-width: 220px;
  }
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
  }
  .member__photo {
    width: 108px;
    height: 108px;
  }
}

/* -------------------------------------------------------------------------
   Updates (post list + single post)
   ------------------------------------------------------------------------- */

.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.posts__empty,
.posts__error,
.posts__loading {
  color: var(--muted);
  font-size: 1rem;
}

.posts__error {
  border-left: 3px solid var(--bison-gold);
  padding-left: var(--space-2);
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--bison-gold);
  overflow: hidden;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.post-card:hover,
.post-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(30, 45, 68, 0.1);
}

.post-card__media {
  aspect-ratio: 16 / 9;
  background: var(--surface-muted);
  overflow: hidden;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1;
}

.post-card__date {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bison-gold);
}

.post-card__title {
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--text);
}

.post-card__excerpt {
  margin-top: var(--space-1);
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.post-card__link {
  position: absolute;
  inset: 0;
  text-indent: -9999px;
  overflow: hidden;
  border-bottom: 0;
}

.post-card__link:focus-visible {
  outline: 2px solid var(--bison-gold);
  outline-offset: 2px;
}

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

@media (max-width: 640px) {
  .posts {
    grid-template-columns: 1fr;
  }
}

/* Single post */
.post {
  max-width: 760px;
  margin: 0 auto;
}

.post__date {
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bison-gold);
  margin-bottom: var(--space-2);
}

.post__title {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin-bottom: var(--space-2);
}

.post__author {
  color: var(--muted);
  margin-bottom: var(--space-4);
}

.post__feature {
  margin: 0 0 var(--space-4);
}

.post__feature img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.post__body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
}

.post__body > * + * {
  margin-top: var(--space-2);
}

.post__body h2,
.post__body h3,
.post__body h4 {
  margin-top: var(--space-4);
  margin-bottom: var(--space-1);
  color: var(--text);
}

.post__body h2 {
  font-size: 1.5rem;
}

.post__body h3 {
  font-size: 1.25rem;
}

.post__body a {
  color: var(--bison-blue);
  border-bottom: 1px solid currentColor;
}

.post__body a:hover,
.post__body a:focus-visible {
  color: var(--bison-gold);
  border-bottom-color: var(--bison-gold);
}

.post__body img,
.post__body figure {
  max-width: 100%;
  height: auto;
  margin-top: var(--space-3);
  margin-bottom: var(--space-3);
}

.post__body blockquote {
  border-left: 3px solid var(--bison-gold);
  padding-left: var(--space-3);
  color: var(--muted);
  font-style: italic;
  margin: var(--space-3) 0;
}

.post__body pre,
.post__body code {
  background: var(--surface-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9375rem;
}

.post__body pre {
  padding: var(--space-2);
  overflow-x: auto;
  border-radius: 2px;
}

.post__body code {
  padding: 0.1em 0.35em;
  border-radius: 2px;
}

.post__back {
  margin-top: var(--space-5);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

/* -------------------------------------------------------------------------
   Newsletter form
   ------------------------------------------------------------------------- */

.newsletter {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  align-items: flex-end;
  max-width: 36rem;
}

.newsletter .form__field {
  flex: 1 1 240px;
}

.newsletter__success {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--bison-gold);
  padding: var(--space-3);
}

/* -------------------------------------------------------------------------
   Contact layout
   ------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: var(--space-6);
  align-items: start;
}

.contact-info__item {
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--rule);
}

.contact-info__item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-info__label {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bison-gold);
  margin-bottom: var(--space-1);
}

.contact-info__value {
  font-size: 1.0625rem;
  color: var(--text);
}

.contact-info__value + .contact-info__value {
  margin-top: 0.25rem;
}

.contact-info__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-info__linkedin svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

/* -------------------------------------------------------------------------
   Form
   ------------------------------------------------------------------------- */

.form {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

@media (max-width: 560px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bison-navy);
}

.form__required {
  color: var(--bison-gold);
  margin-left: 0.2rem;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bison-white);
  border: 1px solid var(--rule);
  border-radius: 2px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.form__select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%231E2D44' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.25rem;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--bison-gold);
  box-shadow: 0 0 0 3px rgba(198, 154, 46, 0.15);
}

.form__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__actions {
  margin-top: var(--space-1);
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */

.site-footer {
  background: var(--bison-navy);
  color: #C8CDD6;
  padding: var(--space-5) 0 var(--space-4);
  margin-top: var(--space-7);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-4);
  align-items: start;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-align: right;
}

.site-footer__locations {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--bison-white);
}

.site-footer__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--bison-white);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer__linkedin svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer__bottom {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(217, 221, 227, 0.12);
  font-size: 0.8125rem;
  color: #9AA3B2;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: var(--bison-white);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--bison-white);
  border-bottom-color: var(--bison-gold);
}

@media (max-width: 560px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
  .site-footer__meta {
    text-align: left;
  }
  .site-footer__bottom {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  a,
  .btn {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
