/* Barron Technology — site system */

:root {
  --navy: #0f334a;
  --navy-deep: #0b2839;
  --cyan: #1ac8e6;
  --blue: #1578cc;
  --link: #1266b0;
  --link-hover: #0f334a;
  --grad: linear-gradient(165deg, #1ac8e6 0%, #1578cc 100%);
  --paper: #eef2f5;
  --sand: #f6f8fa;
  --white: #ffffff;
  --text: #1a2c38;
  --muted: #3d5160;
  --line: #d0d8de;
  --line-strong: #b3bec8;
  --focus: #1578cc;
  --error: #9b2c2c;
  --error-bg: #fdeeee;
  --ok: #1d5c45;
  --ok-bg: #e7f3ec;
  --header-h: 4.75rem;
  --max: 76rem;
  --radius: 4px;
  --font: "Source Sans 3", "Segoe UI", Calibri, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 18px 40px rgba(15, 51, 74, 0.12);
  --ease: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.125rem, 0.4vw + 1.05rem, 1.2rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  min-height: 100vh;
}
body.nav-locked { overflow: hidden; }
img, svg { max-width: 100%; display: block; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

a { color: var(--link); text-underline-offset: 0.16em; }
a:hover { color: var(--link-hover); }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: 1rem; top: -5rem; z-index: 400;
  background: var(--cyan); color: var(--navy);
  padding: 0.6rem 1rem; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}
@media (min-width: 768px) {
  .wrap { width: min(var(--max), calc(100% - 4rem)); }
}

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky; top: 0; z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--ease), box-shadow var(--ease);
}
.site-header.is-scrolled {
  background: var(--navy-deep);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.header-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: min-height var(--ease);
}
.site-header.is-scrolled .header-inner { min-height: 4rem; }
@media (min-width: 768px) {
  .header-inner { width: min(var(--max), calc(100% - 4rem)); }
}
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo img { height: 52px; width: auto; transition: height var(--ease); }
.site-header.is-scrolled .logo img { height: 44px; }
@media (min-width: 1280px) { .logo img { height: 58px; } }
.logo:hover { opacity: 0.92; }

.header-cta { margin-left: auto; flex-shrink: 0; display: none; }
@media (min-width: 960px) { .header-cta { display: block; } }

.nav-toggle {
  display: inline-flex;
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  width: 2.75rem; height: 2.75rem;
  padding: 0; cursor: pointer;
  align-items: center; justify-content: center;
  border-radius: var(--radius);
}
@media (min-width: 960px) { .nav-toggle { display: none; } }
.nav-toggle-bars {
  display: block; width: 1.1rem; height: 1.5px; background: #fff; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: #fff;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.desktop-nav { display: none; }
@media (min-width: 960px) {
  .desktop-nav { display: flex; align-items: center; gap: 0.15rem; margin-left: 0.5rem; }
}
.desktop-nav > ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 0.1rem;
}
.desktop-nav > ul > li > a,
.mega-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 0.8rem;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  background: none; border: 0; cursor: pointer;
  border-radius: var(--radius);
}
.desktop-nav > ul > li > a:hover,
.mega-btn:hover,
.desktop-nav a[aria-current="page"],
.mega-btn[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,0.08); }
.desktop-nav > ul > li > a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--cyan);
}
.mega-btn .chev {
  width: 0.42rem; height: 0.42rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform var(--ease);
}
.mega-btn[aria-expanded="true"] .chev { transform: rotate(225deg) translateY(-1px); }

/* Mega menu */
.mega {
  display: block;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  border-image: var(--grad) 1;
  padding: 1.75rem 0 2rem;
  z-index: 210;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}
