:root {
  --ink: #10151c;
  --ink-soft: #505965;
  --navy: #073d88;
  --navy-deep: #062c62;
  --gold: #b28320;
  --red: #c9212c;
  --line: rgba(14, 31, 54, 0.24);
  --canvas: #ffffff;
  --panel: rgba(255, 255, 255, 0.82);
  --focus: #bf3f23;
  --page-max: 1420px;
  --gutter: clamp(1rem, 3.5vw, 4rem);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  color: var(--ink);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
}

body {
  position: relative;
  min-width: 320px;
  margin: 0;
  background: var(--canvas);
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image: url("/manus-storage/async-images/QKl3psDOCYvYIkzDxNAu2z/image-1.webp");
  background-position: center;
  background-size: cover;
  opacity: 0.035;
}

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

h1,
h2,
p {
  margin: 0;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, var(--page-max));
  margin: 0 auto;
  padding: clamp(2.75rem, 6vw, 6rem) var(--gutter) clamp(3rem, 6vw, 6rem);
}

.page-intro {
  width: min(100%, 53rem);
  margin: 0 auto;
  text-align: center;
}

h1 {
  color: var(--navy-deep);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
}

.supporting-copy {
  max-width: 43rem;
  margin: clamp(1rem, 2vw, 1.45rem) auto 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.company-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.35vw, 1.25rem);
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.company-card {
  --card-accent: var(--navy);
  --button-color: var(--navy);
  --button-hover: var(--navy-deep);
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid var(--card-accent);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(9, 35, 75, 0.12);
}

.company-card--area {
  --card-accent: var(--gold);
  --button-color: #9c7118;
  --button-hover: #76520e;
}

.company-card--gilleys {
  --card-accent: var(--red);
  --button-color: var(--red);
  --button-hover: #9e1720;
}

.company-card--crcil {
  --card-accent: var(--navy);
  --button-color: var(--navy);
  --button-hover: var(--navy-deep);
}

.logo-stage {
  display: grid;
  place-items: center;
  min-height: clamp(10.5rem, 15vw, 13.5rem);
  padding: clamp(1rem, 2vw, 1.7rem);
  background: rgba(255, 255, 255, 0.92);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  text-decoration: none;
}

.logo-link--card {
  width: 100%;
  min-height: 8rem;
  padding: 0.15rem;
}

.area-logo {
  width: min(100%, 24rem);
  max-height: 10.5rem;
  height: auto;
  object-fit: contain;
}

.gilleys-logo {
  width: min(100%, 21rem);
  max-height: 10.5rem;
  object-fit: contain;
}

.crcil-logo {
  width: min(100%, 23rem);
  max-height: 9.25rem;
  height: auto;
  object-fit: contain;
}

.visual-stage {
  position: relative;
  aspect-ratio: 4 / 2.25;
  overflow: hidden;
  background: #d7dde3;
}

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

.card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 12.5rem;
  padding: clamp(1.3rem, 2.6vw, 2rem);
  background: #102744;
  color: #ffffff;
  text-align: center;
}

.card-content p {
  max-width: 27ch;
  color: #ffffff;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: clamp(1.2rem, 1.75vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.2;
  text-wrap: pretty;
}

.company-card--area .card-content p {
  max-width: 27ch;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  min-height: 3rem;
  margin-top: 1.3rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid var(--button-color);
  border-radius: 3px;
  background: var(--button-color);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.button-link:hover {
  border-color: var(--button-hover);
  background: var(--button-hover);
  box-shadow: 0 11px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.button-link:active {
  transform: translateY(0);
}

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

.logo-link:focus-visible,
.button-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .company-choices {
    grid-template-columns: 1fr;
    max-width: 38rem;
    margin-right: auto;
    margin-left: auto;
  }

  .logo-stage {
    min-height: 12rem;
  }

  .visual-stage {
    aspect-ratio: 4 / 2.1;
  }
}

@media (max-width: 560px) {
  .page-shell {
    padding: 2.5rem 1rem 3.5rem;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.15rem);
  }

  .supporting-copy {
    font-size: 0.98rem;
  }

  .company-choices {
    gap: 0.85rem;
    margin-top: 2rem;
  }

  .logo-stage {
    min-height: 10.5rem;
    padding: 1rem;
  }

  .visual-stage {
    aspect-ratio: 4 / 2.25;
  }

  .card-content {
    min-height: 11.5rem;
  }

  .button-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
