/* Concord Energy site styles. Tokens come from the Concord design system. */
:root {
  --red: #e03127;          /* Concord Red (official). 4.53:1 on white, 4.64:1 on black: AA for text */
  --black: #000000;
  --white: #ffffff;
  --gray-700: #5c5c5c;     /* secondary text on white */
  --gray-500: #8a8a8a;     /* form borders */
  --gray-300: #d9d9d9;     /* hairlines */
  --gray-100: #f5f5f5;     /* light panels */
  --max: 1200px;
  --font: "Trade Gothic Next", "Trade Gothic LT Std", "Trade Gothic", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; font-family: var(--font); color: var(--black); background: var(--white); line-height: 1.5; }
img { max-width: 100%; height: auto; }
a { color: var(--red); }
a:hover { color: var(--black); }
:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--black); color: var(--white); padding: 12px 16px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.eyebrow { margin: 0; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
h1, h2, h3 { margin: 0; }
h2 { font-size: 28px; line-height: 34px; font-weight: 700; }
h3 { font-size: 20px; line-height: 26px; }

/* Header */
.site-header { border-bottom: 1px solid var(--gray-300); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.logo { display: flex; align-items: center; }
.logo img { height: 40px; width: auto; display: block; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.main-nav a { color: var(--black); text-decoration: none; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.main-nav a:hover { text-decoration: underline; }
.main-nav a.btn-nav { background: var(--red); color: var(--white); padding: 12px 20px; border-radius: 2px; }
.main-nav a.btn-nav:hover { background: var(--black); text-decoration: none; }

/* Hero */
.hero { position: relative; height: 640px; overflow: hidden; background: var(--black); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; display: block; }
/* Two scrims keep the white headline at 3:1 or better over the bright peaks
   at every width: a top-down fade behind the text and the original left fade. */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.3) 45%, rgba(0,0,0,0) 75%),
  linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 60%, rgba(0,0,0,0) 100%); }
.hero h1 { text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.hero::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 8px; background: var(--red); }
.hero .wrap { position: relative; z-index: 2; padding-top: 120px; }
.hero h1 { color: var(--white); font-size: clamp(44px, 7vw, 88px); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }

/* Metrics band */
.metrics { background: var(--black); color: var(--white); }
.metrics .wrap { padding-top: 48px; padding-bottom: 48px; }
.metrics ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 32px 24px; }
.metrics li { flex: 1 1 160px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.metrics .num { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.15; font-weight: 700; color: var(--red); white-space: nowrap; }
.metrics .label { font-size: 14px; line-height: 20px; }

/* Services */
.services .wrap { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 40px; }
.services .intro { max-width: 720px; display: flex; flex-direction: column; gap: 12px; }
.lead { margin: 0; font-size: 18px; line-height: 28px; color: var(--gray-700); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card { border: 1px solid var(--gray-300); border-radius: 4px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.card svg { width: 32px; height: 32px; }
.card p { margin: 0; font-size: 16px; line-height: 24px; color: var(--gray-700); }

/* Photo bands */
.photo-band { margin: 0; height: 480px; overflow: hidden; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; display: block; }

.photo-band picture { display: block; height: 100%; }
.photo-band img.pos-prairie { object-position: center 62%; }
.photo-band img.pos-badlands { object-position: center 45%; }

/* Team */
.team { background: var(--gray-100); }
/* Concord Red is 4.15:1 on the gray panel (below AA for small text), so this label is black. */
.team .eyebrow { color: var(--black); }
.team .wrap { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 48px; }
.team .copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.stats { flex: 1 1 440px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.stats li { flex: 1 1 180px; background: var(--white); border-radius: 4px; padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.stats .num { font-size: 28px; line-height: 34px; font-weight: 700; }
.stats .label { font-size: 14px; line-height: 20px; color: var(--gray-700); }

/* Safety / compliance / community */
.pillars .wrap { padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { min-width: 0; padding: 0 32px; border-left: 1px solid var(--gray-300); display: flex; flex-direction: column; gap: 12px; }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar:last-child { padding-right: 0; }
.pillar svg { width: 40px; height: 40px; color: var(--red); }
/* Stacked on narrower screens, so no dividers. */
@media (max-width: 900px) { .pillars .wrap { grid-template-columns: 1fr; gap: 40px; } .pillar, .pillar:first-child { border-left: 0; padding: 0; } }
.pillar-title { font-size: 20px; line-height: 26px; }
.pillar p { margin: 0; font-size: 16px; line-height: 24px; color: var(--gray-700); }

/* Contact */
.contact { border-top: 1px solid var(--gray-300); }
.contact .wrap { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: minmax(200px, 1fr) 3fr; gap: 48px; align-items: start; }
.contact-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.1fr 0.8fr 0.8fr 1.3fr; gap: 32px 24px; }
.contact-grid li { border-top: 4px solid var(--black); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.contact-grid p { margin: 0; }
@media (max-width: 1000px) {
  .contact .wrap { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.ridge { display: block; width: 100%; height: 60px; }
.site-footer { background: var(--black); color: var(--white); }
.site-footer .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; }
.site-footer .brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.site-footer .brand img { height: 32px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.site-footer a { color: var(--white); min-height: 44px; display: inline-flex; align-items: center; }
.site-footer .copy { margin: 0; font-size: 12px; color: var(--gray-300); }

/* Legal pages */
.legal .wrap { max-width: 860px; padding-top: 64px; padding-bottom: 96px; }
.legal h1 { font-size: 40px; line-height: 46px; font-weight: 700; margin-bottom: 24px; }
.legal h2 { font-size: 22px; line-height: 28px; margin: 40px 0 12px; }
.legal p { margin: 0 0 16px; line-height: 1.65; }

/* Responsive */
@media (max-width: 720px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .main-nav { gap: 16px; }
  .hero { height: 520px; }
  .hero .wrap { padding-top: 56px; }
  .photo-band { height: 280px; }
  .services .wrap, .team .wrap, .pillars .wrap, .contact .wrap { padding-top: 48px; padding-bottom: 48px; }
  .metrics li { flex-basis: 40%; }
  .card { padding: 24px; }
  .legal h1 { font-size: 32px; line-height: 38px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
