/* =========================================================================
   Pac Technologies — Site styles (built on tokens.css + components.css)
   These are shared patterns that recur across every page.
   ========================================================================= */

:root {
  /* Site-level accent: hi-vis orange.
     Tweakable on the home page via the inline panel. */
  --accent: #FF6A2C;
  --accent-hover: #E85B1F;
  --accent-soft: rgba(255, 106, 44, 0.12);

  --section-y: var(--space-24);
  --section-y-tight: var(--space-16);
}

@media (max-width: 768px) {
  :root {
    --section-y: var(--space-16);
    --section-y-tight: var(--space-12);
  }
}

/* Global type tweaks — slightly tighter display, more confident headings */
.t-display { font-weight: 700; letter-spacing: -0.025em; }

/* ====================================================== SITE HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--pac-line-200);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-8);
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--pac-blue-600);
}
.site-brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: transparent url('public/PacTechnologiesEdit_Blue_NoText._Transparent.png') center/contain no-repeat;
  position: relative;
  flex: 0 0 auto;
}
.site-footer .site-brand__mark {
  background-image: url('public/PacTechnologiesEdit_White_NoText.png');
}
.site-brand__mark svg { display: none; }
.site-brand__name {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}
.site-brand__name strong {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--pac-blue-600);
}
.site-brand__name small { display: none; }

.site-nav {
  display: flex;
  gap: 2px;
  align-items: center;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--pac-ink-700);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  position: relative;
}
.site-nav a:hover {
  color: var(--pac-blue-700);
  background: var(--pac-blue-50);
}
.site-nav a[aria-current="page"] {
  color: var(--pac-blue-700);
}
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.site-header__cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Mobile: collapse nav into a button */
.site-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--pac-line-300);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.site-nav-toggle svg { width: 20px; height: 20px; stroke: var(--pac-ink-800); stroke-width: 2; fill: none; stroke-linecap: round; }

@media (max-width: 900px) {
  .site-nav, .site-header__cta .btn-text { display: none; }
  .site-nav-toggle { display: inline-flex; }
  .site-header__inner { gap: var(--space-3); }
  .site-brand__name small { display: none; }
}

/* Mobile nav open state */
@media (max-width: 900px) {
  .site-nav--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--pac-line-200);
    padding: 8px 16px 16px;
    z-index: 25;
    box-shadow: var(--shadow-2);
  }
  .site-nav--open a { width: 100%; }
  .site-nav--open .nav-dropdown { width: 100%; }
  .site-nav--open .nav-dropdown__menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--pac-line-200);
    border-radius: 0;
    padding: 2px 0 2px 8px;
    min-width: unset;
    background: transparent;
  }
  .site-nav--open .nav-dropdown__chevron { display: none; }
}

/* ===================================================== NAV DROPDOWN */
.nav-dropdown {
  position: relative;
}
.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-dropdown__chevron {
  width: 10px;
  height: 6px;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease);
}
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--pac-paper);
  border: 1px solid var(--pac-line-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-3);
  padding: 6px;
  min-width: 164px;
  opacity: 0;
  pointer-events: none;
  /* delay hide by 100ms so gap between toggle and menu doesn't drop it */
  transition: opacity var(--dur-fast) var(--ease) 100ms, transform var(--dur-fast) var(--ease) 100ms;
  z-index: 50;
}
/* invisible bridge covers the gap between toggle and menu */
.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.nav-dropdown__menu a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--pac-ink-700);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav-dropdown__menu a:hover {
  color: var(--pac-blue-700);
  background: var(--pac-blue-50);
}
.nav-dropdown__menu a[aria-current="page"] { color: var(--pac-blue-700); }
.nav-dropdown:hover .nav-dropdown__chevron,
.nav-dropdown:focus-within .nav-dropdown__chevron {
  transform: rotate(180deg);
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0ms;
}

