/* ============================================================
   SIXAM / JobSite Link — Design System
   Industrial, dark, confident. Built for the trades.
   ============================================================ */

/* -------- Tokens -------- */
:root {
  /* Palette — pulled from the SIXAM logo */
  --c-black: #0a0a0a;
  --c-near-black: #141414;
  --c-charcoal: #1c1c1c;
  --c-graphite: #2a2a2a;
  --c-steel: #3a3a3a;
  --c-silver: #c8c8c8;
  --c-fog: #8a8a8a;
  --c-white: #f6f6f6;

  --c-orange: #f06d1a;
  --c-orange-bright: #ff7d2a;
  --c-orange-deep: #c8521a;
  --c-amber: #ffb547;

  --c-bg: #ffffff;
  --c-surface: #f7f7f8;
  --c-surface-2: #eeeef0;
  --c-border: rgba(0,0,0,0.08);
  --c-border-strong: rgba(0,0,0,0.18);
  --c-text: #1a1a1a;
  --c-text-mute: #555555;
  --c-text-dim: #777777;

  --ff-display: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --ff-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --ff-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.375rem;
  --fs-2xl: 1.75rem;
  --fs-3xl: 2.25rem;
  --fs-4xl: 3rem;
  --fs-5xl: 4rem;
  --fs-hero: clamp(2.75rem, 6vw, 5.5rem);

  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  --container: 1280px;
  --radius: 4px;
  --radius-lg: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--c-orange-deep);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--c-orange); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-4) 0;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }

