/* ============================================
   PENN POWER SYSTEMS — REDESIGN MOCKUP
   Shared stylesheet
   ============================================ */

/* ============================================
   DESIGN TOKENS
   Brand color derived from original site's
   HSL token: hsl(351, 36%, X%) - muted red/burgundy
   ============================================ */
:root {
  --brand-50:  #FBF4F5;
  --brand-100: #EFD5D9;
  --brand-200: #E2B6BC;
  --brand-300: #D29299;
  --brand-400: #B86670;
  --brand-500: #9B4E58;
  --brand-600: #6F383F;
  --brand-700: #5C2E34;
  --brand-800: #4D272C;
  --brand-900: #3D1F23;

  --ink-50:  #F7F8F8;
  --ink-100: #EEF0F0;
  --ink-200: #DDE0E1;
  --ink-300: #B9BFC1;
  --ink-400: #7A8285;
  --ink-500: #5A6164;
  --ink-700: #252A2B;
  --ink-800: #15191A;
  --ink-900: #0A0B0B;

  --container: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --transition: 0.2s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   MOCKUP NOTICE
   ============================================ */
.mockup-notice {
  background: #FEF3C7;
  border-bottom: 1px solid #FCD34D;
  color: #78350F;
  font-size: 12px;
}
.mockup-notice .container {
  padding-top: 8px;
  padding-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mockup-notice strong { font-weight: 600; }
.mockup-notice .version { display: none; }
@media (min-width: 640px) { .mockup-notice .version { display: inline; } }

/* ============================================
   UTILITY BAR
   ============================================ */
.util-bar {
  background: var(--ink-900);
  color: var(--ink-300);
  font-size: 14px;
}
.util-bar .container {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.util-left, .util-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.util-bar a { transition: color var(--transition); }
.util-bar a:hover { color: #fff; }
.util-bar .icon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.util-bar .icon-link svg { width: 16px; height: 16px; }
.util-bar .emergency-link { color: #fff; font-weight: 500; }
.util-bar .location-info { display: none; }
@media (min-width: 768px) {
  .util-bar .location-info { display: inline-flex; align-items: center; gap: 8px; }
}
.util-bar .credit-link, .util-bar .portal-link { display: none; }
@media (min-width: 640px) {
  .util-bar .credit-link, .util-bar .portal-link { display: inline; }
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-100);
}
.site-header .container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 40px;
  height: 40px;
  background: var(--brand-700);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}
.brand-name {
  font-weight: 700;
  color: var(--ink-900);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.brand-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-500);
}
.main-nav {
  display: none;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
}
@media (min-width: 1024px) {
  .main-nav { display: flex; }
}
.nav-link {
  position: relative;
  padding-bottom: 4px;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--brand-400);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active::after { transform: scaleX(1); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions .rent-link {
  display: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  transition: color var(--transition);
}
.header-actions .rent-link:hover { color: var(--brand-600); }
@media (min-width: 768px) {
  .header-actions .rent-link { display: inline; }
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--brand-600);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-700); }
.btn-large { padding: 14px 24px; font-size: 15px; }
.btn-brand { background: var(--brand-500); color: #fff; }
.btn-brand:hover { background: var(--brand-400); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.15); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--ink-200);
  color: var(--ink-800);
}
.btn-outline:hover { border-color: var(--brand-400); color: var(--brand-600); }

/* ============================================
   HERO (homepage)
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  /* Banner photo with a left-weighted dark scrim so the white headline stays readable */
  background-image:
    linear-gradient(90deg, rgba(10, 11, 11, 0.92) 0%, rgba(13, 15, 16, 0.78) 42%, rgba(61, 31, 35, 0.48) 100%),
    url('assets/images/banner1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-inner {
  padding: 96px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner {
    padding: 128px 0;
    grid-template-columns: 7fr 5fr;
  }
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 24px;
}
.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.hero h1 .accent { color: var(--brand-300); }
.hero p {
  margin-top: 24px;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--ink-200);
  max-width: 640px;
  line-height: 1.6;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Quick action card */