/* ===================================================== PAGE HEADER */
/* Used at the top of every interior page (about, services, etc.) */
.page-hero {
  background: var(--pac-blue-900);
  color: white;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0/48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0/48px 48px;
  mask-image: linear-gradient(to bottom, black 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 95%);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.page-hero__eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.page-hero h1 {
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0;
  color: white;
  max-width: 18ch;
}
.page-hero__lede {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 60ch;
}

/* ===================================================== SECTION SHELL */
.section { padding: var(--section-y) 0; }
.section--tight { padding: var(--section-y-tight) 0; }
.section--paper { background: white; }
.section--mist  { background: var(--pac-bg-100); }
.section--tinted { background: var(--pac-blue-50); }
.section--ink {
  background: var(--pac-blue-900);
  color: white;
}
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink .t-h2, .section--ink .t-h3 { color: white; }

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--space-12);
  align-items: end;
  margin-bottom: var(--space-12);
}
.section__head--center {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
}
.section__head--center .section__head-title { max-width: none; }
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section--ink .section__eyebrow { color: var(--pac-blue-300); }
.section__eyebrow .num { color: var(--pac-ink-500); font-weight: 500; }
.section--ink .section__eyebrow .num { color: rgba(255,255,255,0.45); }
.section__title {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0;
  color: var(--pac-blue-900);
  max-width: 22ch;
}
.section--ink .section__title { color: white; }
.section__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--pac-ink-700);
  max-width: 52ch;
}
.section--ink .section__lede { color: rgba(255,255,255,0.74); }

@media (max-width: 768px) {
  .section__head { grid-template-columns: 1fr; gap: var(--space-5); }
}

/* ===================================================== UTILITIES */
.cluster { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; }
.stack { display: flex; flex-direction: column; gap: var(--space-4); }

/* Buttons — accent variant overrides primary when --accent differs */
.btn--accent {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.btn--on-dark {
  background: rgba(255,255,255,0.06);
  color: white;
  border-color: rgba(255,255,255,0.18);
}
.btn--on-dark:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.32);
}

.link--arrow-anim {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  transition: gap var(--dur-fast) var(--ease);
}
.link--arrow-anim:hover { gap: 12px; color: var(--accent-hover); }
.link--arrow-anim::after { content: "→"; }

.section--ink .link--arrow-anim {
  color: white;
}
.section--ink .link--arrow-anim:hover { color: var(--pac-blue-300); }

/* ===================================================== FOOTER CTA */
.footer-cta {
  background: var(--pac-blue-900);
  color: white;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.footer-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 80% 100%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 60%);
  pointer-events: none;
}
.footer-cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-12);
  align-items: center;
}
.footer-cta__title {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0;
  color: white;
  max-width: 18ch;
}
.footer-cta__title em { color: var(--accent); font-style: normal; }
.footer-cta__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 768px) {
  .footer-cta__inner { grid-template-columns: 1fr; }
  .footer-cta__actions { justify-content: flex-start; }
}

/* ===================================================== SITE FOOTER */
.site-footer {
  background: #0A1424;
  color: rgba(255,255,255,0.62);
  padding: 80px 0 32px;
}
.site-footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer__brand .site-brand__name strong { color: white; }
.site-footer__brand .site-brand__name small { color: rgba(255,255,255,0.5); }
.site-footer__blurb {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 36ch;
  color: rgba(255,255,255,0.6);
}
.site-footer__addr {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  font-size: 13px;
  line-height: 1.55;
}
.site-footer__addr h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}
.site-footer__addr p { color: rgba(255,255,255,0.7); }

.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.site-footer a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--dur-fast) var(--ease);
}
.site-footer a:hover { color: white; }
.site-footer__legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer__legal a { color: inherit; }
.site-footer__legal a:hover { color: white; }
.site-footer__social {
  display: flex;
  gap: 8px;
}
.site-footer__social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.6);
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.site-footer__social a:hover { color: white; border-color: rgba(255,255,255,0.3); }
.site-footer__social svg { width: 16px; height: 16px; fill: currentColor; }

@media (max-width: 768px) {
  .site-footer__main { grid-template-columns: 1fr; gap: var(--space-8); padding-bottom: 32px; }
  .site-footer__addr { grid-template-columns: 1fr 1fr; }
}