p { margin: 0 0 var(--s-4) 0; color: var(--c-text-mute); }
p.lead { font-size: var(--fs-lg); color: #666; }

ul { padding-left: 1.25rem; color: var(--c-text-mute); }

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

.section { padding: var(--s-10) 0; }
.section--tight { padding: var(--s-8) 0; }
.section--dark { background: #f7f7f8; }
.section--surface { background: #ffffff; }
.section--surface-2 { background: #eeeef0; }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--c-orange);
}

.text-orange { color: var(--c-orange); }
.text-mute { color: var(--c-text-mute); }
.text-dim { color: var(--c-text-dim); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) var(--s-5);
  max-width: var(--container);
  margin: 0 auto;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: #1a1a1a;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: var(--fs-xl);
  letter-spacing: 0.05em;
}
.nav__brand:hover { color: #1a1a1a; }
.nav__brand .brand-six { color: #555; }
.nav__brand .brand-am { color: var(--c-orange); }
.nav__brand-mark {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center; justify-content: center;
}
.nav__brand-logo {
  height: 80px;
  width: auto;
  display: block;
}
.nav__brand-logo--footer {
  height: 36px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  color: #555;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav__menu a:hover, .nav__menu a.is-active { color: #1a1a1a; }

.nav__cta {
  display: inline-block;
  padding: var(--s-3) var(--s-5);
  background: var(--c-orange);
  color: var(--c-black) !important;
  font-weight: 700;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  transition: background 0.15s ease, transform 0.15s ease;
}
.nav__cta:hover { background: var(--c-orange-bright); transform: translateY(-1px); }

.nav__cta--contact {
  display: inline-block;
  padding: var(--s-3) var(--s-5);
  border: 2px solid var(--c-orange);
  color: var(--c-orange) !important;
  font-weight: 700;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.nav__cta--contact:hover {
  background: var(--c-orange);
  color: var(--c-black) !important;
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  color: #1a1a1a;
  cursor: pointer;
  padding: var(--s-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-6);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}
.btn--primary {
  background: var(--c-orange);
  color: var(--c-black);
  border-color: var(--c-orange);
}
.btn--primary:hover {
  background: var(--c-orange-bright);
  border-color: var(--c-orange-bright);
  color: var(--c-black);
  transform: translateY(-1px);
}
.btn--secondary {
  background: transparent;
  color: #1a1a1a;
  border-color: rgba(0,0,0,0.18);
}
.btn--secondary:hover {
  border-color: var(--c-orange);
  color: var(--c-orange);
}
.btn--ghost {
  background: transparent;
  color: #555;
  border-color: transparent;
  padding: var(--s-3) 0;
}
.btn--ghost:hover { color: var(--c-orange); }

.btn-group { display: flex; gap: var(--s-4); flex-wrap: wrap; }

.hero {
  position: relative;
  padding: var(--s-10) 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(240, 109, 26, 0.08), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(240, 109, 26, 0.04), transparent 40%),
    #ffffff;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero__inner { position: relative; z-index: 1; max-width: 980px; }
.hero h1 { margin-bottom: var(--s-5); color: #1a1a1a; }
.hero h1 .accent { color: var(--c-orange); }
.hero__sub {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  color: #555;
  max-width: 780px;
  margin-bottom: var(--s-7);
  line-height: 1.5;
}
.hero__cta { margin-bottom: var(--s-8); }

.hero__bg-logo {
  position: absolute;
  right: -8%;
  top: -5%;
  transform: perspective(800px) rotateY(-12deg) rotateX(6deg);
  width: 70%;
  max-width: 850px;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: #ffffff;
  padding: var(--s-5) var(--s-5);
}
.stat__num {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--c-orange);
  margin-bottom: var(--s-2);
  letter-spacing: -0.02em;
}
.stat__label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-text-dim);
  line-height: 1.4;
}

.section-head {
  max-width: 760px;
  margin-bottom: var(--s-8);
}
.section-head h2 { margin-bottom: var(--s-4); color: #1a1a1a; }
.section-head p { font-size: var(--fs-lg); color: #666; }

.grid {
  display: grid;
  gap: var(--s-5);
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  transition: border-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.card:hover {
  border-color: var(--c-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(240, 109, 26, 0.08);
}
.card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--s-3);
  color: #1a1a1a;
}
.card p { color: var(--c-text-mute); margin-bottom: 0; }
.card__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240, 109, 26, 0.12);
  border: 1px solid rgba(240, 109, 26, 0.3);
  border-radius: var(--radius);
  color: var(--c-orange);
  margin-bottom: var(--s-4);
  font-weight: 900;
  font-family: var(--ff-mono);
}

.node-card {
  display: block;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  color: #1a1a1a;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.node-card::after {
  content: '→';
  position: absolute;
  right: var(--s-5);
  top: var(--s-5);
  color: #aaa;
  font-size: var(--fs-xl);
  transition: all 0.2s ease;
}
.node-card:hover {
  border-color: var(--c-orange);
  background: #fafafa;
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(240, 109, 26, 0.08);
}
.node-card:hover::after {
  color: var(--c-orange);
  transform: translateX(4px);
}
.node-card__tag {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: var(--s-3);
  display: block;
}
.node-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--s-2);
  color: #1a1a1a;
}
.node-card p {
  color: #777;
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
.compare__col {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
}
.compare__col--bad { border-color: rgba(0, 0, 0, 0.08); }
.compare__col--good {
  border-color: rgba(240, 109, 26, 0.4);
  background: linear-gradient(180deg, rgba(240,109,26,0.04), transparent);
}
.compare__head {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-text-dim);
  margin-bottom: var(--s-4);
}
.compare__col--good .compare__head { color: var(--c-orange); }
.compare__list { list-style: none; padding: 0; margin: 0; }
.compare__list li {
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text-mute);
}
.compare__list li:last-child { border: 0; }
.compare__col--good .compare__list li { color: #1a1a1a; }

.pullquote {
  border-left: 4px solid var(--c-orange);
  padding: var(--s-2) 0 var(--s-2) var(--s-6);
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  margin: var(--s-7) 0;
}
.pullquote--center {
  border: 0;
  text-align: center;
  padding: 0;
}
.pullquote--center::before, .pullquote--center::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--c-orange);
  margin: var(--s-5) auto;
}

.cta-band {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(240,109,26,0.06), transparent 60%),
    #f7f7f8;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: var(--s-9) 0;
  text-align: center;
}
.cta-band h2 { margin-bottom: var(--s-4); color: #1a1a1a; }
.cta-band p {
  max-width: 640px;
  margin: 0 auto var(--s-6);
  font-size: var(--fs-lg);
  color: #555;
}

.site-footer {
  background: #f7f7f8;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: var(--s-8) 0 var(--s-6);
  color: #777;
  font-size: var(--fs-sm);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-7);
}
.footer__brand p {
  max-width: 320px;
  color: #777;
  margin-top: var(--s-4);
  font-size: var(--fs-sm);
}
.footer__col h5 {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-orange);
  margin-bottom: var(--s-4);
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: var(--s-2); }
.footer__col a {
  color: #555;
  font-size: var(--fs-sm);
}
.footer__col a:hover { color: var(--c-orange); }
.footer__bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: var(--s-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-size: var(--fs-xs);
  color: #999;
}

