/* ═══ COLOR FLOW MAP (from design-spec.sections[].bg_context) ═══
 * ALL pages share the same nav (dark solid always — vault aesthetic).
 * Nav bg = #111827 (dark-alt solid); logo = logo-light.svg (silver on dark)
 *
 * index.html:
 *   nav         → dark solid (#111827) | logo: light | text: white
 *   hero        → DARK  (#0A0E1A)  | text: fg-on-dark-primary
 *   crisis-bar  → DARK-ALT (#111827) | text: fg-on-dark-primary
 *   threat      → DARK  (#0A0E1A)  | text: fg-on-dark-primary
 *   product-intro → DARK-ALT (#111827) | text: fg-on-dark-primary
 *   tech-proof  → LIGHT (#F8FAFC)  | text: fg-on-light-primary
 *   deploy-arch → LIGHT-ALT (#F1F5F9) | text: fg-on-light-primary
 *   trust-sigs  → DARK  (#0A0E1A)  | text: fg-on-dark-primary
 *   cta-section → DARK-ALT (#111827) | text: fg-on-dark-primary
 *   footer      → DARK  (#0A0E1A)  | text: fg-on-dark-secondary
 *
 * about.html, blog/*, legal/*, contact.html (light-top pages):
 *   nav         → dark solid (#111827) | same — vault always dark
 *   hero/header → LIGHT (#F8FAFC)  | text: fg-on-light-primary
 *   sections    → LIGHT / LIGHT-ALT alternating
 *   footer      → DARK  (#0A0E1A)  | text: fg-on-dark-secondary
 *
 * Adjacent same-polarity note: hero(dark) → crisis-bar(dark-alt):
 *   Visible separator via 1px gold border at bottom of crisis-bar.
 *   threat(dark) → product-intro(dark-alt): same border separator strategy.
 * ═══════════════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
  /* Color tokens */
  --crg-bg-dark: #0A0E1A;
  --crg-bg-dark-alt: #111827;
  --crg-bg-dark-card: #1A2235;
  --crg-bg-light: #F8FAFC;
  --crg-bg-light-alt: #F1F5F9;
  --crg-bg-white: #FFFFFF;

  --crg-accent-gold: #C8A96E;
  --crg-accent-gold-aa-on-light: #8B6914;
  --crg-accent-cyan: #00B4D8;
  --crg-accent-cyan-aa-on-light: #006B80;

  --crg-fg-dark-primary: #F0F4F8;
  --crg-fg-dark-secondary: #9CA3AF;
  --crg-fg-dark-muted: #6B7280;

  --crg-fg-light-primary: #0A0E1A;
  --crg-fg-light-secondary: #374151;
  --crg-fg-light-muted: #6B7280;

  --crg-border-dark: rgba(200, 169, 110, 0.18);
  --crg-border-light: #E2E8F0;

  /* Typography */
  --crg-font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
  --crg-font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --crg-max-width: 1180px;
  --crg-section-pad-desktop: 96px;
  --crg-section-pad-mobile: 64px;
  --crg-nav-height: 68px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--crg-font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  background: var(--crg-bg-dark);
  color: var(--crg-fg-dark-primary);
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

ul, ol { list-style: none; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--crg-font-mono);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* Dark context headings */
.crg-section--dark h1,
.crg-section--dark h2,
.crg-section--dark h3,
.crg-hero h1,
.crg-hero h2,
.crg-hero h3,
.crg-footer h1,
.crg-footer h2,
.crg-footer h3 {
  color: var(--crg-fg-dark-primary);
}

/* Light context headings */
.crg-section--light h1,
.crg-section--light h2,
.crg-section--light h3,
.crg-section--light-alt h1,
.crg-section--light-alt h2,
.crg-section--light-alt h3,
.crg-subhero h1,
.crg-subhero h2,
.crg-subhero h3 {
  color: var(--crg-fg-light-primary);
}

/* ─── Container ─── */
.crg-container {
  max-width: var(--crg-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Navigation ─── */
.crg-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--crg-nav-height);
  background: var(--crg-bg-dark-alt);
  border-bottom: 1px solid var(--crg-border-dark);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.crg-nav__inner {
  max-width: var(--crg-max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.crg-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.crg-nav__logo img {
  height: 32px;
  width: auto;
  max-width: 180px;
}

.crg-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.crg-nav__item {
  position: relative;
}

.crg-nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-family: var(--crg-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--crg-fg-dark-secondary);
  transition: color 0.2s;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.crg-nav__link:hover {
  color: var(--crg-fg-dark-primary);
}

.crg-nav__link svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  transition: transform 0.2s;
}

.crg-nav__item.is-open > .crg-nav__link svg {
  transform: rotate(180deg);
}

/* Dropdown */
.crg-nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--crg-bg-dark-alt);
  border: 1px solid var(--crg-border-dark);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.crg-nav__item.is-open > .crg-nav__dropdown,
.crg-nav__item:hover > .crg-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.crg-nav__dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: 0.875rem;
  color: var(--crg-fg-dark-secondary);
  transition: color 0.2s, background 0.2s;
}

.crg-nav__dropdown-link:hover {
  color: var(--crg-fg-dark-primary);
  background: rgba(200, 169, 110, 0.06);
}

/* Nav CTA */
.crg-nav__actions {
  margin-left: auto;
  flex-shrink: 0;
}

/* Hamburger */
.crg-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.crg-nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--crg-fg-dark-primary);
  transition: transform 0.3s, opacity 0.3s;
}

.crg-nav__hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.crg-nav__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.crg-nav__hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.crg-nav__mobile {
  display: none;
  position: fixed;
  top: var(--crg-nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--crg-bg-dark-alt);
  padding: 24px;
  overflow-y: auto;
  z-index: 999;
  border-top: 1px solid var(--crg-border-dark);
}

.crg-nav__mobile.is-open {
  display: block;
}

.crg-nav__mobile-link {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--crg-fg-dark-secondary);
  border-bottom: 1px solid var(--crg-border-dark);
}

.crg-nav__mobile-link:hover {
  color: var(--crg-fg-dark-primary);
}

.crg-nav__mobile-cta {
  margin-top: 24px;
}

/* ─── Buttons ─── */
.crg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--crg-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.crg-btn:active { transform: translateY(1px); }

/* Primary: gold fill, dark text — works on any bg */
.crg-btn--primary {
  background: var(--crg-accent-gold);
  color: var(--crg-bg-dark);
  border: 2px solid var(--crg-accent-gold);
}

.crg-btn--primary:hover {
  background: #D4B87C;
  border-color: #D4B87C;
  color: var(--crg-bg-dark);
}