/* ============================================== SCHEMATIC PLACEHOLDERS */
/* Slate placeholder per design system: ink-700 60% over bg-100, hairline frame, mark centered 12% */
.placeholder {
  position: relative;
  background:
    linear-gradient(color-mix(in srgb, var(--pac-ink-700) 60%, transparent), color-mix(in srgb, var(--pac-ink-700) 60%, transparent)),
    var(--pac-bg-100);
  border: 1px solid var(--pac-line-300);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.placeholder::before {
  /* Engineering grid */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px) 0 0/24px 24px,
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px) 0 0/24px 24px;
  mask-image: linear-gradient(135deg, black, transparent 80%);
  -webkit-mask-image: linear-gradient(135deg, black, transparent 80%);
  z-index: 0;
}
.placeholder__mark {
  position: relative;
  z-index: 1;
  width: 18%;
  max-width: 80px;
  opacity: 0.18;
  color: white;
}
.placeholder__caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  z-index: 2;
}
.placeholder__caption::before {
  content: "▢ ";
  margin-right: 4px;
  color: var(--accent);
}

/* Schematic — line drawing on light background, used on service pages */
.schematic {
  position: relative;
  background: var(--pac-bg-50);
  border: 1px solid var(--pac-line-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  overflow: hidden;
}
.schematic::before {
  /* Subtle dot grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, var(--pac-line-300) 1px, transparent 1.4px);
  background-size: 18px 18px;
  opacity: 0.5;
  pointer-events: none;
}
.schematic > svg { position: relative; width: 100%; height: auto; display: block; }

/* ===================================================== EYEBROW NUMERIC */
.eyebrow-num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pac-ink-500);
}
.eyebrow-num strong { color: var(--accent); font-weight: 600; }

/* ===================================================== SERVICE CARDS */
/* Three variants — switchable via Tweaks (data-card-style on body) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
@media (max-width: 1100px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  background: white;
  border: 1px solid var(--pac-line-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              transform var(--dur-base) var(--ease);
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.service-card__visual {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--pac-blue-50);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-2);
  border: 1px solid var(--pac-blue-100);
  transition: background var(--dur-base) var(--ease);
}
.service-card:hover .service-card__visual {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.service-card__visual svg { width: 28px; height: 28px; stroke-width: 1.6; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.service-card__num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--pac-ink-400);
}
.service-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin: 0;
  color: var(--pac-blue-900);
}
.service-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--pac-ink-700);
  margin: 0;
}
.service-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
  transition: gap var(--dur-fast) var(--ease);
}
.service-card:hover .service-card__more { gap: 12px; }
.service-card__more::after { content: "→"; }

/* Variant: number-led (no icon, big numeral instead) */
[data-card-style="number"] .service-card__visual { display: none; }
[data-card-style="number"] .service-card::before {
  content: attr(data-num);
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 600;
  color: var(--pac-blue-100);
  line-height: 1;
  letter-spacing: -0.04em;
  transition: color var(--dur-base) var(--ease);
  pointer-events: none;
}
[data-card-style="number"] .service-card:hover::before { color: var(--accent); }
[data-card-style="number"] .service-card { padding-top: 100px; }
[data-card-style="number"] .service-card__num { display: none; }

/* Variant: schematic — line-art glyph background */
[data-card-style="schematic"] .service-card__visual { display: none; }
[data-card-style="schematic"] .service-card { padding-top: var(--space-12); }
[data-card-style="schematic"] .service-card__num { color: var(--accent); }
[data-card-style="schematic"] .service-card .service-card__schematic {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 80px;
  height: 60px;
  color: var(--pac-blue-300);
  pointer-events: none;
}
.service-card .service-card__schematic { display: none; }
[data-card-style="schematic"] .service-card .service-card__schematic { display: block; }
[data-card-style="schematic"] .service-card .service-card__schematic svg {
  width: 100%; height: 100%;
  stroke: currentColor; fill: none; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
}
[data-card-style="schematic"] .service-card:hover .service-card__schematic { color: var(--accent); }

