/*
 * Quark 2 — user customizations
 *
 * This file is safe to edit. It is loaded last so anything here overrides
 * theme.css without having to mark rules !important.
 */

/* ---------- Light palette (default) ----------
 * Light is the default theme; dark remains available via the toggle. */
:root,
:root[data-theme="light"] {
  --q2-bg: #fafafa;
  --q2-bg-elev: #ffffff;
  --q2-bg-muted: #f5f5f7;
  --q2-bg-inverse: #1a1a1a;

  --q2-text: #555555;
  --q2-text-strong: #1a1a1a;
  --q2-text-muted: #6b7280;
  --q2-text-inverse: #ffffff;

  --q2-border-ring: #e5e5e5;
  --q2-border-strong: #e5e5e5;
  --q2-divider: #e5e5e5;

  --q2-accent-hover: #0d9668;

  --q2-nav-bg: rgba(255, 255, 255, 0.85);
  --q2-nav-border: #e5e5e5;
}

/* ---------- Dark palette (opt-in via toggle) ---------- */
:root[data-theme="dark"] {
  --q2-bg: #0a0a0a;
  --q2-bg-elev: #1a1a1a;
  --q2-bg-muted: #141414;
  --q2-bg-inverse: #f5f5f5;

  --q2-text: #f5f5f5;
  --q2-text-strong: #ffffff;
  --q2-text-muted: #9ca3af;
  --q2-text-inverse: #0a0a0a;

  --q2-border-ring: #2a2a2a;
  --q2-border-strong: #2a2a2a;
  --q2-divider: #2a2a2a;

  --q2-accent-hover: #0d9668;

  --q2-nav-bg: #111113;
  --q2-nav-border: #222228;
}
.btn:hover {
  background: var(--q2-accent-hover, var(--q2-accent));
  opacity: 1;
}

/* ---------- Remove the leftover light-theme "card on a canvas" wrapper ----------
 * theme.css's .content-item is a white rounded card floating on a gray page
 * background — a light-theme pattern. In the dark redesign it rendered as a
 * narrower (960px vs. the nav's 1200px), oddly-shadowed panel inset from the
 * page edges. Neutralize it so page content shares the same flat background
 * and the same width as the nav bar above it. */
#body-wrapper > .container > .content-item {
  max-width: none;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
:root[data-theme="dark"] #body-wrapper > .container > .content-item {
  box-shadow: none;
}

/* ---------- Nav: "abstract E" bar-mark logo ---------- */
.navbar-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--q2-accent);
}
.navbar-brand-icon svg {
  width: 28px;
  height: 21px;
}
/* theme.css force-fills every descendant of a .navbar-brand <svg> (tuned for
 * the old uploaded logo file) — this mark is solid rects, so make sure fill
 * actually lands on currentColor rather than being reset to it redundantly
 * (harmless either way, but keeps intent explicit if that old rule changes). */
.navbar-brand-icon svg,
.navbar-brand-icon svg * {
  fill: currentColor;
}
.navbar-brand-text {
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Warm Neutral (V2) — underline-tab links, emerald active indicator,
 * pill-outline CTA that fills solid on hover. */
.dropmenu > ul,
.dropmenu ul.navigation {
  gap: 2.25rem;
}
.dropmenu a {
  position: relative;
  padding: 0 0 4px;
  border-radius: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--q2-text-muted);
}
.dropmenu a:hover {
  background: transparent;
  color: var(--q2-text-strong);
}
.dropmenu a.active,
.dropmenu a.active:hover {
  background: transparent;
  color: var(--q2-text-strong);
  font-weight: 500;
}
.dropmenu a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: var(--q2-accent);
}

.dropmenu a.nav-cta {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--q2-accent);
  border-radius: var(--q2-radius-pill);
  color: var(--q2-accent);
  background: transparent;
  font-weight: 600;
}
.dropmenu a.nav-cta:hover {
  background: var(--q2-accent);
  color: #ffffff;
  border-color: var(--q2-accent);
}
.dropmenu a.nav-cta.active {
  background: transparent;
  color: var(--q2-accent);
  border-color: var(--q2-accent);
  font-weight: 600;
}
.dropmenu a.nav-cta.active::after {
  display: none;
}

