/* Ultimate Partners Group - corporate capability site */
:root {
  --black: #090909;
  --dark: #151515;
  --ink: #101216;
  --steel: #35404a;
  --blue: #1f5d86;
  --gold: #b08a3a;
  --lime: #c2ff00;
  --warm: #f4f1eb;
  --bg: #f3f1eb;
  --bg2: #e7e9e8;
  --panel: #ffffff;
  --text: #101216;
  --muted: #565b61;
  --faint: #8a8f93;
  --border: #d8d9d6;
  --shadow: 0 2px 16px rgba(0, 0, 0, .06), 0 .5px 2px rgba(0, 0, 0, .04);
  --r: 8px;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--text);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: auto; }

.topbar-wrap {
  padding: 16px 0 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 18px;
  border-radius: var(--r);
  border: .5px solid rgba(255, 255, 255, .1);
  background: rgba(9, 9, 9, .94);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .18);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(194, 255, 0, .55);
  flex-shrink: 0;
}
.brand-text {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--warm);
  white-space: nowrap;
}
.topnav { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.topnav a {
  font-size: 11px;
  padding: 8px 11px;
  border: .5px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(244, 241, 235, .78);
}
.topnav a:hover { color: var(--lime); border-color: rgba(194, 255, 0, .4); }
.topnav a.nav-highlight {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
  font-weight: 850;
}

.hero {
  background: var(--black);
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 28px 0 48px;
}
.hero-card {
  border-radius: var(--r);
  border: .5px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .4);
  width: 100%;
}
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; }
.hero-left { padding: 62px 54px; }
.hero-right {
  position: relative;
  min-height: 680px;
  background:
    linear-gradient(180deg, rgba(9, 9, 9, .1), rgba(9, 9, 9, .78)),
    url("/photos/bess-20mw-40mwh-site.png") 54% center / cover no-repeat;
}
.hero-bess { background-position: 54% center; }
.eyebrow, .kicker-pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: .5px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c8b694;
}
.kicker-pill {
  border-color: rgba(31, 93, 134, .22);
  background: rgba(31, 93, 134, .08);
  color: var(--blue);
}
h1 {
  margin: 22px 0 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: .94;
  letter-spacing: -.035em;
  font-weight: 900;
  color: var(--warm);
}
.hero .lead {
  margin-top: 20px;
  max-width: 660px;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(244, 241, 235, .72);
}
.event-callout {
  display: grid;
  gap: 8px;
  max-width: 680px;
  margin-top: 24px;
  padding: 18px;
  border-radius: var(--r);
  border: .5px solid rgba(194, 255, 0, .36);
  background: linear-gradient(135deg, rgba(194, 255, 0, .12), rgba(255, 255, 255, .035));
}
.event-callout span {
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.event-callout strong {
  color: var(--warm);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.event-callout p {
  margin: 0;
  color: rgba(244, 241, 235, .72);
  font-size: 14px;
  line-height: 1.65;
}
.event-callout .button-link {
  justify-self: start;
  margin-top: 2px;
}
.hero-points, .nav-mini, .metric-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-points span, .metric-row span {
  padding: 8px 12px;
  border-radius: 999px;
  border: .5px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  font-size: 12px;
  color: rgba(244, 241, 235, .76);
}
.metric-row { margin-top: 16px; }
.metric-row span {
  border-color: rgba(31, 93, 134, .18);
  background: rgba(31, 93, 134, .08);
  color: var(--steel);
}
.nav-mini { margin-top: 18px; }
.nav-mini a, .button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .05em;
  padding: 11px 15px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--black);
  transition: transform .15s;
}
.nav-mini a.secondary, .button-link.secondary {
  background: rgba(255, 255, 255, .04);
  color: var(--warm);
  border: .5px solid rgba(255, 255, 255, .12);
}
.nav-mini a:hover, .button-link:hover { transform: translateY(-1px); }
.hero-overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 20px;
  border-radius: var(--r);
  background: rgba(9, 9, 9, .74);
  border: .5px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
}
.card-label {
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 7px;
}
.hero-overlay p {
  color: rgba(244, 241, 235, .76);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.section { padding: 64px 0 46px; background: var(--bg); }
.section.alt { background: var(--bg2); }
.section.dark { background: var(--black); color: var(--warm); }
.section-header {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}
.large-heading {
  margin: 12px 0 0;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 900;
  color: inherit;
}
.section-copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  max-width: 760px;
}
.dark .section-copy { color: rgba(244, 241, 235, .68); }
.dark .kicker-pill {
  border-color: rgba(194, 255, 0, .24);
  background: rgba(194, 255, 0, .08);
  color: var(--lime);
}
.grid-2, .grid-3, .grid-4 { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card, .form-box {
  padding: 22px;
  border-radius: var(--r);
  border: .5px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card.emphasis {
  border-color: rgba(31, 93, 134, .24);
  background: linear-gradient(135deg, rgba(31, 93, 134, .06), #fff 42%);
}
.vertical-grid { align-items: stretch; }
.vertical-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
}
.dark .card {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: none;
}
.card h3, .form-title {
  margin: 10px 0 12px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 850;
  color: var(--black);
}
.dark .card h3 { color: var(--warm); }
.card p, .form-copy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.dark .card p { color: rgba(244, 241, 235, .68); }
.card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.dark .card ul { color: rgba(244, 241, 235, .68); }
.card li { margin: 4px 0; }
.cta-link {
  display: inline-flex;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .05em;
  color: var(--black);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
}
.cta-link.stacked { display: table; margin-top: 10px; }
.dark .cta-link { color: var(--warm); }

.product-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  grid-auto-rows: minmax(300px, auto);
  gap: 14px;
}
.product-card {
  border-radius: var(--r);
  border: .5px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-rows: 240px auto;
}
.product-card.large {
  grid-row: span 2;
  grid-template-rows: 1fr auto;
}
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card.large img { min-height: 430px; }
.product-body { padding: 22px; }
.product-body h3 {
  margin: 10px 0 12px;
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.form-field { display: grid; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-label {
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  border: .5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: var(--r);
  padding: 12px 14px;
  font: inherit;
  font-size: 13px;
  outline: none;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.application-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background: var(--black);
  color: var(--warm);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
}
.application-cta:disabled { opacity: .6; cursor: wait; }
.form-note, .small-note {
  color: var(--faint);
  font-size: 12px;
  line-height: 1.65;
}
.form-status {
  width: 100%;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 10px;
}
.form-status.error { color: #a93434; }
.contact-box {
  background: var(--black);
  color: var(--warm);
  border-radius: var(--r);
  padding: 28px;
  min-height: 100%;
}
.contact-box .form-title { color: var(--warm); }
.contact-box p, .contact-box a, .contact-box div {
  color: rgba(244, 241, 235, .75);
  line-height: 1.7;
}
.contact-lines {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.site-footer {
  background: var(--black);
  padding: 2.5rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.footer-brand-text {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--warm);
}
.footer-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(176, 138, 58, .82);
}
.footer-meta {
  text-align: right;
  font-size: 10px;
  color: rgba(176, 138, 58, .52);
}

@media (max-width: 980px) {
  .hero-grid,
  .section-header,
  .grid-2,
  .grid-3,
  .grid-4,
  .product-grid,
  .form-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .hero-right { min-height: 460px; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .topnav { justify-content: flex-start; }
  .footer-meta { text-align: center; }
  .footer-inner { text-align: center; }
  .footer-brand { justify-content: center; }
  .product-card.large { grid-row: auto; }
  .product-card.large img { min-height: 320px; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 20px)); }
  .hero { min-height: auto; padding-top: 18px; }
  .hero-left { padding: 32px 22px; }
  .hero-right { min-height: 390px; }
  h1 { font-size: clamp(40px, 13vw, 54px); }
  .card, .form-box, .contact-box, .product-body { padding: 18px; }
  .topnav a { font-size: 10px; }
  .brand-text { white-space: normal; }
}