/* Outline on dark */
.crg-btn--outline-dark {
  background: transparent;
  color: var(--crg-fg-dark-primary);
  border: 2px solid rgba(240, 244, 248, 0.35);
}

.crg-btn--outline-dark:hover {
  border-color: var(--crg-fg-dark-primary);
  background: rgba(240, 244, 248, 0.05);
}

/* Outline on light */
.crg-btn--outline-light {
  background: transparent;
  color: var(--crg-fg-light-primary);
  border: 2px solid var(--crg-fg-light-primary);
}

.crg-btn--outline-light:hover {
  background: var(--crg-fg-light-primary);
  color: var(--crg-bg-white);
}

/* Ghost on dark */
.crg-btn--ghost-dark {
  background: transparent;
  color: var(--crg-accent-gold);
  border: 2px solid transparent;
  padding-left: 0;
  padding-right: 0;
}

.crg-btn--ghost-dark:hover {
  color: #D4B87C;
}

.crg-btn--sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
}

/* ─── Eyebrow Labels ─── */
.crg-eyebrow {
  font-family: var(--crg-font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.crg-section--dark .crg-eyebrow,
.crg-hero .crg-eyebrow {
  color: var(--crg-accent-gold);
}

.crg-section--light .crg-eyebrow,
.crg-section--light-alt .crg-eyebrow,
.crg-subhero .crg-eyebrow {
  color: var(--crg-accent-gold-aa-on-light);
}

/* ─── Hexagonal Lattice SVG Texture (inline, reused across dark sections) ─── */
.crg-lattice-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.crg-section--dark,
.crg-section--dark-alt,
.crg-hero {
  position: relative;
}

.crg-section--dark > *:not(.crg-lattice-bg),
.crg-section--dark-alt > *:not(.crg-lattice-bg),
.crg-hero > *:not(.crg-lattice-bg) {
  position: relative;
  z-index: 1;
}

/* ─── Sections ─── */
.crg-section--dark {
  background: var(--crg-bg-dark);
  color: var(--crg-fg-dark-primary);
}

.crg-section--dark-alt {
  background: var(--crg-bg-dark-alt);
  color: var(--crg-fg-dark-primary);
  border-top: 1px solid var(--crg-border-dark);
  border-bottom: 1px solid var(--crg-border-dark);
}

.crg-section--light {
  background: var(--crg-bg-light);
  color: var(--crg-fg-light-primary);
}

.crg-section--light-alt {
  background: var(--crg-bg-light-alt);
  color: var(--crg-fg-light-primary);
}

.crg-section--white {
  background: var(--crg-bg-white);
  color: var(--crg-fg-light-primary);
}

/* Standard section padding */
.crg-section {
  padding: var(--crg-section-pad-desktop) 0;
}

/* ─── Hero ─── */
.crg-hero {
  min-height: 100vh;
  background: var(--crg-bg-dark);
  color: var(--crg-fg-dark-primary);
  display: flex;
  align-items: center;
  padding-top: var(--crg-nav-height);
  overflow: hidden;
}

.crg-hero__inner {
  max-width: var(--crg-max-width);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.crg-hero__content {}

.crg-hero__eyebrow {
  margin-bottom: 20px;
}

.crg-hero__headline {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--crg-fg-dark-primary);
  margin-bottom: 24px;
  white-space: pre-line;
}

.crg-hero__headline em {
  font-style: normal;
  color: var(--crg-accent-gold);
}

.crg-hero__subhead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--crg-fg-dark-secondary);
  margin-bottom: 40px;
  max-width: 520px;
}

.crg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.crg-hero__visual {
  position: relative;
}

.crg-hero__img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

/* ─── Subpage Hero ─── */
.crg-subhero {
  background: var(--crg-bg-dark);
  color: var(--crg-fg-dark-primary);
  padding-top: calc(var(--crg-nav-height) + 64px);
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
}

.crg-subhero--light {
  background: var(--crg-bg-light);
  color: var(--crg-fg-light-primary);
}

.crg-subhero--light .crg-subhero__eyebrow {
  color: var(--crg-accent-gold-aa-on-light);
}

.crg-subhero--light .crg-subhero__headline {
  color: var(--crg-fg-light-primary);
}

.crg-subhero--light .crg-subhero__subhead {
  color: var(--crg-fg-light-secondary);
}

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

.crg-subhero__eyebrow {
  font-family: var(--crg-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crg-accent-gold);
  margin-bottom: 16px;
}

.crg-subhero__headline {
  font-family: var(--crg-font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--crg-fg-dark-primary);
  margin-bottom: 16px;
  max-width: 720px;
}

.crg-subhero__subhead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--crg-fg-dark-secondary);
  max-width: 640px;
}

/* Dark subhero gets lattice texture and gradient */
.crg-subhero:not(.crg-subhero--light) {
  background: linear-gradient(160deg, var(--crg-bg-dark) 60%, #0D1528 100%);
}

/* Light subhero gets subtle pattern */
.crg-subhero--light {
  background: var(--crg-bg-light);
  border-bottom: 1px solid var(--crg-border-light);
}

/* ─── Stat Strip (crisis-bar) ─── */
.crg-stat-strip {
  padding: 48px 0;
}

.crg-stat-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.crg-stat-strip__item {
  padding: 24px 32px;
  border-right: 1px solid var(--crg-border-dark);
}

.crg-stat-strip__item:last-child {
  border-right: none;
}

.crg-stat-strip__value {
  font-family: var(--crg-font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--crg-accent-gold);
  margin-bottom: 8px;
  line-height: 1.2;
}

.crg-stat-strip__label {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--crg-fg-dark-secondary);
}

/* ─── Feature Grid (technology-proof) ─── */
.crg-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--crg-border-light);
}

.crg-feature-card {
  background: var(--crg-bg-white);
  padding: 40px 36px;
}

.crg-feature-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 105, 20, 0.08);
  margin-bottom: 20px;
  font-size: 1.25rem;
  color: var(--crg-accent-gold-aa-on-light);
}

.crg-feature-card__title {
  font-family: var(--crg-font-mono);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  margin-bottom: 12px;
}

.crg-feature-card__body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--crg-fg-light-secondary);
}

/* ─── Specs Callout (product-intro) ─── */
.crg-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}

.crg-specs-table td {
  padding: 14px 20px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--crg-border-dark);
}

.crg-section--dark .crg-specs-table td,
.crg-section--dark-alt .crg-specs-table td {
  color: var(--crg-fg-dark-primary);
}

.crg-specs-table td:first-child {
  font-family: var(--crg-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--crg-accent-gold);
  width: 200px;
  font-weight: 500;
}

.crg-section--dark-alt .crg-specs-table td:first-child {
  color: var(--crg-accent-gold);
}