/* ---------- Strict 2-column variant of the features grid ---------- */
.modular-features .columns.columns-2 {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
  .modular-features .columns.columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Icon sits in a tinted square badge, centered above the card title */
.modular-features .feature-icon {
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  border-radius: var(--q2-radius-sm);
  background: color-mix(in oklab, var(--q2-accent) 10%, transparent);
}
.modular-features .feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--q2-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Card titles wrap to 2 lines fairly often at this size — base h6 line-height
 * (1.2, tuned for the single-line uppercase eyebrow use case) reads cramped here */
.modular-features h6 {
  line-height: 1.4;
  color: var(--q2-accent);
}

/* Cal Sans only ships one real weight (400) — theme.css's h2 font-weight:700
 * was a browser-synthesized "faux bold" (thickened strokes), which reads
 * heavier/fatter than h1's true 400 weight instead of lighter. Drop it to
 * the font's real weight so hierarchy comes from size/color, not fake bold. */
h2 {
  font-weight: 400;
}
h2::before {
  display: none;
}

/* ---------- Simple centered CTA panel (used at the end of content pages) ---------- */
.cta-panel {
  max-width: 640px;
  margin: 3rem auto 0;
  text-align: center;
}
.cta-panel p.lead {
  margin: 0 auto 1.75rem;
}

/* ---------- Reusable: eyebrow label ---------- */
.eyebrow {
  font-family: var(--pico-font-family-sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--q2-accent);
  margin: 0 0 0.25rem;
}
/* Sits directly above a heading — pull them together instead of reading as
 * two separate lines */
.eyebrow + :is(h1, h2, h3, h4) {
  margin-top: 0;
}

/* ---------- Reusable: centered page intro ---------- */
.page-hero {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.page-hero h1 {
  margin-bottom: 0.75rem;
}
.page-hero .lead {
  margin: 0;
}
.page-hero .lead + p {
  margin-top: 1.5rem;
}

/* ---------- Services page: engagement model comparison ---------- */
.engagement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  margin-block: 2.5rem;
  align-items: stretch;
}
@media (min-width: 760px) {
  .engagement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .engagement-grid.engagement-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.engagement-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--q2-bg-elev);
  border: 1px solid var(--q2-divider);
  border-radius: var(--q2-radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.75rem, 4vw, 2.5rem) clamp(1.75rem, 4vw, 2.5rem);
  transition: border-color 0.2s ease;
}
.engagement-card:hover {
  border-color: color-mix(in oklab, var(--q2-accent) 25%, var(--q2-divider));
}
.engagement-card > :first-child {
  margin-top: 0;
}
.engagement-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.engagement-card > p {
  color: var(--q2-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Kicker + icon sit in a header row, kicker left / icon right */
.engagement-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.engagement-header .eyebrow {
  margin: 0;
}
.engagement-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  border-radius: var(--q2-radius-sm);
  background: color-mix(in oklab, var(--q2-accent) 10%, transparent);
}
.engagement-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--q2-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.engagement-features {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.engagement-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--q2-text);
}
.engagement-features li svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  fill: none;
  stroke: var(--q2-accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.engagement-features li span {
  color: var(--q2-text-muted);
}
.engagement-features li strong {
  color: var(--q2-text-strong);
  font-weight: 600;
}

/* Sticks to the bottom of the card via flex, so CTAs line up even when the
 * two cards' descriptions/feature counts run different lengths. */
.engagement-footer {
  margin-top: auto;
  padding-top: 1.5rem;
}
.engagement-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0 0 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--q2-divider);
  font-size: 0.8125rem;
  color: var(--q2-text-muted);
}
.engagement-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.engagement-meta svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--q2-text-muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.engagement-footer .btn {
  width: 100%;
}
/* Outline variant needs to actually look hollow against the card — the
 * generic .btn-outline fills with --q2-bg-elev, which is the same color as
 * this card's own background, so it would otherwise disappear. */
.engagement-footer .btn-outline {
  background: transparent;
  border: 1px solid var(--q2-border-strong);
  box-shadow: none;
}
.engagement-footer .btn-outline:hover {
  background: transparent;
  border-color: var(--q2-accent);
  color: var(--q2-accent);
}