.page-hero {
  padding: var(--s-9) 0 var(--s-8);
  background:
    radial-gradient(ellipse at 90% 30%, rgba(240,109,26,0.08), transparent 50%),
    #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(2.25rem, 4.5vw, 4rem); color: #1a1a1a; }
.page-hero__sub { font-size: var(--fs-lg); color: #555; max-width: 720px; }
.page-hero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--s-7);
}
.page-hero__text { min-width: 0; }
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}
.partner-logo img { height: 80px; width: auto; max-width: 100%; }

/* -------- Hero with background image -------- */
.page-hero--image {
  padding: var(--s-10) 0 var(--s-9);
  min-height: 460px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.78) 40%, rgba(255,255,255,0.55) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 30%, rgba(255,255,255,0.6) 100%);
  z-index: 0;
}
.page-hero--image .container { position: relative; z-index: 1; }

/* -------- Figure (image with caption) -------- */
.figure {
  margin: 0 0 var(--s-6) 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.figure img {
  width: 100%;
  display: block;
  background: #f7f7f8;
}
.figure figcaption {
  padding: var(--s-4) var(--s-5);
  font-size: var(--fs-sm);
  color: #777;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-family: var(--ff-mono);
  letter-spacing: 0.02em;
}
.figure figcaption strong {
  color: var(--c-orange);
  font-family: var(--ff-display);
  font-weight: 700;
  font-style: normal;
  display: block;
  margin-bottom: var(--s-1);
  letter-spacing: 0.04em;
}

/* Plain bordered image, no caption */
.figure--bare {
  background: #f7f7f8;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.figure--bare img { display: block; width: 100%; }

/* Image alongside text */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
.feature--reverse { direction: rtl; }
.feature--reverse > * { direction: ltr; }
.feature__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #f7f7f8;
}
.feature__media img { display: block; width: 100%; }
.feature__body h2 { margin-bottom: var(--s-4); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature--reverse { direction: ltr; }
  .page-hero--image { min-height: 360px; padding: var(--s-8) 0 var(--s-7); }
  .page-hero__split { grid-template-columns: 1fr; }
  .partner-logo { justify-content: flex-start; margin-top: var(--s-5); }
}

.numbered {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: numbered;
}
.numbered li {
  counter-increment: numbered;
  padding: var(--s-5) 0 var(--s-5) calc(var(--s-7) + var(--s-2));
  border-bottom: 1px solid var(--c-border);
  position: relative;
}
.numbered li:last-child { border: 0; }
.numbered li::before {
  content: counter(numbered, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: var(--s-5);
  font-family: var(--ff-mono);
  font-size: var(--fs-sm);
  color: var(--c-orange);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.numbered li strong {
  display: block;
  color: #1a1a1a;
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--s-2);
}
.numbered li span { color: var(--c-text-mute); }

.divider {
  height: 1px;
  background: var(--c-border);
  margin: var(--s-7) 0;
}
.divider--orange {
  height: 3px;
  width: 60px;
  background: var(--c-orange);
  margin: var(--s-5) 0;
}

.disclaimer {
  font-size: var(--fs-xs);
  color: var(--c-text-dim);
  line-height: 1.5;
  font-style: italic;
  border-top: 1px solid var(--c-border);
  padding-top: var(--s-4);
  margin-top: var(--s-5);
}

@media (max-width: 900px) {
  .nav__menu { display: none; }
  .nav__toggle { display: block; }
  .nav__menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: var(--s-5);
    gap: var(--s-4);
  }
  .split { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: var(--s-8) 0; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
  .hero { padding: var(--s-8) 0; }
  .hero__bg-logo { display: none; }
  .btn-group .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   Ballard Spahr Theme — Legal Page
   White background, yellow/gold + black accents
   ============================================================ */

.page-ballard {
  background: #ffffff;
  color: #1a1a1a;
}

.page-ballard .page-hero {
  background:
    radial-gradient(ellipse at 90% 30%, rgba(255, 209, 0, 0.12), transparent 50%),
    #ffffff;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
.page-ballard .page-hero h1 {
  color: #1a1a1a;
}
.page-ballard .page-hero__sub {
  color: #555;
}
.page-ballard .eyebrow {
  color: #FFD100;
  border-bottom-color: #FFD100;
}

.page-ballard .section--dark {
  background: #f7f7f8;
}
.page-ballard .section--surface {
  background: #ffffff;
}

.page-ballard .stats {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.08);
}
.page-ballard .stat {
  background: #ffffff;
}
.page-ballard .stat__num {
  color: #FFD100;
}
.page-ballard .stat__label {
  color: #777;
}

.page-ballard .section-head h2 {
  color: #1a1a1a;
}
.page-ballard .section-head p {
  color: #555;
}

.page-ballard .card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.page-ballard .card:hover {
  border-color: #FFD100;
  box-shadow: 0 4px 24px rgba(255, 209, 0, 0.1);
}
.page-ballard .card h3 {
  color: #1a1a1a;
}
.page-ballard .card p {
  color: #555;
}
.page-ballard .card__icon {
  background: rgba(255, 209, 0, 0.1);
  border-color: rgba(255, 209, 0, 0.3);
  color: #FFD100;
}

.page-ballard .btn--primary {
  background: #FFD100;
  border-color: #FFD100;
  color: #0a0a0a;
}
.page-ballard .btn--primary:hover {
  background: #FFE033;
  border-color: #FFE033;
  color: #0a0a0a;
}
.page-ballard .btn--secondary {
  color: #1a1a1a;
  border-color: rgba(0, 0, 0, 0.18);
}
.page-ballard .btn--secondary:hover {
  border-color: #FFD100;
  color: #b89a00;
}

.page-ballard .cta-band {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255, 209, 0, 0.1), transparent 60%),
    #f7f7f8;
  border-top-color: rgba(0, 0, 0, 0.06);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}
.page-ballard .cta-band h2 {
  color: #1a1a1a;
}
.page-ballard .cta-band p {
  color: #555;
}

.page-ballard a {
  color: #b89a00;
}
.page-ballard a:hover {
  color: #FFD100;
}
.page-ballard p {
  color: #555;
}

.page-ballard .pullquote {
  border-left-color: #FFD100;
  color: #1a1a1a;
}
.page-ballard .divider--orange {
  background: #FFD100;
}
.page-ballard .disclaimer {
  color: #888;
  border-top-color: rgba(0, 0, 0, 0.08);
}

.page-ballard .site-footer {
  background: #f0f0f2;
  border-top-color: rgba(0, 0, 0, 0.06);
}
.page-ballard .site-footer a {
  color: #555;
}
.page-ballard .site-footer a:hover {
  color: #FFD100;
}
.page-ballard .site-footer .footer__col h5 {
  color: #FFD100;
}
.page-ballard .site-footer .footer__col a {
  color: #666;
}
.page-ballard .site-footer .footer__brand p {
  color: #777;
}
.page-ballard .site-footer .footer__bottom {
  border-top-color: rgba(0, 0, 0, 0.06);
  color: #999;
}

/* ============================================================
   Aprio Theme — Financial Page
   Light backgrounds, orange + purple accents, airy feel
   Nav/header stays consistent with home page (dark)
   ============================================================ */

.page-aprio {
  background: #ffffff;
  color: #1a1a1a;
}

.page-aprio .page-hero {
  background:
    radial-gradient(ellipse at 90% 30%, rgba(243, 121, 32, 0.1), transparent 50%),
    #ffffff;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
.page-aprio .page-hero h1 {
  color: #1a1a1a;
}
.page-aprio .page-hero__sub {
  color: #555;
}
.page-aprio .eyebrow {
  color: #f37920;
  border-bottom-color: #f37920;
}

.page-aprio .section--dark {
  background: #f7f7f8;
}
.page-aprio .section--surface {
  background: #ffffff;
}

.page-aprio .stats {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.08);
}
.page-aprio .stat {
  background: #ffffff;
}
.page-aprio .stat__num {
  color: #f37920;
}
.page-aprio .stat__label {
  color: #777;
}

.page-aprio .section-head h2 {
  color: #1a1a1a;
}
.page-aprio .section-head p {
  color: #555;
}

.page-aprio .card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.page-aprio .card:hover {
  border-color: #f37920;
  box-shadow: 0 4px 24px rgba(243, 121, 32, 0.08);
}
.page-aprio .card h3 {
  color: #1a1a1a;
}
.page-aprio .card p {
  color: #555;
}
.page-aprio .card__icon {
  background: rgba(243, 121, 32, 0.08);
  border-color: rgba(243, 121, 32, 0.25);
  color: #f37920;
}

.page-aprio .section--dark .card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}
.page-aprio .section--dark .section-head h2 {
  color: #1a1a1a;
}
.page-aprio .section--dark .section-head p {
  color: #555;
}
.page-aprio .section--dark .card__icon {
  background: rgba(123, 78, 174, 0.08);
  border-color: rgba(123, 78, 174, 0.25);
  color: #7B4EAE;
}
.page-aprio .section--dark .eyebrow {
  color: #7B4EAE;
  border-bottom-color: #7B4EAE;
}