.quick-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 24px;
  backdrop-filter: blur(10px);
}
.quick-card-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-200);
  font-weight: 600;
  margin-bottom: 16px;
}
.quick-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: background var(--transition);
}
.quick-action:last-child { margin-bottom: 0; }
.quick-action:hover { background: rgba(255, 255, 255, 0.1); }
.quick-action-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quick-action-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(155, 78, 88, 0.2);
  color: var(--brand-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.quick-action-icon svg { width: 20px; height: 20px; }
.quick-action-title { font-weight: 600; font-size: 14px; }
.quick-action-sub { font-size: 12px; color: var(--ink-300); }
.quick-action-arrow { width: 16px; height: 16px; color: var(--ink-300); flex-shrink: 0; }

/* Stats strip */
.stats { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 28px 24px; }
.stat + .stat { border-top: 1px solid rgba(255, 255, 255, 0.08); }
@media (min-width: 768px) {
  .stat + .stat { border-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.08); }
  .stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 767px) {
  .stat:nth-child(2) { border-top: 0; }
}
.stat-value { font-size: 32px; font-weight: 800; }
.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-300);
  margin-top: 4px;
}

/* ============================================
   PAGE HERO (interior pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-800) 50%, var(--brand-900) 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(184, 102, 112, 0.15), transparent 50%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-300);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { transition: color var(--transition); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.5; }
.breadcrumb .current { color: var(--brand-200); }
.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 800px;
}
.page-hero .lead {
  margin-top: 20px;
  font-size: 18px;
  color: var(--ink-200);
  max-width: 720px;
  line-height: 1.65;
}

/* ============================================
   PARTNER MARQUEE
   ============================================ */
.partners-section {
  background: var(--ink-50);
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
  padding: 40px 0;
  overflow: hidden;
}
.partners-label {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-500);
  font-weight: 600;
  margin-bottom: 24px;
}
.marquee {
  display: flex;
  gap: 64px;
  animation: scroll 35s linear infinite;
  white-space: nowrap;
}
.marquee-row {
  display: flex;
  align-items: center;
  gap: 64px;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink-300);
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-bg-light { background: var(--ink-50); border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); }
.section-bg-dark { background: var(--ink-900); color: #fff; }
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-600);
  font-weight: 700;
  margin-bottom: 12px;
}
.eyebrow.on-dark { color: var(--brand-300); }
.section-heading {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink-900);
}
.section-heading.on-dark { color: #fff; }
.section-lead {
  margin-top: 20px;
  font-size: 18px;
  color: var(--ink-500);
  line-height: 1.65;
}
.section-lead.on-dark { color: var(--ink-300); }
.section-intro { max-width: 720px; margin-bottom: 64px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-600);
  font-weight: 600;
  font-size: 14px;
  transition: gap var(--transition);
}
.text-link:hover { gap: 10px; }
.text-link svg { width: 16px; height: 16px; }
.text-link.on-dark { color: var(--brand-300); }
.text-link.on-dark:hover { color: #fff; }

/* ============================================
   SOLUTIONS / GENERIC CARD GRID
   ============================================ */
.grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-cards.cols-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .grid-cards.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.solution-card {
  display: block;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.solution-card:hover {
  border-color: var(--brand-300);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}
.solution-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-50);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.solution-icon svg { width: 24px; height: 24px; }
.solution-card h3 {
  font-weight: 700;
  color: var(--ink-900);
  font-size: 18px;
}
.solution-card p {
  font-size: 14px;
  color: var(--ink-500);
  margin-top: 8px;
  line-height: 1.6;
}
.solution-card .text-link { margin-top: 20px; }

/* ============================================
   SERVICES (split layout)
   ============================================ */
.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1024px) {
  .split-layout { grid-template-columns: 4fr 8fr; }
  .split-sidebar { position: sticky; top: 128px; align-self: start; }
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }

