/* =========================================================================
   Carry Gap Lab — design system
   Warm paper base with a slate ink palette and a single amber accent.
   Cambria (display) paired with Segoe UI (body) — a serif/sans mix chosen
   to read as an established, clean Triangle-area studio rather than a
   tech-flavored data console. Hand-written, no framework, system fonts
   only — no CDN.
   ========================================================================= */

:root {
  --cgl-paper: #f7f5ef;
  --cgl-paper-dim: #efeadd;
  --cgl-white: #ffffff;
  --cgl-ink-950: #12161d;
  --cgl-ink-900: #1b212b;
  --cgl-slate-700: #3c4653;
  --cgl-slate-500: #64707c;
  --cgl-slate-300: #9aa4ad;
  --cgl-line: rgba(18, 22, 29, 0.12);
  --cgl-line-strong: rgba(18, 22, 29, 0.24);
  --cgl-yellow: #e2a300;
  --cgl-yellow-light: #ffce4d;
  --cgl-yellow-dark: #a97900;
  --cgl-yellow-ink: #382900;

  --cgl-display: Cambria, "Constantia", Georgia, "Times New Roman", serif;
  --cgl-body: "Segoe UI", Calibri, "Helvetica Neue", Arial, sans-serif;
  --cgl-mono: Consolas, "SFMono-Regular", Menlo, monospace;

  --cgl-wrap-w: 1180px;
  --cgl-radius: 4px;
  --cgl-radius-lg: 8px;
  --cgl-shadow-sm: 0 2px 8px rgba(18, 22, 29, 0.08);
  --cgl-shadow-md: 0 16px 32px rgba(18, 22, 29, 0.12);
  --cgl-ease: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.cgl-body {
  margin: 0;
  font-family: var(--cgl-body);
  color: var(--cgl-slate-700);
  background: var(--cgl-paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--cgl-display);
  color: var(--cgl-ink-900);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}
p { margin: 0 0 1em; color: var(--cgl-slate-700); }
address { font-style: normal; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.cgl-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cgl-yellow);
  color: var(--cgl-yellow-ink);
  padding: 0.75em 1.25em;
  z-index: 1000;
  font-weight: 700;
}
.cgl-skip:focus { left: 1em; top: 1em; }

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

/* ---------- Utility bar ---------- */
.cgl-utility {
  background: var(--cgl-ink-950);
  color: var(--cgl-paper);
  font-size: 0.78rem;
}
.cgl-utility__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  gap: 14px;
  flex-wrap: wrap;
}
.cgl-utility__left { display: flex; align-items: center; gap: 10px; }
.cgl-utility__item { color: rgba(247, 245, 239, 0.82); }
a.cgl-utility__item:hover { color: var(--cgl-yellow-light); }
.cgl-utility__sep { color: rgba(247, 245, 239, 0.4); }
.cgl-utility__right { color: rgba(247, 245, 239, 0.6); }

/* ---------- Header ---------- */
.cgl-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cgl-paper);
  border-bottom: 1px solid var(--cgl-line);
  transition: box-shadow var(--cgl-ease), padding var(--cgl-ease);
}
.cgl-header.is-condensed { box-shadow: var(--cgl-shadow-sm); }
.cgl-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 20px;
}

.cgl-brand { display: flex; align-items: center; gap: 12px; }
.cgl-brand__mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.cgl-brand__rail {
  position: absolute;
  left: 6px;
  top: 2px;
  bottom: 2px;
  width: 3px;
  background: var(--cgl-ink-900);
}
.cgl-brand__rail::after {
  content: "";
  position: absolute;
  right: -22px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--cgl-ink-900);
}
.cgl-brand__rung { position: absolute; left: 6px; width: 25px; height: 3px; background: var(--cgl-yellow); }
.cgl-brand__rung--1 { top: 6px; width: 18px; }
.cgl-brand__rung--2 { top: 16px; width: 25px; }
.cgl-brand__rung--3 { top: 26px; width: 12px; }
.cgl-brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.cgl-brand__name { font-family: var(--cgl-display); font-weight: 700; font-size: 1.18rem; color: var(--cgl-ink-900); }
.cgl-brand__tag { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cgl-slate-500); font-family: var(--cgl-mono); }