/* ---------- Proof page: case studies ---------- */
.case-study {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  background: var(--q2-bg-elev);
  border: 1px solid var(--q2-divider);
  border-radius: var(--q2-radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  margin-block: 2rem;
  transition: border-color 0.2s ease;
}
.case-study:hover {
  border-color: color-mix(in oklab, var(--q2-accent) 25%, var(--q2-divider));
}
@media (min-width: 760px) {
  .case-study {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 3rem;
  }
}
.case-study-body > :first-child {
  margin-top: 0;
}
.case-study-body h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.75rem;
}

.case-study-narrative {
  margin: 0;
}
.case-study-narrative .narrative-item + .narrative-item {
  margin-top: 1.25rem;
}
.case-study-narrative dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--q2-text-muted);
  margin-bottom: 0.5rem;
}
.case-study-narrative dd {
  margin: 0;
  color: var(--q2-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.case-study-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}
.stat-block + .stat-block {
  padding-top: 2rem;
  border-top: 1px solid var(--q2-divider);
}
.stat-value {
  font-family: var(--pico-font-family-sans-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--q2-accent);
  margin-bottom: 0.5rem;
}
.stat-label {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--q2-text-muted);
}
.meter {
  height: 6px;
  border-radius: var(--q2-radius-pill);
  background: var(--q2-divider);
  overflow: hidden;
}
.meter-fill {
  height: 100%;
  border-radius: var(--q2-radius-pill);
  background: var(--q2-accent);
  transition: width 0.6s ease;
}

/* ---------- Proof page: testimonials as cards ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  margin-block: 2rem;
}
@media (min-width: 700px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  background: var(--q2-bg-elev);
  border: 1px solid var(--q2-divider);
  border-radius: var(--q2-radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  transition: border-color 0.2s ease;
}
.testimonial-card:hover {
  border-color: color-mix(in oklab, var(--q2-accent) 25%, var(--q2-divider));
}
.testimonial-card .quote-icon {
  font-family: Georgia, serif;
  color: var(--q2-accent);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1.25rem;
}
.testimonial-card blockquote {
  flex: 1;
  border-left: 0;
  margin: 0 0 1.75rem;
  padding: 0;
  font-family: var(--pico-font-family-sans-serif);
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--q2-text-muted);
}
.testimonial-author {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--q2-divider);
  font-size: 0.875rem;
  line-height: 1.4;
}
.testimonial-author strong {
  display: block;
  color: var(--q2-text-strong);
  font-weight: 700;
  font-size: 0.9375rem;
}
.testimonial-author span {
  color: var(--q2-text-muted);
  font-size: 0.8125rem;
}

/* ---------- Contact page: one-line headline + "what to expect" card ---------- */
.contact-content > h1:first-child {
  font-size: clamp(1.75rem, 2.6vw + 1rem, 2.5rem);
  white-space: nowrap;
}
.contact-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.info-card {
  background: var(--q2-bg-elev);
  border: 1px solid var(--q2-divider);
  border-radius: var(--q2-radius-lg);
  padding: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 1.75rem;
}
.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.info-list li + li {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--q2-divider);
}
.info-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: color-mix(in oklab, var(--q2-accent) 10%, transparent);
}
.info-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--q2-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info-icon i {
  color: var(--q2-accent);
  font-size: 1.0625rem;
}
.info-list h4 {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
}
.info-list p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--q2-text-muted);
  line-height: 1.6;
}

/* ---------- Contact page: two-column layout + form card ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  }
}
.contact-content > :first-child {
  margin-top: 0;
}
.contact-form {
  background: var(--q2-bg-elev);
  border: 1px solid var(--q2-divider);
  border-radius: var(--q2-radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
.contact-form .form-wrapper {
  margin: 0;
}
.contact-form .form-wrapper form {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.25rem;
}
.contact-form .form-wrapper form > .form-field {
  flex: 1 1 100%;
  margin-bottom: 1.25rem;
}
.contact-form .form-wrapper form > .form-field.half {
  flex: 1 1 calc(50% - 0.625rem);
  min-width: 200px;
}
.contact-form .form-wrapper .buttons {
  flex: 1 1 100%;
  margin: 0.5rem 0 0;
}
.contact-form .form-wrapper .buttons button {
  width: 100%;
}
.contact-form .required {
  color: var(--q2-accent);
}
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239CA3AF' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
}

/* ---------- Footer: nav groups on top, copyright + socials below ---------- */
#footer {
  text-align: left;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav a {
  font-size: 0.9375rem;
  color: var(--q2-text);
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--q2-text-strong);
}
@media (max-width: 560px) {
  .footer-nav ul {
    justify-content: center;
  }
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--q2-divider);
}
.footer-copy {
  margin: 0;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}