.service-item {
  display: block;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition), background var(--transition);
}
.service-item:hover {
  border-color: var(--brand-400);
  background: rgba(251, 244, 245, 0.5);
}
.service-item-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.service-item-icon {
  color: var(--brand-600);
  margin-top: 2px;
  flex-shrink: 0;
}
.service-item-icon svg { width: 24px; height: 24px; }
.service-item h3 {
  font-weight: 700;
  color: var(--ink-900);
  font-size: 16px;
}
.service-item p {
  font-size: 14px;
  color: var(--ink-500);
  margin-top: 4px;
}

/* ============================================
   SERVICE DETAIL CARDS (services page)
   ============================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .service-detail { grid-template-columns: 200px 1fr; }
}
.service-detail-side {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  color: #fff;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.service-detail-side-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-detail-side-icon svg { width: 28px; height: 28px; }
.service-detail-side .meta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-200);
  font-weight: 600;
}
.service-detail-body {
  padding: 32px;
}
.service-detail-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 8px;
}
.service-detail-body p {
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.7;
  margin-bottom: 16px;
}
.service-features-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 640px) {
  .service-features-list { grid-template-columns: repeat(2, 1fr); }
}
.service-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-700);
}
.service-features-list svg {
  width: 16px;
  height: 16px;
  color: var(--brand-500);
  margin-top: 4px;
  flex-shrink: 0;
}

/* ============================================
   PARTNERS PAGE
   ============================================ */
.partner-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.partner-card:hover {
  border-color: var(--brand-400);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.12);
}
.partner-logo-block {
  height: 80px;
  background: var(--ink-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 28px;
  color: var(--ink-700);
  letter-spacing: 0.05em;
}
.partner-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-900);
}
.partner-card p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.6;
  flex-grow: 1;
}
.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.partner-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-700);
  background: var(--brand-50);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ============================================
   LOCATIONS PAGE
   ============================================ */
.location-large-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.location-large-card:hover {
  border-color: var(--brand-300);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.12);
}
@media (min-width: 768px) {
  .location-large-card { grid-template-columns: 280px 1fr; }
}
.location-map-area {
  background: linear-gradient(135deg, var(--brand-700), var(--ink-900));
  min-height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.location-map-area svg {
  width: 80px;
  height: 80px;
  color: rgba(255, 255, 255, 0.4);
}
.location-map-area .pin {
  width: 24px;
  height: 24px;
  background: var(--brand-300);
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.2);
  position: absolute;
  box-shadow: 0 0 0 8px rgba(210, 146, 153, 0.2);
  animation: pulse 2s ease-in-out infinite;
}
.location-details {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.location-details .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-600);
  font-weight: 700;
}
.location-details h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink-900);
}
.location-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  font-size: 14px;
}
@media (min-width: 640px) {
  .location-info-grid { grid-template-columns: repeat(2, 1fr); }
}
.location-info-item .info-label {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-500);
  font-weight: 600;
  margin-bottom: 4px;
}
.location-info-item .info-value {
  color: var(--ink-800);
  line-height: 1.5;
}
.location-info-item a {
  color: var(--brand-600);
  font-weight: 600;
}
.location-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* Coverage map placeholder */
.coverage-map {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.coverage-map .map-bg {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}
.coverage-states {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.coverage-state-pill {
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ============================================
   WHY US
   ============================================ */
.why-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}
@media (min-width: 1024px) { .why-layout { grid-template-columns: repeat(2, 1fr); } }
.why-features {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) { .why-features { grid-template-columns: repeat(2, 1fr); } }
.why-feature h3 { font-weight: 700; color: var(--ink-900); font-size: 16px; }
.why-feature p { font-size: 14px; color: var(--ink-500); margin-top: 4px; line-height: 1.6; }
.why-feature-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.why-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--brand-50);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-feature-icon svg { width: 20px; height: 20px; }
.why-visual {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-800) 60%, var(--ink-900));
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.why-visual svg.deco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
}
.why-quote {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
}
.why-quote-label {
  color: var(--brand-200);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-bottom: 8px;
}
.why-quote-text {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}
.why-quote-attr {
  margin-top: 16px;
  color: var(--brand-200);
  font-size: 14px;
}