.crg-specs-table td:last-child {
  color: var(--crg-fg-dark-secondary);
  font-family: var(--crg-font-mono);
  font-size: 0.8125rem;
}

/* ─── Trust Signals ─── */
.crg-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--crg-border-dark);
  border: 1px solid var(--crg-border-dark);
}

.crg-trust-item {
  background: var(--crg-bg-dark);
  padding: 32px 36px;
}

.crg-trust-item__label {
  font-family: var(--crg-font-mono);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--crg-fg-dark-primary);
  margin-bottom: 8px;
}

.crg-trust-item__detail {
  font-size: 0.875rem;
  color: var(--crg-fg-dark-secondary);
  line-height: 1.6;
}

/* ─── CTA Section ─── */
.crg-cta-band {
  text-align: center;
  padding: 80px 24px;
}

.crg-cta-band__headline {
  font-family: var(--crg-font-mono);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--crg-fg-dark-primary);
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.crg-cta-band__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── Deployment Architecture ─── */
.crg-deploy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.crg-deploy-copy h2 {
  font-family: var(--crg-font-mono);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  margin-bottom: 20px;
}

.crg-deploy-copy p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--crg-fg-light-secondary);
  margin-bottom: 28px;
}

.crg-deploy-img {
  width: 100%;
  height: auto;
  border: 1px solid var(--crg-border-light);
}

/* ─── Tech Two-col ─── */
.crg-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.crg-two-col__copy h2 {
  font-family: var(--crg-font-mono);
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.crg-section--dark .crg-two-col__copy h2 {
  color: var(--crg-fg-dark-primary);
}

.crg-section--light .crg-two-col__copy h2 {
  color: var(--crg-fg-light-primary);
}

.crg-two-col__copy p {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.crg-section--dark .crg-two-col__copy p {
  color: var(--crg-fg-dark-secondary);
}

.crg-section--light .crg-two-col__copy p {
  color: var(--crg-fg-light-secondary);
}

/* ─── Footer ─── */
.crg-footer {
  background: var(--crg-bg-dark);
  color: var(--crg-fg-dark-secondary);
  border-top: 1px solid var(--crg-border-dark);
  padding: 64px 0 0;
}

.crg-footer__grid {
  max-width: var(--crg-max-width);
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 48px;
}

.crg-footer__brand .crg-footer__logo {
  height: 28px;
  width: auto;
  max-width: 160px;
  margin-bottom: 16px;
}

.crg-footer__brand p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--crg-fg-dark-muted);
  max-width: 220px;
}

.crg-footer__col-title {
  font-family: var(--crg-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crg-fg-dark-secondary);
  margin-bottom: 16px;
  font-weight: 600;
}

.crg-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.crg-footer__link {
  font-size: 0.875rem;
  color: var(--crg-fg-dark-muted);
  transition: color 0.2s;
  text-decoration: none;
}

.crg-footer__link:hover {
  color: var(--crg-accent-gold);
}

.crg-footer__bottom {
  border-top: 1px solid var(--crg-border-dark);
  padding: 20px 24px;
  max-width: var(--crg-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.crg-footer__copy {
  font-size: 0.8125rem;
  color: var(--crg-fg-dark-muted);
}

.crg-footer__legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.crg-footer__legal-links a {
  font-size: 0.8125rem;
  color: var(--crg-fg-dark-muted);
  transition: color 0.2s;
}

.crg-footer__legal-links a:hover {
  color: var(--crg-accent-gold);
}

/* ─── Section heading pattern ─── */
.crg-section__header {
  margin-bottom: 48px;
}

.crg-section__headline {
  font-family: var(--crg-font-mono);
  font-size: 1.875rem;
  font-weight: 600;
  margin-top: 12px;
}

.crg-section--dark .crg-section__headline {
  color: var(--crg-fg-dark-primary);
}

.crg-section--light .crg-section__headline,
.crg-section--light-alt .crg-section__headline {
  color: var(--crg-fg-light-primary);
}

.crg-section--dark .crg-section__sub {
  color: var(--crg-fg-dark-secondary);
}

.crg-section--light .crg-section__sub,
.crg-section--light-alt .crg-section__sub {
  color: var(--crg-fg-light-secondary);
}

.crg-section__sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 640px;
}

/* ─── Product Intro Two-col ─── */
.crg-product-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.crg-product-intro__copy h2 {
  font-family: var(--crg-font-mono);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--crg-fg-dark-primary);
  margin-bottom: 20px;
}

.crg-product-intro__copy p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--crg-fg-dark-secondary);
  margin-bottom: 28px;
}

/* ─── Blog Cards ─── */
.crg-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.crg-blog-card {
  background: var(--crg-bg-white);
  border: 1px solid var(--crg-border-light);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}

.crg-blog-card:hover {
  border-color: var(--crg-accent-gold-aa-on-light);
  transform: translateY(-2px);
}

.crg-blog-card__img-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.crg-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.crg-blog-card:hover .crg-blog-card__img {
  transform: scale(1.03);
}

.crg-blog-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.crg-blog-card__cat {
  font-family: var(--crg-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crg-accent-gold-aa-on-light);
  margin-bottom: 10px;
  font-weight: 500;
}

.crg-blog-card__title {
  font-family: var(--crg-font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  line-height: 1.4;
  margin-bottom: 12px;
  flex: 1;
}

.crg-blog-card__summary {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--crg-fg-light-secondary);
  margin-bottom: 16px;
}