.page-aprio .btn--primary {
  background: #f37920;
  border-color: #f37920;
  color: #fff;
}
.page-aprio .btn--primary:hover {
  background: #ff8c33;
  border-color: #ff8c33;
  color: #fff;
}
.page-aprio .btn--secondary {
  color: #1a1a1a;
  border-color: rgba(0, 0, 0, 0.18);
}
.page-aprio .btn--secondary:hover {
  border-color: #f37920;
  color: #f37920;
}

.page-aprio .cta-band {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(123, 78, 174, 0.08), transparent 60%),
    #f7f7f8;
  border-top-color: rgba(0, 0, 0, 0.06);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}
.page-aprio .cta-band h2 {
  color: #1a1a1a;
}
.page-aprio .cta-band p {
  color: #555;
}
.page-aprio .cta-band .eyebrow {
  color: #7B4EAE;
  border-bottom-color: #7B4EAE;
}

.page-aprio a {
  color: #f37920;
}
.page-aprio a:hover {
  color: #ff8c33;
}
.page-aprio p {
  color: #555;
}

.page-aprio .disclaimer {
  color: #888;
  border-top-color: rgba(0, 0, 0, 0.08);
}

.page-aprio .site-footer {
  background: #f0f0f2;
  border-top-color: rgba(0, 0, 0, 0.06);
}
.page-aprio .site-footer .footer__col h5 {
  color: #f37920;
}
.page-aprio .site-footer a {
  color: #555;
}
.page-aprio .site-footer a:hover {
  color: #f37920;
}
.page-aprio .site-footer .footer__brand p {
  color: #777;
}
.page-aprio .site-footer .footer__bottom {
  border-top-color: rgba(0, 0, 0, 0.06);
  color: #999;
}
.page-aprio .site-footer .footer__col a {
  color: #666;
}