/* ============================================
   LOCATIONS DARK STRIP (homepage)
   ============================================ */
.locations-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
}
@media (min-width: 1024px) { .locations-head { grid-template-columns: 7fr 5fr; } }
.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .locations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .locations-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .locations-grid.five { grid-template-columns: repeat(5, 1fr); } }

.location-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition);
}
.location-card:hover { border-color: var(--brand-400); }
.location-card-label {
  color: var(--brand-300);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.location-card h3 { font-weight: 700; font-size: 18px; color: #fff; }
.location-card p { font-size: 14px; color: var(--ink-300); margin-top: 8px; }
.location-card .text-link { margin-top: 16px; }

/* ============================================
   CONTACT
   ============================================ */
.contact-section { padding: 96px 0; background: #fff; }
.contact-card {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 1024px) { .contact-card { padding: 64px; } }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.contact-card .lead {
  margin-top: 20px;
  font-size: 18px;
  color: var(--brand-100);
  line-height: 1.6;
}
.contact-phone {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  transition: color var(--transition);
}
.contact-phone:hover { color: var(--brand-100); }
.contact-phone svg { width: 24px; height: 24px; }
.contact-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #fff;
  transition: border-color var(--transition);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
}
.contact-form select option { color: var(--ink-900); }
.contact-form button {
  width: 100%;
  background: #fff;
  color: var(--brand-700);
  font-weight: 700;
  padding: 14px;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}
.contact-form button:hover { background: var(--brand-50); }
.contact-card .blob {
  position: absolute;
  width: 288px;
  height: 288px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.contact-card .blob-1 { bottom: -80px; right: -80px; }
.contact-card .blob-2 { top: -80px; left: -80px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: 28px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 4fr 2fr 2fr 2fr 2fr; } }

.footer-col h4 {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.footer-col a { transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-about p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 380px;
  margin-top: 20px;
}
.footer-bottom {
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-400);
  gap: 12px;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-bottom-links { display: flex; gap: 24px; }

/* ============================================
   PRODUCTION ADDITIONS (full-site build)
   New components layered on the existing
   token system. No overrides of base rules.
   ============================================ */

/* --- Brand logo (header plate + footer) --- */
.brand-plate {
  padding: 9px 0;
  display: flex;
  align-items: center;
}
.brand-plate img { height: 38px; width: auto; display: block; }
.footer-brand { display: inline-flex; }
.footer-logo { height: 30px; width: auto; display: block; }
@media (min-width: 480px) { .brand-plate img { height: 44px; } }

/* --- Generic media frame (rounded photo) --- */
.media-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--ink-100);
  box-shadow: 0 18px 50px rgba(10, 11, 11, 0.12);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame.ratio-43 { aspect-ratio: 4 / 3; }
.media-frame.ratio-11 { aspect-ratio: 1 / 1; }
.media-frame.ratio-32 { aspect-ratio: 3 / 2; }

/* --- Photo inside the why-visual panel (replaces deco art) --- */
.why-visual .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why-visual .photo-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,11,11,0.05) 0%, rgba(61,31,35,0.35) 55%, rgba(10,11,11,0.88) 100%);
}

/* --- Page hero with side image --- */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
}
@media (min-width: 1024px) { .page-hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; } }
.page-hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.page-hero .hero-actions { margin-top: 32px; }

/* --- Home showcase gallery --- */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}
@media (min-width: 640px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .showcase-grid { grid-template-columns: repeat(3, 1fr); } }
.showcase-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink-100);
}
.showcase-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.showcase-item:hover img { transform: scale(1.04); }
.showcase-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(10, 11, 11, 0.85));
  color: #fff;
}
.showcase-caption .t { font-weight: 700; font-size: 16px; }
.showcase-caption .s { font-size: 13px; color: var(--ink-200); margin-top: 2px; }