.cgl-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--cgl-line-strong);
  border-radius: var(--cgl-radius);
}
.cgl-toggle span { display: block; width: 18px; height: 2px; background: var(--cgl-ink-900); margin: 0 auto; transition: transform var(--cgl-ease), opacity var(--cgl-ease); }
.cgl-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cgl-toggle.is-active span:nth-child(2) { opacity: 0; }
.cgl-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.cgl-nav { display: flex; align-items: center; gap: 26px; }
.cgl-nav__list { display: flex; align-items: center; gap: 22px; }
.cgl-nav__item > a {
  font-family: var(--cgl-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cgl-slate-700);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--cgl-ease), border-color var(--cgl-ease);
}
.cgl-nav__item > a:hover, .cgl-nav__item.is-active > a { color: var(--cgl-ink-900); border-color: var(--cgl-yellow); }

/* ---------- Buttons ---------- */
.cgl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.78em 1.5em;
  border-radius: var(--cgl-radius);
  font-weight: 700;
  font-size: 0.86rem;
  border: 1px solid transparent;
  transition: transform var(--cgl-ease), box-shadow var(--cgl-ease), background var(--cgl-ease), color var(--cgl-ease);
}
.cgl-btn--gold { background: var(--cgl-yellow); color: var(--cgl-yellow-ink); }
.cgl-btn--gold:hover { background: var(--cgl-yellow-light); transform: translateY(-1px); box-shadow: var(--cgl-shadow-sm); }
.cgl-btn--primary { background: var(--cgl-ink-900); color: var(--cgl-paper); }
.cgl-btn--primary:hover { background: var(--cgl-ink-950); transform: translateY(-1px); box-shadow: var(--cgl-shadow-sm); }
.cgl-btn--ghost { background: transparent; color: var(--cgl-ink-900); border-color: var(--cgl-line-strong); }
.cgl-btn--ghost:hover { border-color: var(--cgl-ink-900); }
.cgl-btn--panel { background: var(--cgl-white); color: var(--cgl-ink-900); border-color: var(--cgl-line-strong); }
.cgl-btn--panel:hover { border-color: var(--cgl-yellow-dark); }
.cgl-btn--block { width: 100%; }
.cgl-nav__cta { padding: 0.6em 1.3em; font-size: 0.74rem; }

/* ---------- Main / hero ---------- */
.cgl-main { display: block; }

.cgl-hero { padding: 60px 0 70px; }
.cgl-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.cgl-hero__eyebrow {
  display: inline-block;
  font-family: var(--cgl-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cgl-yellow-dark);
  margin-bottom: 14px;
}
.cgl-hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); max-width: 14ch; }
.cgl-hero__lede { font-size: 1.08rem; max-width: 50ch; }
.cgl-hero__actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

/* ---------- Carry ladder widget ---------- */
.cgl-ladder {
  background: var(--cgl-white);
  border: 1px solid var(--cgl-line);
  border-radius: var(--cgl-radius-lg);
  padding: 26px;
  box-shadow: var(--cgl-shadow-md);
}
.cgl-ladder__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--cgl-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cgl-slate-500);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cgl-line);
}
.cgl-ladder__badge { color: var(--cgl-yellow-dark); font-weight: 700; }
.cgl-ladder__row { margin-bottom: 14px; }
.cgl-ladder__row:last-child { margin-bottom: 0; }
.cgl-ladder__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  margin-bottom: 5px;
}
.cgl-ladder__label span:first-child { color: var(--cgl-ink-900); font-weight: 600; }
.cgl-ladder__label span:last-child { font-family: var(--cgl-mono); color: var(--cgl-slate-500); }
.cgl-ladder__track { height: 8px; background: var(--cgl-paper-dim); border-radius: 4px; overflow: hidden; }
.cgl-ladder__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--cgl-yellow-dark), var(--cgl-yellow)); transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); border-radius: 4px; }
.cgl-ladder__gap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--cgl-mono);
  font-size: 0.68rem;
  color: var(--cgl-slate-500);
  margin: 6px 0 6px 4px;
}
.cgl-ladder__gap::before { content: ""; width: 10px; height: 1px; background: var(--cgl-line-strong); }