.page-aprio .partner-logo {
  opacity: 1;
}

/* -------- Lightbox -------- */
.figure img,
.figure--bare img,
.feature__media img {
  cursor: zoom-in;
  transition: opacity 0.15s ease;
}
.figure img:hover,
.figure--bare img:hover,
.feature__media img:hover {
  opacity: 0.85;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  cursor: zoom-out;
  padding: var(--s-5);
}
.lightbox.is-active {
  opacity: 1;
  visibility: visible;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: default;
}
.lightbox.is-active .lightbox__img {
  transform: scale(1);
}
.lightbox__close {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: var(--fs-xl);
  cursor: pointer;
  transition: background 0.15s ease;
  line-height: 1;
}
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lightbox__caption {
  position: absolute;
  bottom: var(--s-5);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--ff-mono);
  font-size: var(--fs-sm);
  text-align: center;
  max-width: 600px;
  pointer-events: none;
}

/* ============================================================
   Blog & News Cards
   ============================================================ */

.article-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
}
.article-card:hover {
  border-color: var(--c-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(240, 109, 26, 0.08);
  color: inherit;
}
.article-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--c-surface);
  display: block;
}
.article-card__body {
  padding: var(--s-5) var(--s-6) var(--s-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card__meta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--c-text-dim);
}
.article-card__tag {
  display: inline-block;
  padding: var(--s-1) var(--s-3);
  background: rgba(240, 109, 26, 0.1);
  color: var(--c-orange);
  font-family: var(--ff-mono);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 2px;
}
.article-card__tag--insight {
  background: rgba(59, 130, 246, 0.08);
  color: #3b82f6;
}
.article-card__tag--policy {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
}
.article-card__tag--news {
  background: rgba(139, 92, 246, 0.08);
  color: #7c3aed;
}
.article-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--s-3);
  color: #1a1a1a;
  line-height: 1.25;
}
.article-card p {
  color: var(--c-text-mute);
  font-size: var(--fs-sm);
  margin-bottom: 0;
  flex: 1;
}
.article-card__read {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-4);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-orange);
  transition: gap 0.2s ease;
}
.article-card:hover .article-card__read {
  gap: var(--s-3);
}