/* --- Prose pages (legal, about narrative) --- */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; font-weight: 700; color: var(--ink-900); letter-spacing: -0.01em; margin-top: 40px; }
.prose h3 { font-size: 18px; font-weight: 700; color: var(--ink-900); margin-top: 28px; }
.prose p { color: var(--ink-700); margin-top: 14px; line-height: 1.75; }
.prose ul { color: var(--ink-700); margin-top: 14px; padding-left: 22px; line-height: 1.8; }
.prose li { margin-top: 6px; }
.prose a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 2px; }
.prose .updated { font-size: 14px; color: var(--ink-400); }

/* --- Value / fact cards (about) --- */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--ink-100);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 768px) { .fact-grid { grid-template-columns: repeat(4, 1fr); } }
.fact { background: #fff; padding: 28px 24px; }
.fact .v { font-size: 34px; font-weight: 800; color: var(--brand-600); letter-spacing: -0.02em; }
.fact .l { font-size: 13px; color: var(--ink-500); margin-top: 6px; }

/* --- Careers job list --- */
.job-list { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.job-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.job-item:hover { border-color: var(--brand-300); box-shadow: 0 10px 30px rgba(10,11,11,0.06); }
.job-item h3 { font-size: 18px; font-weight: 700; color: var(--ink-900); }
.job-meta { font-size: 14px; color: var(--ink-500); margin-top: 6px; display: flex; gap: 16px; flex-wrap: wrap; }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* --- Light form card (credit application, portal) --- */
.form-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 760px;
}
@media (min-width: 768px) { .form-card { padding: 48px; } }
.form-card.narrow { max-width: 440px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.field:first-child { margin-top: 0; }
.form-row { margin-top: 16px; align-items: end; }
.form-row .field { margin-top: 0; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-700); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--ink-900);
  transition: border-color var(--transition), background var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-400); background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.form-card .btn-submit {
  margin-top: 24px;
  background: var(--brand-600);
  color: #fff;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}
.form-card .btn-submit:hover { background: var(--brand-700); }
.form-legend { font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; color: var(--brand-600); margin: 32px 0 4px; }
.form-legend:first-of-type { margin-top: 0; }

/* --- Form success states --- */
.form-success { font-size: 16px; line-height: 1.6; }
.contact-form .form-success { color: #fff; }
.form-card .form-success {
  color: var(--ink-800);
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-md);
  padding: 24px;
}

/* --- Auth / portal --- */
.auth-note { font-size: 13px; color: var(--ink-500); margin-top: 20px; text-align: center; }
.auth-note a { color: var(--brand-600); }
.portal-tiles { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 8px; }
@media (min-width: 640px) { .portal-tiles { grid-template-columns: repeat(3, 1fr); } }

/* --- Simple two-column intro (solutions, about) reuse why-layout --- */
.lead-narrow { max-width: 720px; }

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
  .showcase-item:hover img { transform: none; }
}

/* ============================================
   LOCATION DETAIL PAGES
   ============================================ */
.loc-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 1024px) { .loc-layout { grid-template-columns: 248px 1fr; gap: 48px; align-items: start; } }
.loc-side .loc-side-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; color: var(--brand-600); margin-bottom: 12px; }
.loc-side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.loc-side a { display: block; padding: 12px 16px; border-radius: var(--radius-md); font-weight: 600; color: var(--ink-700); border: 1px solid var(--ink-100); transition: background var(--transition), color var(--transition), border-color var(--transition); }
.loc-side a:hover { background: var(--ink-50); color: var(--brand-700); border-color: var(--ink-200); }
.loc-side a.active { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
@media (min-width: 1024px) { .loc-side { position: sticky; top: 96px; } }

.loc-card { background: #fff; border: 1px solid var(--ink-200); border-radius: var(--radius-xl); padding: 32px; }
@media (min-width: 768px) { .loc-card { padding: 40px; } }
.loc-card + .loc-card { margin-top: 24px; }
.loc-card h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink-900); }
.loc-card .loc-sub { font-size: 13px; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; color: var(--brand-600); margin-bottom: 6px; }