/* ---------- Stats strip ---------- */
.cgl-stats-strip { background: var(--cgl-ink-900); padding: 28px 0; }
.cgl-stats-strip__row { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.cgl-stat { padding: 6px 16px; border-left: 1px solid rgba(247, 245, 239, 0.12); }
.cgl-stat:first-child { border-left: none; }
.cgl-stat__num { display: block; font-family: var(--cgl-display); font-size: 1.7rem; font-weight: 700; color: var(--cgl-yellow-light); }
.cgl-stat__label { font-family: var(--cgl-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(247, 245, 239, 0.7); }

/* ---------- Sections ---------- */
.cgl-section { padding: 68px 0; }
.cgl-section--alt { background: var(--cgl-paper-dim); }
.cgl-section__head { max-width: 680px; margin-bottom: 40px; }
.cgl-eyebrow {
  display: inline-block;
  font-family: var(--cgl-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cgl-yellow-dark);
  margin-bottom: 10px;
}
.cgl-section__head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }

.cgl-grid { display: grid; gap: 24px; }
.cgl-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cgl-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cgl-grid--4 { grid-template-columns: repeat(4, 1fr); }

.cgl-card {
  background: var(--cgl-white);
  border: 1px solid var(--cgl-line);
  border-radius: var(--cgl-radius-lg);
  padding: 26px;
}
.cgl-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cgl-paper-dim);
  color: var(--cgl-yellow-dark);
  font-family: var(--cgl-display);
  font-weight: 700;
  border-radius: var(--cgl-radius);
  margin-bottom: 14px;
}
.cgl-card__link { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--cgl-ink-900); border-bottom: 1px solid var(--cgl-yellow); }
.cgl-card__link:hover { color: var(--cgl-yellow-dark); }

.cgl-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* ---------- Timeline ---------- */
.cgl-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: cgl-step; }
.cgl-timeline__item { position: relative; padding-top: 46px; }
.cgl-timeline__num {
  counter-increment: cgl-step;
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cgl-ink-900);
  color: var(--cgl-yellow-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cgl-mono);
  font-weight: 700;
  font-size: 0.86rem;
}
.cgl-timeline__num::before { content: counter(cgl-step); }

/* ---------- Testimonials ---------- */
.cgl-testimonial { background: var(--cgl-white); border: 1px solid var(--cgl-line); border-radius: var(--cgl-radius-lg); padding: 24px; }
.cgl-stars { color: var(--cgl-yellow); letter-spacing: 2px; display: block; margin-bottom: 10px; }
.cgl-testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.cgl-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--cgl-ink-900); color: var(--cgl-yellow-light); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; flex-shrink: 0; }
.cgl-testimonial__author strong { display: block; color: var(--cgl-ink-900); font-size: 0.9rem; }
.cgl-testimonial__author span { font-size: 0.78rem; color: var(--cgl-slate-500); }

/* ---------- Brand tiles ---------- */
.cgl-brand-tile { background: var(--cgl-white); border: 1px solid var(--cgl-line); border-radius: var(--cgl-radius); padding: 20px; text-align: center; }
.cgl-brand-tile__mark { width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 50%; background: var(--cgl-paper-dim); color: var(--cgl-ink-900); display: flex; align-items: center; justify-content: center; font-family: var(--cgl-display); font-weight: 700; font-size: 0.82rem; }
.cgl-brand-tile strong { display: block; color: var(--cgl-ink-900); margin-bottom: 2px; }
.cgl-brand-tile span { font-size: 0.76rem; color: var(--cgl-slate-500); }

/* ---------- Bars (comparison rows) ---------- */
.cgl-bars > div { margin-bottom: 14px; }
.cgl-bars > div:last-child { margin-bottom: 0; }
.cgl-bar-row__label { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 5px; }
.cgl-bar-row__label span { color: var(--cgl-slate-600, var(--cgl-slate-700)); }
.cgl-bar-row__label strong { color: var(--cgl-ink-900); }
.cgl-bar-track { height: 8px; background: var(--cgl-paper-dim); border-radius: 4px; overflow: hidden; }
.cgl-bar-fill { height: 100%; background: linear-gradient(90deg, var(--cgl-yellow-dark), var(--cgl-yellow)); border-radius: 4px; }
.cgl-bar-fill--muted { background: var(--cgl-slate-300); }

/* ---------- Data / spec rows ---------- */
.cgl-data-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--cgl-line); font-family: var(--cgl-mono); font-size: 0.82rem; }
.cgl-data-row:last-child { border-bottom: none; }
.cgl-data-row span:last-child { color: var(--cgl-ink-900); font-weight: 700; }
.cgl-data-panel__title { font-family: var(--cgl-mono); font-size: 0.72rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--cgl-slate-500); margin-bottom: 12px; }

/* ---------- Table ---------- */
.cgl-table-wrap { overflow-x: auto; border: 1px solid var(--cgl-line); border-radius: var(--cgl-radius-lg); background: var(--cgl-white); }
.cgl-table { width: 100%; border-collapse: collapse; }
.cgl-table th, .cgl-table td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--cgl-line); }
.cgl-table th { font-family: var(--cgl-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cgl-slate-500); }
.cgl-table tr:last-child td { border-bottom: none; }