.article-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
}
.article-featured:hover {
  border-color: var(--c-orange);
  box-shadow: 0 4px 20px rgba(240, 109, 26, 0.08);
  color: inherit;
}
.article-featured__image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  background: var(--c-surface);
}
.article-featured__body {
  padding: var(--s-6) var(--s-7) var(--s-6) 0;
}
.article-featured__body h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: var(--s-4);
  color: #1a1a1a;
}
.article-featured__body p {
  font-size: var(--fs-base);
  color: var(--c-text-mute);
  margin-bottom: var(--s-4);
}
@media (max-width: 900px) {
  .article-featured { grid-template-columns: 1fr; }
  .article-featured__body { padding: var(--s-5) var(--s-6) var(--s-6); }
  .article-featured__image { min-height: 240px; }
}

/* ============================================================
   Article Page — Full article view
   ============================================================ */

.article-hero {
  position: relative;
  padding: var(--s-10) 0 var(--s-9);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0.97) 100%),
    linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 100%);
  z-index: 0;
}
.article-hero .container {
  position: relative;
  z-index: 1;
}
.article-hero__inner {
  max-width: 820px;
}
.article-hero__meta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--c-text-dim);
}
.article-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: #1a1a1a;
  margin-bottom: var(--s-5);
}
.article-hero__subtitle {
  font-size: var(--fs-lg);
  color: #555;
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: var(--s-5);
}
.article-hero__byline {
  font-family: var(--ff-mono);
  font-size: var(--fs-sm);
  color: var(--c-text-dim);
  letter-spacing: 0.04em;
}
.article-hero__byline strong {
  color: var(--c-orange);
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: var(--fs-lg);
  line-height: 1.75;
}
.article-body h2 {
  margin-top: var(--s-8);
  margin-bottom: var(--s-5);
}
.article-body p {
  color: #444;
  margin-bottom: var(--s-5);
}
.article-body .lead {
  font-size: var(--fs-xl);
  color: #333;
  line-height: 1.6;
}
.article-body a {
  color: var(--c-orange-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body a:hover {
  color: var(--c-orange);
}

@media (max-width: 900px) {
  .article-hero {
    min-height: 320px;
    padding: var(--s-8) 0 var(--s-7);
  }
}

/* ============================================================
   Access Gate Modal
   ============================================================ */

.access-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--s-5);
}

.access-gate__card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--s-7);
  max-width: 460px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.access-gate__logo {
  height: 48px;
  width: auto;
  margin-bottom: var(--s-5);
}

.access-gate h2 {
  font-size: var(--fs-2xl);
  color: #1a1a1a;
  margin-bottom: var(--s-3);
}

.access-gate__desc {
  color: #555;
  font-size: var(--fs-sm);
  margin-bottom: var(--s-6);
}

.access-gate__form {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.access-gate__field {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.access-gate__field label {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #555;
  font-weight: 600;
}

.access-gate__field input {
  padding: var(--s-3) var(--s-4);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: #1a1a1a;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.access-gate__field input:focus {
  outline: none;
  border-color: var(--c-orange);
  box-shadow: 0 0 0 3px rgba(240, 109, 26, 0.12);
}

.access-gate__field input.is-invalid {
  border-color: #e53e3e;
}

.access-gate__error {
  font-size: var(--fs-xs);
  color: #e53e3e;
  display: none;
}

.access-gate__error.is-visible {
  display: block;
}

.access-gate__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-4) var(--s-6);
  background: var(--c-orange);
  color: #0a0a0a;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 2px solid var(--c-orange);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s ease;
  margin-top: var(--s-2);
}

.access-gate__submit:hover {
  background: var(--c-orange-bright);
  border-color: var(--c-orange-bright);
}

.access-gate__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 560px) {
  .access-gate__card {
    padding: var(--s-5);
  }
}