.crg-blog-card__meta {
  font-size: 0.8125rem;
  color: var(--crg-fg-light-muted);
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* ─── Blog Article ─── */
.crg-blog-article {
  padding-top: calc(var(--crg-nav-height) + 48px);
  background: var(--crg-bg-light);
  min-height: 100vh;
}

.crg-blog-article__cover {
  width: 100%;
  height: auto;
  max-width: 720px;
  margin: 0 auto 40px;
  display: block;
}

.crg-blog-article__header {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

.crg-blog-article__cat {
  font-family: var(--crg-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crg-accent-gold-aa-on-light);
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
}

.crg-blog-article__title {
  font-family: var(--crg-font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--crg-fg-light-primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.crg-blog-article__meta {
  font-size: 0.875rem;
  color: var(--crg-fg-light-muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.crg-article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* article body — scoped to light context only (crg-legal-page.appears_on_themes = light-top) */
body.crg-page--light-top .crg-article-body h2,
body.crg-page--light-top .crg-article-body h3 {
  font-family: var(--crg-font-mono);
  color: var(--crg-fg-light-primary);
  margin: 36px 0 12px;
}

body.crg-page--light-top .crg-article-body p {
  color: var(--crg-fg-light-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

body.crg-page--light-top .crg-article-body ul,
body.crg-page--light-top .crg-article-body ol {
  color: var(--crg-fg-light-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  padding-left: 24px;
  list-style: disc;
}

body.crg-page--light-top .crg-article-body a {
  color: var(--crg-accent-cyan-aa-on-light);
  text-decoration: underline;
}

body.crg-page--light-top .crg-article-body code {
  font-family: var(--crg-font-mono);
  font-size: 0.875em;
  background: var(--crg-bg-light-alt);
  padding: 2px 6px;
  color: var(--crg-fg-light-primary);
}

/* ─── Resources Page ─── */
.crg-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.crg-resource-card {
  background: var(--crg-bg-white);
  border: 1px solid var(--crg-border-light);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s;
}

.crg-resource-card:hover {
  border-color: var(--crg-accent-gold-aa-on-light);
}

.crg-resource-card__type {
  font-family: var(--crg-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crg-accent-gold-aa-on-light);
  font-weight: 500;
}

.crg-resource-card__title {
  font-family: var(--crg-font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  line-height: 1.4;
}

.crg-resource-card__thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ─── Contact Page ─── */
.crg-contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
  max-width: var(--crg-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.crg-contact-form-panel {
  background: var(--crg-bg-white);
  border: 1px solid var(--crg-border-light);
  padding: 40px;
}

.crg-contact-info-aside {
  background: var(--crg-bg-light-alt);
  border: 1px solid var(--crg-border-light);
  padding: 36px 32px;
}

.crg-contact-info-aside h3 {
  font-family: var(--crg-font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.crg-contact-info-aside p,
.crg-contact-info-aside address {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--crg-fg-light-secondary);
  font-style: normal;
}

.crg-contact-info-aside a {
  color: var(--crg-accent-cyan-aa-on-light);
}

.crg-contact-info-aside address + h3 {
  margin-top: 28px;
}

/* Form elements */
.crg-form__group {
  margin-bottom: 20px;
}

.crg-form__label {
  display: block;
  font-family: var(--crg-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crg-fg-light-primary);
  font-weight: 500;
  margin-bottom: 8px;
}

.crg-form__input,
.crg-form__select,
.crg-form__textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--crg-font-body);
  font-size: 0.9375rem;
  color: var(--crg-fg-light-primary);
  background: var(--crg-bg-white);
  border: 1px solid var(--crg-border-light);
  outline: none;
  transition: border-color 0.2s;
  max-width: 100%;
}

.crg-form__input:focus,
.crg-form__select:focus,
.crg-form__textarea:focus {
  border-color: var(--crg-accent-gold-aa-on-light);
}

.crg-form__textarea {
  min-height: 120px;
  resize: vertical;
}

.crg-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23374151' stroke-width='1.5' fill='none' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.crg-form__select option {
  background: var(--crg-bg-white);
  color: var(--crg-fg-light-primary);
}

/* ─── Spec Tables (full page) ─── */
.crg-spec-section {
  margin-bottom: 56px;
}

.crg-spec-section__title {
  font-family: var(--crg-font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--crg-accent-gold-aa-on-light);
}

.crg-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.crg-spec-table tr {
  border-bottom: 1px solid var(--crg-border-light);
}

.crg-spec-table td {
  padding: 14px 16px;
  font-size: 0.9375rem;
  vertical-align: top;
}

.crg-spec-table td:first-child {
  font-family: var(--crg-font-mono);
  font-size: 0.8125rem;
  color: var(--crg-fg-light-primary);
  width: 240px;
  font-weight: 500;
}

.crg-spec-table td:last-child {
  color: var(--crg-fg-light-secondary);
}

/* ─── Team Grid ─── */
.crg-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.crg-team-card {
  background: var(--crg-bg-white);
  border: 1px solid var(--crg-border-light);
  overflow: hidden;
}

.crg-team-card__portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.crg-team-card__body {
  padding: 20px;
}

.crg-team-card__name {
  font-family: var(--crg-font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  margin-bottom: 4px;
}

.crg-team-card__title {
  font-size: 0.875rem;
  color: var(--crg-fg-light-secondary);
}

/* ─── About / CEO section ─── */
.crg-about-ceo {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.crg-about-ceo-portrait {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border: 1px solid var(--crg-border-light);
}

.crg-about-ceo-copy h2 {
  font-family: var(--crg-font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--crg-fg-light-primary);
  margin-bottom: 4px;
}

.crg-about-ceo-copy .crg-ceo-title {
  font-family: var(--crg-font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--crg-accent-gold-aa-on-light);
  font-weight: 500;
  margin-bottom: 20px;
}

.crg-about-ceo-copy p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--crg-fg-light-secondary);
}

/* ─── Legal Pages ─── */
.crg-legal-page {
  background: var(--crg-bg-white);
  min-height: 100vh;
  padding-top: calc(var(--crg-nav-height) + 48px);
  padding-bottom: 80px;
}

.crg-legal-page .legal-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.crg-legal-page .legal-header {
  margin-bottom: 40px;
  border-bottom: 2px solid var(--crg-accent-gold-aa-on-light);
  padding-bottom: 24px;
}

.crg-legal-page .legal-header h1 {
  font-family: var(--crg-font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--crg-fg-light-primary);
  margin-bottom: 8px;
}

.crg-legal-page .legal-meta {
  font-size: 0.875rem;
  color: var(--crg-fg-light-muted);
}

.crg-legal-page section {
  margin-bottom: 40px;
}

.crg-legal-page h2 {
  font-family: var(--crg-font-mono);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  margin-bottom: 12px;
  margin-top: 32px;
}

.crg-legal-page h3 {
  font-family: var(--crg-font-mono);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  margin-bottom: 8px;
  margin-top: 20px;
}

.crg-legal-page p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--crg-fg-light-secondary);
  margin-bottom: 12px;
}

.crg-legal-page ul,
.crg-legal-page ol {
  padding-left: 24px;
  list-style: disc;
  margin-bottom: 12px;
}

.crg-legal-page li {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--crg-fg-light-secondary);
  margin-bottom: 6px;
}

.crg-legal-page a {
  color: var(--crg-accent-cyan-aa-on-light);
  text-decoration: underline;
}

.crg-legal-page address {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--crg-fg-light-secondary);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.legal-table th {
  font-family: var(--crg-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--crg-bg-light-alt);
  color: var(--crg-fg-light-primary);
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--crg-border-light);
}

.legal-table td {
  padding: 10px 14px;
  border: 1px solid var(--crg-border-light);
  color: var(--crg-fg-light-secondary);
}

/* ─── Cookie Banner ─── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--crg-bg-dark-alt);
  border-top: 1px solid var(--crg-border-dark);
  padding: 16px 24px;
}

.cookie-banner__inner {
  max-width: var(--crg-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 280px;
  font-size: 0.875rem;
  color: var(--crg-fg-dark-secondary);
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--crg-accent-gold);
  text-decoration: underline;
}

.cookie-banner__actions {
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: var(--crg-font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  padding: 9px 20px;
  transition: background 0.2s;
}

.cookie-banner__btn--primary {
  background: var(--crg-accent-gold);
  color: var(--crg-bg-dark);
}

.cookie-banner__btn--primary:hover {
  background: #D4B87C;
}

/* ─── Lattice SVG animation ─── */
.crg-lattice-svg {
  width: 100%;
  height: 100%;
}

/* ─── Breadcrumb ─── */
.crg-breadcrumb {
  font-family: var(--crg-font-mono);
  font-size: 0.75rem;
  color: var(--crg-fg-dark-muted);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.crg-breadcrumb a {
  color: var(--crg-fg-dark-muted);
  transition: color 0.2s;
}

.crg-breadcrumb a:hover {
  color: var(--crg-accent-gold);
}

.crg-breadcrumb--light {
  color: var(--crg-fg-light-muted);
}

.crg-breadcrumb--light a {
  color: var(--crg-fg-light-muted);
}

.crg-breadcrumb--light a:hover {
  color: var(--crg-accent-gold-aa-on-light);
}

/* ─── Disclaimer box ─── */
.crg-disclaimer {
  background: rgba(200, 169, 110, 0.08);
  border-left: 3px solid var(--crg-accent-gold-aa-on-light);
  padding: 16px 20px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--crg-fg-light-secondary);
  margin: 24px 0;
}

/* ─── Fade-in animations ─── */
.crg-fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.crg-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Failsafe: after 1.2s force reveal */
@keyframes crg-failsafe-reveal {
  to { opacity: 1; transform: none; }
}

.crg-fade-in {
  animation: crg-failsafe-reveal 0.5s ease 1.2s forwards;
}

/* ─── Solutions page ─── */
.crg-solutions-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.crg-solution-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--crg-border-light);
}

.crg-solution-row:last-child {
  border-bottom: none;
}

.crg-solution-row__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--crg-accent-gold-aa-on-light);
  font-size: 1.5rem;
  background: rgba(139, 105, 20, 0.07);
  margin-bottom: 16px;
}

.crg-solution-row__title {
  font-family: var(--crg-font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  margin-bottom: 12px;
}

.crg-solution-row__body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--crg-fg-light-secondary);
}