/* ---------- CTA band ---------- */
.cgl-cta { background: var(--cgl-ink-900); padding: 60px 0; }
.cgl-cta__inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cgl-cta h2 { color: var(--cgl-paper); }
.cgl-cta p { color: rgba(247, 245, 239, 0.72); }
.cgl-cta__actions { display: flex; justify-content: center; gap: 14px; margin-top: 22px; flex-wrap: wrap; }

/* ---------- Page header (interior pages) ---------- */
.cgl-page-header { padding: 46px 0 40px; border-bottom: 1px solid var(--cgl-line); }
.cgl-breadcrumb { font-family: var(--cgl-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cgl-yellow-dark); display: block; margin-bottom: 10px; }
.cgl-page-header h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); max-width: 22ch; }
.cgl-lede { font-size: 1.02rem; max-width: 64ch; margin: 0; }

/* ---------- Error page ---------- */
.cgl-error { padding: 100px 0; text-align: center; }
.cgl-error-code { display: block; font-family: var(--cgl-display); font-size: 5.5rem; font-weight: 700; color: var(--cgl-yellow); line-height: 1; margin-bottom: 6px; }

/* ---------- Forms ---------- */
.cgl-form-card { background: var(--cgl-white); border: 1px solid var(--cgl-line); border-radius: var(--cgl-radius-lg); padding: 28px; }
.cgl-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cgl-form-field { margin-bottom: 16px; }
.cgl-form-field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--cgl-ink-900); margin-bottom: 6px; }
.cgl-form-field input, .cgl-form-field select, .cgl-form-field textarea {
  width: 100%;
  padding: 0.7em 0.9em;
  border: 1px solid var(--cgl-line-strong);
  border-radius: var(--cgl-radius);
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--cgl-ink-900);
  background: var(--cgl-paper);
}
.cgl-form-field input:focus, .cgl-form-field select:focus, .cgl-form-field textarea:focus {
  outline: 2px solid var(--cgl-yellow);
  outline-offset: 1px;
}
.cgl-form-note { font-size: 0.8rem; color: var(--cgl-slate-500); }

.cgl-check-list li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.cgl-check-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--cgl-yellow-dark); font-weight: 700; }

/* ---------- FAQ ---------- */
.cgl-faq-item { background: var(--cgl-white); border: 1px solid var(--cgl-line); border-radius: var(--cgl-radius); padding: 16px 20px; margin-bottom: 12px; }
.cgl-faq-item summary { cursor: pointer; font-weight: 700; color: var(--cgl-ink-900); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.cgl-faq-item summary::-webkit-details-marker { display: none; }
.cgl-faq-item summary::after { content: "+"; font-family: var(--cgl-display); font-size: 1.2rem; color: var(--cgl-yellow-dark); }
.cgl-faq-item[open] summary::after { content: "\2212"; }
.cgl-faq-item p { margin-top: 12px; margin-bottom: 0; }

/* ---------- Locate panel ---------- */
.cgl-locate {
  position: relative;
  height: 220px;
  border-radius: var(--cgl-radius-lg);
  background: var(--cgl-ink-900);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.cgl-locate--lg { height: 280px; }
.cgl-locate__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(247, 245, 239, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(247, 245, 239, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
}
.cgl-locate__brackets {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(226, 163, 0, 0.4);
}
.cgl-locate__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--cgl-yellow);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 8px rgba(226, 163, 0, 0.2);
}
.cgl-locate__label { position: relative; z-index: 2; color: var(--cgl-paper); font-weight: 700; font-size: 0.9rem; }
.cgl-locate__coords { position: relative; z-index: 2; display: block; color: rgba(247, 245, 239, 0.6); font-family: var(--cgl-mono); font-size: 0.72rem; margin-top: 2px; }

/* ---------- Pricing cards ---------- */
.cgl-pricing-card { text-align: left; }
.cgl-pricing-card--featured { border-color: var(--cgl-yellow); box-shadow: var(--cgl-shadow-md); position: relative; }
.cgl-pricing-card ul { margin: 16px 0 22px; }
.cgl-pricing-card ul li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 0.9rem; }
.cgl-pricing-card ul li::before { content: "\2013"; position: absolute; left: 0; color: var(--cgl-yellow-dark); }
.cgl-price { font-family: var(--cgl-display); font-size: 2rem; font-weight: 700; color: var(--cgl-ink-900); margin: 6px 0 10px; }
.cgl-price span { font-size: 0.85rem; font-weight: 400; color: var(--cgl-slate-500); font-family: var(--cgl-body); }