.mega[hidden] { display: none; }
.mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 18rem;
  gap: 0.5rem 2rem;
}
.mega-grid a {
  display: block;
  text-decoration: none;
  color: var(--text);
  padding: 0.7rem 0.2rem;
  border-radius: var(--radius);
}
.mega-grid a:hover { color: var(--navy); }
.mega-grid a strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.mega-grid a:hover strong { color: var(--link); }
.mega-grid a span { display: block; color: var(--muted); font-size: 0.98rem; line-height: 1.4; }
.mega-aside {
  background: var(--paper);
  padding: 1.25rem 1.2rem;
  border-radius: var(--radius);
  grid-column: 4;
  grid-row: 1 / span 3;
  align-self: stretch;
}
.mega-aside p { margin: 0 0 0.8rem; color: var(--text); }
.mega-aside a.btn { width: 100%; }
/* .mega-grid a is more specific than .btn-primary and was painting the label navy-on-navy. */
.mega-aside a.btn,
.mega-aside a.btn:hover,
.mega-aside a.btn:focus,
.mega-aside a.btn:focus-visible,
.mega-aside a.btn:visited,
.mega-aside a.btn:active {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}
.mega-aside a.btn:hover,
.mega-aside a.btn:focus-visible,
.mega-aside a.btn:active {
  color: #fff;
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}
.mega-aside a:not(.btn),
.mega-aside a:not(.btn):visited {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.mega-aside a:not(.btn):hover,
.mega-aside a:not(.btn):focus,
.mega-aside a:not(.btn):focus-visible,
.mega-aside a:not(.btn):active {
  color: var(--link-hover);
}
@media (max-width: 1140px) {
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .mega-aside { grid-row: auto; grid-column: 1 / -1; margin-top: 0.5rem; }
}
@media (max-width: 959px) { .mega { display: none !important; } }

/* Mobile drawer */
.drawer-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(11, 40, 57, 0.55);
  z-index: 280;
}
.drawer-overlay.is-open { display: block; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(22.5rem, 92vw);
  background: var(--navy-deep);
  color: #fff;
  z-index: 300;
  transform: translateX(100%);
  transition: transform 220ms ease;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 32px rgba(0,0,0,0.2);
}
.drawer.is-open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.drawer-head .logo img { height: 40px; }
.drawer-close {
  background: transparent; border: 1px solid rgba(255,255,255,0.35);
  color: #fff; width: 2.6rem; height: 2.6rem; border-radius: var(--radius); cursor: pointer;
}
.drawer-body {
  overflow-y: auto; padding: 0.75rem 1.1rem 1.5rem; flex: 1;
}
.drawer-body a, .drawer-body button.drawer-acc {
  display: block;
  width: 100%;
  text-align: left;
  background: none; border: 0;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 0.15rem;
  cursor: pointer;
}
.drawer-body a:hover,
.drawer-body a:focus,
.drawer-body a:focus-visible,
.drawer-body a:visited,
.drawer-body a:active,
.drawer-body button.drawer-acc:hover,
.drawer-body button.drawer-acc:focus,
.drawer-body button.drawer-acc:focus-visible {
  color: #fff;
}
.drawer-sub { display: none; padding: 0 0 0.4rem 0.8rem; }
.drawer-sub.is-open { display: block; }
.drawer-sub a,
.drawer-sub a:hover,
.drawer-sub a:focus,
.drawer-sub a:focus-visible,
.drawer-sub a:visited,
.drawer-sub a:active {
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  padding: 0.45rem 0.15rem;
}
.drawer-close,
.drawer-close:hover,
.drawer-close:focus,
.drawer-close:focus-visible {
  color: #fff;
}
.drawer-cta { padding: 1rem 1.1rem 1.4rem; border-top: 1px solid rgba(255,255,255,0.1); }
.drawer-cta .btn { width: 100%; min-width: 0; }
.drawer-cta a.btn,
.drawer-cta a.btn:hover,
.drawer-cta a.btn:focus,
.drawer-cta a.btn:focus-visible,
.drawer-cta a.btn:visited,
.drawer-cta a.btn:active,
.header-cta a.btn,
.header-cta a.btn:focus,
.header-cta a.btn:visited {
  color: var(--navy);
}
.drawer-cta a.btn:hover,
.drawer-cta a.btn:focus-visible,
.drawer-cta a.btn:active,
.header-cta a.btn:hover,
.header-cta a.btn:focus-visible,
.header-cta a.btn:active {
  color: var(--navy);
  background: var(--cyan);
  border-color: var(--cyan);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  border-radius: var(--radius);
  max-width: 100%;
  white-space: normal;
  text-align: center;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform 120ms ease;
}
.btn:active { transform: translateY(1px); }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); }
.btn-on-dark { background: #fff; color: var(--navy); border-color: #fff; }
.btn-on-dark:hover { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }
.btn-ghost-dark {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.1); color: #fff; }
.hero .btn-primary, .section-navy .btn-primary {
  background: #fff; color: var(--navy); border-color: #fff;
}
.hero .btn-primary:hover, .section-navy .btn-primary:hover {
  background: var(--paper); color: var(--navy); border-color: var(--paper);
}
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--paper); color: var(--navy); }
.cluster { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Type */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 0.85rem;
}
h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); }
h2 { font-size: clamp(1.75rem, 2.6vw, 2.55rem); }
h3 { font-size: clamp(1.25rem, 1.3vw, 1.45rem); letter-spacing: -0.015em; }
.lede {
  font-size: clamp(1.2rem, 1.1vw + 1rem, 1.4rem);
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 1.6rem;
  max-width: 44rem;
}
p { margin: 0 0 1.05rem; }
p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.95rem; }