/* dark section solutions list */
.crg-section--dark .crg-solution-row {
  border-color: var(--crg-border-dark);
}

.crg-section--dark .crg-solution-row__title {
  color: var(--crg-fg-dark-primary);
}

.crg-section--dark .crg-solution-row__body {
  color: var(--crg-fg-dark-secondary);
}

.crg-section--dark .crg-solution-row__icon {
  color: var(--crg-accent-gold);
}

/* ─── Technology page detail ─── */
.crg-tech-detail {
  max-width: 800px;
}

.crg-tech-detail p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--crg-fg-light-secondary);
  margin-bottom: 20px;
}

.crg-tech-detail h3 {
  font-family: var(--crg-font-mono);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  margin: 32px 0 12px;
}

.crg-tech-detail ul {
  list-style: disc;
  padding-left: 24px;
  color: var(--crg-fg-light-secondary);
  margin-bottom: 20px;
}

.crg-tech-detail li {
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 6px;
}

/* ─── Performance data cards ─── */
.crg-perf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.crg-perf-card {
  background: var(--crg-bg-dark-card);
  border: 1px solid var(--crg-border-dark);
  padding: 24px;
}

.crg-perf-card__metric {
  font-family: var(--crg-font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--crg-accent-gold);
  margin-bottom: 6px;
}

.crg-perf-card__label {
  font-size: 0.8125rem;
  color: var(--crg-fg-dark-secondary);
  line-height: 1.5;
}

/* ─── Inline SVG lattice animation container ─── */
.crg-lattice-anim {
  width: 100%;
  max-width: 460px;
}

/* ─── Container narrow variant ─── */
.crg-container--narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Subhero inner variants ─── */
.crg-subhero__inner--wide {
  max-width: var(--crg-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.crg-subhero__inner--split {
  max-width: var(--crg-max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.crg-subhero__copy {}
.crg-subhero__visual {
  position: relative;
}

.crg-subhero__visual img {
  width: 100%;
  height: auto;
}

/* Light subhero eyebrow/headline/sub — explicit on-light tokens */
.crg-subhero--light-eyebrow {
  color: var(--crg-accent-gold-aa-on-light);
}

.crg-subhero--light-headline {
  color: var(--crg-fg-light-primary);
}

.crg-subhero--light-sub {
  color: var(--crg-fg-light-secondary);
}

/* ─── Hero single-col variant ─── */
.crg-hero__inner--single {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 24px;
  display: block;
  text-align: center;
}

.crg-hero__inner--single .crg-hero__headline {
  font-size: 3rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.crg-hero__inner--single .crg-hero__subhead {
  margin-left: auto;
  margin-right: auto;
}

.crg-hero__inner--single .crg-hero__actions {
  justify-content: center;
}

/* ─── Buttons extra variants ─── */
.crg-btn--dark {
  background: var(--crg-bg-dark);
  color: var(--crg-fg-dark-primary);
  border: 2px solid var(--crg-bg-dark);
}

.crg-btn--dark:hover {
  background: var(--crg-bg-dark-alt);
  border-color: var(--crg-bg-dark-alt);
}

.crg-btn--full {
  width: 100%;
  justify-content: center;
}

/* ─── Contact layout ─── */
.crg-contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.crg-contact-form-col {}
.crg-contact-info-col {}

.crg-contact-form-title {
  font-family: var(--crg-font-mono);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  margin-bottom: 24px;
}

.crg-contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.crg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.crg-form-group {
  margin-bottom: 20px;
}

.crg-form-label {
  display: block;
  font-family: var(--crg-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crg-fg-light-primary);
  font-weight: 500;
  margin-bottom: 8px;
}

.crg-form-input,
.crg-form-select,
.crg-form-textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  font-family: var(--crg-font-body);
  font-size: 0.9375rem;
  color: var(--crg-fg-light-primary);
  background: var(--crg-bg-white);
  border: 1px solid var(--crg-border-light);
  outline: none;
  transition: border-color 0.2s;
}

.crg-form-input:focus,
.crg-form-select:focus,
.crg-form-textarea:focus {
  border-color: var(--crg-accent-gold-aa-on-light);
}

.crg-form-textarea {
  min-height: 120px;
  resize: vertical;
}

.crg-form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23374151' stroke-width='1.5' fill='none' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.crg-form-select option {
  background: var(--crg-bg-white);
  color: var(--crg-fg-light-primary);
}

.crg-form-privacy {
  font-size: 0.8125rem;
  color: var(--crg-fg-light-muted);
  line-height: 1.55;
  margin-top: 12px;
}

.crg-form-privacy a {
  color: var(--crg-accent-cyan-aa-on-light);
  text-decoration: underline;
}

.crg-contact-info-block {
  background: var(--crg-bg-light-alt);
  border: 1px solid var(--crg-border-light);
  padding: 24px;
  margin-bottom: 16px;
}

.crg-contact-info-title {
  font-family: var(--crg-font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.crg-contact-info-block p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--crg-fg-light-secondary);
}

.crg-contact-link {
  color: var(--crg-accent-cyan-aa-on-light);
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.crg-contact-link:hover {
  text-decoration: underline;
}

/* ─── Technology pillars ─── */
.crg-tech-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--crg-border-dark);
  border: 1px solid var(--crg-border-dark);
  margin-top: 48px;
}

.crg-tech-pillar {
  background: var(--crg-bg-dark-alt);
  padding: 32px 24px;
}

.crg-tech-pillar__icon {
  font-size: 1.5rem;
  color: var(--crg-accent-gold);
  margin-bottom: 16px;
}

.crg-tech-pillar__title {
  font-family: var(--crg-font-mono);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--crg-fg-dark-primary);
  margin-bottom: 10px;
}

.crg-tech-pillar__body {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--crg-fg-dark-secondary);
}