/* ---------- Team ---------- */
.cgl-team-card { text-align: center; }
.cgl-team-photo { width: 66px; height: 66px; border-radius: 50%; background: var(--cgl-ink-900); color: var(--cgl-yellow-light); display: flex; align-items: center; justify-content: center; font-family: var(--cgl-display); font-weight: 700; margin: 0 auto 14px; }
.cgl-team-role { display: block; font-family: var(--cgl-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cgl-yellow-dark); margin-bottom: 4px; }

/* ---------- Blog / posts ---------- */
.cgl-post-meta { font-family: var(--cgl-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cgl-yellow-dark); display: block; margin-bottom: 8px; }
.cgl-article { max-width: 720px; margin: 0 auto; }
.cgl-article h2 { margin-top: 1.6em; }
.cgl-article blockquote {
  margin: 1.4em 0;
  padding: 14px 20px;
  border-left: 3px solid var(--cgl-yellow);
  background: var(--cgl-white);
  font-style: italic;
  color: var(--cgl-ink-900);
}
.cgl-article-header .cgl-lede { max-width: 60ch; }

.cgl-text-center { text-align: center; }

/* ---------- Footer ---------- */
.cgl-footer { background: var(--cgl-ink-950); color: rgba(247, 245, 239, 0.78); padding: 56px 0 0; }
.cgl-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.cgl-footer h3 { color: var(--cgl-paper); font-size: 0.92rem; margin-bottom: 14px; }
.cgl-footer .cgl-brand__name { color: var(--cgl-paper); font-size: 1.1rem; display: block; margin-bottom: 12px; }
.cgl-footer p { color: rgba(247, 245, 239, 0.68); font-size: 0.9rem; }
.cgl-footer address { color: rgba(247, 245, 239, 0.78); font-size: 0.9rem; margin-bottom: 10px; }
.cgl-footer a:hover { color: var(--cgl-yellow-light); }
.cgl-footer__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cgl-tag { font-family: var(--cgl-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.05em; border: 1px solid rgba(247, 245, 239, 0.2); padding: 5px 10px; border-radius: 20px; color: rgba(247, 245, 239, 0.7); }
.cgl-hours li { display: flex; justify-content: space-between; font-size: 0.86rem; padding: 5px 0; border-bottom: 1px solid rgba(247, 245, 239, 0.08); }
.cgl-footer__links li { margin-bottom: 8px; font-size: 0.88rem; }
.cgl-footer__bottom { border-top: 1px solid rgba(247, 245, 239, 0.1); padding: 18px 0; }
.cgl-footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; color: rgba(247, 245, 239, 0.55); }

/* ---------- Reveal on scroll (gated by .js-on so a script failure
   never leaves content hidden for no-JS visitors or crawlers) ---------- */
.js-on .cgl-rise { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js-on .cgl-rise.is-shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-on .cgl-rise { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cgl-toggle { display: flex; }
  .cgl-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: var(--cgl-white);
    flex-direction: column;
    align-items: stretch;
    padding: 90px 26px 26px;
    box-shadow: var(--cgl-shadow-md);
    transition: right var(--cgl-ease);
    overflow-y: auto;
  }
  .cgl-nav.is-open { right: 0; }
  .cgl-nav__list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cgl-nav__item { width: 100%; }
  .cgl-nav__item > a { display: block; padding: 13px 0; border-bottom: 1px solid var(--cgl-line); }
  .cgl-nav__cta { margin-top: 18px; }

  .cgl-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .cgl-two-col { grid-template-columns: 1fr; gap: 30px; }
  .cgl-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cgl-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cgl-timeline { grid-template-columns: repeat(2, 1fr); }
  .cgl-stats-strip__row { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .cgl-stat:nth-child(3) { border-left: none; }
  .cgl-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .cgl-utility__right { display: none; }
  .cgl-grid--4, .cgl-grid--3, .cgl-grid--2 { grid-template-columns: 1fr; }
  .cgl-timeline { grid-template-columns: 1fr; }
  .cgl-form-row { grid-template-columns: 1fr; }
  .cgl-footer__top { grid-template-columns: 1fr; }
  .cgl-error-code { font-size: 4rem; }
}