@media (max-width: 560px) {
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--q2-radius-sm);
  background: var(--q2-bg-muted);
  color: var(--q2-text-muted);
  font-size: 1rem;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.footer-social a:hover {
  background: var(--q2-accent);
  color: var(--q2-accent-contrast);
}

/* ---------- Reusable: accent glow behind a hero ---------- */
.hero-glow {
  position: relative;
}
.hero-glow::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  max-width: 100vw;
  background: radial-gradient(
    circle,
    color-mix(in oklab, var(--q2-accent) 14%, transparent) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}
.hero-glow > * {
  position: relative;
  z-index: 1;
}

/* ---------- Reusable: filled tint pill badge ---------- */
.badge-pill {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: color-mix(in oklab, var(--q2-accent) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--q2-accent) 35%, transparent);
  border-radius: var(--q2-radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--q2-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

/* ---------- Home hero: badge, glow, dual CTAs ---------- */
.home-hero {
  position: relative;
  padding-top: 0.5rem;
}
.home-hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  max-width: 100vw;
  background: radial-gradient(
    circle,
    color-mix(in oklab, var(--q2-accent) 14%, transparent) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}
.home-hero > * {
  position: relative;
  z-index: 1;
}
.hero-title .accent {
  color: var(--q2-accent);
}
.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.home-hero .lead {
  max-width: 62ch;
  margin-inline: auto;
}
.hero-buttons .btn i {
  font-size: 0.8125rem;
}

/* ---------- Home: engagement models as bordered service cards ---------- */
.service-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) {
  .service-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.service-card {
  background: var(--q2-bg-elev);
  border: 1px solid var(--q2-divider);
  border-radius: var(--q2-radius);
  padding: 2rem;
  text-align: left;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.service-card:hover {
  border-color: color-mix(in oklab, var(--q2-accent) 35%, var(--q2-divider));
  transform: translateY(-2px);
}
.service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.service-card-header h3 {
  margin: 0;
  font-size: 1.1875rem;
}
.service-card-badge {
  flex: 0 0 auto;
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--q2-accent);
  border: 1px solid color-mix(in oklab, var(--q2-accent) 35%, transparent);
  padding: 0.25rem 0.75rem;
  border-radius: var(--q2-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.service-card p {
  color: var(--q2-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--q2-accent);
  transition: gap 0.15s ease;
}
.service-card-link:hover {
  gap: 0.625rem;
  color: var(--q2-accent);
}
.service-card-link i {
  font-size: 0.75rem;
}

/* ---------- Home: CTA glow, echoing the hero ---------- */
.cta-panel {
  position: relative;
  overflow: hidden;
  max-width: 720px;
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--q2-bg-elev);
  border: 1px solid var(--q2-divider);
  border-radius: var(--q2-radius-lg);
}
.cta-panel::before {
  content: "";
  position: absolute;
  bottom: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  max-width: 200vw;
  background: radial-gradient(
    circle,
    color-mix(in oklab, var(--q2-accent) 10%, transparent) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}
.cta-panel > * {
  position: relative;
  z-index: 1;
}

/* ---------- Blog post title (h-entry microformat wraps it in a self-link) ----------
 * blog/title.html.twig always wraps the title in <a class="u-url"> for the
 * h-entry/u-url microformat — on the listing page .card-title already resets
 * this to look like a heading; the single-post .content-title context didn't. */
.content-title a {
  color: inherit;
  text-decoration: none;
}
.content-title a:hover {
  color: var(--q2-link);
}

/* ---------- About page: two-column hero with headshot ---------- */
.about-hero {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  flex-wrap: wrap;
}
.about-hero-content {
  flex: 1 1 360px;
  min-width: 0;
}
.about-hero-content h1 {
  margin-bottom: 1rem;
}
.about-hero-content .lead {
  max-width: 34rem;
  margin: 0 0 2rem;
}
.about-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.about-hero-photo {
  flex: 0 0 auto;
  width: min(320px, 100%);
  aspect-ratio: 6 / 5;
  border-radius: var(--q2-radius-lg);
  overflow: hidden;
  background: linear-gradient(
    145deg,
    color-mix(in oklab, var(--q2-accent) 16%, var(--q2-bg-muted)),
    var(--q2-bg-muted)
  );
  border: 1px solid var(--q2-divider);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-hero-photo .placeholder-initials {
  font-family: var(--pico-font-family-display);
  font-size: 4rem;
  font-weight: 400;
  color: var(--q2-accent);
}

/* ---------- About page: two-column background section ---------- */
.about-background {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}
@media (min-width: 760px) {
  .about-background {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 5rem);
  }
}
.about-background-label {
  position: sticky;
  top: 5.5rem;
}
.about-background-label h2 {
  margin-top: 0;
}
.about-background-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-background-body p {
  margin: 0;
  color: var(--q2-text-muted);
  line-height: 1.7;
}

/* ---------- About page: highlight rows (individually bordered) ---------- */
.highlight-rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.highlight-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--q2-bg-elev);
  border: 1px solid var(--q2-divider);
  border-radius: var(--q2-radius-md);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.highlight-row .info-icon {
  margin-top: 0.125rem;
}
.highlight-row h3 {
  font-size: 1.125rem;
  margin-bottom: 0.375rem;
}
.highlight-row p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--q2-text-muted);
  line-height: 1.55;
}