/* ─── Comparison table ─── */
.crg-comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}

.crg-comparison-table th {
  font-family: var(--crg-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 20px;
  text-align: left;
  background: var(--crg-bg-dark-card);
  color: var(--crg-accent-gold);
  border-bottom: 1px solid var(--crg-border-dark);
}

.crg-comparison-table td {
  padding: 14px 20px;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--crg-border-dark);
  vertical-align: top;
}

.crg-section--dark .crg-comparison-table td {
  color: var(--crg-fg-dark-secondary);
}

.crg-section--light .crg-comparison-table td,
.crg-section--light-alt .crg-comparison-table td {
  color: var(--crg-fg-light-secondary);
}

.crg-comparison-table td:first-child {
  font-family: var(--crg-font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--crg-fg-dark-primary);
}

.crg-section--light .crg-comparison-table td:first-child,
.crg-section--light-alt .crg-comparison-table td:first-child {
  color: var(--crg-fg-light-primary);
}

/* ─── FIPS levels ─── */
.crg-fips-levels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0;
}

.crg-fips-level {
  border: 1px solid var(--crg-border-light);
  padding: 24px 20px;
  background: var(--crg-bg-white);
  position: relative;
}

.crg-fips-level--target {
  border-color: var(--crg-accent-gold-aa-on-light);
  background: rgba(139, 105, 20, 0.04);
}

.crg-fips-level__num {
  font-family: var(--crg-font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--crg-fg-light-primary);
  margin-bottom: 4px;
}

.crg-fips-level--target .crg-fips-level__num {
  color: var(--crg-accent-gold-aa-on-light);
}

.crg-fips-level__label {
  font-family: var(--crg-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crg-fg-light-muted);
  margin-bottom: 12px;
}

.crg-fips-level__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--crg-fg-light-secondary);
}

.crg-fips-level__badge {
  display: inline-block;
  font-family: var(--crg-font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--crg-accent-gold-aa-on-light);
  color: #FFFFFF;
  padding: 3px 8px;
  margin-bottom: 8px;
}

.crg-fips-notice {
  background: rgba(139, 105, 20, 0.06);
  border: 1px solid rgba(139, 105, 20, 0.3);
  border-left: 4px solid var(--crg-accent-gold-aa-on-light);
  padding: 20px 24px;
  margin-bottom: 40px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--crg-fg-light-secondary);
}

.crg-fips-design-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.crg-fips-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.crg-fips-item__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 105, 20, 0.08);
  color: var(--crg-accent-gold-aa-on-light);
  font-size: 1rem;
}

.crg-fips-item__title {
  font-family: var(--crg-font-mono);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  margin-bottom: 6px;
}

.crg-fips-item__body {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--crg-fg-light-secondary);
}

/* ─── Article body (tech deep-dive pages) ─── */
.crg-article-body {
  max-width: 800px;
}

.crg-article-body h2 {
  font-family: var(--crg-font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  margin: 40px 0 12px;
}

.crg-article-body h3 {
  font-family: var(--crg-font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  margin: 28px 0 10px;
}

.crg-article-body p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--crg-fg-light-secondary);
  margin-bottom: 20px;
}

.crg-article-body ul,
.crg-article-body ol {
  list-style: disc;
  padding-left: 24px;
  color: var(--crg-fg-light-secondary);
  margin-bottom: 20px;
}

.crg-article-body li {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 6px;
}

.crg-article-body a {
  color: var(--crg-accent-cyan-aa-on-light);
  text-decoration: underline;
}

.crg-article-callout {
  background: rgba(0, 107, 128, 0.06);
  border-left: 4px solid var(--crg-accent-cyan-aa-on-light);
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--crg-fg-light-secondary);
}

.crg-article-callout strong {
  color: var(--crg-fg-light-primary);
}

.crg-article-nav {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--crg-border-light);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.crg-article-nav a {
  font-family: var(--crg-font-mono);
  font-size: 0.875rem;
  color: var(--crg-accent-cyan-aa-on-light);
  text-decoration: underline;
  transition: color 0.2s;
}

/* ─── Three-col grid (threat cards etc.) ─── */
.crg-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.crg-threat-card {
  background: var(--crg-bg-dark-card);
  border: 1px solid var(--crg-border-dark);
  padding: 28px 24px;
}

.crg-threat-card__icon {
  font-size: 1.5rem;
  color: var(--crg-accent-gold);
  margin-bottom: 16px;
}

.crg-threat-card__title {
  font-family: var(--crg-font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--crg-fg-dark-primary);
  margin-bottom: 10px;
}

.crg-threat-card__body {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--crg-fg-dark-secondary);
}

/* On light background threat cards */
.crg-section--light .crg-threat-card,
.crg-section--light-alt .crg-threat-card {
  background: var(--crg-bg-white);
  border-color: var(--crg-border-light);
}

.crg-section--light .crg-threat-card__title,
.crg-section--light-alt .crg-threat-card__title {
  color: var(--crg-fg-light-primary);
}

