/* JCI's public identity: near-black, platinum, and restrained antique gold. */
:root {
  --ink: #e4e4e0;
  --silver: #c6c9ce;
  --accent: #b79a67;
  --accent-hover: #cbb184;
  --accent-dark: #67502a;
  --venture-surface: #101114;
}

::selection { background: var(--accent); color: var(--bg); }
.section-number, .hero-rail > span:first-child, .service-index,
.sterling-feature-number, .sterling-steps li > span { color: var(--accent); }
.button-silver { background: var(--accent); color: var(--bg); box-shadow: none; }
.button-silver:hover { background: var(--accent-hover); box-shadow: none; }
.nav-quote { border-color: var(--accent); }
.nav-quote > span, .text-link > span, .hero-bottom a > span { color: var(--accent); }
.nav-quote:hover { background: var(--accent); color: var(--bg); }
.nav-quote:hover > span { color: var(--bg); }
.text-link { border-bottom-color: var(--accent); }
.text-link:hover { color: var(--accent-hover); border-bottom-color: var(--accent-hover); }
.service[open] .service-toggle::before { background: var(--accent); }
.sterling-launch-panel, .sterling-price { border-top-color: var(--accent); }
.sterling-price .price-prefix { color: var(--accent); }
.quote .section-number { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible { outline-color: var(--accent); }
.quote a:focus-visible, .quote button:focus-visible,
.quote input:focus-visible, .quote textarea:focus-visible { outline-color: var(--accent-dark); }

/* One layout for every venture; shared rows keep both service cards aligned. */
.project-grid { border-top-color: var(--accent); align-items: stretch; container-type: inline-size; }
.project,
.project:first-child,
.project:last-child {
  display: grid;
  grid-template-rows: 48px 250px 1fr;
  padding: 25px;
  min-height: 0;
  background: var(--venture-surface);
}
.project:hover { background: var(--venture-surface); }
.project .project-top {
  align-content: start;
  align-items: start;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .065em;
  gap: 8px;
}
.project-top > span:first-child { color: var(--accent); }
.project .sealed-label { color: var(--silver); }
.project .project-brand { flex: none; min-height: 0; padding: 30px 0; }
.venture-card .venture-card-brand {
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
.venture-card-brand h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 4.4cqw, 64px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.045em;
  color: var(--ink);
}
.venture-card-brand h3 em { color: var(--silver); }
.venture-card-brand > span {
  font-size: 12px;
  letter-spacing: .11em;
  line-height: 1.7;
  color: #b7babf;
}
.project .venture-card-footer {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  align-items: start;
  padding-top: 22px;
}
.venture-card-footer .venture-card-tagline {
  min-height: 2.6em;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(23px, 2.3vw, 30px);
  line-height: 1.3;
  color: var(--ink);
}
.venture-card-footer > p { font-size: 16px; line-height: 1.7; text-align: left; color: #b7babf; }
.venture-card-footer .text-link {
  align-self: end;
  justify-self: start;
  margin-top: 14px;
  font-size: 14px;
  gap: 16px;
  color: var(--ink);
}
.venture-card-footer .text-link:hover { color: var(--accent-hover); }

@media (min-width: 761px) and (max-width: 1100px) {
  .project, .project:first-child, .project:last-child { padding: 25px 18px; grid-template-rows: 48px 220px 1fr; }
}
@media (max-width: 760px) {
  .project, .project:first-child, .project:last-child { padding: 25px 22px 30px; grid-template-rows: auto 240px auto; }
  .project .project-top { flex-direction: row; }
  .venture-card-brand h3 { font-size: clamp(36px, 14cqw, 60px); }
  .venture-card-footer .venture-card-tagline { font-size: 30px; }
}
@media (forced-colors: active) {
  .venture-card-brand h3, .venture-card-brand h3 em { color: CanvasText; }
  .button-silver { border: 1px solid ButtonText; }
}