.loc-map { position: relative; width: 100%; padding-bottom: 60%; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--ink-200); }
.loc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.loc-team { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .loc-team { grid-template-columns: repeat(2, 1fr); } }
.loc-person { padding: 20px; border: 1px solid var(--ink-200); border-radius: var(--radius-lg); background: var(--ink-50); }
.loc-person .name { font-weight: 700; color: var(--ink-900); font-size: 18px; }
.loc-person .role { font-size: 13px; color: var(--ink-500); margin-top: 2px; }

/* --- Contact form extras (checkbox groups, consent, required mark) --- */
.field label .req, .field-label .req { color: #c0392b; margin-left: 2px; }
.field-group { margin-top: 24px; }
.field-label { font-size: 13px; font-weight: 600; color: var(--ink-700); display: block; margin-bottom: 10px; }
.check-grid { display: grid; grid-template-columns: 1fr; gap: 10px 20px; }
@media (min-width: 640px) {
  .check-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .check-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.check-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-700); cursor: pointer; }
.check-item input { width: auto; flex: none; margin-top: 3px; accent-color: var(--brand-600); }
.field input[type="checkbox"], .field input[type="radio"] { width: auto; }
.field input[type="file"] { padding: 10px 12px; cursor: pointer; }
.privacy-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; font-size: 13px; line-height: 1.6; color: var(--ink-600); }
.privacy-row input { width: auto; flex: none; margin-top: 3px; accent-color: var(--brand-600); }
.privacy-row a { color: var(--brand-600); text-decoration: underline; }


/* ============================================================
   GOLD ACCENT SYSTEM
   A single gold ramp (from the PPS logo bolt) spent in a few
   restrained places: nav underline, eyebrow rule, heading rule,
   link arrows, stat numbers on dark, and the primary CTA button.
   Gold is kept off small light-background text for contrast.
   ============================================================ */
:root {
  --gold-300: #F9CC5B;
  --gold-400: #F4B528;
  --gold-500: #E0A015;
  --gold-600: #B07D12;
}

/* 1. Nav active/hover underline */
.nav-link::after { background: var(--gold-400); height: 3px; }

/* 2. Eyebrow lead-rule (text stays its readable color) */
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px; height: 3px;
  background: var(--gold-400);
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 10px;
  position: relative; top: -2px;
}
.eyebrow.on-dark { color: var(--gold-400); }

/* 3. Section-heading accent rule (skipped inside tinted callouts) */
.section-heading { position: relative; }
.section-heading::after {
  content: "";
  display: block;
  width: 54px; height: 4px;
  background: var(--gold-400);
  border-radius: 2px;
  margin-top: 18px;
}
.form-card .section-heading::after { display: none; }

/* 4. Link arrows */
.text-link svg { color: var(--gold-500); }
.text-link.on-dark svg { color: var(--gold-400); }

/* 5. Stat numbers (these sit on the dark hero band) */
.stat-value { color: var(--gold-400); }

/* 6. Primary CTA buttons: dark text on gold */
.btn-primary { background: var(--gold-400); color: var(--ink-900); }
.btn-primary:hover { background: var(--gold-300); }
.btn-brand { background: var(--gold-400); color: var(--ink-900); }
.btn-brand:hover { background: var(--gold-300); }

/* Services nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > .nav-link { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-caret { width: 14px; height: 14px; flex: none; transition: transform var(--transition); }
.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(2px);
  min-width: 244px;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 44px -14px rgba(0, 0, 0, 0.22);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 50;
}
.nav-dropdown-menu::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(8px);
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown-menu a:hover { background: var(--brand-50); color: var(--brand-700); }
.nav-dropdown-menu a.active { background: var(--brand-50); color: var(--brand-700); }