/* ---------- About page: 3-column value cards ---------- */
.value-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}
@media (min-width: 760px) {
  .value-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.value-card {
  background: var(--q2-bg-elev);
  border: 1px solid var(--q2-divider);
  border-radius: var(--q2-radius-md);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.value-card .badge-pill {
  margin-bottom: 1rem;
}
.value-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.625rem;
}
.value-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--q2-text-muted);
  line-height: 1.6;
}

/* ---------- Audience pages: shared-offer block (same content/look, different label) ---------- */
.shared-offer {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--q2-bg-elev);
  border: 1px solid var(--q2-divider);
  border-radius: var(--q2-radius-md);
  padding: clamp(2rem, 4vw, 3rem);
}
.shared-offer .badge-pill {
  margin-bottom: 1rem;
}
.shared-offer h3 {
  margin-bottom: 0.75rem;
}
.shared-offer-link {
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--q2-divider);
}
.shared-offer-link a {
  font-weight: 600;
  color: var(--q2-accent);
  text-decoration: none;
}
.shared-offer-link a:hover {
  text-decoration: underline;
}

/* ---------- Audience pages: thin cross-link strip to the other audience ---------- */
.cross-link-strip {
  max-width: 640px;
  margin: 2.5rem auto 0;
  padding: 1rem 1.5rem;
  background: var(--q2-bg-muted);
  border-radius: var(--q2-radius-md);
  text-align: center;
}
.cross-link-strip p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--q2-text-muted);
}
.cross-link-strip a {
  font-weight: 600;
  color: var(--q2-accent);
  text-decoration: none;
}
.cross-link-strip a:hover {
  text-decoration: underline;
}

/* ---------- About page: CTA with a side-by-side secondary link ---------- */
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ---------- Nav: fixed header means jump-to-anchor targets land underneath it ---------- */
[id] {
  scroll-margin-top: 90px;
}

/* ---------- Mobile overlay: "Request a Call" as a full-width button ---------- */
.overlay-menu a.nav-cta {
  margin-top: 1rem;
  padding: 0.875rem 1.5rem;
  text-align: center;
  border-radius: var(--q2-radius-pill);
  background: var(--q2-accent);
  color: #ffffff;
  font-size: 1.0625rem;
}
.overlay-menu a.nav-cta:hover {
  background: var(--q2-accent-hover, var(--q2-accent));
  color: #ffffff;
}