.crg-section--light .crg-threat-card__body,
.crg-section--light-alt .crg-threat-card__body {
  color: var(--crg-fg-light-secondary);
}

.crg-section--light .crg-threat-card__icon,
.crg-section--light-alt .crg-threat-card__icon {
  color: var(--crg-accent-gold-aa-on-light);
}

/* ─── Use case list ─── */
.crg-usecase-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.crg-usecase-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--crg-border-light);
}

.crg-usecase-item:last-child {
  border-bottom: none;
}

.crg-usecase-item__num {
  font-family: var(--crg-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--crg-accent-gold-aa-on-light);
  padding-top: 4px;
}

.crg-usecase-item__title {
  font-family: var(--crg-font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  margin-bottom: 8px;
}

.crg-usecase-item__body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--crg-fg-light-secondary);
}

/* Dark context usecases */
.crg-section--dark .crg-usecase-item {
  border-color: var(--crg-border-dark);
}

.crg-section--dark .crg-usecase-item__num {
  color: var(--crg-accent-gold);
}

.crg-section--dark .crg-usecase-item__title {
  color: var(--crg-fg-dark-primary);
}

.crg-section--dark .crg-usecase-item__body {
  color: var(--crg-fg-dark-secondary);
}

/* ─── Featured resource (resources/index.html) ─── */
.crg-featured-resource {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  background: var(--crg-bg-white);
  border: 1px solid var(--crg-border-light);
  padding: 40px;
  margin-bottom: 48px;
}

.crg-featured-resource__thumb {
  width: 100%;
  height: auto;
  border: 1px solid var(--crg-border-light);
}

.crg-featured-resource__label {
  font-family: var(--crg-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crg-accent-gold-aa-on-light);
  font-weight: 500;
  margin-bottom: 12px;
}

.crg-featured-resource__title {
  font-family: var(--crg-font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--crg-fg-light-primary);
  line-height: 1.3;
  margin-bottom: 16px;
}

.crg-featured-resource__body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--crg-fg-light-secondary);
  margin-bottom: 28px;
}

/* ─── Blog article (sub-elements) ─── */
.crg-blog-article__cover-wrapper {
  padding: 0 0 32px;
}

.crg-blog-article__cover-wrapper .crg-container {
  max-width: 760px;
}

.crg-blog-article__body {
  padding: 0 0 56px;
}

.crg-blog-article__body .crg-container {
  max-width: 760px;
}

.crg-blog-article__footer {
  background: var(--crg-bg-dark);
  padding: 48px 0;
  text-align: center;
}

.crg-blog-article__footer .crg-container {
  max-width: 760px;
}

.crg-blog-article__cta-label {
  font-family: var(--crg-font-mono);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--crg-fg-dark-primary);
  margin-bottom: 24px;
}

.crg-blog-article__tag {
  display: inline-block;
  font-family: var(--crg-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crg-accent-gold-aa-on-light);
  font-weight: 500;
  background: rgba(139, 105, 20, 0.08);
  padding: 4px 10px;
}

/* ─── Spec sections on spec detail page ─── */
.crg-specs-section-title {
  font-family: var(--crg-font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--crg-accent-gold-aa-on-light);
}

.crg-specs-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.crg-specs-disclaimer {
  background: rgba(139, 105, 20, 0.05);
  border: 1px solid rgba(139, 105, 20, 0.2);
  padding: 20px 24px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--crg-fg-light-muted);
  margin-top: 40px;
}

.crg-specs-disclaimer a {
  color: var(--crg-accent-cyan-aa-on-light);
  text-decoration: underline;
}

/* ─── About team preview grid ─── */
.crg-about-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.crg-about-person {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--crg-bg-white);
  border: 1px solid var(--crg-border-light);
  padding: 20px;
}

.crg-about-person__portrait {
  width: 64px;
  height: 64px;
  object-fit: cover;
  flex-shrink: 0;
}

.crg-about-person__name {
  font-family: var(--crg-font-mono);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  margin-bottom: 4px;
}

.crg-about-person__title {
  font-size: 0.875rem;
  color: var(--crg-fg-light-secondary);
}

/* ─── Two-col reversed (image on left) ─── */
.crg-two-col--reverse {
  direction: rtl;
}

.crg-two-col--reverse > * {
  direction: ltr;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .crg-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .crg-hero__headline {
    font-size: 2.5rem;
  }

  .crg-stat-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .crg-stat-strip__item:nth-child(2) {
    border-right: none;
  }

  .crg-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .crg-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .crg-about-ceo {
    grid-template-columns: 240px 1fr;
    gap: 32px;
  }

  .crg-contact-grid {
    grid-template-columns: 1fr;
  }

  .crg-perf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --crg-section-pad-desktop: 64px;
  }

  .crg-nav__links,
  .crg-nav__actions {
    display: none;
  }

  .crg-nav__hamburger {
    display: flex;
  }

  .crg-hero__headline {
    font-size: 2rem;
  }

  .crg-hero__inner {
    padding: 48px 24px 64px;
  }

  .crg-subhero__headline {
    font-size: 1.75rem;
  }

  .crg-stat-strip__grid {
    grid-template-columns: 1fr 1fr;
  }

  .crg-feature-grid {
    grid-template-columns: 1fr;
  }

  .crg-two-col,
  .crg-deploy-grid,
  .crg-product-intro__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .crg-trust-grid {
    grid-template-columns: 1fr;
  }

  .crg-blog-grid {
    grid-template-columns: 1fr;
  }

  .crg-resource-grid {
    grid-template-columns: 1fr;
  }

  .crg-footer__grid {
    grid-template-columns: 1fr;
  }

  .crg-team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .crg-about-ceo {
    grid-template-columns: 1fr;
  }

  .crg-about-ceo-portrait {
    max-width: 260px;
  }

  .crg-cta-band__headline {
    font-size: 1.5rem;
  }

  .crg-solution-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .crg-perf-grid {
    grid-template-columns: 1fr;
  }

  .crg-contact-form-panel {
    padding: 24px;
  }

  .crg-contact-layout {
    grid-template-columns: 1fr;
  }

  .crg-tech-pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .crg-three-col {
    grid-template-columns: 1fr;
  }

  .crg-fips-levels {
    grid-template-columns: repeat(2, 1fr);
  }

  .crg-fips-design-items {
    grid-template-columns: 1fr;
  }

  .crg-subhero__inner--split {
    grid-template-columns: 1fr;
  }

  .crg-featured-resource {
    grid-template-columns: 1fr;
  }

  .crg-specs-two-col {
    grid-template-columns: 1fr;
  }

  .crg-about-team-grid {
    grid-template-columns: 1fr;
  }

  .crg-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .crg-stat-strip__grid {
    grid-template-columns: 1fr;
  }

  .crg-stat-strip__item {
    border-right: none;
    border-bottom: 1px solid var(--crg-border-dark);
  }

  .crg-team-grid {
    grid-template-columns: 1fr;
  }

  .crg-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .crg-tech-pillars {
    grid-template-columns: 1fr;
  }

  .crg-fips-levels {
    grid-template-columns: 1fr 1fr;
  }

  .crg-three-col {
    grid-template-columns: 1fr;
  }
}