/* Sections */
.section { padding: 4.75rem 0; }
@media (min-width: 900px) { .section { padding: 5.75rem 0; } }
.section-paper { background: var(--sand); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p, .section-navy li { color: rgba(255,255,255,0.9); }
.section-navy a { color: var(--cyan); }
.section-navy a:hover { color: #fff; }
.section-navy .model { background: var(--white); }
.section-navy .model h3 { color: var(--navy); }
.section-navy .model p { color: var(--text); }
p.section-intro {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin: 0 0 0.45rem;
  max-width: none;
}
.section-navy p.section-intro { color: var(--cyan); }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split-uneven { grid-template-columns: 1.15fr 0.85fr; }
  .split-reverse { grid-template-columns: 0.9fr 1.1fr; }
}
.illust {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  overflow: hidden;
}
.illust-light {
  background: var(--paper);
  border: 1px solid var(--line);
}
.illust svg, .illust img, .illust-light svg, .illust-light img { width: 100%; height: auto; display: block; }
figure { margin: 0; }

/* Hero */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 900px) { .hero { padding: 5rem 0 5.25rem; } }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; }
}
.hero h1 { color: #fff; max-width: min(18ch, 100%); }
.hero-support { color: var(--cyan); font-weight: 700; margin: 0 0 1.25rem; max-width: 36rem; }
.hero .lede { color: rgba(255,255,255,0.9); max-width: 38rem; }
.hero p { color: rgba(255,255,255,0.9); }

/* Facts */
.facts {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.facts .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(var(--max), 100%);
  margin-inline: auto;
}
@media (min-width: 900px) { .facts .wrap { grid-template-columns: repeat(4, 1fr); } }
.fact {
  padding: 1.6rem 1.4rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .fact { border-bottom: 0; } }
.fact:nth-child(2n) { border-right: 0; }
@media (min-width: 900px) {
  .fact:nth-child(2n) { border-right: 1px solid var(--line); }
  .fact:last-child { border-right: 0; }
}
.fact strong {
  display: block;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}
.fact span { display: block; color: var(--muted); font-size: 1.02rem; line-height: 1.45; }

/* Models / substantial cards */
.models {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 800px) { .models { grid-template-columns: 1fr 1fr 1fr; } }
.model {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem 1.5rem;
  border-top: 4px solid var(--blue);
}
.model h3 { margin-bottom: 0.55rem; }
.model .fit {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  margin: 1rem 0 0.35rem;
}

/* Service catalog */
.catalog {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) { .catalog { grid-template-columns: 1fr 1fr; } }
.catalog a {
  display: block;
  padding: 1.6rem 0 1.6rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
@media (min-width: 800px) {
  .catalog a:nth-child(odd) { padding-right: 1.75rem; }
  .catalog a:nth-child(even) { padding-left: 1.75rem; border-left: 1px solid var(--line); }
}
.catalog a:hover { color: inherit; }
.catalog a:hover h3 { color: var(--link); }
.catalog h3 { margin-bottom: 0.4rem; }
.catalog p { color: var(--muted); }

/* Timeline / process */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline > li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem 1.4rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) {
  .timeline > li { grid-template-columns: 5.5rem 1fr; padding: 1.75rem 0; }
}
.step-num {
  font-weight: 700;
  font-size: clamp(1.6rem, 2vw, 2rem);
  color: var(--blue);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.timeline h3 { margin-bottom: 0.35rem; }

/* Lists */
.plain-list { margin: 0 0 1.15rem; padding: 0 0 0 1.2rem; }
.plain-list li { margin: 0 0 0.45rem; }
.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list > li {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}
.detail-list > li:first-child { border-top: 1px solid var(--line); }
.detail-list strong, .detail-list dt { display: block; color: var(--navy); font-weight: 700; margin: 0.85rem 0 0.15rem; }
.detail-list dt:first-child { margin-top: 0; }
.detail-list dd { margin: 0 0 0.6rem; }

/* Tables */
.table-wrap { width: 100%; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.05rem;
}
.data th, .data td {
  text-align: left; vertical-align: top;
  padding: 0.95rem 1.05rem;
  border-bottom: 1px solid var(--line);
}
.data thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  position: sticky;
  top: var(--header-h);
  z-index: 2;
}
.data tbody th {
  font-weight: 700;
  color: var(--navy);
  background: var(--sand);
  width: 22%;
}
.data tbody tr:hover td { background: #f7fafc; }
.ind-table { width: 100%; border-collapse: collapse; }
.ind-table th, .ind-table td {
  text-align: left; vertical-align: top;
  padding: 1.05rem 1.15rem 1.05rem 0;
  border-bottom: 1px solid var(--line);
}
.ind-table tr:first-child th, .ind-table tr:first-child td { border-top: 1px solid var(--line); }
.ind-table th { color: var(--navy); font-weight: 700; width: 32%; padding-right: 1.5rem; }

/* Tabs */
.tabs { margin: 1.25rem 0; }
.tablist {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
  margin: 0 0 1rem;
  border-bottom: 1px solid var(--line);
}
.tablist [role="tab"] {
  background: none; border: 0;
  padding: 0.7rem 1rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.tablist [role="tab"][aria-selected="true"] {
  color: var(--navy);
  border-bottom-color: var(--blue);
}
.tab-panel[hidden] { display: none; }

.compare-desktop { display: none; }
.compare-mobile { display: block; }
@media (min-width: 1000px) {
  .compare-desktop { display: block; }
  .compare-mobile { display: none; }
}

/* Industry switcher */
.switcher-tabs {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin: 0 0 1.5rem;
}
.switcher-tabs [role="tab"] {
  background: var(--white);
  border: 1px solid var(--line-strong);
  color: var(--navy);
  padding: 0.5rem 0.85rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 3px;
}
.switcher-tabs [role="tab"][aria-selected="true"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.switch-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem;
}
.switch-panel[hidden] { display: none; }
.switch-panel h3 { margin-bottom: 0.5rem; }
.related { margin-top: 1rem; }
.related a { margin-right: 0.85rem; font-weight: 700; }

/* Accordion / FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%;
  text-align: left;
  background: none; border: 0;
  padding: 1.1rem 2.4rem 1.1rem 0;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  position: relative;
  font-size: 1.12rem;
  line-height: 1.35;
}
.faq-item button::after {
  content: "+";
  position: absolute; right: 0; top: 1.05rem;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.3rem;
}
.faq-item button[aria-expanded="true"]::after { content: "–"; }
.faq-panel { padding: 0 0 1.15rem; max-width: 48rem; }
.faq-panel[hidden] { display: none; }

/* Page head */
.page-head { padding: 2.75rem 0 0.25rem; }
.breadcrumb { font-size: 0.98rem; color: var(--muted); margin-bottom: 0.9rem; }
.breadcrumb a { color: var(--link); text-decoration: underline; text-underline-offset: 0.16em; }
.breadcrumb a:hover { text-decoration: underline; }

/* Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.2fr 0.8fr; gap: 3.5rem; } }
.form-note {
  background: var(--paper);
  border-left: 4px solid var(--blue);
  padding: 0.9rem 1.05rem;
  margin-bottom: 1.35rem;
}
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 700; margin: 0 0 0.3rem; color: var(--navy); }
.req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid rgba(21,120,204,0.28);
  outline-offset: 0;
  border-color: var(--blue);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--error); background: var(--error-bg); }
.field-error { display: none; color: var(--error); font-size: 0.95rem; margin-top: 0.3rem; font-weight: 600; }
.field.is-invalid .field-error { display: block; }
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}
.form-success, .form-failure {
  display: none;
  padding: 1rem 1.1rem;
  margin-top: 1rem;
}
.form-success {
  background: var(--ok-bg);
  border: 1px solid #b7d0c2;
  color: var(--ok);
}
.form-failure {
  background: var(--error-bg);
  border: 1px solid #e4b4b4;
  color: var(--error);
}
.form-success:not([hidden]),
.form-failure:not([hidden]),
.form-success.is-visible { display: block; }
.form-wait { color: var(--error); font-weight: 700; margin: 0.8rem 0 0; }
.form-wait[hidden] { display: none !important; }
.field .check { font-weight: 600; display: flex; gap: 0.6rem; align-items: flex-start; }
.field .check input { margin-top: 0.35rem; width: 1.05rem; height: 1.05rem; flex: none; }
.field.is-invalid .check { color: var(--error); }
.booking-frame {
  width: 100%;
  height: 70vh;
  min-height: 28rem;
  border: 1px solid var(--line);
  background: var(--paper);
}
@media (min-width: 900px) { .booking-frame { height: 900px; } }
.booking-fallback { margin-top: 0.8rem; }
.path-grid { display: grid; gap: 1rem; }
@media (min-width: 800px) { .path-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.paths { background: var(--white); padding: 1.5rem 0 0; }
.path {
  border: 1px solid var(--line);
  border-top: 4px solid var(--cyan);
  padding: 1.4rem 1.3rem 1.3rem;
  background: var(--white);
}
.path:nth-child(2) { border-top-color: var(--blue); }
.path h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.path-links { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; margin: 0 0 1rem; }
.path-links a { font-weight: 700; }
.pillar { margin-top: 1.75rem; }
.pillar[hidden] { display: none !important; }
.pillar-note { margin-top: -0.2rem; }
.offer-grid { display: grid; gap: 1rem; }
@media (min-width: 800px) { .offer-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.offer {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  padding: 1.3rem 1.2rem 1.15rem;
}
.mega-label {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.mega-note { margin: 0.4rem 0 0; font-size: 0.98rem; }
.mega-col .mega-note a,
.mega-col .mega-note a:visited,
.mega-col .mega-note a:hover { color: var(--link); text-decoration: underline; }
.circuit-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin: 0.75rem 0 0;
  padding: 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.92rem;
  font-weight: 700;
}
.circuit-legend li { display: flex; align-items: center; gap: 0.4rem; }
.swatch { width: 0.7rem; height: 0.7rem; background: var(--cyan); display: inline-block; }
.swatch-modernize { background: #d6e4ee; }
.swatch-advise { background: #fff; }
.c-pillar-operate { border-color: var(--cyan); }
.c-pillar-modernize { border-color: #d6e4ee; }
.c-pillar-advise { border-color: #fff; }
.hero .c-pillar-modernize span { color: #d6e4ee; }
.hero .c-pillar-advise span { color: #fff; }
.aside-block { padding: 0 0 1.4rem; border-bottom: 1px solid var(--line); margin-bottom: 1.4rem; }
.aside-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.hours dt { font-weight: 700; margin-top: 0.55rem; color: var(--navy); }
.hours dd { margin: 0; color: var(--muted); }

/* CTA */
.cta { padding: 4rem 0; background: var(--sand); }
.cta h2 { margin-bottom: 0.5rem; }
.cta p { margin-bottom: 1.4rem; max-width: 38rem; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.82);
  padding: 3.5rem 0 1.35rem;
  font-size: 1.02rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.5rem;
  margin-bottom: 2.4rem;
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.site-footer h2 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.site-footer a { color: rgba(255,255,255,0.88); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.4rem; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand .logo { margin-bottom: 0.9rem; }
.footer-brand .logo img { height: 48px; }
.footer-brand p { color: rgba(255,255,255,0.72); max-width: 24rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.1rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
}

hr.rule { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }

@media (max-width: 640px) {
  .page-head { padding-top: 2rem; }
  .hero { padding: 2.6rem 0 3rem; }
  .data th, .data td { display: block; width: auto; }
  .data tbody th { width: auto; }
  .ind-table th, .ind-table td { display: block; width: auto; padding-right: 0; }
  .ind-table td { padding-top: 0; padding-bottom: 1rem; }
  .header-inner, .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
}

/* ----- Interactive layer ----- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.will-reveal { opacity: 0; transform: translateY(14px); }
.will-reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

/* Hero circuit */
.circuit {
  position: relative;
  aspect-ratio: 500 / 600;
  margin: 0;
}
.circuit-board { position: absolute; inset: 0; width: 100%; height: 100%; }
.trace-base, .trace-pulse {
  fill: none;
  stroke-linecap: square;
  vector-effect: non-scaling-stroke;
}
.trace-base {
  stroke: rgba(26, 200, 230, 0.4);
  stroke-width: 1.5;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: trace-draw 700ms ease forwards;
  animation-delay: var(--delay, 0ms);
}
.trace-pulse {
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-dasharray: 10 90;
  stroke-dashoffset: 0;
  opacity: 0.95;
  animation: trace-run 2.6s linear infinite;
  animation-delay: var(--delay, 0ms);
}
.trace.is-hot .trace-base { stroke: var(--cyan); stroke-width: 2.25; }
.via { fill: var(--cyan); }
.circuit-nodes { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.c-node {
  position: absolute;
  width: 34%;
  transform: translateY(-50%);
  display: block;
  background: var(--navy-deep);
  border: 1px solid rgba(26, 200, 230, 0.45);
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 0.7rem 0.6rem;
  line-height: 1.25;
}
.c-node-left { left: 0; }
.c-node-right { right: 0; }
.c-node strong { display: block; font-size: 0.98rem; color: #fff; letter-spacing: -0.015em; }
.c-node span { display: block; margin-top: 0.15rem; color: var(--cyan); font-size: 0.82rem; font-weight: 600; }
.hero .c-node,
.hero .c-node:hover,
.hero .c-node:focus,
.hero .c-node:visited,
.hero .c-node strong { color: #fff; text-decoration: none; }
.hero .c-node:hover,
.hero .c-node:focus-visible,
.c-node.is-hot { border-color: var(--cyan); }
.circuit a:focus-visible { outline-color: var(--cyan); }
@keyframes trace-draw { to { stroke-dashoffset: 0; } }
@keyframes trace-run { to { stroke-dashoffset: -100; } }
@media (max-width: 719px) {
  .circuit { aspect-ratio: auto; }
  .circuit-board { display: none; }
  .circuit-nodes {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding-left: 1rem;
  }
  .circuit-nodes::before {
    content: "";
    position: absolute;
    left: 0; top: 0.4rem; bottom: 0.4rem;
    width: 2px;
    background: rgba(26, 200, 230, 0.7);
  }
  .c-node,
  .c-node-left,
  .c-node-right {
    position: relative;
    top: auto !important;
    left: auto;
    right: auto;
    width: auto;
    transform: none;
  }
}

/* Service picker and trace cards */
.picker-label { font-weight: 700; color: var(--navy); margin-bottom: 0.7rem; }
.picker-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.75rem; }
.picker-chips button {
  background: var(--white);
  border: 1px solid var(--line-strong);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  border-radius: var(--radius);
}
.picker-chips button[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.picker-chips button:hover { border-color: var(--navy); }
.picker-live { color: var(--muted); font-size: 0.98rem; min-height: 1.4em; }
.catalog { gap: 0.85rem; border-top: 0; }
.catalog a.trace-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.2rem 1.15rem 1.15rem;
}
.catalog a[hidden] { display: none !important; }
@media (min-width: 800px) {
  .catalog a.trace-card:nth-child(odd),
  .catalog a.trace-card:nth-child(even) {
    padding: 1.2rem 1.15rem 1.15rem;
    border-left: 1px solid var(--line);
  }
}
.trace-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.trace-frame rect {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-dasharray: var(--peri, 10000);
  stroke-dashoffset: var(--peri, 10000);
  transition: stroke-dashoffset 700ms linear;
}
.trace-card:hover .trace-frame rect,
.trace-card:focus-visible .trace-frame rect { stroke-dashoffset: 0; }

/* First-month stepper */
.process { margin: 1.25rem 0 1.5rem; }
.process:not(.is-ready) .process-nav { display: none; }
.process-nav {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1.15rem;
}
.process-rail {
  position: absolute;
  left: 0; top: 0.35rem; bottom: 0.35rem;
  width: 2px;
  background: var(--line);
}
.process-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--cyan);
  transform: scaleY(var(--p, 0.08));
  transform-origin: top center;
  transition: transform 320ms ease;
}
.process-nav [role="tab"] {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 700;
  padding: 0.7rem 0.75rem;
  cursor: pointer;
}
.process-nav [role="tab"][aria-selected="true"] {
  color: var(--navy);
  background: var(--paper);
  border-color: var(--line);
}
.process-idx {
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  min-width: 1.6rem;
}
.process-stage {
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  padding: 1.35rem 1.3rem 1.25rem;
  background: var(--white);
  min-height: 12rem;
}
.process.is-ready .process-stage [role="tabpanel"][hidden] { display: none; }
.process-figure { max-width: 36rem; margin-top: 1.5rem; }
.process-more { margin-top: 1.15rem; }
@media (min-width: 860px) {
  .process { display: grid; grid-template-columns: 16.5rem 1fr; gap: 1.5rem; align-items: start; }
  .process-nav { position: sticky; top: calc(var(--header-h) + 0.75rem); }
}

/* Industries */
.switch-panel { position: relative; border-left: 0; }
.switch-panel::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--cyan);
  transform-origin: top center;
  animation: trace-y 340ms ease;
}
.switch-panel[hidden] { display: none; }
@keyframes trace-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.switch-panel:not([hidden]) { animation: panel-in 320ms ease; }

/* Health check */
.quiz-fallback { max-width: 42rem; }
.quiz-fallback[hidden] { display: none !important; }
.quiz[hidden] { display: none !important; }
.quiz { max-width: 40rem; }
.quiz-note { color: var(--muted); }
.quiz-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; margin: 0 0 1.15rem; }
.quiz-meter span { height: 3px; background: var(--line); }
.quiz-meter span.is-on { background: var(--cyan); }
.quiz-step { border: 0; margin: 0 0 0.5rem; padding: 0; }
.quiz-step[hidden] { display: none !important; }
.quiz-step legend { font-weight: 700; color: var(--navy); font-size: 1.25rem; margin-bottom: 0.75rem; }
.quiz-step label {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  margin: 0 0 0.45rem;
  cursor: pointer;
  background: var(--white);
}
.quiz-step label:has(input:checked) { border-color: var(--navy); box-shadow: inset 3px 0 0 var(--cyan); }
.quiz-step input { margin-top: 0.3rem; accent-color: var(--navy); width: 1.05rem; height: 1.05rem; flex: none; }
.quiz-error { color: var(--error); font-weight: 700; }
.quiz-error[hidden] { display: none !important; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
.quiz-actions[hidden] { display: none !important; }
.quiz-result[hidden] { display: none !important; }
.quiz-result { border-top: 3px solid var(--blue); background: var(--white); padding: 1.25rem 1.2rem; margin-top: 0.4rem; }
.quiz-result h3 { margin-bottom: 0.45rem; }

@media (max-width: 360px) {
  .picker-chips button, .process-nav [role="tab"], .quiz-step label { font-size: 0.95rem; }
  .c-node { padding: 0.5rem 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .drawer { transition: none; }
  .trace-base { stroke-dashoffset: 0 !important; }
  .trace-pulse { display: none !important; }
  .will-reveal { opacity: 1 !important; transform: none !important; }
  .switch-panel::before { transform: none !important; }
}