/* ===================================================== STATS BAR */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--pac-line-200);
  border-bottom: 1px solid var(--pac-line-200);
  background: white;
}
.stats-bar__cell {
  padding: var(--space-8) var(--space-6);
  border-right: 1px solid var(--pac-line-200);
}
.stats-bar__cell:last-child { border-right: 0; }
.stats-bar__num {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  color: var(--pac-blue-900);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stats-bar__num em {
  color: var(--accent);
  font-style: normal;
  font-size: 0.55em;
  margin-left: 4px;
}
.stats-bar__label {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--pac-ink-500);
  font-family: var(--font-sans);
}
.stats-bar__sub {
  margin-top: 8px;
  font-size: 13px;
  color: var(--pac-ink-700);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .stats-bar { grid-template-columns: 1fr; }
  .stats-bar__cell { border-right: 0; border-bottom: 1px solid var(--pac-line-200); padding: var(--space-6); }
  .stats-bar__cell:last-child { border-bottom: 0; }
  .stats-bar__num { font-size: 44px; }
}

/* ===================================================== TRUST STRIP */
.trust-strip {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--pac-line-200);
  border-bottom: 1px solid var(--pac-line-200);
  background: white;
}
.trust-strip__lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pac-ink-500);
  text-align: center;
  margin-bottom: var(--space-6);
}
.trust-strip__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-6);
  align-items: center;
}
.trust-strip__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pac-ink-500);
  opacity: 0.6;
  transition: opacity var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  text-align: center;
}
.trust-strip__logo:hover { opacity: 1; color: var(--pac-blue-900); }
.trust-strip__logo--mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; }

@media (max-width: 900px) { .trust-strip__row { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } }

/* ===================================================== BREADCRUMB */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.breadcrumb a:hover { color: white; }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb [aria-current="page"] { color: white; }

/* ===================================================== TWEAKS PANEL */
.tweaks-toggle {
  /* hidden — tweaks open from the toolbar in the host */
  display: none;
}

.tweaks {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 320px;
  background: white;
  border: 1px solid var(--pac-line-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
  z-index: 100;
  font-size: 13px;
  display: none;
  overflow: hidden;
}
.tweaks[data-open="true"] { display: block; }
.tweaks__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pac-line-200);
  background: var(--pac-bg-50);
}
.tweaks__head h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--pac-ink-900);
  font-family: var(--font-sans);
  text-transform: none;
}
.tweaks__head h4::before {
  content: "TWEAKS";
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-right: 8px;
  font-weight: 600;
}
.tweaks__close {
  background: none;
  border: 0;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: var(--pac-ink-500);
}
.tweaks__close:hover { background: var(--pac-line-100); color: var(--pac-ink-900); }
.tweaks__body {
  padding: 16px;
  max-height: 60vh;
  overflow-y: auto;
}
.tweaks__group + .tweaks__group { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--pac-line-200); }
.tweaks__group h5 {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pac-ink-500);
  font-weight: 600;
}
.tweaks__swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.tweaks__swatch {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  padding: 0;
  display: grid;
  place-items: center;
}
.tweaks__swatch i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.06);
}
.tweaks__swatch[aria-pressed="true"] { border-color: var(--pac-ink-900); }
.tweaks__radio { display: grid; gap: 6px; }
.tweaks__radio-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--pac-line-200);
  cursor: pointer;
  font-size: 13px;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.tweaks__radio-opt:hover { border-color: var(--pac-blue-300); }
.tweaks__radio-opt[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--pac-blue-50);
  color: var(--pac-blue-700);
  font-weight: 500;
}
.tweaks__radio-opt span.k { font-family: var(--font-mono); font-size: 10px; color: var(--pac-ink-500); margin-left: auto; }
.tweaks__radio-opt[aria-pressed="true"] span.k { color: var(--accent); }
.tweaks__textarea {
  width: 100%;
  font: inherit;
  font-family: var(--font-sans);
  font-size: 13px;
  border: 1px solid var(--pac-line-300);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  resize: vertical;
  min-height: 64px;
  background: white;
  color: var(--pac-ink-900);
}
.tweaks__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--pac-blue-100);
}
.tweaks__hint { font-size: 11px; color: var(--pac-ink-500); margin-top: 6px; line-height: 1.4; }

/* ============================================== smaller helpers */
.icon-line {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