/* ─── Breadcrumb light context ─── */
.crg-subhero--light .crg-breadcrumb {
  color: var(--crg-fg-light-muted);
}

.crg-subhero--light .crg-breadcrumb a {
  color: var(--crg-fg-light-muted);
}

.crg-subhero--light .crg-breadcrumb a:hover {
  color: var(--crg-accent-gold-aa-on-light);
}

/* ─── Section dark-alt ─── */
.crg-section--dark-alt {
  background: var(--crg-bg-dark-alt);
  color: var(--crg-fg-dark-primary);
}

.crg-section--dark-alt h2,
.crg-section--dark-alt h3 {
  color: var(--crg-fg-dark-primary);
}

.crg-section--dark-alt .crg-section__headline {
  color: var(--crg-fg-dark-primary);
}

.crg-section--dark-alt .crg-section__sub {
  color: var(--crg-fg-dark-secondary);
}

.crg-section--dark-alt .crg-eyebrow {
  color: var(--crg-accent-gold);
}

/* ─── Blog article header container (breadcrumb inside) ─── */
.crg-blog-article__header .crg-container {
  max-width: 760px;
}

.crg-blog-article__header .crg-breadcrumb {
  color: var(--crg-fg-light-muted);
}

.crg-blog-article__header .crg-breadcrumb a {
  color: var(--crg-fg-light-muted);
}

.crg-blog-article__header .crg-breadcrumb a:hover {
  color: var(--crg-accent-gold-aa-on-light);
}

/* ─── Legal page section padding override ─── */
.crg-legal-page.crg-section {
  padding-top: 0;
  padding-bottom: 0;
}

/* ─── Page body dark-top background (nav transparent fallback) ─── */
body.crg-page--dark-top {
  background: var(--crg-bg-dark);
}

/* ─── Footer column base ─── */
.crg-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ─── Hero bg overlay & sub element ─── */
.crg-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.crg-hero__sub {
  font-family: var(--crg-font-body);
  font-size: 1.0625rem;
  color: var(--crg-fg-dark-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin-top: 20px;
}

/* ─── Tech pillar sub-elements ─── */
.crg-tech-pillar__number {
  font-family: var(--crg-font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--crg-accent-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.crg-tech-pillar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--crg-accent-gold);
  margin-top: 16px;
  transition: gap 0.2s;
}

.crg-tech-pillar__link:hover {
  gap: 10px;
  color: var(--crg-accent-gold);
}

/* ─── Article explicit class helpers ─── */
.crg-article-h2 {
  font-family: var(--crg-font-mono);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.crg-article-p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--crg-fg-light-secondary);
  margin-bottom: 20px;
}

/* ─── Article callout sub-elements ─── */
.crg-article-callout__label {
  font-family: var(--crg-font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crg-accent-cyan-aa-on-light);
  margin-bottom: 8px;
  display: block;
}

.crg-article-callout__body {
  font-size: 0.9375rem;
  color: var(--crg-fg-light-secondary);
  line-height: 1.7;
}

/* ─── Article nav (next/prev) sub-elements ─── */
.crg-article-nav__next {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--crg-accent-gold-aa-on-light);
  transition: gap 0.2s;
}

.crg-article-nav__next:hover {
  gap: 14px;
}

.crg-article-nav__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crg-fg-light-muted);
  display: block;
  margin-bottom: 4px;
}

.crg-article-nav__title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--crg-fg-light-primary);
}

/* ─── FIPS notice sub-elements ─── */
.crg-fips-notice__icon {
  font-size: 1.25rem;
  color: var(--crg-accent-gold-aa-on-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.crg-fips-notice__title {
  font-family: var(--crg-font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--crg-fg-light-primary);
  margin-bottom: 6px;
}

.crg-fips-notice__body {
  font-size: 0.9rem;
  color: var(--crg-fg-light-secondary);
  line-height: 1.6;
}

/* ─── FIPS level tag ─── */
.crg-fips-level__tag {
  display: inline-block;
  font-family: var(--crg-font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  background: rgba(139, 105, 20, 0.12);
  color: var(--crg-accent-gold-aa-on-light);
  margin-top: 8px;
}

/* ─── Use-case item sub-elements ─── */
/* When item uses __header structure (icon+title row), override to single-column layout */
.crg-usecase-item:has(.crg-usecase-item__header) {
  grid-template-columns: 1fr;
}

.crg-usecase-item__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.crg-usecase-item__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 169, 110, 0.1);
  border: 1px solid var(--crg-border-dark);
  color: var(--crg-accent-gold);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ─── About person sub-elements ─── */
.crg-about-person__photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--crg-border-light);
}

.crg-about-person__info {
  flex: 1;
  min-width: 0;
}

.crg-about-person__bio {
  font-size: 0.875rem;
  color: var(--crg-fg-light-muted);
  line-height: 1.6;
  margin-top: 4px;
}

/* ─── Team card sub-elements ─── */
.crg-team-card__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--crg-border-light);
  margin-bottom: 16px;
}

.crg-team-card__bio {
  font-size: 0.875rem;
  color: var(--crg-fg-light-muted);
  line-height: 1.6;
  margin-top: 8px;
}

/* ─── Featured resource sub-elements ─── */
.crg-featured-resource__visual {
  background: var(--crg-bg-light-alt);
  border: 1px solid var(--crg-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  overflow: hidden;
}

.crg-featured-resource__visual img {
  width: 100%;
  height: auto;
}

.crg-featured-resource__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* ─── Resource card sub-elements ─── */
.crg-resource-card__body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crg-resource-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--crg-accent-gold-aa-on-light);
  margin-top: auto;
  padding-top: 12px;
  transition: gap 0.2s;
}

.crg-resource-card__link:hover {
  gap: 10px;
}

/* ─── Blog card img-link & tag ─── */
.crg-blog-card__img-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.crg-blog-card__img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.crg-blog-card__img-link:hover img {
  transform: scale(1.03);
}

.crg-blog-card__tag {
  display: inline-block;
  font-family: var(--crg-font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crg-accent-gold-aa-on-light);
  background: rgba(139, 105, 20, 0.1);
  padding: 3px 9px;
  margin-bottom: 10px;
}
